/* ==========================================================================
   LIVE AUDIO — design system
   Palette is deliberately narrow: white, brand red (#B30303), ink (#1E1E1E).
   No decorative gradients, no drop shadows. Structure comes from space,
   hairlines and type scale.
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root {
    --red: #b30303;
    --red-bright: #e11d1d;   /* the brand red loses too much on dark ground */
    --ink: #1e1e1e;
    --paper: #ffffff;
    --paper-2: #f4f5f7;
    --line: #e3e5e9;
    --line-strong: #cfd2d8;
    --muted: #6c6f76;

    --font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --gutter: clamp(20px, 4vw, 64px);
    --max: 1460px;
    --nav-h: 76px;

    --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: auto; /* Lenis owns scrolling */
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--red); color: #fff; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* --- layout primitives -------------------------------------------------- */
.wrap {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: clamp(96px, 12vw, 180px); }
.section--tight { padding-block: clamp(72px, 8vw, 120px); }

/* --- type --------------------------------------------------------------- */
.h2 {
    font-size: clamp(2.1rem, 4.6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.lede {
    font-size: clamp(1.05rem, 1.35vw, 1.3rem);
    line-height: 1.62;
    color: var(--muted);
    max-width: 56ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--red);
}

.eyebrow--plain::before { display: none; }

.num {
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .1em;
    color: var(--red);
}

/* <em> is used for emphasis in headlines; the display face has no true italic,
   so keep it upright and let colour carry the emphasis instead. */
.accent { color: var(--red); font-style: normal; }

/* --- buttons ------------------------------------------------------------ */
.btn {
    --btn-bg: var(--red);
    --btn-fg: #fff;
    --btn-bd: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 28px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 1px solid var(--btn-bd);
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.btn:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); }

.btn__arrow {
    width: 7px; height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .35s var(--ease);
}

.btn:hover .btn__arrow { transform: rotate(45deg) translate(2px, -2px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--onink { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--onink:hover { --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red); }

/* Text link with an underline that wipes in */
.tlink {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    padding-bottom: 3px;
    background-image: linear-gradient(var(--red), var(--red));
    background-repeat: no-repeat;
    background-size: 0 1.5px;
    background-position: 0 100%;
    transition: background-size .45s var(--ease), color .3s var(--ease);
}

.tlink:hover { background-size: 100% 1.5px; color: var(--red); }

/* --- navigation --------------------------------------------------------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid transparent;
}

/* Chrome state is applied from JS on the very first frame. Without gating the
   transition until after that frame, a page that opens part-way down animates
   its header in from transparent — which reads as a glitch on every nav. */
html.is-ready .nav {
    transition: background .4s var(--ease), border-color .4s var(--ease);
}

.nav.is-stuck {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: var(--line);
}

.nav__inner {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__logo img { height: 30px; width: auto; }
.footer__logo { height: 34px; width: auto; }

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

.nav__link {
    position: relative;
    font-family: var(--font-display);
    font-size: .93rem;
    font-weight: 500;
    color: var(--ink);
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1.5px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
}

.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--red); }

.nav__cta { padding: 11px 22px; font-size: .87rem; }

/* burger */
.burger {
    display: none;
    width: 44px; height: 44px;
    margin-right: -10px;
    background: none;
    border: 0;
    cursor: pointer;
    position: relative;
}

.burger span {
    position: absolute;
    left: 11px;
    width: 22px; height: 1.5px;
    background: var(--ink);
    transition: transform .4s var(--ease), opacity .25s var(--ease);
}

.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.is-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.is-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--paper);
    padding: calc(var(--nav-h) + 40px) var(--gutter) 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .7s var(--ease);
    pointer-events: none;
}

.is-open .mobile-menu { clip-path: inset(0 0 0 0); pointer-events: auto; }

.mobile-menu__link {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 9vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.is-open .mobile-menu__link { opacity: 1; transform: none; }
.is-open .mobile-menu__link:nth-child(1) { transition-delay: .16s; }
.is-open .mobile-menu__link:nth-child(2) { transition-delay: .22s; }
.is-open .mobile-menu__link:nth-child(3) { transition-delay: .28s; }
.is-open .mobile-menu__link:nth-child(4) { transition-delay: .34s; }

.mobile-menu__foot { font-size: .95rem; color: var(--muted); }
.mobile-menu__foot a { display: block; }

/* --- hero --------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-h) + 24px);
    padding-bottom: 40px;
    overflow: hidden;
}

.hero__grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
}

.hero__copy { max-width: 640px; }

.hero__title {
    margin-top: 22px;
    font-size: clamp(2.7rem, 4.6vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
}

.hero__title em { font-style: normal; color: var(--red); }

.hero__sub {
    margin-top: 26px;
    max-width: 46ch;
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    color: var(--muted);
    line-height: 1.6;
}

.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__facts {
    margin-top: 54px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 5vw, 56px);
}

.hero__fact strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.hero__fact span {
    display: block;
    margin-top: 6px;
    font-size: .82rem;
    color: var(--muted);
    letter-spacing: .01em;
}

/* the isometric scene — sized a little wider than its column so it bleeds
   into the page gutter; `.hero` clips the overflow */
.hero__scene {
    position: relative;
    width: 100%;
}

.hero__scene .scene { width: 108%; }

.scene {
    width: 100%;
    height: auto;
    overflow: hidden;   /* the viewBox is a deliberate crop — let it clip */
}

.scene text { font-family: var(--font-display); }

/* --- statement (line-masked reveal) ------------------------------------- */
.statement__text {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.6vw, 3.1rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.16;
    max-width: 20ch;
}

.statement__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 90px);
    align-items: end;
}

.statement__aside { padding-bottom: 8px; }
.statement__aside p { color: var(--muted); margin-bottom: 22px; }

.line { display: block; overflow: hidden; }
.line > span { display: block; }

/* --- scrollytelling build sequence -------------------------------------- */
.build { background: var(--ink); color: #fff; }
.build .eyebrow { color: rgba(255, 255, 255, .55); }
.build .eyebrow::before, .build .num { color: var(--red-bright); }
.build .eyebrow::before { background: var(--red-bright); }
.build__tick i { background: var(--red-bright); }

.build__pin {
    height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.build__grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
}

.build__label { display: block; margin-bottom: 30px; }

/* The five steps are stacked in one box and cross-faded. Only the first sits
   in normal flow; it sets the height the rest are measured against. */
.build__stack { position: relative; min-height: 300px; }

.build__step {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
}

.build__step:first-child { position: relative; opacity: 1; visibility: visible; }

.build__step h3 {
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-top: 14px;
}

.build__step p {
    margin-top: 18px;
    max-width: 38ch;
    color: rgba(255, 255, 255, .6);
    font-size: 1.03rem;
}

.build__step .num { font-size: .82rem; }

.build__progress {
    margin-top: 46px;
    display: flex;
    gap: 8px;
    width: 220px;
}

.build__tick {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, .18);
    position: relative;
    overflow: hidden;
}

.build__tick i {
    position: absolute;
    inset: 0;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
}

.build__stage { position: relative; }

.build .scene { --iso-ground: #2a2a2e; }

/* --- capability cards --------------------------------------------------- */
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }

.cap {
    position: relative;
    padding: 42px 30px 46px 0;
    border-bottom: 1px solid var(--line);
}

.cap + .cap { padding-left: 30px; border-left: 1px solid var(--line); }

.cap__idx {
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--line-strong);
}

.cap__icon { margin: 26px 0 30px; height: 56px; }
.cap__icon svg { height: 100%; width: auto; }

.cap h3 { font-size: 1.28rem; }
.cap p { margin-top: 12px; font-size: .95rem; color: var(--muted); max-width: 30ch; }

.cap::after {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    width: 100%; height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s var(--ease);
}

.cap:hover::after { transform: scaleX(1); }

/* --- horizontal gallery ------------------------------------------------- */
.gallery { overflow: hidden; }
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 54px; }

/* The track is moved by the pinned scroll timeline on desktop. Wherever that
   timeline does not run — narrow screens, reduced motion — the same track has
   to be reachable by hand, or every card past the first is unreachable. */
.gallery__viewport { overflow: hidden; }

@media (max-width: 980px), (prefers-reduced-motion: reduce) {
    .gallery__viewport {
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .gallery__viewport::-webkit-scrollbar { display: none; }
    .shot { scroll-snap-align: center; }
}

.gallery__track {
    display: flex;
    gap: clamp(16px, 2vw, 28px);
    padding-inline: var(--gutter);
    will-change: transform;
}

.shot {
    position: relative;
    flex: 0 0 auto;
    width: clamp(280px, 34vw, 520px);
}

.shot__frame {
    position: relative;
    overflow: hidden;
    background: var(--paper-2);
    aspect-ratio: 4 / 3;
}

.shot__frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 1s var(--ease), filter .7s var(--ease);
    filter: grayscale(1) contrast(1.04);
}

.shot:hover .shot__frame img { transform: scale(1); filter: grayscale(0) contrast(1); }

.shot__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; }
.shot__meta h3 { font-size: 1.08rem; font-weight: 600; }
.shot__meta span { font-size: .82rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; font-family: var(--font-display); }


/* --- counters ----------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat { background: var(--paper); padding: 44px 8px 46px; text-align: center; }

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
}

.stat span { display: block; margin-top: 12px; font-size: .85rem; color: var(--muted); }

/* --- CTA ---------------------------------------------------------------- */
.cta { background: var(--red); color: #fff; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.045em; max-width: 16ch; }
.cta p { margin-top: 22px; color: rgba(255, 255, 255, .8); max-width: 48ch; }
.cta__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--onink:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }

.cta__ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.cta__ghost:hover { --btn-bg: #fff; --btn-fg: var(--red); --btn-bd: #fff; }

/* --- footer ------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding-top: 84px; padding-bottom: 34px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__logo { height: 34px; width: auto; margin-bottom: 22px; }
.footer h4 { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .38); margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer a:hover { color: #fff; }
.footer strong { color: #fff; font-weight: 500; }

.footer__bottom {
    margin-top: 72px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: rgba(255, 255, 255, .42);
}

/* --- interior page header ----------------------------------------------- */
.page-head {
    padding-top: calc(var(--nav-h) + clamp(70px, 11vw, 150px));
    padding-bottom: clamp(48px, 7vw, 96px);
    border-bottom: 1px solid var(--line);
}

.page-head h1 { font-size: clamp(2.9rem, 8vw, 6.2rem); font-weight: 800; letter-spacing: -0.05em; }
.page-head .lede { margin-top: 26px; }

.crumbs { display: flex; gap: 10px; font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.crumbs span:last-child { color: var(--red); }

/* --- 404 ---------------------------------------------------------------- */
.notfound { padding-top: calc(var(--nav-h) + clamp(80px, 13vw, 170px)); padding-bottom: clamp(90px, 12vw, 170px); }
.notfound__code { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .22em; color: var(--red); }
.notfound h1 { margin-top: 20px; font-size: clamp(2.7rem, 6.6vw, 5.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.notfound .lede { margin-top: 26px; }

.notfound__links { margin-top: 52px; border-top: 1px solid var(--line); max-width: 620px; }
.notfound__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: color .3s var(--ease), padding-left .4s var(--ease);
}
.notfound__links a:hover { color: var(--red); padding-left: 10px; }
.notfound__help { margin-top: 40px; color: var(--muted); }

/* --- prose / about ------------------------------------------------------ */
.prose p { color: var(--muted); font-size: 1.06rem; line-height: 1.72; }
.prose p + p { margin-top: 22px; }
.prose strong { color: var(--ink); font-weight: 600; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }

.timeline { border-top: 1px solid var(--line); }
.timeline__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline__row dt { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--red); }
.timeline__row dd { margin: 0; color: var(--muted); }
.timeline__row dd b { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; letter-spacing: -0.02em; }

/* --- equipment list ----------------------------------------------------- */
/* The rule sits on the row, not the list, so it spans the same width as the
   hover tint — a border on .kit would stop short of the row's bleed. */
.kit__row:first-child { border-top: 1px solid var(--line); }

.kit__row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.55fr);
    gap: clamp(20px, 3vw, 44px);
    align-items: center;
    /* padded, then pulled back out, so the hover tint clears the text on both
       sides while the content stays aligned to the container */
    padding: 34px clamp(14px, 2vw, 26px);
    margin-inline: clamp(-26px, -2vw, -14px);
    border-bottom: 1px solid var(--line);
    transition: background-color .4s var(--ease);
}

/* Nothing moves on hover — the row tints and the index picks up the accent. */
.kit__row:hover { background-color: var(--paper-2); }
.kit__row:hover .kit__num { color: var(--red); }

.kit__num { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .12em; color: var(--line-strong); transition: color .4s var(--ease); }
.kit__row h3 { font-size: 1.4rem; }
.kit__row p { color: var(--muted); font-size: .95rem; }
.download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    padding: clamp(30px, 4vw, 52px);
    border: 1px solid var(--line);
}

.download h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.download p { margin-top: 10px; color: var(--muted); }
.download__state { font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

/* --- contact ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 90px); align-items: start; }

.info { border-top: 1px solid var(--line); }
.info__row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.info__row dt { font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.info__row dd { margin: 0; font-size: 1.1rem; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
.info__row dd small { display: block; font-family: var(--font-body); font-size: .9rem; font-weight: 400; color: var(--muted); margin-top: 4px; letter-spacing: 0; }

.map { border: 1px solid var(--line); overflow: hidden; }
.map iframe { display: block; width: 100%; height: clamp(360px, 52vh, 560px); border: 0; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease); }
.map:hover iframe { filter: none; }

/* --- reveal utilities --------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); }

/* --- back to top -------------------------------------------------------- */
.totop {
    position: fixed;
    right: 26px; bottom: 26px;
    z-index: 90;
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s var(--ease);
}

.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--red); }
.totop i { width: 8px; height: 8px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: rotate(-45deg) translate(-1px, 1px); }

/* --- responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
    .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cap:nth-child(odd) { padding-left: 0; border-left: 0; }
    .cap:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--line); }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px; }
}

@media (max-width: 980px) {
    .nav__menu, .nav__cta { display: none; }
    .burger { display: block; }

    .hero { min-height: auto; padding-bottom: 72px; }
    .hero__grid { grid-template-columns: 1fr; gap: 44px; }
    .hero__scene { order: -1; }
    .hero__scene .scene { width: 100%; }
    .hero__copy { max-width: none; }

    .build__pin { height: auto; padding-block: 96px; }
    .build__grid { grid-template-columns: 1fr; gap: 40px; }
    .build__steps { order: 2; }

    .statement__grid, .split, .contact-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kit__row { grid-template-columns: 44px minmax(0, 1fr); gap: 10px 20px; }
    .kit__row p { grid-column: 2; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .caps { grid-template-columns: 1fr; }
    .cap, .cap + .cap { padding-left: 0; border-left: 0; }
    .timeline__row, .info__row { grid-template-columns: 1fr; gap: 8px; }
    .footer__grid { grid-template-columns: 1fr; }
}

/* --- reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}
