/* ───────────────────────────────────────────────────────────
   SUMMIT — palette sampled off the film's own pixels
   f0011 paper #c1b294 · city #132549 · glow #fdf5e9
   f0401 cobalt sky #06143e · pagoda lines #b5a792
   The film keeps its top third as open sky: headlines live up
   there, working copy sits on cards over the navy city.
   ─────────────────────────────────────────────────────────── */

:root {
  --paper:   #c1b294;
  --paper-2: #cfc2a6;
  --paper-3: #b3a386;
  --sheet:   #d9cfb8;
  --navy:    #132549;
  --cobalt:  #06143e;
  --ink:     #0e1c45;
  --glow:    #fdf5e9;
  --graphite:#6b6a80;
  --red:     #b3432c;

  --display: "Roboto Serif", "Instrument Serif", Georgia, serif;
  --serif:   "Instrument Serif", Georgia, serif;
  --mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sans:    "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --fg:   var(--glow);
  --fg-2: rgba(253,245,233,.68);
  --line: rgba(253,245,233,.3);

  --gut:  clamp(16px, 3.2vw, 52px);
  --ease: cubic-bezier(.22,1,.36,1);
  --snap: cubic-bezier(.7,0,.3,1);
  --scroll-length: 1150vh;
  --p: 0;
}
:root.is-light, [data-mode="video"] .chrome, :root.is-paper .chrome {
  --fg: var(--ink); --fg-2: rgba(14,28,69,.66); --line: rgba(14,28,69,.3);
}
[data-mode="video"] .hud, [data-mode="video"] .chapter, [data-mode="video"] .rail { --fg: var(--ink); --fg-2: rgba(14,28,69,.66); --line: rgba(14,28,69,.3); }

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.005em; }
.skip { position: fixed; top: -100px; left: 12px; z-index: 300; background: var(--ink); color: var(--glow); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--navy); color: var(--glow); }

/* ── loader ─────────────────────────────────────────────── */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--paper); color: var(--ink); transition: opacity .9s var(--ease), visibility .9s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 144; font-weight: 600; font-size: clamp(64px, 12vw, 160px); line-height: .8; letter-spacing: -.01em; animation: breathe 2.4s var(--ease) infinite alternate; }
.loader__bar { width: min(340px, 70vw); }
.loader__track { height: 8px; border: 1px solid var(--ink); position: relative; overflow: hidden;
  background: repeating-linear-gradient(90deg, transparent 0 25%, rgba(14,28,69,.12) 25% 50%); }
.loader__fill { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s linear; }
.loader__ticks { display: flex; justify-content: space-between; margin-top: 6px; font-size: 9px; }
.loader__meta { color: rgba(14,28,69,.6); }
@keyframes breathe { from { letter-spacing: -.01em; opacity: .75 } to { letter-spacing: .04em; opacity: 1 } }

/* ── exposure (mode switch) ─────────────────────────────── */
.expose { position: fixed; inset: 0; z-index: 180; pointer-events: none; }
.expose__sheet { position: absolute; inset: 0; background: var(--cobalt); color: var(--glow); clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--snap); display: grid; place-items: center; }
.expose__grid { position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(253,245,233,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(253,245,233,.35) 1px, transparent 1px);
  background-size: 48px 48px; }
.expose__txt { position: relative; display: grid; justify-items: center; gap: 10px; }
.expose__word { font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 144; font-weight: 500; font-size: clamp(80px, 18vw, 260px); line-height: .8; }
.expose__lamp { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--glow); box-shadow: 0 0 40px 12px rgba(253,245,233,.8); opacity: 0; transform: translateY(0); transition: transform .6s var(--snap), opacity .3s; }
:root.is-switching .expose__sheet { clip-path: inset(0 0 0 0); transition-duration: .26s; }
:root.is-switching .expose__lamp { opacity: 1; transform: translateY(100vh); transition-duration: .26s; }
:root.is-unexposing .expose__sheet { clip-path: inset(100% 0 0 0); }
:root.is-unexposing .expose__lamp { opacity: 1; transform: translateY(100vh); transition: none; }
:root.is-reset .expose__sheet, :root.is-reset .expose__lamp { transition: none !important; }

/* ── film ───────────────────────────────────────────────── */
.film { position: fixed; inset: 0; z-index: 0; background: var(--paper); overflow: hidden; }
.film canvas, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-mode="scrub"] .film video { display: none; }
[data-mode="video"] .film canvas { display: none; }
.film__veil { position: absolute; inset: 0; background: rgba(203,189,159,.5); opacity: 0; transition: opacity .6s; }
[data-mode="video"] .film__veil { opacity: 1; }
.film__paper { position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .1 0 0 0 0 .2 0 0 0 .9 -.25'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── HUD ────────────────────────────────────────────────── */
.hud { position: fixed; inset: 0; z-index: 15; pointer-events: none; color: var(--fg); transition: opacity .5s var(--ease), color .35s; }
:root.is-paper .hud, :root.is-paper .chapter, :root.is-paper .rail { opacity: 0; }
.hud__br { position: absolute; width: 18px; height: 18px; border: 0 solid var(--fg); opacity: .7; transition: border-color .35s; }
.hud__br--tl { top: 78px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.hud__br--tr { top: 78px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.hud__br--bl { bottom: 16px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.hud__br--br { bottom: 16px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.hud__cross { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; opacity: .5; transform: rotate(calc(var(--p) * 360deg)); }
.hud__cross::before, .hud__cross::after { content: ""; position: absolute; background: var(--fg); }
.hud__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.hud__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.hud__cross i { position: absolute; inset: 9px; border: 1px solid var(--fg); border-radius: 50%; }
.hud__cross b { position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px; background: var(--red); border-radius: 50%; }
.hud__side { position: absolute; top: 50%; display: flex; gap: 18px; align-items: center; white-space: nowrap; color: var(--fg-2); font-size: 9.5px; }
.hud__side b { color: var(--fg); font-weight: 500; }
.hud__side--l { left: 16px; writing-mode: vertical-rl; transform: translateY(calc(-50% + (var(--p) - .5) * -140px)) rotate(180deg); }
.hud__dash { width: 1px; height: 46px; background: var(--fg-2); }
.hud__stream { position: absolute; left: 44px; top: 110px; bottom: 120px; width: 72px; overflow: hidden; font-size: 8.5px; line-height: 1.55; color: var(--fg-2); letter-spacing: .06em;
  -webkit-mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.hud__stream div { will-change: transform; }
.hud__stream span { display: block; white-space: nowrap; }
.hud__stream span.hot { color: var(--fg); }
.hud__read { position: absolute; right: 16px; top: 50%; transform: translateY(calc(-50% + (var(--p) - .5) * 120px)); display: grid; gap: 7px; text-align: right; font-size: 9.5px; color: var(--fg-2); }
.hud__read div { display: flex; gap: 8px; justify-content: flex-end; align-items: baseline; }
.hud__read b { color: var(--fg); font-weight: 500; min-width: 7.2ch; text-align: right; font-variant-numeric: tabular-nums; }
.hud__read em { font-style: normal; opacity: .6; margin-left: -4px; }
.hud__scale { position: absolute; right: 44px; bottom: 30px; width: 150px; font-size: 8.5px; color: var(--fg-2); }
.hud__scalebar { display: grid; grid-template-columns: repeat(4, 1fr); height: 5px; border: 1px solid var(--fg); transform-origin: 0 50%; transform: scaleX(calc(.55 + var(--p) * .45)); }
.hud__scalebar i:nth-child(odd) { background: var(--fg); }
.hud__scalelbl { display: flex; justify-content: space-between; margin-top: 4px; }
.hud__fig { position: absolute; top: 86px; left: 50%; transform: translateX(-50%); color: var(--fg-2); display: flex; gap: 6px; align-items: baseline; font-size: 9.5px; }
.hud__fig b { color: var(--red); font-weight: 500; }
:root:not(.is-light) .hud__fig b { color: var(--glow); }
.hud__figname { padding-left: 8px; border-left: 1px solid var(--line); }
[data-mode="video"] .hud__cross, [data-mode="video"] .hud__stream { opacity: .35; }

/* ── header ─────────────────────────────────────────────── */
.chrome { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; gap: 22px; padding: 14px var(--gut); color: var(--fg); transition: color .35s, background-color .45s var(--ease), box-shadow .45s; }
[data-mode="video"] .chrome, :root.is-paper .chrome { background: rgba(207,194,166,.94); box-shadow: 0 1px 0 rgba(14,28,69,.18); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.mark__glyph { width: 34px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.mark__glyph path:first-child { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 1.6s var(--ease) .4s forwards; }
.mark__txt { font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 72; font-weight: 600; font-size: 25px; letter-spacing: .02em; line-height: 1; }
.mark__sub { color: var(--fg-2); font-size: 9px; padding-left: 10px; border-left: 1px solid var(--line); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chrome__nav { display: flex; gap: 22px; margin-left: auto; }
.chrome__nav a { position: relative; text-decoration: none; font-size: 13px; font-weight: 500; }
.chrome__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease); }
.chrome__nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

/* header switch: a theodolite reticle rides a graduated track */
.switch { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 14px; border: 1px solid var(--line); background: transparent; color: var(--fg); border-radius: 999px; transform: var(--mag, none); transition: border-color .35s, background-color .35s; }
.switch:hover { border-color: var(--fg); }
.switch__txt { font-size: 9.5px; }
.switch__track { position: relative; width: 50px; height: 22px; border-radius: 999px; border: 1px solid var(--fg); overflow: hidden; }
.switch__ticks { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--fg-2) 0 1px, transparent 1px 6px); opacity: .35; }
.switch__track::before { content: ""; position: absolute; inset: 0; background: var(--fg); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--snap); }
.switch[aria-checked="true"] .switch__track::before { transform: scaleX(1); }
.switch__knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--fg); transition: transform .5s var(--snap), background-color .35s; }
.switch[aria-checked="true"] .switch__knob { transform: translateX(28px) rotate(180deg); background: var(--paper); }
:root:not(.is-light) .switch[aria-checked="true"] .switch__knob { background: var(--cobalt); }
.switch__knob svg { width: 100%; height: 100%; fill: none; stroke: var(--fg); stroke-width: 1.4; }
.switch[aria-checked="true"] .switch__knob svg { stroke: var(--fg); }
.switch[aria-checked="false"] .switch__knob svg { stroke: var(--paper); }
.switch__roll { display: grid; height: 13px; overflow: hidden; font-size: 10.5px; font-weight: 500; width: 3ch; }
.switch__roll span, .dock__roll span { display: block; line-height: 13px; transition: transform .5s var(--snap); }
.switch[aria-checked="false"] .switch__roll span, .dock[aria-checked="false"] .dock__roll span { transform: translateY(-100%); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 0; font-size: 13px; font-weight: 600; letter-spacing: .01em; text-decoration: none; border: 1px solid currentColor; overflow: hidden; isolation: isolate; transform: var(--mag, none); transition: color .35s var(--ease), background-color .35s; background: transparent; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s var(--snap); }
.btn:hover::before { transform: scaleY(1); }
.btn--ink { background: var(--ink); color: var(--glow); border-color: var(--ink); }
.btn--ink::before { background: var(--red); }
.btn--cream { background: var(--glow); color: var(--ink); border-color: var(--glow); }
.btn--cream::before { background: var(--paper); }
.btn--line-cream { color: var(--glow); }
.btn--line-cream::before { background: var(--glow); }
.btn--line-cream:hover { color: var(--ink); }
.btn--line { color: var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--glow); }
.btn--block { width: 100%; padding: 16px; }
.chrome__cta { padding: 9px 16px; }
:root:not(.is-light):not(.is-paper)[data-mode="scrub"] .chrome__cta { background: var(--glow); color: var(--ink); border-color: var(--glow); }

.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--fg); transition: transform .4s var(--snap); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.navPanel { position: fixed; inset: 0; z-index: 55; background: var(--cobalt); color: var(--glow); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 90px var(--gut) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--snap); }
.navPanel.is-open { clip-path: inset(0 0 0 0); }
.navPanel a { font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 144; font-size: 58px; line-height: 1.05; text-decoration: none; display: flex; align-items: baseline; gap: 14px; }
.navPanel a em { font-style: normal; opacity: .6; }
:root.nav-open .chrome { --fg: var(--glow); --fg-2: rgba(253,245,233,.66); --line: rgba(253,245,233,.3); background: transparent; box-shadow: none; }

/* ── dock (floating toggle) ─────────────────────────────── */
.dock { position: fixed; left: 50%; bottom: 22px; z-index: 70; display: inline-flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 999px; border: 1px solid rgba(14,28,69,.35); background: rgba(217,207,184,.94); color: var(--ink); box-shadow: 0 10px 34px -12px rgba(6,20,62,.5); transform: translateX(-50%) var(--mag, ); transition: background-color .4s, color .4s; }
.dock[aria-checked="false"] { background: var(--cobalt); color: var(--glow); border-color: rgba(253,245,233,.3); }
.dock__lens { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; overflow: hidden; }
.dock__lens::before, .dock__lens::after { content: ""; position: absolute; background: currentColor; opacity: .6; }
.dock__lens::before { left: 50%; top: 3px; bottom: 3px; width: 1px; }
.dock__lens::after { top: 50%; left: 3px; right: 3px; height: 1px; }
.dock__lens i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.6s ease-in-out infinite; }
.dock[aria-checked="false"] .dock__lens i { background: var(--glow); animation-duration: .8s; }
@keyframes pulse { 50% { transform: scale(.45); opacity: .5; } }
.dock__txt { font-size: 10.5px; font-weight: 500; }
.dock__roll { display: grid; height: 13px; overflow: hidden; font-size: 10.5px; font-weight: 600; width: 3.2ch; }
.dock__track { position: relative; width: 40px; height: 20px; border-radius: 999px; background: rgba(14,28,69,.15); border: 1px solid currentColor; }
.dock__knob { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: currentColor; transition: transform .5s var(--snap); }
.dock[aria-checked="true"] .dock__knob { transform: translateX(20px); }
.dock:hover .dock__knob { box-shadow: 0 0 0 4px rgba(179,67,44,.25); }

/* ── chapter + rail ─────────────────────────────────────── */
.chapter { position: fixed; left: var(--gut); bottom: 30px; z-index: 40; display: flex; align-items: baseline; gap: 12px; color: var(--fg); transition: opacity .5s, color .35s; }
.chapter__n b { font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 72; font-size: 26px; font-weight: 500; letter-spacing: 0; }
.chapter__name { display: inline-block; overflow: hidden; color: var(--fg-2); }
.chapter__name span { display: inline-block; }
.chapter.is-roll .chapter__name span, .chapter.is-roll .chapter__n b { animation: roll .6s var(--ease); }
@keyframes roll { from { transform: translateY(110%); opacity: 0; } }
.rail { position: fixed; left: 0; right: 0; bottom: 0; height: 3px; z-index: 41; background: rgba(14,28,69,.12); transition: opacity .5s; }
.rail__fill { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.rail__ticks i { position: absolute; top: -4px; width: 1px; height: 7px; background: var(--fg); opacity: .6; }
[data-mode="video"] .rail__ticks { display: none; }

/* ── stage / modes ──────────────────────────────────────── */
.stage { position: relative; z-index: 20; }
[data-mode="scrub"] .stage__spacer { height: var(--scroll-length); }
[data-mode="video"] .stage__spacer { height: 0; }
[data-mode="scrub"] .beats { position: fixed; inset: 0; pointer-events: none; }
[data-mode="scrub"] .beat { position: absolute; inset: 0; opacity: 0; visibility: hidden; will-change: opacity; }
[data-mode="scrub"] .beat.is-live { pointer-events: auto; }
[data-mode="scrub"] .beat.is-live .lay > * { pointer-events: auto; }
[data-mode="scrub"] .lay { position: absolute; inset: 0; pointer-events: none; }
[data-mode="video"] .beats { position: relative; }
[data-mode="video"] .beat { position: relative; min-height: 100vh; min-height: 100svh; }
[data-mode="video"] .lay { position: relative; min-height: 100vh; min-height: 100svh; }
[data-mode="video"] .beat + .beat::before { content: ""; position: absolute; left: var(--gut); right: var(--gut); top: 0; border-top: 1px dashed rgba(14,28,69,.3); }

.lay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "tl tr" "mid mid" "bl br"; gap: 24px var(--gut); padding: 104px calc(var(--gut) + 80px) 88px; color: var(--ink); }
.z--tl { grid-area: tl; justify-self: start; max-width: 560px; }
.z--tr { grid-area: tr; justify-self: end; max-width: 380px; }
.z--bl { grid-area: bl; justify-self: start; align-self: end; max-width: 520px; }
.z--br { grid-area: br; justify-self: end; align-self: end; }
.z--c  { grid-area: mid; justify-self: center; align-self: center; text-align: center; display: grid; justify-items: center; gap: 12px; }
.z--sub { grid-area: mid; align-self: end; justify-self: center; margin: 0; font-size: clamp(18px, 1.8vw, 28px); line-height: 1.2; text-align: center; max-width: 30ch; }

[data-mode="scrub"] .z--tl, [data-mode="scrub"] .z--bl { transform: translate3d(0, calc(var(--t, 0) * -18px), 0); }
[data-mode="scrub"] .z--tr, [data-mode="scrub"] .z--br { transform: translate3d(0, calc(var(--t, 0) * 18px), 0); }

/* video: every working block sits on a paper card */
[data-mode="video"] .z:not(.z--sub):not(.z--c) { background: rgba(217,207,184,.93); padding: 22px 24px; box-shadow: 0 0 0 1px rgba(14,28,69,.14); clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease) .1s; }
[data-mode="video"] .beat.is-in .z { clip-path: inset(0 0 0 0) !important; }
[data-mode="video"] .z--sub { opacity: 0; transform: translateY(20px); transition: opacity .8s .5s, transform 1s var(--ease) .5s; }
[data-mode="video"] .beat.is-in .z--sub { opacity: 1; transform: none; }
[data-mode="video"] .lay :is(.lede--cream, .h2, .tag, .stats, .mats, .z--sub, .note) { color: var(--ink) !important; }
[data-mode="video"] .btn--cream { background: var(--ink); color: var(--glow); border-color: var(--ink); }
[data-mode="video"] .btn--line-cream { color: var(--ink); }
[data-mode="video"] .btn--line-cream:hover { color: var(--glow); }
[data-mode="video"] .btn--line-cream::before { background: var(--ink); }

/* ── split text ─────────────────────────────────────────── */
.ln, .ch, .wd { display: inline-block; overflow: hidden; vertical-align: top; }
.ln { display: block; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > i, .ch > i, .wd > i { display: inline-block; font-style: inherit; transition: transform 1.05s var(--ease), opacity .6s; }
.ln > i { transform: translate3d(0, 105%, 0); transition-delay: calc(var(--li) * 90ms + 80ms); }
.ln:nth-child(even) > i { transform: translate3d(-40%, 0, 0); opacity: 0; }
.ch > i { transform: translate3d(0, 110%, 0) rotate(8deg); transition-delay: calc(var(--ci) * 45ms + 60ms); }
.ch:nth-child(even) > i { transform: translate3d(0, -110%, 0) rotate(-8deg); }
.wd > i { transform: translate3d(0, 100%, 0); opacity: 0; transition-delay: calc(var(--wi) * 32ms + 260ms); }
:is(.beat.is-live, [data-mode="video"] .beat.is-in, [data-reveal].is-in, .is-in) :is(.ln, .ch, .wd) > i { transform: none; opacity: 1; }

/* ── beat type ──────────────────────────────────────────── */
.tag { display: inline-flex; align-items: center; gap: 8px; color: rgba(14,28,69,.72); margin-bottom: 14px; }
.tag::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.h2 { font-family: var(--display); font-variation-settings: "wdth" 56, "opsz" 144; font-weight: 500; font-size: clamp(44px, 6.4vw, 104px); line-height: .9; letter-spacing: -.012em; margin: 0 0 18px; }
.h2 em { font-family: var(--serif); font-variation-settings: normal; font-weight: 400; letter-spacing: -.01em; }
.h2--xl { font-size: clamp(72px, 13vw, 220px); margin: 0; }
.lede { margin: 0 0 18px; font-size: 16px; line-height: 1.5; max-width: 44ch; }
.lede em { font-size: 1.15em; }
.lede--cream { color: var(--glow); }
.note { color: rgba(14,28,69,.7); }
.row { display: flex; gap: 10px; flex-wrap: wrap; }

/* reveal of small furniture */
.beat :is(.tag, .lede, .row, .spec, .stats li, .inset, .band__row, .leader, .chips span, .mats li, .clock, .scalebar, .cue, .note, .stamp) { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--ease), transform 1s var(--ease); }
.beat .tag { clip-path: inset(0 100% 0 0); transform: none; transition: clip-path 1s var(--ease) .1s, opacity .3s .1s; }
.beat .lede { transition-delay: .35s; } .beat .row { transition-delay: .5s; }
.beat .stats li:nth-child(2), .beat .band__row:nth-child(2), .beat .leader:nth-child(2), .beat .mats li:nth-child(2) { transition-delay: .12s; }
.beat .stats li:nth-child(3), .beat .band__row:nth-child(3), .beat .leader:nth-child(3), .beat .mats li:nth-child(3) { transition-delay: .24s; }
.beat .band__row:nth-child(4), .beat .mats li:nth-child(4) { transition-delay: .36s; }
.beat .chips span { transform: translate3d(-24px, 0, 0); }
.beat .chips span:nth-child(n) { transition-delay: calc(var(--i, 0) * 60ms); }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) :is(.tag, .lede, .row, .spec, .stats li, .inset, .band__row, .leader, .chips span, .mats li, .clock, .scalebar, .cue, .note) { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* hero */
.giant { position: absolute; left: 0; right: 0; top: clamp(70px, 11vh, 120px); margin: 0; text-align: center; font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 144; font-weight: 600; font-size: min(29vw, 54vh); line-height: .78; letter-spacing: -.01em; color: var(--ink); pointer-events: none; white-space: nowrap; }
.giant .ch > i { transition-duration: 1.3s; }
[data-mode="scrub"] .giant { transform: translate3d(0, calc(var(--t, 0) * -40px), 0) scale(calc(1 + (var(--t, 0) + 1) * .025)); }
[data-mode="video"] .giant { position: relative; top: auto; grid-area: mid; align-self: center; }
.beat--hero .z--sub, .beat--fin .z--sub { align-self: start; margin-top: calc(min(29vw, 54vh) * .72 + 10px); color: var(--ink); }
.beat--hero .z--sub .wd > i, .beat--fin .z--sub .wd > i { transition-delay: calc(var(--wi) * 40ms + 700ms); }
[data-mode="video"] .beat--hero .z--sub, [data-mode="video"] .beat--fin .z--sub { margin-top: 0; align-self: end; }
[data-mode="video"] .beat--hero .lay, [data-mode="video"] .beat--fin .lay { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
[data-mode="video"] .beat--hero .z--tr { align-self: flex-end; }
[data-mode="video"] .beat--hero .z--br, [data-mode="video"] .beat--fin .z--br { display: none; }
[data-mode="video"] .giant { transform: none; }
.spec { margin: 0; display: grid; gap: 4px; min-width: 200px; }
.spec div { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px dotted rgba(14,28,69,.4); padding-bottom: 3px; }
.spec dt { color: rgba(14,28,69,.66); } .spec dd { margin: 0; font-weight: 500; }
.cue { display: flex; align-items: center; gap: 10px; color: var(--glow); }
.cue i { width: 1px; height: 36px; background: currentColor; position: relative; overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: -1px; width: 3px; height: 10px; background: var(--red); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { from { top: -10px; } to { top: 36px; } }

/* inset figure card */
.inset { margin: 0; width: min(340px, 30vw); background: rgba(217,207,184,.9); border: 1px solid rgba(14,28,69,.35); padding: 12px 14px 10px; color: var(--ink); position: relative; transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.inset::before, .inset::after { content: ""; position: absolute; width: 10px; height: 10px; border: 0 solid var(--ink); }
.inset::before { top: -5px; left: -5px; border-top-width: 1px; border-left-width: 1px; }
.inset::after { bottom: -5px; right: -5px; border-bottom-width: 1px; border-right-width: 1px; }
.inset figcaption, .inset__foot { display: flex; justify-content: space-between; font-size: 9px; }
.inset__foot { border-top: 1px dotted rgba(14,28,69,.4); padding-top: 6px; margin-top: 4px; }
.inset--tilt { transform: perspective(700px) rotate(-2.4deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), opacity .7s; }
.draw { width: 100%; height: auto; margin: 6px 0; overflow: visible; }
.draw__grid { stroke: rgba(14,28,69,.18); stroke-width: .6; stroke-dasharray: 2 3; fill: none; }
.draw__line { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.draw__line--2 { stroke-width: .7; }
.draw__pt { fill: var(--red); opacity: 0; transition: opacity .4s 1.8s; }
.draw__t { font-family: var(--mono); font-size: 7.5px; fill: var(--ink); letter-spacing: .06em; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in, .is-in) .draw__line { stroke-dashoffset: 0; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in, .is-in) .draw__pt { opacity: 1; }

.scalebar { display: flex; align-items: center; gap: 10px; }
.scalebar div { display: grid; grid-template-columns: repeat(4, 22px); height: 6px; border: 1px solid currentColor; }
.scalebar i:nth-child(odd) { background: currentColor; }

/* stats */
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; text-align: right; }
.stats li { display: grid; gap: 2px; border-top: 1px solid rgba(14,28,69,.3); padding-top: 8px; }
.stats b { font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 144; font-weight: 500; font-size: clamp(36px, 4vw, 60px); line-height: .9; font-variant-numeric: tabular-nums; }
.stats small { font-family: var(--serif); font-style: italic; font-size: .5em; margin-left: 4px; }
.stats .mono { color: rgba(14,28,69,.66); }
.stats--row { grid-auto-flow: column; gap: 32px; text-align: left; }
.stats--row li { border-top-color: rgba(253,245,233,.4); }

/* snow band */
.band { display: grid; gap: 10px; width: min(340px, 30vw); background: rgba(217,207,184,.86); padding: 14px 16px; border: 1px solid rgba(14,28,69,.3); }
.band__row { display: grid; grid-template-columns: 1fr 70px; grid-template-rows: auto 4px; gap: 4px 10px; align-items: end; }
.band__row span { grid-column: 1; } .band__row b { grid-column: 2; grid-row: 1 / 3; text-align: right; font-weight: 500; }
.band__row i { grid-column: 1; height: 4px; background: rgba(14,28,69,.15); position: relative; overflow: hidden; }
.band__row i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease) .4s; }
.band__row:last-child i::after { background: var(--red); }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) .band__row i::after { transform: scaleX(var(--w)); }

/* flash beat */
.beat--flash .h2--xl { color: var(--ink); }

/* pointer leaders */
.pointer { display: grid; gap: 10px; min-width: 300px; }
.leader { display: flex; align-items: center; gap: 10px; }
.leader i { flex: 1; min-width: 40px; border-top: 1px dotted currentColor; position: relative; }
.leader i::after { content: ""; position: absolute; right: -2px; top: -3px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.leader b { width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; max-width: 360px; }
.chips span { padding: 5px 10px; border: 1px solid rgba(14,28,69,.4); background: rgba(217,207,184,.9); border-radius: 999px; }

/* negative + scaffold beats: cream on cobalt */
.beat--neg .lay, .beat--scaf .lay { color: var(--glow); }
.beat--neg .tag, .beat--scaf .tag { color: rgba(253,245,233,.75); }
.mats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; min-width: 280px; }
.mats li { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid rgba(253,245,233,.3); }
.mats b { font-weight: 500; } .mats span { opacity: .7; }
.beat--scaf .stats .mono { color: rgba(253,245,233,.7); }

.stamp { position: relative; width: 120px; height: 120px; color: var(--glow); transform: rotate(-30deg) scale(1.5); opacity: 0; transition: transform .7s cubic-bezier(.3,1.6,.5,1) .3s, opacity .3s .3s; }
.stamp svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1; animation: spin 26s linear infinite; }
.stamp text { font-family: var(--mono); font-size: 7.2px; letter-spacing: .14em; fill: currentColor; stroke: none; }
.stamp b { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--display); font-variation-settings: "wdth" 50; font-size: 20px; line-height: .95; font-weight: 600; }
:is(.beat.is-live, [data-mode="video"] .beat.is-in) .stamp { transform: rotate(-12deg) scale(1); opacity: 1; }
[data-mode="video"] .stamp { color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* signal clock */
.clock { display: grid; gap: 4px; justify-items: end; background: rgba(217,207,184,.88); border: 1px solid rgba(14,28,69,.3); padding: 14px 16px; min-width: 260px; }
.clock > b { font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 144; font-weight: 500; font-size: 58px; line-height: .9; font-variant-numeric: tabular-nums; }
.stations { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; width: 100%; }
.stations li { display: flex; align-items: center; gap: 8px; border-top: 1px dotted rgba(14,28,69,.3); padding-top: 4px; }
.stations li span { margin-left: auto; font-variant-numeric: tabular-nums; }
.stations i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1.4s infinite; }
.stations li:nth-child(2) i { animation-delay: .3s; } .stations li:nth-child(3) i { animation-delay: .6s; } .stations li:nth-child(4) i { animation-delay: .9s; }

/* ═════════ page (below the film) ═════════ */
.page { position: relative; z-index: 30; background: var(--paper-2); color: var(--ink);
  background-image: linear-gradient(rgba(14,28,69,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(14,28,69,.06) 1px, transparent 1px);
  background-size: 64px 64px; }
.page::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .1 0 0 0 0 .2 0 0 0 .5 -.2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }

.marquee { position: relative; overflow: hidden; background: var(--cobalt); color: var(--glow); padding: 18px 0; border-block: 1px solid var(--ink); }
.marquee__row { display: flex; gap: 34px; width: max-content; font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 144; font-size: clamp(38px, 5vw, 76px); line-height: 1; white-space: nowrap; will-change: transform; }
.marquee__row em { font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .1em; vertical-align: super; opacity: .7; }

.sec { position: relative; padding: clamp(80px, 11vw, 160px) var(--gut); max-width: 1500px; margin: 0 auto; }
.sec__head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px var(--gut); align-items: end; margin-bottom: 48px; }
.sec__no { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; color: rgba(14,28,69,.7); }
.sec__no::after { content: ""; flex: 1; border-top: 1px solid rgba(14,28,69,.3); }
.sec__h { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 56, "opsz" 144; font-weight: 500; font-size: clamp(44px, 6vw, 96px); line-height: .9; letter-spacing: -.012em; }
.sec__h em { font-family: var(--serif); font-weight: 400; }
.sec__lede { margin: 0; max-width: 46ch; justify-self: end; font-size: 16px; opacity: 0; transform: translateY(16px); transition: opacity .8s .3s, transform 1s var(--ease) .3s; }
[data-reveal].is-in .sec__lede { opacity: 1; transform: none; }
[data-reveal]:not(.sec__head):not(details) { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in:not(.sec__head) { opacity: 1; transform: none; }

/* filters */
.filters { display: grid; gap: 14px; margin-bottom: 30px; padding: 18px 0; border-block: 1px solid rgba(14,28,69,.25); }
.filters__grp { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.filters__grp > .mono { width: 76px; color: rgba(14,28,69,.66); }
.chipset { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(14,28,69,.4); background: transparent; font-size: 12.5px; font-weight: 500; position: relative; overflow: hidden; isolation: isolate; transition: color .3s, border-color .3s; }
.chip::before { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: translateY(101%); transition: transform .4s var(--snap); }
.chip[aria-pressed="true"] { color: var(--glow); border-color: var(--ink); }
.chip[aria-pressed="true"]::before { transform: none; }
.chip sup { font-family: var(--mono); font-size: 8.5px; margin-left: 3px; opacity: .7; }
.filters__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sel { display: inline-flex; gap: 10px; align-items: center; }
.sel select { border: 1px solid rgba(14,28,69,.4); background: var(--sheet); padding: 7px 10px; font-family: var(--mono); font-size: 11px; }
.count b { font-family: var(--display); font-variation-settings: "wdth" 50; font-size: 22px; font-weight: 500; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.card { position: relative; background: var(--sheet); border: 1px solid rgba(14,28,69,.28); display: grid; text-align: left; padding: 0; color: var(--ink); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .4s, opacity .5s, translate .6s var(--ease); box-shadow: 0 0 0 0 rgba(6,20,62,0); animation: cardIn .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
.card:hover { box-shadow: 10px 12px 0 -2px rgba(14,28,69,.2); }
@keyframes cardIn { from { opacity: 0; translate: 0 40px; clip-path: inset(0 0 100% 0); } to { opacity: 1; translate: 0 0; clip-path: inset(0 0 0 0); } }
.card__art { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); }
.card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__art img { transform: scale(1.06); }
.card__art svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 44%; }
.card__art svg path.fill { fill: rgba(217,207,184,.92); }
.card__art svg path.ln2 { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 800; stroke-dashoffset: 800; transition: stroke-dashoffset 1.6s var(--ease); }
.card:hover .card__art svg path.ln2, .card.is-drawn .card__art svg path.ln2 { stroke-dashoffset: 0; }
.card__fig { position: absolute; top: 8px; left: 8px; background: var(--ink); color: var(--glow); padding: 3px 7px; font-size: 9px; }
.card__alt { position: absolute; top: 8px; right: 8px; background: rgba(217,207,184,.92); padding: 3px 7px; font-size: 9px; }
.card__body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.card__h { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 60, "opsz" 72; font-weight: 500; font-size: 26px; line-height: 1; }
.card__meta { display: flex; justify-content: space-between; color: rgba(14,28,69,.66); gap: 10px; }
.card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.card__tags span { font-size: 9px; padding: 3px 7px; border: 1px solid rgba(14,28,69,.3); border-radius: 999px; }
.card__open { position: absolute; inset: 0; background: none; border: 0; }
.empty { padding: 40px 0; text-align: center; }
.linkbtn { background: none; border: 0; text-decoration: underline; font: inherit; padding: 0; }

/* dialog sheet */
.sheet { border: 1px solid var(--ink); padding: 0; background: var(--sheet); color: var(--ink); width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 40px); }
.sheet::backdrop { background: rgba(6,20,62,.72); }
.sheet[open] { animation: sheetIn .6s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(30px); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.sheet__close { position: absolute; top: 10px; right: 10px; z-index: 2; margin: 0; }
.sheet__close button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ink); background: var(--sheet); }
.sheet__in { display: grid; grid-template-columns: 1.1fr 1fr; }
.sheet__art { position: relative; min-height: 320px; background: var(--paper); }
.sheet__art img { width: 100%; height: 100%; object-fit: cover; }
.sheet__body { padding: 30px 28px; display: grid; gap: 12px; align-content: start; }
.sheet__body h3 { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 56, "opsz" 144; font-weight: 500; font-size: 44px; line-height: .95; }
.sheet__body dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.sheet__body dt { color: rgba(14,28,69,.6); }
.sheet__body dd { margin: 0; text-align: right; }
.sheet__sec { border-top: 1px solid rgba(14,28,69,.25); padding-top: 10px; }
.sheet__sec svg { width: 100%; height: 90px; }
.sheet__sec svg path { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 900; stroke-dashoffset: 900; animation: drawIn 1.8s var(--ease) .2s forwards; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }

/* materials */
.matx { display: grid; grid-template-columns: 260px 1fr; gap: 0; border: 1px solid rgba(14,28,69,.3); background: var(--sheet); }
.matx__tabs { display: grid; align-content: start; border-right: 1px solid rgba(14,28,69,.3); }
.matx__tab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 20px; background: transparent; border: 0; border-bottom: 1px solid rgba(14,28,69,.2); text-align: left; font-size: 15px; font-weight: 500; position: relative; isolation: isolate; transition: color .3s; }
.matx__tab::before { content: ""; position: absolute; inset: 0; background: var(--cobalt); z-index: -1; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--snap); }
.matx__tab[aria-selected="true"] { color: var(--glow); }
.matx__tab[aria-selected="true"]::before { transform: none; }
.matx__tab .mono { opacity: .6; }
.matx__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 440px; outline: none; }
.matx__draw { position: relative; padding: 20px; border-right: 1px solid rgba(14,28,69,.2); background: var(--cobalt); color: var(--glow); display: grid; align-content: center; }
.matx__fig { position: absolute; top: 14px; left: 20px; right: 20px; display: flex; justify-content: space-between; opacity: .8; }
#matSvg { width: 100%; height: auto; }
#matSvg * { vector-effect: non-scaling-stroke; }
#matSvg .s { fill: none; stroke: var(--glow); stroke-width: 1.1; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: drawIn 1.6s var(--ease) forwards; }
#matSvg .h { fill: none; stroke: rgba(253,245,233,.45); stroke-width: .7; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: drawIn 2.2s var(--ease) .3s forwards; }
#matSvg text { font-family: var(--mono); font-size: 8px; fill: var(--glow); letter-spacing: .08em; opacity: 0; animation: fade .6s 1.2s forwards; }
@keyframes fade { to { opacity: .85; } }
.matx__body { padding: 28px; display: grid; gap: 14px; align-content: start; }
.matx__h { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 56, "opsz" 144; font-weight: 500; font-size: 48px; line-height: .95; }
.matx__p { margin: 0; max-width: 48ch; }
.props { display: grid; gap: 10px; }
.prop { display: grid; grid-template-columns: 150px 1fr 36px; gap: 12px; align-items: center; }
.prop span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.prop i { height: 8px; border: 1px solid var(--ink); position: relative; overflow: hidden; }
.prop i::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 8px); transform: scaleX(var(--v, 0)); transform-origin: 0 50%; transition: transform 1s var(--ease); }
.prop b { font-family: var(--mono); font-size: 11px; text-align: right; font-weight: 500; }
.matx__dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; border-top: 1px solid rgba(14,28,69,.25); padding-top: 12px; }
.matx__dl dt { opacity: .6; } .matx__dl dd { margin: 0; text-align: right; }

/* elevation */
.elev { border: 1px solid rgba(14,28,69,.3); background: var(--sheet); }
.elev__read { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr) 1.4fr; border-bottom: 1px solid rgba(14,28,69,.25); }
.elev__read > div { padding: 16px 18px; display: grid; gap: 4px; border-right: 1px solid rgba(14,28,69,.18); }
.elev__read > div:last-child { border-right: 0; }
.elev__read .mono { opacity: .62; }
.elev__read b { font-family: var(--display); font-variation-settings: "wdth" 52, "opsz" 144; font-weight: 500; font-size: clamp(28px, 3vw, 44px); line-height: 1; font-variant-numeric: tabular-nums; }
.elev__read b small { font-family: var(--mono); font-size: 11px; }
.elev__read .elev__type { font-family: var(--serif); font-style: italic; font-variation-settings: normal; font-size: 22px; }
.elev__chart { position: relative; height: clamp(240px, 32vw, 380px); cursor: crosshair; touch-action: pan-y; outline: none; background: linear-gradient(rgba(14,28,69,.08) 1px, transparent 1px) 0 0 / 100% 25%; }
.elev__chart:focus-visible { box-shadow: inset 0 0 0 2px var(--red); }
#eSvg { position: absolute; inset: 0; width: 100%; height: 100%; }
#eSvg .area { fill: var(--cobalt); }
#eSvg .edge { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
#eSvg .hatch { stroke: rgba(253,245,233,.25); stroke-width: 1; vector-effect: non-scaling-stroke; }
#eSvg .snow { fill: none; stroke: var(--red); stroke-dasharray: 6 5; stroke-width: 1; vector-effect: non-scaling-stroke; }
.elev__chart .pin { position: absolute; transform: translate(-50%, -100%); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; pointer-events: none; padding-bottom: 8px; }
.elev__chart .pin::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--ink); }
.elev__snowlbl { position: absolute; right: 12px; font-family: var(--mono); font-size: 9px; color: var(--red); letter-spacing: .08em; text-transform: uppercase; transform: translateY(-120%); }
.elev__cur { position: absolute; top: 0; bottom: 0; left: 0; width: 0; pointer-events: none; will-change: transform; }
.elev__cur::before { content: ""; position: absolute; top: 0; bottom: 0; left: -.5px; border-left: 1px dashed var(--red); }
.elev__cur i { position: absolute; left: -7px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--red); background: var(--sheet); top: var(--y, 50%); margin-top: -7px; }
.elev__cur span { position: absolute; bottom: 8px; left: 8px; background: var(--ink); color: var(--glow); padding: 3px 6px; white-space: nowrap; }
.elev__axis { display: flex; justify-content: space-between; padding: 10px 18px; border-top: 1px solid rgba(14,28,69,.25); opacity: .72; }

/* tiers + configurator */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.tier { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid rgba(14,28,69,.35); background: var(--sheet); cursor: pointer; transform: var(--mag, none); transition: background-color .45s var(--ease), color .45s, transform .5s var(--ease); }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier:has(input:checked) { background: var(--cobalt); color: var(--glow); }
.tier:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.tier__no { opacity: .7; }
.tier__name { font-family: var(--display); font-variation-settings: "wdth" 56, "opsz" 144; font-weight: 500; font-size: 38px; line-height: .95; }
.tier__price { font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 144; font-size: 58px; line-height: 1; font-weight: 500; }
.tier__price em { font-style: normal; font-size: .45em; vertical-align: top; margin-right: 2px; }
.tier__price small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; margin-left: 6px; opacity: .7; }
.tier__li { margin: 0; padding: 12px 0 0; list-style: none; display: grid; gap: 6px; border-top: 1px dotted currentColor; font-size: 14px; }
.tier__li li::before { content: "— "; opacity: .6; }
.tier__cta { justify-self: start; margin-top: 8px; padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; }
.tier:has(input:checked) .tier__cta::before { content: "✓ "; }
.tier:has(input:checked) .tier__cta { background: var(--glow); color: var(--ink); }

.enrol { border: 1px solid rgba(14,28,69,.35); background: var(--sheet); }
.cfg { display: grid; grid-template-columns: 1fr 1fr 340px; }
.cfg__col { padding: 26px; display: grid; gap: 18px; align-content: start; border-right: 1px solid rgba(14,28,69,.2); }
.cfg__h { margin: 0; opacity: .7; }
.fld { display: grid; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.fld > .mono, .fld legend { opacity: .75; display: flex; justify-content: space-between; }
.fld legend { padding: 0; margin-bottom: 7px; }
.fld input:not([type="range"]):not([type="checkbox"]), .fld select, .fld textarea { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 8px 0; font-size: 15px; border-radius: 0; resize: vertical; }
.fld select { cursor: pointer; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-bottom-color: var(--red); box-shadow: 0 1px 0 var(--red); }
.fld.is-bad input, .fld.is-bad select, .fld.is-bad textarea { border-bottom-color: var(--red); }
.err { display: none; color: var(--red); font-style: normal; font-size: 9.5px; }
.is-bad > .err, .err.is-on { display: block; }
.fld.is-bad { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--ink); box-shadow: inset 0 0 0 3px var(--sheet), inset 0 0 0 9px var(--red); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--ink); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 2px solid var(--ink); }
.range__ticks { display: flex; justify-content: space-between; font-size: 9px; opacity: .6; padding: 0 4px; }
#cWeeksFld.is-off { opacity: .35; pointer-events: none; }
.step { display: inline-flex; align-items: center; border: 1px solid var(--ink); width: max-content; }
.step button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 18px; }
.step button:hover { background: var(--ink); color: var(--glow); }
.step output { min-width: 44px; text-align: center; font-family: var(--mono); font-size: 15px; }
.addons { display: grid; gap: 8px; }
.chk { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; cursor: pointer; font-size: 14px; }
.chk input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid var(--ink); margin: 0; display: grid; place-items: center; background: transparent; cursor: pointer; }
.chk input::after { content: ""; width: 10px; height: 10px; background: var(--red); transform: scale(0) rotate(45deg); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.chk input:checked::after { transform: scale(1) rotate(45deg); }
.chk--consent { grid-template-columns: 20px 1fr; }
.cfg__sum { padding: 26px; background: var(--cobalt); color: var(--glow); display: grid; gap: 16px; align-content: start; }
.sum { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sum li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted rgba(253,245,233,.3); padding-bottom: 6px; animation: sumIn .5s var(--ease) both; }
@keyframes sumIn { from { opacity: 0; transform: translateX(-12px); } }
.sum__total { display: grid; gap: 4px; padding-top: 6px; }
.sum__total b { font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 144; font-weight: 500; font-size: 72px; line-height: .9; font-variant-numeric: tabular-nums; }
.cfg__sum .btn--ink { background: var(--glow); color: var(--ink); border-color: var(--glow); }
.cfg__sum .btn--ink:hover { color: var(--glow); }
.sum__fine { opacity: .66; margin: 0; }
.done { padding: 60px 30px; display: grid; justify-items: center; gap: 14px; text-align: center; outline: none; }
.done__h { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 56, "opsz" 144; font-weight: 500; font-size: clamp(40px, 5vw, 72px); line-height: .95; }
.stamp--done { color: var(--red); opacity: 1; animation: stampIn .7s cubic-bezier(.3,1.6,.5,1) both; transform: rotate(-12deg); }
@keyframes stampIn { from { transform: rotate(-40deg) scale(2); opacity: 0; } }

/* faq */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid rgba(14,28,69,.35); }
.faq summary { list-style: none; display: grid; grid-template-columns: 60px 1fr 30px; align-items: center; gap: 12px; padding: 22px 0; cursor: pointer; font-family: var(--display); font-variation-settings: "wdth" 60, "opsz" 72; font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; transition: padding .4s var(--ease), color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { padding-left: 12px; color: var(--navy); }
.faq summary i { width: 26px; height: 26px; border: 1px solid var(--ink); border-radius: 50%; position: relative; justify-self: end; transition: transform .5s var(--snap), background-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 7px; right: 7px; top: 50%; height: 1px; background: currentColor; }
.faq summary i::after { transform: rotate(90deg); transition: transform .5s var(--snap); }
.faq details[open] summary i { transform: rotate(180deg); background: var(--ink); color: var(--glow); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq details > div > p { overflow: hidden; margin: 0; padding-left: 72px; max-width: 78ch; font-size: 16px; }
.faq details.is-open > div { grid-template-rows: 1fr; }
.faq details.is-open > div > p { padding-bottom: 24px; }

/* footer */
.foot { position: relative; background: var(--cobalt); color: var(--glow); padding: 70px var(--gut) 24px; overflow: hidden; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot__col { display: grid; gap: 10px; align-content: start; }
.foot__col > .mono { opacity: .6; }
.foot__links a { text-decoration: none; font-size: 15px; width: max-content; position: relative; }
.foot__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.foot__links a:hover::after { transform: scaleX(1); }
.foot__links p { margin: 0; }
.foot__time b { font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 144; font-weight: 500; font-size: 56px; line-height: .9; font-variant-numeric: tabular-nums; }
.news { display: flex; border: 1px solid rgba(253,245,233,.5); }
.news input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 12px 14px; color: var(--glow); }
.news input::placeholder { color: rgba(253,245,233,.5); }
.news input:focus { outline: none; }
.news .btn--ink { background: var(--glow); color: var(--ink); border: 0; }
.news .btn--ink:hover { color: var(--glow); }
.news__msg { min-height: 14px; margin: 0; }
.news__msg.is-bad { color: #ff9c86; }
.foot__giant { font-family: var(--display); font-variation-settings: "wdth" 50, "opsz" 144; font-weight: 600; font-size: 30.5vw; line-height: .78; text-align: center; margin: 60px 0 20px; white-space: nowrap; letter-spacing: -.01em; }
.foot__giant .ch > i { transition-duration: 1.4s; }
.foot__base { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; border-top: 1px solid rgba(253,245,233,.25); padding-top: 16px; opacity: .8; }

/* cursor: a survey reticle with a live coordinate readout */
:root.has-cursor, :root.has-cursor * { cursor: none !important; }
.cur { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; }
.cur--dot { width: 5px; height: 5px; background: var(--red); border-radius: 50%; }
.cur--ring { width: 34px; height: 34px; transition: width .35s var(--ease), height .35s var(--ease); }
.cur--ring::before, .cur--ring::after { content: ""; position: absolute; background: var(--red); }
.cur--ring::before { left: 50%; top: 0; bottom: 0; width: 1px; -webkit-mask: linear-gradient(#000 30%, transparent 30% 70%, #000 70%); mask: linear-gradient(#000 30%, transparent 30% 70%, #000 70%); }
.cur--ring::after { top: 50%; left: 0; right: 0; height: 1px; -webkit-mask: linear-gradient(90deg, #000 30%, transparent 30% 70%, #000 70%); mask: linear-gradient(90deg, #000 30%, transparent 30% 70%, #000 70%); }
.cur__box { position: absolute; inset: 0; border: 1px solid var(--red); border-radius: 50%; transform: scale(.55); transition: transform .35s var(--ease), border-radius .35s; }
.cur--ring.is-on .cur__box { transform: scale(1); border-radius: 0; }
.cur--ring.is-lg { width: 76px; height: 76px; }
.cur--ring.is-down .cur__box { transform: scale(.4); }
.cur--ring.is-out { opacity: 0; }
.cur__xy { position: absolute; left: 100%; top: 100%; margin: 4px 0 0 4px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; color: var(--red); white-space: nowrap; }
.cur__l { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); font-weight: 500; opacity: 0; transition: opacity .3s; }
.cur--ring.is-lg .cur__l { opacity: 1; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .chrome__nav, .mark__sub { display: none; }
  .switch { margin-left: auto; }
  .burger { display: block; }
  .cfg { grid-template-columns: 1fr 1fr; }
  .cfg__sum { grid-column: 1 / -1; }
  .elev__read { grid-template-columns: repeat(2, 1fr); }
  .elev__read > div:last-child { grid-column: 1 / -1; }
  .matx { grid-template-columns: 1fr; }
  .matx__tabs { grid-template-columns: repeat(3, 1fr); border-right: 0; border-bottom: 1px solid rgba(14,28,69,.3); }
  .matx__tab { border-right: 1px solid rgba(14,28,69,.2); }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .lay { padding-left: calc(var(--gut) + 30px); padding-right: calc(var(--gut) + 30px); }
  .hud__stream { display: none; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .chrome { gap: 10px; padding: 10px 14px; }
  .chrome__cta { display: none; }
  .mark__txt { font-size: 22px; }
  .switch { padding: 5px 8px; gap: 6px; }
  .switch__txt { display: none; }
  .hud__side, .hud__read, .hud__scale, .hud__fig, .hud__cross { display: none; }
  .hud__br--tl, .hud__br--tr { top: 64px; }
  .lay { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; grid-template-areas: "tl" "mid" "tr" "bl"; padding: 80px 16px 128px; gap: 16px; }
  .z--tr, .z--br { justify-self: start; }
  .z--br { display: none; }
  .h2 { font-size: clamp(40px, 12vw, 60px); }
  .lede { font-size: 15px; }
  .giant { top: 96px; font-size: 31vw; }
  .beat--hero .z--sub, .beat--fin .z--sub { margin-top: calc(31vw * .72 + 30px); font-size: 20px; }
  .beat--hero .z--tl { display: none; }
  .inset, .band { width: 100%; }
  .stats { text-align: left; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stats b { font-size: 32px; }
  .stats--row { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .pointer { min-width: 0; }
  .mats { min-width: 0; width: 100%; }
  .clock { min-width: 0; width: 100%; }
  .clock > b { font-size: 44px; }
  [data-mode="scrub"] .z--tr { align-self: end; }
  [data-mode="video"] .lay { grid-template-rows: auto auto auto auto auto; grid-template-areas: "tl" "mid" "sub" "tr" "bl"; }
  [data-mode="video"] .z--sub { grid-area: sub; }
  .chapter { left: 16px; bottom: 76px; }
  .chapter__n b { font-size: 20px; }
  .dock { bottom: 14px; }
  .sec__head { grid-template-columns: 1fr; }
  .sec__lede { justify-self: start; }
  .filters__grp { gap: 8px; }
  .filters__grp > .mono { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .sheet__in { grid-template-columns: 1fr; }
  .sheet__art { min-height: 200px; }
  .matx__tabs { grid-template-columns: repeat(2, 1fr); }
  .matx__panel { grid-template-columns: 1fr; }
  .matx__h { font-size: 38px; }
  .prop { grid-template-columns: 110px 1fr 30px; }
  .elev__read { grid-template-columns: 1fr 1fr; }
  .elev__read > div:first-child { grid-column: 1 / -1; }
  .tiers { grid-template-columns: 1fr; }
  .cfg { grid-template-columns: 1fr; }
  .cfg__col { border-right: 0; border-bottom: 1px solid rgba(14,28,69,.2); padding: 20px; }
  .sum__total b { font-size: 56px; }
  .faq summary { grid-template-columns: 44px 1fr 30px; font-size: 21px; }
  .faq details > div > p { padding-left: 0; }
  .foot__top { grid-template-columns: 1fr; }
  .foot__base { justify-content: center; text-align: center; }
  .navPanel a { font-size: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__row { transform: none !important; }
}

/* ── legibility cards over busy frames (scrub) ──────────── */
.beat .lede { background: rgba(217,207,184,.84); padding: 12px 14px; box-shadow: 0 0 0 1px rgba(14,28,69,.14); }
.beat .lede--cream { background: rgba(6,20,62,.78); box-shadow: 0 0 0 1px rgba(253,245,233,.16); }
[data-mode="video"] .beat .lede { background: none; box-shadow: none; padding: 0; }
.beat--scaf .stats--row { background: rgba(6,20,62,.82); padding: 14px 18px; box-shadow: 0 0 0 1px rgba(253,245,233,.2); }
[data-mode="video"] .beat--scaf .stats--row { background: none; box-shadow: none; padding: 0; }
[data-mode="video"] .beat--scaf .stats .mono { color: rgba(14,28,69,.66); }
[data-mode="video"] .beat--scaf .stats--row li { border-top-color: rgba(14,28,69,.3); }
.chapter { background: rgba(217,207,184,.92); padding: 6px 12px 5px; box-shadow: 0 0 0 1px rgba(14,28,69,.18); --fg: var(--ink); --fg-2: rgba(14,28,69,.66); }
.hud__scale { background: rgba(217,207,184,.92); padding: 7px 10px 5px; box-shadow: 0 0 0 1px rgba(14,28,69,.18); --fg: var(--ink); --fg-2: rgba(14,28,69,.66); width: 170px; }
.beat--hero::before, .beat--fin::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(transparent, rgba(6,20,62,.55)); pointer-events: none; }
[data-mode="video"] .beat--hero::before, [data-mode="video"] .beat--fin::before { display: none; }
.giant { left: 50%; right: auto; }
[data-mode="scrub"] .giant { transform: translate3d(-50%, calc(var(--t, 0) * -40px), 0) scale(calc(1 + (var(--t, 0) + 1) * .025)); }
[data-mode="video"] .giant { left: auto; }
[data-mode="scrub"] .beat--hero .z--tl, [data-mode="scrub"] .beat--hero .z--tr, [data-mode="scrub"] .beat--fin .z--tl { margin-top: calc(min(29vw, 54vh) * .78 + 20px); }
@media (max-width: 760px) {
  [data-mode="scrub"] .beat--hero .z--tl, [data-mode="scrub"] .beat--hero .z--tr, [data-mode="scrub"] .beat--fin .z--tl { margin-top: 0; }
  .beat--fin .z--tl { display: none; }
  .chapter { bottom: 78px; }
}
[data-mode="scrub"] .beat--hero .z--sub, [data-mode="scrub"] .beat--fin .z--sub { margin-top: 0; align-self: start; }
[data-mode="scrub"] .beat--fin .z--sub { margin-top: 0; }
@media (max-width: 760px) { [data-mode="scrub"] .beat--hero .z--sub, [data-mode="scrub"] .beat--fin .z--sub { margin-top: calc(31vw * .72 + 20px); } }
.z--tl, .z--tr { align-self: start; }
[data-mode="video"] .beat--hero .lay, [data-mode="video"] .beat--fin .lay { align-items: flex-start; }
[data-mode="video"] .beat--hero .z--tr { align-self: flex-end; }
[data-mode="video"] .beat--hero .z--sub, [data-mode="video"] .beat--fin .z--sub, [data-mode="video"] .giant { align-self: center; }
[data-mode="video"] .beat--hero .z--bl, [data-mode="video"] .beat--fin .z--bl { align-self: flex-start; }
[data-mode="video"] .beat--hero .z--tl, [data-mode="video"] .beat--fin .z--tl { background: none; box-shadow: none; padding: 0; }
[data-mode="video"] .hud__fig b { color: var(--red); }
[data-mode="video"] .hud__fig b { color: var(--red) !important; }
[data-mode="video"] .beat--hero .z--tl, [data-mode="video"] .beat--fin .z--tl { align-self: flex-start; width: max-content; max-width: 100%; }
[data-mode="video"] .beat--hero .z--tl .tag, [data-mode="video"] .beat--fin .z--tl .tag { margin: 0; }
[data-mode="video"] .giant { font-size: min(24vw, 38vh); }
[data-mode="video"] .beat--hero .z--bl { align-self: flex-start; }
[data-mode="video"] .lay { padding-bottom: 150px; }
.dock__txt { white-space: nowrap; }
@media (max-width: 760px) {
  [data-mode="scrub"] .beat:not(.beat--neg):not(.beat--scaf):not(.beat--hero) .z--tr { background: rgba(217,207,184,.92); padding: 12px 14px; box-shadow: 0 0 0 1px rgba(14,28,69,.16); width: 100%; }
  [data-mode="scrub"] .beat--neg .z--tr { background: rgba(6,20,62,.82); padding: 10px 14px; width: 100%; }
  .z--tr .clock, .z--tr .band { background: none; border: 0; padding: 0; }
  .stats li { padding-top: 6px; }
  .dock { gap: 8px; }
}
