/* ==========================================================================
   MONOLITH — a horizontal corridor of monoliths (2049 energy)
   Orange haze, a wet floor, vertical scroll that becomes travel.
   ========================================================================== */

:root {
  --bg: #080503;
  --ink: #f4e4cc;
  --mute: #a58d72;
  --dim: #5f4a39;
  --line: rgba(244, 228, 204, .16);
  --accent: #ff9a3c;
  --accent-rgb: 255, 154, 60;
  --floor: clamp(190px, 26vh, 300px);
  --pad: clamp(18px, 3vw, 48px);
  --f-display: 'Syncopate', 'Manrope', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-width: none; background: var(--bg); }
html::-webkit-scrollbar { display: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-weight: 300; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: #120803; }
@media (hover: hover) and (pointer: fine) { body, a, button { cursor: none; } }

/* ---------- the world ---------- */
.world { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); }
.sky { position: absolute; inset: 0; background:
  radial-gradient(110% 64% at 66% 72%, rgba(var(--accent-rgb), .5), rgba(var(--accent-rgb), .1) 40%, transparent 66%),
  linear-gradient(to bottom, #090402 0%, #170804 34%, #36140a 54%, #5e2409 66%, #a2481a 73.5%, #ffb06a 75.2%, #130803 75.4%, #070402 100%); }
.sun { position: absolute; left: 58%; top: 28%; width: 74vmin; height: 74vmin; border-radius: 50%; transform: translate3d(var(--sx, 0px), 0, 0);
  background: radial-gradient(circle, rgba(255, 238, 208, .85), rgba(var(--accent-rgb), .5) 26%, rgba(var(--accent-rgb), .12) 52%, transparent 70%); filter: blur(5px); mix-blend-mode: screen; will-change: transform; }
.haze { position: absolute; left: -25%; width: 150%; height: 46%; border-radius: 50%; filter: blur(34px); mix-blend-mode: screen; will-change: transform;
  background: radial-gradient(60% 100% at 50% 50%, rgba(var(--accent-rgb), .26), transparent 72%); }
.haze.h1 { top: 34%; opacity: .9; } .haze.h2 { top: 52%; opacity: .55; } .haze.h3 { top: 12%; opacity: .45; }
#dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--floor) + 1px); background:
  linear-gradient(to bottom, rgba(var(--accent-rgb), .22), rgba(8, 5, 3, 0) 4%, #070402 78%); border-top: 1px solid rgba(var(--accent-rgb), .35); }
.fx-grain { position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: .1; mix-blend-mode: overlay; background-size: 180px 180px; animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.fx-vig { position: fixed; inset: 0; z-index: 41; pointer-events: none; background: radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(4, 2, 1, .72) 100%); }
.scanhair { position: fixed; z-index: 1; left: 50%; top: 0; bottom: 0; width: 1px; pointer-events: none; opacity: 0; transition: opacity .8s;
  background: linear-gradient(to bottom, transparent 8%, rgba(var(--accent-rgb), .16) 30%, rgba(var(--accent-rgb), .34) 78%, transparent); }
body.is-live .scanhair { opacity: 1; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: .8em; padding: 1em 1.7em; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); border: 1px solid rgba(var(--accent-rgb), .5); overflow: hidden; isolation: isolate; transition: color .3s, border-color .3s; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .4s cubic-bezier(.2, .8, .2, 1); z-index: -1; }
.btn:hover, .btn:focus-visible { color: #140903; border-color: var(--accent); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn.solid { background: rgba(var(--accent-rgb), .14); }
.btn b { font-weight: 400; transition: transform .3s; } .btn:hover b { transform: translateX(5px); }

/* ---------- loader ---------- */
#loader { position: fixed; inset: 0; z-index: 100; background: radial-gradient(70% 70% at 50% 45%, #1a0b05, #060302 70%); display: grid; place-items: center; padding: var(--pad); }
.ld-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.iris { width: min(46vh, 340px); height: auto; overflow: visible; filter: drop-shadow(0 0 18px rgba(var(--accent-rgb), .35)); }
.iris .i-ring { fill: none; stroke: var(--accent); stroke-width: .8; opacity: .55; } .iris .i-ring.dash { stroke-dasharray: 1.5 5; opacity: .9; }
.iris .i-ticks line { stroke: var(--accent); stroke-width: .8; opacity: .6; }
.iris .i-fibers line { stroke: #ffd8a8; stroke-width: .6; }
.iris .i-iris { fill: rgba(var(--accent-rgb), .06); stroke: var(--accent); stroke-width: 1; }
.iris .i-pupil { fill: #050201; stroke: #ffd8a8; stroke-width: 1.2; }
.iris .i-cross { stroke: var(--accent); stroke-width: .5; opacity: .35; }
.iris .i-arc { fill: none; stroke: #fff3de; stroke-width: 2; stroke-linecap: round; transform-origin: 120px 120px; }
.ld-line { margin: 18px 0 0; display: flex; gap: 22px; align-items: baseline; font-family: var(--f-display); font-weight: 700; font-size: clamp(14px, 2vw, 20px); letter-spacing: .34em; color: var(--ink); }
.ld-pct { color: var(--accent); font-variant-numeric: tabular-nums; min-width: 3ch; }
.ld-sub { margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .28em; color: var(--mute); min-height: 1.4em; }
.ld-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* ---------- cursor ---------- */
#cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; display: none; opacity: 0; transition: opacity .4s; }
#cursor.is-on { opacity: 1; }
@media (hover: hover) and (pointer: fine) { #cursor { display: block; } }
#cursor i { position: absolute; background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), .8); transition: all .3s cubic-bezier(.2, .8, .2, 1); }
#cursor .cx-h { height: 1px; width: 22px; left: -11px; top: 0; }
#cursor .cx-v { width: 1px; height: 22px; top: -11px; left: 0; }
#cursor.is-hot .cx-h { width: 64px; left: -32px; } #cursor.is-hot .cx-v { height: 64px; top: -32px; }
.cx-label { position: absolute; left: 14px; top: 12px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .24em; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .2s; text-shadow: 0 0 8px #000; }
.cx-coord { position: absolute; left: 14px; top: -22px; font-family: var(--f-mono); font-size: 9px; letter-spacing: .16em; color: var(--mute); white-space: nowrap; opacity: .8; }
#cursor.is-hot .cx-label { opacity: 1; } #cursor.is-hot .cx-coord { opacity: 0; }

/* ---------- HUD ---------- */
.hud { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--pad) 40px; pointer-events: none; background: linear-gradient(to bottom, rgba(8, 5, 3, .85), rgba(8, 5, 3, 0)); }
.hud > * { pointer-events: auto; }
.brand { display: flex; flex-direction: column; gap: 3px; }
.brand b { font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .34em; }
.brand span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .34em; color: var(--accent); }
.hud-actions { display: flex; gap: 10px; }
.hud-btn { display: inline-flex; align-items: center; gap: .7em; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; padding: .65em 1.05em; border: 1px solid var(--line); background: rgba(8, 5, 3, .5); backdrop-filter: blur(6px); transition: border-color .3s, color .3s; }
.hud-btn:hover, .hud-btn:focus-visible, .hud-btn[aria-pressed="true"], .hud-btn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.hud-btn .k { font-size: 9px; padding: 1px 5px; border: 1px solid currentColor; opacity: .55; } .hud-btn em { font-style: normal; color: var(--accent); }

.playhead { position: fixed; z-index: 28; left: 50%; bottom: calc(100px + 4vh); transform: translateX(-50%); text-align: center; pointer-events: none; opacity: 0; transition: opacity .8s; width: max-content; max-width: 92vw; }
body.is-live .playhead { opacity: 1; }
.ph-label { margin: 0; font-family: var(--f-mono); font-size: 10px; letter-spacing: .5em; color: var(--accent); padding-left: .5em; }
.ph-year { margin: 2px 0 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 4.6vw, 70px); line-height: 1; letter-spacing: .02em; color: var(--ink); font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgba(var(--accent-rgb), .45); }
.ph-name { margin: 6px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--mute); text-transform: uppercase; }

.hud-foot { position: fixed; z-index: 28; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--pad); font-family: var(--f-mono); font-size: 10px; letter-spacing: .24em; color: var(--mute); pointer-events: none; opacity: 0; transition: opacity .8s; }
body.is-live .hud-foot { opacity: 1; }
.hud-hint { display: flex; align-items: center; gap: 12px; } .hud-hint i { width: 36px; height: 1px; background: var(--accent); animation: nudge 2.4s ease-in-out infinite; transform-origin: left; }
@keyframes nudge { 0% { transform: scaleX(.2); } 50% { transform: scaleX(1); } 100% { transform: scaleX(.2); } }

/* ---------- stage + track ---------- */
.stage { position: relative; z-index: 2; height: 100vh; height: 100svh; overflow: hidden; }
.track { position: relative; display: flex; align-items: flex-end; gap: clamp(70px, 10vw, 170px); height: 100%; width: max-content; padding: 0 22vw 0 var(--pad); padding-bottom: var(--floor); will-change: transform; transform-origin: 50% 100%; }

/* intro */
.intro { position: relative; flex: none; align-self: stretch; width: min(100vw, 1500px); padding-right: 8vw; display: flex; flex-direction: column; justify-content: center; padding-top: 10vh; }
.in-kicker { margin: 0 0 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .4em; color: var(--accent); }
.in-title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(56px, 13.4vw, 230px); line-height: .88; letter-spacing: -.015em; display: flex; flex-direction: column; text-transform: uppercase; }
.in-title span:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-left: .35em; }
.in-sub { margin: 28px 0 0; max-width: 40ch; font-size: clamp(15px, 1.4vw, 19px); color: var(--mute); }
.in-cue { margin-top: 30px; display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .4em; color: var(--accent); }
.in-cue i { display: block; width: 90px; height: 1px; background: var(--accent); transform-origin: left; animation: nudge 2.4s ease-in-out infinite; }

/* era */
.era { --p: 0; position: relative; flex: none; align-self: stretch; width: clamp(340px, 42vw, 700px); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 0 clamp(22px, 3vw, 44px); }
.era::before { content: ''; position: absolute; left: 0; top: 14vh; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(var(--accent-rgb), .7) 30%, rgba(var(--accent-rgb), .7) 75%, transparent); }
.era-num { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(110px, 25vh, 300px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), .6); transform: translate3d(calc(var(--p) * -70px), 0, 0); letter-spacing: -.02em; }
.era-title { margin: 18px 0 8px; font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2.6vw, 40px); line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; }
.era-range { margin: 0 0 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--accent); }
.era-range .circa { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.era-blurb { margin: 0 0 26px; max-width: 34ch; color: var(--mute); font-size: clamp(14px, 1.2vw, 17px); }

/* event */
.event { position: relative; flex: none; width: clamp(190px, 18vw, 280px); height: 44vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 0 18px; border-left: 1px solid var(--line); transition: border-color .5s; }
.event::before { content: ''; position: absolute; left: -5px; top: -5px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--bg); border: 1px solid var(--mute); transition: all .5s; }
.event.is-near { border-left-color: var(--accent); } .event.is-near::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 16px var(--accent); }
.ev-year { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 36px); line-height: 1; color: var(--dim); transition: color .5s; } .event.is-near .ev-year { color: var(--ink); }
.ev-title { margin: 8px 0 4px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.ev-blurb { margin: 0 0 26px; font-size: 13px; color: var(--mute); max-width: 24ch; }
/* A section marker (The Margins): the diamond and rule of an event, wider, with the title as the big line. */
.event.is-section { width: clamp(250px, 24vw, 370px); height: 58vh; }
.is-section .ev-year { font-size: clamp(26px, 3.2vw, 48px); line-height: 1.02; text-transform: uppercase; letter-spacing: .02em; }
.is-section .ev-blurb { max-width: 26ch; }

/* slab */
.slab { --f: 0; --mx: 50%; --my: 50%; position: relative; flex: none; --w: min(calc(var(--h) * var(--ar)), 82vw); --h: min(calc(var(--hvh) * 1vh), calc(100vh - var(--floor) - 140px)); width: var(--w); height: calc(var(--w) / var(--ar)); perspective: 1200px; transform: scale(calc(.9 + .1 * var(--f))); transform-origin: 50% 100%; will-change: transform; }
.slab-hit { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; background: #0c0704; transform-style: flat; will-change: transform;
  -webkit-box-reflect: below 2px linear-gradient(to bottom, rgba(255, 255, 255, .42), transparent 46%); box-shadow: 0 0 calc(70px * var(--f)) rgba(var(--accent-rgb), calc(.35 * var(--f))); }
.slab-hit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.14 - .1 * var(--f))); transition: transform .3s linear; }
.slab-dim { position: absolute; inset: 0; background: #080503; opacity: calc(.7 * (1 - var(--f))); pointer-events: none; }
.slab-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 5, 3, .55), transparent 40%); pointer-events: none; }
.slab-spot { position: absolute; inset: 0; background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 238, 208, .3), transparent 46%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .35s; pointer-events: none; }
.slab-hit:hover .slab-spot, .slab-hit:focus-visible .slab-spot { opacity: 1; }
.slab-hit::before { content: ''; position: absolute; inset: 0; z-index: 3; border: 1px solid rgba(244, 228, 204, calc(.12 + .3 * var(--f))); pointer-events: none; }
.slab-seam { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 3; background: linear-gradient(to bottom, transparent, var(--accent), transparent); opacity: calc(.3 + .7 * var(--f)); box-shadow: 0 0 calc(26px * var(--f)) var(--accent); pointer-events: none; }
.slab-tick { position: absolute; width: 14px; height: 14px; z-index: 4; border: 0 solid var(--accent); opacity: calc(.4 + .6 * var(--f)); pointer-events: none; }
.slab-tick.tl { left: 8px; top: 8px; border-left-width: 1px; border-top-width: 1px; } .slab-tick.tr { right: 8px; top: 8px; border-right-width: 1px; border-top-width: 1px; }
.slab-tick.bl { left: 8px; bottom: 8px; border-left-width: 1px; border-bottom-width: 1px; } .slab-tick.br { right: 8px; bottom: 8px; border-right-width: 1px; border-bottom-width: 1px; }
.slab-open { position: absolute; z-index: 5; right: 14px; bottom: 12px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .28em; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; text-shadow: 0 0 10px #000; }
.slab-hit:hover .slab-open, .slab-hit:focus-visible .slab-open { opacity: 1; transform: none; }
.slab-meta { position: absolute; left: 0; bottom: calc(100% + 16px); width: max(100%, 240px); pointer-events: none; }
.slab-no { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; color: var(--mute); margin-bottom: 4px; }
.slab-no .circa { color: color-mix(in srgb, var(--accent) calc(var(--f) * 100%), #6b5441); }
.slab-year { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.5vw, 38px); line-height: 1; letter-spacing: .01em; color: color-mix(in srgb, var(--accent) calc(var(--f) * 100%), #6b5441); transition: none; }
.slab-name { display: block; margin-top: 6px; font-family: var(--f-body); font-weight: 600; font-size: clamp(15px, 1.35vw, 20px); color: color-mix(in srgb, var(--ink) calc(40% + var(--f) * 60%), transparent); }
.slab-kind { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.slab-vert { position: absolute; left: -26px; bottom: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-mono); font-size: 9px; letter-spacing: .34em; color: var(--dim); white-space: nowrap; pointer-events: none; }

/* decrypting: an entry whose video is scheduled but not public yet. A sneak peek, not a door: the picture is a scrambled
   mosaic with a scan band and a progress readout, and a decoder lens resolves a small circle of the real image under the
   cursor (it drifts on its own on touch screens). The mosaic itself is a canvas that script.js fills and shimmers. */
.slab.is-locked { --lr: 0px; --lo: 0; }
.slab-enc { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; filter: saturate(.9) contrast(1.08);
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), transparent max(0px, calc(var(--lr) - 22px)), #000 var(--lr));
  mask-image: radial-gradient(circle at var(--mx) var(--my), transparent max(0px, calc(var(--lr) - 22px)), #000 var(--lr)); }
.slab.is-locked .slab-hit::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .55; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px); }
.slab.is-locked .slab-hit::before { transition: border-color .3s, box-shadow .3s; }
.slab-scan { position: absolute; left: 0; right: 0; top: 0; height: 26%; z-index: 2; pointer-events: none; transform: translateY(-100%); mix-blend-mode: screen;
  background: linear-gradient(to bottom, transparent, rgba(var(--accent-rgb), .16) 62%, rgba(255, 236, 205, .55) 98%, transparent);
  animation: lk-sweep 5.6s linear infinite; animation-delay: calc(var(--i, 0) * -1.9s); }
@keyframes lk-sweep { from { transform: translateY(-100%); } to { transform: translateY(400%); } }
.slab-lens { position: absolute; z-index: 4; left: var(--mx); top: var(--my); width: calc(var(--lr) * 2); height: calc(var(--lr) * 2); transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; opacity: var(--lo);
  border: 1px solid rgba(var(--accent-rgb), .85); box-shadow: 0 0 26px rgba(var(--accent-rgb), .4), inset 0 0 30px rgba(var(--accent-rgb), .16); }
.slab-lens::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(244, 228, 204, .5); animation: lk-spin 12s linear infinite; }
.slab-lens::after { content: 'DECODING'; position: absolute; left: 50%; top: calc(100% + 9px); transform: translateX(-50%); font-family: var(--f-mono); font-size: 9px; letter-spacing: .34em; color: var(--ink); text-shadow: 0 0 8px #000; white-space: nowrap; }
@keyframes lk-spin { to { transform: rotate(360deg); } }
.slab-lock { position: absolute; z-index: 5; left: 14px; bottom: 12px; width: min(58%, 260px); display: grid; gap: 6px; font-family: var(--f-mono); text-shadow: 0 0 10px #000; pointer-events: none; }
.lk-title { font-weight: 400; font-size: 10px; letter-spacing: .3em; color: var(--ink); white-space: nowrap; transition: color .3s; }
.lk-row { display: flex; align-items: center; gap: 10px; }
.lk-bar { position: relative; flex: 1; height: 4px; background: repeating-linear-gradient(to right, rgba(244, 228, 204, .22) 0 5px, transparent 5px 7px); }
.lk-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: repeating-linear-gradient(to right, var(--accent) 0 5px, transparent 5px 7px); box-shadow: 0 0 10px var(--accent); transition: width .6s; }
.lk-pct { min-width: 4ch; text-align: right; font-size: 10px; letter-spacing: .16em; color: var(--accent); font-variant-numeric: tabular-nums; }
.lk-hex { min-height: 1.3em; overflow: hidden; white-space: nowrap; font-size: 9px; letter-spacing: .16em; color: var(--mute); opacity: .85; }
.lk-tag { color: color-mix(in srgb, var(--accent) calc(var(--f) * 100%), #6b5441); }
.lk-tag::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; vertical-align: 1px; background: currentColor; box-shadow: 0 0 8px currentColor; animation: lk-blink 1.6s ease-in-out infinite; }
@keyframes lk-blink { 50% { opacity: .2; } }
.slab.is-denied .slab-hit::before { border-color: var(--accent); box-shadow: inset 0 0 46px rgba(var(--accent-rgb), .55); }
.slab.is-denied .lk-title { color: var(--accent); }

/* outro */
.outro { flex: none; align-self: stretch; width: min(70vw, 900px); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 0 clamp(22px, 3vw, 44px); border-left: 1px solid var(--line); }
.outro-title { margin: 0 0 14px; font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 4.4vw, 70px); line-height: 1.02; text-transform: uppercase; letter-spacing: .02em; }
.outro-sub { margin: 0 0 24px; max-width: 38ch; color: var(--mute); }
.outro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

/* ruler (lives on the floor, travels with the track) */
.ruler { position: absolute; left: 0; right: 0; bottom: 52px; height: 46px; pointer-events: none; border-bottom: 1px solid rgba(var(--accent-rgb), .45); }
.ruler i { position: absolute; bottom: 0; width: 1px; height: 8px; background: rgba(244, 228, 204, .3); transition: background .3s; }
.ruler i.t5 { height: 14px; background: rgba(244, 228, 204, .5); }
.ruler i.hit { height: 38px; background: var(--accent); box-shadow: 0 0 12px var(--accent); opacity: .9; }
.ruler i.on { background: #fff; box-shadow: 0 0 18px var(--accent); }
.ruler em { position: absolute; bottom: 16px; transform: translateX(-50%); font-style: normal; font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em; color: var(--dim); white-space: nowrap; }
.ruler em.hit { bottom: 44px; color: var(--accent); font-size: 10px; letter-spacing: .2em; }
.ruler .gap { position: absolute; bottom: 24px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 9px; letter-spacing: .3em; color: var(--dim); white-space: nowrap; text-transform: uppercase; }

/* ---------- index overlay ---------- */
#index { position: fixed; inset: 0; z-index: 60; background: rgba(8, 5, 3, .96); backdrop-filter: blur(16px); visibility: hidden; opacity: 0; padding: 0 var(--pad); display: flex; flex-direction: column; }
.ix-head { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .4em; color: var(--accent); border-bottom: 1px solid var(--line); }
.ix-head button { font-size: 11px; letter-spacing: .2em; color: var(--mute); } .ix-head button:hover { color: var(--ink); } .ix-head em { font-style: normal; opacity: .55; margin-left: 6px; }
.ix-list { list-style: none; margin: 0; padding: 4vh 0 10vh; overflow-y: auto; flex: 1; }
.ix-list li button { display: grid; grid-template-columns: 4.5ch 1fr auto; gap: 24px; align-items: baseline; width: 100%; text-align: left; padding: 1.1vh 0; transition: opacity .3s, padding .4s cubic-bezier(.2, .8, .2, 1); }
.ix-list:hover li button { opacity: .28; } .ix-list li button:hover, .ix-list li button:focus-visible { opacity: 1; padding-left: 20px; }
.ix-list .n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--mute); }
.ix-list .t { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -.005em; text-transform: uppercase; }
.ix-list .y { font-family: var(--f-mono); font-size: 13px; letter-spacing: .2em; color: var(--c); }
.ix-list .ix-sep { margin: 3vh 0 .6vh; padding-top: 2.4vh; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--mute); }
.ix-lock { margin-left: 1.1em; font-style: normal; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .3em; color: var(--accent); vertical-align: middle; white-space: nowrap; }
.ix-lock::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; vertical-align: 1px; background: currentColor; box-shadow: 0 0 8px currentColor; animation: lk-blink 1.6s ease-in-out infinite; }
.ix-preview.is-locked .ix-img { filter: blur(10px) saturate(.6) brightness(.85); }
.ix-list .y .circa { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; opacity: .6; }
.ix-preview { position: fixed; z-index: 61; left: 0; top: 0; width: min(34vw, 420px); aspect-ratio: 16 / 10; pointer-events: none; opacity: 0; border: 1px solid rgba(244, 228, 204, .3); overflow: hidden; }
.ix-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ix-cap { position: absolute; left: 10px; bottom: 8px; font-family: var(--f-mono); font-size: 9px; letter-spacing: .26em; color: #fff; text-shadow: 0 0 8px #000; }

/* ---------- cinema viewer ---------- */
#viewer { position: fixed; inset: 0; z-index: 70; display: none; --accent: #ff9a3c; --accent-rgb: 255, 154, 60; }
#viewer.is-open { display: block; }
.v-bg { position: absolute; inset: 0; background: #050302; }
.v-stage { position: absolute; left: 0; right: 0; top: 9vh; bottom: 9vh; margin: 0; overflow: hidden; background: #050302; visibility: hidden; transition: top .9s cubic-bezier(.2, .8, .2, 1), bottom .9s cubic-bezier(.2, .8, .2, 1), height .9s cubic-bezier(.2, .8, .2, 1); }
.v-img { position: absolute; inset: -2%; background-size: cover; background-repeat: no-repeat; will-change: transform, filter; animation: vdrift 26s ease-in-out infinite alternate; }
@keyframes vdrift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.09) translate3d(-1.2%, -.8%, 0); } }
.v-grade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(5, 3, 2, .92), rgba(5, 3, 2, .55) 36%, transparent 70%), linear-gradient(to top, rgba(5, 3, 2, .8), transparent 45%); }
.v-seam { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: linear-gradient(to bottom, transparent, var(--accent), transparent); box-shadow: 0 0 30px var(--accent); }
.v-bar { position: absolute; left: 0; right: 0; height: 9vh; background: #030201; z-index: 3; transform: scaleY(0); }
.v-bar.top { top: 0; transform-origin: top; } .v-bar.bot { bottom: 0; transform-origin: bottom; }
.v-head { position: absolute; z-index: 5; top: 0; left: 0; right: 0; height: 9vh; display: flex; justify-content: space-between; align-items: center; padding: 0 var(--pad); font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--accent); }
.v-head button { font-size: 11px; letter-spacing: .2em; color: var(--mute); } .v-head button:hover { color: var(--ink); } .v-head em { font-style: normal; opacity: .55; margin-left: 6px; }
/* Only the text scrolls. The buttons sit below it in a row that nothing clips, so a long entry or the hover nudge can't shear them. */
.v-info { position: absolute; z-index: 5; left: var(--pad); bottom: calc(9vh + 4vh); width: min(620px, 46vw); max-height: calc(100vh - 9vh * 2 - 8vh); display: flex; flex-direction: column; }
.v-scroll { flex: 0 1 auto; min-height: 0; overflow: hidden auto; overscroll-behavior: contain; scrollbar-width: none; }
.v-scroll::-webkit-scrollbar { display: none; }
.v-scroll.has-more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 44px), transparent); }
.v-actions { flex: none; display: flex; flex-wrap: wrap; gap: 12px 14px; padding: 2px 0 6px; }
.v-circa { margin: 0 0 9px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .34em; color: var(--accent); }
.v-year { margin: 0; white-space: nowrap; font-family: var(--f-display); font-weight: 700; font-size: clamp(54px, 9vw, 150px); line-height: .88; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); text-shadow: 0 0 40px rgba(var(--accent-rgb), .35); }
.v-name { margin: 16px 0 6px; font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2.8vw, 42px); line-height: 1.08; letter-spacing: .02em; text-transform: uppercase; }
.v-sub { margin: 0 0 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .28em; color: var(--accent); text-transform: uppercase; }
.v-teaser { margin: 0 0 20px; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.65; color: #dccab0; max-width: 54ch; }
.v-facts { margin: 0 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.v-facts div { padding: 8px 0; border-top: 1px solid var(--line); } .v-facts div:nth-child(odd):last-child { grid-column: 1 / -1; }
.v-facts dt { font-family: var(--f-mono); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.v-facts dd { margin: 3px 0 0; font-size: 14px; color: var(--ink); font-weight: 400; }
.btn[hidden] { display: none; }
.ic-play { display: inline-block; width: .7em; height: .8em; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .3s; }
.btn:hover .ic-play, .btn:focus-visible .ic-play { transform: translateX(3px); }
.v-arrow { position: absolute; z-index: 6; bottom: 0; height: 9vh; display: flex; align-items: center; gap: 14px; color: var(--mute); transition: color .3s; }
.v-arrow:hover { color: var(--accent); } .v-arrow b { font-weight: 400; font-size: 26px; } .v-arrow span { display: flex; flex-direction: column; } .v-arrow em { font-style: normal; font-family: var(--f-mono); font-size: 9px; letter-spacing: .3em; opacity: .7; } .v-arrow i { font-style: normal; font-size: 13px; color: var(--ink); max-width: 14ch; }
.v-arrow.prev { left: var(--pad); } .v-arrow.next { right: var(--pad); text-align: right; }
/* ---------- reader: the longer entry story behind "Read more" ----------
   It lives inside the viewer, so the building's image, accent colour and controls carry over. The stage goes full-bleed
   and blurs into a backdrop, and the text takes the middle. While you read, the paragraph at the reading line stays
   bright and the rest recede: the corridor's focus-pull, applied to text. */
.v-storyline { flex: 1 1 100%; margin: 0 0 2px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .24em; color: var(--mute); text-transform: uppercase; }
.v-storyline b { font-weight: 400; color: var(--accent); }
#viewer.is-reading .v-stage { top: 0; bottom: 0; }
#viewer.is-reading .v-img { animation-play-state: paused; }
/* script.js blurs the picture and fades the info with GSAP; without GSAP these rules do it instead */
body.no-gsap #viewer.is-reading .v-img { filter: blur(16px) saturate(.75) brightness(.36); }
body.no-gsap #viewer.is-reading .v-info, body.no-gsap #viewer.is-reading .v-arrow { visibility: hidden; }
#viewer.is-reading .v-grade, #viewer.is-reading .v-seam { opacity: 0; transition: opacity .6s; }
#viewer.is-reading .v-head { background: linear-gradient(to bottom, rgba(5, 3, 2, .88), rgba(5, 3, 2, 0)); }
.reader { position: absolute; inset: 0; z-index: 4; display: none; opacity: 0; }
.reader.is-open { display: block; }
.rd-scrim { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 52% at 50% -8%, rgba(var(--accent-rgb), .2), transparent 72%), linear-gradient(to bottom, rgba(5, 3, 2, .5), rgba(5, 3, 2, .8) 38%, rgba(5, 3, 2, .92)); }
.rd-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; outline: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 5vh, #000 13vh, #000 calc(100% - 5vh), transparent calc(100% - .5vh));
  mask-image: linear-gradient(to bottom, transparent 5vh, #000 13vh, #000 calc(100% - 5vh), transparent calc(100% - .5vh)); }
.rd-scroll::-webkit-scrollbar { display: none; }
.rd-doc { position: relative; width: min(680px, calc(100vw - 2 * var(--pad))); margin: 0 auto; padding: calc(9vh + 10vh) 0 26vh; }
.rd-doc::before { content: ''; position: absolute; left: -34px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(var(--accent-rgb), .55) 9%, rgba(var(--accent-rgb), .16) 92%, transparent); }
.rd-head { position: relative; isolation: isolate; margin-bottom: clamp(40px, 8vh, 80px); }
.rd-ghost { position: absolute; z-index: -1; left: -.05em; top: -.66em; margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(96px, 18vw, 220px); line-height: .8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), .2); pointer-events: none; }
.rd-kicker { margin: 0 0 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--accent); text-transform: uppercase; }
.rd-title { margin: 0 0 22px; font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 4.4vw, 58px); line-height: 1.06; letter-spacing: .01em; text-transform: uppercase; text-shadow: 0 0 40px rgba(var(--accent-rgb), .25); }
.rd-dek { margin: 0; max-width: 44ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; font-style: italic; color: #dccab0; }
.rd-cue { margin: 40px 0 0; display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .34em; color: var(--mute); }
.reader.is-scrolled .rd-cue { opacity: 0 !important; transition: opacity .4s; }
.rd-cue i { width: 38px; height: 1px; background: var(--accent); transform-origin: left; animation: nudge 2.4s ease-in-out infinite; }
.rd-body { position: relative; }
.rd-seg { position: relative; margin: 0 0 1.55em; opacity: calc(.34 + .66 * var(--f, 1)); transition: opacity .25s linear; }
.rd-seg::after { content: ''; position: absolute; left: 0; right: 0; top: calc(var(--scan, 1) * 100%); height: 1px; pointer-events: none; opacity: var(--scano, 0);
  background: linear-gradient(to right, transparent, var(--accent) 10%, var(--accent) 90%, transparent); box-shadow: 0 0 14px var(--accent); }
.rd-p { margin: 0; font-size: clamp(16.5px, 1.3vw, 19.5px); line-height: 1.8; color: #e9dbc3; text-wrap: pretty; }
.rd-seg:first-child .rd-p { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.7; color: var(--ink); }
.rd-p em { font-style: italic; color: #f7ead4; }
.rd-break { display: flex; align-items: center; gap: 16px; margin: 2.8em 0; color: rgba(var(--accent-rgb), .85); }
.rd-break i { flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(var(--accent-rgb), .5)); } .rd-break i:last-child { background: linear-gradient(to left, transparent, rgba(var(--accent-rgb), .5)); }
.rd-break b { font-size: 9px; font-weight: 400; }
.rd-art { position: relative; margin: 0; padding: 20px 24px 22px; border: 1px solid rgba(var(--accent-rgb), .3); background: linear-gradient(to bottom, rgba(var(--accent-rgb), .08), rgba(5, 3, 2, .6));
  font-family: var(--f-mono); font-size: clamp(12.5px, 1vw, 14px); line-height: 1.75; letter-spacing: .03em; color: #dccab0; }
.rd-art::before, .rd-art::after { content: ''; position: absolute; width: 12px; height: 12px; border: 0 solid var(--accent); }
.rd-art::before { left: -1px; top: -1px; border-left-width: 1px; border-top-width: 1px; } .rd-art::after { right: -1px; bottom: -1px; border-right-width: 1px; border-bottom-width: 1px; }
.rd-art-label { margin: 0 0 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.rd-art-line { margin: 0; }
.rd-end { margin-top: clamp(52px, 10vh, 100px); }
.rd-end-mark { display: flex; align-items: center; gap: 16px; margin: 0 0 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .4em; color: var(--accent); }
.rd-end-mark i { flex: 1; height: 1px; background: linear-gradient(to left, rgba(var(--accent-rgb), .6), transparent); } .rd-end-mark i:last-child { background: linear-gradient(to right, rgba(var(--accent-rgb), .6), transparent); }
.rd-end-meta { margin: 0 0 36px; text-align: center; font-family: var(--f-mono); font-size: 10px; letter-spacing: .28em; color: var(--mute); text-transform: uppercase; }
.rd-xhead { margin: 0 0 12px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .34em; color: var(--mute); }
.rd-xrefs { display: grid; gap: 10px; margin-bottom: 36px; }
.rd-xref { display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 15px 18px; text-align: left; border: 1px solid var(--line); background: rgba(5, 3, 2, .45); transition: border-color .3s, background .3s; }
.rd-xref:hover, .rd-xref:focus-visible { border-color: var(--c, var(--accent)); background: rgba(5, 3, 2, .75); }
.rd-xref em { font-style: normal; font-family: var(--f-mono); font-size: 9px; letter-spacing: .3em; color: var(--mute); }
.rd-xref b { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.rd-xref i { margin-left: auto; font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--c, var(--accent)); }
.rd-end-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.rd-boot { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; opacity: 0; pointer-events: none; }
.rd-boot-file { margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .4em; color: var(--accent); }
.rd-boot-title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(13px, 1.6vw, 19px); letter-spacing: .34em; }
.rd-boot-pct { margin: 6px 0 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(54px, 9vw, 120px); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--accent); font-variant-numeric: tabular-nums; text-shadow: 0 0 40px rgba(var(--accent-rgb), .35); }
.rd-boot-bar { position: relative; width: min(420px, 70vw); height: 1px; background: var(--line); }
.rd-boot-bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.rd-boot-line { margin: 4px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .3em; color: var(--ink); min-height: 1.4em; }
.rd-boot-hex { margin: 0; max-width: 78vw; overflow: hidden; white-space: nowrap; font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; color: var(--dim); }
.rd-error { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 12px; padding: var(--pad); text-align: center; }
.rd-error[hidden] { display: none; }
.rd-error-title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 2.6vw, 30px); letter-spacing: .24em; color: var(--accent); }
.rd-error-sub { margin: 0 0 12px; max-width: 40ch; color: var(--mute); }
.rd-error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.rd-rail { position: absolute; z-index: 2; right: calc(var(--pad) + 2px); top: 50%; width: 1px; height: min(46vh, 440px); margin-top: calc(min(46vh, 440px) / -2); background: var(--line); opacity: 0; pointer-events: none; }
.rd-fill { position: absolute; left: 0; top: 0; width: 1px; height: calc(var(--p, 0) * 100%); background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.rd-ticks i { position: absolute; left: -3px; width: 7px; height: 1px; background: rgba(244, 228, 204, .26); transition: background .3s, width .3s, left .3s; }
.rd-ticks i.on { background: var(--accent); } .rd-ticks i.cur { left: -8px; width: 17px; background: #fff; box-shadow: 0 0 10px var(--accent); }
.rd-rail-label { position: absolute; right: 16px; top: 100%; margin: 18px 0 0; font-family: var(--f-mono); font-size: 10px; letter-spacing: .24em; color: var(--mute); white-space: nowrap; text-align: right; }
.rd-progress { position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; opacity: 0; }
.rd-progress i { display: block; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.fly { position: fixed; z-index: 80; pointer-events: none; background-size: cover; background-repeat: no-repeat; box-shadow: 0 0 60px rgba(var(--accent-rgb), .35); }

#toast { position: fixed; z-index: 90; left: 50%; bottom: 70px; transform: translate(-50%, 14px); font-family: var(--f-mono); font-size: 11px; letter-spacing: .24em; padding: 12px 18px; color: var(--accent); border: 1px solid var(--accent); background: rgba(8, 5, 3, .92); opacity: 0; pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 899px) {
  :root { --floor: clamp(170px, 24vh, 240px); }
  .hud-hint { display: none; } .hud-foot { justify-content: space-between; }
  .playhead { bottom: calc(92px + 3vh); }
  .track { gap: 54px; padding-right: 30vw; }
  .era { width: min(78vw, 360px); } .event { width: 150px; }
  .v-stage { bottom: auto; height: 40vh; }
  .v-grade { background: linear-gradient(to top, rgba(5, 3, 2, .8), transparent 50%); }
  .v-info { left: var(--pad); right: var(--pad); width: auto; bottom: calc(9vh + 2vh); top: calc(9vh + 40vh + 16px); max-height: none; }
  #viewer.is-reading .v-stage { top: 0; bottom: auto; height: 100%; }
  .slab-lock { width: min(72%, 230px); }
  .rd-rail { display: none; } .rd-doc::before { display: none; } .rd-doc { padding-top: calc(9vh + 7vh); } .rd-seg { opacity: calc(.55 + .45 * var(--f, 1)); }
  .v-year { font-size: clamp(44px, 14vw, 90px); } .v-facts { grid-template-columns: 1fr; }
  .v-arrow span { display: none; } .v-arrow b { font-size: 22px; padding: 8px 12px; }
  .ix-list li button { grid-template-columns: 3ch 1fr auto; gap: 12px; } .ix-preview { display: none; }
}
@media (max-width: 560px) { .v-actions .btn { flex: 1 1 100%; justify-content: center; } .brand span { display: none; } .hud-btn { padding: .6em .8em; } .hud-btn .k { display: none; } .ph-label { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .rd-seg { opacity: 1 !important; transition: none; } .v-stage { transition: none; }
  .fx-grain, .hud-hint i, .in-cue i, .v-img, .slab-lens::before, .lk-tag::before, .ix-lock::before { animation: none !important; }
  .slab-scan { display: none; }
  .stage { overflow-x: auto; }
}
