:root {
  --navy: #0b1922; --navy-2: #13242f; --ice: #e4eaec; --ice-2: #cdd7db; --ink: #0b1922; --mute: #5f727c;
  --line: rgba(11, 25, 34, 0.18); --line-n: rgba(228, 234, 236, 0.16);
  --signal: #ff4d8d;
  --g: 40px;
  --display: 'Albert Sans Variable', system-ui, sans-serif;
  --stencil: 'Albert Sans Variable', system-ui, sans-serif;
  --sans: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  --mono: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--navy); color: var(--ice); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html, body { overflow-x: clip; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2 { font-family: var(--display); font-weight: 640; letter-spacing: -0.03em; margin: 0; }
.kicker, .tag { font: 600 12px/1.4 var(--mono); margin: 0; }

/* ── stage ── */
#world { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
.shade { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(85% 95% at 0% 92%, rgba(8, 18, 25, 0.74) 0, rgba(8, 18, 25, 0.5) 34%, rgba(8, 18, 25, 0) 68%), linear-gradient(0deg, rgba(8, 18, 25, 0.62) 0, rgba(8, 18, 25, 0.18) 32%, rgba(8, 18, 25, 0) 56%); }
.markers { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.mk { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; font: 600 12px/1.3 var(--mono); color: #fff; opacity: 0; transition: opacity 0.4s; white-space: nowrap; }
.mk i { width: 14px; height: 14px; border: 1.5px solid var(--signal); border-radius: 50%; position: relative; flex: none; }
.mk i::after { content: ''; position: absolute; inset: 3.5px; background: var(--signal); border-radius: 50%; }
.mk em { font-style: normal; display: block; color: rgba(255, 255, 255, 0.7); }
.mk::before { content: ''; position: absolute; left: 6.5px; top: 14px; width: 1px; height: 46px; background: linear-gradient(var(--signal), transparent); }

.veil { position: fixed; inset: 0; z-index: 60; background: var(--navy); display: grid; place-items: center; transition: opacity 0.9s, visibility 0.9s; }
.veil > div { display: grid; gap: 14px; width: min(280px, 70vw); }
.veil b { font: 680 30px/1 var(--stencil); }
.veil small { font: 600 12px/1 var(--mono); color: #8197a2; }
.veil-track { height: 2px; background: var(--line-n); position: relative; overflow: hidden; display: block; }
.veil-track i { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(var(--p, 0.05)); transition: transform 0.3s; }
html[data-ready="1"] .veil { opacity: 0; visibility: hidden; }

/* ── top bar ── */
.bar { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 68px; padding: 0 var(--g); display: flex; align-items: center; gap: 40px; transition: background 0.4s, color 0.4s; }
.bar .mark { font: 680 22px/1 var(--stencil); text-decoration: none; margin-right: auto; }
.bar nav { display: flex; gap: 28px; font-size: 14px; }
.bar nav a, .bar .hold { text-decoration: none; }
.bar nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.bar .hold { font-weight: 600; font-size: 14px; border-bottom: 2px solid var(--signal); padding-bottom: 3px; }
html[data-phase="log"] .bar, html[data-phase="chart"] .bar, html[data-phase="ship"] .bar, html[data-phase="dep"] .bar { background: rgba(9, 20, 27, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-n); }

/* ── HUD ── */
.hud { position: fixed; z-index: 3; right: var(--g); bottom: 40px; font: 400 13px/1 var(--mono); display: grid; gap: 9px; min-width: 196px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.3); transition: opacity 0.4s; }
.hud-row { display: flex; justify-content: space-between; gap: 16px; }
.hud-row span { color: rgba(228, 234, 236, 0.62); }
.hud-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ruler { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 6px; }
.ruler li { flex: 1; height: 3px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.ruler li::after { content: ''; position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
html[data-phase="log"] .hud, html[data-phase="chart"] .hud, html[data-phase="ship"] .hud, html[data-phase="dep"] .hud { opacity: 0; pointer-events: none; }
.callouts { position: fixed; inset: 0; z-index: 3; pointer-events: none; }

/* ── voyage ── */
main { position: relative; z-index: 4; pointer-events: none; }
main :is(a, button, input, select, label, textarea) { pointer-events: auto; }
.voyage { position: relative; }
.station { min-height: 100vh; padding: 0 var(--g) 72px; display: flex; flex-direction: column; justify-content: flex-end; max-width: 640px; will-change: transform, opacity; }
.station.s0 { max-width: none; min-height: 100vh; padding-bottom: 56px; }
.station .tag { color: rgba(240, 244, 246, 0.86); text-shadow: 0 1px 8px rgba(8, 18, 25, 0.7); display: flex; gap: 14px; }
.station .tag b { color: var(--signal); font-weight: 400; }
.station h1 { margin-top: 18px; font-size: clamp(52px, 7.2vw, 124px); line-height: 0.95; letter-spacing: -0.035em; display: grid; color: #fff; text-shadow: 0 1px 3px rgba(8, 18, 25, 0.35), 0 4px 48px rgba(8, 18, 25, 0.45); }
.station h1 span:nth-child(2) { padding-left: 0.62em; }
.station h2 { margin-top: 14px; font-size: clamp(34px, 3.5vw, 58px); line-height: 1; text-shadow: 0 1px 2px rgba(8, 18, 25, 0.35), 0 2px 30px rgba(8, 18, 25, 0.55); }
.station p:not(.tag) { margin: 16px 0 0; font-size: 17px; max-width: 470px; color: rgba(244, 247, 248, 0.92); text-shadow: 0 1px 2px rgba(8, 18, 25, 0.5), 0 1px 14px rgba(8, 18, 25, 0.6); }
.station .lede { font-size: 19px; max-width: 520px; }

/* ── log: read over the fog ── */
.log { height: 170vh; position: relative; }
.log-in { position: sticky; top: 0; height: 100vh; padding: 0 var(--g) 64px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(0deg, rgba(8, 18, 25, 0.8) 0, rgba(8, 18, 25, 0.42) 50%, rgba(8, 18, 25, 0) 80%); }
.log-head { display: flex; justify-content: space-between; gap: 20px; font: 600 12px/1.4 var(--mono); border-bottom: 1px solid rgba(228, 234, 236, 0.4); padding-bottom: 14px; color: rgba(228, 234, 236, 0.75); max-width: 1180px; }
.log-text { margin: 36px 0 0; font: 420 clamp(24px, 2.55vw, 42px)/1.2 var(--display); letter-spacing: -0.015em; letter-spacing: 0.002em; max-width: 1180px; }
.log-text .ln { display: block; color: rgba(228, 234, 236, 0.2); transition: color 0.25s linear; }
.log-text .ln.on { color: #fff; }
.log-sign { margin: 28px 0 0; font-size: 15px; color: rgba(228, 234, 236, 0.7); }

/* ── panels over the world ── */
.panel, .chart-side, .plotter, .dep-head, .season { background: rgba(9, 20, 27, 0.82); }

/* ── chart: the route flown from altitude ── */
.chart { height: 360vh; position: relative; pointer-events: none; }
.chart-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 330px 1fr 360px; padding: 88px var(--g) 24px; pointer-events: none; }
.chart-side { pointer-events: auto; padding: 20px 22px 14px; align-self: start; }
.chart-side h2 { margin-top: 10px; font-size: clamp(26px, 2.1vw, 34px); line-height: 1.02; }
.kicker { color: var(--signal); }
.days { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line-n); }
.days li { border-bottom: 1px solid var(--line-n); }
.days button { width: 100%; background: none; border: 0; text-align: left; padding: 6px 0; display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: baseline; color: rgba(228, 234, 236, 0.55); transition: color 0.2s; }
.days button span:first-child { font: 600 12px/1 var(--mono); }
.days button span:nth-child(2) { font-size: 14px; }
.days button span:last-child { font: 400 12px/1 var(--mono); font-variant-numeric: tabular-nums; }
.days button:hover { color: var(--ice); }
.days button[aria-selected="true"] { color: #fff; }
.days button[aria-selected="true"] span:first-child { color: var(--signal); }
.chart-stage { grid-column: 3; pointer-events: auto; display: grid; gap: 10px; align-content: start; min-height: 0; }
.plotter { padding: 10px 12px 12px; }
.plot-head { margin: 0 0 6px; display: flex; justify-content: space-between; font: 600 12px/1.4 var(--mono); color: rgba(228, 234, 236, 0.6); }
.plot-head span:last-child { color: var(--signal); }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-svg .land { fill: #1e3442; stroke: rgba(228, 234, 236, 0.5); stroke-width: 0.9; }
.chart-svg .grat { fill: none; stroke: rgba(228, 234, 236, 0.1); stroke-width: 0.8; }
.chart-svg .glab { font: 400 15px var(--mono); fill: rgba(228, 234, 236, 0.4); }
.chart-svg .route { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linecap: round; }
.chart-svg .route-ghost { fill: none; stroke: rgba(255, 77, 141, 0.3); stroke-width: 2; stroke-dasharray: 5 8; }
.chart-svg .stop circle { fill: var(--navy); stroke: var(--ice); stroke-width: 2.4; cursor: pointer; }
.chart-svg .stop text { display: none; }
.chart-svg .stop.on circle { fill: var(--signal); stroke: var(--signal); }
.chart-svg .ship-pos { fill: #fff; }
.chart-svg .icefront { fill: none; stroke: #9fd0ea; stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.chart-svg .icelab { font: 400 15px var(--mono); fill: #9fd0ea; }
.chart-card { background: var(--ice); color: var(--ink); }
.chart-card img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.chart-card .cc { padding: 14px 16px 16px; }
.chart-card .cc p { margin: 6px 0 0; font-size: 14px; line-height: 1.42; }
.chart-card .cc .meta { font: 600 12px/1.4 var(--mono); color: var(--mute); margin: 0; }
.chart-card h3 { margin: 6px 0 0; font: 660 23px/1.05 var(--display); letter-spacing: -0.02em; }
.card-nav { display: none; }

/* day pins in the 3D route */
.dmk { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; font: 600 12px/1.2 var(--mono); color: #fff; white-space: nowrap; opacity: 0; transition: opacity 0.3s; }
.dmk i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #fff; background: var(--navy); flex: none; }
.dmk.on i { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 5px rgba(255, 77, 141, 0.25); }
.dmk span { text-shadow: 0 1px 8px rgba(8, 18, 25, 0.9); }
.dmk:not(.on) span { opacity: 0.7; }

/* ── ship: told by the 3D ship itself ── */
.ship { height: 420vh; position: relative; pointer-events: none; }
.ship-pin { position: sticky; top: 0; height: 100vh; pointer-events: none; --a: 0; --b: 0; --h: 1; }
.ship-head { position: absolute; left: var(--g); top: 92px; max-width: 440px; opacity: var(--h); }
.ship-head h2 { margin-top: 8px; font: 660 clamp(46px, 5vw, 84px)/0.92 var(--stencil); letter-spacing: -0.035em; text-shadow: 0 2px 30px rgba(8, 18, 25, 0.35); }
.ship-lede { margin: 14px 0 0; font-size: 16px; max-width: 380px; text-shadow: 0 1px 12px rgba(8, 18, 25, 0.6); }
.dims { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--a); overflow: visible; }
.dims line { stroke: var(--signal); stroke-width: 1.4; }
.dims .leader { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 1; }
.spec { margin: 0; }
.spec div { position: absolute; left: 0; top: 0; opacity: var(--a); padding-left: 16px; border-left: 1.5px solid var(--signal); white-space: nowrap; will-change: transform; }
.spec dt { font: 600 12px/1.3 var(--mono); color: rgba(255, 255, 255, 0.78); text-shadow: 0 1px 8px rgba(8, 18, 25, 0.8); }
.spec dd { margin: 2px 0 0; font: 660 23px/1.05 var(--display); letter-spacing: -0.02em; text-shadow: 0 1px 14px rgba(8, 18, 25, 0.7); }
.deck-tabs button { position: absolute; left: 0; top: 0; pointer-events: auto; background: rgba(9, 20, 27, 0.86); border: 0; border-left: 3px solid rgba(228, 234, 236, 0.35); padding: 7px 12px 8px; text-align: left; font: 650 17px/1.1 var(--display); color: rgba(228, 234, 236, 0.7); opacity: var(--b); white-space: nowrap; will-change: transform; }
.deck-tabs button small { display: block; font: 600 12px/1.4 var(--mono); margin-top: 3px; color: rgba(228, 234, 236, 0.55); }
.deck-tabs button[aria-selected="true"] { color: #fff; border-left-color: var(--signal); }
.ship-pin:not(.live) .deck-tabs button, .ship-pin:not(.live) .cabin-card { pointer-events: none; }
.deck-hint { position: absolute; left: var(--g); bottom: 64px; margin: 0; font: 600 12px/1.4 var(--mono); opacity: var(--b); text-shadow: 0 1px 8px rgba(8, 18, 25, 0.9); }
.legend { position: absolute; left: var(--g); bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; opacity: var(--b); text-shadow: 0 1px 8px rgba(8, 18, 25, 0.9); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; display: inline-block; }
.cabin-card { position: absolute; right: var(--g); top: 88px; width: 330px; background: var(--ice); color: var(--ink); opacity: var(--b); transform: translateX(calc((1 - var(--b)) * 40px)); pointer-events: auto; }
.cabin-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.cabin-card .cb { padding: 14px 18px 18px; }
.cabin-card .meta { font: 600 12px/1.4 var(--mono); color: var(--mute); margin: 0; }
.cabin-card h3 { margin: 6px 0 0; font: 660 24px/1.05 var(--display); letter-spacing: -0.02em; }
.cabin-card dl { margin: 10px 0 0; display: grid; grid-template-columns: 1fr auto; font-size: 13px; }
.cabin-card dt, .cabin-card dd { margin: 0; padding: 6px 0; border-bottom: 1px solid var(--line); }
.cabin-card dd { text-align: right; font-variant-numeric: tabular-nums; }
.cab-step { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; border: 1px solid var(--ink); }
.cab-step button { width: 44px; height: 40px; background: none; border: 0; font-size: 18px; }
.cab-step span { font: 600 12px var(--mono); }
.cabin-card .pick { margin-top: 10px; width: 100%; background: var(--ink); color: var(--ice); border: 0; padding: 13px 16px; font-weight: 600; text-align: left; display: flex; justify-content: space-between; }
.cabin-card .pick:hover { background: #000; }
.selmk { position: absolute; left: 0; top: 0; font: 600 12px/1 var(--mono); color: #1a0610; background: var(--signal); padding: 4px 6px; white-space: nowrap; opacity: 0; transition: opacity 0.25s; }

/* ── departures: the ice around the ship follows the sailing ── */
.departures { height: 230vh; position: relative; pointer-events: none; }
.dep-pin { position: sticky; top: 0; height: 100vh; pointer-events: none; }
.dep-head { position: absolute; left: var(--g); top: 88px; width: 360px; padding: 20px 22px 16px; pointer-events: auto; }
.dep-head h2 { margin-top: 10px; font-size: clamp(28px, 2.3vw, 38px); line-height: 1.02; }
#odds { margin: 16px 0 0; display: grid; grid-template-columns: 1fr auto; font-size: 13px; border-top: 1px solid var(--line-n); }
#odds dt, #odds dd { margin: 0; padding: 7px 0; border-bottom: 1px solid var(--line-n); }
#odds dt { color: rgba(228, 234, 236, 0.7); }
#odds dd { font: 600 13px var(--mono); text-align: right; }
.quote { position: absolute; right: var(--g); top: 84px; width: 370px; max-height: calc(100vh - 84px - 140px); overflow: auto; background: var(--ice); color: var(--ink); pointer-events: auto; scrollbar-width: thin; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font: 600 12px/1 var(--mono); color: var(--mute); padding: 0; margin-bottom: 8px; }
.cat-pick { padding: 12px 18px 4px; }
.cat-list { display: grid; border-top: 1px solid var(--ink); }
.cat-list label { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cat-list input { accent-color: var(--signal); width: 15px; height: 15px; margin: 0; }
.cat-list strong { font-weight: 600; font-size: 14px; }
.cat-list small { display: block; color: var(--mute); font-size: 12px; }
.cat-list em { font: 600 12px var(--mono); font-style: normal; text-align: right; }
.cat-list label.out { opacity: 0.4; }
.guests { padding: 4px 18px 10px; display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: center; }
.guests legend { float: left; width: 100%; grid-column: 1 / -1; }
.stepper { display: flex; align-items: center; border: 1px solid var(--ink); width: max-content; }
.stepper button { width: 40px; height: 40px; background: none; border: 0; font-size: 20px; }
.stepper button:disabled { opacity: 0.25; cursor: default; }
.stepper output { width: 40px; text-align: center; font: 680 24px var(--display); }
.note { font-size: 12px; color: var(--mute); margin: 0; line-height: 1.35; }
.quote-total { background: var(--navy); color: var(--ice); padding: 12px 18px 14px; }
.q-dates { margin: 0; font: 600 12px/1.4 var(--mono); color: rgba(228, 234, 236, 0.7); }
.q-price { margin: 4px 0 0; font: 660 44px/0.95 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.q-lines { margin: 10px 0 0; display: grid; grid-template-columns: 1fr auto; font-size: 12px; }
.q-lines dt, .q-lines dd { margin: 0; padding: 3px 0; border-top: 1px solid var(--line-n); }
.q-lines dd { text-align: right; font-variant-numeric: tabular-nums; }
.q-hold { margin-top: 10px; width: 100%; padding: 11px 14px; background: var(--signal); color: #1a0610; border: 0; font-weight: 600; font-size: 14px; text-align: left; }
.q-hold:hover { background: #ff73a6; }
.q-done { margin: 10px 0 0; font-size: 13px; line-height: 1.42; }
.q-done b { font-family: var(--mono); font-weight: 400; font-size: 11px; }
.season { position: absolute; left: var(--g); right: var(--g); bottom: 22px; height: 104px; display: grid; grid-template-columns: repeat(99, 1fr); pointer-events: auto; border-bottom: 1px solid rgba(228, 234, 236, 0.5); }
.season .mo { position: absolute; top: 0; font: 600 12px var(--mono); color: rgba(228, 234, 236, 0.6); border-left: 1px solid var(--line-n); height: 100%; padding: 6px 0 0 6px; }
.season .tick { align-self: end; height: 7px; border-left: 1px solid var(--line-n); }
.season button.sail { position: absolute; bottom: 0; height: 74px; border: 0; background: rgba(228, 234, 236, 0.07); border-top: 3px solid rgba(228, 234, 236, 0.6); text-align: left; padding: 7px 8px; display: grid; align-content: start; gap: 4px; transition: background 0.2s; }
.season button.sail b { font: 680 18px/1 var(--display); }
.season button.sail span { font: 400 11px/1.3 var(--mono); color: rgba(228, 234, 236, 0.6); }
.season button.sail:hover { background: rgba(228, 234, 236, 0.16); }
.season button.sail[aria-checked="true"] { background: var(--ice); color: var(--ink); border-top-color: var(--signal); }
.season button.sail[aria-checked="true"] span { color: var(--mute); }
.season button.sail.full { opacity: 0.5; }
.season .icebar { position: absolute; left: 0; right: 0; top: 22px; height: 6px; pointer-events: none; }

.foot { position: relative; z-index: 4; background: rgba(9, 20, 27, 0.86); color: rgba(228, 234, 236, 0.6); padding: 36px var(--g) 44px; display: flex; justify-content: space-between; gap: 24px; font-size: 13px; border-top: 1px solid var(--line-n); }

/* ── modes ── */
html[data-mode="poster"] .bar, html[data-mode="poster"] main, html[data-mode="poster"] .foot, html[data-mode="poster"] .veil, html[data-mode="poster"] .hud, html[data-mode="poster"] .markers { display: none; }
html[data-mode="poster"] .shade { background: linear-gradient(0deg, rgba(8, 18, 25, 0.25) 0, rgba(8, 18, 25, 0) 30%); }
html[data-mode="demo"] .bar nav, html[data-mode="demo"] .bar .hold { display: none; }
html[data-mode="demo"] body { overflow: hidden; }

@media (max-width: 899px) {
  :root { --g: 16px; }
  .bar { height: 56px; }
  .bar nav { display: none; }
  .bar .mark { font-size: 19px; }
  .hud { right: var(--g); left: auto; top: 66px; bottom: auto; min-width: 0; gap: 6px; font-size: 9px; padding-left: 10px; }
  .hud-row:nth-child(n+3) { display: none; }
  .ruler { margin-top: 6px; }
  .shade { background: linear-gradient(0deg, rgba(8, 18, 25, 0.82) 0, rgba(8, 18, 25, 0.35) 38%, rgba(8, 18, 25, 0) 62%); }
  .station { padding-bottom: 44px; }
  .station h1 { font-size: 46px; }
  .station h1 span:nth-child(2) { padding-left: 0; }
  .station h2 { font-size: 30px; }
  .station p:not(.tag) { font-size: 15px; }
  .station .lede { font-size: 16px; }
  .markers { display: none; }
  .log-in { padding-bottom: 40px; }
  .log-head { flex-direction: column; gap: 4px; }
  .log-text { font-size: 21px; margin-top: 22px; }
  .chart { height: 320vh; }
  .chart-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding: 70px var(--g) 16px; }
  .chart-side { background: none; padding: 0; pointer-events: none; }
  .chart-side h2 { font-size: 26px; text-shadow: 0 1px 14px rgba(8, 18, 25, 0.8); }
  .days { display: none; }
  .chart-stage { grid-column: 1; grid-row: 3; transition: opacity .35s; }
  html:not([data-phase="chart"]) .chart-stage { opacity: 0; pointer-events: none; }
  .plotter { display: none; }
  .chart-card { display: grid; grid-template-columns: 1fr; }
  .chart-card img { display: none; }
  .card-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--line); }
  .card-nav button { background: none; border: 0; padding: 12px 16px; font: 600 12px var(--mono); color: var(--ink); }
  .dmk:not(.on) span { display: none; }
  .ship { height: 380vh; }
  .ship-head { top: 68px; right: var(--g); }
  .ship-head h2 { font-size: 40px; }
  .ship-lede { font-size: 14px; }
  .spec dd { font-size: 17px; }
  .spec div:nth-child(n+5) { display: none; }
  .deck-tabs button { font-size: 15px; padding: 5px 9px 6px; }
  .deck-tabs button small { display: none; }
  .deck-hint, .legend { display: none; }
  .cabin-card { left: var(--g); right: var(--g); width: auto; top: auto; bottom: 14px; }
  .cabin-card img { display: none; }
  .cabin-card .cb { padding: 12px 14px 14px; }
  .cabin-card h3 { font-size: 20px; }
  .cabin-card dl { grid-template-columns: auto 1fr auto 1fr; gap: 0 10px; }
  .cabin-card dl dt:nth-of-type(3), .cabin-card dl dd:nth-of-type(3) { display: none; }
  .departures { height: auto; }
  .dep-pin { position: relative; height: auto; padding: 72px var(--g) 60px; display: grid; gap: 14px; }
  .dep-head, .quote, .season { position: static; width: auto; max-height: none; }
  .dep-head { margin-bottom: 40vh; }
  .season { display: flex; gap: 8px; height: auto; overflow-x: auto; padding: 10px; border: 0; }
  .season .mo, .season .tick { display: none; }
  .season button.sail { position: static; flex: none; width: 112px; }
  .quote { order: 3; }
  .foot { flex-direction: column; }
}
@media (max-width: 899px) and (max-height: 620px) {
  .station p:not(.tag):not(.lede) { display: none; }
  .station h1 { font-size: 38px; }
  .station h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .log-text .ln { color: var(--ink); }
}

/* ── the mark: 81° ring, horizon, the route to the ice; lettering cut at the waterline ── */
.logo { display: inline-flex; align-items: center; gap: 0.42em; color: inherit; line-height: 0; }
.logo svg { display: block; height: 1em; width: auto; }
.logo .logo-sym { height: 1.35em; color: var(--signal); }
.bar .mark { font-size: 19px; display: inline-flex; }
.veil-logo { font-size: 30px; }
.foot-brand { display: grid; gap: 14px; }
.foot-logo { font-size: 46px; color: var(--ice); }
.q-brand { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); color: rgba(228, 234, 236, 0.7); }
.q-brand svg { width: 16px; height: 16px; color: var(--signal); }
@media (max-width: 899px) { .bar .mark { font-size: 16px; } .foot-logo { font-size: 34px; } }
