/* ==========================================================
   vunleylong.com — v2
   Palette carried over from v1 + the VL logo
   ========================================================== */

:root {
    --slate: #466375;
    --slate-deep: #2e4452;
    --slate-ink: #1d2c36;
    --orange: #f06900;
    --orange-soft: #db7724;
    --red: #EF233C;
    --blue: #0098de;
    --mist: #8da4ad;
    --cream: #fffeee;
    --paper: #f5f3e6;
    --ink: #414141;
    --gray: #797979;
    --white: #ffffff;

    --f-display: 'Josefin Sans', system-ui, sans-serif;
    --f-body: 'DM Sans', system-ui, sans-serif;
    --f-mono: 'JetBrains Mono', ui-monospace, monospace;

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.76, 0, .24, 1);

    --gutter: clamp(16px, 4vw, 56px);
    --max: 1440px;
    --radius: clamp(14px, 1.6vw, 24px);
    --nav-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: clamp(16px, 1.05vw, 18px);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* film grain */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 900;
    opacity: .07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--orange); color: var(--cream); }

h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 700;
    line-height: 1;
    margin: 0;
    letter-spacing: -.02em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; color: var(--slate-ink); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 4px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
    position: fixed; top: 12px; left: 12px; z-index: 2000;
    padding: 10px 16px; border-radius: 999px;
    background: var(--orange); color: var(--cream);
    transform: translateY(-200%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.eyebrow {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.eyebrow::before {
    content: "";
    width: 28px; height: 2px;
    background: currentColor;
}

.accent { color: var(--orange); }
.mist { color: var(--mist); }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--orange);
    --fg: var(--cream);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 999px;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    overflow: hidden;
    isolation: isolate;
    transition: color .5s var(--ease-out);
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--slate-ink);
    border-radius: inherit;
    transform: translateY(101%);
    transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn .arrow { transition: transform .5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { color: var(--cream); }
.btn--light::before { background: var(--cream); }
.btn--light:hover { color: var(--slate-ink); }

/* ---------- Progress bar ---------- */
.progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 1001;
    background: linear-gradient(90deg, var(--orange), var(--red));
    transform-origin: 0 50%;
    transform: scaleX(0);
}

/* ---------- Nav ---------- */
.nav {
    position: fixed;
    top: 14px;
    left: 50%;
    z-index: 1000;
    width: min(calc(100% - 28px), 1180px);
    height: 60px;
    padding: 0 10px 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 999px;
    color: var(--cream);
    background: rgba(29, 44, 54, .62);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 254, 238, .08);
    transform: translateX(-50%);
    transition: transform .6s var(--ease-out);
}
.nav.is-hidden { transform: translate(-50%, -140%); }

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-display);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: 15px;
}
.nav__logo img { width: 40px; height: 40px; }
.nav__logo span { padding-top: 3px; }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
    position: relative;
    padding: 10px 16px 7px;
    border-radius: 999px;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background .3s, color .3s;
}
.nav__links a:hover,
.nav__links a.is-active { background: rgba(255, 254, 238, .1); color: var(--orange); }

.nav__cta { padding: 12px 20px 10px; font-size: 13px; }

.nav__toggle {
    display: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--orange);
    position: relative;
}
.nav__toggle span:not(.sr-only) {
    position: absolute;
    left: 13px; right: 13px;
    height: 2px;
    background: var(--cream);
    transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
    .nav__links, .nav__cta { display: none; }
    .nav__toggle { display: block; }
}

/* ---------- Mobile menu ---------- */
.menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 110px var(--gutter) 40px;
    background: var(--slate-ink);
    color: var(--cream);
    clip-path: circle(0% at calc(100% - 50px) 44px);
    visibility: hidden;
    transition: clip-path .9s var(--ease-io), visibility 0s linear .9s;
}
.menu.is-open {
    clip-path: circle(150% at calc(100% - 50px) 44px);
    visibility: visible;
    transition: clip-path .9s var(--ease-io), visibility 0s;
}
.menu__links { list-style: none; }
.menu__links li { overflow: hidden; border-bottom: 1px solid rgba(255, 254, 238, .12); }
.menu__links a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 18px 0 12px;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(42px, 13vw, 80px);
    line-height: 1;
    text-transform: uppercase;
    transform: translateY(110%);
    transition: transform .9s var(--ease-out), color .3s;
}
.menu__links a small { font-family: var(--f-mono); font-size: 12px; color: var(--mist); }
.menu__links a:hover { color: var(--orange); }
.menu.is-open .menu__links a { transform: none; }
.menu.is-open .menu__links li:nth-child(2) a { transition-delay: .07s; }
.menu.is-open .menu__links li:nth-child(3) a { transition-delay: .14s; }
.menu.is-open .menu__links li:nth-child(4) a { transition-delay: .21s; }
.menu__foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; font-size: 14px; color: var(--mist); }

/* ---------- Curtain / page transition ---------- */
.curtain { display: none; }
.js .curtain {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1400;
    pointer-events: none;
}
.curtain span {
    position: absolute;
    inset: 0;
    transform: translateY(-101%);
    transition: transform .9s var(--ease-io);
}
.curtain > span:nth-of-type(1) { background: var(--orange); }
.curtain > span:nth-of-type(2) { background: var(--slate-ink); transition-delay: .08s; }

.js.is-loading .curtain span { transform: none; transition: none; }
.js.is-leaving .curtain span { transform: none; }
.js.is-leaving .curtain > span:nth-of-type(1) { transition-delay: 0s; }
.js.is-leaving .curtain > span:nth-of-type(2) { transition-delay: .08s; }
/* enter from below when leaving */
.js .curtain.from-below span { transform: translateY(101%); transition: none; }

/* home preloader */
.loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    color: var(--cream);
    transition: opacity .4s;
}
.loader__logo { width: clamp(90px, 14vw, 150px); animation: loaderSpin 1.6s var(--ease-out) both; }
.loader__count {
    position: absolute;
    right: var(--gutter);
    bottom: 24px;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(64px, 14vw, 200px);
    line-height: .8;
}
.loader__label {
    position: absolute;
    left: var(--gutter);
    bottom: 32px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mist);
}
html:not(.is-loading) .loader { opacity: 0; }
@keyframes loaderSpin {
    from { transform: rotate(-180deg) scale(.4); opacity: 0; }
    to { transform: none; opacity: 1; }
}

/* ---------- Reveal system ---------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.js [data-reveal="left"] { transform: translateX(-64px); }
.js [data-reveal="right"] { transform: translateX(64px); }
.js [data-reveal="scale"] { transform: scale(.9); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Wipe = a page-colored cover that lifts away. Don't use clip-path here:
   clipped lazy images never count as visible, so they never load. */
.js [data-reveal="clip"] { opacity: 1; transform: none; position: relative; }
.js [data-reveal="clip"]::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 3;
    background: var(--cream);
    transform-origin: 50% 0;
    pointer-events: none;
    transition: transform 1.4s var(--ease-io);
    transition-delay: var(--d, 0s);
}
.js [data-reveal="clip"].is-in::before { transform: scaleY(0); }

/* split words */
.w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: .12em .02em .1em;
    margin: -.12em -.02em -.1em;
}
.w__i {
    display: inline-block;
    transform: translateY(115%) rotate(4deg);
    transform-origin: 0 100%;
    transition: transform 1.1s var(--ease-out);
    transition-delay: calc(var(--i) * 45ms + var(--d, 0s));
}
.is-in .w__i, .w__i.is-in { transform: none; }
html:not(.js) .w__i { transform: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 14vw, 200px) 0; }
.section--dark { background: var(--slate); color: var(--cream); }
.section--ink { background: var(--slate-ink); color: var(--cream); }
.section--dark strong, .section--ink strong { color: var(--cream); }
.section--orange { background: var(--orange); color: var(--cream); }
.section--orange .eyebrow { color: var(--slate-ink); }
main:focus { outline: none; }

.section-title {
    font-size: clamp(56px, 11vw, 180px);
    line-height: .9;
    text-transform: uppercase;
    letter-spacing: -.035em;
}
.section-title sup {
    font-family: var(--f-mono);
    font-size: .14em;
    font-weight: 400;
    letter-spacing: 0;
    vertical-align: top;
    margin-left: .3em;
    color: var(--orange);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px 48px;
    margin-bottom: clamp(56px, 8vw, 120px);
}
.section-head p { max-width: 380px; color: var(--gray); }
.section--dark .section-head p, .section--ink .section-head p { color: var(--mist); }

/* ==========================================================
   HOME
   ========================================================== */

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 120px 0 32px;
    background: var(--slate);
    color: var(--cream);
    overflow: hidden;
}
.hero__grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 254, 238, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 254, 238, .06) 1px, transparent 1px);
    background-size: clamp(48px, 6vw, 96px) clamp(48px, 6vw, 96px);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; }

.hero__role {
    position: relative;
    font-size: clamp(38px, 5.4vw, 92px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -.03em;
    max-width: 11ch;
    padding-bottom: clamp(16px, 3vw, 48px);
}
.hero__role em { font-style: normal; color: var(--orange); font-weight: 700; }

/* big logo bleeding off the right edge */
.hero__logo {
    --s: clamp(440px, min(82vh, 62vw), 1100px);
    position: absolute;
    width: var(--s);
    height: var(--s);
    top: calc(50% - var(--s) / 2);
    right: calc(var(--s) * -.3);
    pointer-events: none;
}
.hero__logo img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .35));
}
.js .hero__logo img {
    opacity: 0;
    transform: rotate(-140deg) scale(.55);
    transition: transform 1.8s var(--ease-out), opacity 1s var(--ease-out);
}
.is-ready .hero__logo img { opacity: 1; transform: none; }

@media (max-width: 860px) {
    .hero__logo {
        --s: 96vw;
        top: 84px;
        right: -34vw;
    }
}

.hero__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-top: clamp(24px, 3vw, 40px);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 254, 238, .18);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mist);
}
.hero__scroll { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.hero__scroll i {
    position: relative;
    width: 1.5px; height: 40px;
    background: rgba(255, 254, 238, .2);
    overflow: hidden;
}
.hero__scroll i::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 50%;
    background: var(--orange);
    animation: scrollLine 1.8s var(--ease-io) infinite;
}
@keyframes scrollLine {
    from { transform: translateY(-100%); }
    to { transform: translateY(200%); }
}
.js .hero__fade { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease-out) .7s, transform 1s var(--ease-out) .7s; }
.is-ready .hero__fade { opacity: 1; transform: none; }

@media (max-width: 640px) {
    .hero__bottom .hide-sm { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: var(--orange);
    color: var(--cream);
    padding: clamp(14px, 2vw, 26px) 0 clamp(10px, 1.6vw, 20px);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex: none; }
.marquee__item {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
    padding-right: clamp(20px, 3vw, 48px);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(30px, 5vw, 76px);
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}
.marquee__item svg { width: .55em; height: .55em; flex: none; margin-top: -.15em; }
html:not(.js) .marquee__track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro (scrub text) ---------- */
.intro { padding: clamp(140px, 18vw, 260px) 0 clamp(96px, 12vw, 180px); }
.intro__grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 32px clamp(32px, 6vw, 96px);
}
.intro__text {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(30px, 4.3vw, 68px);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--slate-ink);
}
.intro__text .accent { color: var(--orange); }
.intro__text .sw { display: inline; }
.intro__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.intro__aside p { font-size: 15px; color: var(--gray); max-width: 260px; }
.intro__about { margin-top: clamp(72px, 9vw, 140px); }
.intro__more {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px clamp(24px, 3vw, 48px);
    margin-bottom: clamp(32px, 4vw, 56px);
}
.intro__more p { color: var(--gray); }
.intro__more strong { color: var(--slate-ink); }
/* about content on the light intro background */
.intro .about__hi { color: var(--slate-ink); }
.intro .facts li { border-top-color: rgba(29, 44, 54, .14); color: var(--slate-ink); }
.intro .facts li:last-child { border-bottom-color: rgba(29, 44, 54, .14); }
.intro .facts small { color: var(--gray); }
.intro .about__social { align-items: center; gap: 12px 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tags li {
    padding: 8px 14px 6px;
    border-radius: 999px;
    border: 1px solid currentColor;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .85;
}

@media (max-width: 860px) {
    .intro__grid { grid-template-columns: 1fr; }
    .intro__more { grid-template-columns: 1fr; }
}

/* ---------- Work: product (stacked rows) ---------- */
.work { padding-top: clamp(80px, 10vw, 140px); }
.group-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gray);
}
.group-label::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .3; }

.projects { display: grid; gap: clamp(72px, 10vw, 160px); }
.project {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(28px, 4vw, 72px);
    align-items: center;
}
.project:nth-child(even) { grid-template-columns: 5fr 7fr; }
.project:nth-child(even) .project__media { order: 2; }

.project__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 40px 80px -40px rgba(29, 44, 54, .45);
    transform-style: preserve-3d;
    will-change: transform;
}
.plx { position: absolute; inset: -9% 0; }
.plx img { width: 100%; height: 100%; object-fit: cover; }
.project__media img { transition: transform 1.2s var(--ease-out); }
.project__media:hover img { transform: scale(1.06); }
.project__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(29, 44, 54, .35));
    opacity: 0;
    transition: opacity .6s;
}
.project__media:hover::after { opacity: 1; }

.project__index {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(64px, 9vw, 140px);
    line-height: .8;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--slate);
    margin-bottom: 24px;
}
.project__client {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}
.project__title {
    font-size: clamp(34px, 4vw, 60px);
    line-height: .98;
    text-transform: uppercase;
    color: var(--slate-ink);
    margin-bottom: 20px;
}
.project__title a { background: linear-gradient(var(--orange), var(--orange)) 0 92% / 0 3px no-repeat; transition: background-size .6s var(--ease-out); }
.project__title a:hover { background-size: 100% 3px; }
.project__desc { color: var(--gray); max-width: 44ch; margin-bottom: 24px; }
.project .tags { color: var(--slate); margin-bottom: 32px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--slate-ink);
}
.link-arrow i {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--cream);
    font-style: normal;
    transition: transform .6s var(--ease-out), background .3s;
}
.link-arrow:hover i { transform: rotate(-45deg); background: var(--slate-ink); }

@media (max-width: 860px) {
    .project, .project:nth-child(even) { grid-template-columns: 1fr; }
    .project:nth-child(even) .project__media { order: 0; }
    .project__index { font-size: 56px; margin-bottom: 12px; }
}

/* ---------- Work: graphic (grid) ---------- */
.gwork {
    position: relative;
    margin-top: clamp(96px, 12vw, 180px);
    background: var(--slate-ink);
    color: var(--cream);
    padding: clamp(96px, 12vw, 160px) 0 clamp(96px, 12vw, 160px);
}
.gwork__head { margin-bottom: clamp(40px, 5vw, 72px); }
.gwork__head .group-label { color: var(--mist); }
.gwork__title { font-size: clamp(48px, 8vw, 128px); text-transform: uppercase; line-height: .9; }
.gwork__title span { color: var(--orange); }

.gwork__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(40px, 4vw, 64px) clamp(16px, 2.4vw, 36px);
}
@media (max-width: 960px) { .gwork__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gwork__grid { grid-template-columns: 1fr; } }

.gcard {
    position: relative;
    display: block;
}
.gcard__media {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cream);
}
.gcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out), filter .6s;
}
.gcard:hover .gcard__media img { transform: scale(1.07); }
.gcard__num {
    position: absolute;
    top: 16px; left: 16px;
    padding: 8px 12px 6px;
    border-radius: 999px;
    background: var(--slate-ink);
    color: var(--cream);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .1em;
}
.gcard__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-top: 20px;
}
.gcard__title {
    font-size: clamp(24px, 2.4vw, 36px);
    text-transform: uppercase;
    transition: color .3s;
}
.gcard:hover .gcard__title { color: var(--orange); }
.gcard__type {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mist);
    white-space: nowrap;
}
.gcard--end {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    aspect-ratio: 4 / 5;
    padding: clamp(24px, 3vw, 44px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 254, 238, .16);
}
.gcard--end p { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; }
@media (max-width: 560px) { .gcard--end { aspect-ratio: auto; } }

/* ---------- About ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: clamp(40px, 7vw, 120px);
    align-items: start;
}
.about__photo {
    position: sticky;
    top: 110px;
}
.about__frame {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    overflow: hidden;
    background: #c9c9c9;
}
.about__frame img { object-position: 50% 20%; }
.about__sticker {
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: clamp(110px, 12vw, 160px);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: var(--cream);
    text-align: center;
    font-family: var(--f-display);
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .4);
}
.about__sticker b { display: block; font-size: clamp(40px, 4.4vw, 60px); color: var(--cream); }
.about__sticker small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; }
.about__sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.about__hi {
    font-size: clamp(56px, 9vw, 150px);
    line-height: .88;
    text-transform: uppercase;
    margin-bottom: clamp(32px, 4vw, 56px);
}
.about__hi span { color: var(--orange); }

.facts { list-style: none; counter-reset: fact; }
.facts li {
    counter-increment: fact;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: baseline;
    padding: 26px 0 22px;
    border-top: 1px solid rgba(255, 254, 238, .18);
    font-family: var(--f-display);
    font-size: clamp(22px, 2.3vw, 34px);
    line-height: 1.2;
}
.facts li:last-child { border-bottom: 1px solid rgba(255, 254, 238, .18); }
.facts li::before {
    content: counter(fact, decimal-leading-zero);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .1em;
    color: var(--orange);
}
.facts small { display: block; font-family: var(--f-body); font-size: 15px; color: var(--mist); margin-top: 6px; }
.facts a.pixel {
    color: var(--orange);
    background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 2px no-repeat;
}

.about__social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.preview {
    position: fixed;
    top: 0; left: 0;
    z-index: 1200;
    width: 220px;
    border-radius: 16px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transform: scale(.6) rotate(-8deg);
    transition: opacity .35s, transform .5s var(--ease-out);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}
.preview.is-on { opacity: 1; transform: scale(1) rotate(-4deg); }

@media (max-width: 860px) {
    .about__grid { grid-template-columns: 1fr; }
    .about__photo { position: relative; top: 0; max-width: 420px; }
    .about__sticker { right: -8px; bottom: -20px; }
}

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact__big {
    font-size: clamp(54px, 10.5vw, 190px);
    line-height: .88;
    text-transform: uppercase;
    letter-spacing: -.04em;
}
.contact__big .outline { color: transparent; -webkit-text-stroke: 2px var(--cream); }
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px clamp(40px, 6vw, 96px);
    margin-top: clamp(48px, 6vw, 96px);
    align-items: end;
}
.contact__grid p { font-size: clamp(17px, 1.3vw, 20px); color: rgba(255, 254, 238, .88); }
.contact__grid strong { color: var(--slate-ink); }
.contact__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.contact__mail {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(26px, 3.6vw, 56px);
    line-height: 1;
    letter-spacing: -.02em;
    word-break: break-word;
    background: linear-gradient(var(--cream), var(--cream)) 0 100% / 100% 3px no-repeat;
    padding-bottom: 8px;
    transition: background-size .6s var(--ease-out);
}
.contact__mail:hover { background-size: 0 3px; background-position: 100% 100%; }

@media (max-width: 860px) {
    .contact__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    background: var(--slate-ink);
    color: var(--cream);
    padding: clamp(64px, 8vw, 110px) 0 0;
    overflow: hidden;
}
.footer__cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 254, 238, .14);
}
.footer h4 {
    font-family: var(--f-mono);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 14px;
}
.footer__lead { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.1; max-width: 16ch; }
.footer__lead a { color: var(--orange); }
.footer ul { list-style: none; display: grid; gap: 6px; }
.footer ul a { position: relative; transition: color .3s; }
.footer ul a:hover { color: var(--orange); }
.footer__legal {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px 0;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mist);
}
.footer__legal a:hover { color: var(--orange); }
.footer__giant {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 16vw;
    line-height: .74;
    letter-spacing: -.05em;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
    color: var(--slate);
    margin-bottom: -.06em;
    user-select: none;
}
.footer__giant span { display: inline-block; }

@media (max-width: 860px) {
    .footer__cols { grid-template-columns: 1fr 1fr; }
    .footer__cols > :first-child { grid-column: 1 / -1; }
}

/* ==========================================================
   CASE STUDY
   ========================================================== */
.cs-hero {
    position: relative;
    background: var(--slate);
    color: var(--cream);
    padding: clamp(140px, 16vw, 210px) 0 0;
    overflow: hidden;
}
.cs-hero .hero__grid { opacity: .8; }
.cs-hero__inner { position: relative; z-index: 1; }
.back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mist);
    transition: color .3s, gap .4s var(--ease-out);
}
.back:hover { color: var(--orange); gap: 16px; }
.cs-hero__title {
    font-size: clamp(52px, 9.4vw, 160px);
    line-height: .88;
    letter-spacing: -.04em;
    text-transform: uppercase;
    max-width: 14ch;
}
.cs-hero__title .accent { color: var(--orange); }
.cs-hero__sub {
    margin-top: 28px;
    font-family: var(--f-display);
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 300;
    max-width: 30ch;
    line-height: 1.2;
    color: var(--mist);
}
.meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px 40px;
    margin: clamp(40px, 5vw, 72px) 0 0;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 254, 238, .18);
}
.meta dt {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
}
.meta dd { margin: 0; font-size: 16px; line-height: 1.5; }

.cs-hero__media {
    position: relative;
    z-index: 1;
    margin: clamp(24px, 4vw, 48px) auto 0;
    max-width: var(--max);
    padding: 0 var(--gutter);
}
.cs-hero__media .frame {
    position: relative;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    background: var(--white);
    aspect-ratio: 16 / 9;
    max-height: 82vh;
    transform-origin: 50% 0;
}
.cs-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.cs-hero--short { padding-bottom: clamp(64px, 8vw, 110px); }
.cs-hero__media--contain img { object-fit: contain; }

/* body with sticky toc */
.cs-body {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    padding-top: clamp(80px, 10vw, 140px);
    padding-bottom: clamp(80px, 10vw, 140px);
}
.toc { position: relative; }
.toc__inner { position: sticky; top: 110px; }
.toc__label {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 18px;
}
.toc ol { list-style: none; }
.toc__track { position: relative; padding-left: 18px; }
.toc__track::before {
    content: "";
    position: absolute;
    left: 0; top: 4px; bottom: 4px;
    width: 2px;
    background: rgba(70, 99, 117, .18);
}
.toc__fill {
    position: absolute;
    left: 0; top: 4px;
    width: 2px;
    height: calc(100% - 8px);
    background: var(--orange);
    transform-origin: 50% 0;
    transform: scaleY(0);
}
.toc a {
    display: flex;
    gap: 10px;
    padding: 7px 0;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 15px;
    color: var(--gray);
    transition: color .3s, transform .4s var(--ease-out);
}
.toc a span { font-family: var(--f-mono); font-size: 11px; font-weight: 400; padding-top: 2px; }
.toc a:hover { color: var(--slate-ink); }
.toc a.is-active { color: var(--orange); transform: translateX(6px); }

@media (max-width: 980px) {
    .cs-body { grid-template-columns: 1fr; }
    .toc { display: none; }
}

.cs-section { padding-bottom: clamp(80px, 10vw, 150px); scroll-margin-top: 100px; }
.cs-section:last-child { padding-bottom: 0; }
.cs-section > h2 {
    font-size: clamp(36px, 5vw, 76px);
    line-height: .95;
    text-transform: uppercase;
    color: var(--slate-ink);
    margin-bottom: clamp(24px, 3vw, 40px);
    max-width: 18ch;
}
.lead {
    font-family: var(--f-display);
    font-size: clamp(22px, 2.1vw, 32px);
    line-height: 1.3;
    color: var(--slate);
    max-width: 34ch;
}
.lead + .lead { margin-top: .8em; }
.prose { max-width: 68ch; color: #555; }
.prose p + p { margin-top: 1em; }
.prose h3 { font-size: clamp(22px, 2vw, 30px); color: var(--slate-ink); margin: 1.6em 0 .6em; text-transform: uppercase; }

/* lists */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
    content: "";
    position: absolute;
    left: 0; top: .62em;
    width: 12px; height: 2px;
    background: var(--orange);
}
.ticks ul { list-style: none; margin-top: 10px; }

/* cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(14px, 1.6vw, 24px);
    margin-top: clamp(32px, 4vw, 56px);
}
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card {
    position: relative;
    padding: clamp(24px, 2.6vw, 40px);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 1px 0 rgba(29, 44, 54, .06), 0 30px 60px -40px rgba(29, 44, 54, .35);
    transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(29, 44, 54, .06), 0 40px 70px -40px rgba(29, 44, 54, .5); }
.card__num {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 18px;
    display: block;
}
.card h3 {
    font-size: clamp(22px, 1.9vw, 28px);
    line-height: 1.05;
    color: var(--slate-ink);
    margin-bottom: 16px;
}
.card h4 { font-size: 17px; color: var(--slate-ink); margin: 20px 0 10px; letter-spacing: 0; }
.card p, .card li { color: #5a5a5a; font-size: 16px; }
.card--dark { background: var(--slate); color: var(--cream); }
.card--dark h3, .card--dark h4 { color: var(--cream); }
.card--dark p, .card--dark li { color: rgba(255, 254, 238, .82); }
.card--orange { background: var(--orange); }
.card--orange h3, .card--orange p, .card--orange li { color: var(--cream); }
.card--orange .card__num { color: var(--slate-ink); }
.card--orange .ticks li::before { background: var(--cream); }

/* big statement */
.statement {
    margin: clamp(40px, 5vw, 72px) 0;
    padding: clamp(32px, 4vw, 64px);
    border-radius: var(--radius);
    background: var(--slate);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.statement p {
    font-family: var(--f-display);
    font-size: clamp(24px, 2.6vw, 40px);
    line-height: 1.2;
    max-width: 30ch;
    position: relative;
}
.statement::after {
    content: "";
    position: absolute;
    right: -10%; top: -40%;
    width: 50%; aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 105, 0, .5), transparent 65%);
}
.statement .eyebrow { position: relative; }

/* figures */
.fig { margin: clamp(32px, 4vw, 56px) 0; }
.fig__frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}
.fig__frame img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.fig__frame a:hover img { transform: scale(1.03); }
.fig figcaption {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray);
}
.figs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(14px, 1.6vw, 24px);
    margin: clamp(32px, 4vw, 56px) 0;
}
.figs .fig { margin: 0; }
.figs--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

/* feature row: image + text */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
    padding: clamp(32px, 4vw, 56px) 0;
    border-top: 1px solid rgba(70, 99, 117, .16);
}
.feature:first-of-type { border-top: 0; }
.feature--flip .fig { order: 2; }
.feature .fig { margin: 0; }
.feature h3 { font-size: clamp(26px, 2.6vw, 40px); line-height: 1; color: var(--slate-ink); margin-bottom: 18px; text-transform: uppercase; }
.feature h4 { font-size: 18px; color: var(--slate-ink); margin: 22px 0 10px; letter-spacing: 0; }
.feature p, .feature li { color: #555; }
.feature .btn { margin-top: 28px; }
.feature--phone .fig__frame { max-width: 380px; margin: 0 auto; background: var(--paper); }
@media (max-width: 860px) {
    .feature { grid-template-columns: 1fr; }
    .feature--flip .fig { order: 0; }
}

/* persona / media cards */
.persona, .card--media { display: grid; grid-template-columns: 1fr; align-content: start; gap: 0; padding: 0; overflow: hidden; }
.persona .fig__frame, .card--media .fig__frame { border-radius: 0; background: var(--paper); }
.persona__body, .card__body { padding: clamp(24px, 2.6vw, 40px); }
.card--media .fig__frame img { width: 100%; }
.card--phone .fig__frame { padding: clamp(20px, 3vw, 40px) clamp(32px, 5vw, 64px) 0; }

/* big stat */
.bigstat {
    display: flex;
    align-items: flex-end;
    gap: clamp(16px, 3vw, 40px);
    flex-wrap: wrap;
    margin: clamp(32px, 4vw, 56px) 0;
}
.bigstat__num {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(110px, 16vw, 240px);
    line-height: .78;
    letter-spacing: -.05em;
    color: var(--orange);
}
.bigstat__label {
    max-width: 22ch;
    padding-bottom: .6em;
    font-family: var(--f-display);
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.2;
    color: var(--slate-ink);
}
.persona__role {
    display: inline-block;
    padding: 6px 12px 4px;
    border-radius: 999px;
    background: var(--orange);
    color: var(--cream);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* scores */
.score { margin: 18px 0 8px; }
.score__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.score__row span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.score__row b { font-family: var(--f-display); font-size: 34px; line-height: 1; color: var(--slate-ink); }
.score__row b small { font-size: 14px; color: var(--gray); font-weight: 400; }
.score__bar { height: 6px; border-radius: 6px; background: rgba(70, 99, 117, .14); overflow: hidden; }
.score__bar i {
    display: block;
    height: 100%;
    width: calc(var(--v) * 1%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--slate), var(--orange));
    transform-origin: 0 50%;
    transform: scaleX(0);
    transition: transform 1.6s var(--ease-out) .3s;
}
.is-in .score__bar i, html:not(.js) .score__bar i { transform: none; }
.pill {
    display: inline-block;
    padding: 6px 12px 4px;
    border-radius: 999px;
    background: rgba(240, 105, 0, .12);
    color: var(--orange);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* customer quotes */
.quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: clamp(14px, 1.6vw, 24px);
    margin-top: 24px;
}
.quote {
    position: relative;
    margin: 0;
    padding: clamp(28px, 3vw, 44px);
    padding-top: clamp(56px, 5vw, 72px);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 1px 0 rgba(29, 44, 54, .06), 0 30px 60px -40px rgba(29, 44, 54, .35);
}
.quote::before {
    content: "\201C";
    position: absolute;
    top: clamp(8px, 1vw, 14px); left: clamp(24px, 2.6vw, 40px);
    font-family: var(--f-display);
    font-size: 96px;
    line-height: 1;
    color: var(--orange);
}
.quote p {
    font-family: var(--f-display);
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.25;
    color: var(--slate-ink);
}
.quote footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 16px;
    margin-top: 24px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray);
}
.quote footer span { color: var(--orange); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* next project */
.next {
    position: relative;
    display: block;
    background: var(--orange);
    color: var(--cream);
    padding: clamp(80px, 10vw, 150px) 0;
    overflow: hidden;
    isolation: isolate;
}
.next::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--slate);
    transform: translateY(101%);
    transition: transform .9s var(--ease-io);
}
.next:hover::before { transform: none; }
.next__label {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.next__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: clamp(48px, 9vw, 150px);
    line-height: .88;
    text-transform: uppercase;
    letter-spacing: -.04em;
}
.next__title i {
    flex: none;
    display: grid;
    place-items: center;
    width: clamp(64px, 9vw, 140px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--cream);
    color: var(--orange);
    font-style: normal;
    font-size: .4em;
    transition: transform .8s var(--ease-out);
}
.next:hover .next__title i { transform: rotate(-45deg); }

/* ==========================================================
   GALLERY PAGES
   ========================================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 24px);
    align-items: start;
    padding: clamp(64px, 8vw, 120px) 0;
}
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery .fig { margin: 0; }
.gallery .fig--wide { grid-column: 1 / -1; }
.gallery video { width: 100%; border-radius: var(--radius); background: var(--slate-ink); }
.gallery--tiles .fig__frame { aspect-ratio: 910 / 1001; background: var(--white); }
.gallery--tiles .fig__frame img { width: 100%; height: 100%; object-fit: contain; }
.tile-note {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
    min-height: 240px;
    padding: clamp(24px, 3vw, 44px);
    border-radius: var(--radius);
    background: var(--slate);
    color: var(--cream);
}
.tile-note p {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(26px, 2.6vw, 42px);
    line-height: 1.05;
}
.tile-note--orange { background: var(--orange); }
@media (max-width: 860px) {
    .gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .gallery, .gallery--3 { grid-template-columns: 1fr; }
}

.intro-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px clamp(40px, 6vw, 96px);
    padding-top: clamp(64px, 8vw, 120px);
    align-items: end;
}
@media (max-width: 860px) { .intro-strip { grid-template-columns: 1fr; } }

/* ==========================================================
   LIGHTBOX
   ========================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 72px 16px 56px;
    background: rgba(29, 44, 54, .94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility 0s linear .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }
.lightbox img {
    max-width: min(1400px, 100%);
    max-height: calc(100vh - 128px);
    max-height: calc(100dvh - 128px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    transform: scale(.94);
    transition: transform .6s var(--ease-out);
}
.lightbox.is-open img { transform: none; }
.lightbox__close, .lightbox__nav {
    position: absolute;
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--cream);
    font-size: 20px;
    transition: background .3s, transform .4s var(--ease-out);
}
.lightbox__close { top: 14px; right: 14px; }
.lightbox__close:hover { transform: rotate(90deg); }
.lightbox__nav { top: 50%; margin-top: -26px; background: rgba(255, 254, 238, .12); }
.lightbox__nav:hover { background: var(--orange); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__count {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--mist);
}

/* ==========================================================
   Reduced motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
    .js [data-reveal="clip"]::before { display: none; }
    .js [data-reveal], .w__i, .js .hero__logo img, .js .hero__fade {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        transition: none !important;
    }
    .score__bar i { transform: none !important; transition: none !important; }
    .curtain { display: none !important; }
}
