/* Reset browser defaults */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    color: white;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../images/deck-hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    filter: saturate(1.35) contrast(1.15) brightness(1.15);
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.28);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero-content h1 span {
    display: block;
}

/* =========================
    Services Section
============================ */

.services {
    padding: 110px 7%;
    background: #f2efe9;
    color: #1d1d1b;
}

.section-intro {
    max-width: 900px;
    margin-bottom: 70px;
}

.section-label {
    margin-bottom: 16px;

    color: #9a6b2f;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-intro h2 {
    max-width: 760px;
    margin-bottom: 24px;

    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.section-intro > p:last-child {
    max-width: 760px;

    color: #55524d;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* =======================================
    Service Rows
======================================= */

.service-list {
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.service-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);

    min-height: 520px;

    background: #ffffff;
    border: 1px solid #d8d2c8;

    overflow: hidden;
}

.service-row-reverse .service-image {
    order: 2;
}

.service-row-reverse .service-content {
    order: 1;
}

/* ================================
    Service Images
================================ */

.service-image {
    min-height: 520px;
    overflow: hidden;
}

.service-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

/*=============================
    Service Text
============================ */

.service-content {
    padding: 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    margin-bottom: 24px;

    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.service-content > p {
    margin-bottom: 28px;

    color: #55524d;
    font-size: 1.1rem;
    line-height: 1.75;
}

.service-content ul {
    padding-left: 20px;

    color: #34322f;
    font-size: 1rem;
    line-height: 1.9;
}

.service-content li::marker {
    color: #9a6b2f;
}

/*==================================
    Problem-Solving Statement
================================= */

.problem-solving {
    margin-top: 100px;
    padding: 80px;

    background: #20201e;
    color: #ffffff;
}

.problem-solving h3 {
    max-width: 900px;
    margin-bottom: 28px;

    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.problem-solving > p:last-child {
    max-width: 900px;

    color: #ddd7cc;
    font-size: 1.3rem;
    line-height: 1.8;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;
    padding: 32px 48px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: transparent;

    transition:
        padding 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
    padding: 20px 48px;

    background: rgba(24, 24, 22, 0.9);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
}

.site-logo {
    font-size: 1.3rem;
    font-weight: 600;
}

.site-header nav {
    display: flex;
    gap: 36px;
}

.site-header nav a {
    position: relative;

    padding: 8px 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 0.95rem;
    font-weight: 600;

    transition: color 0.25s ease;
}

.site-header nav a:hover,
.site-header nav a.active {
    color: #ffffff;
}

.site-header nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    background: #c9963e;

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.25s ease;
}

.site-header nav a:hover::after,
.site-header nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

a {
    color: inherit;
    text-decoration: none;
}

.hero-content {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding-bottom: 80px;
}

.hero h1 {
    font-size: 5.5rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 28px;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: #c9963e;
    margin-bottom: 28px;
}

.hero-tagline {
    font-size: 2rem;
    line-height: 1.9;

    font-weight: 400;

    text-align: center;

}


/*==================================
    Featured Work Section
================================= */

.featured-work {
    padding: 120px 7%;
    background: #20201e;
    color: #ffffff;
}

.featured-work-intro {
    max-width: 980px;
    margin-bottom: 90px;
}

.featured-work-intro h2 {
    max-width: 900px;
    margin-bottom: 28px;

    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.featured-work-intro > p:last-child {
    max-width: 760px;

    color: #c8c3ba;
    font-size: 1.2rem;
    line-height: 1.75;
}

/* =================================
    Project List
================================= */

.project-list {
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.project {
    display: grid;
    grid-template-columns: 58% 42%;
    min-height: 620px;

    width: 94%;

    background: #292927;
    border: 1px solid #44423e;

    overflow: hidden;
    position: relative;

    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.project:nth-child(odd) {
    align-self: flex-start;
}

.project:nth-child(even) {
    align-self: flex-end;
    margin-top: -18px;
}

.project:nth-child(3) {
    margin-top: -10px;
}

.project-reverse .project-image {
    order: 2;
}

.project-reverse .project-content{
    order:1;
}

/*==================================
    Project Images
================================= */

.project-image {
    min-height: 620px;
    height: 100%;
    overflow: hidden;
}

.project-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}



/* =================================
    Project Content
================================= */

.project-content {
    padding: 72px 64px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-type {
    margin-bottom: 20px;

    color: #c9963e;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.project-content h3 {
    margin-bottom: 28px;

    font-size: clamp(2.3rem, 4.5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.project-summary {
    margin-bottom: 38px;

    color: #d8d3ca;
    font-size: 1.22rem;
    line-height: 1.75;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;

    margin-top: 20px;
}

.project-details > div:first-child {
    padding-right: 34px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.project-details > div:last-child {
    padding-left: 4px;
}

.project-details h4 {
    margin-bottom: 16px;

    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.project-details p {
    color: #aaa69f;
    font-size: 1.03rem;
    line-height: 1.75;
}

.project-reflection {
    position: relative;

    margin-top: 42px;
    padding-top: 28px;

    border-top: 1px solid rgba(255, 255, 255, 0.16);

    color: #f0ece4;
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.7;
}

.project-reflection::before {
    content: "";
    
    position: absolute;
    top: -1px;
    left: 0;

    width: 72px;
    height: 2px;

    background:#c9963e;
}

/* =================================
    About Section
================================= */

.about {
    padding: 110px 7%;
    background: #f2efe9;
    color: #1d1d1b;
}

/* =================================
    About Story Layout
================================= */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 100px;

    max-width: 1500px;
    margin: 0 auto 80px;
}

.about-heading h2 {
    max-width: 700px;
    
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.about-story {
    max-width: 760px;
    padding-top: 46px;
}

.about-story p {
    margin-bottom: 28px;

    color: #55524d;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-story .about-lead {
    color: #1d1d1b;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 600;
    line-height: 1.4;
}

/* =================================
    About Principles
================================= */

.about-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;

    max-width: 1500px;
    margin: 0 auto 80px;

    background: #d8d2c8;
    border: 1px solid #d8d2c8;
}

.about-principle {
    padding: 52px 44px;

    background: #ffffff;
}

.about-principle h3 {
    margin-bottom: 20px;

    font-size: clamp(1.7rem, 2.3vw, 2.4rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.about-principle p {
    color: #55524d;
    font-size: 1.05rem;
    line-height:1.7;
}

.about-quote {
    max-width: 1500px;
    margin: 0 auto;
    padding: 80px 64px;

    background: #20201e;
    color: #ffffff;
}

.about-quote p {
    max-width: 1100px;

    font-size: clamp(2.3rem,4.5vw, 4.8rem);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

/* =================================
    Contact Section
================================= */

.contact {
    padding: 120px 7% 0;

    background: #f2efe9;
    color: #1d1d1b;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 100px;

    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 110px;
}


/* =================================
    Contact Heading
================================= */

.contact-heading h2 {
    max-width: 850px;
    margin-bottom: 34px;

    font-size: clamp(3.4rem, 7vw, 7rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.contact-intro {
    max-width: 700px;
    margin-bottom: 42px;

    color: #55524d;
    font-size: 1.2rem;
    line-height: 1.8;
}


/* =================================
    Contact Button
================================= */

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 62px;
    padding: 0 34px;

    background: #20201e;
    color: #ffffff;

    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-button:hover {
    background: #c9963e;
    color: #1d1d1b;

    transform: translateY(-3px);
}


/* =================================
    Contact Details
================================= */

.contact-details {
    border-top: 1px solid #cbc4b9;
}

.contact-detail {
    padding: 38px 0;

    border-bottom: 1px solid #cbc4b9;
}

.contact-detail-label {
    margin-bottom: 14px;

    color: #9a6b2f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-detail h3 {
    margin-bottom: 14px;

    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.contact-detail h3 a {
    transition: color 0.2s ease;
}

.contact-detail h3 a:hover {
    color: #9a6b2f;
}

.contact-detail > p:last-child {
    max-width: 640px;

    color: #55524d;
    font-size: 1.05rem;
    line-height: 1.75;
}


/* =================================
    Contact Closing Statement
================================= */

.contact-closing {
    max-width: 1500px;
    margin: 0 auto;
    padding: 84px 64px;

    background: #c9963e;
    color: #1d1d1b;
}

.contact-closing p {
    max-width: 1150px;

    font-size: clamp(2.5rem, 5vw, 5.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
}


/* =================================
    Footer
================================= */

.site-footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 30px;

    padding: 38px 7%;

    background: #20201e;
    color: #c8c3ba;

    font-size: 0.92rem;
}

.footer-logo {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
}

.site-footer p {
    text-align: center;
}

.footer-top-link {
    justify-self: end;

    color: #ffffff;
    font-weight: 600;

    transition: color 0.2s ease;
}

.footer-top-link:hover {
    color: #c9963e;
}

/* =================================
    Scroll Reveal
================================= */

.reveal {
    opacity: 0;
    transform: translateY(42px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    .html {
        scroll-behavior: auto;
        scroll-padding-top: 90px;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

}

/* =================================
    PROJECTS PAGE
================================= */

.projects-page {
    background: #f2efe9;
    color: #20201e;
}

/* =========================================
   PROJECTS PAGE
========================================= */

.projects-page {
    background: #f2efe9;
    color: #20201e;
}


/* =========================================
   PROJECTS HEADER
========================================= */

.projects-header {
    min-height: 92px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #20201e;
}

.projects-logo {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

.projects-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.projects-nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.projects-nav a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================
   PROJECTS INTRODUCTION
========================================= */

.projects-intro {
    padding: 120px 7% 95px;
}

.projects-intro-content {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.projects-intro h1 {
    max-width: 950px;
    margin: 18px 0 28px;

    font-size: clamp(3.4rem, 7vw, 6.6rem);
    line-height: 0.94;
    letter-spacing: -0.045em;
}

.projects-intro-text {
    max-width: 720px;

    font-size: 1.15rem;
    line-height: 1.75;
    color: #56534d;
}


/* =========================================
   PROJECT GALLERY
========================================= */

.projects-gallery {
    width: min(1420px, 86%);
    margin: 0 auto;
    padding-bottom: 130px;
}

.gallery-project {
    padding: 90px 0 110px;
    border-top: 1px solid rgba(32, 32, 30, 0.18);
}

.gallery-project:first-child {
    border-top: 0;
    padding-top: 20px;
}

.gallery-project + .gallery-project {
    padding-top: 110px;
}

.gallery-project-heading {
    max-width: 840px;
    margin-bottom: 38px;
}

.gallery-project-heading .section-label {
    margin-bottom: 12px;
}

.gallery-project-heading h2 {
    margin: 0 0 18px;

    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.gallery-project-heading > p:last-child {
    max-width: 720px;
    margin: 0;

    color: #5b5852;
    font-size: 1.08rem;
    line-height: 1.7;
}


/* =========================================
   GALLERY GRID
========================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;

    align-items: start;
}

.gallery-item {
    margin: 0;
    overflow: hidden;

    background: #ded9d0;
}

.gallery-item img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
    object-position: center;
}

.gallery-item figcaption {
    min-height: 68px;
    padding: 16px 18px 18px;

    color: #55514b;
    background: #ffffff;

    font-size: 0.92rem;
    line-height: 1.5;

    border-top: 1px solid rgba(32, 32, 30, 0.1);
}


/* =========================================
   ALEXANDER DECK
========================================= */

.gallery-grid-deck .gallery-item-wide {
    grid-column: 1 / span 7;
}

.gallery-grid-deck .gallery-item:nth-child(2) {
    grid-column: 8 / -1;
}

.gallery-grid-deck .gallery-item:nth-child(3) {
    grid-column: 3 / span 8;
    margin-top: 26px;
}


/* =========================================
   SINGLE FEATURE IMAGES
========================================= */

.gallery-item-full {
    grid-column: 1 / -1;
}

.gallery-grid-feature .gallery-item-full {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.gallery-grid-stairs .gallery-item-full {
    width: min(1050px, 100%);
    margin: 0 auto;
}

.gallery-item-full img {
    width: 100%;
    height: auto;
    max-height: 760px;

    object-fit: contain;
}

/* =========================================
    CANYON LAKE PROJECT STORY
========================================= */

.canyon-story {
        display: grid;
        grid-template: repeat(12, minmax(0, 1fr));
        gap: 24px;
}

.canyon-story {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.canyon-story-item {
    grid-column: span 6;
    margin: 0;
    overflow: 0;
    overflow: hidden;
    background: #ffffff;
}

.canyon-story-wide {
    grid-column: span 12;
}

.canyon-story-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.canyon-story-item figcaption {
    padding: 16px 18px 20px;
    color: #55514b;
    background: #ffffff;
    font-size: 0.92rem;
    line-height: 1.55;
}

.canyon-story-finished {
    grid-column: 2 / span 10;
    margin-top: 20px;
}


/* =========================================
   RETURN / CALL TO ACTION
========================================= */

.projects-return {
    padding: 110px 7%;

    color: #ffffff;
    background: #20201e;
}

.projects-return > * {
    width: min(1050px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.projects-return h2 {
    margin-top: 16px;
    margin-bottom: 22px;

    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.projects-return > p:not(.section-label) {
    max-width: 670px;

    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
    line-height: 1.7;
}

.projects-return-links {
    margin-top: 38px;

    display: flex;
    align-items: center;
    gap: 28px;
}

.projects-primary-link,
.projects-secondary-link {
    font-weight: 700;
    text-decoration: none;
}

.projects-primary-link {
    padding: 15px 22px;

    color: #20201e;
    background: #ffffff;
}

.projects-secondary-link {
    color: #ffffff;
    border-bottom: 1px solid #b9852a;
}


/* =========================================
   PROJECTS FOOTER
========================================= */

.projects-footer {
    padding: 40px 7%;

    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;

    color: rgba(255, 255, 255, 0.72);
    background: #171715;
}

.projects-footer p {
    margin: 0;
}

.projects-footer a {
    color: inherit;
    text-decoration: none;
}

/* =================================
    Mobile-Media
================================= */

@media (max-width: 900px) {
    .services {
        padding: 80px 24px;
    }

    .service-list {
        gap: 40px;
    }

    .service-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .service-row-reverse .service-image,
    .service-row-reverse .service-content {
        order: initial;
    }

    .service-image {
        min-height: 340px;
    }

    .service-content {
        padding: 40px 28px;
    }

    .problem-solving {
        margin-top: 60px;
        padding: 60px 28px;
    }
}

@media (max-width: 900px) {
    .featured-work {
        padding: 80px 24px;
    }

    .project-list {
        gap: 50px;
    }

    .project {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .project-reverse .project-image,
    .project-reverse .project-content {
        order: initial;
    }

    .project-image {
        min-height: 380px;
    }

    .project-content {
        padding: 42px 28px;
    }

    .project-details {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 900px) {
    .project {
        width: 100%;
        margin-top: 0;
        overflow: hidden;
    }

    .project:nth-child(odd),
    .project:nth-child(even) {
        align-self: stretch;
        margin-top: 0;
    }

    .project:nth-child(odd) .project-image,
    .project:nth-child(even) .project-image {
        transform: none;
    }

    .project-image {
        min-height: 380px;
    }
}

@media (max-width: 900px) {
    .about {
        padding: 90px 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;

        margin-bottom: 70px;
    }

    .about-story {
        padding-top: 0;
    }

    .about-principles {
        grid-template-columns: 1fr;
        margin-bottom: 70px;
    }

    .about-principle {
        min-height: auto;
        padding: 42px 28px;
    }

    .about-quote {
        padding: 60px 28px;
    }
}

@media (max-width: 900px) {

    .contact {
        padding: 90px 24px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 70px;

        padding-bottom: 80px;
    }

    .contact-heading h2 {
        font-size: clamp(3.2rem, 15vw, 5.5rem);
    }

    .contact-intro {
        font-size: 1.08rem;
    }

    .contact-button {
        width: 100%;
        padding: 0 22px;

        text-align: center;
    }

    .contact-closing {
        padding: 60px 28px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 20px;

        padding: 38px 24px;

        text-align: left;
    }

    .site-footer p {
        text-align: left;
    }

    .footer-top-link {
        justify-self: start;
    }

    .site-header,
    .site-header.is-scrolled {
        padding: 20px 24px;
    }

    .site-header nav {
        gap: 18px;
    }

    .site-header nav a {
        font-size: 0.82rem;
    }

}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(2.6rem, 12vw, 4rem);
        letter-spacing: 0.04em;
        line-height: 0.95;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .hero-content {
        width: 100%;
        max-width:100%;
        padding-inline: 12px;
    }
}

@media (max-width: 768px) {

    .projects-header {
        padding: 20px;
        align-items: flex-start;
        gap: 22px;
    }

    .projects-logo {
        max-width: 115px;
        line-height: 1.15;
    }

    .projects-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 12px 18px;
    }

    .projects-nav a {
        font-size: 0.85rem;
    }

    .projects-intro {
        padding: 78px 20px 65px;
    }

    .projects-intro h1 {
        font-size: clamp(2.8rem, 13vw, 4.3rem);
        line-height: 0.96;
    }

    .projects-intro-text {
        font-size: 1rem;
    }

    .projects-gallery {
        width: calc(100% - 40px);
        padding-bottom: 80px;
    }

    .gallery-project {
        padding: 65px 0 80px;
    }

    .gallery-project-heading {
        margin-bottom: 30px;
    }

    .gallery-project-heading h2 {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-grid-deck .gallery-item-wide,
    .gallery-grid-deck .gallery-item:nth-child(2),
    .gallery-grid-deck .gallery-item:nth-child(3),
    .gallery-item-full {
        grid-column: auto;
        width: 100%;
        margin-top: 0;
    }

    .gallery-item img,
    .gallery-item-full img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .projects-return {
        padding: 80px 20px;
    }

    .projects-return-links {
        align-items: flex-start;
        flex-direction: column;
    }

    .projects-footer {
        padding: 32px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .canyon-story {
        grid-template-columns: 1fr;
    }

    .canyon-story-item,
    .canyon-story-wide,
    .canyon-story-finished {
        grid-column: auto;
        width: 100%;
        margin-top:0;
    }

    .canyon-story-item img {
        width: 100%
        height: auto;
    }
}