/*
  Pagophila Expeditions: expedition cruise website (Screenery template "expedition")
  A quiet, cinematic polar page: a letterboxed WebGL sea in solid night bars, then ice-paper and deep-teal
  bands for the chart, the sighting log, the deck plan, the enquiry, and the honest small print.

  Contents
   1. Tokens
   2. Base and browser surfaces
   3. Shared pieces: wrap, section heads, buttons, segmented switch, icons
   4. Hero stage: letterbox bars, frame, fallback seascape, caption, time-of-day control
   5. The ship
   6. Voyage: chart, day tabs, plan
   7. Wildlife log
   8. Cabins and deck plan
   9. Enquiry form and summary
  10. Team, packing, responsible travel, questions
  11. Footer
  12. Motion and reduced motion
  13. Narrow screens
*/

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette: ice blue, slate, deep teal, one warm sun */
  --ice: #e8f0f2;
  --ice-2: #d6e4e9;
  --ice-3: #a9c4cf;
  --slate: #2b3a44;
  --slate-2: #4a5c67;          /* secondary text on ice (7:1) */
  --teal: #0f3a42;
  --teal-2: #164b55;
  --night: #0b1a1f;            /* letterbox bars, footer */
  --sun: #e3a467;
  --sun-deep: #c98545;         /* pressed */

  /* Derived */
  --on-dark: #e8f0f2;
  --on-dark-2: #b4c9d1;        /* secondary text on teal and night (AA) */
  --rule: color-mix(in srgb, var(--slate) 20%, transparent);
  --rule-dark: color-mix(in srgb, var(--ice) 18%, transparent);
  --sea-chart: #cfe0e6;
  --error: #a3352a;
  --error-dark: #ffb4a6;
  --ok: #2f6e5a;

  /* Cabin categories on the plan, light to deep */
  --c-porthole: #a7c3cc;
  --c-window: #7ea5b2;
  --c-solo: #5b8796;
  --c-balcony: #3a6b79;
  --c-suite: #224c58;

  /* Type */
  --display: "Marcellus", "Trajan Pro", Georgia, serif;
  --sans: "Red Hat Text", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.625rem;
  --fs-h2: clamp(2rem, 1.25rem + 2.4vw, 3.25rem);
  --fs-h1: clamp(1.9rem, 0.9rem + 2.8vw, 3.6rem);
  --track-wide: 0.09em;

  /* Space */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --s-9: 120px;
  --gutter: clamp(16px, 4vw, 56px);
  --wrap: 1320px;

  /* Shape and depth */
  --r-1: 3px;
  --r-2: 6px;
  --r-pill: 999px;
  --lift: 0 1px 2px rgb(11 26 31 / 0.08), 0 18px 36px -20px rgb(11 26 31 / 0.45);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-mid: 360ms;
  --t-slow: 1200ms;
  --t-tod: 2400ms;             /* the time-of-day crossfade, shared by the fallback seascape */
}

/* Fallback seascape colours, one set per time of day (WebGL mirrors these in script.js) */
:root, [data-tod="midnight"] {
  --fb-sky-top: #3f5a78; --fb-sky-mid: #b5a99a; --fb-sky-hz: #f0c690; --fb-sun: #ffd9a3; --fb-glow: rgb(255 196 120 / 0.55);
  --fb-ridge-far: #7b7f8e; --fb-ridge: #4d5664; --fb-sea-far: #3b5566; --fb-sea-near: #0f2733; --fb-ice: #e9eef2; --fb-ice-shade: #9fb2c4;
  --fb-wave: rgb(240 198 144 / 0.28); --fb-cloud: 0.08;
}
[data-tod="dawn"] {
  --fb-sky-top: #6f8fa6; --fb-sky-mid: #c9b9b4; --fb-sky-hz: #ebc5ad; --fb-sun: #ffd0b0; --fb-glow: rgb(255 176 140 / 0.5);
  --fb-ridge-far: #8f93a2; --fb-ridge: #5c6577; --fb-sea-far: #4c6577; --fb-sea-near: #16303b; --fb-ice: #f1eeee; --fb-ice-shade: #a9b4c8;
  --fb-wave: rgb(255 208 176 / 0.26); --fb-cloud: 0.14;
}
[data-tod="midday"] {
  --fb-sky-top: #5f8fb0; --fb-sky-mid: #a9c6d6; --fb-sky-hz: #d9e7ec; --fb-sun: #fffaf0; --fb-glow: rgb(255 255 240 / 0.45);
  --fb-ridge-far: #9fb0bb; --fb-ridge: #6c808d; --fb-sea-far: #3f6e7e; --fb-sea-near: #0f3440; --fb-ice: #f6fafb; --fb-ice-shade: #a8c3d0;
  --fb-wave: rgb(255 255 255 / 0.28); --fb-cloud: 0.1;
}
[data-tod="storm"] {
  --fb-sky-top: #3c4a52; --fb-sky-mid: #6a777d; --fb-sky-hz: #8d9aa0; --fb-sun: #c9d2d6; --fb-glow: rgb(201 210 214 / 0.12);
  --fb-ridge-far: #6f7c82; --fb-ridge: #56636a; --fb-sea-far: #33464e; --fb-sea-near: #0d1f25; --fb-ice: #c9d4d9; --fb-ice-shade: #7d8f99;
  --fb-wave: rgb(220 232 236 / 0.4); --fb-cloud: 0.85;
}

/* ---------- 2. Base and browser surfaces ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--slate-2) var(--ice-2); }
body {
  margin: 0;
  background: var(--ice);
  color: var(--slate);
  font: 400 var(--fs-md)/1.6 var(--sans);
  overflow-x: clip;
  caret-color: var(--sun-deep);
  accent-color: var(--teal);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--sun); color: var(--night); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: 0.005em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sun-deep); outline-offset: 3px; border-radius: 2px; }
.stage :focus-visible, .wildlife :focus-visible, .book :focus-visible, .responsible :focus-visible, .foot :focus-visible { outline-color: var(--sun); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: var(--s-4); top: -60px; z-index: 50; background: var(--sun); color: var(--night); padding: var(--s-2) var(--s-4); border-radius: var(--r-1); font-weight: 600; }
.skip:focus { top: var(--s-4); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tabular, .seen__figure, .fares td, .summary dd, .dep__left, .cab__fare, .cab__left, .plan__meta, .fuel dd, .stepper__val { font-variant-numeric: tabular-nums; }

/* ---------- 3. Shared pieces ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
section { padding-block: var(--s-9); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5) var(--s-6); }
.section-head h2 { font-size: var(--fs-h2); max-width: 18ch; }
.section-lede { max-width: 66ch; margin-top: var(--s-5); color: var(--slate-2); font-size: var(--fs-lg); line-height: 1.55; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5); border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.02em; text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--sun { background: var(--sun); color: var(--night); }
.btn--sun:hover { background: #ecb57f; text-decoration: none; }
.btn--sun:active { background: var(--sun-deep); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: color-mix(in srgb, currentColor 10%, transparent); text-decoration: none; }
.btn--quiet { min-height: 44px; padding: 0 var(--s-3); background: transparent; border: 0; color: inherit; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.btn--quiet:hover { text-decoration-thickness: 2px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

/* Segmented switch (voyage, sighting log) */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--rule); border-radius: var(--r-pill); background: color-mix(in srgb, var(--ice) 60%, white); }
.seg button {
  min-height: 44px; padding: 6px var(--s-4); border: 0; border-radius: var(--r-pill); background: transparent; color: var(--slate);
  font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; text-align: left;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.seg button small { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--slate-2); }
.seg button:hover { background: var(--ice-2); }
.seg button[aria-checked="true"] { background: var(--teal); color: var(--on-dark); }
.seg button[aria-checked="true"] small { color: var(--on-dark-2); }

/* ---------- 4. Hero stage ---------- */
.stage {
  --bar: var(--night);
  display: grid; grid-template-rows: auto minmax(280px, 1fr) auto;
  height: 100svh; min-height: 640px; max-height: 1100px;
  background: var(--bar); color: var(--on-dark);
}
.bar { position: relative; z-index: 2; background: var(--bar); padding-inline: var(--gutter); }
.bar--top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; font-family: var(--display); font-size: 1.25rem; letter-spacing: 0.22em; text-transform: uppercase; min-height: 44px; }
.nav__list { display: flex; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3); font-size: var(--fs-sm); letter-spacing: 0.03em; text-decoration: none; color: var(--on-dark-2); transition: color var(--t-fast) var(--ease-out); }
.nav__list a:hover { color: var(--on-dark); text-decoration: underline; }
.nav__list .nav__cta { margin-left: var(--s-2); border: 1px solid var(--sun); border-radius: var(--r-pill); color: var(--sun); padding: 0 var(--s-4); }
.nav__list .nav__cta:hover { background: var(--sun); color: var(--night); text-decoration: none; }
.nav__toggle { display: none; }

.frame { position: relative; overflow: hidden; background: #2a3846; }
.sea-canvas, .sea-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.sea-canvas { opacity: 0; transition: opacity 900ms var(--ease-out); }
.has-gl .sea-canvas { opacity: 1; }

/* Fallback seascape: every fill reads a --fb- token, so the time-of-day control crossfades it too */
.sea-fallback * { transition: fill var(--t-tod) var(--ease-out), stop-color var(--t-tod) var(--ease-out), stroke var(--t-tod) var(--ease-out), opacity var(--t-tod) var(--ease-out); }
.fb-sky-top { stop-color: var(--fb-sky-top); }
.fb-sky-mid { stop-color: var(--fb-sky-mid); }
.fb-sky-hz { stop-color: var(--fb-sky-hz); }
.fb-sea-far { stop-color: var(--fb-sea-far); }
.fb-sea-near { stop-color: var(--fb-sea-near); }
.fb-glow-in { stop-color: var(--fb-glow); }
.fb-glow-out { stop-color: var(--fb-glow); stop-opacity: 0; }
.fb-sun { fill: var(--fb-sun); }
.fb-ridge-far { fill: var(--fb-ridge-far); }
.fb-ridge { fill: var(--fb-ridge); }
.fb-clouds { fill: var(--fb-sky-top); opacity: var(--fb-cloud); }
.fb-berg { fill: var(--fb-ice); }
.fb-berg-shade { fill: var(--fb-ice-shade); }
.fb-glint { fill: none; stroke: var(--fb-sun); stroke-width: 2; stroke-linecap: round; opacity: 0.6; }
.fb-waves { fill: none; stroke: var(--fb-wave); stroke-width: 1.5; }
[data-tod="storm"] .fb-sun, [data-tod="storm"] .fb-glint { opacity: 0.15; }

/* The subtitle: a solid scrim line, like a film subtitle burnt into the frame */
.caption {
  position: absolute; left: 50%; bottom: var(--s-5); z-index: 1; transform: translateX(-50%);
  width: max-content; max-width: min(60ch, calc(100% - 2 * var(--gutter)));
  padding: var(--s-2) var(--s-4); border-radius: var(--r-1);
  background: rgb(11 26 31 / 0.84); color: var(--on-dark);
  font-size: var(--fs-sm); line-height: 1.45; text-align: center;
}

.bar--bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s-5) var(--s-7); padding-block: var(--s-6) var(--s-6); }
.bar__title h1 { font-size: var(--fs-h1); text-transform: uppercase; letter-spacing: var(--track-wide); line-height: 1.08; max-width: 22ch; }
.lede { margin-top: var(--s-4); max-width: 62ch; color: var(--on-dark-2); font-size: var(--fs-md); }
.bar__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.bar__actions .btn--line { color: var(--on-dark); }

.tod { margin: 0; padding: 0; border: 0; min-width: 0; }
.tod legend { padding: 0; margin-bottom: var(--s-3); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); }
.tod { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.tod legend { grid-column: 1 / -1; float: left; width: 100%; }
.tod__opt {
  position: relative; display: grid; justify-items: start; gap: var(--s-2); min-width: 118px; min-height: 44px;
  padding: var(--s-3) var(--s-4) var(--s-2) 0; cursor: pointer; color: var(--on-dark-2); border-top: 1px solid var(--rule-dark);
  transition: color var(--t-fast) var(--ease-out);
}
.tod__opt::before { content: ""; position: absolute; left: 0; right: var(--s-3); top: -2px; height: 2px; background: transparent; transition: background-color var(--t-mid) var(--ease-out); }
.tod__opt:hover { color: var(--on-dark); }
.tod__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tod__opt span { font-size: var(--fs-sm); font-weight: 600; line-height: 1.25; }
.tod__opt small { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.tod__opt:has(input:checked) { color: var(--on-dark); }
.tod__opt:has(input:checked)::before { background: var(--sun); }
.tod__opt:has(input:checked) .ic { color: var(--sun); }
.tod__opt:has(input:focus-visible) { outline: 2px solid var(--sun); outline-offset: 2px; }

/* ---------- 5. The ship ---------- */
.ship__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-7) var(--s-8); align-items: start; }
.ship__text h2 { font-size: var(--fs-h2); max-width: 14ch; margin-bottom: var(--s-6); }
.ship__text p { max-width: 60ch; }
.ship__text p + p { margin-top: var(--s-4); }
.ship__figure { margin: 0; align-self: center; }
.ship__figure figcaption { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--slate-2); }
.ship__water { fill: var(--ice-3); }
.ship__hull { fill: var(--slate); }
.ship__boot { fill: var(--teal); }
.ship__super { fill: #f7fafb; stroke: var(--slate); stroke-width: 1.5; stroke-linejoin: round; }
.ship__bridge { fill: #f7fafb; stroke: var(--slate); stroke-width: 1.5; stroke-linejoin: round; }
.ship__mast, .ship__windows path { fill: none; stroke: var(--slate); stroke-width: 1.5; stroke-linecap: round; }
.ship__windows path:last-child { stroke: var(--ice-3); stroke-width: 4; }
.ship__bridgewin { stroke: var(--slate); stroke-width: 4; stroke-linecap: round; }
.ship__zodiacs rect { fill: var(--sun); }

.spec { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--slate); }
.spec div { padding: var(--s-4) var(--s-4) var(--s-4) 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); }
.spec dd { margin: var(--s-1) 0 0; font-family: var(--display); font-size: var(--fs-lg); }

/* ---------- 6. Voyage ---------- */
.voyage { background: var(--ice-2); }
.voyage__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); margin-top: var(--s-7); align-items: start; }
.map { margin: 0; position: sticky; top: var(--s-5); }
.map figcaption { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--slate-2); max-width: 56ch; }
.map__svg { width: 100%; height: auto; max-height: calc(100svh - 120px); border: 1px solid var(--slate); background: var(--sea-chart); }
.map__sea { fill: var(--sea-chart); }
.map__grat path { stroke: #9cb6c0; stroke-width: 0.6; }
.map__grat-labels text { font: 500 10px var(--sans); fill: var(--slate-2); }
.map__pack { fill: #f7fbfc; stroke: #8eaab5; stroke-width: 0.6; }
.map__land path { fill: #f4f8f9; stroke: var(--slate); stroke-width: 1.1; stroke-linejoin: round; }
.map__label { font: 400 12px var(--display); fill: var(--slate); letter-spacing: 0.08em; }
.map__label.small { font-size: 9.5px; }
.map__label.tiny { font-size: 8px; letter-spacing: 0.02em; }
.map__label.sea { font: italic 400 10.5px var(--sans); fill: #2f5664; letter-spacing: 0.04em; }
.map__label.big { font-size: 12px; letter-spacing: 0.18em; }
.map__leg { fill: none; stroke: var(--slate-2); stroke-width: 1.2; stroke-dasharray: 3 4; opacity: 0.75; transition: stroke var(--t-mid) var(--ease-out), opacity var(--t-mid) var(--ease-out); }
.map__leg[data-sailed] { stroke: var(--teal); stroke-width: 2; stroke-dasharray: none; opacity: 1; }
.map__stop { cursor: pointer; }
.map__stop circle:not(.map__hit) { fill: #f7fbfc; stroke: var(--slate); stroke-width: 1.4; }
.map__stop[data-sailed] circle:not(.map__hit) { fill: var(--teal); stroke: var(--teal); }
.map__hit { fill: transparent; }
.map__stop text { font: 700 10px var(--sans); fill: var(--slate); paint-order: stroke; stroke: var(--sea-chart); stroke-width: 3px; }
.map__ship { transition: transform var(--t-slow) var(--ease-out); }
.map__ship-ring { fill: var(--sun); stroke: var(--night); stroke-width: 1.5; }
.map__ship-hull { fill: var(--night); }

.days__tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 6px; }
.day {
  display: grid; gap: 2px; min-height: 56px; padding: var(--s-2) var(--s-3); text-align: left;
  border: 1px solid var(--rule); border-radius: var(--r-1); background: color-mix(in srgb, var(--ice) 70%, white); color: var(--slate);
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.day:hover { border-color: var(--slate); }
.day__n { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-2); }
.day__place { font-size: var(--fs-sm); line-height: 1.25; hyphens: manual; }
.day[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: var(--on-dark); }
.day[aria-selected="true"] .day__n { color: var(--sun); }

.plan { margin-top: var(--s-6); padding: var(--s-6); background: #f7fbfc; border: 1px solid var(--rule); border-radius: var(--r-2); box-shadow: var(--lift); min-height: 380px; }
.plan__meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); font-size: var(--fs-sm); color: var(--slate-2); }
.plan__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: var(--s-4); vertical-align: middle; border-radius: 50%; background: var(--ice-3); }
.plan__title { margin-top: var(--s-3); font-size: var(--fs-xl); }
.plan__list { margin: var(--s-5) 0 0; }
.plan__row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-4); border-top: 1px solid var(--rule); }
.plan__row dt { font-weight: 700; font-size: var(--fs-sm); letter-spacing: 0.04em; }
.plan__row dd { margin: 0; max-width: 60ch; }
.days__step { display: flex; justify-content: space-between; margin-top: var(--s-3); }

/* ---------- 7. Wildlife log (deep teal band) ---------- */
.wildlife { background: var(--teal); color: var(--on-dark); }
.wildlife .section-lede { color: var(--on-dark-2); }
.wildlife .seg { background: var(--teal-2); border-color: var(--rule-dark); }
.wildlife .seg button { color: var(--on-dark); }
.wildlife .seg button small { color: var(--on-dark-2); }
.wildlife .seg button:hover { background: color-mix(in srgb, var(--ice) 10%, var(--teal-2)); }
.wildlife .seg button[aria-checked="true"] { background: var(--ice); color: var(--night); }
.wildlife .seg button[aria-checked="true"] small { color: var(--slate-2); }
.seen-list { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-8); }
.seen { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name fig" "bar bar" "note note"; gap: var(--s-2) var(--s-4); padding-block: var(--s-5); border-top: 1px solid var(--rule-dark); }
.seen__name { grid-area: name; display: grid; }
.seen__common { font-family: var(--display); font-size: var(--fs-lg); }
.seen__latin { font-style: italic; font-size: var(--fs-xs); color: var(--on-dark-2); }
.seen__figure { grid-area: fig; text-align: right; line-height: 1.2; }
.seen__figure strong { display: block; font-family: var(--display); font-weight: 400; font-size: var(--fs-xl); }
.seen__figure span { font-size: var(--fs-xs); color: var(--on-dark-2); }
.seen__bar { grid-area: bar; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--ice) 14%, transparent); overflow: hidden; }
.seen__bar span { display: block; height: 100%; width: var(--p); background: var(--ice); border-radius: 3px; transition: width var(--t-slow) var(--ease-out); }
.seen:first-child .seen__bar span, .seen__bar[aria-valuenow="100"] span { background: var(--ice); }
.seen__bar[aria-valuenow="0"] { outline: 1px dashed color-mix(in srgb, var(--ice) 40%, transparent); outline-offset: 1px; }
.seen__note { grid-area: note; font-size: var(--fs-sm); color: var(--on-dark-2); max-width: 52ch; }

/* ---------- 8. Cabins and deck plan ---------- */
.cabins__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr) 300px; gap: var(--s-6); margin-top: var(--s-7); align-items: start; }
.cat-picker { display: grid; gap: 6px; }
.cat-picker button {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: var(--s-3); align-items: center; min-height: 56px; padding: var(--s-2) var(--s-4);
  border: 1px solid var(--rule); border-radius: var(--r-1); background: #f7fbfc; color: var(--slate); text-align: left; font-weight: 600;
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.cat-picker button small { grid-column: 2; font-weight: 400; font-size: var(--fs-xs); color: var(--slate-2); }
.cat-picker button .cab__swatch { grid-row: span 2; }
.cat-picker button:hover { border-color: var(--slate); }
.cat-picker button[aria-checked="true"] { border-color: var(--slate); background: var(--night); color: var(--on-dark); }
.cat-picker button[aria-checked="true"] small { color: var(--on-dark-2); }
.cab__swatch { width: 18px; height: 18px; border-radius: 2px; border: 1px solid rgb(11 26 31 / 0.3); }
.cab__swatch[data-cat="porthole"] { background: var(--c-porthole); }
.cab__swatch[data-cat="window"] { background: var(--c-window); }
.cab__swatch[data-cat="solo"] { background: var(--c-solo); }
.cab__swatch[data-cat="balcony"] { background: var(--c-balcony); }
.cab__swatch[data-cat="suite"] { background: var(--c-suite); }
[aria-checked="true"] > .cab__swatch { background: var(--sun); border-color: var(--sun); }

.decks { display: grid; gap: var(--s-4); }
.deck__name { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--s-1); }
.deck__name span { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--slate-2); margin-left: var(--s-2); font-size: var(--fs-sm); }
.deck__svg { width: 100%; height: auto; }
.deck__hull { fill: #f7fbfc; }
.deck__hull-line { fill: none; stroke: var(--slate); stroke-width: 1.5; }
.deck__corridor { fill: var(--ice-2); }
.deck__room { fill: var(--ice-2); stroke: #b7cbd3; stroke-width: 1; }
.deck__label { font: 500 15px var(--sans); fill: var(--slate); }
.deck__label--short { display: none; }
.deck__cabin { stroke: #f7fbfc; stroke-width: 1.5; cursor: pointer; transition: fill var(--t-mid) var(--ease-out), opacity var(--t-mid) var(--ease-out); }
.deck__cabin[data-cat="porthole"] { fill: var(--c-porthole); }
.deck__cabin[data-cat="window"] { fill: var(--c-window); }
.deck__cabin[data-cat="solo"] { fill: var(--c-solo); }
.deck__cabin[data-cat="balcony"] { fill: var(--c-balcony); }
.deck__cabin[data-cat="suite"] { fill: var(--c-suite); }
.decks:has(.deck__cabin[data-on]) .deck__cabin:not([data-on]) { opacity: 0.32; }
.deck__cabin[data-on] { fill: var(--sun); stroke: var(--night); }
.deck__cabin:hover { opacity: 1; }
.deck:has([data-on]) .deck__name { color: var(--night); }
.deck:has([data-on]) .deck__name::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: var(--s-2); border-radius: 50%; background: var(--sun); vertical-align: middle; }
.decks__key { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); color: var(--slate-2); }
.decks__key span:first-child { font-weight: 600; color: var(--slate); }
.decks__key span:last-child { margin-left: var(--s-3); }

.cat-detail { padding: var(--s-5); background: #f7fbfc; border: 1px solid var(--rule); border-radius: var(--r-2); box-shadow: var(--lift); }
.cat-detail h3 { font-size: var(--fs-xl); }
.facts { margin: var(--s-4) 0 0; }
.facts div { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-2); border-bottom: 1px solid var(--rule); font-size: var(--fs-sm); }
.facts dt { color: var(--slate-2); }
.facts dd { margin: 0; text-align: right; font-weight: 600; }
.fares { width: 100%; margin-top: var(--s-5); border-collapse: collapse; font-size: var(--fs-sm); }
.fares caption { text-align: left; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); padding-bottom: var(--s-2); }
.fares th { text-align: left; font-weight: 400; padding: var(--s-2) var(--s-3) var(--s-2) 0; border-top: 1px solid var(--rule); }
.fares td { text-align: right; font-family: var(--display); font-size: var(--fs-lg); border-top: 1px solid var(--rule); white-space: nowrap; }
.cat-detail__note { margin-block: var(--s-4) var(--s-5); font-size: var(--fs-sm); color: var(--slate-2); }

/* ---------- 9. Enquiry (night band) ---------- */
.book { background: var(--night); color: var(--on-dark); }
.book .section-lede { color: var(--on-dark-2); }
.enquiry { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-7); margin-top: var(--s-7); align-items: start; }
.enquiry__fields { display: grid; gap: var(--s-6); min-width: 0; }
.field { display: grid; gap: var(--s-2); min-width: 0; margin: 0; padding: 0; border: 0; }
.field--group legend, .label { padding: 0; margin-bottom: var(--s-2); font-weight: 600; font-size: var(--fs-sm); letter-spacing: 0.02em; }
.req { font-weight: 400; font-size: var(--fs-xs); color: var(--on-dark-2); margin-left: var(--s-1); }
.hint { font-size: var(--fs-xs); color: var(--on-dark-2); font-weight: 400; line-height: 1.5; }
legend .hint { display: block; margin-top: 2px; font-size: var(--fs-xs); }
.field--row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); align-items: start; }

.deps { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; }
.dep, .cab {
  position: relative; display: grid; gap: 2px; padding: var(--s-3) var(--s-4); min-height: 44px; cursor: pointer;
  border: 1px solid var(--rule-dark); border-radius: var(--r-1); background: color-mix(in srgb, var(--ice) 4%, var(--night));
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.dep input, .cab input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: inherit; }
.dep:hover, .cab:hover { border-color: var(--on-dark-2); }
.dep:has(input:checked), .cab:has(input:checked) { border-color: var(--sun); background: color-mix(in srgb, var(--sun) 12%, var(--night)); box-shadow: inset 0 0 0 1px var(--sun); }
.dep:has(input:focus-visible), .cab:has(input:focus-visible) { outline: 2px solid var(--sun); outline-offset: 2px; }
.dep__date { font-weight: 600; }
.dep__voyage { font-size: var(--fs-xs); color: var(--on-dark-2); }
.dep__left { font-size: var(--fs-xs); color: var(--on-dark-2); }
.dep[data-low] .dep__left { color: var(--sun); }
.dep[data-soldout], .cab[data-soldout] { cursor: not-allowed; border-style: dashed; background: transparent; }
.dep[data-soldout] .dep__date { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--on-dark-2); }

.cabs { display: grid; gap: 6px; }
.cab { grid-template-columns: 18px minmax(0, 1fr) auto auto; align-items: center; column-gap: var(--s-3); }
.cab__name { font-weight: 600; }
.cab__fare { font-family: var(--display); font-size: var(--fs-lg); }
.cab__left { font-size: var(--fs-xs); color: var(--on-dark-2); min-width: 5.5em; text-align: right; }
.cab[data-soldout] .cab__name, .cab[data-soldout] .cab__fare { color: var(--on-dark-2); }
.cab:has(input:checked) .cab__swatch { background: var(--sun); border-color: var(--sun); }

.stepper { display: inline-flex; align-items: stretch; width: max-content; border: 1px solid var(--rule-dark); border-radius: var(--r-pill); }
.stepper__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: transparent; border-radius: var(--r-pill); color: var(--on-dark); }
.stepper__btn:hover { background: color-mix(in srgb, var(--ice) 10%, transparent); }
.stepper__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper__val { width: 3ch; border: 0; background: transparent; text-align: center; font-family: var(--display); font-size: var(--fs-xl); -moz-appearance: textfield; }
.stepper__val::-webkit-inner-spin-button, .stepper__val::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.toggle__row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s-3); min-height: 48px; cursor: pointer; position: relative; }
.toggle__row input { position: absolute; opacity: 0; width: 48px; height: 28px; margin: 0; cursor: inherit; }
.toggle__track { position: relative; width: 48px; height: 28px; border-radius: var(--r-pill); border: 1px solid var(--on-dark-2); background: transparent; transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.toggle__track span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--on-dark-2); transition: transform var(--t-mid) var(--ease-out), background-color var(--t-fast) var(--ease-out); }
.toggle__label { font-weight: 600; font-size: var(--fs-sm); }
.toggle input:checked + .toggle__track { background: var(--sun); border-color: var(--sun); }
.toggle input:checked + .toggle__track span { transform: translateX(20px); background: var(--night); }
.toggle input:focus-visible + .toggle__track { outline: 2px solid var(--sun); outline-offset: 3px; }
.toggle input:disabled ~ * { opacity: 0.55; }
.toggle__row:has(input:disabled) { cursor: not-allowed; }

.input {
  width: 100%; min-height: 50px; padding: 0 var(--s-4); border: 1px solid var(--on-dark-2); border-radius: var(--r-1);
  background: color-mix(in srgb, var(--ice) 5%, var(--night)); color: var(--on-dark);
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.input:hover { border-color: var(--on-dark); }
.input:focus-visible { outline: none; border-color: var(--sun); box-shadow: 0 0 0 1px var(--sun); }
.field[data-invalid] .input { border-color: var(--error-dark); box-shadow: 0 0 0 1px var(--error-dark); }
.field[data-invalid] > .deps, .field[data-invalid] > .cabs { outline: 1px solid var(--error-dark); outline-offset: 6px; border-radius: 2px; }
.err { display: flex; gap: var(--s-2); align-items: start; font-size: var(--fs-sm); color: var(--error-dark); }
.err::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7.5'/%3E%3Cpath d='M10 6v5M10 13.8v.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.err[hidden] { display: none; }

.summary { position: sticky; top: var(--s-5); display: grid; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-2); background: var(--ice); color: var(--slate); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6); }
.summary h3 { font-size: var(--fs-xl); }
.summary__empty, .summary__small { font-size: var(--fs-sm); color: var(--slate-2); }
.summary__trip { font-weight: 600; }
.summary__trip span { display: block; font-weight: 400; font-size: var(--fs-sm); color: var(--slate-2); }
.summary dl { margin: 0; }
.summary dl div { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-2); border-top: 1px solid var(--rule); font-size: var(--fs-sm); }
.summary dt { color: var(--slate-2); }
.summary dd { margin: 0; white-space: nowrap; }
.summary .total { border-top: 1px solid var(--slate); padding-top: var(--s-3); align-items: baseline; }
.summary .total dt { color: var(--slate); font-weight: 600; }
.summary .total dd { font-family: var(--display); font-size: 1.75rem; }
.summary .deposit dd { font-weight: 600; }
.summary__warn { display: flex; gap: var(--s-2); padding: var(--s-3); border-radius: var(--r-1); background: #f6e6d6; color: #6d3a10; font-size: var(--fs-sm); }
.btn__spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; }
[data-busy] .btn__spin { display: inline-block; animation: spin 0.8s linear infinite; }
[data-busy] [data-submit] { cursor: progress; }
.notice { display: flex; gap: var(--s-3); align-items: start; padding: var(--s-4); border-radius: var(--r-1); font-size: var(--fs-sm); }
.notice[hidden] { display: none; }
.notice--error { background: #f7dcd6; color: #6e1f14; border: 1px solid #d99c90; }
.notice--error .btn--quiet { padding: 0; margin-top: var(--s-2); color: #6e1f14; min-height: 44px; }

.done { grid-column: 1 / -1; display: grid; justify-items: start; gap: var(--s-4); padding: var(--s-7); border: 1px solid var(--rule-dark); border-radius: var(--r-2); background: var(--teal); }
.done[hidden] { display: none; }
.done:focus { outline: none; }
.done h3 { font-size: var(--fs-h2); }
.done p { max-width: 60ch; color: var(--on-dark-2); }
.done__ref strong { color: var(--on-dark); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.done__mark { width: 56px; height: 56px; fill: none; stroke: var(--sun); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.enquiry[data-sent] .enquiry__fields, .enquiry[data-sent] .summary { display: none; }

/* ---------- 10. Team, packing, responsible, questions ---------- */
.crew { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s-7); }
.crew li { padding-block: var(--s-5) var(--s-6); border-top: 1px solid var(--slate); }
.crew h3 { font-size: var(--fs-xl); }
.crew__role { margin-top: var(--s-1); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); font-weight: 600; }
.crew li p:last-child { margin-top: var(--s-3); max-width: 40ch; }

.packing { background: var(--ice-2); }
.packing__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
.packing__grid > div:first-child { position: sticky; top: var(--s-6); }
.packing h2 { font-size: var(--fs-h2); }
.provided { margin-top: var(--s-6); padding: var(--s-5); border: 1px solid var(--slate); border-radius: var(--r-2); }
.provided h3 { font-size: var(--fs-lg); }
.provided ul { margin: var(--s-3) 0 0; padding-left: 1.1em; }
.provided li + li { margin-top: var(--s-1); }
.checklist { display: grid; gap: var(--s-5); }
.checklist__count { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--slate); font-variant-numeric: tabular-nums; }
.checklist__count strong { font-family: var(--display); font-weight: 400; font-size: var(--fs-xl); }
.checklist fieldset { margin: 0; padding: 0; border: 0; display: grid; }
.checklist legend { padding: 0; margin-bottom: var(--s-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); }
.tick { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); align-items: start; padding: var(--s-2) 0; min-height: 44px; cursor: pointer; border-bottom: 1px solid var(--rule); }
.tick input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; top: 10px; cursor: inherit; }
.tick__box { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; border: 1.5px solid var(--slate); border-radius: 3px; background: #f7fbfc; transition: background-color var(--t-fast) var(--ease-out); }
.tick__box .ic { width: 16px; height: 16px; opacity: 0; stroke-width: 2; transition: opacity var(--t-fast) var(--ease-out); }
.tick input:checked + .tick__box { background: var(--teal); border-color: var(--teal); color: var(--on-dark); }
.tick input:checked + .tick__box .ic { opacity: 1; }
.tick:has(input:checked) { color: var(--slate-2); }
.tick input:focus-visible + .tick__box { outline: 2px solid var(--sun-deep); outline-offset: 2px; }

.responsible { background: var(--slate); color: var(--on-dark); }
.responsible .section-lede { color: var(--on-dark-2); }
.resp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-8); margin-top: var(--s-7); }
.resp__item { padding-block: var(--s-5) var(--s-6); border-top: 1px solid var(--rule-dark); }
.resp__item--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-4) var(--s-8); align-items: start; }
.resp__item--wide h3 { grid-column: 1 / -1; }
.resp__item h3 { font-size: var(--fs-xl); margin-bottom: var(--s-3); }
.resp__item p { max-width: 62ch; color: var(--on-dark-2); }
.fuel { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.fuel div { border-left: 1px solid var(--rule-dark); padding-left: var(--s-4); }
.fuel dt { font-size: var(--fs-xs); color: var(--on-dark-2); }
.fuel dd { margin: 0; font-family: var(--display); font-size: 2rem; color: var(--sun); }

.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-7); }
.faq h2 { font-size: var(--fs-h2); }
.faq__list { border-top: 1px solid var(--slate); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 64px; padding-block: var(--s-3); cursor: pointer; list-style: none; font-family: var(--display); font-size: var(--fs-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform var(--t-mid) var(--ease-out); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq summary:hover { color: var(--teal); }
.faq details p { padding-bottom: var(--s-5); max-width: 64ch; color: var(--slate-2); }

/* ---------- 11. Footer ---------- */
.foot { background: var(--night); color: var(--on-dark-2); padding-block: var(--s-8) var(--s-7); font-size: var(--fs-sm); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); gap: var(--s-6) var(--s-8); }
.foot__name { font-family: var(--display); font-size: var(--fs-xl); color: var(--on-dark); letter-spacing: 0.04em; margin-bottom: var(--s-3); }
.foot__brand p + p { margin-top: var(--s-2); }
.foot a { color: var(--on-dark); }
.foot__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.foot__nav ul { list-style: none; margin: 0; padding: 0; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 40px; }
.foot__small { grid-column: 1 / -1; padding-top: var(--s-5); border-top: 1px solid var(--rule-dark); font-size: var(--fs-xs); }

/* ---------- 12. Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  /* The letterbox opens on load: the frame starts as a thin band and widens to the full picture */
  @keyframes letterbox-open { from { clip-path: inset(32% 0 32% 0); } to { clip-path: inset(0 0 0 0); } }
  .frame { animation: letterbox-open 1800ms var(--ease-out) both; }
  @keyframes caption-in { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
  .caption[data-changed] { animation: caption-in 900ms var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  [data-busy] .btn__spin { animation: none; border-right-color: currentColor; opacity: 0.6; }
}

/* ---------- 13. Narrow screens ---------- */
@media (max-width: 1180px) {
  .cabins__grid { grid-template-columns: 220px minmax(0, 1fr); }
  .cat-detail { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--s-6); }
  .cat-detail h3 { grid-column: 1 / -1; }
  .cat-detail .fares { margin-top: var(--s-4); }
  .cat-detail__note, .cat-detail .btn { grid-column: 2; }
  .nav__list a { padding: 0 var(--s-2); }
}
@media (max-width: 1020px) {
  .packing__grid > div:first-child { position: static; }
  .cabins__grid { grid-template-columns: 1fr; }
  .cat-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage { height: auto; min-height: 0; max-height: none; grid-template-rows: auto auto auto; }
  .frame { height: 52svh; min-height: 300px; }
  .bar--bottom { grid-template-columns: 1fr; }
  .tod { max-width: 640px; }
  .nav__toggle { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--rule-dark); border-radius: var(--r-pill); background: transparent; color: var(--on-dark); font-size: var(--fs-sm); }
  .nav__list { position: absolute; right: var(--gutter); top: calc(100% - 4px); z-index: 10; display: none; flex-direction: column; align-items: stretch; min-width: 220px; padding: var(--s-2); border: 1px solid var(--rule-dark); border-radius: var(--r-2); background: var(--night); box-shadow: 0 24px 40px -20px rgb(0 0 0 / 0.7); }
  .nav__list[data-open] { display: flex; }
  .nav__list a { padding: 0 var(--s-3); }
  .nav__list .nav__cta { margin: var(--s-2) 0 0; justify-content: center; }
  .ship__grid { grid-template-columns: 1fr; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voyage__grid { grid-template-columns: 1fr; }
  .map { position: static; max-width: 560px; }
  .enquiry { grid-template-columns: 1fr; }
  .summary { position: static; }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packing__grid, .faq__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .resp { grid-template-columns: 1fr; }
  .resp__item--wide { grid-template-columns: 1fr; }
  .seen-list { column-gap: var(--s-6); }
}
@media (max-width: 720px) {
  section { padding-block: var(--s-8); }
  .cabins__grid { grid-template-columns: 1fr; }
  .cat-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-detail { display: block; }
  .deck__label--full { display: none; }
  .deck__label--short { display: inline; font-size: 30px; }
  .seen-list { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .section-lede { font-size: var(--fs-md); }
}
@media (max-width: 560px) {
  .bar--top { min-height: 64px; }
  .brand { font-size: 1.05rem; letter-spacing: 0.18em; }
  .frame { height: 44svh; min-height: 260px; }
  .caption { bottom: var(--s-3); font-size: var(--fs-xs); padding: 6px var(--s-3); }
  .bar--bottom { padding-block: var(--s-5); gap: var(--s-5); }
  .bar__title h1 { letter-spacing: 0.06em; }
  .bar__actions .btn { flex: 1 1 auto; }
  .tod { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tod__opt { min-width: 0; padding-right: var(--s-2); }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec dd { font-size: var(--fs-md); }
  .plan { padding: var(--s-5) var(--s-4); min-height: 0; }
  .plan__row { grid-template-columns: 1fr; gap: var(--s-1); }
  .days__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .day { min-height: 52px; padding: 6px var(--s-2); }
  .cat-picker { grid-template-columns: 1fr; }
  .crew { grid-template-columns: 1fr; }
  .deps { grid-template-columns: 1fr 1fr; }
  .dep { padding: var(--s-2) var(--s-3); }
  .cab { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .cab__left { grid-column: 2 / -1; text-align: left; }
  .fuel dd { font-size: 1.5rem; }
  .done { padding: var(--s-5); }
  .seg { width: 100%; }
  .seg button { flex: 1 1 0; }
}
