/* ═══════════════════════════════════════════════════════════════════════════
   NIALURE TECH: one design system for every page
   Colours: brand blue #1446aa · indigo #4634e8 · white · black (+ derived neutrals)
   Type: Nunito only (self-hosted variable font)
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url('/assets/fonts/nunito-latin-var.woff2') format('woff2');
}
@font-face {
    font-family: 'Nunito';
    font-style: italic;
    font-weight: 200 1000;
    font-display: swap;
    src: url('/assets/fonts/nunito-latin-var-italic.woff2') format('woff2');
}
/* Playfair Display 600: only for the Velvet & Edge hero recreated on the work page */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-latin-600.woff2') format('woff2');
}
/* Metric-matched fallback so the swap to Nunito doesn't shift layout */
@font-face {
    font-family: 'Nunito Fallback';
    src: local('Arial');
    ascent-override: 99%;
    descent-override: 35%;
    line-gap-override: 0%;
    size-adjust: 101%;
}

:root {
    /* brand */
    --blue: #1446aa;
    --indigo: #4634e8;
    --white: #fff;
    --black: #000;
    --ink: #0A0A0A;
    /* derived neutrals and tints */
    --grey: #6B6B6B;
    --grey-light: #9B9B9B;
    --hair: #E6E6E6;
    --paper: #F6F7FA;
    --panel: #F1F2F5;
    --blue-15: rgba(20, 70, 170, 0.15);
    --on-dark-muted: rgba(255, 255, 255, 0.64);
    --on-dark-hair: rgba(255, 255, 255, 0.16);

    /* "Sticker" look set by the home hero (button + service ticket): a chunky ink outline and a hard offset shadow.
       --pop is the shadow colour; sections on brand blue switch it to ink so it still reads. */
    --line: 2px solid var(--ink);
    --pop: var(--indigo);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --gutter: clamp(16px, 3.2vw, 48px);
    --max: 1440px;
    --r: 12px;
    --curve: 12vw;
    --nav-h: 96px;

    /* kept for the existing navbar + footer styles below */
    --accent: #4634e8;
    --radius: 6px;

    --plus-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0v11M0 5.5h11' stroke='%23000' stroke-opacity='.45'/%3E%3C/svg%3E");
    --plus-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0v11M0 5.5h11' stroke='%23fff' stroke-opacity='.6'/%3E%3C/svg%3E");
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--blue); color: #fff; }

/* Lenis recommended CSS */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

html { -webkit-text-size-adjust: 100%; }
body {
    background: var(--white);
    color: var(--ink);
    font: 400 17px/1.6 'Nunito', 'Nunito Fallback', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 4000; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }

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

/* ═══ EXISTING NAVBAR (unchanged; only the light/dark colour swap is driven by the section underneath) ═══ */
.chrome { position: fixed; inset: 0 0 auto; z-index: 1000; pointer-events: none; }
.chrome > * { pointer-events: auto; }
.navbar-container { padding: 25px 30px 0; }
.navbar-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 35px;
    background: #ffffff94;
    border-radius: 60px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: background-color 0.5s var(--ease);
}
/* Over the light sections the translucent pill would wash out its white text, so it darkens */
.chrome.is-light .navbar-pill { background: rgba(20, 20, 20, 0.62); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { width: 40px; height: 40px; }
.logo-text { font-size: 1.2rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 28px; height: 3px; background: #fff; border-radius: 2px; }

/* Scrolls (instead of clipping) when the cards don't fit, e.g. small or landscape phones */
.menu-overlay { position: fixed; inset: 0; z-index: 999; display: none; justify-content: center; align-items: center; background: #000; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.menu-overlay::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(99, 102, 241, 0.15) 100%); }
.menu-content { position: relative; z-index: 2; width: 90%; max-width: 900px; margin-bottom: -90px; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; perspective: 900px; }
.menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 50px 40px;
    background: #fff;
    color: var(--accent);
    border-radius: 30px;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.menu-overlay.is-settled .menu-item { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.menu-overlay.is-settled .menu-item:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); }
.menu-item-icon { width: 50px; height: 50px; flex: none; }
.menu-item.full-width { grid-column: span 2; }
.menu-overlay .tagline { margin-top: 50px; text-align: center; font-size: 2.5rem; font-weight: 900; letter-spacing: -0.03em; color: #fff; opacity: 0; }

/* ═══ EXISTING FOOTER (unchanged) ═══ */
.footer { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 112px); background: var(--accent); color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer__logo { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: #fff; }
.footer__logo img { width: 34px; height: 34px; }
.footer__tagline { margin-top: 24px; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.footer__desc { max-width: 36ch; margin-top: 14px; font-size: 15px; color: rgba(255, 255, 255, 0.88); }
.footer__col h3 { margin-bottom: 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.footer__col ul { display: grid; gap: 10px; list-style: none; }
.footer__col p { font-size: 15px; color: rgba(255, 255, 255, 0.88); }
.u-link {
    font-size: 15px;
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size 0.4s var(--ease);
}
.u-link:hover, .u-link:focus-visible { background-size: 100% 1px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(48px, 6vw, 80px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 13px; }
.footer__legal { display: flex; gap: 24px; }
.footer__mark { height: 0.66em; margin-top: clamp(24px, 4vw, 56px); overflow: hidden; font-size: 23.5vw; line-height: 0.8; letter-spacing: -0.06em; font-weight: 800; text-align: center; white-space: nowrap; user-select: none; }
.footer__mark span { display: block; }

@media (max-width: 1024px) {
    .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .navbar-container { padding: 14px 16px 0; }
    .navbar-pill { padding: 8px 14px 8px 18px; }
    .logo-img { width: 34px; height: 34px; }
    .logo-text { font-size: 1rem; }
    /* auto margins centre the cards when they fit and start them below the navbar when they don't */
    .menu-content { margin: auto; padding: calc(var(--nav-h) + 4px) 0 28px; }
    .menu-grid { grid-template-columns: 1fr; gap: 14px; }
    .menu-item { padding: 28px 24px; border-radius: 22px; font-size: 1.35rem; }
    .menu-item.full-width { grid-column: auto; }
    .menu-item-icon { width: 40px; height: 40px; }
    .menu-overlay .tagline { margin-top: 32px; font-size: 1.6rem; }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}
/* Short phones (SE-size) and landscape: tighter menu cards */
@media (max-width: 767px) and (max-height: 700px) {
    .menu-grid { gap: 10px; }
    .menu-item { padding: 18px 20px; border-radius: 18px; font-size: 1.2rem; }
    .menu-item-icon { width: 34px; height: 34px; }
    .menu-overlay .tagline { margin-top: 20px; font-size: 1.3rem; }
}
@media (max-width: 767px) and (max-height: 500px) and (orientation: landscape) {
    .menu-grid { grid-template-columns: 1fr 1fr; }
    .menu-item.full-width { grid-column: span 2; }
    .menu-item { padding: 14px 18px; }
}

/* ═══ LOADER: the logo builds itself, once per session ═══ */
.loader { position: fixed; inset: 0; z-index: 3000; display: none; place-items: center; background: #fff; }
.has-loader { overflow: hidden; }
.has-loader .loader { display: grid; }
.loader__lockup { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); padding: 0 24px; }
.loader__mark { width: clamp(84px, 11vw, 150px); height: auto; overflow: visible; flex: none; position: relative; z-index: 2; }
.loader__mark .lm-indigo, .loader__mark .lm-blue, .loader__mark .lm-dot { opacity: 0; }
.loader__mark .lm-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__words { position: relative; z-index: 1; clip-path: inset(0 100% 0 0); }
.loader__name { font-size: clamp(1.75rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; color: var(--black); white-space: nowrap; }
.loader__name b { font-weight: 900; }
.loader__name span { font-weight: 400; }
.loader__tag { margin-top: 0.7em; font-size: clamp(0.8rem, 1.1vw, 1rem); color: #4a4a4a; opacity: 0; white-space: nowrap; }
/* Phones: the lockup was a fixed ~380px (off-centre, tagline cut on 320px screens); scale it with the screen instead.
   The tagline is the widest line (~18.2em), so 3.4vw keeps the whole lockup inside ~96vw. */
@media (max-width: 480px) {
    .loader__lockup { gap: 3.5vw; padding: 0 5vw; }
    .loader__mark { width: 20vw; }
    .loader__name { font-size: 7vw; }
    .loader__tag { font-size: 3.4vw; }
}

/* ═══ PAGE TRANSITIONS (js/site.js pageTransitions()): on an in-site link a brand-blue sheet wipes up over the page,
   the next page opens under it (pt-in, set in <head> before first paint) and the sheet lifts off as its hero plays.
   The sheet is html::after, so no extra markup is needed on any page. ═══ */
html.pt-out::after, html.pt-in::after { content: ""; position: fixed; inset: 0; z-index: 3500; background: var(--blue); }
html.pt-out::after { animation: pt-cover 0.5s cubic-bezier(0.76, 0, 0.24, 1) both; }
html.pt-in::after { clip-path: inset(0 0 0 0); }
html.pt-in.pt-lift::after { pointer-events: none; animation: pt-lift 0.75s cubic-bezier(0.76, 0, 0.24, 1) both; }
@keyframes pt-cover { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pt-lift { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }

/* ═══ TYPE ═══ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
}

.eyebrow--plain::before { display: none; }
.is-dark .eyebrow, .eyebrow--light { color: var(--on-dark-muted); }

.h-display { font-size: clamp(3.25rem, 10vw, 10rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.04em; }
.h-section { font-size: clamp(2.5rem, 6.4vw, 6rem); font-weight: 900; line-height: 0.92; letter-spacing: -0.04em; color: var(--blue); }
.is-dark .h-section { color: #fff; }
.h-3 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
.lede { max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; color: var(--grey); }
.is-dark .lede { color: var(--on-dark-muted); }
.body { max-width: 60ch; color: var(--grey); }
.body + .body { margin-top: 1em; }
.is-dark .body { color: var(--on-dark-muted); }
.brand { white-space: nowrap; }
.brand b { font-weight: 900; }
.brand span { font-weight: 400; }

/* SplitText line masks: room for descenders without changing line height */
.ln-mask { padding-bottom: 0.2em; margin-bottom: -0.2em; }
.ch-mask { padding: 0 0.04em 0.14em; margin: 0 -0.04em -0.14em; }

.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .h-section, .sec-head .h-display { margin-top: 18px; }

/* ═══ BUTTONS: the hero's chunky "sticker" pill (ink outline, hard offset shadow, presses down on click),
   with text roll and diagonal arrow. The lift/press uses top/left, not transform, so it still works on
   buttons whose transform GSAP has animated. ═══ */
.pill {
    position: relative;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: 54px;
    padding: 0 5px 0 24px;
    border: var(--line);
    border-radius: 999px;
    box-shadow: 4px 5px 0 0 var(--pop);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.005em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: top 0.14s ease, left 0.14s ease, box-shadow 0.14s ease;
}
.pill:hover, .pill:focus-visible { top: -1px; left: -1px; box-shadow: 5px 6px 0 0 var(--pop); }
.pill:active { top: 5px; left: 4px; box-shadow: 0 0 0 0 var(--pop); }
.pill__arrow { display: grid; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: rgba(255, 255, 255, 0.16); flex: none; transition: background-color 0.3s, color 0.3s; }
.pill__arrow svg { grid-area: 1 / 1; width: 14px; height: 14px; transition: transform 0.55s var(--ease); }
.pill__arrow svg + svg { transform: translate(-170%, 170%); }
.pill:hover .pill__arrow, .pill:focus-visible .pill__arrow { background: var(--indigo); color: #fff; }
.pill:hover .pill__arrow svg:first-child, .pill:focus-visible .pill__arrow svg:first-child { transform: translate(170%, -170%); }
.pill:hover .pill__arrow svg + svg, .pill:focus-visible .pill__arrow svg + svg { transform: none; }
.pill--blue { background: var(--blue); color: #fff; }
.pill--dark { background: var(--ink); color: #fff; }
.pill--light, .pill--outline { background: #fff; color: var(--ink); }
.pill--light .pill__arrow, .pill--outline .pill__arrow { background: rgba(0, 0, 0, 0.06); }
.pill--sm { height: 44px; padding: 0 4px 0 18px; font-size: 14px; gap: 10px; box-shadow: 3px 4px 0 0 var(--pop); }
.pill--sm:hover, .pill--sm:focus-visible { box-shadow: 4px 5px 0 0 var(--pop); }
.pill--sm:active { top: 4px; left: 3px; }
.pill--sm .pill__arrow { width: 32px; height: 32px; }
.pill--lg { height: 64px; padding-left: 30px; font-size: 17px; }
.pill--lg .pill__arrow { width: 50px; height: 50px; }
.pill--noarrow { padding: 0 24px; }

/* Text roll: JS duplicates the label; hover slides the copy up */
.roll { display: inline-block; height: 1.25em; overflow: hidden; line-height: 1.25; vertical-align: top; }
.roll__in { display: block; transition: transform 0.55s var(--ease); }
.roll__in > span { display: block; }
a:hover .roll__in, a:focus-visible .roll__in, button:hover .roll__in, button:focus-visible .roll__in { transform: translateY(-50%); }

/* Arrow link: underline draws from the left, arrow turns */
.alink {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    padding-bottom: 3px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
    transition: background-size 0.55s var(--ease), color 0.3s;
}
.alink:hover, .alink:focus-visible { background-size: 100% 1.5px; }
.alink svg { width: 0.75em; height: 0.75em; transition: transform 0.55s var(--ease); }
.alink:hover svg, .alink:focus-visible svg { transform: rotate(45deg); }
.alink--blue { color: var(--blue); }

/* ═══ SURFACES & BLUEPRINT DETAILS ═══ */
.is-dark { color: #fff; }
.dots { background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.3px); background-size: 24px 24px; }
.dots--ink { background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1.3px); }
/* "+" marks on the four corners of a framed card */
.bp { position: relative; }
.bp::after {
    content: "";
    position: absolute;
    inset: -5.5px;
    z-index: 3;
    pointer-events: none;
    --p: var(--plus-dark);
    background: var(--p) 0 0 / 11px 11px no-repeat, var(--p) 100% 0 / 11px 11px no-repeat, var(--p) 0 100% / 11px 11px no-repeat, var(--p) 100% 100% / 11px 11px no-repeat;
}
.bp--light::after { --p: var(--plus-light); }

/* Curved sheet rising over the previous section: JS flattens the clip-path dome on scroll */
[data-curve] { position: relative; z-index: 1; margin-top: calc(var(--curve) * -1); }

/* ═══ MEDIA ═══ */
.media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--panel); }
.media__in { position: absolute; inset: 0; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--top img { object-position: top; }
.cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 13px; font-weight: 700; }
.cap span:last-child { display: inline-flex; gap: 6px; color: var(--grey); transition: color 0.3s; }
a:hover .cap span:last-child { color: var(--blue); }
.badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: var(--line);
    background: #fff;
    color: var(--ink);
    box-shadow: 2px 3px 0 0 var(--pop);
    transform: scale(0.9);
    transition: transform 0.55s var(--ease), background-color 0.4s, color 0.4s;
}
.badge svg { width: 15px; height: 15px; transition: transform 0.55s var(--ease); }
a:hover .badge, a:focus-visible .badge { transform: scale(1.12); background: var(--blue); color: #fff; }
a:hover .badge svg, a:focus-visible .badge svg { transform: rotate(45deg); }

.phone { position: relative; aspect-ratio: 828 / 1600; overflow: hidden; border-radius: clamp(14px, 1.6vw, 24px); background: var(--panel); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 24px 60px rgba(0, 0, 0, 0.18); }
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Custom cursor (fine pointers only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 2500; pointer-events: none; }
.cursor__dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); transition: transform 0.45s var(--ease), opacity 0.3s; }
.cursor__view { position: absolute; left: -44px; top: -44px; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.02em; transform: scale(0); transition: transform 0.5s var(--ease); }
.cursor__media { position: absolute; left: 36px; top: -190px; width: 240px; height: 300px; overflow: hidden; border-radius: 12px; background: var(--panel); transform: scale(0); transition: transform 0.55s var(--ease); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2); }
.cursor__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cursor.is-view .cursor__view { transform: scale(1); }
.cursor.is-view .cursor__dot, .cursor.is-media .cursor__dot { transform: scale(0); }
.cursor.is-media .cursor__media { transform: scale(1); }
.cursor.is-media .cursor__view { transform: translate(36px, 110px) scale(0.8); }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse), (max-width: 767px) { .cursor { display: none; } }

/* ═══ META LIST ═══ */
.meta { display: grid; align-content: start; }
.meta__item { position: relative; display: grid; grid-template-columns: minmax(96px, 0.42fr) 1fr; gap: 16px; padding: 16px 0; font-size: 15px; }
.meta__item dt { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); padding-top: 0.25em; }
.meta__item dd { font-weight: 700; }
.rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); transform-origin: left; }
.meta__item:first-child::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair); }
.is-dark .meta__item dt { color: var(--on-dark-muted); }
.is-dark .rule, .is-dark .meta__item:first-child::before { background: var(--on-dark-hair); }

/* ═══ KEY POINTS (top-border columns) ═══ */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.points--4 { grid-template-columns: repeat(4, 1fr); }
.point { position: relative; padding-top: 22px; }
.point__rule { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--blue); transform-origin: left; }
.point__num { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--blue); }
.point h3 { margin-top: 14px; font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.point p { margin-top: 12px; color: var(--grey); font-size: 16px; }
.is-dark .point__rule { background: #fff; }
.is-dark .point__num { color: var(--on-dark-muted); }
.is-dark .point p { color: var(--on-dark-muted); }

/* ═══ WORD FILL ═══ */
.fill { font-size: clamp(1.75rem, 3.2vw, 3.25rem); line-height: 1.14; letter-spacing: -0.03em; font-weight: 800; color: var(--blue); }
.fill .w { color: var(--blue-15); }
.ico {
    display: inline-grid;
    place-items: center;
    width: 0.86em;
    height: 0.86em;
    margin: 0 0.06em;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    vertical-align: -0.1em;
}
.ico:nth-of-type(even) { background: var(--indigo); }
.ico svg { width: 52%; height: 52%; }

/* ═══ HERO (home) ═══ */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    height: 100svh;
    min-height: 620px;
    padding-top: calc(var(--nav-h) + clamp(16px, 4vh, 48px));
    overflow: hidden;
    background: var(--paper);
}
.hero__blobs { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob--1 { width: 62vw; aspect-ratio: 1; left: -14vw; top: -18vw; background: radial-gradient(closest-side, rgba(20, 70, 170, 0.13), rgba(20, 70, 170, 0)); animation: drift-a 26s ease-in-out infinite alternate; }
.blob--2 { width: 54vw; aspect-ratio: 1; right: -12vw; top: 4vw; background: radial-gradient(closest-side, rgba(70, 52, 232, 0.12), rgba(70, 52, 232, 0)); animation: drift-b 22s ease-in-out infinite alternate; }
.blob--3 { width: 20vw; aspect-ratio: 1; left: 30vw; top: 34vh; background: radial-gradient(closest-side, rgba(20, 70, 170, 0.1), rgba(20, 70, 170, 0)); animation: drift-c 18s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(8vw, 6vw) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-7vw, 8vw) scale(0.94); } }
@keyframes drift-c { to { transform: translate(10vw, -4vw) scale(1.25); } }

.wf { position: absolute; border-radius: 6px; background: #E4E8EF; transition: box-shadow 0.35s var(--ease); }
.wf.is-hot { box-shadow: 0 0 0 2px var(--indigo); }
.wf-logo { left: 5%; top: 6%; width: 9%; height: 5.5%; background: var(--blue); }
.wf-link { top: 7.6%; width: 7%; height: 2.6%; background: #D3D8E2; }
.wf-link--1 { left: 50%; } .wf-link--2 { left: 59.5%; } .wf-link--3 { left: 69%; }
.wf-navbtn { left: 82%; top: 5.4%; width: 13%; height: 6.5%; border-radius: 999px; background: var(--ink); }
.wf-h1 { left: 5%; height: 7.5%; background: #BFC6D3; }
.wf-h1--1 { top: 23%; width: 44%; } .wf-h1--2 { top: 32.5%; width: 32%; }
.wf-p { left: 5%; height: 2.8%; background: #D9DEE7; }
.wf-p--1 { top: 45%; width: 40%; } .wf-p--2 { top: 50%; width: 30%; }
.wf-btn { left: 5%; top: 59%; width: 16%; height: 8%; border-radius: 999px; background: var(--blue); }
.wf-img { left: 55%; top: 21%; width: 40%; height: 47%; display: grid; place-items: center; border-radius: 10px; background: #E9EDF4; }
.wf-img svg { width: 28%; fill: #C5CCD8; }
.wf-card { top: 75%; width: 27.5%; height: 18%; display: grid; align-content: center; gap: 6px; padding: 0 4%; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); }
.wf-card.is-hot { box-shadow: inset 0 0 0 1px var(--hair), 0 0 0 2px var(--indigo); }
.wf-card--1 { left: 5%; } .wf-card--2 { left: 36.25%; } .wf-card--3 { left: 67.5%; }
.wf-card i { display: block; height: 5px; border-radius: 3px; background: #DDE2EA; }
.wf-card i:first-child { width: 40%; height: 7px; background: var(--indigo); opacity: 0.55; }
.dc__sel { position: absolute; left: 0; top: 0; z-index: 2; border: 1.5px solid var(--blue); border-radius: 3px; pointer-events: none; }
.dc__sel i { position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid var(--blue); }
.dc__sel i:nth-child(1) { left: -4px; top: -4px; } .dc__sel i:nth-child(2) { right: -4px; top: -4px; }
.dc__sel i:nth-child(3) { left: -4px; bottom: -4px; } .dc__sel i:nth-child(4) { right: -4px; bottom: -4px; }
.dc__cur { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; }
.dc__cur svg { width: 15px; fill: var(--blue); stroke: #fff; stroke-width: 1.2; }
.dc__cur b { margin-top: 13px; padding: 3px 8px; border-radius: 999px 999px 999px 4px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; }
.dcw__code :is(u, s, em, b, q) { font: inherit; font-style: normal; text-decoration: none; }
.dcw__code q::before, .dcw__code q::after { content: none; }
.dcw__code u { display: inline-block; width: 2.6em; color: #5C5F68; }
.dcw__code s { color: #7D818C; }
.dcw__code em { color: #93ABEA; }
.dcw__code b { color: #ABA2F7; }
.dcw__code q { color: #FFFFFF; }

/* ═══ DesignCodeWindow: the browser-style window on each cube face (sizes scale with the window: cqw) ═══ */
.dcw { position: relative; display: flex; flex-direction: column; container-type: inline-size; overflow: hidden; border-radius: 14px; background: #fff; color: var(--ink); text-align: left; box-shadow: 0 0 0 1px rgba(10, 20, 60, 0.1), 0 30px 80px rgba(10, 20, 60, 0.16); }
.dcw__bar { position: relative; z-index: 6; display: flex; align-items: center; gap: 1.3cqw; height: max(22px, 6.4cqw); padding: 0 2.6cqw; border-bottom: 1px solid var(--hair); background: #fff; flex: none; }
.dcw__bar > i { width: max(6px, 1.6cqw); height: max(6px, 1.6cqw); border-radius: 50%; background: var(--hair); }
.dcw__url { margin-left: 2.4cqw; padding: 0.4cqw 2.2cqw; border-radius: 999px; background: var(--panel); font-size: max(9px, 2.1cqw); font-weight: 700; color: var(--grey); white-space: nowrap; }
.dcw__state { margin-left: auto; padding: 0.5cqw 1.9cqw; border-radius: 999px; background: var(--blue); color: #fff; font-size: max(8px, 1.8cqw); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.dcw__body { position: relative; flex: 1 1 auto; aspect-ratio: 16 / 10; overflow: hidden; touch-action: pan-y; }
.dcw--fill .dcw__body { aspect-ratio: auto; min-height: 0; }
.dcw__l { position: absolute; inset: 0; overflow: hidden; }
.dcw--single .dcw__l { clip-path: inset(0 0 0 100%); }
.dcw--single .dcw__l.is-on { clip-path: inset(0 0 0 0); }
.dcw__l--design { background-color: #fff; background-image: radial-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1.3px); background-size: 3.2cqw 3.2cqw; }
.dcw .wf { border-radius: 0.9cqw; }
.dcw .dc__cur b { font-size: max(8px, 1.8cqw); }
.dcw__l--code { background: var(--ink); }
.dcw__code { display: block; padding: 4.4cqw 4cqw; font-size: max(6.5px, 2.35cqw); line-height: 1.72; font-weight: 600; white-space: pre; color: #D6D9E0; will-change: transform; }
.dcw__code .cl { display: block; margin: 0 -1.4cqw; padding: 0 1.4cqw; border-radius: 4px; transition: background-color 0.35s var(--ease); }
.dcw__code .cl.is-hot { background: rgba(70, 52, 232, 0.34); }
.dcw__code i { font-style: normal; color: #6F7380; }
/* Live: the finished result */
.dcw__l--live { background: #fff; }
.lv { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 3cqw; padding: 3.4cqw 4.4cqw 4cqw; }
.lv-nav { display: flex; align-items: center; gap: 2.6cqw; font-size: max(7px, 1.9cqw); font-weight: 700; color: var(--grey); }
.lv-logo { display: flex; align-items: center; margin-right: auto; font-size: max(8px, 2.3cqw); font-weight: 900; color: var(--ink); }
.lv-logo i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--blue); }
.lv-logo i + i { margin: 0 1cqw 0 -1.3cqw; background: var(--indigo); mix-blend-mode: multiply; }
.lv-btn { display: inline-flex; align-items: center; justify-self: start; padding: 0.9cqw 2.3cqw; border-radius: 999px; background: var(--blue); color: #fff; font-size: max(7px, 1.9cqw); font-weight: 800; white-space: nowrap; }
.lv-btn--dark { background: var(--ink); }
.lv-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.6cqw; align-items: center; min-height: 0; }
.lv-copy { display: grid; gap: 1.8cqw; justify-items: start; }
.lv-h1 { font-size: max(11px, 5.3cqw); font-weight: 900; line-height: 0.95; letter-spacing: -0.04em; color: var(--blue); }
.lv-p { font-size: max(7px, 1.9cqw); line-height: 1.4; color: var(--grey); }
.lv-img { position: relative; height: 100%; min-height: 18cqw; overflow: hidden; border-radius: 1.6cqw; background: linear-gradient(135deg, #E7ECF8, #ECEAFC); }
.lv-img i { position: absolute; left: 20%; top: 14%; width: 17cqw; aspect-ratio: 1; border-radius: 50%; background: var(--blue); }
.lv-img i + i { left: 42%; top: 32%; background: var(--indigo); mix-blend-mode: multiply; }
.lv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.lv-cards span { display: grid; gap: 0.9cqw; padding: 1.8cqw; border-radius: 1.4cqw; box-shadow: inset 0 0 0 1px var(--hair); }
.lv-cards i { width: 3cqw; height: 3cqw; border-radius: 0.8cqw; background: rgba(70, 52, 232, 0.16); }
.lv-cards b { width: 62%; height: 1.2cqw; border-radius: 1cqw; background: #CDD3DE; }
.lv-cards em { width: 84%; height: 0.9cqw; border-radius: 1cqw; background: #E3E6EC; }
/* Brief */
.dcw__l--brief { background: #FBFBFD; }
.bf { position: absolute; inset: 0; display: grid; align-content: start; gap: 2.4cqw; padding: 4.6cqw 5.4cqw; font-size: max(7.5px, 2.05cqw); }
.bf-t { display: flex; justify-content: space-between; align-items: baseline; font-size: max(11px, 3.8cqw); font-weight: 900; letter-spacing: -0.02em; }
.bf-t span { font-size: max(7px, 1.7cqw); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.bf dl { display: grid; gap: 1.2cqw; }
.bf dl div { display: grid; grid-template-columns: 15cqw 1fr; gap: 2cqw; padding-bottom: 1.2cqw; border-bottom: 1px solid var(--hair); }
.bf dt { font-size: 0.82em; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.bf dd { font-weight: 700; }
.bf ul { display: flex; flex-wrap: wrap; gap: 1.4cqw; list-style: none; }
.bf li { display: inline-flex; align-items: center; gap: 0.8cqw; padding: 0.6cqw 1.6cqw; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair); font-weight: 700; }
.bf li::before { content: ""; width: 1.4cqw; height: 1.4cqw; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--grey-light); }
.bf li.on::before { background: var(--blue); box-shadow: none; }

/* ═══ Home hero: The Cube ═══ */
.hx { justify-content: flex-start; gap: clamp(10px, 2vh, 24px); padding-bottom: clamp(18px, 3.6vh, 40px); background: #fff; }
.hx-lede { max-width: 40ch; font-size: 16px; line-height: 1.55; color: var(--grey); }
.hx-mask { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hx-mask > span { display: block; }
/* Chunky "sticker" button: offset indigo shadow, presses down on click */
/* (top/left rather than transform: the hero intro animation leaves an inline transform on this button, which would cancel a transform here) */
.btn-chunky { position: relative; top: 0; left: 0; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px 0 24px; border: var(--line); border-radius: 999px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 4px 5px 0 0 var(--pop); transition: top 0.14s ease, left 0.14s ease, box-shadow 0.14s ease; }
.btn-chunky svg { width: 14px; height: 14px; }
.btn-chunky:hover, .btn-chunky:focus-visible { top: -1px; left: -1px; box-shadow: 5px 6px 0 0 var(--pop); }
.btn-chunky:active { top: 5px; left: 4px; box-shadow: 0 0 0 0 var(--pop); }

.hx1-top { position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px 48px; }
/* Right-aligned, and as tall as the old 3-line lede so the button and the cube keep their place */
.hx1-intro { display: flex; align-items: center; gap: 28px; margin-left: auto; }
/* One focal window between the intro row and the headline. --cw is the cube's face width; the perspective is
   3.6 × --cw, so the front face always shows at 1.161 × --cw (used to place the ticket and focus ring).
   The stage is a size container: --cw is capped at 104cqh (the tilted window is ~0.97 × --cw tall, so it may use
   a little of the bottom padding), so the cube shrinks to fit when the headline wraps or the screen is short,
   and never runs into the text. (cqh resolves
   where var(--cw) is used, against this stage; nothing inside the inline-size .dcw containers reads --cw.)
   --hx1-lift pulls the stage up beside the "Get in touch" row: most on short screens (where the cube needs the
   height), tapering to ~30px on tall ones; the deeper bottom padding keeps clear space
   (and the floor glow) above the headline. --hx1-shift moves the window and ticket left of centre, more on wide screens. */
.hx1-stage { --cw: clamp(250px, min(39vw, 64vh, 104cqh), 590px); --ch: calc(var(--cw) * 0.7); --hx1-shift: clamp(24px, calc(11vw - 80px), 150px); --hx1-lift: clamp(24px, calc(250px - 24vh), 80px); container-type: size; position: relative; flex: 1 1 auto; min-height: 0; display: grid; place-items: center; margin-top: calc(-1 * var(--hx1-lift)); padding: clamp(8px, 1.5vh, 16px) var(--gutter) clamp(28px, 7vh, 80px); }
.hx1-floor { position: absolute; left: 50%; top: calc(100% + var(--ch) * 0.1); z-index: -1; width: calc(var(--cw) * 1.55); aspect-ratio: 4 / 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 52, 232, 0.22), rgba(20, 70, 170, 0.1) 55%, rgba(20, 70, 170, 0)); pointer-events: none; }
/* The window and its ticket sit a little left of centre (--hx1-shift); `translate` stacks with the JS transforms */
.cube-wrap, .ticket-wrap--r { translate: calc(-1 * var(--hx1-shift, 0px)) 0; }
.cube-wrap { position: relative; z-index: 1; width: var(--cw); height: var(--ch); border-radius: 18px; perspective: calc(var(--cw) * 3.6); cursor: grab; touch-action: pan-y; outline: none; -webkit-user-select: none; user-select: none; }
.cube-wrap.is-drag { cursor: grabbing; }
.cube-wrap:focus-visible { outline: 2px solid var(--indigo); outline-offset: calc(var(--cw) * 0.085 + 10px); }
/* The slight tilt lives on its own wrapper, so every state (Brief, Design, Code, Live) shows the same tilt */
.cube-tilt { --tilt: -8deg; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotate(var(--tilt)); }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(-90deg); }
.cube__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cube__face .dcw { height: 100%; box-shadow: 0 0 0 1px rgba(10, 20, 60, 0.14); }
.cube__face:nth-child(1) { transform: rotateY(0deg) translateZ(calc(var(--cw) / 2)); }
.cube__face:nth-child(2) { transform: rotateY(90deg) translateZ(calc(var(--cw) / 2)); }
.cube__face:nth-child(3) { transform: rotateY(180deg) translateZ(calc(var(--cw) / 2)); }
.cube__face:nth-child(4) { transform: rotateY(270deg) translateZ(calc(var(--cw) / 2)); }
.cube__cap { position: absolute; left: 0; top: calc((var(--ch) - var(--cw)) / 2); width: var(--cw); height: var(--cw); border-radius: 14px; background-color: var(--paper); background-image: radial-gradient(rgba(20, 70, 170, 0.16) 1px, transparent 1.3px); background-size: 16px 16px; box-shadow: inset 0 0 0 1px rgba(10, 20, 60, 0.12); }
.cube__cap--top { transform: rotateX(90deg) translateZ(calc(var(--ch) / 2)); }
.cube__cap--bot { transform: rotateX(-90deg) translateZ(calc(var(--ch) / 2)); }
.cube__label { position: absolute; left: 3.6%; bottom: 5%; z-index: 7; padding: 5px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.ticket-wrap { filter: drop-shadow(4px 5px 0 var(--pop)); }
/* The service ticket overlaps the window's right edge, a little below centre */
/* Anchored to the cube (its bottom sits just above the window's lower edge) and sized with it, so it shrinks and rises with the cube */
.ticket-wrap--r { position: absolute; z-index: 3; left: calc(50% + var(--cw) * 0.58 - 52px); bottom: calc(50% - var(--ch) * 0.55); width: clamp(210px, calc(var(--cw) * 0.54), 280px); }
.ticket-wrap--r .ticket { width: 100%; }
/* Ticket shell (outline, notches at --n), shared with the service cards further down the home page (.svc) */
.ticket, .svc { --n: 60px; position: relative; border: var(--line); border-radius: 16px; background: #fff; -webkit-mask: radial-gradient(circle 11px at 0 var(--n), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% var(--n), #0000 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 11px at 0 var(--n), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% var(--n), #0000 98%, #000) right / 51% 100% no-repeat; }
.ticket { display: grid; gap: 10px; width: min(100%, 290px); padding: 14px 22px 22px; }
.ticket__stub { display: flex; justify-content: space-between; align-items: center; height: 32px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.ticket__perf { position: absolute; left: 16px; right: 16px; top: var(--n); border-top: 2px dashed rgba(10, 10, 10, 0.22); }
.ticket__body { display: grid; gap: 8px; padding-top: 14px; }
.ticket__t { font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; color: var(--blue); }
.ticket-wrap--r .ticket__t { color: var(--indigo); }
.ticket__p { font-size: 14px; line-height: 1.5; color: var(--grey); }
/* Previous / next: hidden until they receive keyboard focus */
.hx1-ctrl { position: absolute; left: 50%; bottom: 4px; z-index: 4; display: flex; gap: 8px; translate: -50% 0; }
.hx1-btn { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; }
.hx1-btn:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* One line on desktop: both halves together are ~18.13em wide, so the size is capped to what fits beside the gutters,
   the gap and a desktop scrollbar (≈68px). Wrapping would take ~1 line of height away from the cube. */
.hx1-title { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--gutter); font-size: clamp(2.2rem, min(5vw, (100vw - 2 * var(--gutter) - 68px) / 18.4), 5.2rem); white-space: nowrap; font-weight: 900; line-height: 0.92; letter-spacing: -0.045em; }
.hx1-title .hx-mask:first-child { color: var(--blue); }
.hx1-title .hx-mask:last-child { color: var(--indigo); text-align: right; }

/* Reduced motion: the cube sits flat (no tilt), Design state; click / keys still change state */
@media (prefers-reduced-motion: reduce) {
    .cube-tilt { transform: none; }
    .cube-wrap { cursor: pointer; }
}

/* Pre-animation states (JS + motion only) */
@media (prefers-reduced-motion: no-preference) {
    .js [data-hx-in] { visibility: hidden; }
    .js .hx .hx-mask > span { transform: translateY(115%); }
}

@media (max-width: 767px) {
    .hx { height: auto; min-height: 100vh; min-height: 100svh; gap: 16px; }
    .hx .wrap { width: 100%; }
    /* 1: intro → window (full width minus gutters, swipeable) → service card → headline */
    .hx1-intro { flex-direction: column; align-items: flex-start; gap: 14px; margin-left: 0; min-height: 0; }
    .hx1-stage { --hx1-shift: 0px; --hx1-lift: 0px; --cw: calc((100vw - 2 * var(--gutter)) / 1.161 * 0.94); container-type: normal; display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 30px var(--gutter) 6px; }
    .cube-tilt { --tilt: -4deg; }
    .ticket-wrap--r { position: relative; left: auto; top: auto; bottom: auto; width: 100%; }
    .hx1-ctrl { bottom: auto; top: 6px; }
    .hx1-title { flex-direction: column; align-items: flex-start; gap: 2px; font-size: clamp(2rem, 9.4vw, 2.7rem); white-space: normal; }
    .hx1-title .hx-mask:last-child { text-align: left; }
}

/* ═══ PINNED STATEMENTS ═══ */
.stmts { background: #000; color: #fff; }
.stmts[data-curve] { margin-top: 0; }
.stmts__pin { position: relative; display: grid; place-items: center; height: 100vh; height: 100svh; min-height: 560px; padding: calc(var(--nav-h) + 24px) var(--gutter) 72px; overflow: hidden; }
.stmts__grid { position: absolute; inset: 0; opacity: 0; background-image: radial-gradient(rgba(0, 0, 0, 0.16) 1px, transparent 1.3px); background-size: 24px 24px; }
.stmts__eyebrow { position: absolute; top: calc(var(--nav-h) + 24px); left: 50%; translate: -50% 0; color: currentColor; opacity: 0.6; }
.stmts__stage { display: grid; width: 100%; max-width: 1100px; }
.stmts__s { grid-area: 1 / 1; align-self: center; margin: 0 auto; max-width: 17ch; font-size: clamp(2.1rem, 5.4vw, 5.6rem); font-weight: 900; line-height: 0.98; letter-spacing: -0.04em; text-align: center; }
.dashes { position: absolute; left: 50%; bottom: 40px; translate: -50% 0; display: flex; gap: 8px; list-style: none; }
.dashes li { position: relative; width: 44px; height: 3px; overflow: hidden; border-radius: 2px; }
.dashes li::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0.25; }
.dashes i { position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; }
/* Without JS the statements simply stack */
html:not(.js) .stmts__pin { height: auto; display: block; padding-top: 140px; padding-bottom: 120px; }
html:not(.js) .stmts__stage { gap: 56px; margin: 0 auto; }
html:not(.js) .stmts__s { grid-area: auto; }
html:not(.js) .dashes, html:not(.js) .stmts__eyebrow { display: none; }

/* ═══ OVERVIEW / ABOUT STRIP ═══ */
.overview { position: relative; z-index: 1; background: #fff; padding: clamp(96px, 12vw, 180px) 0 clamp(96px, 12vw, 180px); }
.overview__grid { display: grid; grid-template-columns: minmax(240px, 0.34fr) 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.overview__grid .fill { margin-top: 24px; }
.overview__more { margin-top: clamp(32px, 4vw, 48px); }

/* ═══ SIGNATURE SCENE: how we build ═══ */
.build { position: relative; z-index: 1; background: #fff; }
.build__pin { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.build__accent { position: absolute; inset: 0; background: var(--blue); clip-path: inset(38% 40% 34% 40% round 20px); }
.build__accent .dots { position: absolute; inset: 0; }
/* Media box: same insets as the accent's clip-path, tweened together in buildScene(), so the picture scales with the block
   (the clip-path supplies the rounded corners). The video sits on the still and fades in once it is really playing. */
.build__media { position: absolute; inset: 38% 40% 34% 40%; }
.build__media img, .build__media video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.build__media video { opacity: 0; transition: opacity 0.3s linear; pointer-events: none; }
.build__accent.is-playing .build__media video { opacity: 1; }
.build__head { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; padding-top: calc(var(--nav-h) + 16px); }
.build__head .h-section { margin-top: 14px; }
.build__head .lede { max-width: 38ch; }
.build__floor { --pop: var(--ink); position: absolute; z-index: 2; left: 50%; bottom: 0; translate: -50% 0; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: clamp(10px, 1.4vw, 22px); width: min(1100px, calc(100% - 2 * var(--gutter))); height: 66%; }
.bcol { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.bcol__item { position: relative; width: 100%; }
.podium { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; padding: clamp(12px, 1.4vw, 20px); border-radius: 14px 14px 0 0; color: #fff; }
.podium b { font-size: clamp(0.95rem, 1.4vw, 1.25rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.podium span { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; opacity: 0.7; }
.podium--black { background: var(--ink); }
.podium--blue { background: var(--blue); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.podium--indigo { background: var(--indigo); }
.bcol--1 .podium { height: 18%; }
.bcol--2 .podium { height: 25%; }
.bcol--3 .podium { height: 32%; }
.bcol--4 .podium { height: 39%; }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; white-space: nowrap; box-shadow: 3px 4px 0 0 var(--pop); }
.chip--blue { background: var(--blue); color: #fff; }
/* Building blocks on the pedestals (stories in js/site.js buildScene()). Everything here is the final, settled state:
   --x / --y place a block in block units from the pedestal's top centre; the script only moves transforms and opacity. */
.blocks { --bk: clamp(32px, 5.6vh, 46px); --u: calc(var(--bk) + 4px); --bk-r: calc(var(--bk) * 0.22); --bk-light: var(--hair); position: relative; width: 100%; height: calc(var(--u) * 4); pointer-events: none; }
.bk { position: absolute; left: calc(50% - var(--bk) / 2 + var(--x, 0) * var(--u)); bottom: calc(var(--y, 0) * var(--u)); width: var(--bk); height: var(--bk); border-radius: var(--bk-r); background: var(--c); rotate: var(--r, 0deg); }
.bk--blue { --c: var(--blue); }
.bk--indigo { --c: var(--indigo); }
.bk--ink { --c: var(--ink); }
.bk--light { --c: var(--bk-light); }
.bk--circle { border-radius: 50%; }
.bk--arch { border-radius: calc(var(--bk) / 2) calc(var(--bk) / 2) var(--bk-r) var(--bk-r); }
.bk > i { position: absolute; inset: 0; border-radius: inherit; background: var(--c2); opacity: 0; }
.bk--ghost { border: 2px dashed rgba(10, 10, 10, 0.45); background: none; opacity: 0; }
.bk--ghost.bk--wait { border-color: var(--indigo); opacity: 1; }
.bk-guide { position: absolute; left: calc(50% - var(--bk) / 2 - 8px); bottom: 0; width: 2px; height: calc(var(--u) * 4.3); overflow: hidden; opacity: 0; }
.bk-guide i { display: block; height: 100%; border-left: 2px dashed rgba(10, 10, 10, 0.5); }
.bk-pole { position: absolute; left: calc(50% - 1.5px); bottom: calc(var(--u) * 4 - 4px); width: 3px; height: calc(var(--bk) * 1.15); border-radius: 2px; background: var(--ink); transform-origin: 50% 100%; }
.bk-flag { position: absolute; left: calc(50% + 1.5px); bottom: calc(var(--u) * 4 - 4px + var(--bk) * 0.62); width: calc(var(--bk) * 0.72); height: calc(var(--bk) * 0.5); border-radius: 2px 6px 6px 2px; background: var(--indigo); transform-origin: 0 50%; }
.bk-live { right: calc(50% + var(--bk) / 2 + 10px); bottom: calc(var(--u) * 3.1); }

/* ═══ FEATURED PROJECT DEEP-DIVE (blue) ═══ */
.dive { --pop: var(--ink); position: relative; z-index: 1; overflow: hidden; background: var(--blue); color: #fff; padding: clamp(96px, 11vw, 170px) 0 calc(clamp(96px, 11vw, 170px) + var(--curve)); }
.dive__art { position: absolute; inset: 0; pointer-events: none; }
.dive__art svg { position: absolute; width: clamp(40px, 4vw, 68px); height: auto; overflow: visible; color: rgba(255, 255, 255, 0.16); }
.dive__art .dive__wide { width: clamp(54px, 5.2vw, 90px); }.dive .wrap { position: relative; }
.dive__intro { display: grid; grid-template-columns: 1fr minmax(260px, 0.42fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.dive__intro .h-3 { max-width: 22ch; margin-top: 22px; }
.dive__intro .body { margin-top: 16px; }
.chunky { font-size: clamp(2.75rem, 8.4vw, 8.5rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.045em; text-align: right; }
.chunky--left { text-align: left; }
.dive .chunky { margin: clamp(80px, 10vw, 150px) 0 clamp(32px, 4vw, 56px); }
.dive__title { margin: 18px 0 0; text-align: left; }
.frame { position: relative; padding: clamp(14px, 2.2vw, 32px); border-radius: 18px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.frame--light { background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair); }
.tab { position: absolute; left: clamp(14px, 2.2vw, 32px); top: 0; translate: 0 -50%; z-index: 2; padding: 5px 13px; border: var(--line); border-radius: 999px; background: #fff; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; box-shadow: 2px 3px 0 0 var(--pop); }
.frame--light .tab { background: var(--blue); color: #fff; }
.browser { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--hair); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--hair); }
.browser__bar span { margin-left: 12px; font-size: 12px; font-weight: 700; color: var(--grey); }
.browser__shot { aspect-ratio: 1918 / 937; }
.browser iframe { display: block; width: 100%; height: min(78vh, 760px); border: 0; background: #fff; }
.browser__shot img { width: 100%; height: 100%; object-fit: cover; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 3vw, 48px); max-width: 920px; margin: 0 auto; }
/* These screenshots are 315x685, taller than the default phone frame, so the frame takes their ratio and nothing is cropped */
.phones .phone { aspect-ratio: 315 / 685; }
.phones .phone:nth-child(2) { translate: 0 clamp(16px, 4vw, 56px); }
.dive__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(64px, 8vw, 120px); padding-top: 28px; border-top: 1px solid var(--on-dark-hair); }
.dive__cta p { max-width: 52ch; color: var(--on-dark-muted); }
.dive__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

/* Interactive screen browser */
.demo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 2px 24px; cursor: grab; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-drag { cursor: grabbing; scroll-snap-type: none; }
.carousel .phone { flex: 0 0 clamp(170px, 19vw, 250px); scroll-snap-align: start; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 20px 50px rgba(0, 0, 0, 0.25); }
.carousel img { pointer-events: none; user-select: none; -webkit-user-drag: none; }
.demo__title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.demo__info p { margin-top: 12px; color: var(--on-dark-muted); }
.demo__ctrl { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.demo__btn { position: relative; top: 0; left: 0; display: grid; place-items: center; width: 52px; height: 52px; border: var(--line); border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 3px 4px 0 0 var(--pop); transition: background-color 0.3s, color 0.3s, top 0.14s ease, left 0.14s ease, box-shadow 0.14s ease; }
.demo__btn:hover { background: var(--indigo); color: #fff; }
.demo__btn:active { top: 4px; left: 3px; box-shadow: 0 0 0 0 var(--pop); }
.demo__btn svg { width: 16px; height: 16px; }
.demo__btn--prev svg { transform: rotate(180deg); }
.demo__count { min-width: 64px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.demo__bar { position: relative; height: 2px; margin-top: 22px; background: var(--on-dark-hair); }
.demo__bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0.16); transition: transform 0.5s var(--ease); }
.frame--light .demo__info p { color: var(--grey); }
.frame--light .demo__btn { background: var(--blue); color: #fff; }
.frame--light .demo__btn:hover { background: var(--indigo); }
.frame--light .demo__bar { background: var(--hair); }
.frame--light .demo__bar i { background: var(--blue); }
.frame--light .carousel .phone { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 20px 50px rgba(0, 0, 0, 0.12); }

/* ═══ SELECTED WORK ═══ */
.work { background: #fff; padding-bottom: calc(clamp(96px, 11vw, 170px) + var(--curve)); }
.work__intro { position: relative; display: grid; place-items: center; height: clamp(520px, 92vh, 980px); overflow: clip; }
.work__title { position: relative; z-index: 1; font-size: clamp(4rem, 17.5vw, 17.5rem); font-weight: 900; line-height: 0.84; letter-spacing: -0.055em; color: var(--blue); text-align: center; white-space: nowrap; }
.work__float { position: absolute; z-index: 2; left: 50%; top: 50%; display: block; width: clamp(180px, 17vw, 280px); translate: -50% -50%; }
.work__float .phone { box-shadow: 0 40px 90px rgba(0, 0, 0, 0.28); }
.work__float .chip { left: -18%; bottom: 14%; }

.rows { list-style: none; border-top: 1px solid var(--hair); }
.prow { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.45fr) minmax(0, 1.2fr) minmax(0, 0.9fr) 46px; gap: 24px; align-items: center; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.prow::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform 0.55s var(--ease); }
.prow:hover::before, .prow:focus-visible::before { transform: none; }
.prow__idx { font-size: 13px; font-weight: 800; color: var(--grey); }
.prow__name { font-size: clamp(1.5rem, 2.6vw, 2.5rem); font-weight: 900; line-height: 1; letter-spacing: -0.035em; transition: color 0.4s, transform 0.55s var(--ease); }
.prow:hover .prow__name { color: var(--blue); transform: translateX(8px); }
.prow__desc { color: var(--grey); font-size: 16px; line-height: 1.45; }
.prow__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.prow__tags span, .tag { padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair); font-size: 12px; font-weight: 700; color: var(--grey); white-space: nowrap; }
.is-dark .tag { box-shadow: inset 0 0 0 1px var(--on-dark-hair); color: var(--on-dark-muted); }
.prow__go { position: static; transform: scale(0.9); }
.prow .badge { position: static; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 28px); align-items: start; }
.pair__fig { display: block; text-decoration: none; }
.pair__fig .media { aspect-ratio: 4 / 5; }
.pair__media { display: grid; place-items: center; background: var(--paper); }
.pair__media--blue { background: var(--blue); }
.pair__media--ink { background: var(--ink); }
.pair__media:has(.pair__overlay) { container-type: inline-size; }
.pair__overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 6%; background: linear-gradient(rgba(118, 117, 117, 0.653), rgba(0, 0, 0, 0.6)); color: #fff; font-family: 'Playfair Display', serif; font-size: 14cqw; font-weight: 600; line-height: 1.1; text-align: center; }
.pair__media .phone { width: 44%; transition: transform 0.9s var(--ease); }
a:hover .pair__media .phone { transform: translateY(-10px) rotate(-1.5deg); }
.pair__fig:nth-child(2) { margin-top: clamp(40px, 8vw, 140px); }
.pair-wrap { margin-top: clamp(80px, 10vw, 150px); }
.work__more { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(48px, 6vw, 80px); }

/* ═══ SERVICES (cards) ═══ */
.services { position: relative; z-index: 1; background: var(--paper); padding: calc(clamp(72px, 8vw, 120px) + var(--curve) * 0.5) 0 calc(clamp(56px, 6vw, 96px) + var(--curve)); }
/* Service cards are the hero's service ticket at full size: same outline, notches, stub and perforation
   (shell shared with .ticket above). The hard shadow is a drop-shadow on the grid, so it follows the notches. */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 26px); filter: drop-shadow(4px 5px 0 var(--pop)); }
.svc { display: flex; flex-direction: column; gap: 20px; padding: 14px clamp(20px, 2.2vw, 30px) clamp(22px, 2.4vw, 30px); }
/* The perforation: JS draws it in from the left (it reuses the old top-rule hook) */
.svc__rule { transform-origin: left; }
.svc__title { margin-top: 16px; font-size: clamp(1.9rem, 2.8vw, 2.75rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.035em; color: var(--indigo); }
.svc__desc { color: var(--grey); font-size: 16px; }
.svc__list { display: grid; gap: 6px; margin-top: auto; list-style: none; }
.svc__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--paper); font-size: 15px; font-weight: 600; }
.svc__row::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--blue); }
/* Two-part sticker button: label + arrow square, pressed down together */
.cta-bar { position: relative; top: 0; left: 0; display: flex; gap: 6px; height: 54px; margin: 0 4px 5px 0; text-decoration: none; color: #fff; filter: drop-shadow(3px 4px 0 var(--pop)); transition: top 0.14s ease, left 0.14s ease, filter 0.14s ease; }
.cta-bar:hover, .cta-bar:focus-visible { top: -1px; left: -1px; filter: drop-shadow(4px 5px 0 var(--pop)); }
.cta-bar:active { top: 4px; left: 3px; filter: drop-shadow(0 0 0 var(--pop)); }
.cta-bar__label { flex: 1; display: flex; align-items: center; padding: 0 18px; overflow: hidden; border: var(--line); border-radius: 12px; background: var(--blue); font-size: 15px; font-weight: 800; }
.cta-bar__sq { display: grid; place-items: center; width: 54px; overflow: hidden; border: var(--line); border-radius: 12px; background: var(--blue); transition: background-color 0.3s; }
.cta-bar__sq svg { grid-area: 1 / 1; width: 16px; height: 16px; transition: transform 0.55s var(--ease); }
.cta-bar__sq svg + svg { transform: translate(-170%, 170%); }
.cta-bar:hover .cta-bar__sq, .cta-bar:focus-visible .cta-bar__sq { background: var(--indigo); }
.cta-bar:hover .cta-bar__sq svg:first-child { transform: translate(170%, -170%); }
.cta-bar:hover .cta-bar__sq svg + svg { transform: none; }
.services__more { margin-top: clamp(32px, 4vw, 56px); }

/* ═══ PRICING ROWS (accordion) ═══ */
.pricing { position: relative; z-index: 1; background: #fff; padding: calc(clamp(72px, 8vw, 124px) + var(--curve) * 0.4) 0 clamp(80px, 9vw, 140px); }
.prices { border-top: 1px solid var(--hair); }
.price { position: relative; border-bottom: 1px solid var(--hair); }
/* The open row lifts onto a sticker card */
.price__bg { position: absolute; inset: 0 calc(var(--gutter) * -0.5); z-index: 0; border: var(--line); border-radius: 16px; background: #fff; box-shadow: 4px 5px 0 0 var(--pop); opacity: 0; transition: opacity 0.5s var(--ease); }
.price.is-open .price__bg { opacity: 1; }
.price__row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto 40px; gap: 24px; align-items: center; width: 100%; padding: clamp(22px, 2.6vw, 34px) 0; text-align: left; }
.price__name { font-size: clamp(1.5rem, 2.8vw, 2.6rem); font-weight: 900; line-height: 1; letter-spacing: -0.035em; }
.price__desc { color: var(--grey); font-size: 16px; }
.price__from { font-size: 14px; font-weight: 700; color: var(--grey); white-space: nowrap; }
.price__from b { margin-left: 4px; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 900; letter-spacing: -0.02em; color: var(--blue); }
.price__icon { position: relative; justify-self: end; width: 40px; height: 40px; border: var(--line); border-radius: 50%; background: #fff; transition: background-color 0.4s, transform 0.55s var(--ease); }
.price__icon::before, .price__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 1px; background: currentColor; transition: transform 0.55s var(--ease); }
.price__icon::after { transform: rotate(90deg); }
.price.is-open .price__icon { background: var(--blue); color: #fff; transform: rotate(180deg); }
.price.is-open .price__icon::after { transform: rotate(0deg); }
.price__panel { position: relative; z-index: 1; height: 0; overflow: hidden; }
.price.is-open .price__panel { height: auto; }
.price__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 0 clamp(24px, 3vw, 36px); }
.price__cols h3 { margin-bottom: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); }
.price__cols p, .price__cols li { color: var(--grey); font-size: 15px; }
.price__cols ul { list-style: none; display: grid; gap: 4px; }
.pricing__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; margin-top: clamp(36px, 4vw, 56px); }
.pricing__note { max-width: 62ch; color: var(--grey); font-size: 15px; }
.pricing:has(+ [data-curve]) { padding-bottom: calc(clamp(80px, 9vw, 140px) + var(--curve)); }

/* ═══ FULL-BLEED STORY MOMENT ═══ */
.story { position: relative; z-index: 1; background: #fff; }
.story__pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; }
.story__layer { position: absolute; inset: 0; overflow: hidden; }
.story__layer--a { clip-path: inset(10% 7% 10% 7% round 16px); }
.story__layer--b { clip-path: inset(30% 12% 30% 64% round 14px); }
.story__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.72) 100%); opacity: 0; }
.story__eyebrow { position: absolute; left: var(--gutter); top: calc(var(--nav-h) + 24px); color: rgba(255, 255, 255, 0.8); opacity: 0; }
.story__heads { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 6vh, 72px); display: grid; }
.story__h { grid-area: 1 / 1; align-self: end; font-size: clamp(3.25rem, 11vw, 11.5rem); font-weight: 900; line-height: 0.86; letter-spacing: -0.05em; }
.story__h .sl { display: block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.story__h .sl > span { display: block; }
.story__p { position: absolute; right: var(--gutter); bottom: clamp(40px, 7vh, 84px); max-width: 30ch; font-size: 15px; color: rgba(255, 255, 255, 0.85); opacity: 0; }

/* ── Illustrated story scenes (markup and motion: js/story-scenes.js) ──
   The scene box keeps a fixed 16:9 shape (no layout shift), is sized so the art always fits the width,
   and is anchored to the left edge so nothing drifts or crops as the card opens. */
.story__layer--a { background: var(--blue); }
.story__layer--b { background: var(--indigo); }
.story__shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.34) 100%); }
.story__scene { position: absolute; left: 0; top: 50%; width: min(98.77vw, 195vh); width: min(98.77vw, 195svh); aspect-ratio: 16 / 9; translate: 0 -50%; transform-origin: 0 50%; }
.sv { display: block; width: 100%; height: 100%; overflow: visible; font-family: inherit;
    --ln: #000; --halo: #fff; --paper: #fff; --dark: #000; --ht: #000; --ink: #0a0a0a; --mid: #b7bccb; --soft: #edeffa;
    --a1: #1446aa; --a2: #4634e8; --pw: #fff; --pk: #fff; --pa: #4634e8; --pln: #000; --plw: 4.5;
    --k0: #0a0a0a; --k1: #1446aa; --k2: #4634e8; --k3: #a5abc0; --ka: rgba(255, 255, 255, 0.75); --bulb: #fff; --badge: #fff; --lw: 4.5; }
.sv .o { stroke: var(--ln); stroke-width: var(--lw); stroke-linecap: round; stroke-linejoin: round; }
.sv .n { fill: none; }
.sv .fl, .sv .fh { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sv .fl { stroke: var(--ln); }
.sv .fh { stroke: var(--halo); }
.sv .f-dark { fill: var(--dark); } .sv .f-ink { fill: var(--ink); }
.sv .f-mid { fill: var(--mid); } .sv .f-soft { fill: var(--soft); } .sv .f-a1 { fill: var(--a1); } .sv .f-a2 { fill: var(--a2); } .sv .f-bulb { fill: var(--bulb); }
.sv .b1 { fill: #1446aa; } .sv .b2 { fill: #4634e8; }
.sv .ring { stroke: var(--ln); stroke-width: var(--lw); }
.sv .htd { fill: var(--ht); }
.sv .bd-dots { opacity: 0.16; }
.sv .fil { stroke: var(--a2); stroke-width: 4; stroke-linecap: round; }
.sv .t { font-weight: 800; fill: var(--ink); }
/* screens */
.sv .pn { stroke: var(--pln); stroke-width: var(--plw); stroke-linejoin: round; }
.sv .pn--w { fill: var(--pw); } .sv .pn--k { fill: var(--pk); } .sv .pn--a { fill: var(--pa); }
.sv .dot { fill: var(--k3); }
.sv .pn--a ~ .dot { fill: var(--ka); }
.sv .cb { fill: none; stroke-linecap: round; }
.sv .k0 { stroke: var(--k0); } .sv .k1 { stroke: var(--k1); } .sv .k2 { stroke: var(--k2); } .sv .k3 { stroke: var(--k3); } .sv .ka { stroke: var(--ka); }
.sv .glyph { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.sv .sv-rule { fill: none; stroke: var(--soft); stroke-width: 2.5; }
.sv .trk { fill: none; stroke: var(--paper); stroke-width: 10; stroke-linecap: round; opacity: 0.35; }
.sv .trk-fill { fill: none; stroke: var(--paper); stroke-width: 10; stroke-linecap: round; }
.sv .cur { fill: #fff; stroke: #000; stroke-width: 3; stroke-linejoin: round; }
.sv .click { fill: none; stroke: var(--a2); stroke-width: 5; }
.sv .sv-badge { fill: var(--badge); stroke: var(--ln); stroke-width: var(--lw); }

/* idle loops: each lives on its own wrapper, so it layers on top of the scroll-driven beats; paused while off screen */
.sv .i { transform-box: fill-box; transform-origin: 50% 50%; }
.sv .i-bob1 { animation: sv-bob 5.6s ease-in-out infinite; }
.sv .i-bob2 { animation: sv-bob 6.4s ease-in-out -2.1s infinite; }
.sv .i-bob3 { animation: sv-bob 5s ease-in-out -3.4s infinite; }
.sv .i-bob4 { animation: sv-bob 7s ease-in-out -1.2s infinite; }
.story:not(.is-live) .sv .i { animation-play-state: paused; }
@keyframes sv-bob { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }

/* ═══ CLOSING CTA (black) ═══ */
.closing { position: relative; overflow: hidden; background: #000; color: #fff; }
.closing__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.7) 55%, rgba(0, 0, 0, 0) 100%), radial-gradient(ellipse 60% 50% at 15% 100%, rgba(20, 70, 170, 0.35), transparent 70%), radial-gradient(ellipse 50% 40% at 90% 0%, rgba(70, 52, 232, 0.22), transparent 70%); }
.closing__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; min-height: 100vh; min-height: 100svh; justify-content: center; padding-top: calc(var(--curve) + 120px); padding-bottom: 120px; text-align: center; }
.closing__title { max-width: 13ch; margin-top: 24px; font-size: clamp(3rem, 8.6vw, 8.75rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.045em; }
.closing__sub { max-width: 46ch; margin-top: 28px; color: var(--on-dark-muted); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.closing__email { margin-top: clamp(40px, 5vw, 64px); font-size: clamp(1.4rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 4px; transition: background-size 0.6s var(--ease); }
.closing__email:hover, .closing__email:focus-visible { background-size: 100% 2px; }
.closing__note { margin-top: 16px; font-size: 14px; color: var(--on-dark-muted); }

/* ═══ PAGE HEADERS (inner pages) ═══ */
.page-hero { position: relative; overflow: hidden; background: var(--paper); padding: calc(var(--nav-h) + clamp(56px, 9vw, 140px)) 0 calc(clamp(64px, 8vw, 120px) + var(--curve)); }
.page-hero .hero__blobs { opacity: 0.9; }
.page-hero .wrap { position: relative; }
.page-hero__title { margin-top: 22px; color: var(--blue); }
.page-hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; margin-top: clamp(28px, 3vw, 44px); }
.page-hero .lede { color: var(--grey); }
.sheet { position: relative; z-index: 1; background: #fff; padding: clamp(72px, 8vw, 124px) 0; }
.sheet--paper { background: var(--paper); }
.sheet--tight { padding-top: clamp(56px, 7vw, 100px); }
.sheet[data-curve] { padding-top: calc(clamp(64px, 7vw, 110px) + var(--curve) * 0.4); }
/* A sheet followed by a curved sheet leaves room for the overlap */
.sheet--pad-curve, .sheet:has(+ [data-curve]), .sheet:has(+ [data-curve-m]) { padding-bottom: calc(clamp(64px, 7vw, 110px) + var(--curve)); }
.work--page { position: relative; overflow: hidden; background: var(--paper); padding-top: var(--nav-h); }
.work--page .work__intro { height: clamp(520px, 86vh, 920px); }
.work--page .sec-head { align-items: baseline; }
.split { display: grid; grid-template-columns: minmax(240px, 0.34fr) 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.split .h-section { font-size: clamp(2.25rem, 4.4vw, 4.25rem); }
/* First sections own their stacking context, so nothing inside them paints over the sheet that rises next */
.hero, .page-hero, .case-intro, .work--page, .contact-hero { position: relative; isolation: isolate; }

/* About: community impact */
.impact { --pop: var(--ink); position: relative; overflow: hidden; padding: calc(clamp(96px, 11vw, 170px) + var(--curve) * 0.5) 0 calc(clamp(96px, 11vw, 170px) + var(--curve)); background: var(--blue); }
.impact__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.impact__gallery { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; margin-top: clamp(48px, 6vw, 88px); }
.impact__gallery .media { height: clamp(220px, 30vw, 440px); background: #fff; }
.impact__gallery .media img { object-fit: cover; }
.impact__gallery .media--contain img { object-fit: contain; padding: 12%; }

/* Process tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: clamp(300px, 30vw, 420px); padding: clamp(20px, 2.4vw, 34px); color: #fff; }
.tile::before { content: ""; position: absolute; inset: 10px; pointer-events: none; --mk: rgba(255, 255, 255, 0.5); background: linear-gradient(var(--mk), var(--mk)) 0 0 / 5px 5px no-repeat, linear-gradient(var(--mk), var(--mk)) 100% 0 / 5px 5px no-repeat, linear-gradient(var(--mk), var(--mk)) 0 100% / 5px 5px no-repeat, linear-gradient(var(--mk), var(--mk)) 100% 100% / 5px 5px no-repeat; }
.tile--blue { background: var(--blue); }
.tile--ink { background: var(--ink); }
.tile--indigo { background: var(--indigo); }
.tile--white { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); }
.tile--white::before { --mk: rgba(0, 0, 0, 0.35); }
.tile__num { font-size: clamp(3.5rem, 6.5vw, 6.5rem); font-weight: 900; line-height: 0.85; letter-spacing: -0.05em; }
.tile h3 { margin-bottom: 10px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.tile p { max-width: 34ch; font-size: 15px; line-height: 1.55; opacity: 0.85; }

/* Services page: service accordion reuses .price rows; FAQ */
.svc-rows .price__name { font-size: clamp(1.4rem, 2.5vw, 2.3rem); }
.svc-rows .price__from b { font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
.faq .price__name { font-size: clamp(1.15rem, 1.9vw, 1.65rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.faq .price__row { grid-template-columns: minmax(0, 1fr) 40px; }
.faq .price__cols { grid-template-columns: minmax(0, 760px); }
.faq .price__cols p + p, .faq .price__cols p + ul, .faq .price__cols ul + p { margin-top: 10px; }
.faq .price__cols li { padding-left: 16px; position: relative; }
.faq .price__cols li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* Work page: project blocks */
.proj { padding: clamp(56px, 7vw, 110px) 0; border-top: 1px solid var(--hair); }
.proj__head { display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: baseline; margin-bottom: clamp(28px, 3vw, 44px); }
.proj__head .prow__idx { align-self: start; padding-top: 0.9em; }
.proj__name { font-size: clamp(2rem, 4.4vw, 4.2rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.04em; }
.proj__desc { margin-top: 12px; max-width: 52ch; color: var(--grey); }
.proj .prow__tags { margin-top: 16px; }

/* ═══ CASE STUDY ═══ */
.case-intro { position: relative; background: var(--paper); padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 110px)); overflow: hidden; }
.case-intro .wrap { position: relative; }
.case-intro__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.case-intro__title { margin-top: 18px; color: #000; }
.case-intro__sub { margin-top: 18px; font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 700; color: var(--ink); max-width: 40ch; }
.expand { position: relative; margin-top: clamp(40px, 5vw, 72px); height: 100vh; height: 100svh; min-height: 560px; }
.expand__clip { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 var(--gutter) 6% var(--gutter) round 16px); background: var(--blue); }
.expand__in { position: absolute; inset: 0; }
.expand__in > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.expand__phones { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: center; gap: clamp(14px, 3vw, 48px); width: min(780px, 82%); height: 100%; margin: 0 auto; }
.expand__phones .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 30px 80px rgba(0, 0, 0, 0.35); }
.expand__phones .phone:not(.phone--main) { opacity: 0.92; }
.expand__cap { position: absolute; left: calc(var(--gutter) + 18px); right: calc(var(--gutter) + 18px); bottom: calc(6% + 16px); z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #fff; font-size: 13px; font-weight: 700; }
.expand__cap .pill { height: 40px; }
.design-shot img { height: auto; }
.vis { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 7vw, 120px); align-items: center; }
.vis__title { margin-top: 18px; color: var(--blue); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; }
.vis .body { margin-top: 18px; color: var(--grey); }
.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.swatch { display: flex; align-items: flex-end; aspect-ratio: 3 / 2; padding: clamp(10px, 1.8vw, 24px); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
/* minmax(0, …): a plain 1fr column can't shrink below its content, which pushed 320px phones sideways */
@media (max-width: 767px) { .vis { grid-template-columns: minmax(0, 1fr); } }
.case-over { padding: clamp(80px, 10vw, 150px) 0; }
.case-over .split .h-3 { max-width: 24ch; }
.case-over .body { margin-top: 18px; }
.names { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; list-style: none; }
.names .meta__item { grid-template-columns: 1fr; font-weight: 700; }
.names .meta__item:nth-child(-n+3)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair); }
.case-intro .wrap + .expand { margin-top: clamp(40px, 5vw, 72px); }
.expand__in > .expand__phones { margin: 0 auto; }
.expand[data-nav="light"] .expand__clip { background: var(--blue); }
.case-next { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--hair); text-decoration: none; }
.case-next__name { display: block; margin-top: 12px; font-size: clamp(2.25rem, 6vw, 5.5rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.045em; transition: color 0.4s; }
.case-next:hover .case-next__name { color: var(--blue); }
.case-next .media { width: clamp(120px, 14vw, 200px); aspect-ratio: 4 / 5; flex: none; }
.logo-card { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 32px; border: var(--line); border-radius: 16px; background: var(--ink); color: #fff; text-align: center; box-shadow: 4px 5px 0 0 var(--pop); }
.logo-card span { font-size: clamp(1.5rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -0.03em; }
.logo-card p { margin-top: 10px; color: var(--on-dark-muted); font-size: 15px; max-width: 36ch; }

/* ═══ CONTACT ═══ */
.contact-hero { position: relative; overflow: hidden; background: #000; color: #fff; padding: calc(var(--nav-h) + clamp(56px, 8vw, 120px)) 0 calc(clamp(64px, 8vw, 110px) + var(--curve)); }
.contact-hero .closing__glow { background: radial-gradient(ellipse 60% 70% at 30% 40%, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.1) 100%); }
.contact-hero .wrap { position: relative; z-index: 1; }
.contact-hero__title { margin-top: 22px; }
.next-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: clamp(28px, 3vw, 44px); font-weight: 700; }
.next-steps li { display: inline-flex; align-items: center; gap: 10px; list-style: none; }
.next-steps b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--blue); font-size: 12px; }
.next-steps svg { width: 14px; height: 14px; opacity: 0.6; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: clamp(48px, 8vw, 140px); align-items: start; }
.form { display: grid; gap: clamp(26px, 3vw, 36px); }
.field { display: grid; gap: 10px; }
.field label, .field legend { font-size: 11px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 12px 0;
    border: 0;
    border-bottom: 1.5px solid var(--hair);
    border-radius: 0;
    background: transparent;
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    font-weight: 600;
    transition: border-color 0.4s var(--ease);
    appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--grey-light); font-weight: 400; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--blue); }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231446aa' stroke-width='1.6'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat; padding-right: 28px; cursor: pointer; }
fieldset.field { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 700; color: var(--ink); }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: var(--line); border-radius: 999px; background: #fff; box-shadow: 0 0 0 0 var(--pop); cursor: pointer; transition: background-color 0.2s, color 0.2s, box-shadow 0.14s ease; }
.chips input:checked + span { background: var(--blue); color: #fff; box-shadow: 3px 4px 0 0 var(--pop); }
.chips input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.form__note { font-size: 14px; color: var(--grey); max-width: 36ch; }
.file-drop { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border: 2px dashed rgba(10, 10, 10, 0.5); border-radius: 12px; background: var(--paper); cursor: pointer; font-weight: 600; }
.file-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-drop span:first-child { color: var(--grey); }
.file-drop span:last-child { color: var(--blue); font-weight: 800; }
.aside { display: grid; gap: 0; }
.aside .meta__item { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
.aside .meta__item dd { font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.aside a { text-decoration: none; }

/* Careers */
.roles { list-style: none; border-top: 1px solid var(--hair); }
.role { display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: center; padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--hair); }
.role__name { font-size: clamp(1.5rem, 2.8vw, 2.5rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1; }
.role__status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.role__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* Legal */
.legal { list-style: none; counter-reset: legal; border-top: 1px solid var(--hair); }
.legal li { display: grid; grid-template-columns: 64px minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 24px; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--hair); }
.legal__num { font-size: 13px; font-weight: 800; color: var(--blue); padding-top: 0.35em; }
.legal h2 { font-size: clamp(1.25rem, 1.9vw, 1.7rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.legal p { color: var(--grey); }
.legal a { color: var(--blue); font-weight: 700; }
.legal-meta { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--grey); }

/* ═══ PRE-ANIMATION STATES (only while JS runs and motion is allowed, so nothing flashes) ═══ */
@media (prefers-reduced-motion: no-preference) {
    .js .navbar-container { transform: translateY(-130%); }
    .js [data-reveal], .js [data-split], .js [data-chars], .js [data-meta] > *, .js [data-points] > *, .js [data-cards] > *, .js [data-frame] { visibility: hidden; }
    .js [data-img] { clip-path: inset(100% 0 0 0); }
    .js .hero [data-hero] { opacity: 0; }
    .js .stmts__s:not(:first-child) { visibility: hidden; }
    .js [data-tiles] > * { clip-path: inset(0 100% 0 0); }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .svc-grid { grid-template-columns: 1fr 1fr; }
    .svc-grid .svc:last-child { grid-column: 1 / -1; }
    .prow { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) 46px; }
    .prow__tags { display: none; }
    .tiles { grid-template-columns: 1fr 1fr; }
    .points--4 { grid-template-columns: 1fr 1fr; }
    .demo { grid-template-columns: 1fr; }
    .legal li { grid-template-columns: 48px 1fr; }
    .legal li p { grid-column: 2; }
}

@media (max-width: 767px) {
    :root { --nav-h: 80px; --curve: 16vw; }
    body { font-size: 16px; }
    .hero { min-height: 560px; }
    [data-curve-m] { position: relative; z-index: 1; margin-top: calc(var(--curve) * -1); }
    .stmts__pin { height: auto; display: block; padding: 120px var(--gutter) calc(120px + var(--curve)); }
    .stmts__stage { gap: 64px; margin: 0 auto; }
    .stmts__s { grid-area: auto; max-width: 14ch; }
    .stmts__eyebrow { position: static; translate: none; display: flex; justify-content: center; margin-bottom: 40px; }
    .dashes { display: none; }
    .overview__grid, .split, .contact-grid, .impact__head, .dive__intro { grid-template-columns: 1fr; }
    .build { padding-bottom: var(--curve); }
    .build__pin { height: auto; min-height: 0; padding-bottom: 0; }
    .build__head { padding-top: 24px; }
    .build__accent { display: none; }
    .build__floor { position: relative; left: auto; bottom: auto; translate: none; height: 420px; margin: 40px auto 0; grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .blocks { --bk: clamp(18px, 5.8vw, 28px); }
    .pricing { padding-bottom: calc(clamp(80px, 9vw, 140px) + var(--curve)); }
    .podium { padding: 8px; border-radius: 10px 10px 0 0; }
    .podium b { font-size: 11px; }
    .podium span { font-size: 10px; }
    .chip { font-size: 10px; padding: 6px 9px; }
    .chunky { text-align: left; }
    .phones { gap: 8px; }
    .work__intro { height: auto; padding: 72px 0 56px; display: block; text-align: center; }
    /* Work page header: the desktop height (86vh) left ~600px of empty space under the title on phones */
    .work--page { padding-bottom: var(--curve); }
    .work--page .work__intro { height: auto; padding: clamp(64px, 22vw, 120px) 0; }
    /* Buttons: a long label wraps onto two lines instead of pushing the page sideways (no hover roll on phones) */
    .pill { max-width: 100%; height: auto; min-height: 54px; padding-top: 5px; padding-bottom: 5px; white-space: normal; text-align: left; }
    .pill--sm { min-height: 44px; padding-top: 4px; padding-bottom: 4px; }
    .pill--lg { min-height: 64px; }
    .pill .roll { height: auto; overflow: visible; }
    .pill .roll__in { transform: none !important; }
    .pill .roll__in > span + span { display: none; }
    /* Process tiles stack: drop the desktop column height so each card isn't mostly empty */
    .tile { min-height: 0; gap: 56px; }
    .work__float { position: relative; left: auto; top: auto; translate: none; width: 52vw; margin: 36px auto 0; }
    .prow { grid-template-columns: 36px minmax(0, 1fr) 46px; gap: 14px; }
    .prow__desc { display: none; }
    .pair { grid-template-columns: 1fr; }
    .pair__fig:nth-child(2) { margin-top: 0; }
    .svc-grid { grid-template-columns: 1fr; }
    .svc-grid .svc:last-child { grid-column: auto; }
    .price__bg { inset: 0 -10px; }
    .price__row { grid-template-columns: minmax(0, 1fr) auto 40px; gap: 12px; }
    .price__desc { grid-column: 1 / -1; grid-row: 2; }
    .price__cols { grid-template-columns: 1fr; gap: 16px; }
    .story__pin { height: auto; min-height: 0; }
    .story__layer { position: relative; height: 82svh; min-height: 440px; clip-path: none; }
    .story__layer--b { display: none; }
    .story__shade { opacity: 1; }
    .story__h--b { display: none; }
    .story__eyebrow { opacity: 1; }
    .story__p { display: none; }
    /* illustrated scenes: a cropped window onto the art; scene 2 fades in over scene 1 */
    .story__scene { left: -26.9vw; top: calc(57.4svh - 105.8vw); width: 307.7vw; translate: none; }
    .story--swap .story__layer--b { display: block; position: absolute; left: 0; right: 0; top: 0; }
    .story--swap .story__h--b { display: block; }
    .sv .i-bob1, .sv .i-bob2, .sv .i-bob3, .sv .i-bob4 { animation: none; }
    .tiles { grid-template-columns: 1fr; }
    .points, .points--4 { grid-template-columns: 1fr; }
    .impact__gallery { grid-template-columns: 1fr; }
    .names { grid-template-columns: 1fr 1fr; }
    .proj__head { grid-template-columns: 1fr; gap: 8px; }
    .proj__head .prow__idx { padding-top: 0; }
    .role { grid-template-columns: 36px 1fr; }
    .role__status { grid-column: 2; justify-self: start; }
    .legal li { grid-template-columns: 1fr; gap: 10px; }
    .legal li p { grid-column: auto; }
    .expand { height: 72svh; min-height: 460px; }
    .expand__phones { width: 92%; }
    .case-next .media { width: 96px; }
}

/* Reduced motion: no pinning, no scrubbing, everything in its final state */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    [data-curve] { margin-top: 0; }
    .build__accent { clip-path: none; position: relative; height: 0; }
    .build__pin { height: auto; min-height: 0; }
    .build__floor { position: relative; left: auto; bottom: auto; translate: none; height: 520px; margin: 48px auto 0; }
    .story__pin { height: auto; }
    .story__layer { position: relative; height: 90vh; clip-path: none; }
    .story__shade { opacity: 1; }
    .story__eyebrow, .story__p { opacity: 1; }
    .story__h--b, .story__layer--b { display: none; }
    .stmts__pin { height: auto; display: block; padding-top: 120px; padding-bottom: 120px; }
    .stmts__stage { display: grid; gap: 48px; margin: 0 auto; }
    .stmts__s { grid-area: auto; }
    .dashes, .stmts__eyebrow { display: none; }
    .expand__clip { clip-path: inset(0 var(--gutter) 0 var(--gutter) round 16px); }
}
