/* =========================================================
   CIVILLENCE ENGINEERING LIMITED
   PROJECTS PAGE
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

.projects-page {

    --project-navy: #06182b;
    --project-navy-2: #0b2742;
    --project-navy-3: #102f4d;

    --project-orange: #f28c00;
    --project-orange-light: #ffad2f;

    --project-white: #ffffff;
    --project-light: #f5f7f9;
    --project-line: #dce3e9;

    --project-text: #12263a;
    --project-muted: #667585;

    position: relative;

    overflow: hidden;

    background: var(--project-white);

    color: var(--project-text);
}


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.projects-container {

    width: min(1380px, calc(100% - 70px));

    margin: 0 auto;

    position: relative;

    z-index: 3;
}


/* =========================================================
   HERO
========================================================= */

.projects-hero {

    position: relative;

    min-height: 700px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:

        linear-gradient(
            135deg,
            #06182b 0%,
            #081d32 50%,
            #0c2943 100%
        );

    color: #fff;
}


/* Engineering technical grid */

.projects-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    opacity: .16;

    background-image:

        linear-gradient(
            rgba(255,255,255,.18) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.18) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    pointer-events: none;
}


/* Technical diagonal */

.projects-hero::after {

    content: "";

    position: absolute;

    width: 800px;

    height: 800px;

    right: -320px;

    top: -380px;

    border: 1px solid rgba(242,140,0,.35);

    transform: rotate(45deg);

    pointer-events: none;
}


/* =========================================================
   HERO BLUEPRINT
========================================================= */

.projects-blueprint {

    position: absolute;

    inset: 0;

    pointer-events: none;

    z-index: 1;
}


.blueprint-line {

    position: absolute;

    height: 1px;

    background: rgba(255,255,255,.17);

    transform-origin: left center;
}


.blueprint-line.line-1 {

    width: 55%;

    left: 4%;

    top: 28%;

    transform: rotate(-7deg);
}


.blueprint-line.line-2 {

    width: 45%;

    right: 0;

    top: 68%;

    transform: rotate(16deg);

    background: rgba(242,140,0,.3);
}


.blueprint-line.line-3 {

    width: 35%;

    right: 8%;

    top: 38%;

    transform: rotate(-31deg);
}


.blueprint-circle {

    position: absolute;

    border: 1px solid rgba(255,255,255,.14);

    border-radius: 50%;
}


.blueprint-circle.circle-1 {

    width: 300px;

    height: 300px;

    right: 7%;

    top: 17%;
}


.blueprint-circle.circle-2 {

    width: 150px;

    height: 150px;

    right: 15%;

    top: 30%;
}


.blueprint-angle {

    position: absolute;

    width: 230px;

    height: 230px;

    right: 22%;

    bottom: -110px;

    border-left: 1px solid rgba(242,140,0,.3);

    border-top: 1px solid rgba(242,140,0,.3);

    transform: rotate(45deg);
}


/* =========================================================
   HERO GRID
========================================================= */

.projects-hero-grid {

    position: relative;

    z-index: 4;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, .75fr);

    gap: 90px;

    align-items: center;

    padding: 90px 0;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.projects-hero-content {

    max-width: 780px;
}


.projects-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 25px;

    color: var(--project-orange);

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.projects-eyebrow::before {

    content: "";

    width: 55px;

    height: 2px;

    background: var(--project-orange);
}


.projects-hero h1 {

    margin: 0;

    max-width: 850px;

    font-size: clamp(58px, 7vw, 105px);

    line-height: .92;

    letter-spacing: -4px;

    font-weight: 900;
}


.projects-hero h1 span {

    display: block;

    color: var(--project-orange);
}


.projects-hero-content > p {

    max-width: 720px;

    margin: 35px 0 0;

    color: rgba(255,255,255,.76);

    font-size: 19px;

    line-height: 1.8;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.projects-hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 38px;
}


.projects-primary-button,
.projects-secondary-button {

    min-height: 56px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: .3s ease;
}


.projects-primary-button {

    background: var(--project-orange);

    color: var(--project-navy);

    border: 1px solid var(--project-orange);
}


.projects-primary-button:hover {

    background: #fff;

    border-color: #fff;

    transform: translateY(-3px);
}


.projects-secondary-button {

    color: #fff;

    border: 1px solid rgba(255,255,255,.35);

}


.projects-secondary-button:hover {

    border-color: var(--project-orange);

    color: var(--project-orange);

    transform: translateY(-3px);
}


/* =========================================================
   TECHNICAL PANEL
========================================================= */

.projects-technical-panel {

    position: relative;

    min-height: 500px;

    padding: 25px;

    border: 1px solid rgba(255,255,255,.2);

    background: rgba(255,255,255,.035);

    backdrop-filter: blur(4px);

    box-shadow:
        0 30px 80px rgba(0,0,0,.2);
}


.technical-corner {

    position: absolute;

    top: -1px;

    left: -1px;

    width: 90px;

    height: 4px;

    background: var(--project-orange);
}


.technical-panel-top {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding-bottom: 18px;

    border-bottom: 1px solid rgba(255,255,255,.13);

    color: rgba(255,255,255,.55);

    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 700;
}


/* =========================================================
   TECHNICAL DRAWING
========================================================= */

.technical-drawing {

    position: relative;

    height: 320px;

    overflow: hidden;
}


/* Grid */

.technical-drawing::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(255,255,255,.09) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.09) 1px,
            transparent 1px
        );

    background-size: 35px 35px;
}


/* Building */

.drawing-building {

    position: absolute;

    left: 50%;

    top: 50%;

    width: 230px;

    height: 160px;

    transform: translate(-50%, -45%);

    border: 2px solid rgba(255,255,255,.4);
}


.building-roof {

    position: absolute;

    left: -25px;

    top: -48px;

    width: 275px;

    height: 60px;

    border: 2px solid rgba(242,140,0,.6);

    transform: skewX(-28deg);
}


.building-body {

    height: 100%;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;

    padding: 22px;
}


.building-body span {

    border: 1px solid rgba(255,255,255,.28);
}


.building-base {

    position: absolute;

    bottom: -22px;

    left: -30px;

    width: 290px;

    height: 10px;

    border-top: 2px solid rgba(242,140,0,.45);
}


/* Road */

.drawing-road {

    position: absolute;

    left: -30px;

    right: -30px;

    bottom: 35px;

    height: 50px;

    border-top: 1px solid rgba(255,255,255,.25);

    border-bottom: 1px solid rgba(255,255,255,.25);

    transform: perspective(200px) rotateX(35deg);
}


.drawing-road span {

    position: absolute;

    top: 24px;

    width: 45px;

    height: 2px;

    background: var(--project-orange);
}


.drawing-road span:nth-child(1) {

    left: 20%;
}


.drawing-road span:nth-child(2) {

    left: 50%;
}


.drawing-road span:nth-child(3) {

    left: 80%;
}


/* Dimensions */

.drawing-dimension {

    position: absolute;

    color: rgba(255,255,255,.45);

    font-size: 9px;

    letter-spacing: 1.5px;
}


.dimension-one {

    top: 25px;

    right: 15px;
}


.dimension-two {

    bottom: 100px;

    left: 15px;
}


/* =========================================================
   TECHNICAL PANEL BOTTOM
========================================================= */

.technical-panel-bottom {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid rgba(255,255,255,.13);

    padding-top: 22px;

    gap: 15px;
}


.technical-panel-bottom div {

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.technical-panel-bottom strong {

    color: #fff;

    font-size: 25px;
}


.technical-panel-bottom small {

    color: rgba(255,255,255,.5);

    font-size: 9px;

    line-height: 1.4;

    letter-spacing: 1px;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.projects-introduction {

    position: relative;

    padding: 120px 0;

    overflow: hidden;

    background: #fff;
}


.projects-introduction::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(6,24,43,.045) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(6,24,43,.045) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    pointer-events: none;
}


/* =========================================================
   ENGINEERING FAINTS
========================================================= */

.projects-drawing-bg {

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: .55;
}


.drafting-ruler {

    position: absolute;

    right: -100px;

    top: 80px;

    width: 600px;

    height: 70px;

    border: 1px solid rgba(6,24,43,.1);

    transform: rotate(-17deg);
}


.drafting-ruler::before {

    content: "";

    position: absolute;

    inset: 15px 0;

    background:

        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 24px,
            rgba(6,24,43,.13) 25px,
            transparent 26px
        );
}


.drafting-circle {

    position: absolute;

    border: 1px solid rgba(242,140,0,.18);

    border-radius: 50%;
}


.circle-a {

    width: 260px;

    height: 260px;

    right: 8%;

    bottom: -80px;
}


.circle-b {

    width: 130px;

    height: 130px;

    right: 13%;

    bottom: -15px;
}


.drafting-line {

    position: absolute;

    height: 1px;

    background: rgba(6,24,43,.12);
}


.draft-line-a {

    width: 700px;

    left: -100px;

    bottom: 80px;

    transform: rotate(13deg);
}


.draft-line-b {

    width: 450px;

    right: 0;

    top: 130px;

    transform: rotate(-32deg);
}


/* =========================================================
   INTRO GRID
========================================================= */

.projects-introduction-grid {

    position: relative;

    z-index: 3;

    display: grid;

    grid-template-columns: .85fr 1fr;

    gap: 100px;

    align-items: start;
}


.projects-label {

    display: inline-block;

    margin-bottom: 18px;

    color: var(--project-orange);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.projects-section-heading h2 {

    margin: 0;

    max-width: 600px;

    color: var(--project-navy);

    font-size: clamp(42px, 5vw, 70px);

    line-height: .98;

    letter-spacing: -2px;
}


.projects-section-heading h2 span {

    display: block;

    color: var(--project-orange);
}


.projects-introduction-content {

    max-width: 700px;
}


.projects-introduction-content p {

    margin: 0 0 24px;

    color: var(--project-muted);

    font-size: 18px;

    line-height: 1.85;
}


/* =========================================================
   PROJECT LIST
========================================================= */

.projects-list {

    position: relative;

    padding: 120px 0;

    background: var(--project-light);

    overflow: hidden;
}


.projects-list::before {

    content: "";

    position: absolute;

    inset: 0;

    opacity: .55;

    background-image:

        linear-gradient(
            rgba(6,24,43,.035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(6,24,43,.035) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    pointer-events: none;
}


.projects-list::after {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    right: -250px;

    top: 200px;

    border: 1px solid rgba(242,140,0,.12);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   LIST HEADER
========================================================= */

.projects-list-header {

    position: relative;

    z-index: 3;

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 50px;

    margin-bottom: 60px;
}


.projects-list-header h2 {

    margin: 0;

    color: var(--project-navy);

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1;
}


.projects-list-header h2 span {

    color: var(--project-orange);
}


.projects-list-header > p {

    max-width: 450px;

    margin: 0;

    color: var(--project-muted);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   PROJECT GRID
========================================================= */

.projects-grid {

    position: relative;

    z-index: 3;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 34px;
}


/* =========================================================
   PROJECT CARD
========================================================= */

.project-card {

    position: relative;

    overflow: hidden;

    background: #fff;

    border: 1px solid #dce2e7;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}


.project-card:hover {

    transform: translateY(-8px);

    border-color: rgba(242,140,0,.55);

    box-shadow:
        0 25px 60px rgba(6,24,43,.12);
}


/* Featured */

.project-card-featured {

    grid-column: span 2;

    display: grid;

    grid-template-columns: 1.1fr .9fr;
}


/* =========================================================
   CARD NUMBER
========================================================= */

.project-card-number {

    position: absolute;

    top: 0;

    right: 0;

    z-index: 8;

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--project-orange);

    color: var(--project-navy);

    font-size: 14px;

    font-weight: 900;

    letter-spacing: 1px;
}


/* =========================================================
   CARD IMAGE
========================================================= */

.project-card-image {

    position: relative;

    min-height: 330px;

    overflow: hidden;

    background: var(--project-navy);
}


.project-card-featured .project-card-image {

    min-height: 450px;
}


.project-card-image img {

    width: 100%;

    height: 100%;

    min-height: inherit;

    object-fit: cover;

    display: block;

    transition:
        transform .6s ease;
}


.project-card:hover .project-card-image img {

    transform: scale(1.05);
}


.project-image-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 40%,
            rgba(6,24,43,.72)
        );
}


.project-image-label {

    position: absolute;

    left: 22px;

    bottom: 20px;

    padding: 8px 12px;

    background: var(--project-orange);

    color: var(--project-navy);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.project-card-content {

    padding: 38px;
}


.project-category {

    display: inline-block;

    margin-bottom: 17px;

    color: var(--project-orange);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;

    line-height: 1.5;
}


.project-card-content h3 {

    margin: 0 0 28px;

    color: var(--project-navy);

    font-size: clamp(24px, 3vw, 34px);

    line-height: 1.15;

    letter-spacing: -.5px;
}


.project-meta {

    display: flex;

    flex-direction: column;

    gap: 5px;

    padding: 18px 0;

    border-top: 1px solid var(--project-line);

    border-bottom: 1px solid var(--project-line);
}


.project-meta span,
.project-scope > span {

    color: #8995a1;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.7px;
}


.project-meta strong {

    color: var(--project-navy);

    font-size: 14px;
}


.project-scope {

    margin-top: 22px;
}


.project-scope p {

    margin: 9px 0 0;

    color: var(--project-muted);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   ENGINEERING BREAK
========================================================= */

.projects-engineering-break {

    position: relative;

    min-height: 480px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #fff;
}


.projects-engineering-break::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(6,24,43,.04) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(6,24,43,.04) 1px,
            transparent 1px
        );

    background-size: 45px 45px;
}


/* Drawing */

.engineering-break-drawing {

    position: absolute;

    inset: 0;

    opacity: .5;
}


.road-plan {

    position: absolute;

    width: 900px;

    height: 180px;

    right: -100px;

    top: 120px;

    border-top: 1px solid rgba(6,24,43,.18);

    border-bottom: 1px solid rgba(6,24,43,.18);

    transform: rotate(-8deg);
}


.road-plan::before,
.road-plan::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    height: 1px;

    background: rgba(242,140,0,.4);
}


.road-plan::before {

    top: 48px;
}


.road-plan::after {

    bottom: 48px;
}


.road-plan span {

    position: absolute;

    top: 50%;

    width: 70px;

    height: 2px;

    background: rgba(6,24,43,.35);
}


.road-plan span:nth-child(1) {

    left: 15%;
}


.road-plan span:nth-child(2) {

    left: 45%;
}


.road-plan span:nth-child(3) {

    left: 75%;
}


.survey-point {

    position: absolute;

    width: 18px;

    height: 18px;

    border: 1px solid rgba(6,24,43,.3);

    border-radius: 50%;
}


.survey-point::after {

    content: "";

    position: absolute;

    left: 50%;

    top: -10px;

    width: 1px;

    height: 38px;

    background: rgba(242,140,0,.4);

    transform: translateX(-50%);
}


.point-one {

    right: 32%;

    top: 30%;
}


.point-two {

    right: 20%;

    top: 60%;
}


.point-three {

    right: 10%;

    top: 40%;
}


.dimension-line {

    position: absolute;

    left: 8%;

    bottom: 70px;

    width: 400px;

    border-top: 1px solid rgba(6,24,43,.18);

    color: rgba(6,24,43,.38);

    font-size: 9px;

    letter-spacing: 2px;
}


/* Break content */

.engineering-break-content {

    position: relative;

    z-index: 4;

    max-width: 650px;
}


.engineering-break-content h2 {

    margin: 0;

    color: var(--project-navy);

    font-size: clamp(42px, 5vw, 70px);

    line-height: 1;

    letter-spacing: -2px;
}


.engineering-break-content h2 span {

    color: var(--project-orange);

    display: block;
}


.engineering-break-content p {

    max-width: 560px;

    margin-top: 25px;

    color: var(--project-muted);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   CTA
========================================================= */

.projects-cta {

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #06182b,
            #0b2945
        );

    color: #fff;

    padding: 100px 0;
}


.projects-cta::before {

    content: "";

    position: absolute;

    inset: 0;

    opacity: .12;

    background-image:

        linear-gradient(
            rgba(255,255,255,.3) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.3) 1px,
            transparent 1px
        );

    background-size: 45px 45px;
}


.cta-blueprint {

    position: absolute;

    inset: 0;

    pointer-events: none;
}


.cta-blueprint span {

    position: absolute;

    border: 1px solid rgba(242,140,0,.22);

    transform: rotate(45deg);
}


.cta-blueprint span:nth-child(1) {

    width: 300px;

    height: 300px;

    right: 10%;

    top: -170px;
}


.cta-blueprint span:nth-child(2) {

    width: 180px;

    height: 180px;

    right: 20%;

    bottom: -100px;
}


.cta-blueprint span:nth-child(3) {

    width: 100px;

    height: 100px;

    left: 7%;

    bottom: 30px;

    border-radius: 50%;
}


.cta-blueprint span:nth-child(4) {

    width: 500px;

    height: 1px;

    left: -100px;

    top: 50%;

    background: rgba(242,140,0,.25);

    border: 0;

    transform: rotate(-15deg);
}


.projects-cta-inner {

    position: relative;

    z-index: 4;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 60px;
}


.projects-cta h2 {

    margin: 0;

    max-width: 800px;

    font-size: clamp(40px, 5vw, 68px);

    line-height: .98;

    letter-spacing: -2px;
}


.projects-cta h2 span {

    color: var(--project-orange);
}


.projects-cta p {

    max-width: 650px;

    margin: 22px 0 0;

    color: rgba(255,255,255,.7);

    font-size: 16px;

    line-height: 1.7;
}


.projects-cta-button {

    flex-shrink: 0;

    min-height: 60px;

    padding: 0 28px;

    display: inline-flex;

    align-items: center;

    gap: 20px;

    background: var(--project-orange);

    color: var(--project-navy);

    text-decoration: none;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: .3s ease;
}


.projects-cta-button:hover {

    background: #fff;

    transform: translateY(-4px);
}


.projects-cta-button span {

    font-size: 20px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .projects-container {

        width: min(100% - 40px, 1000px);
    }


    .projects-hero-grid {

        grid-template-columns: 1fr;

        gap: 50px;
    }


    .projects-technical-panel {

        max-width: 700px;

        width: 100%;

        margin: 0 auto;
    }


    .projects-introduction-grid {

        gap: 50px;
    }


    .project-card-featured {

        grid-template-columns: 1fr;
    }


    .project-card-featured .project-card-image {

        min-height: 380px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .projects-container {

        width: calc(100% - 30px);
    }


    .projects-hero {

        min-height: auto;
    }


    .projects-hero-grid {

        padding: 70px 0;
    }


    .projects-hero h1 {

        font-size: clamp(48px, 14vw, 72px);

        letter-spacing: -2px;
    }


    .projects-hero-content > p {

        font-size: 16px;

        line-height: 1.7;
    }


    .projects-hero-actions {

        flex-direction: column;

        align-items: stretch;
    }


    .projects-primary-button,
    .projects-secondary-button {

        width: 100%;
    }


    .projects-technical-panel {

        min-height: 410px;

        padding: 18px;
    }


    .technical-drawing {

        height: 250px;
    }


    .drawing-building {

        transform:
            translate(-50%, -45%)
            scale(.72);
    }


    .technical-panel-bottom strong {

        font-size: 20px;
    }


    .technical-panel-bottom small {

        font-size: 8px;
    }


    .projects-introduction {

        padding: 80px 0;
    }


    .projects-introduction-grid {

        grid-template-columns: 1fr;

        gap: 35px;
    }


    .projects-section-heading h2 {

        font-size: 45px;
    }


    .projects-list {

        padding: 80px 0;
    }


    .projects-list-header {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        margin-bottom: 40px;
    }


    .projects-grid {

        grid-template-columns: 1fr;

        gap: 24px;
    }


    .project-card-featured {

        grid-column: span 1;

        display: block;
    }


    .project-card-image,
    .project-card-featured .project-card-image {

        min-height: 260px;
    }


    .project-card-content {

        padding: 27px 22px;
    }


    .project-card-content h3 {

        font-size: 26px;
    }


    .projects-engineering-break {

        min-height: 400px;
    }


    .engineering-break-content h2 {

        font-size: 45px;
    }


    .road-plan {

        width: 600px;

        right: -350px;

        opacity: .55;
    }


    .projects-cta {

        padding: 75px 0;
    }


    .projects-cta-inner {

        flex-direction: column;

        align-items: flex-start;

        gap: 35px;
    }


    .projects-cta-button {

        width: 100%;

        justify-content: center;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .projects-container {

        width: calc(100% - 24px);
    }


    .projects-hero-grid {

        padding: 55px 0;
    }


    .projects-eyebrow {

        font-size: 10px;

        letter-spacing: 2px;
    }


    .projects-hero h1 {

        font-size: 45px;
    }


    .projects-technical-panel {

        min-height: 370px;
    }


    .technical-panel-top {

        font-size: 8px;
    }


    .technical-panel-bottom {

        gap: 8px;
    }


    .technical-panel-bottom strong {

        font-size: 17px;
    }


    .technical-panel-bottom small {

        font-size: 7px;
    }


    .project-card-number {

        width: 48px;

        height: 48px;

        font-size: 11px;
    }


    .project-card-content h3 {

        font-size: 23px;
    }


    .project-scope p {

        font-size: 13px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .project-card,
    .project-card-image img,
    .projects-primary-button,
    .projects-secondary-button,
    .projects-cta-button {

        transition: none;
    }

}