/* ---------- tokens ---------- */
:root {
  --bg: #11130f;
  --bg-2: #171a14;
  --line: rgba(226, 232, 206, 0.13);
  --line-strong: rgba(226, 232, 206, 0.26);
  --text: #e7e7dc;
  --muted: #9a9e8f;
  --dim: #6f7366;
  --accent: #d6ec9a;
  --accent-ink: #11130f;
  --paper: #f1f0ea;
  --danger: #f0a78f;
  --font: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: 24px;
  --header: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
p, h1, h2, h3, ol, figure, blockquote { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.dim { color: var(--dim); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; font-weight: 500; }
.skip:focus { top: 12px; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--header);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--gutter);
  background: linear-gradient(var(--bg) 55%, rgba(17, 19, 15, .7));
  border-bottom: 1px solid var(--line);
  transition: transform .35s var(--ease);
}
.topbar.tucked { transform: translateY(-100%); }
.topbar.tucked:focus-within { transform: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .05em; color: var(--muted); min-height: 44px; }
.brand b { color: var(--text); font-weight: 600; }
.mark { width: 22px; height: 22px; fill: var(--text); stroke: none; }
.topbar-center { display: flex; align-items: center; gap: 10px; color: var(--text); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(214, 236, 154, .12); }
.topnav { justify-self: end; display: flex; align-items: center; gap: 4px; font-size: 14px; }
.topnav a { padding: 10px 12px; color: var(--muted); transition: color .2s; }
.topnav a:hover { color: var(--text); }
.lang { display: flex; margin-left: 8px; border: 1px solid var(--line-strong); }
.lang button {
  min-width: 40px; min-height: 36px; padding: 0 8px;
  font: 500 11.5px/1 var(--mono); letter-spacing: .08em; color: var(--muted);
  transition: color .2s, background .2s;
}
.lang button + button { border-left: 1px solid var(--line-strong); }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { color: var(--accent-ink); background: var(--text); }
.topnav .btn-enquire { color: var(--accent-ink); background: var(--accent); padding: 9px 14px; margin-left: 8px; font-weight: 500; transition: background .2s; }
.topnav .btn-enquire:hover { background: #e6f6bb; color: var(--accent-ink); }

/* ---------- exhibit ---------- */
.exhibit { position: relative; height: 720vh; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 58% 45%, rgba(214, 236, 154, .05), transparent 70%),
    var(--bg);
}
.canvas-wrap { position: absolute; inset: 0; }
.canvas-wrap canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.canvas-wrap canvas:active { cursor: grabbing; }
.no-webgl { display: grid; place-items: center; color: var(--muted); padding: 0 20%; text-align: center; }

.ghost {
  position: absolute; left: calc(var(--gutter) - .06em); top: calc(var(--header) + 12px);
  font: 500 clamp(120px, 19vw, 300px)/0.9 var(--font); letter-spacing: -.04em;
  color: rgba(231, 231, 220, .035); pointer-events: none; user-select: none;
}

.hud-left {
  position: absolute; left: var(--gutter); top: calc(var(--header) + 36px); bottom: 178px;
  width: min(330px, 30vw);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  pointer-events: none;
}
.hud-left a, .hud-left button { pointer-events: auto; }
.meta { color: var(--text); line-height: 1.7; font-size: 11.5px; }
.hud-right .meta { color: var(--muted); }

.chapter { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.rw > span { display: inline-block; }
.chapter.swap { opacity: 0; transform: translateY(8px); transition-duration: .18s; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; margin-bottom: 18px; }
.kicker b { color: var(--accent); font-weight: 500; }
.kicker .rule { width: 22px; height: 1px; background: var(--line-strong); }
.chapter h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; font-weight: 400; letter-spacing: -.02em; margin-bottom: 18px; text-wrap: balance; }
.lede { color: #c8cabd; font-size: 15px; line-height: 1.6; max-width: 34ch; }

.stat { border-top: 1px solid var(--line); padding-top: 18px; transition: opacity .35s var(--ease); }
.stat.swap { opacity: 0; transition-duration: .18s; }
.stat-num { font-size: 40px; line-height: 1; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); margin: 8px 0 14px; font-size: 11px; }
.explore { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.explore svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.explore:hover { color: var(--accent); border-color: var(--accent); }
.explore:hover svg { transform: translate(2px, -2px); }

.hud-right { position: absolute; right: var(--gutter); top: calc(var(--header) + 36px); text-align: right; pointer-events: none; }
.year { font-size: clamp(30px, 2.8vw, 40px); font-weight: 300; letter-spacing: -.02em; line-height: 1; margin-bottom: 14px; font-variant-numeric: tabular-nums; }

.view { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-46%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.view-label { color: var(--muted); font-size: 10.5px; margin-bottom: 4px; }
.zoom-read { font-size: 10.5px; color: var(--text); padding: 2px 0; font-variant-numeric: tabular-nums; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(17, 19, 15, .6); color: var(--text);
  transition: background .2s, color .2s, border-color .2s;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn:active { background: rgba(214, 236, 154, .12); }
.icon-btn[aria-pressed="true"] { background: rgba(214, 236, 154, .16); color: var(--accent); border-color: var(--accent); }
.icon-btn.gap { margin-top: 14px; }

.hint { position: absolute; left: 50%; bottom: 176px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text); pointer-events: none; white-space: nowrap; font-size: 11px; letter-spacing: .14em; transition: opacity .3s; }
.hint svg { width: 16px; height: 16px; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px;
  font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text);
  opacity: 0; transition: opacity .4s var(--ease); white-space: nowrap; will-change: transform;
}
.callout.on { opacity: 1; }
.callout.flip { flex-direction: row-reverse; }
.callout i {
  font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px;
  background: rgba(17, 19, 15, .85); border: 1px solid var(--accent); color: var(--accent);
}
.callout span { background: rgba(17, 19, 15, .6); padding: 4px 6px; }

.hud-bottom { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; }
.readouts { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; color: var(--muted); font-size: 11px; padding-bottom: 12px; }
.readouts b { color: var(--accent); font-weight: 500; font-variant-numeric: tabular-nums; }
#parts-count { color: var(--text); }
.rotate-hint { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-family: var(--font); font-size: 13px; color: var(--muted); }
.rotate-hint svg { width: 15px; height: 15px; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.track { position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line-strong); }
.fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); transform-origin: left; }
.tl-btn {
  position: relative; text-align: left; padding: 22px 8px 14px 0; min-height: 52px;
  display: flex; gap: 10px; align-items: baseline; color: var(--muted); font-size: 14px; transition: color .2s;
}
.tl-btn::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--dim); transition: all .25s var(--ease);
}
.tl-btn .mono { font-size: 11px; color: var(--dim); }
.tl-btn:hover { color: var(--text); }
.tl-btn.done::before { background: var(--accent); }
.tl-btn[aria-current="step"] { color: var(--text); }
.tl-btn[aria-current="step"] .mono { color: var(--accent); }
.tl-btn[aria-current="step"]::before { width: 9px; height: 9px; border-radius: 0; top: 2px; left: -2px; background: var(--accent); box-shadow: 0 0 0 4px rgba(214, 236, 154, .15); }

.footline { display: flex; justify-content: space-between; gap: 16px; color: var(--dim); font-size: 11px; border-top: 1px solid var(--line); padding: 14px 0 18px; }

/* ---------- sections ---------- */
.section { max-width: 1320px; margin: 0 auto; padding: 128px var(--gutter) 0; scroll-margin-top: var(--header); }
.sec-head { display: flex; align-items: center; gap: 14px; color: var(--muted); margin-bottom: 56px; font-size: 11.5px; }
.sec-head span:first-child { color: var(--accent); }
.sec-head .rule { flex: 0 0 40px; height: 1px; background: var(--line-strong); }
.display { font-size: clamp(38px, 5.4vw, 76px); line-height: 1.02; font-weight: 400; letter-spacing: -.03em; text-wrap: balance; }
.studio-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: 96px; }
.prose { color: #c8cabd; font-size: 17px; line-height: 1.65; max-width: 56ch; display: grid; gap: 18px; }
.prose.narrow { max-width: 60ch; margin-bottom: 40px; }
.sub { color: var(--muted); margin-bottom: 16px; font-size: 11.5px; }

.index { list-style: none; border-bottom: 1px solid var(--line); }
.index-row {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: baseline;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.index-row .n { color: var(--accent); }
.index-row .t { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.015em; line-height: 1.15; }
.index-row .d { color: var(--muted); font-size: 15px; max-width: 52ch; }
.index-row .meta-col { color: var(--muted); justify-self: end; text-align: right; }
.links .index-row { grid-template-columns: 90px 1fr auto; transition: background .25s, padding .25s var(--ease); }
.links .go { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); transition: color .2s; }
.links .go svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.links a.index-row:hover { background: rgba(214, 236, 154, .04); padding-left: 12px; padding-right: 12px; }
.links a.index-row:hover .go { color: var(--accent); }
.links a.index-row:hover .go svg { transform: translate(2px, -2px); }

.quote { margin: 112px 0 0; max-width: 980px; }
.quote p { font-size: clamp(26px, 3vw, 42px); line-height: 1.2; letter-spacing: -.02em; font-weight: 300; text-wrap: balance; }
.quote figcaption { margin-top: 26px; color: var(--text); }

/* ---------- form ---------- */
.enquire-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.enquire-grid .display { font-size: clamp(34px, 4vw, 56px); }
.contact-lines { margin-top: 36px; line-height: 2.2; text-transform: none; font-size: 14px; }
.contact-lines a { border-bottom: 1px solid var(--line-strong); }
.contact-lines a:hover { color: var(--accent); border-color: var(--accent); }
.brief { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.field { grid-column: 1 / -1; border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.field.half { grid-column: span 1; }
.field label, .field legend { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; padding: 0; }
.field label .mono, .field legend .mono { color: var(--accent); font-size: 11px; margin-right: 4px; }
.req { color: var(--accent); }
.field input:not([type=radio]), .field textarea {
  width: 100%; background: transparent; color: var(--text); font: 16px/1.5 var(--font);
  border: 0; border-bottom: 1px solid var(--line-strong); padding: 10px 0; min-height: 44px; border-radius: 0;
  transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--accent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13px; min-height: 0; margin-top: 6px; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--muted); transition: all .2s; }
.chip input:checked + span { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.chip:hover span { color: var(--text); }
.chip input:checked:hover + span { color: var(--accent-ink); }
.submit-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: 15px; transition: background .2s, transform .15s;
}
.btn-primary svg { width: 16px; height: 16px; }
.btn-primary:hover { background: #e6f6bb; }
.btn-primary:active { transform: scale(.98); }
.form-status { color: var(--muted); text-transform: none; letter-spacing: .02em; font-size: 13px; }

/* ---------- footer (light, ESR-style index sheet) ---------- */
.footer {
  --ink: #121410; --ink-2: #8d8f86;
  margin-top: 160px; min-height: 100vh; min-height: 100dvh;
  background: var(--paper); color: var(--ink);
  padding: 44px 44px 40px;
  display: grid; grid-template-columns: 26fr 41fr 33fr; grid-template-rows: auto 1fr auto auto; column-gap: 24px;
  font: 400 14px/1.45 var(--font); font-stretch: 115%; letter-spacing: .09em; text-transform: uppercase;
}
.footer ::selection { background: var(--ink); color: var(--paper); }
.footer :focus-visible { outline-color: var(--ink); }
.footer a { transition: opacity .2s; }
.footer a:hover { opacity: .5; }
.f-name { grid-area: 1 / 1; }
.f-about { grid-area: 1 / 2; }
.est { display: inline-grid; place-items: center; height: 15px; padding: 0 5px; border: 1px solid var(--ink); border-radius: 50%; font-size: 8px; letter-spacing: .04em; vertical-align: 2px; }
.f-nav { grid-area: 1 / 3; max-width: 300px; }
.f-nav nav a { display: block; padding: 1px 0; min-height: 24px; }
.f-signup { position: relative; display: flex; align-items: center; margin-top: 22px; border-bottom: 1px solid var(--ink); flex-wrap: wrap; }
.f-signup input {
  flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--ink); padding: 0;
  font: inherit; letter-spacing: inherit; border-radius: 0;
}
.f-signup input::placeholder { color: var(--ink-2); }
.f-signup input:focus { outline: none; }
.f-signup:focus-within { border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.f-signup button { min-height: 44px; color: var(--ink-2); letter-spacing: inherit; transition: color .2s; }
.f-signup button:hover { color: var(--ink); }
.f-note { position: absolute; top: calc(100% + 8px); left: 0; font-size: 11px; color: var(--ink-2); text-transform: none; letter-spacing: .02em; }

.f-mark { grid-area: 2 / 1 / 3 / 3; align-self: center; width: min(640px, 100%); height: auto; fill: var(--ink); margin: 40px 0 28px; }

.f-contact { grid-area: 3 / 3; display: grid; gap: 28px; max-width: 320px; margin-bottom: 40px; }
.f-contact h3 { font-size: inherit; font-weight: 400; color: var(--ink-2); margin-bottom: 10px; }
.f-handle { grid-area: 4 / 1; }
.f-top { grid-area: 4 / 2; justify-self: start; color: var(--ink-2); }
.f-legal { grid-area: 4 / 3; color: var(--ink-2); }

/* ---------- motion: preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 90; background: var(--bg); color: var(--text);
  display: grid; place-items: center; clip-path: inset(0% 0% 0% 0%);
  animation: loader-failsafe .01s 4.5s forwards;   /* never trap anyone behind it */
}
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; } }
.motion-off .loader { display: none; }
.loader-mark { width: min(420px, 62vw); fill: var(--text); overflow: hidden; }
.loader-count {
  position: absolute; left: var(--gutter); bottom: 44px;
  font: 300 clamp(64px, 11vw, 168px)/0.8 var(--font); letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
.loader-meta { position: absolute; right: var(--gutter); bottom: 48px; color: var(--muted); }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.loader-bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- motion: marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 34px 0 30px; margin-top: 0; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item {
  display: flex; align-items: center; white-space: nowrap;
  font: 300 clamp(56px, 9vw, 140px)/1 var(--font); letter-spacing: -.035em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(231, 231, 220, .38);
}
.marquee-item b { display: inline-block; width: .16em; height: .16em; margin: 0 .45em; background: var(--accent); }

/* ---------- motion: link roll ---------- */
.roll { display: inline-grid; overflow: hidden; vertical-align: top; }
.roll > span { grid-area: 1 / 1; transition: transform .5s var(--ease); }
.roll > span + span { transform: translateY(105%); }
a:hover > .roll > span:first-child, a:focus-visible > .roll > span:first-child { transform: translateY(-105%); }
a:hover > .roll > span + span, a:focus-visible > .roll > span + span { transform: none; }
.footer a:hover { opacity: 1; }

/* ---------- motion: cursor ---------- */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 95; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid #fff;
  display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s;
}
.cursor-ring em { font: 500 10px/1 var(--mono); letter-spacing: .12em; font-style: normal; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-drag .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; }
.cursor.is-drag .cursor-ring em { opacity: 1; }
.cursor.is-drag .cursor-dot { opacity: 0; }
.cursor.down .cursor-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }

/* ---------- linked index rows (case studies) ---------- */
a.index-row.is-link { transition: background .25s, padding .25s var(--ease); }
a.index-row.is-link:hover { background: rgba(214, 236, 154, .04); padding-left: 12px; padding-right: 12px; }
.index-row .case { display: inline-block; vertical-align: middle; margin-left: 12px; padding: 4px 8px; border: 1px solid var(--accent); color: var(--accent); font-size: 10px; letter-spacing: .1em; }
.f-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- text wordmark (config brand.wordmark = 'text') ---------- */
.wordmark-text { display: flex; font: 600 clamp(72px, 13vw, 210px)/.82 var(--font); font-stretch: 125%; letter-spacing: -.03em; text-transform: uppercase; }
.wordmark-text .ltr-wrap { display: inline-block; overflow: hidden; padding-bottom: .04em; }
.wordmark-text .ltr { display: inline-block; }
.f-mark.wordmark-text { color: var(--ink); width: auto; }
.loader-mark.wordmark-text { color: var(--text); font-size: clamp(48px, 9vw, 120px); width: auto; }

/* ---------- demo pill ---------- */
.demo-pill {
  position: fixed; right: 16px; bottom: 16px; z-index: 80; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; background: var(--accent); color: var(--accent-ink);
  font: 500 14px/1 var(--font); box-shadow: 0 8px 30px rgba(0, 0, 0, .35); transition: transform .2s;
}
.demo-pill:hover { transform: translateY(-2px); }

/* ---------- sub pages: case study, privacy, 404 ---------- */
.page { padding-top: calc(var(--header) + 72px); }
.page-hero { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.page-hero .back { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); margin-bottom: 40px; }
.page-hero .back:hover { color: var(--text); }
.page-hero .kicker { margin-bottom: 20px; }
.page-title { font: 400 clamp(56px, 10vw, 160px)/.92 var(--font); letter-spacing: -.045em; margin-bottom: 36px; }
.page-lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: #c8cabd; max-width: 60ch; }
.spec { max-width: 1320px; margin: 72px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.spec div { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); margin-bottom: 8px; }
.spec dd { margin: 0; font-size: 16px; }
.plates { max-width: 1320px; margin: 72px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plate {
  position: relative; display: grid; place-items: center; margin: 0; overflow: hidden; background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(226, 232, 206, .045) 14px 15px), var(--bg-2);
  border: 1px solid var(--line); color: var(--muted); aspect-ratio: 4 / 5;
}
.plate.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate.wide img { inset: -8% 0; height: 116%; }            /* room for the slow parallax drift */
.credits { max-width: 1320px; margin: 16px auto 0; padding: 0 var(--gutter); color: var(--dim); font-size: 10.5px; text-transform: none; letter-spacing: .03em; }
.credits a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.credits a:hover { color: var(--text); }
.index-row .go-arrow { width: 14px; height: 14px; margin-left: 6px; vertical-align: -2px; transition: transform .25s var(--ease), color .25s; }
a.index-row.is-link:hover .go-arrow { transform: translate(2px, -2px); color: var(--accent); }

/* floating preview that follows the pointer over the catalogue */
.row-preview {
  position: fixed; left: 0; top: 0; z-index: 70; width: 300px; aspect-ratio: 4 / 3; pointer-events: none;
  overflow: hidden; opacity: 0; visibility: hidden; margin: -112px 0 0 -150px;
}
.row-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story { max-width: 1320px; margin: 112px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.story h2 { font: 400 clamp(28px, 3vw, 42px)/1.1 var(--font); letter-spacing: -.02em; margin-bottom: 18px; }
.story p { color: #c8cabd; font-size: 17px; line-height: 1.65; max-width: 56ch; }
.next { max-width: 1320px; margin: 128px auto 0; padding: 0 var(--gutter); }
.next a { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-block: 1px solid var(--line); padding: 36px 0; }
.next .t { font: 400 clamp(40px, 7vw, 110px)/1 var(--font); letter-spacing: -.04em; transition: color .3s; }
.next a:hover .t { color: var(--accent); }
.legal-body { max-width: 760px; margin: 72px auto 0; padding: 0 var(--gutter); }
.legal-body h2 { font: 400 26px/1.2 var(--font); margin: 44px 0 12px; }
.legal-body p { color: #c8cabd; font-size: 17px; line-height: 1.7; }
.legal-body .note { margin-top: 48px; padding: 16px 18px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; }
.nf { min-height: 100vh; min-height: 100dvh; display: grid; align-content: center; }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; margin-top: 40px; border: 1px solid var(--text); font-size: 15px; transition: background .2s, color .2s; }
.btn-ghost:hover { background: var(--text); color: var(--bg); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .topbar-center { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .rotate-hint { display: none; }
  .readouts { grid-template-columns: 1fr auto; }
}
@media (max-width: 860px) {
  :root { --gutter: 16px; --header: 56px; }
  .topnav a:not(.btn-enquire) { display: none; }
  .brand span { font-size: 12px; }
  .ghost { font-size: 32vw; }
  .hud-left {
    top: auto; bottom: 118px; width: auto; right: var(--gutter);
    justify-content: flex-end; gap: 0;
  }
  .hud-left .meta { display: none; }
  .kicker { margin-bottom: 10px; }
  .chapter h2 { font-size: 26px; margin-bottom: 8px; }
  .lede { font-size: 14px; max-width: 46ch; }
  .stat { border: 0; padding-top: 4px; display: flex; align-items: center; justify-content: space-between; }
  .stat-num, .stat-label { display: none; }
  .hud-left::before { content: ""; position: absolute; inset: -40px calc(-1 * var(--gutter)) -140px; background: linear-gradient(transparent, rgba(17, 19, 15, .92) 34%); z-index: -1; }
  .hud-right { top: calc(var(--header) + 16px); }
  .year { font-size: 24px; margin-bottom: 6px; }
  .hud-right .meta { font-size: 10px; max-width: 18ch; margin-left: auto; }
  .view { top: calc(var(--header) + 96px); transform: none; flex-direction: row; gap: 4px; right: auto; left: var(--gutter); }
  .view-label, .zoom-read { display: none; }
  .icon-btn.gap { margin-top: 0; margin-left: 8px; }
  .icon-btn { width: 44px; height: 44px; }
  #fullscreen { display: none; }
  .hint { display: none; }
  .readouts { display: none; }
  .tl-btn { padding: 20px 0 10px; min-height: 48px; justify-content: flex-start; }
  .tl-btn .label { display: none; }
  .footline { font-size: 10px; padding: 10px 0 14px; }
  .exhibit .footline p:first-child { display: none; }

  .section { padding-top: 96px; }
  .sec-head { margin-bottom: 36px; }
  .studio-grid, .enquire-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .index-row, .links .index-row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 22px 0; }
  .index-row .n { grid-column: 1 / -1; }
  .index-row .d { grid-column: 1 / -1; }
  .brief { grid-template-columns: 1fr; }
  .field.half { grid-column: 1 / -1; }
  .footer {
    margin-top: 112px; padding: 32px 16px 28px; font-size: 13px;
    grid-template-columns: 1fr 1fr; grid-template-rows: auto; row-gap: 40px;
  }
  .f-name { grid-area: 1 / 1; }
  .f-about { grid-area: 1 / 2; }
  .f-nav { grid-area: 2 / 1 / 3 / 3; max-width: none; }
  .f-mark { grid-area: 3 / 1 / 4 / 3; margin: 24px 0; }
  .f-contact { grid-area: 4 / 1 / 5 / 3; margin: 0; }
  .f-handle { grid-area: 5 / 1; }
  .f-top { grid-area: 5 / 2; justify-self: end; }
  .spec { grid-template-columns: 1fr 1fr; }
  .plates, .story { grid-template-columns: 1fr; }
  .plate.wide { aspect-ratio: 4 / 3; }
  .f-legal { grid-area: 6 / 1 / 7 / 3; }
}

@media (max-width: 860px) {
  .loader-count { bottom: 32px; }
  .loader-meta { bottom: 36px; font-size: 10px; }
  .marquee { padding: 22px 0 18px; }
}
@media (max-width: 480px) {
  .brand-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .loader, .cursor { display: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
