:root {
    --paper: #faf9f7;
    --paper-deep: #f4f0e5;
    --ink: #1e231f;
    --muted: #6f5c43;
    --accent: #c8a97e;
    --line: rgba(200, 169, 126, 0.28);
    --sans: "Inter", sans-serif;
    --serif: "Cormorant Garamond", Georgia, serif;
    --display: "Bodoni Moda", Didot, "Times New Roman", serif;
}

::selection {
    background: #c8a97e;
    color: #111;
}

::-moz-selection {
    background: #c8a97e;
    color: #111;
}

/* Scroll showcase: preview expands into full-screen editorial panels. */
@media (min-width: 761px) {
    .featured-work-grid {
        display: block;
        width: calc(100% + clamp(28px, 3vw, 60px));
        margin-left: calc(clamp(14px, 1.5vw, 30px) * -1);
    }

    .featured-showcase {
        position: relative;
        height: 175svh;
    }

    .featured-showcase-sticky {
        position: sticky;
        top: 0;
        width: 100%;
        height: 100svh;
        overflow: hidden;
        background: #faf9f7;
    }

    .featured-preview {
        position: absolute;
        overflow: hidden;
        margin: 0;
        background: #e8e0d3;
        will-change: width, height, opacity, transform;
    }

    .featured-preview img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transform: scale(1.035);
    }

    .featured-preview--center {
        top: var(--showcase-center-top, 0svh);
        left: 50%;
        z-index: 2;
        width: var(--showcase-center-width, 42vw);
        height: var(--showcase-center-height, 56svh);
        border-radius: var(--showcase-radius, 2px);
        transform: translateX(-50%);
    }

    .featured-preview--left,
    .featured-preview--right {
        top: 20svh;
        z-index: 1;
        width: 28vw;
        height: 48svh;
        opacity: var(--showcase-side-opacity, 1);
    }

    .featured-preview--left {
        left: 0;
        transform: translateX(var(--showcase-left-x, 0vw));
    }

    .featured-preview--right {
        right: 0;
        transform: translateX(var(--showcase-right-x, 0vw));
    }

    .featured-panels {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: #1e231f;
    }

    .featured-panels .featured-project {
        position: relative;
        width: 100%;
        max-width: none;
        height: 100svh;
        min-height: 680px;
        margin: 0;
        overflow: hidden;
        opacity: 0;
        filter: none;
        transform: none;
        transition: opacity 0.8s ease;
    }

    .featured-panels .featured-project.is-visible {
        opacity: 1;
        transform: none;
    }

    .featured-panels .featured-project--center { order: 1; }
    .featured-panels .featured-project--left { order: 2; }
    .featured-panels .featured-project--right { order: 3; }
    .featured-panels .featured-project--four { order: 4; }
    .featured-panels .featured-project--five { order: 5; }

    .featured-panels .featured-project-image,
    .featured-panels .featured-project--center .featured-project-image,
    .featured-panels .featured-project--four .featured-project-image,
    .featured-panels .featured-project--five .featured-project-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        border-radius: 0;
        opacity: 1;
        transform: none;
    }

    .featured-panels .featured-project-image::after {
        opacity: 1;
        background: linear-gradient(90deg, rgba(12, 15, 13, 0.43), rgba(12, 15, 13, 0.04) 56%, rgba(12, 15, 13, 0.18));
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .featured-panels .featured-project-image:hover::after {
        opacity: 1;
        background: rgba(12, 15, 13, 0.3);
    }

    .featured-panels .featured-project-image img,
    .featured-panels .featured-project.is-visible .featured-project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.045);
        transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
    }

    .featured-panels .featured-project.is-visible .featured-project-image img {
        transform: scale(1);
    }

    .featured-panels .featured-project-copy {
        position: absolute;
        left: clamp(20px, 2.2vw, 44px);
        bottom: clamp(24px, 5vh, 58px);
        z-index: 3;
        max-width: min(560px, 44vw);
        padding: 0;
        color: #fff;
        opacity: 0;
        transform: translateY(26px);
        transition: opacity 0.7s ease 0.18s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
    }

    .featured-panels .featured-project.is-visible .featured-project-copy {
        opacity: 1;
        transform: none;
    }

    .featured-panels .featured-project-copy h3 {
        margin-bottom: 12px;
        font-family: var(--sans);
        font-size: clamp(1.9rem, 3vw, 3.7rem);
        font-weight: 300;
        letter-spacing: 0.01em;
        text-transform: uppercase;
    }

    .featured-panels .featured-project-copy p {
        max-width: 48ch;
        color: rgba(255, 255, 255, 0.78);
        font-size: clamp(11px, 0.82vw, 14px);
    }

    .featured-panels .featured-project-copy .featured-project-type {
        color: rgba(255, 255, 255, 0.62);
    }
}

@media (max-width: 760px) {
    .featured-showcase {
        position: relative;
        flex: 0 0 auto;
        width: calc(100% + 36px);
        height: 178svh;
        margin-left: -18px;
    }

    .featured-showcase-sticky {
        position: sticky;
        top: 0;
        width: 100%;
        height: 100svh;
        overflow: hidden;
        background: #faf9f7;
    }

    .featured-preview {
        position: absolute;
        overflow: hidden;
        margin: 0;
        background: #e8e0d3;
        box-shadow: 0 16px 42px rgba(17, 21, 18, 0.08);
        will-change: width, height, opacity, transform;
    }

    .featured-preview img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transform: scale(var(--showcase-image-scale, 1.035));
        will-change: transform;
    }

    .featured-preview--center {
        top: var(--showcase-center-top, 7svh);
        left: 50%;
        z-index: 2;
        width: var(--showcase-center-width, 42vw);
        height: var(--showcase-center-height, 58svh);
        border-radius: var(--showcase-radius, 2px);
        transform: translateX(-50%);
    }

    .featured-preview--left,
    .featured-preview--right {
        z-index: 1;
        width: 29vw;
        height: 47svh;
        opacity: var(--showcase-side-opacity, 1);
    }

    .featured-preview--left {
        top: 29svh;
        left: 0;
        transform: translateX(var(--showcase-left-x, 0vw));
    }

    .featured-preview--right {
        top: 7svh;
        right: 0;
        transform: translateX(var(--showcase-right-x, 0vw));
    }

    .featured-preview--left img {
        object-position: 53% center;
    }

    .featured-preview--center img {
        object-position: 51% center;
    }

    .featured-preview--right img {
        object-position: 50% center;
    }

    .featured-panels {
        display: flex;
        flex-direction: column;
        gap: 86px;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .featured-showcase {
        height: 100svh;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    position: relative;
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: linear-gradient(to bottom, #faf9f7, #f7f3ee);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    top: -200px;
    right: -200px;
    z-index: -1;
    width: 800px;
    height: 800px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(200, 169, 126, 0.06), transparent 70%);
}

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

img {
    display: block;
    width: 100%;
    user-select: none;
    -webkit-user-drag: none;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(155px, 18vw, 260px) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(18px, 3vw, 46px);
    width: 100%;
    height: 90px;
    padding: 0 clamp(22px, 5vw, 76px);
    border-bottom: 1px solid rgba(30, 35, 31, 0.05);
    background: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.8vw, 40px);
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links:first-of-type {
    justify-self: end;
}

.nav-links:last-of-type {
    justify-self: start;
}

.nav-links a {
    color: #1e231f;
    font-family: var(--sans);
    font-size: clamp(9px, 0.8vw, 11px);
    letter-spacing: clamp(2px, 0.24vw, 3px);
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
    color: #b89a7a;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    width: 100%;
    height: 64px;
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-toggle,
.mobile-menu {
    display: none;
}

.gallery-intro {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: calc(100svh - 90px);
    overflow: hidden;
    background: transparent;
}

.gallery-intro::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 38%;
    background: linear-gradient(to top, rgba(200, 169, 126, 0.13), transparent);
    opacity: 0;
    transition: opacity 1.3s ease 1.4s;
}

.gallery-intro.is-gallery-active::after {
    opacity: 1;
}

.gallery-intro-copy {
    position: relative;
    z-index: 3;
    align-self: center;
    justify-self: center;
    width: min(94%, 1180px);
    text-align: center;
    transform: translateY(2vh);
    transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s ease;
}

.gallery-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 0 clamp(22px, 3vh, 38px);
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}

.gallery-kicker::before,
.gallery-kicker::after {
    content: "";
    width: clamp(28px, 3vw, 54px);
    height: 1px;
    background: currentColor;
    opacity: 0.45;
}

body.is-ready .gallery-kicker {
    opacity: 1;
    transform: none;
}

.gallery-intro h1 {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: clamp(24px, 2.3vw, 48px);
    margin: 0;
    font-family: var(--display);
    font-size: clamp(5rem, 10.8vw, 13rem);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -0.075em;
    white-space: nowrap;
    text-transform: uppercase;
    font-feature-settings: "liga" 1, "kern" 1;
    opacity: 0;
    filter: blur(5px);
    transform: translateY(30px);
    transition: opacity 1s ease 0.25s, filter 1s ease 0.25s, transform 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

body.is-ready .gallery-intro h1 {
    opacity: 1;
    filter: blur(0);
    transform: none;
}

.gallery-intro.is-gallery-active .gallery-intro-copy {
    opacity: 0;
    filter: blur(9px);
    transform: translateY(-20vh) scale(0.94);
    pointer-events: none;
}

.gallery-orbit {
    position: relative;
    perspective: 1200px;
    transform-style: preserve-3d;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.gallery-orbit.is-dragging {
    cursor: grabbing;
}

.gallery-intro-orbit {
    position: absolute;
    inset: 12vh 0 -2vh;
    z-index: 2;
    opacity: 0;
    transform: translate3d(0, 106%, 0) scale(0.92);
    transition: opacity 0.8s ease 1.3s, transform 1.65s cubic-bezier(0.16, 1, 0.3, 1) 1.1s;
}

.gallery-intro.is-gallery-active .gallery-intro-orbit {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.gallery-orbit-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.orbit-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(300px, 30.5vw, 610px);
    height: auto;
    aspect-ratio: 0.96;
    margin: 0;
    overflow: hidden;
    border-radius: clamp(22px, 2vw, 36px);
    background: #f3f0eb;
    box-shadow: none;
    transform-origin: center center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.orbit-card--wide {
    width: clamp(300px, 30.5vw, 610px);
}

.orbit-card img {
    height: 100%;
    object-fit: cover;
    transform: scale(1.025);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.orbit-card:nth-child(3n + 1) img {
    object-position: center 56%;
}

.orbit-card:nth-child(3n + 2) img {
    object-position: center center;
}

.orbit-card:hover img {
    transform: translateY(-4%) scale(1.075);
}

.orbit-card figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 18px;
    min-height: 31%;
    padding: clamp(18px, 1.8vw, 30px);
    color: var(--ink);
    background: rgba(244, 240, 229, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(102%);
    transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-intro.is-gallery-active.are-captions-visible .orbit-card figcaption {
    opacity: 1;
    transform: translateY(0);
}

.orbit-card figcaption strong {
    grid-column: 1;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.65rem, 2.2vw, 2.8rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.035em;
}

.orbit-card figcaption p {
    grid-column: 1;
    max-width: 34ch;
    margin: 0;
    color: rgba(30, 35, 31, 0.66);
    font-size: clamp(9px, 0.7vw, 12px);
    line-height: 1.4;
}

.orbit-discover {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: clamp(126px, 10vw, 162px);
    min-height: clamp(48px, 4vw, 62px);
    padding: 10px 10px 10px 20px;
    border: 1px solid rgba(30, 35, 31, 0.12);
    border-radius: 999px;
    background: rgba(200, 169, 126, 0.82);
    box-shadow: 0 12px 28px rgba(30, 35, 31, 0.16);
    color: var(--ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.orbit-discover__arrow {
    display: grid;
    place-items: center;
    width: clamp(32px, 2.7vw, 42px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(250, 249, 247, 0.9);
    font-size: clamp(18px, 1.5vw, 24px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.orbit-discover:hover,
.orbit-discover:focus-visible {
    background: var(--ink);
    box-shadow: 0 16px 36px rgba(30, 35, 31, 0.28);
    color: var(--paper);
    transform: translateY(-3px);
}

.orbit-discover:hover .orbit-discover__arrow,
.orbit-discover:focus-visible .orbit-discover__arrow {
    background: rgba(200, 169, 126, 0.82);
    color: var(--ink);
    transform: translateX(3px);
}

.orbit-discover:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

@media (hover: none) {
    .orbit-card figcaption {
        min-height: 35%;
    }
}

.gallery-manifesto {
    display: grid;
    align-content: center;
    min-height: 82svh;
    padding: 14vh clamp(24px, 8vw, 150px);
    background: #1e231f;
    color: var(--paper);
}

.gallery-manifesto p,
.gallery-manifesto span,
.collection-heading p,
.gallery-cta p {
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.gallery-manifesto p {
    margin-bottom: 34px;
    color: #c8a97e;
}

.gallery-manifesto h2,
.collection-heading h2,
.gallery-cta h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3.5rem, 8.5vw, 10rem);
    font-weight: 400;
    line-height: 0.84;
    letter-spacing: -0.05em;
}

.gallery-manifesto span {
    margin-top: 58px;
    color: rgba(250, 249, 247, 0.46);
}

/* Editorial project showcase inspired by the supplied scroll reference. */
.featured-work {
    position: relative;
    isolation: isolate;
    min-height: 0;
    overflow: clip;
    padding: clamp(100px, 8vw, 150px) clamp(14px, 1.5vw, 30px) 0;
    color: var(--ink);
    background: transparent;
}

.featured-work::before {
    display: none;
}

.featured-work-intro {
    position: relative;
    min-height: 0;
}

.featured-work-title {
    width: min(100%, 15em);
    margin: 0 auto;
    font-family: var(--sans);
    font-size: clamp(3.4rem, 5.7vw, 6.8rem);
    font-weight: 300;
    line-height: 1.03;
    letter-spacing: 0.025em;
    text-align: center;
    text-transform: uppercase;
}

.featured-title-line {
    display: block;
    overflow: hidden;
    padding: 0 0.08em 0.12em;
}

.featured-title-line > span {
    display: block;
    transform: translateY(118%) rotate(2deg);
    transform-origin: 0 100%;
    transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-title-line:nth-child(2) > span {
    transition-delay: 0.12s;
}

.featured-work.is-visible .featured-title-line > span {
    transform: translateY(0) rotate(0);
}

.featured-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: rgba(30, 35, 31, 0.74);
    font-size: clamp(9px, 0.7vw, 11px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.featured-note-mark {
    color: var(--accent);
    font-size: 25px;
    font-weight: 400;
    line-height: 0.7;
}

.featured-note--top {
    position: absolute;
    right: 2.5%;
    bottom: 9%;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.75s ease 0.55s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
}

.featured-note--top,
.featured-note--bottom {
    display: none;
}

.featured-work.is-visible .featured-note--top {
    opacity: 1;
    transform: none;
}

.featured-work-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    column-gap: clamp(10px, 1.2vw, 24px);
    row-gap: clamp(58px, 5vw, 96px);
    min-height: 0;
}

.featured-project {
    position: relative;
    width: 100%;
    max-width: none;
    justify-self: center;
    opacity: 0;
    filter: blur(7px);
    transform: translate3d(0, calc(96px + var(--parallax-y, 0px)), 0) scale(0.94);
    transform-origin: 50% 100%;
    transition:
        opacity 0.85s ease,
        filter 1s ease,
        transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity, filter;
}

.featured-project.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1);
}

.featured-project--left {
    grid-column: 1 / span 3;
    grid-row: 1;
    margin-top: clamp(110px, 9vw, 175px);
}

.featured-project--center {
    grid-column: 4 / span 4;
    grid-row: 1;
    margin-top: 0;
}

.featured-project--right {
    grid-column: 8 / span 3;
    grid-row: 1;
    margin-top: clamp(110px, 9vw, 175px);
}

.featured-project--four {
    grid-column: 2 / span 4;
    grid-row: 2;
    margin-top: 0;
}

.featured-project--five {
    grid-column: 6 / span 4;
    grid-row: 2;
    margin-top: 0;
}

.featured-project--four .featured-project-image img {
    object-position: 58% center;
}

.featured-project--five .featured-project-image img {
    object-position: 47% center;
}

.featured-project-image {
    position: relative;
    display: block;
    aspect-ratio: 1.18;
    overflow: hidden;
    border-radius: 14px;
    opacity: 0;
    background: #e8e0d3;
    transform: translateY(34px) scale(0.975);
    transform-origin: 50% 100%;
    transition:
        opacity 0.7s ease 0.08s,
        transform 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.featured-project--center .featured-project-image {
    aspect-ratio: 1.38;
}

.featured-project--four .featured-project-image,
.featured-project--five .featured-project-image {
    aspect-ratio: 1.32;
}

.featured-project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    background: rgba(30, 35, 31, 0.62);
    backdrop-filter: blur(4px) saturate(0.78);
    -webkit-backdrop-filter: blur(4px) saturate(0.78);
    opacity: 0;
    transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-project-image:hover::after {
    opacity: 1;
}

.featured-project.is-visible .featured-project-image {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    transition: transform 1.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.featured-project--left .featured-project-image img {
    object-position: 53% center;
}

.featured-project--center .featured-project-image img {
    object-position: 51% center;
}

.featured-project--right .featured-project-image img {
    object-position: 50% center;
}

.featured-project.is-visible .featured-project-image img {
    transform: scale(1);
}

.featured-project-image:hover img {
    transform: scale(1.025);
    filter: saturate(0.92);
}

/* Same custom cursor system used by index.html. */
@media (pointer: fine) {
    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button,
    body.has-custom-cursor .gallery-orbit,
    body.has-custom-cursor .gallery-orbit.is-dragging,
    body.has-custom-cursor .featured-panels .featured-project-image {
        cursor: none;
    }

    .cursor-follow {
        position: fixed;
        top: -80px;
        left: -80px;
        z-index: 5000;
        width: 18px;
        height: 18px;
        pointer-events: none;
        opacity: 0;
        transform: translate(-50%, -50%);
        transition:
            width 0.24s ease,
            height 0.24s ease,
            opacity 0.06s linear,
            transform 0.18s ease;
    }

    .cursor-follow.is-visible {
        opacity: 1;
    }

    .cursor-follow.is-pressed {
        transform: translate(-50%, -50%) scale(0.92);
    }

    .cursor-follow__trail,
    .cursor-follow__orb {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .cursor-follow__trail {
        display: none;
    }

    .cursor-follow__orb {
        left: 50%;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: rgba(200, 169, 126, 0.82);
        box-shadow: 0 10px 24px rgba(30, 35, 31, 0.16);
        transform: translate(-50%, -50%);
        transition: 0.24s ease;
    }

    .cursor-follow__arrow {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 30px;
        height: 30px;
        opacity: 0;
        transform: translate(-58%, -50%) scale(0.72);
        transition: 0.2s ease;
    }

    .cursor-follow__arrow::before,
    .cursor-follow__arrow::after {
        content: "";
        position: absolute;
        top: 50%;
        background: #fff;
    }

    .cursor-follow__arrow::before {
        left: 1px;
        width: 29px;
        height: 4px;
        border-radius: 999px;
        transform: translateY(-50%);
    }

    .cursor-follow__arrow::after {
        right: 1px;
        width: 17px;
        height: 17px;
        border-top: 4px solid #fff;
        border-right: 4px solid #fff;
        background: transparent;
        transform: translateY(-50%) rotate(45deg);
    }

    .cursor-follow.is-link {
        width: 76px;
        height: 76px;
        transform: translate(-50%, -50%);
    }

    .cursor-follow.is-link.is-pressed {
        transform: translate(-50%, -50%) scale(0.95);
    }

    .cursor-follow.is-link .cursor-follow__orb {
        left: 50%;
        width: 76px;
        height: 76px;
        background: rgba(200, 169, 126, 0.9);
        backdrop-filter: blur(10px);
    }

    .cursor-follow.is-link .cursor-follow__arrow {
        opacity: 1;
        transform: translate(-58%, -50%) scale(1);
    }
}

.featured-project-copy {
    padding-top: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.65s ease 0.38s,
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.38s;
}

.featured-project.is-visible .featured-project-copy {
    opacity: 1;
    transform: none;
}

.featured-project-copy h3 {
    margin: 0 0 8px;
    font-family: var(--serif);
    font-size: clamp(1.5rem, 1.85vw, 2.15rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.035em;
}

.featured-project-copy p {
    max-width: 36ch;
    margin: 0;
    color: rgba(30, 35, 31, 0.58);
    font-size: clamp(10px, 0.77vw, 13px);
    line-height: 1.45;
}

.featured-project-copy .featured-project-type {
    margin-bottom: 12px;
    color: rgba(30, 35, 31, 0.4);
    font-size: clamp(9px, 0.7vw, 11px);
}

.featured-note--bottom {
    position: absolute;
    top: auto;
    bottom: -38px;
    left: 50%;
    white-space: nowrap;
    transform: translateX(-50%);
}

.featured-work-actions {
    position: relative;
    z-index: 5;
    width: min(760px, 100%);
    min-height: 176px;
    margin: clamp(38px, 4vw, 64px) auto clamp(36px, 4vw, 68px);
}

.featured-work-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: max-content;
    min-height: 54px;
    margin: 0 auto;
    padding: 0 25px;
    border: 1px solid var(--ink);
    border-radius: 2px;
    color: var(--paper);
    background: var(--ink);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.featured-work-button span:last-child {
    font-size: 17px;
    transition: transform 0.3s ease;
}

.featured-work-button:hover,
.featured-work-button:focus-visible {
    color: var(--ink);
    background: transparent;
    transform: translateY(-3px);
}

.featured-work-button:hover span:last-child,
.featured-work-button:focus-visible span:last-child {
    transform: translateX(4px);
}

.featured-work-actions.is-open .featured-work-button span:last-child {
    transform: rotate(90deg);
}

.featured-category-menu {
    position: absolute;
    top: 82px;
    left: 50%;
    width: 100%;
    height: 92px;
    transform: translateX(-50%);
    pointer-events: none;
}

.featured-category-button {
    --spread: 0px;
    position: absolute;
    top: 0;
    left: 50%;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    padding: 0;
    border: 1px solid var(--ink);
    border-radius: 50%;
    color: var(--paper);
    background: var(--ink);
    font-family: var(--display);
    font-size: 28px;
    line-height: 1;
    opacity: 0;
    cursor: pointer;
    transform: translate3d(-50%, -76px, 0) scale(0.22);
    transform-origin: 50% 50%;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        opacity 0.32s ease,
        transform 0.72s cubic-bezier(0.2, 0.95, 0.25, 1.15);
    will-change: transform, opacity;
}

.featured-category-button:nth-child(1) {
    --spread: -305px;
}

.featured-category-button:nth-child(2) {
    --spread: -102px;
}

.featured-category-button:nth-child(3) {
    --spread: 102px;
}

.featured-category-button:nth-child(4) {
    --spread: 305px;
}

.featured-work-actions.is-open .featured-category-menu {
    pointer-events: auto;
}

.featured-work-actions.is-open .featured-category-button {
    opacity: 1;
    transform: translate3d(calc(-50% + var(--spread)), 0, 0) scale(1);
}

.featured-work-actions.is-open .featured-category-button:nth-child(1) {
    transition-delay: 0s;
}

.featured-work-actions.is-open .featured-category-button:nth-child(2) {
    transition-delay: 0.055s;
}

.featured-work-actions.is-open .featured-category-button:nth-child(3) {
    transition-delay: 0.11s;
}

.featured-work-actions.is-open .featured-category-button:nth-child(4) {
    transition-delay: 0.165s;
}

.featured-category-button:hover,
.featured-category-button:focus-visible {
    color: var(--ink);
    border-color: var(--ink);
    background: transparent;
    transform: translate3d(calc(-50% + var(--spread)), -7px, 0) scale(1.06);
}

.gallery-collection {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 105svh;
    overflow: hidden;
    padding-top: clamp(90px, 11vh, 130px);
}

.gallery-collection--warm {
    color: #1e231f;
    background: #f4f0e5;
}

.gallery-collection--dark {
    display: block;
    overflow: visible;
    padding-bottom: 0;
    color: #1e231f;
    background: #faf9f7;
}

.gallery-collection--paper {
    color: var(--ink);
    background: #faf9f7;
}

.gallery-collection::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(30, 35, 31, 0.09) 0.6px, transparent 0.6px);
    background-size: 5px 5px;
    opacity: 0.12;
}

.gallery-collection--dark::after {
    display: none;
}

.gallery-collection--dark .collection-heading {
    min-height: clamp(360px, 48vh, 620px);
    padding-bottom: clamp(75px, 10vh, 130px);
}

.dark-wipe {
    position: relative;
    z-index: 3;
    height: 220svh;
    margin-bottom: -1px;
    background: transparent;
}

.dark-wipe-section {
    position: relative;
    margin: -280px 0 0;
    padding: 0;
    background: transparent;
}

.dark-wipe-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100svh;
    overflow: hidden;
    background: transparent;
}

.dark-wipe-steps {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.dark-wipe-step {
    position: absolute;
    bottom: -1px;
    width: calc(12.5% + 1px);
    height: 0;
    background: #1e231f;
    transform: translateZ(0);
    will-change: height;
}

.dark-wipe-step:nth-child(1) {
    left: 0;
}

.dark-wipe-step:nth-child(2) {
    left: 12.5%;
}

.dark-wipe-step:nth-child(3) {
    left: 25%;
}

.dark-wipe-step:nth-child(4) {
    left: 37.5%;
}

.dark-wipe-step:nth-child(5) {
    left: 50%;
}

.dark-wipe-step:nth-child(6) {
    left: 62.5%;
}

.dark-wipe-step:nth-child(7) {
    left: 75%;
}

.dark-wipe-step:nth-child(8) {
    left: 87.5%;
}

.dark-photo-gallery {
    position: relative;
    z-index: 4;
    margin-top: -1px;
    padding: clamp(72px, 7vw, 130px) clamp(22px, 4vw, 76px) clamp(100px, 9vw, 170px);
    background: #1e231f;
}

.dark-photo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(8px, 1vw, 18px);
    width: 100%;
    max-width: 1780px;
    margin: 0 auto;
}

.dark-photo-item {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(244, 240, 229, 0.12);
    border-radius: clamp(8px, 0.8vw, 15px);
    background: #151a16;
}

.dark-photo-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: zoom-in;
}

.dark-photo-trigger:focus-visible {
    outline: 2px solid #faf9f7;
    outline-offset: -5px;
}

.dark-photo-gallery.is-reveal-ready .dark-photo-item {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.7s ease,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.dark-photo-gallery.is-visible .dark-photo-item {
    opacity: 1;
    transform: none;
}

.dark-photo-gallery.is-visible .dark-photo-item:nth-child(5n + 2) {
    transition-delay: 0.06s;
}

.dark-photo-gallery.is-visible .dark-photo-item:nth-child(5n + 3) {
    transition-delay: 0.12s;
}

.dark-photo-gallery.is-visible .dark-photo-item:nth-child(5n + 4) {
    transition-delay: 0.18s;
}

.dark-photo-gallery.is-visible .dark-photo-item:nth-child(5n + 5) {
    transition-delay: 0.24s;
}

.dark-photo-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.dark-photo-item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(30, 35, 31, 0.24), transparent 38%);
    transition: opacity 0.45s ease;
}

.dark-photo-item:hover img {
    transform: scale(1.055);
}

.dark-photo-item:hover::after {
    opacity: 0.35;
}

body.is-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: grid;
    place-items: center;
    padding: clamp(20px, 3vw, 52px) clamp(70px, 7vw, 130px);
    color: #fff;
    background: rgba(10, 13, 11, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-lightbox__figure {
    display: grid;
    place-items: center;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

.gallery-lightbox__image {
    display: block;
    max-width: min(82vw, 1500px);
    max-height: 84svh;
    object-fit: contain;
    border-radius: clamp(5px, 0.6vw, 10px);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.gallery-lightbox__button {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: clamp(48px, 4.2vw, 70px);
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    background: rgba(30, 35, 31, 0.42);
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.gallery-lightbox__button:hover,
.gallery-lightbox__button:focus-visible {
    color: #1e231f;
    background: #faf9f7;
    transform: scale(1.06);
}

.gallery-lightbox__button:focus-visible {
    outline: 2px solid #c8a97e;
    outline-offset: 4px;
}

.gallery-lightbox__button svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gallery-lightbox__previous {
    top: 50%;
    left: clamp(16px, 2.4vw, 46px);
    transform: translateY(-50%);
}

.gallery-lightbox__previous:hover,
.gallery-lightbox__previous:focus-visible {
    transform: translateY(-50%) scale(1.06);
}

.gallery-lightbox__next {
    top: 50%;
    right: clamp(16px, 2.4vw, 46px);
    transform: translateY(-50%);
}

.gallery-lightbox__next:hover,
.gallery-lightbox__next:focus-visible {
    transform: translateY(-50%) scale(1.06);
}

.gallery-lightbox__close {
    top: clamp(14px, 2vw, 34px);
    right: clamp(16px, 2.4vw, 46px);
    width: clamp(42px, 3.5vw, 56px);
}

.gallery-lightbox__counter {
    position: absolute;
    bottom: clamp(15px, 2vw, 32px);
    left: 50%;
    margin: 0;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    transform: translateX(-50%);
}

@media (max-width: 640px) {
    .gallery-lightbox {
        padding: 72px 12px 78px;
    }

    .gallery-lightbox__image {
        max-width: calc(100vw - 24px);
        max-height: calc(100svh - 150px);
    }

    .gallery-lightbox__previous,
    .gallery-lightbox__next {
        top: auto;
        bottom: 14px;
        width: 48px;
        transform: none;
    }

    .gallery-lightbox__previous {
        left: 14px;
    }

    .gallery-lightbox__next {
        right: 14px;
    }

    .gallery-lightbox__previous:hover,
    .gallery-lightbox__previous:focus-visible,
    .gallery-lightbox__next:hover,
    .gallery-lightbox__next:focus-visible {
        transform: scale(1.04);
    }
}

@media (max-width: 1100px) {
    .dark-photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.gallery-collection--dark .collection-orbit {
    min-height: 100svh;
    margin-top: 0;
    color: #faf9f7;
    background: #1e231f;
}

.collection-heading {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 0 clamp(22px, 4.2vw, 76px);
    opacity: 0;
    transform: translateY(38px);
    transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-collection.is-visible .collection-heading {
    opacity: 1;
    transform: none;
}

.collection-heading p {
    flex: 0 0 auto;
    margin-bottom: 8px;
    opacity: 0.58;
}

.collection-heading h2 {
    max-width: 9ch;
    font-size: clamp(3.1rem, 6vw, 7.5rem);
    text-align: right;
}

.collection-orbit {
    min-height: 72vh;
    margin-top: -2vh;
}

.collection-orbit .orbit-card {
    width: clamp(290px, 30vw, 590px);
    height: auto;
    aspect-ratio: 0.96;
}

.collection-orbit .orbit-card--wide {
    width: clamp(290px, 30vw, 590px);
}

.gallery-cta {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 92svh;
    padding: 100px 24px;
    color: #1e231f;
    background: transparent;
    text-align: center;
}

.gallery-cta p {
    margin-bottom: 30px;
    color: rgba(30, 35, 31, 0.66);
}

.gallery-cta h2 {
    font-size: clamp(4rem, 8vw, 9.5rem);
}

.gallery-cta > a {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    border: 1px solid rgba(30, 35, 31, 0.48);
    border-radius: 999px;
    padding: 17px 21px 17px 27px;
    color: #f4f0e5;
    background: #1e231f;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s ease, background 0.3s ease;
}

.gallery-cta > a span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #1e231f;
    background: #f4f0e5;
}

.gallery-cta > a:hover,
.gallery-cta > a:focus-visible {
    color: #1e231f;
    background: #f4f0e5;
}

.gallery-cta > a:hover span,
.gallery-cta > a:focus-visible span {
    color: #f4f0e5;
    background: #1e231f;
}

footer.site-footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 650px;
    padding: 52px clamp(24px, 5vw, 92px) 0;
    overflow: hidden;
    isolation: isolate;
    color: #f4f0e5;
    background: #1e231f center / cover no-repeat fixed;
}

.footer-main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(330px, 0.9fr) minmax(560px, 1.55fr);
    align-items: start;
    gap: clamp(46px, 8vw, 140px);
    width: 100%;
    max-width: 1780px;
    margin: 0 auto clamp(44px, 5vw, 78px);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.65s ease 0.18s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

.site-footer.is-ready .footer-main {
    opacity: 0;
    transform: translateY(34px);
}

.site-footer.is-ready.is-visible .footer-main {
    opacity: 1;
    transform: translateY(0);
}

.footer-newsletter h2 {
    max-width: 620px;
    margin: 0 0 18px;
    color: #f4f0e5;
    font-family: var(--sans);
    font-size: clamp(3.3rem, 5.8vw, 6.6rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.footer-newsletter p {
    max-width: 540px;
    margin: 0 0 22px;
    color: rgba(244, 240, 229, 0.78);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.7;
}

.footer-news-link {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: min(560px, 100%);
}

.footer-news-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 62px;
    padding: 0 22px;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-news-primary {
    border: 1px solid #c8a97e;
    color: #fff;
    background: #c8a97e;
}

.footer-news-secondary {
    border: 1px solid rgba(244, 240, 229, 0.22);
    color: #1e231f;
    background: #f4f0e5;
}

.footer-news-link a:hover,
.footer-news-link a:focus-visible {
    border-color: #1e231f;
    color: #fff;
    background: #1e231f;
    transform: translateY(-2px);
}

.footer-columns {
    display: grid;
    grid-template-columns: 0.85fr 0.95fr 1.5fr 0.7fr;
    gap: clamp(20px, 3vw, 54px);
    padding-top: 5px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 13px;
    font-family: var(--sans);
}

.footer-column h3 {
    margin: 0 0 7px;
    color: rgba(244, 240, 229, 0.5);
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    text-transform: lowercase;
}

.footer-column a {
    color: #f4f0e5;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: lowercase;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: #c8a97e;
    transform: translateX(4px);
}

.site-footer::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 74px;
    background: #f4f0e5;
}

.footer-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.18em;
    width: min(calc(100% - clamp(20px, 3vw, 52px)), 1680px);
    margin: 0 auto -20px;
    overflow: visible;
    color: #f4f0e5;
    font-family: var(--sans);
    font-size: clamp(5rem, 8.8vw, 11rem);
    line-height: 0.9;
    font-weight: 950;
    letter-spacing: -0.08em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    perspective: 900px;
    transform: scaleX(0.96);
    transform-origin: center bottom;
    user-select: none;
    -webkit-user-select: none;
}

.footer-brand-word {
    display: inline-flex;
    align-items: flex-end;
}

.footer-brand-letter {
    display: block;
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scaleY(1);
    transform-origin: center bottom;
    transition: opacity 0.4s ease var(--letter-out-delay, var(--letter-delay)), transform 1.05s cubic-bezier(0.16, 1, 0.3, 1) var(--letter-out-delay, var(--letter-delay));
}

.site-footer.is-ready .footer-brand-letter {
    opacity: 0.04;
    transform: translateY(112%) rotateX(48deg) scaleY(0.88);
}

.site-footer.is-ready.is-visible .footer-brand-letter {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scaleY(1);
    transition-delay: var(--letter-delay);
}

.footer-bottom {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 74px;
    color: #1e231f;
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.4;
}

.footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 34px;
}

.footer-legal a,
.footer-bottom p {
    color: #1e231f;
}

.footer-legal a {
    transition: color 0.25s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: #8a6d47;
}

.footer-bottom p {
    flex: 0 0 auto;
    margin: 0;
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-credit-name {
    color: #1e231f;
    font-family: var(--sans);
    font-size: 1.08em;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.footer-credit-name:hover,
.footer-credit-name:focus-visible {
    color: #8a6d47;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border: 0;
    border-radius: 2px;
    color: #fff;
    background: #3f3f3f;
    transition: background 0.25s ease, transform 0.25s ease;
}

.footer-social-link svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    background: #1e231f;
    transform: translateY(-1px);
}

@media (max-width: 1400px) {
    .footer-brand {
        margin-bottom: -16px;
    }

    .featured-work-grid {
        column-gap: 1.2vw;
    }
}

@media (max-width: 900px) {
    .featured-work {
        min-height: 0;
        padding-right: 28px;
        padding-left: 28px;
    }

    .featured-work-intro {
        min-height: 0;
    }

    .featured-work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 4vw;
        row-gap: 52px;
        min-height: 0;
    }

    .featured-project,
    .featured-project--left,
    .featured-project--center,
    .featured-project--right,
    .featured-project--four {
        grid-column: auto;
        grid-row: auto;
        margin-top: 0;
    }

    .featured-project--five {
        grid-column: 1 / -1;
        grid-row: auto;
        width: min(44vw, 440px);
        margin-top: 0;
    }

    .gallery-intro {
        min-height: calc(100svh - 76px);
    }

    .nav-links {
        display: none;
    }

    .navbar {
        grid-template-columns: 1fr auto;
        height: 76px;
        padding: 0 22px;
    }

    .nav-logo {
        justify-self: start;
        width: min(52vw, 185px);
        height: 54px;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        justify-self: end;
        gap: 7px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(200, 169, 126, 0.35);
        border-radius: 50%;
        background: #fff;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 18px;
        height: 1px;
        background: #1e231f;
        transition: transform 0.25s ease;
    }

    .navbar.is-open .nav-toggle span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .navbar.is-open .nav-toggle span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .mobile-menu {
        position: absolute;
        top: 76px;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 20px 22px 24px;
        border-bottom: 1px solid rgba(200, 169, 126, 0.2);
        background: #fff;
        box-shadow: 0 24px 55px rgba(30, 35, 31, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }

    .navbar.is-open .mobile-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mobile-menu a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(200, 169, 126, 0.16);
        color: #1e231f;
        font-family: var(--sans);
        font-size: 12px;
        letter-spacing: 3px;
        text-transform: uppercase;
    }

    .mobile-menu a[aria-current="page"] {
        color: #b89a7a;
    }

    footer.site-footer {
        min-height: 720px;
        padding: 48px 22px 0;
        background-attachment: scroll;
    }

    .site-footer::before {
        height: 116px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
        margin-bottom: 52px;
    }

    .footer-newsletter h2 {
        font-size: clamp(3rem, 14vw, 5.2rem);
    }

    .footer-news-link {
        grid-template-columns: 1fr;
    }

    .footer-news-link a {
        width: 100%;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }

    .footer-brand {
        flex-wrap: wrap;
        row-gap: 0.06em;
        width: 100%;
        max-width: 100%;
        margin-bottom: -10px;
        font-size: clamp(3.25rem, 13.5vw, 6.4rem);
        line-height: 0.9;
        letter-spacing: -0.07em;
        white-space: normal;
        text-shadow: none;
        transform: scaleX(0.98);
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        min-height: 116px;
        font-size: 11px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        gap: 12px 20px;
        width: 100%;
    }

    .footer-credit {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
}

@media (max-width: 760px) {

    .dark-photo-gallery {
        padding: 64px 14px 92px;
    }

    .dark-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .gallery-collection--dark .collection-heading {
        min-height: 360px;
        padding-bottom: 70px;
    }

    .dark-wipe {
        height: 190svh;
    }

    .featured-work {
        min-height: 0;
        padding: 92px 18px 0;
        overflow: hidden;
    }

    .dark-wipe-section {
        margin-top: -230px;
    }

    .featured-work-intro {
        min-height: 0;
    }

    .featured-work-title {
        font-size: clamp(2.55rem, 11vw, 4.5rem);
        line-height: 1.04;
        letter-spacing: 0.015em;
        text-align: center;
    }

    .featured-note--top {
        right: auto;
        bottom: 42px;
        left: 2px;
    }

    .featured-work-grid {
        display: flex;
        flex-direction: column;
        gap: 100px;
        min-height: 0;
    }

    .featured-project,
    .featured-project--left,
    .featured-project--center,
    .featured-project--right {
        align-self: flex-start;
        width: min(88vw, 440px);
        margin-top: 0;
    }

    .featured-project--center,
    .featured-project--five {
        align-self: flex-end;
    }

    .featured-project-image {
        aspect-ratio: 0.78;
    }

    .featured-project-copy h3 {
        font-size: 1.8rem;
    }

    .featured-project-copy p {
        font-size: 11px;
    }

    .featured-note--bottom {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        order: 4;
        margin-top: -38px;
        white-space: normal;
        transform: none;
    }

    .featured-work-actions {
        min-height: 145px;
        margin: 32px auto 48px;
    }

    .featured-work-button {
        margin-top: 0;
    }

    .featured-category-menu {
        top: 75px;
        height: 70px;
    }

    .featured-category-button {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }

    .featured-category-button:nth-child(1) {
        --spread: -135px;
    }

    .featured-category-button:nth-child(2) {
        --spread: -45px;
    }

    .featured-category-button:nth-child(3) {
        --spread: 45px;
    }

    .featured-category-button:nth-child(4) {
        --spread: 135px;
    }

    .gallery-intro-copy {
        width: calc(100% - 28px);
    }

    .gallery-intro h1 {
        gap: 13px;
        font-size: clamp(3.05rem, 14.8vw, 5.4rem);
        line-height: 0.86;
        letter-spacing: -0.07em;
    }

    .gallery-kicker {
        margin-bottom: 18px;
    }

    .gallery-intro-orbit {
        inset: 18vh 0 2vh;
    }

    .orbit-card,
    .orbit-card--wide {
        width: min(78vw, 390px);
        height: auto;
        aspect-ratio: 0.92;
        border-radius: 22px;
    }

    .gallery-manifesto {
        min-height: 75svh;
        padding: 100px 22px;
    }

    .gallery-manifesto h2 {
        font-size: clamp(3.5rem, 18vw, 6rem);
    }

    .gallery-manifesto span {
        margin-top: 40px;
    }

    .gallery-collection {
        min-height: 100svh;
        padding-top: 92px;
    }

    .collection-heading {
        display: block;
        padding: 0 18px;
    }

    .collection-heading p {
        margin-bottom: 18px;
    }

    .collection-heading h2 {
        max-width: 8ch;
        font-size: clamp(3.2rem, 15vw, 5rem);
        text-align: left;
    }

    .collection-orbit {
        min-height: 68vh;
        margin-top: -1vh;
    }

    .collection-orbit .orbit-card,
    .collection-orbit .orbit-card--wide {
        width: min(78vw, 380px);
        height: auto;
        aspect-ratio: 0.92;
    }

    .gallery-cta h2 {
        font-size: clamp(3.7rem, 17vw, 6rem);
    }

    .gallery-cta > a {
        margin-top: 44px;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .gallery-intro-copy {
        opacity: 0;
    }

    .footer-main,
    .footer-brand-letter {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .featured-work,
    .featured-project,
    .featured-title-line > span,
    .featured-note--top {
        opacity: 1 !important;
        transform: none !important;
    }

    .featured-project-image,
    .featured-project-copy {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }

    .dark-wipe {
        height: 100svh;
    }

    .dark-wipe-sticky {
        position: relative;
    }

    .dark-wipe-step {
        height: 101% !important;
    }

    .gallery-intro-orbit {
        opacity: 1;
        transform: none;
    }

    .gallery-orbit {
        overflow-x: auto;
        overflow-y: hidden;
        perspective: none;
        scrollbar-width: thin;
    }

    .gallery-orbit-track {
        display: flex;
        align-items: center;
        gap: 16px;
        width: max-content;
        padding: 0 18px;
    }

    .orbit-card,
    .orbit-card--wide,
    .collection-orbit .orbit-card,
    .collection-orbit .orbit-card--wide {
        position: relative;
        top: auto;
        left: auto;
        flex: 0 0 min(72vw, 420px);
        width: min(72vw, 420px);
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (min-width: 761px) {
    .featured-work-actions {
        min-height: 82px;
        margin: clamp(32px, 3.4vw, 54px) auto clamp(24px, 2.2vw, 42px);
        transform: translateY(-44px);
    }

    .featured-work-grid {
        display: block;
        width: calc(100% + clamp(28px, 3vw, 60px));
        margin-left: calc(clamp(14px, 1.5vw, 30px) * -1);
    }

    .featured-showcase {
        height: 178svh;
    }

    .featured-showcase-sticky {
        isolation: isolate;
    }

    .featured-preview {
        box-shadow: 0 20px 60px rgba(17, 21, 18, 0.08);
    }

    .featured-preview img {
        transform: scale(var(--showcase-image-scale, 1.035));
        will-change: transform;
    }

    .featured-preview--left img {
        object-position: 53% center;
    }

    .featured-preview--center img {
        object-position: 51% center;
    }

    .featured-preview--right img {
        object-position: 50% center;
    }

    .featured-panels .featured-project {
        isolation: isolate;
    }

    .featured-panels .featured-project::after {
        position: absolute;
        z-index: 5;
        color: #fff;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.55s ease 0.28s, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s;
    }

    .featured-panels .featured-project::after {
        content: attr(data-panel-number);
        right: clamp(24px, 3vw, 58px);
        bottom: clamp(30px, 5vh, 62px);
        font-family: var(--sans);
        font-size: clamp(11px, 0.78vw, 14px);
        font-weight: 500;
        letter-spacing: 0.14em;
        transform: translateY(18px);
    }

    .featured-panels .featured-project.is-visible::after {
        opacity: 1;
        transform: none;
    }

    .featured-panels .featured-project-image {
        cursor: pointer;
    }

    .featured-panels .featured-project-image:hover img {
        transform: scale(1.018);
    }
}

/* Keep the full-screen editorial roll continuous on phones as well. */
@media (max-width: 760px) {
    .featured-work {
        overflow: clip;
    }

    .featured-work-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: calc(100% + 36px);
        margin-left: -18px;
    }

    .featured-showcase {
        width: 100%;
        margin-left: 0;
    }

    .featured-panels {
        gap: 0;
        width: 100%;
        background: #1e231f;
    }

    .featured-panels .featured-project,
    .featured-panels .featured-project--left,
    .featured-panels .featured-project--center,
    .featured-panels .featured-project--right,
    .featured-panels .featured-project--four,
    .featured-panels .featured-project--five {
        position: relative;
        align-self: auto;
        width: 100%;
        max-width: none;
        height: 100svh;
        min-height: 560px;
        margin: 0;
        overflow: hidden;
        opacity: 0;
        filter: none;
        transform: none;
        isolation: isolate;
        transition: opacity 0.8s ease;
    }

    .featured-panels .featured-project.is-visible {
        opacity: 1;
        transform: none;
    }

    .featured-panels .featured-project--center { order: 1; }
    .featured-panels .featured-project--left { order: 2; }
    .featured-panels .featured-project--right { order: 3; }
    .featured-panels .featured-project--four { order: 4; }
    .featured-panels .featured-project--five { order: 5; }

    .featured-panels .featured-project-image,
    .featured-panels .featured-project--center .featured-project-image,
    .featured-panels .featured-project--four .featured-project-image,
    .featured-panels .featured-project--five .featured-project-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        border-radius: 0;
        opacity: 1;
        transform: none;
    }

    .featured-panels .featured-project-image::after {
        opacity: 1;
        background: linear-gradient(to top, rgba(12, 15, 13, 0.55), rgba(12, 15, 13, 0.04) 58%, rgba(12, 15, 13, 0.12));
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .featured-panels .featured-project-image img,
    .featured-panels .featured-project.is-visible .featured-project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.045);
        transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
    }

    .featured-panels .featured-project.is-visible .featured-project-image img {
        transform: scale(1);
    }

    .featured-panels .featured-project-copy {
        position: absolute;
        right: 20px;
        bottom: clamp(28px, 5svh, 48px);
        left: 20px;
        z-index: 3;
        max-width: 520px;
        padding: 0;
        color: #fff;
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease 0.18s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
    }

    .featured-panels .featured-project.is-visible .featured-project-copy {
        opacity: 1;
        transform: none;
    }

    .featured-panels .featured-project-copy h3 {
        margin-bottom: 10px;
        font-family: var(--sans);
        font-size: clamp(1.8rem, 8vw, 3rem);
        font-weight: 300;
        line-height: 1;
        letter-spacing: 0.01em;
        text-transform: uppercase;
    }

    .featured-panels .featured-project-copy p {
        max-width: 42ch;
        color: rgba(255, 255, 255, 0.78);
        font-size: 11px;
    }

    .featured-panels .featured-project-copy .featured-project-type {
        color: rgba(255, 255, 255, 0.62);
    }

    .featured-panels .featured-project::after {
        content: attr(data-panel-number);
        position: absolute;
        right: 20px;
        bottom: 18px;
        z-index: 5;
        color: #fff;
        font-family: var(--sans);
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.14em;
        opacity: 0;
        pointer-events: none;
        transform: translateY(14px);
        transition: opacity 0.55s ease 0.28s, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s;
    }

    .featured-panels .featured-project.is-visible::after {
        opacity: 1;
        transform: none;
    }

}
