/* Giro site. Volu's colours are the brand: paper and ink. Two signals, one
   meaning each — amber is what you pay, mint is what you got. No gradients,
   no glow, no arrows. The numbers are the hero type. */

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe7dd;
  --card: #fbfaf6;
  --ink: #141210;
  --ink-2: #3b3833;
  --mute: #6b665d;
  --line: #dcd6c8;
  --amber: #e8913a;
  --amber-ink: #a95a0c;
  --mint: #2f9e6e;
  --mint-soft: #d6ecdf;
  --amber-soft: #f6e0c7;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 18px;
  --max: 1180px;
  /* The hero and header share one edge margin, so the space left of the
     headline equals the space right of Volu's ear. */
  --gutter: clamp(24px, 6vw, 120px);
  --textw: min(560px, 42vw);
  /* A damped spring (k 190, d 21): ~2.5% overshoot, settled by 0.9s. Every
     entrance uses it, so the page moves with one kind of mass. */
  --spring: linear(0, 0.078, 0.247, 0.439, 0.616, 0.759, 0.866, 0.94, 0.985, 1.011, 1.022, 1.025,
                   1.023, 1.018, 1.014, 1.009, 1.006, 1.003, 1.001, 1, 1, 0.999, 0.999, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* ── type ─────────────────────────────────────────────────────────────── */
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
h1 { font-size: clamp(42px, 5vw, 78px); }
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
.kicker {
  margin: 0 0 18px; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
  display: inline-flex; align-items: center; gap: 8px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.mint-u { box-shadow: inset 0 -0.18em 0 var(--mint-soft); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.amber { color: var(--amber-ink); }
.mint { color: var(--mint); }
.amber-bg { background: var(--amber) !important; }
.t-lab { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: -0.01em;
  transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.ink:hover { background: var(--ink-2); }
.btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--paper-2); }
.btn.small { height: 40px; padding: 0 18px; font-size: 14px; }
.btn.big { height: 60px; padding: 0 34px; font-size: 18px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ── header ───────────────────────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  max-width: none; margin: 0 auto; padding: 16px var(--gutter);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; mix-blend-mode: multiply; }
.logo span { font-weight: 800; font-size: 25px; letter-spacing: -0.05em; }
.bar nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.bar nav a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.bar nav a:not(.btn):hover { color: var(--ink); }

section { max-width: var(--max); margin: 0 auto; padding: 0 24px; scroll-margin-top: 84px; }
.sec-head { margin-bottom: 40px; }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 0.95fr 1.25fr; gap: 12px; align-items: center;
  min-height: calc(100vh - 72px); padding-top: 24px; padding-bottom: 0;
}
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 30em; margin: 28px 0 34px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.volu { width: 100%; height: 100%; object-fit: cover; }

/* ── live totals: real numbers, under the call to action ─────────────── */
.live { margin-top: 34px; max-width: 30em; }
.live-tag {
  margin: 0 0 10px; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
  display: inline-flex; align-items: center; gap: 8px;
}
.live-tag i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-soft); animation: live-pulse 2.4s ease-in-out infinite;
}
@keyframes live-pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
.live-grid { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; }
.live-grid div { display: flex; flex-direction: column; gap: 3px; padding: 0 22px; }
.live-grid div:first-child { padding-left: 0; }
.live-grid div + div { border-left: 1px solid var(--line); }
.live-grid b { font-family: var(--mono); font-size: clamp(22px, 2.2vw, 30px); font-weight: 700;
               letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.live-grid span { font-size: 13px; color: var(--mute); }
.eg { font-style: normal; font-size: 12px; color: var(--mute); font-family: var(--mono); letter-spacing: .04em; }

/* ── proof strip ──────────────────────────────────────────────────────── */
.proof {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 0;
  margin-bottom: 140px;
}
.proof div { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.proof div + div { border-left: 1px solid var(--line); }
.proof b { font-family: var(--mono); font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.proof span { font-size: 14px; color: var(--mute); line-height: 1.4; }

/* ── tiles ────────────────────────────────────────────────────────────── */
.how { margin-bottom: 150px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px;
  display: flex; flex-direction: column; gap: 26px; min-height: 320px; overflow: hidden;
}
.tile.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 40px; }
.tile.wide .tile-copy { flex: 1; }
.tile-copy p { margin: 10px 0 0; color: var(--mute); max-width: 26em; }
.tile > :last-child:not(.tile-copy) { margin-top: auto; }
.tile.wide > :last-child { margin-top: 0; }

/* order book */
.book { flex: 1; max-width: 460px; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.b-side { display: flex; flex-direction: column; gap: 3px; }
.b-row { position: relative; display: flex; justify-content: space-between; padding: 7px 12px; border-radius: 8px; transition: background .3s; }
.b-row .sz { color: var(--mute); }
.b-row::before { content: ""; position: absolute; inset: 0 0 0 auto; width: var(--w, 30%); border-radius: 8px; opacity: .45; }
.asks .b-row::before { background: var(--amber-soft); }
.bids .b-row::before { background: var(--mint-soft); }
.b-row > * { position: relative; }
.b-row.you { background: var(--ink); color: var(--paper); }
.b-row.you .sz { color: #cfc9bc; }
.b-row.you::before { display: none; }
.b-row .tag { font-size: 10px; letter-spacing: .12em; font-weight: 700; color: var(--amber); margin-right: 10px; }
.b-row.fill { background: var(--mint); color: #fff; }
.b-mid { display: flex; justify-content: space-between; padding: 12px; font-size: 18px; font-weight: 700; border-block: 1px dashed var(--line); margin: 6px 0; }
.b-mid em { font-style: normal; font-size: 12px; color: var(--mute); font-weight: 500; align-self: center; }

/* chat */
.chat { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.chat p { margin: 0; padding: 12px 16px; border-radius: 16px; max-width: 88%; }
.chat .me { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.chat .him { display: flex; gap: 10px; align-items: flex-start; background: var(--paper-2); border-bottom-left-radius: 4px; }
.chat .him img { border-radius: 50%; mix-blend-mode: multiply; flex: none; }

/* gauge */
.gauge { position: relative; display: flex; flex-direction: column; align-items: center; }
.gauge svg { width: 100%; max-width: 260px; overflow: visible; }
.gauge path { fill: none; stroke-width: 16; stroke-linecap: round; }
.g-track { stroke: var(--paper-2); }
.g-fill { stroke: var(--amber); stroke-dasharray: 252; stroke-dashoffset: 252; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1); }
.gauge.on .g-fill { stroke-dashoffset: 150; }
.gauge b { font-family: var(--mono); font-size: 34px; margin-top: -44px; letter-spacing: -0.03em; }
.gauge span { font-size: 13px; color: var(--mute); }

/* stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stats div { background: var(--card); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.stats span { font-size: 12px; color: var(--mute); }
.stats b { font-family: var(--mono); font-size: 22px; letter-spacing: -0.02em; }

/* keys */
.keys { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.k { padding: 12px 16px; border-radius: 12px; font-weight: 700; font-size: 15px; }
.k.you { background: var(--ink); color: var(--paper); }
.k.agent { background: var(--paper-2); }
.keys > i { height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); }
.k-rules { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; }
.k-rules em { font-style: normal; font-family: var(--mono); font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.k-rules .ok { background: var(--mint-soft); color: #1d6b49; }
.k-rules .no { background: var(--paper-2); color: var(--mute); text-decoration: line-through; }

/* ── price list ───────────────────────────────────────────────────────── */
.prices { margin-bottom: 150px; }
.prices { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 40px 60px; align-items: start; }
.p-sub { margin: 20px 0 0; font-size: 18px; color: var(--mute); }
.receipt {
  --tear: 14px;
  position: relative; background: var(--card); padding: 30px 30px calc(30px + var(--tear));
  font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(20,18,16,.35);
  /* a torn bottom edge: triangles cut out of the last few pixels */
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tear)) no-repeat,
                conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) bottom / var(--tear) var(--tear) repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tear)) no-repeat,
                conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) bottom / var(--tear) var(--tear) repeat-x;
  transform: rotate(1.2deg);
}
.r-head { display: flex; justify-content: space-between; padding-bottom: 16px; margin-bottom: 6px;
          border-bottom: 1.5px dashed var(--line); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.r-row { display: grid; grid-template-columns: 1fr auto 5.4em; gap: 14px; align-items: baseline; padding: 12px 0; }
.r-row span { font-family: var(--sans); font-size: 16px; color: var(--ink-2); }
.r-row em { font-style: normal; font-size: 13px; color: var(--mute); }
.r-row b, .r-total b { text-align: right; font-weight: 700; }
.r-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding: 16px 0 18px;
           border-top: 1.5px solid var(--ink); font-size: 15px; }
.r-total span { font-family: var(--sans); font-weight: 700; font-size: 16px; }
.r-total b { font-size: 34px; letter-spacing: -.04em; }
.r-foot { padding: 14px 0 0; border-top: 1.5px dashed var(--line); }
.r-foot span { font-size: 14px; color: var(--mute); }

/* ── close ────────────────────────────────────────────────────────────── */
.close {
  display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 20px; margin-bottom: 0;
}
.close > div:last-child { align-self: center; }
/* The clip is encoded with the page colour baked in (white x #f4f1ea), so
   it needs no blend mode: playing video can be promoted to its own layer,
   which skips CSS blending and would show a white box. */
.close-art { display: flex; align-items: flex-end; }

.close .volu {
  width: auto; height: min(82vh, 760px); aspect-ratio: 560 / 720; object-fit: contain; margin: 0 auto;
  /* His floor shadow runs to the frame's sides: thin it out instead of
     letting it end in a straight edge. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.close h2 { margin-bottom: 30px; }

.foot {
  max-width: var(--max); margin: 0 auto; padding: 28px 24px 40px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: var(--mute);
}
.foot nav { display: flex; gap: 18px; }


/* ── small screens ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 32px; }
  .live { margin-bottom: 40px; }
  .proof { grid-template-columns: 1fr 1fr; margin-bottom: 100px; }
  .proof div:nth-child(3) { border-left: 0; }
  .proof div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tiles, .close, .prices { grid-template-columns: 1fr; }
  .receipt { transform: none; }
  .tile.wide { flex-direction: column; align-items: stretch; }
  .book { max-width: none; }
  .bar nav a:not(.btn) { display: none; }
  .how, .prices { margin-bottom: 100px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .live-grid div { padding: 0 14px; }
  .tile { padding: 22px; }
  .receipt { padding: 22px 20px calc(22px + var(--tear)); }
  .r-row { grid-template-columns: 1fr auto 4.6em; gap: 10px; }
  .foot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live i { animation: none; }
  .g-fill { transition: none; }
}

/* Ask Volu tile: his listening face beside the heading */
.tile-copy.with-face { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; }
.tile-copy.with-face .face {
  grid-column: 2; grid-row: 1 / span 2; width: 84px; height: 84px; border-radius: 50%;
  object-fit: cover; object-position: 50% 30%; mix-blend-mode: multiply; background: #fff;
}
.tile-copy.with-face h3, .tile-copy.with-face p { grid-column: 1; }

/* ── Volu's face: follows the cursor on desktop, loops on phones ───────── */
/* The face sits BEHIND the hero: the copy overlaps the soft white around him,
   and the frame never cuts him. */
.hero { position: relative; max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
.hero-copy { max-width: var(--textw); }
main { overflow-x: clip; }
.hero-copy { position: relative; }
.gaze {
  /* Standing on the hero's bottom edge: the proof strip's rule below cuts
     his hoodie cleanly, so the frame needs no fade at all. */
  /* As tall as the hero, so his eyes (at 50.5% of the frame) sit at the
     vertical centre of the view. His face is centred ~70% across; the frame
     may run off the right edge (main clips it, so nothing scrolls). */
  /* Height: the full hero, but never so big that his head (7%-87% of the
     frame's width) reaches more than 60px into the text column. Placed so
     the outer edge of his right ear sits exactly one gutter from the edge. */
  --gh: min(calc(100vh - 72px), 1000px,
            calc((100vw - 2 * var(--gutter) - var(--textw) + 60px) * 0.9375));
  position: absolute; z-index: 0; bottom: 0;
  height: var(--gh); aspect-ratio: 4 / 3;
  left: calc(100% - var(--gutter) - var(--gh) * 4 / 3 * 0.873);
  /* Blend the whole (masked) layer: a mask isolates its element, so multiply
     on the video itself would blend against nothing and show a white box. */
  mix-blend-mode: multiply;
}
.gaze img, .gaze video, .gaze canvas {
  /* Pure white around Volu, and the layer multiplies: the white becomes the page. */
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; user-select: none;
}
.gaze .gaze-phone { display: none; }
.gaze .gaze-desk { opacity: 0; }                 /* until the first frame is drawn */
.gaze .gaze-desk.on { opacity: 1; }
@media (max-width: 900px) {
  .gaze { position: relative; top: auto; right: auto; left: auto; bottom: auto; height: auto; transform: none; order: -1;
          justify-self: center; width: calc(100% + 48px); max-width: 560px; margin: 0 -24px 20px; }

  .gaze .gaze-desk, .gaze .gaze-poster { display: none; }
  .hero-copy { max-width: none; }
  .gaze .gaze-phone { display: block; }
}

/* ══ Motion ═══════════════════════════════════════════════════════════════
   Nothing just fades in. Type rises out of a mask, cards tilt up and settle,
   rules draw, numbers count. All of it on --spring. `.pre` is added by JS
   only when motion is allowed, so without JS the page is simply there. */

/* sound: off until the visitor turns it on */
.snd {
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2);
  display: inline-grid; place-items: center; cursor: pointer; transition: background .15s ease;
}
.snd:hover { background: var(--paper-2); }
.snd svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.snd .spk { fill: currentColor; }
.snd .wav, .snd[aria-pressed="true"] .mut { display: none; }
.snd[aria-pressed="true"] .wav { display: inline; }
.snd[aria-pressed="true"] { color: var(--ink); }

/* scroll progress: a hairline under the header */
.bar .progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink);
  transform-origin: left; transform: scaleX(0);
}

/* hero: the headline rises line by line, then everything under it */
.kinetic .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.kinetic .ln > span { display: inline-block; transform-origin: 0 100%; animation: rise 1s var(--spring) both; }
.kinetic .ln:nth-child(1) > span { animation-delay: .12s; }
.kinetic .ln:nth-child(2) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(112%) rotate(5deg); } }
.hero-copy > .kicker, .lede, .cta, .live { animation: lift .9s var(--spring) both; }
.hero-copy > .kicker { animation-delay: .02s; }
.lede { animation-delay: .38s; }
.cta { animation-delay: .48s; }
.live { animation-delay: .6s; }
@keyframes lift { from { transform: translateY(26px); opacity: 0; } }
.gaze { animation: volu-in 1.3s var(--spring) both .15s; }
@keyframes volu-in { from { transform: translateY(6%) scale(.96); opacity: 0; } }

/* section heads: word by word out of a mask (words split in landing.js) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }
.pre .w > span { transform: translateY(110%); }
.pre.in .w > span { transform: none; transition: transform 1s var(--spring) calc(var(--i) * 60ms); }
.pre .kicker { opacity: 0; transform: translateX(-12px); }
.pre.in .kicker { opacity: 1; transform: none; transition: opacity .4s, transform .8s var(--spring); }

/* proof strip: numbers count up, rules draw */
.proof.pre { border-color: transparent; }
.proof { position: relative; }
.proof::before, .proof::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
  transform-origin: left; transform: scaleX(0);
}
.proof::before { top: -1.5px; } .proof::after { bottom: -1.5px; }
.proof.pre.in::before, .proof.pre.in::after { transform: none; transition: transform 1.2s cubic-bezier(.7,0,.2,1); }
.proof.pre.in::after { transition-delay: .12s; }
.proof b { font-variant-numeric: tabular-nums; }
.proof.pre div { opacity: 0; transform: translateY(18px); }
.proof.pre.in div { opacity: 1; transform: none; transition: opacity .4s calc(var(--i) * 90ms), transform .9s var(--spring) calc(var(--i) * 90ms); }

/* tiles: tilt up out of the page, then follow the pointer a little */
.tiles { perspective: 1600px; }
.tile {
  transform: perspective(1000px) translateY(var(--ty, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--spring), box-shadow .5s ease, opacity .45s ease;
}
.tile.pre { --ty: 70px; --rx: 16deg; opacity: 0; transition-delay: calc(var(--i) * 80ms); }
.tile.pre.in { --ty: 0px; --rx: 0deg; opacity: 1; }
.tile.hover { transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease; box-shadow: 0 34px 60px -34px rgba(20,18,16,.35); }

/* price list: the receipt prints, line by line, then the total counts up */
.prices.pre .receipt { clip-path: inset(0 0 100% 0); transform: rotate(0deg) translateY(-24px); }
.prices.pre.in .receipt { clip-path: inset(0 0 -40px 0); transform: rotate(1.2deg);
  transition: clip-path 1.5s steps(9, end), transform 1.2s var(--spring) 1.3s; }
.prices.pre .receipt .r-row, .prices.pre .receipt .r-total { opacity: 0; transform: translateY(-8px); }
.prices.pre.in .receipt .r-row, .prices.pre.in .receipt .r-total { opacity: 1; transform: none;
  transition: opacity .2s calc(var(--i) * 170ms + .15s), transform .5s var(--spring) calc(var(--i) * 170ms + .15s); }

/* close: Volu stands up into frame */
.close.pre .close-art { opacity: 0; transform: translateY(60px) scale(.94); transform-origin: 50% 100%; }
.close.pre.in .close-art { opacity: 1; transform: none; transition: opacity .5s, transform 1.2s var(--spring); }
.close.pre .btn { transform: scale(.6); opacity: 0; }
.close.pre.in .btn { transform: none; opacity: 1; transition: opacity .3s .5s, transform .9s var(--spring) .5s; }

/* ── marquee: the headline as texture, driven by the scroll ─────────────── */
.marquee { overflow: hidden; margin: 0 0 110px; padding: 6px 0 14px; user-select: none; }
.mq-track {
  display: flex; gap: .45em; width: max-content; white-space: nowrap;
  font-weight: 800; font-size: clamp(64px, 11vw, 168px); letter-spacing: -.05em; line-height: 1;
}
/* Outline type: the stroke is drawn under a paper fill, so the font's
   overlapping contours never show through. */
.mq-track .o { color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }

/* ── film: the pinned 3D run ───────────────────────────────────────────── */
.film { max-width: none; padding: 0; height: 560vh; margin-bottom: 140px; }
.film-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* The stage: a layer over the hero, the numbers and the film, with the
   canvas sticky inside it, so it stays put the whole way down and leaves
   exactly when the film ends. */
.world { position: relative; }
/* Under the hero text (the chip passes behind words, never over them), over Volu. */
.world-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.world-view { position: sticky; top: 0; height: 100vh; }
.world-3d { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero-copy, .proof { z-index: 2; }
/* Names the chip while it travels: "Your order", then "Filled". */
.chip-tag {
  position: absolute; left: 0; top: 0; padding: 5px 10px; border-radius: 999px; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); opacity: 0; transition: opacity .25s ease, background .2s ease;
}
.chip-tag.on { opacity: 1; }
.chip-tag.filled { background: var(--mint); color: #fff; }
/* The pinned film is its own stacking context; lift it so its captions and
   counter sit over the stage. */
.film-pin { z-index: 3; }
.world.no3d .world-3d { display: none; }
/* Once the 3D chip is drawn, it IS the full stop: the text one steps aside. */
.world.chip .chip-spot { color: transparent; }
.film-copy { position: absolute; z-index: 3; left: var(--gutter); top: calc(72px + 5vh); pointer-events: none; }
.film-count { font-variant-numeric: tabular-nums; }
.film-count span { color: var(--ink); }
.film-beats { list-style: none; margin: 0; padding: 0; display: grid; }
/* Captions swap line by line out of a mask: transform only, no filters. */
.film-beats li { grid-area: 1 / 1; }
.film-beats .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.film-beats .ln > span { display: inline-block; transform: translateY(112%); transition: transform .45s cubic-bezier(.7,0,.3,1); }
.film-beats li.past .ln > span { transform: translateY(-112%); }
.film-beats li.on .ln > span { transform: none; transition: transform .85s var(--spring) .12s; }
.film-beats li.on .ln + .ln > span { transition-delay: .2s; }
.film-beats h2 { font-size: clamp(42px, 6.2vw, 96px); }

.film-hud {
  position: absolute; z-index: 3; right: var(--gutter); top: calc(72px + 5vh); width: min(360px, calc(100% - 32px));
  background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 20px 22px;
  opacity: 0; transform: translateY(-20px) scale(.96); transform-origin: 100% 0;
  transition: opacity .35s ease, transform .8s var(--spring);
}
.film.hud-on .film-hud { opacity: 1; transform: none; }
.film-hud .t-lab { color: #a39d91; }
.hud-top { display: flex; justify-content: space-between; align-items: center; }
#hudLapse { font-style: normal; padding: 3px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px #3b3833;
            opacity: 0; transition: opacity .3s; }
.film.lapse #hudLapse { opacity: 1; }
.hud-vol { display: block; font-family: var(--mono); font-size: clamp(40px, 4.4vw, 56px); letter-spacing: -.045em;
           line-height: 1.05; margin: 6px 0 16px; font-variant-numeric: tabular-nums; }
/* One grid for both rows, so the bars line up whatever the label widths. */
.hud-bars { display: grid; grid-template-columns: auto 1fr auto; gap: 10px 12px; align-items: center; font-size: 13px; color: #cfc9bc; }
.hud-bars div { display: contents; }
.hud-bars span { white-space: nowrap; }
.hud-bars i { height: 8px; background: #2c2925; border-radius: 4px; overflow: hidden; }
.hud-bars em { display: block; height: 100%; border-radius: 4px; background: #f2ad62; transform-origin: left; transform: scaleX(0); }
.hud-bars div:first-child em { background: #7a5a36; }
.hud-bars b { font-family: var(--mono); font-weight: 500; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.hud-note { margin: 14px 0 0; font-size: 12px; color: #8a8478; }

.film-rail { position: absolute; z-index: 3; left: var(--gutter); bottom: 7vh; width: 160px; height: 2px; background: var(--line); }
.film-rail i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ── launch: an ink circle opens from the button into the terminal ─────── */
.wipe {
  position: fixed; inset: 0; z-index: 50; background: #07080a; pointer-events: none;
  clip-path: circle(0 at var(--x) var(--y)); animation: wipe .6s cubic-bezier(.7,0,.25,1) forwards;
}
@keyframes wipe { to { clip-path: circle(150vmax at var(--x) var(--y)); } }

@media (max-width: 900px) {
  .film { height: 520vh; margin-bottom: 100px; }
  .film-copy { left: 24px; right: 24px; top: 84px; }
  .film-beats h2 { font-size: clamp(38px, 11vw, 60px); }
  .film-hud { left: 16px; right: 16px; width: auto; top: auto; bottom: 16px; padding: 16px 18px; transform-origin: 50% 100%; }
  .hud-vol { font-size: 36px; margin: 4px 0 10px; }
  .hud-note { display: none; }
  .film-rail { display: none; }
  .marquee { margin-bottom: 70px; }
}
@media (max-width: 520px) {
  .hud-bars { font-size: 12px; gap: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .kinetic .ln > span, .hero-copy > .kicker, .lede, .cta, .live, .gaze { animation: none; }
  .tile, .film-beats .ln > span, .film-hud, .bar .progress { transition: none; }
  .film-pin .world-3d { position: absolute; inset: 0; height: 100%; }
  /* The film becomes a still: the finished scene with every beat listed. */
  .film { height: auto; }
  .film-pin { position: relative; height: auto; min-height: 100vh; }
  .film-beats { display: flex; flex-direction: column; gap: 10px; }
  .film-beats li .ln > span, .film-beats li.past .ln > span { transform: none; }
  .film-beats h2 { font-size: clamp(26px, 3vw, 40px); }
  .film-hud { opacity: 1; transform: none; }
  .film-count, .film-rail { display: none; }
}
