/* Captain Mike Lowe · The Crossing
   Layout: one crossing. A living river runs behind everything; logbook pages and
   ship's instruments float over it, set left like a log on a chart table, and
   full-bleed film bands open each entry. Single committed look: daylight to dusk. */
[hidden] { display: none !important; }
:root {
  color-scheme: light;
  --ink: #0f1a22;          /* navy-black text */
  --navy: #13263a;         /* uniform serge */
  --navy-2: #1c3550;
  --paper: #f2f4ef;        /* log page */
  --paper-2: #e3e9e3;
  --rule: #b7c3bf;
  --muted: #4a5a60;
  --teal: #2b8a80;         /* telegraph pedestal green */
  --teal-deep: #1b5d57;
  --brass: #c49a45;
  --brass-hi: #e6c97f;
  --signal: #c43a2c;       /* astern red, funnel red */
  --chart-land: #ece0bb;
  --chart-shoal: #cfe3e8;
  --chart-sea: #f7faf8;
  --phosphor: #8dffbc;
  --night: #0b1420;
  --font-display: "Big Shoulders", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --font-stencil: "Big Shoulders Stencil", "Big Shoulders", Impact, sans-serif;
  --font-body: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --hud-h: 46px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --col: min(640px, 100%);
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0: clamp(1.06rem, 1rem + 0.3vw, 1.22rem);
  --step-1: clamp(1.3rem, 1.18rem + 0.6vw, 1.6rem);
  --step-2: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  --step-3: clamp(2.4rem, 1.8rem + 3vw, 4.4rem);
  --step-4: clamp(3.4rem, 2.2rem + 6.4vw, 8.6rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #24343c;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img, video, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--paper); padding: 10px 14px; }
.skip:focus { left: 12px; top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* ---------- river + grain ---------- */
#river { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
main { position: relative; z-index: 2; }

/* ---------- HUD ---------- */
.hud {
  position: fixed; z-index: 50; left: 0; right: 0; top: env(safe-area-inset-top, 0px);
  height: var(--hud-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  background: rgba(11, 20, 30, .84);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--paper);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  border-bottom: 1px solid rgba(230, 201, 127, .22);
}
.hud__brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.hud__logo { width: 22px; height: auto; color: var(--paper); }
.hud__log { display: flex; justify-content: center; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-transform: uppercase; }
.hud__time { color: var(--brass-hi); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 13px; }
.hud__place { overflow: hidden; text-overflow: ellipsis; }
.hud__sep { opacity: .45; }
.hud__tools { display: flex; gap: 6px; align-items: center; }
.hud__btn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 16px; border: 1px solid rgba(242,244,239,.28); background: transparent; cursor: pointer; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; max-width: 340px; }
.hud__btn svg { width: 16px; height: 16px; flex: none; }
.hud__btn[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.hud__lyric { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 250px; }
.hud__sound .on { display: none; } .hud__sound[aria-pressed="true"] .on { display: inline; } .hud__sound[aria-pressed="true"] .off { display: none; }
.hud__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.hud__progress i { display: block; height: 100%; width: 0; background: var(--brass); }
@media (max-width: 760px) {
  .hud { grid-template-columns: auto 1fr auto; gap: 8px; font-size: 11px; }
  .hud__brand span { display: none; }
  .hud__wide { display: none; }
  .hud__lyric { display: none; }
  .hud__btn { padding: 0 8px; }
}

/* ---------- minichart ---------- */
.minichart {
  position: fixed; z-index: 40; right: calc(var(--gutter-r) + 4px); top: calc(env(safe-area-inset-top, 0px) + var(--hud-h) + 16px);
  width: 230px; background: var(--chart-sea); border: 1px solid #9fb0ae; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  transition: opacity .4s, transform .4s;
}
.minichart__head { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-bottom: 1px solid #b7c3bf; color: var(--muted); }
.minichart__head span:last-child { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.minichart .chart { width: 100%; height: 270px; }
.minichart.is-hidden { opacity: 0; transform: translateY(-8px); pointer-events: none; }
@media (max-width: 1180px) { .minichart { display: none; } }

/* chart drawing (assets/chart.js, OpenStreetMap geometry) */
.k-chart { --k-u: 1; display: block; background: var(--k-sea); }
:root {
  --k-land: #ece2c5; --k-green: #dfe0b9; --k-town: #b4a07a; --k-road: #fbf7ec; --k-road-case: #b9a986;
  --k-sea: #eef5f3; --k-shal: #8fbfca; --k-dry: #dcd6a4; --k-dry-edge: #a99d62;
  --k-cink: #1f2c34; --k-quay: #3c4a50; --k-mag: #a8326e; --k-paper: #f7f3e6;
}
.k-land { fill: var(--k-land); }
.k-green { fill: var(--k-green); }
.k-town { fill: var(--k-town); opacity: .78; }
.k-road2 { fill: none; stroke: var(--k-road-case); stroke-width: calc(.7px * var(--k-u)); opacity: .55; }
.k-road1 { fill: none; stroke: var(--k-road-case); stroke-width: calc(1.3px * var(--k-u)); opacity: .8; }
.k-rail { fill: none; stroke: #4c4a43; stroke-width: calc(1.6px * var(--k-u)); opacity: .75; }
.k-rail-tick { fill: none; stroke: var(--k-land); stroke-width: calc(.8px * var(--k-u)); stroke-dasharray: calc(3px * var(--k-u)) calc(3px * var(--k-u)); }
.k-sea, .k-dock, .k-lake { fill: var(--k-sea); stroke: var(--k-sea); stroke-width: .6; }
.k-dock { fill: #e6efee; stroke: #e6efee; }
.k-shal { fill: none; stroke: var(--k-shal); stroke-linejoin: round; stroke-linecap: round; }
.k-shal--3 { stroke-width: 34; opacity: .16; }
.k-shal--2 { stroke-width: 18; opacity: .22; }
.k-shal--1 { stroke-width: 7; opacity: .3; }
.k-dry { fill: var(--k-dry); stroke: var(--k-dry-edge); stroke-width: calc(.6px * var(--k-u)); stroke-dasharray: calc(1px * var(--k-u)) calc(2px * var(--k-u)); }
.k-dry--wet { fill: #cfd5a6; }
.k-shore { fill: none; stroke: var(--k-cink); stroke-width: calc(1.05px * var(--k-u)); stroke-linejoin: round; }
.k-quay { fill: none; stroke: var(--k-quay); stroke-width: calc(.7px * var(--k-u)); }
.k-pier { fill: var(--k-cink); stroke: var(--k-cink); stroke-width: calc(.4px * var(--k-u)); }
.k-pierline { fill: none; stroke: var(--k-cink); stroke-width: calc(1.2px * var(--k-u)); }
.k-tunnel { fill: none; stroke: #8a5a3c; stroke-width: calc(.9px * var(--k-u)); stroke-dasharray: calc(5px * var(--k-u)) calc(3px * var(--k-u)); opacity: .55; }
.k-tunnel--rail { stroke: #4c4a43; }
.k-grat line { stroke: #5f7a80; stroke-width: calc(.5px * var(--k-u)); opacity: .22; }
.k-neat-out { fill: var(--k-paper); stroke: var(--k-cink); stroke-width: 1.4; }
.k-neat-in { fill: none; stroke: var(--k-cink); stroke-width: 1; }
.k-neat-mid { fill: none; stroke: var(--k-cink); stroke-width: .8; }
.k-bar { fill: var(--k-cink); }
.k-deg { fill: var(--k-cink); font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .04em; }
.k-labels text, .k-note, .k-cart text, .k-rose text { paint-order: stroke; stroke: rgba(247,243,230,.85); stroke-width: calc(2.6px * var(--k-u)); stroke-linejoin: round; }
.k-town { font-family: var(--font-display); font-weight: 800; font-size: calc(14px * var(--k-u)); letter-spacing: .32em; fill: #4a4130; }
text.k-town { fill: #4a4130; }
.k-river { font-family: var(--font-body); font-style: italic; font-size: calc(15px * var(--k-u)); letter-spacing: .5em; fill: #2f6676; }
.k-chart--mini .k-river { font-size: calc(10px * var(--k-u)); }
.k-sea-l, text.k-sea { font-family: var(--font-body); font-style: italic; font-size: calc(14px * var(--k-u)); letter-spacing: .14em; fill: #2f6676; stroke-width: 0; }
.k-place circle { fill: var(--k-paper); stroke: var(--k-cink); stroke-width: calc(1.4px * var(--k-u)); r: calc(2.8px * var(--k-u)); }
.k-place text { font-family: var(--font-mono); font-size: calc(10px * var(--k-u)); fill: var(--k-cink); font-weight: 600; }
.k-note { font-family: var(--font-body); font-style: italic; font-size: calc(10.5px * var(--k-u)); fill: #3d4a4f; }
.k-sym-line { fill: none; stroke: var(--k-cink); stroke-width: calc(1.2px * var(--k-u)); }
.k-sym-dot { fill: var(--k-cink); }
.k-sym-ring { fill: var(--k-paper); stroke: var(--k-cink); stroke-width: calc(1.1px * var(--k-u)); }
.k-flare { fill: var(--k-mag); opacity: .85; }
.k-oldpier line { stroke: #6a5a46; stroke-width: calc(1.6px * var(--k-u)); stroke-dasharray: calc(3px * var(--k-u)) calc(2px * var(--k-u)); }
.k-oldpier-bridge { stroke-dasharray: none !important; stroke-width: calc(1px * var(--k-u)) !important; }
.k-oldpier-stage { fill: none; stroke: #6a5a46; stroke-width: calc(1.3px * var(--k-u)); stroke-dasharray: calc(2px * var(--k-u)) calc(1.5px * var(--k-u)); }
.k-rose-bg { fill: rgba(247,243,230,.55); }
.k-rose-ring { fill: none; stroke: var(--k-mag); stroke-width: .8; }
.k-rose-tick { stroke: var(--k-mag); stroke-width: .7; }
.k-rose-num { fill: var(--k-mag); font-family: var(--font-mono); font-size: 7.5px; stroke-width: 0 !important; }
.k-rose-card { fill: var(--k-paper); stroke: var(--k-cink); stroke-width: .8; }
.k-rose-inter { fill: var(--k-paper); stroke: var(--k-mag); stroke-width: .6; }
.k-rose-half { fill: var(--k-cink); }
.k-rose-dark { fill: var(--signal); }
.k-rose-hub { fill: var(--k-cink); }
.k-rose-n { fill: var(--k-cink); font-family: var(--font-display); font-weight: 800; font-size: 13px; }
.k-cart-bg { fill: var(--k-paper); stroke: var(--k-cink); stroke-width: 1.2; }
.k-cart-in { fill: none; stroke: var(--k-cink); stroke-width: .5; }
.k-cart-k { font-family: var(--font-mono); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; fill: #5d5a4e; stroke-width: 0 !important; }
.k-cart-t { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: .14em; fill: var(--k-cink); stroke-width: 0 !important; }
.k-cart-s { font-family: var(--font-body); font-style: italic; font-size: 13px; fill: #3d4a4f; stroke-width: 0 !important; }
.k-cart-f { font-family: var(--font-mono); font-size: 7px; fill: #3d4a4f; stroke-width: 0 !important; }
.k-sc-b { fill: var(--k-cink); } .k-sc-w { fill: var(--k-paper); stroke: var(--k-cink); stroke-width: .4; } .k-sc-g { fill: #8a8577; }
.k-route-case { fill: none; stroke: var(--k-paper); stroke-width: calc(5.2px * var(--k-u)); stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.k-route { fill: none; stroke: var(--signal); stroke-width: calc(2.4px * var(--k-u)); stroke-linecap: round; stroke-linejoin: round; }
.k-ship-hull { fill: var(--k-cink); }
.k-ship-deck { fill: #f4f1e8; }
.k-ship-house { fill: #c9c3b2; stroke: var(--k-cink); stroke-width: .3; }
.k-ship-funnel { fill: var(--signal); stroke: var(--k-cink); stroke-width: .4; }
.k-barge { fill: none; stroke: #7a5b2a; stroke-width: calc(2px * var(--k-u)); stroke-dasharray: calc(5px * var(--k-u)) calc(3px * var(--k-u)); transition: opacity .4s; }
.k-anchor { fill: none; stroke: var(--navy); stroke-width: calc(1.3px * var(--k-u)); }
.k-anchors { transition: opacity .4s; }
.k-chart--mini .k-town { font-size: calc(10px * var(--k-u)); letter-spacing: .24em; }
.k-chart--mini .k-place text { font-size: calc(9px * var(--k-u)); }

/* ---------- telegraph ---------- */
.telegraph {
  position: fixed; z-index: 45;
  right: calc(var(--gutter-r) + 2px); bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  display: grid; grid-template-columns: auto auto auto; align-items: end; gap: 6px;
}
.tg__dial { position: relative; width: 112px; height: 112px; padding: 0; border: none; background: none; cursor: pointer; filter: drop-shadow(0 8px 16px rgba(0,0,0,.35)); }
.tg__dial svg { width: 100%; height: 100%; }
.tg__rim { fill: var(--brass); stroke: #8a6a28; stroke-width: 2; }
.tg__face { fill: #f4ead6; stroke: #8a6a28; stroke-width: 1; }
.tg__astern-arc { fill: rgba(196,58,44,.18); }
.tg__ahead-arc { fill: rgba(15,26,34,.08); }
.tg__labels text { font-family: var(--font-mono); font-size: 6.4px; font-weight: 600; fill: var(--ink); letter-spacing: .04em; }
.tg__labels text.tg__word { font-size: 5.6px; letter-spacing: .1em; }
.tg__labels text.tg__ast { fill: var(--signal); }
.tg__labels text.tg__stop { font-size: 7px; }
.tg__labels text.tg__fwe { font-size: 4.4px; fill: #6b5a3a; letter-spacing: .08em; }
.tg__needle { transition: transform .5s cubic-bezier(.2,.9,.3,1.2); }
.tg__needle path { fill: #3a2c12; }
.tg__needle circle { fill: var(--brass); stroke: #3a2c12; stroke-width: 1.5; }
.tg__pin { fill: #3a2c12; }
.tg__order { position: absolute; left: 50%; bottom: -2px; transform: translate(-50%, 100%); font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--paper); background: rgba(11,20,30,.85); padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.tg__btn {
  height: 34px; padding: 0 12px; border-radius: 17px; cursor: pointer; margin-bottom: 26px;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(242,244,239,.4); background: rgba(11,20,30,.84); color: var(--paper);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tg__astern { color: #ff9c8f; }
.tg__btn:hover { background: var(--navy-2); }
.telegraph.is-rung .tg__dial { animation: tg-shake .35s; }
@keyframes tg-shake { 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
.loglist {
  position: absolute; right: 0; bottom: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow: auto;
  margin: 0; padding: 8px 0; list-style: none; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 18px 40px rgba(0,0,0,.35);
  font-family: var(--font-mono); font-size: 12px;
}
.loglist a { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 7px 14px; text-decoration: none; }
.loglist a:hover, .loglist a[aria-current="true"] { background: var(--paper-2); }
.loglist a span:first-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.loglist a[aria-current="true"] span:last-child { font-weight: 600; }
.loglist__nav { display: none; }
@media (max-width: 1179px) {
  .telegraph { right: calc(var(--gutter-r) - 6px); bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); transition: opacity .3s; }
  body.is-scrolling .telegraph:not(:focus-within) { opacity: 0; pointer-events: none; }
  .tg__dial { width: 60px; height: 60px; opacity: .94; }
  .tg__btn, .tg__order { display: none; }
  .loglist__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 14px 10px; border-bottom: 1px solid var(--rule); margin-bottom: 4px; }
  .loglist__nav button { min-height: 40px; border-radius: 20px; border: 1px solid var(--ink); background: var(--paper); font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .loglist__nav button:first-child { color: var(--signal); }
}
body.dock-open .telegraph { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { body.hero-on .telegraph { opacity: 0; pointer-events: none; } }
@media (min-width: 761px) { body.dock-open .telegraph { opacity: 1; pointer-events: auto; } }

/* ---------- hear Mike dock ---------- */
.dock {
  position: fixed; z-index: 55; left: calc(var(--gutter-l) + 4px); bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  width: min(400px, calc(100vw - 32px)); max-height: calc(100vh - var(--hud-h) - 40px); overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--night); color: var(--paper); border: 1px solid rgba(230,201,127,.35);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.dock__head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 12px 14px 10px; }
.dock__kicker { margin: 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-hi); }
.dock__title { margin: 2px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.dock__close { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(242,244,239,.3); background: none; cursor: pointer; font-size: 20px; line-height: 1; flex: none; }
.dock__screen { position: relative; aspect-ratio: 16 / 9; background: #000; max-width: 100%; }
.dock__screen iframe, #ytMount { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dock__head, .dock__player, .dock__note, .dock__screen, .dock__credit { flex: none; }
.dock__player { display: flex; align-items: center; gap: 10px; padding: 2px 14px 12px; }
.dock__face { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid rgba(230,201,127,.55); }
.dock__pp { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--brass); color: var(--ink); cursor: pointer; }
.dock__pp:hover { background: var(--brass-hi); }
.dock__pp svg { width: 16px; height: 16px; fill: currentColor; }
.dock__pp .pp-play, .dock.is-paused .dock__pp .pp-pause { display: none; }
.dock.is-paused .dock__pp .pp-play { display: inline; }
.dock__wave { position: relative; flex: 1 1 auto; min-width: 0; height: 34px; cursor: pointer; touch-action: none; outline: none; border-radius: 4px; }
.dock__wave:focus-visible { box-shadow: 0 0 0 2px var(--brass-hi); }
.dock__wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.dock__time { flex: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; color: rgba(242,244,239,.72); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dock__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 14px 10px; padding: 8px 10px; background: rgba(255,255,255,.05); border-left: 2px solid var(--brass); font-size: 13px; line-height: 1.4; color: #c9d3d6; }
.dock__read { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(242,244,239,.1); }
.dock__lines { position: relative; flex: 1 1 auto; min-height: 0; list-style: none; margin: 0; padding: 12px 14px 4px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.dock__follow { position: absolute; right: 12px; bottom: 10px; min-height: 32px; padding: 4px 12px; border-radius: 16px; border: 1px solid var(--brass); background: rgba(11,20,30,.92); color: var(--brass-hi); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.dock__lines li { padding: 5px 0; font-size: 16px; line-height: 1.4; color: rgba(242,244,239,.6); transition: color .3s; }
.dock__lines li.q { font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; }
.dock__lines li.q::before { content: "Q  "; color: var(--brass); }
.dock__lines li.is-now { color: var(--paper); }
.dock__lines li.is-past { color: rgba(242,244,239,.68); }
.dock__credit { margin: 0; padding: 7px 14px 12px; font-family: var(--font-mono); font-size: 11px; line-height: 1.45; letter-spacing: .02em; color: rgba(242,244,239,.78); border-top: 1px solid rgba(242,244,239,.1); }
.dock__credit a { color: var(--brass-hi); }
@media (min-width: 761px) {
  .dock { left: auto; right: calc(var(--gutter-r) + 4px); bottom: calc(env(safe-area-inset-bottom, 0px) + 168px); max-height: calc(100vh - var(--hud-h) - 200px); }
  body.dock-open .minichart { opacity: 0; pointer-events: none; }
}
@media (max-width: 760px) {
  .dock { left: 8px; right: 8px; width: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); max-height: min(68vh, 560px); max-height: min(68svh, 560px); }
  .dock__lines { max-height: none; }
  .dock__lines li { font-size: 17px; }
}

/* ---------- shared type ---------- */
.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
h1, h2, h3 { text-wrap: balance; }
.logline { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-hi); }
.logline b { color: var(--paper); font-weight: 600; }
.logline span::before { content: "/"; margin-right: 14px; opacity: .45; }
.logline--dark { color: var(--teal-deep); } .logline--dark b { color: var(--ink); }
.logline--light { color: var(--brass-hi); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: end; color: var(--paper); overflow: hidden; background: #26343b; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,30,.55) 0%, rgba(11,20,30,.05) 38%, rgba(11,20,30,.35) 62%, rgba(11,20,30,.92) 100%); }
.hero__inner { position: relative; padding: calc(var(--hud-h) + 48px) var(--gutter-r) 64px var(--gutter-l); padding-left: max(var(--gutter-l), 7vw); max-width: 1100px; }
.hero__title { margin: 0; font-family: var(--font-stencil); font-weight: 900; font-size: var(--step-4); line-height: .82; letter-spacing: .01em; text-transform: uppercase; }
.hero__title span { display: block; }
.hero__title span:first-child { color: var(--brass-hi); font-size: .52em; letter-spacing: .08em; margin-bottom: .08em; }
.hero__lede { max-width: 38rem; margin: 26px 0 0; font-size: var(--step-1); line-height: 1.42; }
.board { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 30px; }
.board__go {
  position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 14px 22px 12px 58px; border: none; border-radius: 40px; cursor: pointer;
  background: var(--brass); color: var(--ink);
  font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.board__go small { font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: .14em; opacity: .75; }
.board__ring { position: absolute; left: 14px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f8e7b6, #a77b2a 70%); box-shadow: inset 0 0 0 2px #6b4d14; }
.board__ring::after { content: ""; position: absolute; left: 50%; top: 4px; width: 3px; height: 13px; margin-left: -1.5px; background: #3a2c12; border-radius: 2px; transform-origin: 50% 12px; transform: rotate(0deg); transition: transform .5s cubic-bezier(.2,.9,.3,1.3); }
.board__go:hover .board__ring::after { transform: rotate(38deg); }
.board__quiet { background: none; border: none; color: var(--paper); cursor: pointer; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; padding: 8px 0; }
.hero__note { max-width: 34rem; margin: 18px 0 0; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; letter-spacing: .02em; color: rgba(242,244,239,.78); }

/* ---------- log sections ---------- */
.log { position: relative; padding-bottom: 18vh; }
.cinema { position: relative; height: clamp(360px, 72vh, 760px); overflow: hidden; color: var(--paper); display: grid; align-items: end; background: #1a2a33; }
.cinema video, .cinema__anim { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cinema--bw .cinema__anim { filter: grayscale(1) contrast(1.05); }
.cinema::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,30,.15) 0%, rgba(11,20,30,0) 40%, rgba(11,20,30,.86) 100%); }
.cinema--bw video { filter: grayscale(1) contrast(1.05); }
.cinema--still { height: clamp(280px, 52vh, 520px); background: transparent; }
.cinema--still::after { background: linear-gradient(180deg, rgba(11,20,30,0) 30%, rgba(11,20,30,.55) 100%); }
.cinema--fog::after, .log--snow .cinema::after { background: none; }
.cinema--fog .cinema__head, .log--snow .cinema__head { color: var(--ink); }
.cinema--fog .logline, .log--snow .logline { color: var(--teal-deep); }
.cinema--fog .logline b, .log--snow .logline b { color: var(--ink); }
.hud__logo, .credits__nbcf img { filter: invert(1); }
.cinema--dusk::after { background: linear-gradient(180deg, rgba(11,20,30,0) 30%, rgba(11,20,30,.6) 100%); }
.cinema__head { text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.cinema--fog .cinema__head, .log--snow .cinema__head { text-shadow: none; }
.cinema__head { position: relative; z-index: 1; padding: 0 var(--gutter-r) 42px var(--gutter-l); padding-left: max(var(--gutter-l), 7vw); max-width: 1200px; }
.cinema h2, .reveal__head h2, .mreveal__head h2 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: var(--step-3); line-height: .9; letter-spacing: .005em; text-transform: uppercase; max-width: 14ch; }

.page {
  position: relative; width: var(--col); margin: 0 0 0 max(var(--gutter-l), 7vw);
  padding: 40px clamp(20px, 4vw, 52px) 34px; background: var(--paper);
  box-shadow: 0 14px 40px rgba(6, 14, 20, .28);
  display: grid; gap: 18px;
}
.cinema + .page { margin-top: -26px; }
.reveal + .page { margin-top: 28px; }
.page + .page, .instrument + .page, .chartplate + .page, .spec + .page, .scrolly + .page, .diptych + .page, .cinestrip + .page { margin-top: 10vh; }
.page::before { content: ""; position: absolute; left: clamp(20px, 4vw, 52px); right: clamp(20px, 4vw, 52px); top: 18px; border-top: 1px solid var(--rule); }
.page p { margin: 0; max-width: 62ch; }
.page .drop::first-letter { font-family: var(--font-display); font-weight: 900; float: left; font-size: 3.6em; line-height: .78; padding: .06em .08em 0 0; color: var(--teal-deep); }
.page--night { background: #13202c; color: #e6ebe7; box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.page--night::before { border-color: rgba(230,201,127,.25); }
.page--night .drop::first-letter { color: var(--brass-hi); }
.sub { margin: 14px 0 -4px; font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); }
@media (max-width: 760px) {
  .page { margin-left: var(--gutter-l); width: calc(100% - var(--gutter-l) - var(--gutter-r)); padding-top: 34px; }
  .hero__inner, .cinema__head { padding-left: var(--gutter-l); }
}

/* quotes */
.said { margin: 6px 0; padding: 0 0 0 18px; border-left: 3px solid var(--teal); }
.said p { font-style: italic; font-size: var(--step-1); line-height: 1.3; }
.said p::before { content: "\201C"; } .said p::after { content: "\201D"; }
.said cite { display: block; margin-top: 8px; font-family: var(--font-mono); font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.said--big p { font-size: var(--step-2); line-height: 1.12; letter-spacing: -.005em; }
.said--other { border-left-color: var(--brass); }
.page--night .said { border-left-color: var(--brass); }
.page--night .said cite { color: #a7b4b8; }

/* hear Mike buttons */
.hear {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 8px 16px 8px 8px; border-radius: 30px; border: 1px solid var(--ink); background: transparent;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.hear::before { content: ""; width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'><path d='M10 8 L19 13 L10 18 Z' fill='%23f2f4ef'/></svg>") center/26px no-repeat; }
.hear .stamp { color: var(--muted); }
.hear:hover { background: var(--ink); color: var(--paper); }
.hear:hover .stamp { color: var(--brass-hi); }
.hear.is-playing::before { background-color: var(--signal); }
.hear--light, .page--night .hear { border-color: rgba(242,244,239,.6); color: var(--paper); }
.hear--light::before, .page--night .hear::before { background-color: var(--brass); }
.hear--light .stamp, .page--night .hear .stamp { color: var(--brass-hi); }
.hear--light:hover, .page--night .hear:hover { background: var(--paper); color: var(--ink); }

/* chips */
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 18px; border: 1px solid var(--ink); background: var(--paper); cursor: pointer; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }
.chip:hover, .chip[aria-pressed="true"], .chip.is-on { background: var(--ink); color: var(--paper); }
.chip--dark { background: transparent; border-color: rgba(141,255,188,.55); color: var(--phosphor); }
.chip--dark:hover, .chip--dark[aria-pressed="true"] { background: var(--phosphor); color: var(--night); }
.chip--small { min-height: 28px; padding: 2px 10px; font-size: 11px; }
.chip--add { border-style: dashed; }

/* ---------- instruments ---------- */
.instrument {
  position: relative; margin: 10vh max(var(--gutter-r), 4vw) 0 max(var(--gutter-l), 7vw);
  max-width: 980px; background: var(--paper); border: 1px solid #9fb0ae; box-shadow: 0 18px 44px rgba(6,14,20,.3);
  padding: 0 0 18px; display: grid; gap: 14px;
}
.instrument__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 10px 16px; border-bottom: 1px solid var(--rule); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.instrument__head span:last-child { color: var(--ink); font-weight: 600; }
.instrument__head--dark { background: var(--night); color: rgba(141,255,188,.7); border-color: rgba(141,255,188,.25); }
.instrument__head--dark span:last-child { color: var(--phosphor); }
.instrument > svg, .instrument > canvas { width: 100%; height: auto; }
.instrument__controls { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; }
.instrument figcaption { padding: 0 16px; font-size: var(--step--1); line-height: 1.5; color: var(--muted); max-width: 70ch; }
.instrument > .hear { margin-left: 16px; }
@media (max-width: 760px) { .instrument { margin-left: var(--gutter-l); margin-right: var(--gutter-r); } }

/* ropes */
.ropes svg { background: linear-gradient(#dfe8ea, #eef3f2 60%); }
 .r-rope { fill: none; stroke: #c9a463; stroke-width: 3; stroke-linecap: round; }
.r-rope.is-on { stroke: var(--brass-hi); stroke-width: 5; }
.r-label { font-family: var(--font-mono); font-size: 12px; fill: var(--ink); }
.r-lad { transition: transform .9s cubic-bezier(.3,.8,.3,1); }

/* departures board */
.flap { margin: 0 16px; background: #10181e; padding: 12px; border-radius: 4px; font-family: var(--font-mono); color: #f4d36b; }
.flap__row { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 10px; padding: 6px 4px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: clamp(13px, 2.4vw, 17px); letter-spacing: .1em; text-transform: uppercase; }
.flap__row--head { color: rgba(244,211,107,.55); font-size: 11px; }
.flap__row span { overflow: hidden; white-space: nowrap; }
.flap__row .ch { display: inline-block; min-width: .62em; text-align: center; background: #1d272e; margin-right: 1px; border-radius: 2px; }
.flap__row .ch.flip { animation: flip .14s linear; }
@keyframes flip { 50% { transform: scaleY(.1); } }

/* spec card */
.spec { position: relative; width: min(420px, calc(100% - var(--gutter-l) - var(--gutter-r))); margin: 8vh 0 0 max(var(--gutter-l), calc(7vw + 120px)); background: var(--navy); color: var(--paper); padding: 22px 24px; box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.spec__name { margin: 0 0 12px; font-family: var(--font-body); font-style: italic; font-size: var(--step-2); color: var(--brass-hi); }
.spec dl { margin: 0; display: grid; gap: 8px; }
.spec dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; border-top: 1px solid rgba(242,244,239,.15); padding-top: 8px; }
.spec dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #9fb4bf; }
.spec dd { margin: 0; font-size: var(--step--1); }
@media (max-width: 760px) { .spec { margin-left: var(--gutter-l); } }

/* nameboard */
.nameboard { background: #e9ecea; }
.nb__bow { position: relative; margin: 0 16px; }
.nb__bow svg { width: 100%; height: auto; }
.nb__rub { stroke: #c9a463; stroke-width: 4; fill: none; }
.nb__seams path { stroke: #2b3236; stroke-width: 1; fill: none; }
.nb__rivets circle { fill: #3a4247; }
.nb__rivets { transition: opacity .4s; }
.nb__rail-g path { stroke: #1b2226; stroke-width: 1.6; fill: none; }
.nb__bow svg { display: block; border-radius: 2px; }
.nb__name { position: absolute; left: 4%; right: 22%; top: 42%; margin: 0; text-align: center; font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 6.6vw, 66px); letter-spacing: .14em; color: #e9d6a4; text-shadow: 0 -1px 0 rgba(255,246,214,.55), 0 2px 0 rgba(0,0,0,.65), 0 3px 6px rgba(0,0,0,.4); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: clip; transition: opacity .25s, transform .25s; }
.nb__name.is-swap { opacity: 0; transform: translateY(8px); }
.nb__text { margin: 0 16px; min-height: 3.2em; font-size: var(--step-1); line-height: 1.35; }
.nb__rail { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; }
.nb__rail button { min-height: 36px; padding: 4px 12px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; border-radius: 2px; }
.nb__rail button[aria-selected="true"] { background: var(--ink); color: var(--paper); }

/* reveal (1986 photo) */
.reveal { position: relative; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); background: #e7e3d8; }
@media (min-width: 900px) { .reveal { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: end; } }
.reveal__img { position: relative; overflow: hidden; max-width: 760px; }
.reveal__img img { width: 100%; height: auto; }
.reveal__head { padding: 36px var(--gutter-r) 64px max(var(--gutter-l), 4vw); }
.reveal__head h2 { color: var(--ink); max-width: 12ch; }
.reveal__cap { margin: 18px 0 0; max-width: 40ch; font-size: var(--step-1); line-height: 1.35; }
.spot { position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid var(--paper); background: rgba(196,58,44,.85); color: var(--paper); font-family: var(--font-mono); font-size: 12px; font-weight: 600; cursor: pointer; box-shadow: 0 0 0 0 rgba(196,58,44,.6); animation: pulse 2.4s infinite; }
.spot.is-on { background: var(--brass); color: var(--ink); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(196,58,44,0); } 100% { box-shadow: 0 0 0 0 rgba(196,58,44,0); } }
.reveal__note { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: 10px 12px; background: rgba(11,20,30,.86); color: var(--paper); font-size: 15px; line-height: 1.4; }
.inset { margin: 6px 0 0; }
.inset img { width: 100%; height: auto; filter: grayscale(1); }
.inset figcaption { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); }

/* sea state */
.seastate { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.seastate li { padding: 10px 12px; border: 1px solid var(--rule); display: grid; gap: 2px; transition: background .4s, color .4s; }
.seastate b { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; }
.seastate span { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.seastate li.is-on { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.seastate li[data-k="1"].is-on { background: var(--signal); border-color: var(--signal); }

/* radar */
.radar { background: var(--night); border-color: #24313a; }
.radar canvas { max-width: 640px; margin: 0 auto; width: calc(100% - 32px); aspect-ratio: 1; border-radius: 50%; background: #031008; box-shadow: inset 0 0 0 6px #18262c, 0 0 0 1px #2f3f46; }
.radar figcaption { color: #9fb4ae; }

/* game */
.game { background: var(--night); border-color: #24313a; color: var(--paper); }
.game canvas { width: 100%; height: auto; background: #20323b; }
.game__deck { display: grid; gap: 14px; padding: 0 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .game__deck { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .game__opts { grid-column: 1 / -1; } }
.game__tg { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.game__tg button { min-height: 52px; padding: 4px; border: 1px solid rgba(242,244,239,.3); background: #172532; color: var(--paper); cursor: pointer; font-family: var(--font-mono); font-size: 11px; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; }
.game__tg button.o-astern { color: #ffaa9e; }
.game__tg button.o-stop { color: var(--brass-hi); }
.game__tg button.is-on { background: var(--brass); color: var(--ink); border-color: var(--brass); }
@media (max-width: 600px) { .game__tg { grid-template-columns: repeat(4, minmax(0, 1fr)); } .game__tg .o-stop { grid-column: span 1; } }
.game__readout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; }
.game__readout p { margin: 0; padding: 6px 10px; border: 1px solid rgba(242,244,239,.18); display: grid; }
.game__readout span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #9fb4bf; }
.game__readout b { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.game__readout b.is-wrong { color: #ff8b7c; animation: blink .5s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }
.game__opts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; }
.switch { display: inline-flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 12px; cursor: pointer; }
.switch input { width: 20px; height: 20px; accent-color: var(--brass); }
.game figcaption { color: #9fb4bf; }
.game .chip--dark { color: var(--paper); border-color: rgba(242,244,239,.4); }

/* tickets */
.tickets { margin: 8vh max(var(--gutter-r), 4vw) 0 max(var(--gutter-l), 7vw); max-width: 1040px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; perspective: 1200px; }
.ticket { position: relative; min-height: 208px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.8,.3,1); }
.ticket.is-flipped { transform: rotateY(180deg); }
.ticket__front, .ticket__back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 14px 18px; border-radius: 6px; box-shadow: 0 10px 26px rgba(0,0,0,.3); }
.ticket__front { display: grid; align-content: space-between; width: 100%; margin: 0; font: inherit; text-align: left; cursor: pointer; background: #ecd9a7; color: #3a2c12; background-image: repeating-linear-gradient(0deg, rgba(58,44,18,.05) 0 1px, transparent 1px 5px); border: 1px solid #c4a868; }
.ticket__front:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 3px; }
.ticket.is-flipped .ticket__front { pointer-events: none; }
.ticket:not(.is-flipped) .ticket__back { pointer-events: none; }
.ticket__front::after { content: ""; position: absolute; right: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: #13202c; box-shadow: inset 0 2px 3px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.4); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s; }
.ticket.is-punched .ticket__front::after { opacity: 1; transform: none; }
.ticket__no { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.ticket__who { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px, 3vw, 32px); line-height: .95; text-transform: uppercase; letter-spacing: .02em; padding-right: 40px; }
.ticket__cls { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; border-top: 1px dashed rgba(58,44,18,.45); padding-top: 6px; }
.ticket__back { transform: rotateY(180deg); display: grid; grid-template-rows: minmax(0, 1fr); grid-auto-rows: auto; gap: 8px; overflow: hidden; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); }
.ticket__story, .ticket__live { margin: 0; align-self: center; font-size: 15px; line-height: 1.4; overflow: auto; overscroll-behavior: contain; max-height: 100%; }
.ticket__live { display: none; font-family: var(--font-body); font-style: italic; font-size: 18px; line-height: 1.32; }
.ticket__live.is-long { font-size: 15.5px; }
.ticket__live.is-q { font-family: var(--font-mono); font-style: normal; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.ticket__live.is-q::before { content: "Q  "; color: var(--brass); }
.ticket__live.is-in { animation: tkLine .45s ease both; }
@keyframes tkLine { from { opacity: 0; transform: translateY(6px); } }
.ticket.is-live .ticket__story { display: none; }
.ticket.is-live .ticket__live { display: block; }
.ticket__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket__play { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 12px 4px 5px; border-radius: 17px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.ticket__play:hover { background: var(--ink); color: var(--paper); }
.ticket__play .tp-ico { width: 24px; height: 24px; border-radius: 50%; background: var(--signal); position: relative; flex: none; }
.ticket__play .tp-ico::after { content: ""; position: absolute; left: 9px; top: 7px; border-left: 9px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.ticket__play.is-on .tp-ico::after { left: 8px; top: 7px; width: 3px; height: 10px; border: 0; background: #fff; box-shadow: 5px 0 0 #fff; }
.ticket__play .stamp { color: var(--muted); letter-spacing: .04em; }
.ticket__credit { margin: 0 0 -3px; font-family: var(--font-mono); font-size: 9.5px; line-height: 1.3; letter-spacing: 0; color: var(--muted); }
.ticket__src { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.ticket__turn { min-height: 34px; padding: 4px 10px; border: 0; border-radius: 17px; background: transparent; color: var(--muted); cursor: pointer; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.ticket__turn::before { content: "\21BA"; margin-right: 6px; font-size: 13px; }
.ticket__turn:hover { color: var(--ink); }
.ticket__prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--signal); border-radius: 0 2px 2px 0; transition: width .2s linear; }
.ticket--nb .ticket__front { background: #d8e3dc; border-color: #9fb3a8; }
@media (prefers-reduced-motion: reduce) { .ticket { transition: none; } }

/* scrolly pier */
.scrolly { position: relative; margin-top: 8vh; display: grid; grid-template-columns: minmax(0, 1fr); }
.scrolly__stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hud-h) + 10px); height: 44vh; z-index: 0; padding: 0 var(--gutter-r) 0 var(--gutter-l); }
.pierview { position: relative; height: 100%; max-width: 1200px; margin: 0 auto; background: linear-gradient(#d9d6cc, #efe9dc 70%); border: 1px solid #a99e85; box-shadow: 0 18px 44px rgba(6,14,20,.3); overflow: hidden; }
.pierview svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pierview__year { position: absolute; z-index: 2; left: 18px; top: 8px; margin: 0; font-family: var(--font-stencil); font-weight: 900; font-size: clamp(56px, 11vw, 150px); line-height: 1; color: rgba(19,38,58,.85); font-variant-numeric: tabular-nums; }
.scrolly__steps { position: relative; z-index: 1; padding-bottom: 10vh; }
.step { min-height: 70vh; display: grid; align-items: end; padding: 0 var(--gutter-r) 0 max(var(--gutter-l), 7vw); pointer-events: none; }
@media (min-width: 900px) {
  .scrolly { grid-template-columns: minmax(300px, .72fr) minmax(0, 1.6fr); align-items: start; }
  .scrolly__stage { grid-column: 2; grid-row: 1; height: calc(100vh - var(--hud-h) - 40px); max-height: 720px; padding-left: 0; }
  .scrolly__steps { grid-column: 1; grid-row: 1; padding-top: 20vh; }
  .step { min-height: 86vh; align-items: center; padding-right: 24px; }
}
.step p { pointer-events: auto; margin: 0; width: min(520px, 100%); background: var(--paper); padding: 18px 20px; box-shadow: 0 14px 34px rgba(6,14,20,.35); font-size: var(--step-0); }
.step b { font-family: var(--font-mono); font-size: .8em; letter-spacing: .06em; color: var(--teal-deep); }
.step.is-on p { outline: 2px solid var(--brass); }
.ps-ferry-hull { fill: #15191c; } .ps-ferry-house { fill: #f3efe6; stroke: #555; } .ps-ferry-funnel { fill: var(--signal); }

/* tide box */
.tidebox svg { background: linear-gradient(#cfdde2, #eaf1f2 55%); }
.td-ferry-hull { fill: #15191c; } .td-ferry-house { fill: #f3efe6; stroke: #555; } .td-ferry-funnel { fill: var(--signal); }
.tide__controls { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 0 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tide__controls input { width: 100%; accent-color: var(--teal); min-height: 32px; }
@media (max-width: 600px) { .tide__controls { grid-template-columns: auto 1fr auto; } .tide__controls .chip { grid-column: 1 / -1; justify-self: start; } }
.tide__stats { margin: 0; padding: 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tide__stats div { border-top: 2px solid var(--ink); padding-top: 6px; }
.tide__stats dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tide__stats dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); letter-spacing: .02em; }
.tide__stats dd.is-bad { color: var(--signal); }

/* chart plate */
.chartplate { margin: 8vh max(var(--gutter-r), 4vw) 0 max(var(--gutter-l), 7vw); max-width: 760px; }
.chartplate__frame { box-shadow: 0 22px 60px rgba(6,14,20,.38); }
.chartplate .k-chart--big { width: 100%; height: auto; aspect-ratio: 1068 / 1267; }
.chartplate figcaption { margin-top: 10px; padding: 10px 14px; background: rgba(11,20,30,.78); color: var(--paper); font-size: var(--step--1); }
@media (max-width: 760px) { .chartplate { margin-left: var(--gutter-l); margin-right: var(--gutter-r); } }

/* evacuee tag */
.log--snow .page { background: #f6f7f5; }
.tag { position: relative; justify-self: end; float: right; width: 210px; margin: -10px -6px 4px 16px; padding: 16px 18px 14px 40px; background: #e8dcc0; border: 1px solid #b9a77c; transform: rotate(3deg); box-shadow: 0 8px 18px rgba(0,0,0,.18); font-family: var(--font-mono); color: #3a2c12; }
.tag__hole { position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #f6f7f5; box-shadow: inset 0 0 0 2px #b9a77c; }
.tag p { margin: 0; }
.tag__k { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }
.tag__n { font-family: var(--font-display); font-weight: 900; font-size: 28px; letter-spacing: .06em; line-height: 1.1; }
.tag__r { font-size: 12px; }
.tag__s { margin-top: 6px !important; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
@media (max-width: 520px) { .tag { float: none; justify-self: start; margin: 0 0 6px; } }

/* diptych */
.diptych { margin: 8vh max(var(--gutter-r), 4vw) 0 max(var(--gutter-l), 7vw); max-width: 1180px; display: grid; gap: 14px; }
.diptych__pair { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: 10px; align-items: start; }
@media (max-width: 700px) { .diptych__pair { grid-template-columns: minmax(0, 1fr); } .diptych__img[data-side="photo"] { max-width: 70%; } }
.diptych__img { position: relative; overflow: hidden; background: #000; }
.diptych__img img { width: 100%; height: auto; }
.diptych__tag { position: absolute; left: 10px; top: 10px; padding: 3px 8px; background: rgba(11,20,30,.8); color: var(--paper); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.diptych__ring { position: absolute; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; border: 4px solid var(--brass-hi); box-shadow: 0 0 0 4000px rgba(11,20,30,.5), inset 0 0 0 2px rgba(0,0,0,.4); pointer-events: none; animation: ring-in .5s cubic-bezier(.2,.9,.3,1.2); }
@keyframes ring-in { from { transform: scale(2.2); opacity: 0; } }
.diptych__keys { display: flex; flex-wrap: wrap; gap: 8px; }
.diptych figcaption { color: #e6ebe7; font-size: var(--step--1); max-width: 70ch; background: rgba(11,20,30,.7); padding: 10px 14px; }

/* cinestrip */
.cinestrip { margin: 8vh max(var(--gutter-r), 4vw) 0 max(var(--gutter-l), 7vw); max-width: 1180px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 10px; }
.cinestrip figure { margin: 0; background: #000; }
.cinestrip video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cinestrip figcaption { padding: 6px 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: #c9d3d6; background: var(--night); }

/* contact sheet */
.contact { margin: 8vh max(var(--gutter-r), 4vw) 0 max(var(--gutter-l), 7vw); max-width: 1180px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); grid-auto-flow: dense; gap: 8px; padding: 10px; background: #0d1116; }
.contact__item { padding: 0; border: none; background: #000; cursor: zoom-in; aspect-ratio: 3 / 2; overflow: hidden; }
.contact__item--tall { grid-row: span 2; aspect-ratio: auto; }
.contact__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.contact__item:hover img { transform: scale(1.04); }
.contact__credit { margin: 8px max(var(--gutter-r), 4vw) 0 max(var(--gutter-l), 7vw); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: #c9d3d6; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(5,9,13,.94); display: grid; place-items: center; padding: 60px var(--gutter-r) 40px var(--gutter-l); }
.lightbox img { max-height: 82vh; width: auto; max-width: 100%; }
.lightbox p { color: var(--paper); font-size: 15px; margin: 12px 0 0; max-width: 60ch; text-align: center; }
.lightbox__close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); right: var(--gutter-r); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(242,244,239,.4); background: none; color: var(--paper); font-size: 26px; cursor: pointer; }

/* ballad */
.ballad { padding: 12vh 0; }
.ballad__inner { margin: 0 max(var(--gutter-r), 4vw) 0 max(var(--gutter-l), 7vw); max-width: 1180px; color: var(--paper); }
.ballad__title { margin: 0; font-family: var(--font-body); font-style: italic; font-weight: 400; font-size: var(--step-3); line-height: 1; letter-spacing: -.01em; color: var(--brass-hi); }
.ballad__lede { max-width: 52ch; margin: 18px 0 28px; font-size: var(--step-1); line-height: 1.4; }
.film { position: relative; background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film video::cue { color: transparent; background: transparent; }
.film__lyric { position: absolute; left: 0; right: 0; bottom: 64px; margin: 0; padding: 0 6%; text-align: center; font-family: var(--font-body); font-style: italic; font-size: clamp(18px, 3.2vw, 40px); line-height: 1.15; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.9), 0 0 2px #000; pointer-events: none; opacity: 0; transition: opacity .5s; }
.film__lyric.is-on { opacity: 1; }
.film__credit { margin: 14px 0 0; font-family: var(--font-mono); font-size: 11px; line-height: 1.6; letter-spacing: .03em; color: #aebcc0; max-width: 90ch; }
.film__credit a { color: var(--brass-hi); }

/* finished with engines */
.fwe { padding-bottom: 0; }
.fwe__grid { margin: 0 max(var(--gutter-r), 4vw) 0 max(var(--gutter-l), 7vw); max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: end; color: var(--paper); }
@media (min-width: 900px) { .fwe__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.fwe__portrait { margin: 0; }
.fwe__portrait img { width: 100%; height: auto; }
.fwe__portrait figcaption { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; color: #aebcc0; }
.said--end { border: none; padding: 0; }
.said--end p { font-size: var(--step-3); line-height: 1; font-style: italic; color: var(--paper); }
.said--end cite { color: var(--brass-hi); }
.fwe__hears { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fwe__motto { margin: 30px 0 0; max-width: 36ch; font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); letter-spacing: .06em; text-transform: uppercase; line-height: 1.15; color: var(--brass-hi); }
.moor { margin: 12vh max(var(--gutter-r), 4vw) 0 max(var(--gutter-l), 7vw); max-width: 1180px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.moor__card { background: var(--paper); padding: 20px 20px 18px; display: grid; align-content: start; gap: 10px; }
.moor__card h3 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: var(--step-1); letter-spacing: .05em; text-transform: uppercase; }
.moor__card p { margin: 0; font-size: var(--step--1); }
.copyline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); }
.credits { margin-top: 10vh; padding: 48px var(--gutter-r) calc(140px + env(safe-area-inset-bottom, 0px)) max(var(--gutter-l), 7vw); background: #070c12; color: #c9d3d6; }
.credits__thanks { max-width: 1180px; margin: 0 0 34px; padding: 18px 22px 10px; border-left: 3px solid var(--brass-hi); background: rgba(242,244,239,.05); }
.credits__thanks p { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; color: #eef2f0; max-width: 46rem; }
.moor__card--thanks { border-top: 3px solid var(--brass); }
.credits__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 30px; max-width: 1180px; }
.credits h3 { margin: 0 0 10px; font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-hi); }
.credits p, .credits li { font-size: 14px; line-height: 1.55; margin: 0 0 10px; }
.sources { padding-left: 18px; margin: 0; }
.credits__fine { margin-top: 26px !important; font-family: var(--font-mono); font-size: 11px !important; color: #7f8f95; }

/* ---------- the mural reveal ---------- */
.mreveal { position: relative; height: 330vh; background: #0b141e; }
.mreveal__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: end; color: var(--paper); }
.mreveal__canvas, .mreveal__still { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mreveal__still { object-fit: cover; object-position: 46% 40%; opacity: 0; transform-origin: 56% 38%; will-change: opacity, transform; }
.mreveal__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,30,.35) 0%, rgba(11,20,30,0) 30%, rgba(11,20,30,0) 55%, rgba(11,20,30,.85) 100%); pointer-events: none; }
.mreveal__hint { position: absolute; left: 50%; top: 38%; transform: translateX(-50%); margin: 0; text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.mreveal__hint span { display: block; margin-bottom: 6px; color: var(--brass-hi); font-weight: 600; }
.mreveal__head { position: relative; z-index: 1; text-shadow: 0 1px 14px rgba(0,0,0,.45); opacity: 0; transform: translateY(24px); will-change: opacity, transform; }
.mreveal__credit { margin: 14px 0 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: rgba(242,244,239,.75); }
@media (prefers-reduced-motion: reduce) { .mreveal { height: auto; } .mreveal__stage { position: relative; height: 92vh; } .mreveal__still { opacity: 1; } .mreveal__head { opacity: 1; transform: none; } .mreveal__hint, .mreveal__canvas { display: none; } }

/* ---------- hero without video ---------- */
.hero { background: transparent; }
.hero__shade { background: linear-gradient(90deg, rgba(11,20,30,.62) 0%, rgba(11,20,30,.35) 34%, rgba(11,20,30,0) 62%), linear-gradient(180deg, rgba(11,20,30,.25) 0%, rgba(11,20,30,0) 30%, rgba(11,20,30,0) 70%, rgba(11,20,30,.55) 100%); }
.hero__sponsor { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px 0; margin: 28px 0 0; padding: 12px 0; width: max-content; max-width: 100%; background: rgba(9,18,26,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 4px; border: 1px solid rgba(242,244,239,.14); }
.hero__sp { display: grid; gap: 8px; align-content: center; padding: 0 18px; }
.hero__sp + .hero__sp { border-left: 1px solid rgba(242,244,239,.2); }
.hero__sp span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(242,244,239,.7); white-space: nowrap; }
.hero__sp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.hero__sponsor img { display: block; width: auto; }
.hs-apcl { height: 30px; } .hs-gov { height: 32px; } .hs-mayor { height: 24px; } .hs-wirral { height: 22px; }
@media (max-width: 760px) {
  .hero__sponsor { width: 100%; }
  .hero__sp { padding: 0 14px; flex: 1 1 100%; }
  .hero__sp + .hero__sp { border-left: 0; border-top: 1px solid rgba(242,244,239,.2); padding-top: 12px; }
  .hero__sp-row { gap: 10px 18px; }
  .hs-apcl { height: 26px; } .hs-gov { height: 26px; } .hs-mayor { height: 19px; } .hs-wirral { height: 17px; }
}

/* stills in the cinema headers */

/* ---------- sponsors ---------- */
.sponsors { display: grid; gap: 26px; margin: 0 0 44px; padding: clamp(22px, 3vw, 40px); background: #f7f3e6; color: var(--ink); border-radius: 4px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.sponsors__k { margin: 0 0 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #5d6266; }
.sponsors__main { padding-bottom: 24px; border-bottom: 1px solid #ddd5c1; }
.sponsors__apcl { width: min(460px, 100%); height: auto; display: block; }
.sponsors__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 34px; align-items: center; }
.sponsors__row--two { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sponsors__row li { display: flex; align-items: center; min-height: 64px; }
.sponsors__row img { display: block; width: 100%; max-width: 210px; max-height: 64px; height: auto; object-fit: contain; object-position: left center; }
.sponsors__row img[src*="floating-grace"] { max-height: 74px; width: auto; }
.sponsors__row img[src*="the-guide"] { max-height: 52px; }
.sponsors__by { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid #ddd5c1; color: var(--ink); text-decoration: none; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }
.sponsors__by img { width: 46px; height: auto; }
@media (max-width: 760px) { .sponsors__row, .sponsors__row--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- ropes ---------- */
.ropes svg { display: block; width: 100%; height: auto; }
.r-farshore { fill: #8c9ea3; opacity: .55; }
.r-glint path { stroke: rgba(255,255,255,.28); stroke-width: 1.4; stroke-linecap: round; }
.r-planks path { stroke: rgba(60,44,22,.35); stroke-width: 1; }
.r-rivets circle { fill: #4c585e; }
.r-bollard { fill: #101518; }
.r-rope { fill: none; stroke: #c9a463; stroke-width: 3.4; stroke-linecap: round; transition: stroke .3s, stroke-width .3s; }
.r-rope.is-on { stroke: #f2c45a; stroke-width: 5; filter: drop-shadow(0 0 4px rgba(242,196,90,.7)); }
.r-skin { fill: #e3b99a; }
.r-cap { fill: #15212b; stroke: #15212b; stroke-width: 1.2; }
.r-coat { fill: #24384a; }
.r-legs { fill: #1a232a; }
.r-man { transition: opacity .6s; }
.r-man.is-off { opacity: 0; }
.r-lad { transition: transform 1.1s cubic-bezier(.3,.8,.3,1); }
.r-lad .r-coat { fill: var(--brass); }
.r-ladtag { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; fill: var(--ink); paint-order: stroke; stroke: #f4f1e8; stroke-width: 3px; }
.r-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; fill: #e9e4d6; }
@media (max-aspect-ratio: 1/1) { .mreveal__still { object-position: 49% 50%; transform-origin: 49% 26%; } }
@media (max-width: 620px) { .k-chart--big .k-note, .k-chart--big .k-rose-num { display: none; } .k-chart--big .k-town { letter-spacing: .18em; } }

.telegraph { transition: opacity .35s; }
body.stage-on .telegraph { opacity: 0; pointer-events: none; }

/* ---------- clearance: keep content out of the lane the telegraph and corner chart sit in ---------- */
@media (min-width: 1180px) {
  :root { --lane-r: 340px; }
  .instrument, .tickets, .chartplate, .diptych, .cinestrip, .contact, .contact__credit, .ballad__inner, .fwe__grid, .moor { margin-right: var(--lane-r); }
  .credits { padding-right: var(--lane-r); }
}
.diptych > figcaption, .contact__credit { background: rgba(9,16,24,.82); padding: 10px 14px; width: fit-content; max-width: 100%; box-shadow: 0 8px 24px rgba(0,0,0,.25); }

.dock__yt { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 18px; white-space: nowrap; font-size: 11px !important; background: var(--brass); color: var(--ink) !important; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; font-weight: 600; }
.dock__yt::before { content: ""; width: 0; height: 0; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
@media (max-width: 760px) { .hero__note { padding: 10px 14px; background: rgba(9,18,26,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 4px; color: rgba(242,244,239,.9); } }

/* ---------- archive: newspaper cutting, side photo ---------- */

/* ---------- the postcard ---------- */
.postcard { margin: 8vh max(var(--gutter-r), 4vw) 0 max(var(--gutter-l), 7vw); max-width: 720px; display: grid; gap: 12px; perspective: 1600px; }
.postcard__card { position: relative; display: block; width: 100%; aspect-ratio: 1300 / 916; padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3,.8,.3,1); transform: rotate(-1.2deg); }
.postcard__card.is-flipped { transform: rotate(1deg) rotateY(180deg); }
.postcard__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.45); border-radius: 3px; overflow: hidden; }
.postcard__face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.postcard__face--back { transform: rotateY(180deg); }
.postcard__card:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 6px; }
.postcard figcaption { color: #e6ebe7; font-size: var(--step--1); max-width: 70ch; background: rgba(11,20,30,.7); padding: 10px 14px; }
@media (min-width: 1180px) { .postcard { margin-right: var(--lane-r); } }
@media (prefers-reduced-motion: reduce) { .postcard__card { transition: none; } }
.dock__note .dock__yt { min-height: 28px; padding: 3px 11px; font-size: 10px !important; }
.dock__note .dock__yt::before { border-left-width: 7px; border-top-width: 5px; border-bottom-width: 5px; }

/* ---------- credits on the pictures themselves ---------- */
.cinema[data-credit]::before { content: attr(data-credit); position: absolute; z-index: 2; left: 12px; top: 10px; max-width: min(60%, 360px); padding: 2px 7px; background: rgba(11,20,30,.55); color: rgba(242,244,239,.82); font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; line-height: 1.4; text-align: left; pointer-events: none; }
.contact__item { position: relative; }
.contact__item[data-credit]::after { content: attr(data-credit); position: absolute; left: 0; bottom: 0; padding: 2px 6px; background: rgba(11,20,30,.66); color: rgba(242,244,239,.85); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .03em; pointer-events: none; }
.diptych__credit { position: absolute; left: 10px; bottom: 10px; padding: 2px 7px; background: rgba(11,20,30,.66); color: rgba(242,244,239,.85); font-family: var(--font-mono); font-size: 10px; letter-spacing: .03em; }
.swatch__frame .swatch__credit { position: absolute; right: 8px; bottom: 8px; margin: 0; padding: 2px 7px; line-height: 1.4; background: rgba(11,20,30,.66); color: rgba(242,244,239,.85); font-family: var(--font-mono); font-size: 10px; letter-spacing: .03em; }
.reveal__cap .credit { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; opacity: .75; }

/* photos inside a page, and the "since the wall" row */
.photo { margin: 4px 0 0; }
.photo img { display: block; width: 100%; max-width: 420px; height: auto; }
.photo figcaption, .since figcaption { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; line-height: 1.5; letter-spacing: .03em; color: var(--muted); }
.photo .credit, .since .credit { opacity: .85; }
.since { margin: 8vh max(var(--gutter-r), 4vw) 0 max(var(--gutter-l), 7vw); max-width: 1040px; }
.since__k { margin: 0 0 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-hi); }
.since__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.since figure { margin: 0; padding: 10px 10px 12px; background: #13202c; box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.since img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.since figcaption { color: #b9c6cb; }
@media (min-width: 1180px) { .since { margin-right: var(--lane-r); } }

/* tickets with a portrait: the drawing sits on a stub past a perforated line, like a counterfoil */
.ticket--face .ticket__front { padding-right: calc(36% + 12px); }
.ticket--face .ticket__who { font-size: clamp(20px, 2.3vw, 26px); padding-right: 0; }
.ticket__stub { position: absolute; top: 0; right: 0; bottom: 0; width: 36%; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; padding: 10px 8px; border-left: 2px dashed rgba(58,44,18,.32); pointer-events: none; }
.ticket__stub img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.ticket--face .ticket__front::after { right: auto; left: calc(64% - 11px); top: 12px; margin-top: 0; }
.ticket--nb .ticket__stub { border-left-color: rgba(40,62,52,.32); }

/* text for screen readers only */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* the numbered details on the print: darker red behind the white numbers for contrast */
.spot { background: rgba(160,40,30,.94); }
/* reduced motion: the last few things that pulsed, shook or blinked */
@media (prefers-reduced-motion: reduce) {
  .spot, .game__readout b.is-wrong, #helm .helm__tg button.is-asked, .telegraph.is-rung .tg__dial,
  .ticket__live.is-in, .diptych__ring, .flap__row .ch.flip { animation: none !important; }
}
