/* ==========================================================================
   kos.boats — Aegean editorial design system
   Nautical component vocabulary: mast, deck, berth, stub, ledger, hatch, keel
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  --ink:        #08333f;
  --ink-soft:   #3b5f6b;
  --ink-faint:  #7d97a0;
  --sea:        #0f7f9b;
  --sea-deep:   #0a5f76;
  --foam:       #dff0f4;
  --foam-pale:  #eff8fa;
  --sand:       #fbf6ec;
  --coral:      #e2643a;
  --coral-dark: #c44f28;
  --gold:       #efb02c;
  --paper:      #ffffff;
  --line:       #dfe6e4;
  --line-soft:  #ecf1f0;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --shell: 1180px;
  --shell-narrow: 760px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 30px;

  --sh-1: 0 1px 2px rgba(8, 51, 63, .06), 0 2px 8px rgba(8, 51, 63, .05);
  --sh-2: 0 4px 14px rgba(8, 51, 63, .09), 0 12px 32px rgba(8, 51, 63, .07);
  --sh-3: 0 18px 50px rgba(8, 51, 63, .16);

  --step: clamp(2.5rem, 6vw, 4.75rem);
}

/* --- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sea-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 5.6vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 3.7vw, 2.3rem); margin-top: 0; }
h3 { font-size: clamp(1.16rem, 2.3vw, 1.42rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- 3. Layout ---------------------------------------------------------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 1.15rem; }
.shell--narrow { max-width: var(--shell-narrow); }
.band { padding: var(--step) 0; }
.band--sand { background: var(--sand); }
.band--foam { background: var(--foam-pale); }
.band--ink { background: var(--ink); color: #e7f2f4; }
.band--ink h2, .band--ink h3 { color: #fff; }
.band--tight { padding: calc(var(--step) * .62) 0; }

.split { display: grid; gap: 2rem; }
/* Grid/flex children default to min-width:auto, which stops scroll containers
   (wide tables) from shrinking and pushes the whole page sideways on phones. */
.split > *, .grid > *, .deck__grid > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.2rem; align-items: center; }
  .split--wide-left { grid-template-columns: 1.35fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.35fr; }
}

/* Section eyebrow with numbered chart marker */
.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sea); margin: 0 0 .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--coral); flex: none; border-radius: 2px;
}
.band--ink .eyebrow { color: var(--gold); }

.lede { font-size: clamp(1.08rem, 2vw, 1.24rem); line-height: 1.62; color: var(--ink-soft); }
.band--ink .lede { color: #bcd7dd; }

/* Nautical dashed route divider */
.rope { border: 0; height: 1px; margin: var(--step) 0; background: none; position: relative; }
.rope::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 9px, transparent 9px 18px);
}
.rope::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--paper); border: 2px solid var(--coral);
}

/* --- 4. Masthead -------------------------------------------------------- */
.mast {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}
.mast__row {
  display: flex; align-items: center; gap: 1rem;
  min-height: 66px; flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: .6rem; flex: 0 1 auto; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.brand__name {
  font-family: var(--font-display); font-size: 1.24rem; font-weight: 700;
  letter-spacing: -.02em; color: var(--ink); line-height: 1;
}
.brand__tld { color: var(--sea); }
.brand__tag {
  display: block; font-family: var(--font-body); font-size: .6rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-top: .22rem;
}
/* On narrow phones the tagline pushes the burger off-screen — drop it there. */
@media (max-width: 479px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.15rem; }
}

.helm { margin-left: auto; display: flex; align-items: center; gap: .5rem; flex: none; }

.nav { display: none; }
@media (min-width: 1020px) {
  .nav { display: flex; align-items: center; gap: .15rem; margin-left: 1.4rem; }
  .nav__link {
    padding: .5rem .62rem; border-radius: var(--r-sm);
    font-size: .89rem; font-weight: 600; color: var(--ink-soft);
  }
  .nav__link:hover { background: var(--foam); color: var(--ink); text-decoration: none; }
  .nav__link[aria-current="page"] { color: var(--sea-deep); background: var(--foam); }
  .nav__group { position: relative; }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .5rem .62rem; border: 0; background: none; border-radius: var(--r-sm);
    font-size: .89rem; font-weight: 600; color: var(--ink-soft);
  }
  .nav__toggle::after {
    content: ""; width: 6px; height: 6px; border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px);
  }
  .nav__group:hover .nav__toggle, .nav__group:focus-within .nav__toggle { background: var(--foam); color: var(--ink); }
  .nav__drop {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 265px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--sh-2); padding: .5rem; margin: 0; list-style: none;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .16s, transform .16s, visibility .16s;
  }
  .nav__group:hover .nav__drop, .nav__group:focus-within .nav__drop {
    opacity: 1; visibility: visible; transform: none;
  }
  .nav__drop a {
    display: block; padding: .5rem .65rem; border-radius: var(--r-sm);
    font-size: .88rem; font-weight: 500; color: var(--ink-soft);
  }
  .nav__drop a:hover { background: var(--foam-pale); color: var(--sea-deep); text-decoration: none; }
  .nav__drop small { display: block; font-size: .74rem; color: var(--ink-faint); font-weight: 400; }
}

/* Mobile drawer */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 42px; height: 42px; padding: 0 9px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1020px) { .burger { display: none; } }

.drawer {
  display: none;
  border-top: 1px solid var(--line);
  max-height: calc(100vh - 66px); overflow-y: auto;
  background: #fff; padding: .9rem 0 1.6rem;
}
.drawer[data-open="true"] { display: block; }
@media (min-width: 1020px) { .drawer { display: none !important; } }
.drawer__group { border-bottom: 1px solid var(--line-soft); padding: .35rem 0; }
.drawer__head {
  font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--sea); padding: .6rem .2rem .3rem; margin: 0;
}
.drawer__list { list-style: none; margin: 0 0 .5rem; padding: 0; }
.drawer__list a {
  display: block; padding: .62rem .2rem; font-size: .97rem; font-weight: 500; color: var(--ink);
  border-radius: var(--r-sm);
}
.drawer__list a:hover { color: var(--sea-deep); text-decoration: none; }

/* --- 5. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.4rem; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-size: .96rem; font-weight: 700; letter-spacing: -.005em;
  text-align: center; line-height: 1.25; cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--go { background: var(--coral); color: #fff; box-shadow: 0 3px 12px rgba(226, 100, 58, .32); }
.btn--go:hover { background: var(--coral-dark); box-shadow: 0 6px 20px rgba(226, 100, 58, .38); color: #fff; }
.btn--sea { background: var(--sea); color: #fff; box-shadow: 0 3px 12px rgba(15, 127, 155, .28); }
.btn--sea:hover { background: var(--sea-deep); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.btn--ghost:hover { border-color: var(--sea); color: var(--sea-deep); }
.btn--clear { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--clear:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn--sm { padding: .6rem 1.05rem; font-size: .87rem; }
.btn--wide { width: 100%; }
.btn__note { display: block; font-size: .7rem; font-weight: 500; opacity: .85; margin-top: .1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 479px) {
  .btn-row .btn { width: 100%; }
  .helm .btn { padding: .58rem .9rem; font-size: .84rem; }
}

/* --- 6. Deck (hero) ----------------------------------------------------- */
.deck {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #0a4658 0%, #08333f 58%, #062733 100%);
  color: #fff; padding: 2.6rem 0 0;
}
/* Scrim sits above the photo, below the content: guarantees text contrast
   whether the hero shot is a dark harbour or a bleached midday beach. */
.deck::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(6, 39, 51, .82) 0%, rgba(6, 39, 51, .55) 48%, rgba(6, 39, 51, .34) 100%),
    radial-gradient(760px 420px at 88% -8%, rgba(239, 176, 44, .2), transparent 68%),
    radial-gradient(620px 400px at 4% 108%, rgba(15, 127, 155, .34), transparent 70%);
  pointer-events: none;
}
@media (max-width: 999px) {
  /* Single column: copy runs the full width, so the scrim must be even. */
  .deck::before {
    background:
      linear-gradient(180deg, rgba(6, 39, 51, .74) 0%, rgba(6, 39, 51, .6) 55%, rgba(6, 39, 51, .78) 100%),
      radial-gradient(620px 400px at 4% 108%, rgba(15, 127, 155, .3), transparent 70%);
  }
}
.deck__photo {
  position: absolute; inset: 0; z-index: 0;
  object-fit: cover; width: 100%; height: 100%;
  opacity: .85; filter: saturate(1.05);
}
.deck__inner { position: relative; z-index: 2; }
.deck h1 { color: #fff; }
.deck__grid { display: grid; gap: 1.9rem; padding-bottom: 2.4rem; }
@media (min-width: 1000px) {
  .deck { padding-top: 3.4rem; }
  .deck__grid { grid-template-columns: 1.06fr .94fr; gap: 3rem; align-items: start; padding-bottom: 3.4rem; }
}
.deck__copy { max-width: 42rem; }
.deck__lede { font-size: clamp(1.04rem, 1.9vw, 1.2rem); color: #cde4ea; line-height: 1.6; margin-bottom: 1.5rem; }

.pin {
  display: inline-flex; align-items: center; gap: .48rem;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px; padding: .34rem .8rem .34rem .55rem; margin-bottom: 1.1rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .04em; color: #d8ecf1;
}
.pin__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 0 3px rgba(239, 176, 44, .25); }

/* Hero fact strip */
.facts {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .1rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
@media (min-width: 1200px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li { padding: .95rem .5rem .2rem 0; }
.facts dt, .facts b {
  display: block; font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; color: #fff;
}
.facts dd, .facts span {
  display: block; margin: .1rem 0 0; font-size: .74rem; letter-spacing: .07em;
  text-transform: uppercase; color: #93b8c2; font-weight: 600;
}

/* Booking widget card in hero */
.berth {
  background: #fff; color: var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--sh-3);
  padding: 1.15rem 1.15rem 1rem; position: relative;
}
@media (min-width: 1000px) { .berth { padding: 1.4rem; position: sticky; top: 86px; } }
.berth__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; margin-bottom: .9rem; }
.berth__title {
  font-family: var(--font-display); font-size: 1.13rem; font-weight: 700; margin: 0; line-height: 1.3;
}
.berth__sub { font-size: .8rem; color: var(--ink-faint); margin: .2rem 0 0; }
.berth__flag {
  flex: none; font-size: .64rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  background: var(--foam); color: var(--sea-deep); padding: .32rem .55rem; border-radius: 999px;
}
.berth__widget { min-height: 132px; }
.berth__widget > span { font-size: .72rem; color: var(--ink-faint); }
.berth__foot {
  margin: .85rem 0 0; padding-top: .8rem; border-top: 1px dashed var(--line);
  font-size: .74rem; color: var(--ink-faint); line-height: 1.5;
}
.berth__foot a { color: var(--sea-deep); }

/* Wave cut at hero bottom */
.deck__wave { position: relative; z-index: 2; display: block; width: 100%; height: 44px; }
.deck__wave svg { display: block; width: 100%; height: 100%; }

/* --- 7. Disclaimer (subtle, hover-revealed) ----------------------------- */
.disc-chip {
  display: inline-flex; align-items: center; gap: .38rem; position: relative;
  margin-top: 1.15rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .02em;
  color: rgba(255, 255, 255, .62);
  border-bottom: 1px dotted rgba(255, 255, 255, .42);
  padding-bottom: 1px; cursor: help; background: none; border-top: 0; border-left: 0; border-right: 0;
}
.disc-chip:hover, .disc-chip:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }
.disc-chip__i {
  width: 13px; height: 13px; border-radius: 50%; flex: none;
  border: 1px solid currentColor; font-size: .58rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; font-style: normal;
}
.disc-chip__pop {
  position: absolute; bottom: calc(100% + 9px); left: 0; z-index: 40;
  width: min(21rem, calc(100vw - 2.6rem));
  background: #fff; color: var(--ink-soft);
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--r-md); box-shadow: var(--sh-3);
  padding: .8rem .9rem; font-size: .78rem; font-weight: 400; line-height: 1.55;
  letter-spacing: 0; text-align: left; text-transform: none;
  opacity: 0; visibility: hidden; transform: translateY(5px);
  transition: opacity .17s, transform .17s, visibility .17s;
}
.disc-chip:hover .disc-chip__pop,
.disc-chip:focus-visible .disc-chip__pop,
.disc-chip[aria-expanded="true"] .disc-chip__pop { opacity: 1; visibility: visible; transform: none; }
.disc-chip__pop b { color: var(--ink); }

/* --- 8. Ledger (quick summary table) ------------------------------------ */
.ledger-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); max-width: 100%; }
.ledger {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: .95rem;
}
/* Two-column key/value tables must fit a phone; only the wide multi-column
   comparison tables get a min-width and scroll sideways. */
.ledger--cols { min-width: 34rem; }
.ledger caption {
  caption-side: top; text-align: left; padding: 0 0 .7rem;
  font-size: .8rem; color: var(--ink-faint);
}
.ledger th, .ledger td { padding: .82rem 1rem; text-align: left; vertical-align: top; }
.ledger tbody tr + tr { border-top: 1px solid var(--line-soft); }
.ledger th {
  width: 38%; font-weight: 700; color: var(--ink); background: var(--foam-pale);
  border-right: 1px solid var(--line-soft);
}
.ledger td { color: var(--ink-soft); }
.ledger td strong { color: var(--ink); }
.ledger--cols th { width: auto; background: var(--ink); color: #fff; border-right: 1px solid rgba(255,255,255,.12); }
.ledger--cols thead th:first-child { border-top-left-radius: var(--r-md); }
.ledger--cols thead th:last-child { border-top-right-radius: var(--r-md); border-right: 0; }
.ledger--cols td { border-right: 1px solid var(--line-soft); }
.ledger--cols td:last-child { border-right: 0; }

.tag-check { color: #17795c; font-weight: 700; }
.tag-cross { color: #b0483a; font-weight: 700; }

/* --- 9. Stub (ticket comparison card) ----------------------------------- */
.stub-set { display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .stub-set { grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); } }
.stub {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.3rem 1.25rem 1.35rem;
  display: flex; flex-direction: column; box-shadow: var(--sh-1);
}
/* punched notches on the vertical edges */
.stub::before, .stub::after {
  content: ""; position: absolute; top: 3.9rem; width: 15px; height: 15px;
  background: var(--sand); border: 1px solid var(--line); border-radius: 50%;
}
.stub::before { left: -8px; clip-path: inset(0 0 0 50%); }
.stub::after { right: -8px; clip-path: inset(0 50% 0 0); }
.band--foam .stub::before, .band--foam .stub::after { background: var(--foam-pale); }
.stub--pick { border-color: var(--sea); box-shadow: 0 0 0 3px rgba(15, 127, 155, .12), var(--sh-2); }
.stub__flag {
  position: absolute; top: -.72rem; left: 1.2rem;
  background: var(--sea); color: #fff; border-radius: 999px; padding: .26rem .7rem;
  font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.stub__kind {
  font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
  color: var(--sea); margin: 0 0 .4rem;
}
.stub__name { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 .5rem; }
.stub__price {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--ink);
  margin: 0 0 .1rem; line-height: 1.1;
}
.stub__price small { font-family: var(--font-body); font-size: .74rem; font-weight: 600; color: var(--ink-faint); }
.stub__rule { border: 0; border-top: 1px dashed var(--line); margin: .95rem 0; }
.stub__list { list-style: none; margin: 0 0 1.1rem; padding: 0; font-size: .89rem; color: var(--ink-soft); }
.stub__list li { position: relative; padding: .3rem 0 .3rem 1.4rem; }
.stub__list li::before {
  content: ""; position: absolute; left: 0; top: .78rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--foam); border: 2px solid var(--sea);
}
.stub__list li.no::before { background: #f3e3e0; border-color: #c98275; }
.stub__who {
  margin-top: auto; padding: .7rem .8rem; background: var(--sand); border-radius: var(--r-sm);
  font-size: .82rem; color: var(--ink-soft);
}
.stub__who b { color: var(--ink); }

/* --- 10. Cards / tiles -------------------------------------------------- */
.grid { display: grid; gap: 1.1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #cfdcda; }
.card__shot { position: relative; aspect-ratio: 16 / 10; background: var(--foam); overflow: hidden; }
.card__shot img { width: 100%; height: 100%; object-fit: cover; }
.card__pill {
  position: absolute; top: .65rem; left: .65rem;
  background: rgba(8, 51, 63, .82); color: #fff; backdrop-filter: blur(4px);
  border-radius: 999px; padding: .28rem .62rem;
  font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.card__body { padding: 1.05rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 .4rem; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--sea-deep); text-decoration: none; }
.card__text { font-size: .89rem; color: var(--ink-soft); margin: 0 0 .9rem; line-height: 1.58; }
.card__meta {
  margin-top: auto; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-size: .76rem; color: var(--ink-faint); font-weight: 600;
}
.card__go {
  margin-top: auto; font-size: .85rem; font-weight: 700; color: var(--sea-deep);
  display: inline-flex; align-items: center; gap: .35rem;
}
.card__go::after { content: "\2192"; transition: transform .16s; }
.card:hover .card__go::after { transform: translateX(3px); }

/* Compact link list card (hub sections) */
.slate {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.15rem 1.2rem;
}
.slate__head { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.slate__ico {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: var(--foam); color: var(--sea-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.slate__ico svg { width: 18px; height: 18px; }
.slate__title { font-family: var(--font-display); font-size: 1.06rem; margin: 0; }
.slate__list { list-style: none; margin: 0; padding: 0; }
.slate__list li + li { border-top: 1px solid var(--line-soft); }
.slate__list a {
  display: flex; justify-content: space-between; gap: .6rem; align-items: baseline;
  padding: .52rem 0; font-size: .89rem; font-weight: 500; color: var(--ink-soft);
}
.slate__list a:hover { color: var(--sea-deep); text-decoration: none; }
.slate__list em { font-style: normal; font-size: .74rem; color: var(--ink-faint); flex: none; }

/* --- 11. Lantern (tip / insider / note boxes) --------------------------- */
.lantern {
  background: var(--sand); border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0; padding: 1.05rem 1.15rem; margin: 1.6rem 0;
}
.lantern__title {
  font-family: var(--font-body); font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: #9a6f14; margin: 0 0 .45rem;
}
.lantern p { font-size: .93rem; color: var(--ink-soft); }
.lantern--sea { background: var(--foam-pale); border-left-color: var(--sea); }
.lantern--sea .lantern__title { color: var(--sea-deep); }
.lantern--warn { background: #fdf1ee; border-left-color: var(--coral); }
.lantern--warn .lantern__title { color: var(--coral-dark); }

/* Data-source citation line */
.cite {
  display: block; font-size: .74rem; color: var(--ink-faint); font-style: normal;
  margin-top: .55rem; padding-left: .7rem; border-left: 2px solid var(--line);
}
.cite a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }

/* Unverified-figure marker */
.tbc {
  background: #fff6e3; color: #8a6512; border-bottom: 1px dotted #c99a2b;
  padding: 0 .18rem; font-size: .95em; border-radius: 2px;
}

/* --- 12. Prose ---------------------------------------------------------- */
.prose { max-width: 46rem; }
.prose > h2 { margin-top: 2.4rem; }
.prose > h3 { margin-top: 1.8rem; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--sea); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote {
  margin: 1.6rem 0; padding: .3rem 0 .3rem 1.2rem; border-left: 3px solid var(--foam);
  font-family: var(--font-display); font-size: 1.12rem; color: var(--ink-soft); font-style: italic;
}

.checks { list-style: none; margin: 0 0 1.3rem; padding: 0; }
.checks li { position: relative; padding: .34rem 0 .34rem 1.7rem; font-size: .96rem; color: var(--ink-soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .68rem;
  width: 10px; height: 6px; border-left: 2.2px solid var(--sea); border-bottom: 2.2px solid var(--sea);
  transform: rotate(-45deg);
}

/* --- 13. Hatch (FAQ accordion) ------------------------------------------ */
.hatch-set { border-top: 1px solid var(--line); max-width: 48rem; }
.hatch { border-bottom: 1px solid var(--line); }
.hatch summary {
  display: flex; align-items: flex-start; gap: .9rem; justify-content: space-between;
  padding: 1.05rem .2rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--ink);
}
.hatch summary::-webkit-details-marker { display: none; }
.hatch summary:hover { color: var(--sea-deep); }
.hatch__sign {
  flex: none; position: relative; width: 20px; height: 20px; margin-top: .2rem;
  border-radius: 50%; background: var(--foam);
}
.hatch__sign::before, .hatch__sign::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--sea-deep);
  transform: translate(-50%, -50%); border-radius: 2px;
}
.hatch__sign::before { width: 9px; height: 1.8px; }
.hatch__sign::after { width: 1.8px; height: 9px; transition: opacity .18s; }
.hatch[open] .hatch__sign::after { opacity: 0; }
.hatch__body { padding: 0 .2rem 1.15rem; font-size: .95rem; color: var(--ink-soft); max-width: 44rem; }
.hatch__body p { margin-bottom: .8rem; }

/* --- 14. GYG widget frames ---------------------------------------------- */
.gyg {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: .8rem; min-height: 240px;
}
.gyg > span { font-size: .74rem; color: var(--ink-faint); }
.gyg > span a { color: var(--ink-soft); }
.gyg-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem;
  margin: 0 0 1.15rem; font-size: .78rem; color: var(--ink-faint);
}
.gyg-note strong { color: var(--ink-soft); font-weight: 600; }

/* --- 15. Route strip (steps / how to get there) ------------------------- */
.route { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: leg; }
@media (min-width: 780px) { .route { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); } }
.route li {
  position: relative; counter-increment: leg;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 2.3rem 1.05rem 1.1rem;
}
.route li::before {
  content: counter(leg); position: absolute; top: .85rem; left: 1.05rem;
  width: 25px; height: 25px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-family: var(--font-display); font-size: .84rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.route h3 { font-size: 1rem; margin: 0 0 .35rem; }
.route p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* --- 16. Figures / gallery ---------------------------------------------- */
.shot { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); background: var(--foam); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot--tall img { aspect-ratio: 3 / 4; }
.shot--wide img { aspect-ratio: 16 / 9; }
.shot figcaption {
  padding: .65rem .9rem; background: #fff; font-size: .78rem; color: var(--ink-faint);
  border-top: 1px solid var(--line-soft);
}
.mosaic { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .mosaic { grid-template-columns: repeat(4, 1fr); } }
.mosaic .shot { border-radius: var(--r-md); }
.mosaic .shot img { aspect-ratio: 1 / 1; }

/* --- 17. Crumbs --------------------------------------------------------- */
.crumbs { padding: .85rem 0; font-size: .8rem; color: var(--ink-faint); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs a { color: var(--ink-soft); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* --- 18. CTA band ------------------------------------------------------- */
.hail {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #0a5f76, #08333f 72%);
  color: #fff; border-radius: var(--r-lg); padding: 2.1rem 1.4rem;
  text-align: center;
}
.hail::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 82% 12%, rgba(239, 176, 44, .2), transparent 68%);
  pointer-events: none;
}
@media (min-width: 760px) { .hail { padding: 2.7rem 2.4rem; } }
.hail__in { position: relative; z-index: 2; max-width: 40rem; margin: 0 auto; }
.hail h2 { color: #fff; margin-bottom: .6rem; }
.hail p { color: #c6dee4; font-size: 1rem; margin-bottom: 1.4rem; }
.hail .btn-row { justify-content: center; }

/* --- 19. Keel (footer) -------------------------------------------------- */
.keel { background: var(--ink); color: #a9c6ce; padding: 2.8rem 0 1.4rem; font-size: .89rem; }
.keel a { color: #cfe4e9; }
.keel a:hover { color: #fff; }
.keel__grid { display: grid; gap: 1.9rem; }
@media (min-width: 760px) { .keel__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.2rem; } }
.keel__brand { display: flex; align-items: center; gap: .55rem; margin-bottom: .8rem; }
.keel__brand .brand__name { color: #fff; }
.keel__brand .brand__tld { color: var(--gold); }
.keel h3 {
  font-family: var(--font-body); font-size: .72rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; color: #fff; margin: 0 0 .8rem;
}
.keel ul { list-style: none; margin: 0; padding: 0; }
.keel li { margin-bottom: .48rem; }
.keel__note { font-size: .85rem; line-height: 1.6; max-width: 24rem; }
.keel__legal {
  margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .13);
  display: grid; gap: 1rem;
}
@media (min-width: 860px) { .keel__legal { grid-template-columns: 1fr auto; align-items: start; } }
.keel__disc {
  font-size: .77rem; line-height: 1.62; color: #8fb0ba; max-width: 56rem;
}
.keel__disc b { color: #d6e8ec; }
.keel__mini { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .95rem; margin: 0; padding: 0; font-size: .78rem; }
.keel__copy { font-size: .77rem; color: #7fa2ad; margin: 1rem 0 0; }

/* --- 20. Utilities ------------------------------------------------------ */
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.mt-1 { margin-top: .8rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.2rem; }
.mb-2 { margin-bottom: 1.5rem; } .mb-3 { margin-bottom: 2.2rem; }
.center { text-align: center; }
.wrap-head { max-width: 44rem; margin-bottom: 1.9rem; }
.wrap-head.center { margin-left: auto; margin-right: auto; }
.nowrap { white-space: nowrap; }
.small { font-size: .84rem; color: var(--ink-faint); }

.center .eyebrow, .eyebrow--center { justify-content: center; }
.btn-row--center { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .card:hover, .btn:hover { transform: none; }
}

@media print {
  .mast, .drawer, .berth, .gyg, .hail, .burger { display: none !important; }
  body { font-size: 11pt; }
}
