/* Produce 247 site — editorial, white page; f01 on a fixed layer stands on the hero's baseline and runs between sides.
   Owner's system (2026-11): exactly three colours — white page, black ink, one blue. Always light (no dark theme),
   no shapes, tints or gradients; sections are separated by whitespace and hairlines only.
   Blue does (sparingly): the headline's final period, the primary button, links, focus, her name bullet. Black does: text, hairlines, outline buttons.
   Option B blue for review: <html data-blue="b"> or ?blue=b. Text pairs (WCAG): ink/white 19.8, blue/white 6.3 (A) /
   7.8 (B), white/blue 6.3 / 7.8.
   Type: Wanted Sans Variable 1.0.3 only (vendor/fonts, SIL OFL 1.1). Body 400, UI 600/700, headings 800. */
:root {
  --white: #FFFFFF; --ink: #0A0A0A; --blue: #1546FF;
  --ink-2: rgba(10, 10, 10, .66); /* secondary text: the same black, lighter */
  --rule: rgba(10, 10, 10, .16);  /* hairlines */
  --sans: "Wanted Sans Variable", -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  --mono: "SF Mono", Menlo, Consolas, monospace; /* kbd only */
  --t-xs: 13px; --t-s: 15px; --t-m: 17px; --t-l: 20px; --t-xl: clamp(22px, 2.1vw, 27px);
  --t-head: clamp(44px, 6.2vw, 100px); --t-hero: clamp(56px, min(13vw, 22vh), 210px);
  --cast-w: clamp(240px, 26vw, 380px);
  --cast-h: min(calc(100vh - var(--floor) - 70px), 860px); /* her box; the line-up figures use the same */
  --floor: max(14vh, 128px); /* the hero baseline, measured from the bottom of the viewport: her feet stand on it */
  --gut: max(18px, 3.2vw);
  --bar-h: 59px; /* .bar: 44px tap-size controls (30px logo) + 2 × 7px padding + 1px hairline */
  color-scheme: light only;
}
[data-blue="b"] { --blue: #0038E6; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--white); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: var(--t-m); line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3, .lead { text-wrap: balance; }
p { text-wrap: pretty; }
kbd { font: 600 .82em var(--mono); padding: 0 6px; border: 1px solid currentColor; }

/* ---------- top bar ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 18px; padding: 7px var(--gut); background: var(--white); border-bottom: 1px solid var(--rule); }
html { scroll-padding-top: var(--bar-h); } /* anchors (and snap points) land below the fixed bar */
/* Desktop: a gentle snap to each chapter's top. Proximity, not mandatory: chapters taller than the viewport (real UI,
   FAQ) scroll freely and nothing traps the reader. Phones and reduced motion keep natural scrolling. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
  .title, .sec { scroll-snap-align: start; }
}
.mark img { height: 30px; width: auto; } /* the bar's 14px padding is the logo's clear space */
.lang { margin-left: auto; display: flex; gap: 2px; }
.lang button { min-width: 44px; min-height: 44px; font: 700 var(--t-xs)/1.4 var(--sans); padding: 6px 8px; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.menu { min-height: 44px; font: 800 var(--t-xs)/1 var(--sans); color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.menu::before, .btn::before, .her::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: none; }

/* buttons: compact, square; a small square bullet; the primary one carries a separate arrow box */
.btn { display: inline-flex; align-items: stretch; gap: 3px; padding: 0; border: 0; background: none; font: 700 var(--t-s)/1 var(--sans); text-decoration: none; cursor: pointer; color: var(--white); }
.btn::before { display: none; }
.btn > span:first-child { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--blue); }
.btn > span:first-child::before { content: ""; width: 7px; height: 7px; background: var(--white); }
.btn .arr { display: inline-flex; align-items: center; justify-content: center; width: 46px; background: var(--blue); }
.btn:hover > span { background: var(--ink); }
.btn.line { display: inline-flex; align-items: center; gap: 10px; padding: 13px 19px; border: 1px solid var(--ink); color: var(--ink); }
.btn.line::before { display: block; background: var(--blue); }
.btn.line:hover { background: var(--ink); color: var(--white); }

/* ---------- title: headline above a hairline baseline; she stands on that line at the right ---------- */
.title { position: relative; height: 100svh; min-height: 560px; padding: 0 var(--gut); }
.title .top { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(var(--floor) + 30px); }
/* Two lines; she stands on the baseline at the right, above the buttons (js/main.js titleX), never over the headline.
   EN runs longer, so it is set a step smaller. */
.title .head { margin: 0; color: var(--ink); font: 800 var(--t-hero)/.98 var(--sans); letter-spacing: -.035em; }
html[lang="en"] .title .head { font-size: clamp(48px, min(8vw, 15vh), 136px); }
.brand-line { margin: 0 0 18px; font: 700 var(--t-s)/1.4 var(--sans); color: var(--ink-2); }
/* The headline's final period is the one blue mark: the font's own "." on the baseline. In the gag (js/main.js) it
   hops up and lands back in place with a small bounce. */
.loose { display: inline-block; color: var(--blue); }
.loose.knocked { animation: hop-dot .9s cubic-bezier(.3, 0, .7, 1); }
@keyframes hop-dot {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(-.55em); animation-timing-function: cubic-bezier(.5, 0, 1, .5); }
  62% { transform: translateY(0); }
  78% { transform: translateY(-.12em); }
}

.title .base { position: absolute; left: var(--gut); right: var(--gut); top: calc(100svh - var(--floor)); display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-top: 22px; border-top: 1px solid var(--rule); }
.title .lede { margin: 0; max-width: 31em; }
.acts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- chapters: a left-aligned headline over a hairline, then the content, all clear of her side ---------- */
.sec { padding: 22vh 0 12vh; }
/* Desktop: one chapter per screen at least, so each snap lands on one chapter (taller ones scroll freely). */
@media (min-width: 901px) { .sec { min-height: calc(100vh - var(--bar-h)); } }
.sec .wrap { --pl: var(--gut); --pr: var(--gut); display: grid; grid-template-columns: var(--pl) minmax(0, 1fr) var(--pr); }
.sec[data-side="left"] .wrap { --pl: calc(var(--cast-w) + var(--gut) * 2); }
.sec[data-side="right"] .wrap { --pr: calc(var(--cast-w) + var(--gut) * 2); }
.sec .wrap > * { grid-column: 2; max-width: 760px; }
.sec .wrap > .head { max-width: none; }
.sec .head { margin: 0 0 28px; padding-bottom: 26px; border-bottom: 1px solid var(--rule); color: var(--ink); font: 800 var(--t-head)/1 var(--sans); letter-spacing: -.03em; }
.lead { margin: 0 0 20px; font-size: var(--t-l); line-height: 1.6; }
/* her one line per chapter: a blue square, then her words; the speaker name stays for screen readers only */
.her { display: flex; gap: 12px; align-items: baseline; margin: 0 0 52px; font: 700 var(--t-l)/1.5 var(--sans); }
.her::before { background: var(--blue); transform: translateY(-3px); }
.her b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.note { margin: 14px 0 0; font-size: var(--t-xs); line-height: 1.6; color: var(--ink-2); }
h3 { margin: 0 0 6px; font: 800 var(--t-l)/1.3 var(--sans); }

/* DAW illustrations (js/daw.js): a dark screen inside the white page, in the layout of a clip-launcher view and a
   timeline view. Greys and the bright clip colours belong to the screen only; the page keeps white / black / blue. */
.sec .wrap > .daw { max-width: 760px; }
.daw { margin-top: 8px; padding: 6px; background: #1b1b1b; color: #c4c4c4; font: 600 11px/1 var(--sans); user-select: none; }
.sv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, .7fr); gap: 1px; background: #121212; }
.daw .th { display: flex; align-items: center; height: 22px; padding: 0 6px; background: var(--c); color: #101010; font-weight: 700; white-space: nowrap; overflow: hidden; }
.daw .th.main { background: #3a3a3a; color: #c4c4c4; }
.daw .sl { position: relative; height: 24px; background: #2e2e2e; }
.daw .sl:empty::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -4px 0 0 -4px; border: 1px solid #555; } /* empty slot */
.daw .sc { display: flex; align-items: center; padding: 0 6px; background: #262626; }
.daw .scene { display: flex; align-items: center; gap: 6px; color: #9a9a9a; }
.daw .scene::before, .daw .clip::before { content: ""; border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; flex: none; }
.sv .clip { position: absolute; inset: 1px; display: flex; align-items: center; gap: 6px; padding: 0 6px; overflow: hidden; background: var(--c); color: #101010; white-space: nowrap; }
.sv .clip .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: #101010; }
.daw .mx { display: flex; align-items: center; gap: 4px; height: 52px; padding: 6px; background: #262626; }
.daw .mx b, .daw .mx i { display: grid; place-items: center; width: 16px; height: 14px; font: 700 9px/1 var(--sans); font-style: normal; }
.daw .mx b { background: #f0b43c; color: #101010; }
.daw .mx i { background: #3a3a3a; color: #9a9a9a; }
.daw .fader { position: relative; flex: 1; align-self: stretch; margin-left: 4px; max-width: 6px; background: #121212; }
.daw .fader::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--v); background: #3ddc6b; opacity: .35; }
.av { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 1px; background: #121212; }
.av .tl { position: relative; overflow: hidden; background: #262626; }
.av .ruler { position: relative; height: 18px; background: #2e2e2e; }
.av .ruler span { position: absolute; top: 4px; padding-left: 3px; border-left: 1px solid #6a6a6a; color: #9a9a9a; font-size: .9em; }
.av .loopbar { position: absolute; bottom: 0; height: 4px; background: #9a9a9a; }
.av .locs { position: relative; height: 16px; background: #222; }
.av .loc { position: absolute; top: 2px; display: flex; align-items: center; gap: 3px; color: #d8d8d8; font-size: .9em; white-space: nowrap; }
.av .loc::before { content: ""; border-top: 5px solid #d8d8d8; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.av .lane { position: relative; height: 26px; border-top: 1px solid #1b1b1b; background: repeating-linear-gradient(90deg, #2b2b2b 0 calc(100% * 16 / 152 - 1px), #222 calc(100% * 16 / 152 - 1px) calc(100% * 16 / 152)); } /* a line every 16 bars */
.av .clip { position: absolute; top: 1px; bottom: 1px; padding: 2px 4px; overflow: hidden; background: color-mix(in srgb, var(--c) 72%, #1b1b1b); border-top: 7px solid var(--c); box-shadow: inset 1px 0 0 #1b1b1b; background-image: repeating-linear-gradient(90deg, rgba(16, 16, 16, .45) 0 5px, transparent 5px 11px); background-size: 100% 2px; background-position: 0 85%; background-repeat: no-repeat; color: #101010; font-size: .85em; line-height: 1; white-space: nowrap; transform-origin: 0 50%; }
.av .clip::before { display: none; }
.av .hds { background: #2e2e2e; }
.av .len { display: flex; align-items: center; height: 34px; padding: 0 6px; background: #222; color: #e8e8e8; line-height: 1.2; }
.av .hd { display: flex; align-items: center; height: 26px; padding: 0 6px; border-top: 1px solid #1b1b1b; border-left: 5px solid var(--c); background: #333; }
.av .ph { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: #e8e8e8; opacity: 0; }
/* mixer (js/daw.js mixer): a spectrum line on the main out, strips with pan knob, meters and fader, one EQ device */
.mxv { display: grid; gap: 1px; background: #121212; }
.mxv .spec { display: block; width: 100%; height: 40px; background: #222; }
.mxv svg path { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.mxv .spec path { stroke: #d8d8d8; }
.mxv .strips { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; }
.mxv .st { display: grid; grid-template-rows: 22px 30px 96px 22px; background: #262626; }
.mxv .pan { position: relative; place-self: center; width: 18px; height: 18px; border: 2px solid #555; border-radius: 50%; }
.mxv .pan i { position: absolute; left: 50%; top: -2px; bottom: 50%; width: 2px; margin-left: -1px; background: #d8d8d8; transform-origin: 50% 100%; }
.mxv .lv { display: flex; justify-content: center; gap: 2px; padding: 6px 0 4px; }
.mxv .mt { position: relative; width: 5px; background: #121212; }
.mxv .mt i { position: absolute; inset: 0; background: linear-gradient(to top, #3ddc6b 0 62%, #f0b43c 62% 84%, #ff4a3a 84%); clip-path: inset(100% 0 0); }
.mxv .fd { position: relative; width: 14px; margin-left: 4px; background: linear-gradient(#555, #555) 50% 0 / 2px 100% no-repeat; }
.mxv .fd i { position: absolute; left: 0; right: 0; height: 6px; margin-bottom: -3px; background: #c4c4c4; }
.mxv .bt { display: flex; justify-content: center; align-items: center; gap: 4px; }
.mxv .bt b, .mxv .bt i { display: grid; place-items: center; width: 16px; height: 14px; font: 700 9px/1 var(--sans); font-style: normal; }
.mxv .bt b { background: #f0b43c; color: #101010; }
.mxv .bt i { background: #3a3a3a; color: #9a9a9a; }
.mxv .dev { display: grid; grid-template-columns: auto minmax(0, 1fr); background: #262626; }
.mxv .dt { padding: 6px 8px; background: #333; color: #d8d8d8; }
.mxv .eqv svg { display: block; width: 100%; height: 50px; background: #1e1e1e; }
.mxv .zero { stroke: #3a3a3a; }
.mxv .eq { stroke: #ffa529; }
.mxv .eqv { position: relative; }
.mxv .eqv > i { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #ffa529; }
/* steps: js/daw.js adds a1 (first request done) and a2 (second) on the .daw; rs dims the screen before a loop
   restarts, cut drops transitions for that one reset frame. Motion only when allowed; otherwise the final state. */
@media (prefers-reduced-motion: no-preference) {
  .sv, .av, .mxv { transition: opacity .5s ease; }
  .daw.rs .sv, .daw.rs .av { opacity: 0; }
  .daw.cut *, .daw.cut *::before, .daw.cut *::after { transition: none !important; animation: none !important; }
  .sv .clip.add, .sv .clip.v2 { opacity: 0; transform: scale(.85); transition: opacity .2s ease var(--d), transform .25s cubic-bezier(.2, .9, .3, 1.3) var(--d); }
  .daw.a1 .sv .clip.add, .daw.a2 .sv .clip.v2 { opacity: 1; transform: none; }
  .daw.a1 .sv .clip.dr { animation: redo .5s ease .1s; }
  .daw .fader::after { transition: height .8s cubic-bezier(.3, .7, .3, 1) .2s; }
  .sv .clip.play::before { animation: blink 1s steps(1) infinite; }
  .sv .clip.play .prog { animation: prog 2s linear infinite; }
  .daw:not(.a1) .sv .clip.add::before, .daw:not(.a1) .sv .clip.add .prog { animation: none; }
  .av .clip:not(.loop) { transform: scaleX(0); transition: transform .45s cubic-bezier(.3, .7, .3, 1) var(--d); }
  .daw.a1 .av .clip:not(.loop) { transform: none; }
  .daw.a2 .av .clip.cb { animation: regrow .6s cubic-bezier(.3, .7, .3, 1); }
  .av .loop, .av .loopbar { transition: opacity .3s ease .2s; }
  .daw.a1 .av .loop, .daw.a1 .av .loopbar { opacity: 0; }
  .av .loc { opacity: 0; transition: opacity .3s ease var(--d); }
  .daw.a1 .av .loc { opacity: 1; }
  .av .len span { opacity: 0; transition: opacity .4s ease 3.8s; }
  .daw.a1 .av .len span { opacity: 1; }
  .daw.a1 .av .ph { opacity: 1; animation: head 3.6s linear .4s both; }
  .ask .cr { animation: blink2 1s steps(1) infinite; }
  .ask .re { transition: opacity .35s ease; }
}
.daw.a1 .fader::after { height: var(--v1); }
@media (prefers-reduced-motion: reduce) { .av .loop, .av .loopbar { display: none; } }
@keyframes prog { from { width: 0; } to { width: 100%; } }
@keyframes blink { 50% { color: #3ddc6b; } }
@keyframes blink2 { 50% { opacity: 0; } }
@keyframes head { from { left: 0; } to { left: 100%; } }
@keyframes redo { 0% { transform: scale(1); filter: brightness(1); } 35% { transform: scale(.92); filter: brightness(1.35); } 100% { transform: none; filter: none; } }
@keyframes regrow { 0% { transform: scaleX(0); filter: brightness(1.4); } 100% { transform: none; filter: none; } }
/* the chat line under each screen: what you type (the app's ▸ prompt), then her answer with the page's speech mark */
.ask { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; font: 600 12px/1.3 var(--sans); }
.ask p { margin: 0; }
.ask .me { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 30px; padding: 0 10px; background: #262626; color: #e8e8e8; }
.ask .pr { color: #9a9a9a; }
.ask .tx { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask .cr { flex: none; width: 1px; height: 14px; margin-left: -6px; background: #e8e8e8; }
.ask .me.sent { color: #9a9a9a; }
.ask .me.sent .cr { visibility: hidden; }
.ask .re { flex: 0 1 auto; display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; background: var(--white); color: var(--ink); font-weight: 700; white-space: nowrap; opacity: 0; }
.ask .re::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--blue); }
.ask .re.show { opacity: 1; }
@media (max-width: 600px) { .ask .me { flex-basis: 100%; } } /* her answer always gets its own row, so nothing jumps */

/* real UI: the app's own file in an iframe, on a black stage (the app's dialogue box is built for a dark desktop) */
.sec .wrap > .gallery { max-width: 900px; }
.gallery { display: grid; grid-template-columns: minmax(0, 510px) minmax(0, 1fr); gap: 32px; align-items: end; }
.device { position: relative; padding: 30px 20px 20px; background: var(--ink); }
.device iframe { display: block; width: 470px; height: 610px; border: 0; background: transparent; transform-origin: 0 0; } /* always laid out at the app's own size; js/main.js scales it down to fit (squeezing it reflows the app's UI) */
.device .demo { position: absolute; top: 8px; left: 20px; color: var(--white); font: 700 11px/1.4 var(--sans); letter-spacing: .04em; }
.controls { display: grid; gap: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 40px; padding: 8px 14px; border: 1px solid var(--ink); background: var(--white); color: var(--ink); font: 700 var(--t-xs)/1.2 var(--sans); cursor: pointer; }
.seg button:hover { background: var(--ink); color: var(--white); }
.seg button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
@media (max-width: 1000px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

/* character: the cast line-up. Desktop: a full-height stage (snaps like a chapter); her feet and theirs on the same
   baseline (var(--floor)), every figure in a box the size of the live one (var(--cast-w) × var(--cast-h)); the stills are
   1 m wide, so `contain` gives the live scale. The first card is hers: sticky, white, and empty above the tag — the live
   heroine (fixed layer) stands in it; the others slide behind it. */
.lineup { position: relative; height: calc(100vh - var(--bar-h)); margin-top: 8vh; scroll-snap-align: start; }
.lineup .row { --gap: 28px; list-style: none; height: 100%; margin: 0; padding: 0; display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: calc(var(--gut) + var(--cast-w) + var(--gap0, 28px)); scrollbar-width: none; cursor: grab; }
.lineup .row::-webkit-scrollbar { display: none; }
.lineup .row.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.lineup .row:focus-visible { outline-offset: -3px; }
.card { flex: none; width: var(--cast-w); height: 100%; margin-right: var(--gap); display: flex; flex-direction: column; scroll-snap-align: start; }
.card:last-child { margin-right: var(--gut); }
.card .fig { position: relative; height: var(--cast-h); margin-top: auto; }
.card img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; } /* width-locked: every still is 1 m wide, so all stand at the same scale (contain would shrink the taller ones) */
.card .soon { position: absolute; left: 0; bottom: 14px; margin: 0; font: 700 var(--t-s)/1.4 var(--sans); color: var(--ink-2); }
.card .tag { height: var(--floor); padding-top: 14px; border-top: 1px solid var(--rule); }
.card .tag b { display: block; font: 800 var(--t-l)/1.3 var(--sans); }
.card .tag span { display: block; font: 700 var(--t-xs)/1.5 var(--sans); color: var(--ink-2); }
.card .tag p { margin: 4px 0 0; font-size: var(--t-xs); line-height: 1.5; color: var(--ink-2); }
.card:first-child { position: sticky; left: 0; z-index: 1; width: calc(var(--gut) + var(--cast-w) + var(--gap0, 28px)); margin-right: 0; padding: 0 var(--gap0, 28px) 0 var(--gut); background: var(--white); }
.card:first-child .fig img { visibility: hidden; } /* desktop: the live heroine stands here */
.lineup .nav { position: absolute; z-index: 2; top: 14px; left: var(--gut); /* above her sticky card: she is the shortest, so the tall ones sliding by never meet it */ display: flex; align-items: center; gap: 6px; }
.lineup .pos { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* screen readers only: the arrows alone on screen */
.lineup .nav button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--ink); background: var(--white); color: var(--ink); cursor: pointer; }
.lineup .nav button:hover { background: var(--ink); color: var(--white); }
.lineup .nav button:disabled { border-color: var(--rule); color: var(--rule); background: var(--white); cursor: default; }
/* Entrance: the others step in beside her, one after another (reduced motion: already standing). */
@media (prefers-reduced-motion: no-preference) {
  .lineup[data-anim] .card:not(:first-child) { opacity: 0; transform: translateX(56px); transition: opacity .5s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
  .lineup[data-anim].in .card:not(:first-child) { opacity: 1; transform: none; }
  .lineup[data-anim] .nav { opacity: 0; transition: opacity .4s ease .6s; }
  .lineup[data-anim].in .nav { opacity: 1; }
}

/* FAQ */
.faq { margin: 0; }
.faq dt { padding-top: 18px; border-top: 1px solid var(--rule); font: 800 var(--t-l)/1.4 var(--sans); }
.faq dd { margin: 4px 0 22px; color: var(--ink-2); }

/* beta form */
.slot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.slot label { display: grid; gap: 6px; font: 700 var(--t-xs)/1.4 var(--sans); }
.slot input, .slot select { min-width: 0; min-height: 50px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink); font: 400 var(--t-m) var(--sans); }
.slot .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
.slot .msg { grid-column: 1 / -1; min-height: 1.6em; margin: 0; font-size: var(--t-s); }
.slot .note { grid-column: 1 / -1; margin: 0; }
@media (max-width: 600px) { .slot { grid-template-columns: minmax(0, 1fr); } }

footer { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 48px; margin: 0 var(--gut); padding: 40px 0 56px; border-top: 1px solid var(--rule); font-size: var(--t-xs); color: var(--ink-2); }
footer img { height: 34px; width: auto; }
footer p { margin: 0 0 4px; }

/* ---------- the resident character: stands on the baseline (var(--floor)) ---------- */
.cast { position: fixed; z-index: 30; left: 0; bottom: var(--floor); width: var(--cast-w); height: var(--cast-h); transform: translateX(var(--x, calc(100vw - var(--cast-w) - var(--gut)))); transition: transform .9s cubic-bezier(.37, 0, .63, 1), opacity .4s, visibility .4s; pointer-events: none; }
.cast.away, .cast.aside { opacity: 0; visibility: hidden; } /* steps aside while the footer is on screen: credits are never covered */
.cast .body { position: absolute; inset: 0; cursor: pointer; pointer-events: auto; background: none; border: 0; padding: 0; }
.cast.inline .body { pointer-events: none; }
.cast .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: opacity .2s; }
.cast .gl { position: absolute; inset: 0; }
.cast .gl canvas { width: 100% !important; height: 100% !important; display: block; }
.cast.live .poster { opacity: 0; }
.cast .ctl { position: absolute; top: 18%; display: flex; flex-direction: column; gap: 6px; pointer-events: auto; }
.cast[data-side="left"] .ctl { right: -6px; } .cast[data-side="right"] .ctl { left: -6px; }
.ctl button { min-width: 32px; min-height: 32px; font: 700 var(--t-xs)/1 var(--sans); background: var(--white); color: var(--ink); border: 1px solid var(--ink); cursor: pointer; }
.ctl button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.ctl [data-small] { display: none; }
.cast .status { position: absolute; top: 12%; left: 50%; transform: translateX(-50%); font: 400 var(--t-xs)/1.4 var(--sans); color: var(--ink-2); white-space: nowrap; }
.cast .status:empty { display: none; }

/* phones: she docks in the corner, smaller, and can be minimised; the hero stacks */
@media (max-width: 900px) {
  :root { --cast-w: 112px; --t-hero: clamp(44px, 13vw, 84px); --t-head: clamp(38px, 11vw, 64px); }
  html[lang="en"] .title .head { font-size: clamp(40px, 11vw, 72px); }
  .bar { gap: 12px; }
  .daw { font-size: 10px; padding: 4px; }
  .daw .sl, .daw .th { height: 22px; }
  /* song screen: the whole width goes to the timeline (the clips carry the track names); the length sits on top, and
     locators lose their triangle for a hairline like the ruler's, so short sections (Break) keep their names apart */
  .av { grid-template-columns: minmax(0, 1fr); }
  .av .hds { order: -1; }
  .av .hd { display: none; }
  .av .len { height: 24px; }
  .av .loc { gap: 0; padding-left: 3px; border-left: 1px solid #d8d8d8; }
  .av .loc::before { display: none; }
  .sec { padding: 14vh 0 8vh; }
  .sec[data-side] .wrap { --pl: var(--gut); --pr: var(--gut); }
  .title { height: auto; min-height: 0; padding: calc(64px + 12svh) var(--gut) 230px; }
  .title .top, .title .base { position: static; }
  .title .head { margin-bottom: 30px; }
  .title .base { flex-direction: column; gap: 22px; }
  .acts { justify-content: flex-start; }
  .lineup { height: auto; margin-top: 6vh; }
  /* a swipeable row: about one and a half figures per screen, so the next one peeks in; the box is as tall as the
     tallest still (1.95 × width) so every figure keeps the same 1 m = width scale */
  .lineup .row { --card: min(58vw, calc((100svh - 300px) / 1.95)); padding: 0 var(--gut); scroll-padding-left: var(--gut); --gap: 20px; }
  .card, .card:first-child { position: static; width: var(--card); height: auto; padding: 0; margin-right: var(--gap); }
  .card:last-child { margin-right: 0; }
  .card .fig { height: calc(var(--card) * 1.95); }
  .card .tag b { font-size: var(--t-m); }
  .lineup .nav button { width: 44px; height: 44px; }
  .card:first-child .fig img { visibility: visible; }
  .card .tag { height: auto; }
  .lineup .nav { position: static; justify-content: flex-end; padding: 18px var(--gut) 0; }
  .cast { bottom: 0; height: 190px; transform: translateX(calc(100vw - 112px - 6px)) !important; transition: none; }
  .cast .poster { object-fit: cover; object-position: 50% 0; }
  .cast .ctl { top: -48px; bottom: auto; flex-direction: row; left: auto !important; right: 0 !important; }
  .cast .ctl [data-small] { display: block; }
  .ctl button { min-width: 44px; min-height: 44px; }
  .cast.min { width: 64px; height: 64px; transform: translateX(calc(100vw - 72px)) !important; bottom: 8px; }
  .cast.min .body { border-radius: 50%; overflow: hidden; border: 1px solid var(--ink); background: var(--white); }
  .cast.min .poster { object-fit: cover; object-position: 50% 4%; transform: scale(2.2); transform-origin: 50% 0; }
  .cast.min .gl { display: none; }
  .cast.min .ctl { top: auto; bottom: -4px; right: -4px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
