/* ==========================================================================
   Antilles — one page, 390 px first.
   Two families (system serif + system sans), one accent family.
   No network at runtime: no font files, no CDN, no tiles.
   ========================================================================== */

/* --- tokens ------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  --serif: ui-serif, Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --paper: #f6f2ea;
  --paper-2: #fffdf7;
  --paper-3: #efe9dd;
  --ink: #15202a;
  --ink-2: #5b6a76;
  --ink-3: #8b98a2;
  --rule: #ddd4c4;
  --rule-2: #cbc0ac;

  --accent: #bd4f1e;
  --accent-2: #d9702f;
  --accent-3: #eda269;
  --accent-wash: #f7e6d9;
  --accent-ink: #fffaf6;

  --deep: #05121a;
  --deep-2: #0b1f2b;
  --deep-ink: #e9f1f4;
  --deep-ink-2: #9db3bd;
  --deep-rule: #1d3644;

  /* chart */
  --sea: #e4edf0;
  --sea-2: #cfe1e8;
  --fathom: #8db0be;
  --iso: #bcd2da;
  --coast: #e2d8c5;
  --coast-line: #3a4a55;
  --grid: #cbd8dd;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --pad: 20px;
  --maxw: 1160px;
  --prose: 62ch;
  --radius: 3px;
  --bar-h: 60px;
  --shadow: 0 1px 2px rgba(21, 32, 42, .06), 0 8px 24px -12px rgba(21, 32, 42, .18);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1319;
    --paper-2: #121b22;
    --paper-3: #16212a;
    --ink: #e8e6e0;
    --ink-2: #9aa8b2;
    --ink-3: #75838d;
    --rule: #26323b;
    --rule-2: #33414c;
    --accent: #e07a44;
    --accent-2: #ee9a63;
    --accent-3: #b8552a;
    --accent-wash: #2a1b12;
    --accent-ink: #120803;
    --sea: #101d25;
    --sea-2: #16303c;
    --fathom: #47707f;
    --iso: #22404d;
    --coast: #3b3529;
    --coast-line: #8ba0ac;
    --grid: #1b2a33;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 28px -14px rgba(0, 0, 0, .8);
  }
}

/* --- base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.2rem, 9.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 6.6vw, 2.4rem); }
h3 { font-size: 1.22rem; line-height: 1.2; }
p { margin: 0 0 var(--s4); }
a { color: inherit; }
img, svg { max-width: 100%; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s6) 0; }

.u-sans { font-family: var(--sans); }
.overline {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 var(--s3);
}
.lede { font-size: 1.16rem; color: var(--ink); max-width: 34ch; }
.note { font-family: var(--sans); font-size: 0.82rem; line-height: 1.5; color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.prose { max-width: var(--prose); }

section { padding: var(--s8) 0; position: relative; }
section + section { border-top: 1px solid var(--rule); }
.sec-head { margin-bottom: var(--s6); }
.sec-head h2 { margin-bottom: var(--s3); }

/* section fade-in, off under reduced motion */
/* Visible by default, on purpose: the fade is opt-in and only site.js can opt
   in, so a script that fails to load leaves a readable page rather than a
   blank one. */
.reveal { opacity: 1; transform: none; }
.fades .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.fades .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fades .reveal, .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--sans); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 12px 18px; border-radius: var(--radius); border: 1px solid var(--accent);
  background: var(--accent); color: #fff; text-decoration: none; cursor: pointer;
  min-height: 44px;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn-ghost:hover { background: var(--paper-3); border-color: var(--ink-3); }
.btn-sm { padding: 10px 14px; min-height: 44px; font-size: 0.84rem; }

/* --- image slots -------------------------------------------------------- */
.shot { margin: 0; position: relative; }
.shot picture { display: block; }
.shot img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: var(--ar, 3 / 2); background: var(--paper-3);
  border-radius: var(--radius);
}

/* --- A · hero ----------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; padding: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; overflow: hidden; border-top: 0;
}
.hero .shot-hero { position: absolute; inset: 0; margin: 0; z-index: 0; }
.hero .shot-hero img { height: 100%; border-radius: 0; aspect-ratio: auto; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(6, 16, 24, .62) 0%, rgba(6, 16, 24, .22) 30%, rgba(6, 16, 24, .52) 62%, rgba(6, 16, 24, .82) 100%);
}
.hero-top, .hero-body { position: relative; z-index: 2; }
.hero-top { padding: calc(var(--s6) + env(safe-area-inset-top)) var(--pad) 0; }
.hero-top .overline { color: rgba(255, 255, 255, .92); margin: 0; }
.hero-body { padding: 0 var(--pad) var(--s7); }
.hero h1 { color: #fff; text-wrap: balance; max-width: 15ch; text-shadow: 0 1px 30px rgba(0, 0, 0, .35); }
.hero-sub { font-family: var(--sans); font-size: 0.95rem; color: rgba(255, 255, 255, .88); margin-top: var(--s4); max-width: 34ch; }
.hero-scroll {
  font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .8); text-decoration: none; display: inline-flex; align-items: center;
  gap: var(--s2); margin-top: calc(var(--s6) - 12px); min-height: 44px; padding: 0 2px;
}

/* --- B · pitch ---------------------------------------------------------- */
.pitch p { font-size: 1.32rem; line-height: 1.42; max-width: 26ch; }
.pitch p + p { margin-top: var(--s5); }
.pitch .cabins { color: var(--accent); }
.pitch-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3);
  margin-top: var(--s7); border-top: 1px solid var(--rule); padding-top: var(--s4);
}
.pitch-meta div { font-family: var(--sans); }
.pitch-meta b { display: block; font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.pitch-meta span { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); }

/* --- C · chart ---------------------------------------------------------- */
.chart-frame {
  position: relative; background: var(--sea); border: 1px solid var(--rule);
  border-radius: var(--radius); overflow: hidden;
}
svg.chart { display: block; width: 100%; height: auto; }

.sea { fill: var(--sea); }
.bank { fill: var(--sea-2); }
.fathom { fill: none; stroke: var(--fathom); stroke-width: .45; stroke-dasharray: 2.6 2; opacity: .85; }
.iso { fill: none; stroke: var(--iso); stroke-width: .45; }
.iso-2000, .iso-3000 { stroke-dasharray: 5 3.5; }
.grid line { stroke: var(--grid); stroke-width: .3; }
.grid-lbl text, .sdg { font-family: var(--sans); fill: var(--ink-3); }
.grid-lbl text { font-size: 4.6px; letter-spacing: .04em; }
.sdg { font-size: 4.2px; }
.reef { fill: none; stroke: var(--fathom); stroke-width: 1.3; stroke-dasharray: .8 1.6; stroke-linecap: round; }
.exclusion circle { fill: none; stroke: var(--accent); stroke-width: .4; stroke-dasharray: 2 2; opacity: .65; }
.xz { font-family: var(--sans); font-size: 3.4px; fill: var(--accent); letter-spacing: .04em; }
.coast { fill: var(--coast); stroke: var(--coast-line); stroke-width: .5; }
.hit { fill: transparent; cursor: pointer; }
.isle:focus { outline: none; }
.isle:focus-visible .coast, .isle:hover .coast { fill: var(--accent-3); stroke: var(--accent); }
.isle.is-active .coast { fill: var(--accent-2); stroke: var(--accent); }
.dive { fill: none; stroke: var(--coast-line); stroke-width: .5; opacity: .8; }
.leg { fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.leg-1 { stroke: #d4642a; } .leg-2 { stroke: #eb9a5f; } .leg-3 { stroke: #b8471f; }
.leg-4 { stroke: #f0b183; } .leg-5 { stroke: #98351a; } .leg-6 { stroke: #c9744a; stroke-dasharray: 4.5 2.6; }
.leg-hit { stroke: transparent; stroke-width: 9; fill: none; cursor: pointer; }
.route.is-dimmed .leg { opacity: .22; }
.route.is-dimmed .leg.is-lit { opacity: 1; stroke-width: 2.4; }
.port-dot { fill: var(--ink); stroke: var(--paper); stroke-width: .6; }
.port-code { font-family: var(--sans); font-size: 5.8px; font-weight: 700; fill: var(--ink); letter-spacing: .06em; }
.badge circle { fill: var(--accent); stroke: var(--paper); stroke-width: 1; cursor: pointer; }
.badge text { font-family: var(--sans); font-size: 7px; font-weight: 700; fill: #fff; }
.badge:hover circle, .badge:focus-visible circle { fill: var(--ink); }
.isle-label text { font-family: var(--sans); font-size: 6.5px; fill: var(--ink-2); }
.isle-label.is-country text { font-weight: 700; fill: var(--ink); font-size: 7.3px; }
.leader { stroke: var(--ink-3); stroke-width: .28; opacity: .55; }
.scalebar line { stroke: var(--ink-2); stroke-width: .6; }
.scalebar text, .compass text { font-family: var(--sans); font-size: 4.6px; fill: var(--ink-2); }
.compass .rose { fill: none; stroke: var(--ink-3); stroke-width: .5; }
.compass .needle { fill: var(--accent); }

.chart-legend {
  display: flex; gap: var(--s2); overflow-x: auto; padding: var(--s4) 0 var(--s2);
  scrollbar-width: none; -ms-overflow-style: none;
}
.chart-legend::-webkit-scrollbar { display: none; }
.leg-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  min-height: 44px; padding: 0 14px; border: 1px solid var(--rule-2); border-radius: 999px;
  background: var(--paper-2); color: var(--ink); cursor: pointer;
}
.leg-chip .swatch { width: 16px; height: 3px; border-radius: 2px; background: var(--accent); }
.leg-chip[data-week="1"] .swatch { background: #d4642a; }
.leg-chip[data-week="2"] .swatch { background: #eb9a5f; }
.leg-chip[data-week="3"] .swatch { background: #b8471f; }
.leg-chip[data-week="4"] .swatch { background: #f0b183; }
.leg-chip[data-week="5"] .swatch { background: #98351a; }
.leg-chip[data-week="6"] .swatch { background: #c9744a; }
.leg-chip:hover, .leg-chip.is-on { border-color: var(--accent); background: var(--accent-wash); }

.island-card {
  border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper-2);
  padding: var(--s4); margin-top: var(--s4); min-height: 132px;
}
.island-card h3 { display: flex; align-items: baseline; gap: var(--s2); }
.island-card .flag { font-size: 1.2rem; }
.island-card p { margin: var(--s2) 0 0; font-size: 0.98rem; }
.island-card .card-week {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--accent);
  background: none; border: 0; margin-top: var(--s2); cursor: pointer; text-decoration: underline;
  /* These only exist once an island card is open, so no static pass measures
     them; they need the same 44 px as every other control. */
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 6px 0 0;
}
.chart-key { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 0.8rem; color: var(--ink-2); }
.chart-key li { display: flex; gap: var(--s2); align-items: center; margin-bottom: 5px; }
.chart-key .k { width: 26px; flex: 0 0 26px; }

/* --- D · weeks ---------------------------------------------------------- */
.weeks-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: var(--s4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad);
  padding: 0 var(--pad) var(--s5); margin: 0 calc(var(--pad) * -1);
  scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain;
  align-items: start;   /* week 5 carries seven thumbnails and week 6 two; let each
                           card end where its content ends instead of stretching
                           every card to the height of the tallest one */
}
.weeks-rail::-webkit-scrollbar { display: none; }
.week {
  scroll-snap-align: start; background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  scroll-margin-top: 80px;
}
.week .shot img { border-radius: 0; }
.week-body { padding: var(--s4) var(--s4) var(--s4); display: flex; flex-direction: column; flex: 1; }
.week-kicker { font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent); }
.week h3 { margin: 6px 0 6px; font-size: 1.16rem; }
.week .highlights { font-family: var(--sans); font-size: 0.82rem; line-height: 1.35; color: var(--ink-2); margin: 0 0 10px; }
.week p { font-size: 0.95rem; line-height: 1.48; }
.week-flags { font-size: 1.05rem; letter-spacing: .06em; margin: auto 0 var(--s3); }
.week-flags .reg { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.04em; color: var(--ink-2); vertical-align: 2px; }
.week-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); border-top: 1px solid var(--rule); padding-top: var(--s3); }
.week-price { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.week-price small { font-weight: 500; font-size: 0.74rem; color: var(--ink-2); }
.week-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin: 0 0 var(--s3); }
.week-thumbs .shot img { border-radius: var(--radius); }
.rail-nav { display: flex; gap: var(--s2); font-family: var(--sans); }
.rail-nav button {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--rule-2);
  background: var(--paper-2); color: var(--ink-2); font-size: 0.8rem; font-weight: 700; cursor: pointer;
}
.rail-nav button.is-on { border-color: var(--accent); color: var(--accent); }

/* --- E · boat ----------------------------------------------------------- */
.boat-gallery { display: grid; gap: var(--s3); }
.boat-gallery .pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.spec { border-top: 1px solid var(--rule); margin-top: var(--s6); }
.spec div { display: flex; justify-content: space-between; gap: var(--s4); padding: 11px 0; border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 0.9rem; }
.spec dt { color: var(--ink-2); flex: 0 0 40%; }
.spec dd { margin: 0; text-align: right; }
.plan { margin-top: var(--s6); }
.plan svg { width: 100%; height: auto; display: block; background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); }
.plan .hull { fill: var(--paper-3); stroke: var(--ink-3); stroke-width: 1.2; }
.plan .cab { fill: var(--accent-wash); stroke: var(--accent); stroke-width: 1; }
.plan .crew { fill: var(--paper-3); stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 2; }
.plan .head { fill: var(--paper-2); stroke: var(--ink-3); stroke-width: .8; }
.plan .deck { fill: none; stroke: var(--ink-3); stroke-width: 1; }
.plan text { font-family: var(--sans); font-size: 9px; fill: var(--ink-2); }
.plan .lbl-b { font-weight: 700; fill: var(--ink); }

/* --- F · underwater ----------------------------------------------------- */
.deepsec {
  background: var(--deep); color: var(--deep-ink); border-top: 0;
  padding: 0 0 var(--s8);
}
.deepsec .overline, .deepsec .note { color: var(--deep-ink-2); }
.deepsec h2, .deepsec h3 { color: #fff; }
.deep-bleed { position: relative; margin-bottom: var(--s7); }
.deep-bleed .shot img { border-radius: 0; height: 62svh; min-height: 320px; }
.deep-bleed::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5, 18, 26, .35) 0%, rgba(5, 18, 26, .62) 45%, rgba(5, 18, 26, .88) 78%, var(--deep) 100%);
}
.deep-bleed-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: var(--s5); }
.dive-chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s5) 0 var(--s5); }
.dive-chip {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600; padding: 11px 14px; min-height: 44px;
  border-radius: 999px; border: 1px solid var(--deep-rule); background: transparent;
  color: var(--deep-ink); cursor: pointer;
}
.dive-chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.dive-list { display: grid; gap: var(--s3); }
.dive-row {
  border: 1px solid var(--deep-rule); border-radius: var(--radius); padding: var(--s4);
  background: var(--deep-2);
}
.dive-row[hidden] { display: none; }
.dive-row .isl { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.dive-row h4 { margin: 6px 0 var(--s2); font-family: var(--serif); font-size: 1.06rem; font-weight: 600; color: #fff; }
.dive-row p { margin: 0; font-size: 0.95rem; color: var(--deep-ink-2); }
.dive-row .lvl { display: inline-block; margin-top: var(--s3); font-family: var(--sans); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--deep-ink); border: 1px solid var(--deep-rule); border-radius: 999px; padding: 3px 9px; }
.deep-panel { border: 1px solid var(--deep-rule); border-left: 3px solid var(--accent); background: var(--deep-2); padding: var(--s5); margin-top: var(--s6); }
.deep-panel h3 { font-size: 1.1rem; margin-bottom: var(--s3); }
.deep-panel p:last-child { margin-bottom: 0; }
.deep-figs { display: grid; gap: var(--s3); grid-template-columns: 1fr 1fr; margin: var(--s5) 0 0; }
.deep-figs div { border: 1px solid var(--deep-rule); padding: var(--s4); font-family: var(--sans); }
.deep-figs b { display: block; font-size: 1.25rem; font-variant-numeric: tabular-nums; color: #fff; }
.deep-figs span { font-size: 0.78rem; color: var(--deep-ink-2); }
.deepsec .shot-side { margin-top: var(--s6); display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .deepsec .shot-side { grid-template-columns: 1fr 1fr; }
  .deepsec .shot-side .shot img { aspect-ratio: auto; height: 320px; }
}

/* --- G · life aboard ---------------------------------------------------- */
.life-grid { display: grid; gap: var(--s7); }
.life-block h3 { margin-bottom: var(--s3); }
.life-block .shot { margin-bottom: var(--s4); }
.callout {
  border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  background: var(--paper-2); padding: var(--s4) var(--s5); margin: var(--s5) 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout h3 { font-size: 1.05rem; margin-bottom: var(--s2); }

/* --- H · bingo ---------------------------------------------------------- */
.bingo {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2);
  margin: var(--s5) 0 var(--s5);
}
.tile {
  position: relative; aspect-ratio: 3 / 3.5; border: 1px solid var(--rule-2);
  border-radius: 2px; background: var(--paper-2); padding: 10px 6px 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px;
  font-family: var(--sans); text-align: center; cursor: pointer; color: inherit;
  box-shadow: inset 0 0 0 1px var(--paper-2), inset 0 0 0 2px var(--rule);
}
.tile .flag {
  font-size: 1.2rem; line-height: 1; width: 38px; height: 38px; border-radius: 50%;
  border: 1px dashed var(--rule-2); display: flex; align-items: center; justify-content: center;
  margin-bottom: 2px; flex: 0 0 auto;
}
.tile .nm { font-size: 0.7rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.tile .wk { font-size: 0.62rem; letter-spacing: .01em; text-transform: none; color: var(--ink-3);
  margin-top: auto; padding-top: 5px; width: 100%; border-top: 1px dashed var(--rule-2); }
.tile .iso { position: absolute; top: 5px; right: 6px; font-size: 0.55rem; letter-spacing: .1em; color: var(--ink-3); }
.tile::after {
  content: attr(data-stamp) " ✓"; position: absolute; inset: auto 4px 5px auto; transform-origin: 100% 50%;
  font-size: 0.56rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); border: 1.5px solid var(--accent); border-radius: 2px;
  padding: 1px 4px; transform: rotate(-11deg) scale(.6); opacity: 0; transition: opacity .18s ease, transform .18s ease;
}
.tile[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-wash); }
.tile[aria-pressed="true"]::after { opacity: .92; transform: rotate(-11deg) scale(1); }
@media (prefers-reduced-motion: reduce) { .tile::after { transition: none; } }
.bingo-hint { font-family: var(--sans); font-size: 0.78rem; color: var(--ink-3); margin-top: 0; }
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: var(--s6) 0; }
.figs div { border-top: 2px solid var(--ink); padding-top: var(--s2); font-family: var(--sans); }
.figs b { display: block; font-size: 1.6rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.figs span { font-size: 0.78rem; color: var(--ink-2); line-height: 1.35; display: block; }

/* --- I · practicalities ------------------------------------------------- */
details.pract { border-bottom: 1px solid var(--rule); }
details.pract > summary {
  list-style: none; cursor: pointer; padding: var(--s4) 0; display: flex;
  justify-content: space-between; align-items: center; gap: var(--s4);
  font-family: var(--sans); font-weight: 600; font-size: 1rem; min-height: 44px;
}
details.pract > summary::-webkit-details-marker { display: none; }
details.pract > summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); line-height: 1; }
details.pract[open] > summary::after { content: "–"; }
details.pract .pract-body { padding: 0 0 var(--s5); max-width: var(--prose); }
.tbl { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.86rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl th { font-weight: 600; color: var(--ink-2); font-size: 0.74rem; letter-spacing: .08em; text-transform: uppercase; }
.tbl td.n, .tbl th.n { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
.inout { display: grid; gap: var(--s5); grid-template-columns: 1fr; margin-top: var(--s5); }
.inout ul { list-style: none; margin: var(--s2) 0 0; padding: 0; font-family: var(--sans); font-size: 0.9rem; }
.inout li { padding: 5px 0 5px 20px; position: relative; }
.inout li::before { position: absolute; left: 0; top: 5px; font-weight: 700; }
.inout .yes li::before { content: "+"; color: var(--accent); }
.inout .no li::before { content: "–"; color: var(--ink-3); }
.inout h3 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }

/* --- J · offer ---------------------------------------------------------- */
.offer-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.88rem; }
.offer-table th, .offer-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: baseline; }
.offer-table th { font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.offer-table .wk { font-weight: 700; }
.offer-table .pp { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 0; }
.offer-table tr:hover td { background: var(--paper-3); }
.offer-table td.dates { color: var(--ink-2); }
.offer-table .route-cell { display: block; color: var(--ink-2); font-size: 0.78rem; }
.whole {
  margin-top: var(--s6); border: 1px solid var(--rule-2); border-radius: var(--radius);
  background: var(--paper-2); padding: var(--s5);
}
.whole .big { font-family: var(--sans); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.whole .big span { color: var(--accent); }
.ladder { list-style: none; padding: 0; margin: var(--s4) 0 0; font-family: var(--sans); font-size: 0.9rem; }
.ladder li { padding: 7px 0; border-top: 1px solid var(--rule); }

/* --- K · ask ------------------------------------------------------------ */
.form { margin-top: var(--s6); max-width: 34rem; }
.field { margin-bottom: var(--s5); }
.field label, .fieldset-legend { display: block; font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--s2); }
.field input[type="text"], .field input[type="email"], .field input[type="number"], .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--rule-2); border-radius: var(--radius);
  padding: 12px 13px; min-height: 46px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
fieldset { border: 0; margin: 0 0 var(--s5); padding: 0; }
.week-picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick span {
  display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--rule-2); border-radius: var(--radius);
  padding: 10px 12px; font-family: var(--sans); font-size: 0.86rem; background: var(--paper-2); min-height: 46px; justify-content: center;
}
.pick span small { color: var(--ink-2); font-size: 0.74rem; }
.pick input:checked + span { border-color: var(--accent); background: var(--accent-wash); }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.err { display: block; font-family: var(--sans); font-size: 0.8rem; color: var(--accent); margin-top: 6px; min-height: 1em; }
.form-status { font-family: var(--sans); font-size: 0.9rem; margin-top: var(--s4); }
.form-alt { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-2); margin-top: var(--s4); }
.form-status:empty { margin-top: 0; }
.form-status.is-bad { color: var(--accent); }
.form-status a, .form-thanks a { color: inherit; }
.btn[disabled] { opacity: .6; cursor: default; }
.form-thanks {
  border: 1px solid var(--accent); border-radius: var(--radius);
  background: var(--accent-wash); padding: var(--s5); margin-top: var(--s5);
}
.form-thanks:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-thanks p:last-child { margin-bottom: 0; }

/* --- sticky bar --------------------------------------------------------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px); border-top: 1px solid var(--rule);
  transform: translateY(110%); transition: transform .28s ease; visibility: hidden;
}
.bar.is-up { transform: none; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .bar { transition: none; } }
.bar-price { font-family: var(--sans); font-size: 0.92rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-price small { display: block; font-weight: 500; font-size: 0.7rem; color: var(--ink-2); letter-spacing: .04em; }
body { padding-bottom: 0; }

/* --- footer ------------------------------------------------------------- */
.foot { padding: var(--s7) 0 calc(var(--s9) + var(--bar-h)); font-family: var(--sans); font-size: 0.8rem; color: var(--ink-2); }
.foot p { max-width: 60ch; }
.foot a { color: var(--accent); }

/* --- 768 ---------------------------------------------------------------- */
@media (min-width: 768px) {
  :root { --pad: 40px; }
  body { font-size: 18px; }
  section { padding: var(--s9) 0; }
  .lede { font-size: 1.28rem; max-width: 40ch; }
  .pitch p { font-size: 1.5rem; max-width: 32ch; }
  .pitch-meta b { font-size: 1.9rem; }
  .weeks-rail { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; }
  .week { scroll-margin-top: 24px; }
  .rail-nav { display: none; }
  .boat-gallery { grid-template-columns: 1fr; }
  .inout { grid-template-columns: 1fr 1fr; }
  .bingo { grid-template-columns: repeat(5, 1fr); }
  .figs { grid-template-columns: repeat(4, 1fr); }
  .deep-figs { grid-template-columns: repeat(4, 1fr); }
  .form { max-width: 40rem; }
  .week-picks { grid-template-columns: repeat(4, 1fr); }
  .deep-bleed .shot img { height: 68svh; }
}

/* --- 1280 --------------------------------------------------------------- */
@media (min-width: 1280px) {
  :root { --pad: 56px; }
  .two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s9); align-items: start; }
  .two-col-narrow { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: var(--s8); align-items: start; }
  .sec-head { margin-bottom: var(--s7); }
  .weeks-rail { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
  .hero h1 { max-width: 24ch; }
  .hero-body { padding-bottom: var(--s9); }
  .chart-wide > div:last-child { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: var(--s6); align-items: start; }
  .chart-legend { flex-wrap: wrap; overflow: visible; padding-top: 0; }
  .island-card { margin-top: var(--s4); }
  .boat-gallery { grid-template-columns: 1fr; }
  .life-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s8) var(--s7); }
  .life-block.wide { grid-column: 1 / -1; }
  .bar { padding-left: var(--pad); padding-right: var(--pad); }
  .bar-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
  .dive-list { grid-template-columns: repeat(2, 1fr); }
  .offer-wide { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
}

/* --- print: the site page itself points at the PDF layout ---------------- */
@media print {
  .bar, .rail-nav, .hero-scroll, .chart-legend { display: none; }
  body { background: #fff; color: #000; }
  .weeks-rail { grid-auto-flow: row; grid-template-columns: 1fr; overflow: visible; }
}


/* ==========================================================================
   Round-two components. Everything below is written 390 px first: the phone
   rules are the unqualified ones, and 768 / 1280 add to them.
   ========================================================================== */

/* --- the low-quality placeholder ---------------------------------------- */
/* build-images.mjs writes --ph on each figure: a 20 px blurred JPEG for the
   priority-1 frames, the average colour for the rest. Either way the box is
   never white before the photograph lands. */
.shot { background: var(--ph, var(--paper-3)) center / cover no-repeat; border-radius: var(--radius); }
.shot img { background: transparent; }
.shot-hero, .shot-bleed, .week > .shot { border-radius: 0; }

/* --- captions ----------------------------------------------------------- */
.cap {
  font-family: var(--sans); font-size: 0.8rem; line-height: 1.45; color: var(--ink-2);
  margin: var(--s2) 0 var(--s5); max-width: 56ch;
}
.deepsec .cap { color: var(--deep-ink-2); }

/* --- B · pitch ---------------------------------------------------------- */
.pitch .lead-line { font-weight: 600; }
.pitch .pitch-shot { margin-top: var(--s7); }
.pitch .cap { font-size: 0.78rem; }

/* --- C · the note beside the chart -------------------------------------- */
.chart-aside {
  margin-top: var(--s5); border-left: 3px solid var(--accent); padding-left: var(--s4);
  font-size: 1rem; color: var(--ink-2);
}
.chart-aside p:last-child { margin-bottom: 0; }
.chart-aside b { color: var(--ink); }

/* --- D · week cards ----------------------------------------------------- */
.week .bestfor { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-2); }
.week .bestfor b { color: var(--accent); }
.week-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: var(--s2) 0 var(--s4); }

/* --- F · sea life and snorkelling --------------------------------------- */
.deep-sub {
  margin: var(--s8) 0 var(--s4); font-size: 1.3rem; color: #fff;
}
.sealife { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
.snorkel-pair { display: grid; grid-template-columns: 1fr; gap: var(--s3); margin: var(--s4) 0 var(--s3); }
.deepsec .shot { background-color: var(--deep-2); }

/* --- G · the strip that says who this is for ---------------------------- */
.life-strip { display: grid; grid-template-columns: 1fr; gap: var(--s3); margin-top: var(--s7); }

/* --- H · tiles ---------------------------------------------------------- */
.tile.is-un .iso { color: var(--accent); font-weight: 700; }
.tbl caption {
  text-align: left; font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-bottom: var(--s2);
}
.tbl { margin: var(--s5) 0; }
.tbl tfoot th, .tbl tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 10px; }
.tbl tfoot th { text-transform: none; font-size: 0.86rem; color: var(--ink); }
.density th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: 0.86rem; color: var(--ink); font-weight: 500; }
.regions th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: 0.84rem; color: var(--ink); font-weight: 500; }
.regions .st { display: none; }

/* --- I · the visa table ------------------------------------------------- */
/* On a phone this is fifteen cards, not a wall that scrolls sideways. From
   768 up the same markup becomes the two-column table it is semantically. */
.tbl-hint { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-2); }
.visa { width: 100%; font-family: var(--sans); font-size: 0.88rem; border-collapse: collapse; display: block; }
.visa thead { display: none; }
.visa tbody { display: block; }
.visa tr {
  display: block; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper-2); padding: var(--s4); margin-bottom: var(--s3);
}
.visa th[scope="row"] {
  display: block; text-align: left; font-family: var(--serif); font-size: 1.08rem;
  font-weight: 600; color: var(--ink); padding: 0; border: 0;
}
.visa th[scope="row"] small {
  display: block; font-family: var(--sans); font-size: 0.7rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px;
}
.visa .flag { font-size: 1.05rem; margin-right: 5px; }
.visa td {
  display: block; padding: var(--s3) 0 0; margin-top: var(--s3);
  border: 0; border-top: 1px solid var(--rule); color: var(--ink-2); line-height: 1.46;
}
.visa td::before {
  content: attr(data-col); display: block; font-size: 0.66rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px;
}
.visa b.ok { color: var(--ink); }
.visa b.warn { color: var(--accent); }

.visa-notes { margin-top: var(--s7); }
.visa-notes .prose + .prose { margin-top: var(--s7); }
.check { list-style: none; margin: var(--s3) 0 var(--s4); padding: 0; font-family: var(--sans); font-size: 0.92rem; }
.check li { position: relative; padding: 6px 0 6px 22px; line-height: 1.45; }
.check li::before { content: "·"; position: absolute; left: 4px; top: 5px; color: var(--accent); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.inout h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
#practical > .wrap > h3 { margin-top: var(--s7); margin-bottom: var(--s3); font-size: 1.3rem; }
#practical > .wrap > h3:first-of-type { margin-top: var(--s6); }
#practical .prose h3 { margin-top: var(--s5); margin-bottom: var(--s2); }
#practical .prose h3:first-child { margin-top: 0; }

/* --- K · the four questions --------------------------------------------- */
.field-hint {
  font-family: var(--sans); font-size: 0.84rem; line-height: 1.45; color: var(--ink-2);
  margin: -2px 0 var(--s3); max-width: 46ch;
}
fieldset .field-hint { margin-top: 0; }
.counts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
.fieldset-legend { color: var(--accent); }

/* --- the offer table: cards on the phone, a table from 768 up ----------- */
.offer-table thead { display: none; }
.offer-table, .offer-table tbody { display: block; }
.offer-table tr {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto;
  grid-template-areas: "wk dates price" "wk io regions";
  column-gap: 10px; row-gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.offer-table td { display: block; border: 0; padding: 0; }
.offer-table td.wk { grid-area: wk; font-size: 1.15rem; color: var(--accent); line-height: 1.1; font-weight: 700; }
.offer-table td.dates { grid-area: dates; color: var(--ink); font-weight: 600; }
.offer-table td.dates .route-cell { font-weight: 400; }
.offer-table td.io { grid-area: io; color: var(--ink-2); font-size: 0.78rem; }
.offer-table td.rg { grid-area: regions; text-align: right; color: var(--ink-2); font-size: 0.78rem; }
.offer-table td.pp { grid-area: price; text-align: right; font-size: 1rem; }

/* --- 768 additions ------------------------------------------------------ */
@media (min-width: 768px) {
  .sealife { grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
  .snorkel-pair { grid-template-columns: 1fr 1fr; }
  .life-strip { grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
  .counts { grid-template-columns: repeat(4, 1fr); }
  .regions .st { display: table-cell; }
  .rg-lbl { display: none; }

  .visa { display: table; border: 1px solid var(--rule); }
  .visa thead { display: table-header-group; }
  .visa tbody { display: table-row-group; }
  .visa tr { display: table-row; border: 0; border-radius: 0; background: none; padding: 0; margin: 0; }
  .visa tr:nth-child(even) { background: var(--paper-2); }
  .visa thead th {
    display: table-cell; text-align: left; padding: 11px 14px; background: var(--paper-3);
    font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--rule-2);
  }
  .visa th[scope="row"] {
    display: table-cell; vertical-align: top; width: 22%; padding: 13px 14px;
    border-top: 1px solid var(--rule); font-size: 1rem;
  }
  .visa td {
    display: table-cell; vertical-align: top; width: 39%; padding: 13px 14px; margin: 0;
    border-top: 1px solid var(--rule); font-size: 0.85rem;
  }
  .visa td::before { display: none; }

  .offer-table { display: table; width: 100%; }
  .offer-table thead { display: table-header-group; }
  .offer-table tbody { display: table-row-group; }
  .offer-table tr { display: table-row; padding: 0; border: 0; }
  .offer-table td {
    display: table-cell; border-bottom: 1px solid var(--rule);
    padding: 12px 8px 12px 0; vertical-align: baseline;
  }
  .offer-table td.wk { font-size: 0.88rem; color: var(--ink); }
  .offer-table td.dates { color: var(--ink-2); font-weight: 400; }
  .offer-table td.io { font-size: 0.88rem; }
  .offer-table td.rg { text-align: right; font-size: 0.88rem; padding-right: 0; }
  .offer-table td.pp { text-align: right; font-size: 0.88rem; padding-right: 0; white-space: nowrap; }
}

/* --- 1280 additions ----------------------------------------------------- */
@media (min-width: 1280px) {
  .sealife { grid-template-columns: repeat(4, 1fr); }
  .visa-notes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .visa-notes .prose + .prose { margin-top: 0; }
  .visa th[scope="row"] { width: 20%; }
  .visa td { width: 40%; }
}

/* --- pairs of frames keep a common height ------------------------------- */
.boat-gallery .pair .shot img { aspect-ratio: auto; height: 190px; }
@media (min-width: 768px) { .boat-gallery .pair .shot img { height: 300px; } }
.week-thumbs .shot img { aspect-ratio: 1 / 1; }

/* --- D · the four frames the week cards could not hold at a usable size -- */
.wk-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); margin-top: var(--s5); }
@media (min-width: 768px) { .wk-gallery { grid-template-columns: repeat(4, 1fr); gap: var(--s3); } }

/* The week badges on the chart are 6.4-unit discs — about 14 CSS px on a
   390 px screen. This invisible disc is the finger target; it is capped so it
   never covers a neighbouring island's centre. Measured in a browser, not
   assumed: see ../SELFCHECK.md §5. */
.badge circle.badge-hit { fill: transparent; stroke: none; cursor: pointer; }

/* The hairline leaders from a label to its island are decoration; SVG hit-tests
   a stroke by its width, so at an island's exact centre the leader was taking
   the tap and doing nothing with it. */
.leader { pointer-events: none; }
