:root {
  /* The descent: each band is a depth. */
  --sun: #0d74a8; --reef: #0a5f93; --shelf: #084c7c; --open: #063a66; --deep: #042a4f; --abyss: #021b36;
  --bg: var(--deep); --surface: rgba(255,255,255,0.07); --surface-2: rgba(255,255,255,0.13);
  --ink: #f1fbff; --muted: #d4eff8;
  --glow: #5ff0e0; --glow-2: #2fd3d8;
  --accent: #e63b3f; --accent-ink: #ffffff;
  --paper: #def6f6; --paper-ink: #042a4f; --paper-muted: #19506e;
  --cold: #9fd2ff; --mild: #e9fbf4; --warm: #ffcc4d; --off: rgba(10, 35, 60, 0.7);
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-text: "Figtree", "Segoe UI", system-ui, sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1rem, 0.97rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --step-head: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  --step-big: clamp(3rem, 8vw, 8rem);
  --margin: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(.16,1,.3,1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; } p { max-width: 62ch; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: var(--margin); top: 8px; background: var(--paper); color: var(--paper-ink); padding: 8px 12px; z-index: 9; }
.wrap { padding-left: var(--margin); padding-right: var(--margin); }
.soft { color: var(--muted); }
h1, h2, .word, .count, .card h3, .site h3, .region h2 { font-family: var(--font-display); }
h1, h2 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
::selection { background: var(--glow); color: var(--abyss); }
html { scrollbar-color: var(--glow-2) var(--abyss); }
a { text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { text-decoration-color: var(--glow); }
h2 { font-size: var(--step-head); max-width: 20ch; }

/* Bar */
.bar { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
.word { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; text-decoration: none; margin-right: auto; }
.bar nav { display: flex; gap: 24px; font-size: var(--step-small); }
.bar nav a { text-decoration: none; padding: 6px 0; } .bar nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: 10px 16px; font-size: var(--step-small); font-weight: 600; transition: background .2s, transform .15s var(--ease); }
.btn:hover { background: #b9201f; } .btn:active { transform: scale(.98); }

/* Finder: filters, map, results */
.finder { padding-top: 24px; padding-bottom: 96px; }
.finder-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.finder-head h1 { font-size: clamp(2.5rem, 5.6vw, 6rem); letter-spacing: -0.04em; line-height: .95; max-width: 14ch; }
.lead { font-size: var(--step-lead); line-height: 1.35; color: var(--ink); }
.finder-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.filters { display: grid; gap: 22px; }
.filters fieldset { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.filters legend { font-size: var(--step-body); font-weight: 600; margin-bottom: 8px; padding: 0; }
.chip { font-family: inherit; font-size: var(--step-small); background: var(--surface-2); color: var(--ink); border: 0; padding: 8px 10px; min-height: 40px; cursor: pointer; transition: background .2s, transform .15s var(--ease); text-align: left; }
.chip:hover { background: #2a454c; } .chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--paper-ink); font-weight: 600; }
#months .chip { min-width: 52px; text-align: center; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.sw.warm { background: var(--warm); } .sw.mild { background: var(--mild); } .sw.cold { background: var(--cold); } .sw.off { background: var(--off); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step-small); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 1px; }
.later { font-size: var(--step-small); color: var(--muted); }
.link { background: none; border: 0; color: var(--ink); font: inherit; font-size: var(--step-small); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; justify-self: start; padding: 4px 0; }

.mapbox { background: var(--surface); padding: 20px; position: sticky; top: 12px; }
.mapbox svg { width: 100%; height: auto; display: block; }
.land { fill: #2b4248; }
.pin { stroke: var(--bg); stroke-width: 1.2; cursor: pointer; transition: r .25s var(--ease), fill .4s, opacity .3s; }
.pin.cold { fill: var(--cold); } .pin.mild { fill: var(--mild); } .pin.warm { fill: var(--warm); }
.pin.off { fill: var(--off); opacity: .8; }
.pin:hover, .pin:focus, .pin.sel { r: 8; outline: none; }
.pin.sel { stroke: var(--ink); stroke-width: 2; }
.key { display: flex; gap: 18px; flex-wrap: wrap; font-size: var(--step-small); margin-top: 14px; max-width: none; }
.note { font-size: var(--step-small); color: var(--muted); margin-top: 8px; }

.results { display: grid; gap: 12px; }
.count { font-size: var(--step-lead); letter-spacing: -0.01em; }
.cards { list-style: none; padding: 0; display: grid; gap: 6px; max-height: 76svh; overflow: auto; }
.card { background: var(--surface); padding: 14px 16px; display: grid; gap: 4px; transition: background .2s; scroll-margin: 8px; }
.card:hover, .card.sel { background: var(--surface-2); }
.card h3 { font-size: 1.1875rem; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card h3 .t { font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: var(--step-small); }
.card .where { font-size: var(--step-small); color: var(--muted); }
.card ul { list-style: none; padding: 0; font-size: var(--step-small); display: grid; gap: 2px; }
.card a { font-size: var(--step-small); font-weight: 600; margin-top: 4px; }
.card .soon { font-size: var(--step-small); color: var(--muted); margin-top: 4px; }

/* Guides list */
.guides { padding-top: 32px; padding-bottom: 120px; }
.guides h2 { margin-bottom: 10px; }
.guide-list { margin-top: 28px; columns: 4 220px; column-gap: 32px; }
.guide-list div { break-inside: avoid; margin-bottom: 22px; }
.guide-list h3 { font-size: var(--step-body); font-weight: 600; margin-bottom: 6px; }
.guide-list a, .guide-list span { display: block; font-size: var(--step-small); padding: 2px 0; }
.guide-list span { color: var(--muted); }

/* Places strip */
.places { padding-bottom: 120px; }
.places-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 var(--margin); }
.strip img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.strip figure { overflow: hidden; } .strip figure:hover img { transform: scale(1.03); }
.strip figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 8px; } .strip b { color: var(--ink); font-weight: 600; display: block; }

/* Method on paper */
.method { background: var(--paper); color: var(--paper-ink); padding: 120px 0; }
.method-grid { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: start; }
.method p { color: var(--paper-muted); margin-top: 18px; }
.slip { background: #f2f4f2; padding: 28px 28px 52px; font-variant-numeric: tabular-nums; font-size: 1rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 95% 100%, 90% calc(100% - 14px), 85% 100%, 80% calc(100% - 14px), 75% 100%, 70% calc(100% - 14px), 65% 100%, 60% calc(100% - 14px), 55% 100%, 50% calc(100% - 14px), 45% 100%, 40% calc(100% - 14px), 35% 100%, 30% calc(100% - 14px), 25% 100%, 20% calc(100% - 14px), 15% 100%, 10% calc(100% - 14px), 5% 100%, 0 calc(100% - 14px)); }
.slip h3 { font-size: 1rem; font-weight: 600; margin: 24px 0 8px; } .slip h3:first-child { margin-top: 0; }
.slip .line { display: flex; gap: 8px; align-items: baseline; padding: 3px 0; color: var(--paper-ink); margin: 0; max-width: none; }
.slip .line::after { content: ""; order: 1; flex: 1; border-bottom: 3px dotted #9aa3a2; transform: translateY(-4px); }
.slip .line span:last-child { order: 2; }
.slip .total { background: var(--paper-ink); color: var(--paper); display: flex; justify-content: space-between; padding: 12px 14px; margin-top: 24px; font-weight: 600; max-width: none; }

/* FAQ */
.faq { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.faq-text { columns: 2; column-gap: 48px; } .faq-text p { break-inside: avoid; margin-bottom: 20px; } .faq-text b { font-weight: 600; }

/* Footer */
.foot { background: var(--surface); padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px 40px; }
.word.big { font-size: var(--step-big); letter-spacing: -0.045em; line-height: .9; grid-column: 1 / -1; max-width: none; }
.foot nav { display: grid; gap: 8px; align-content: start; order: 2; }
.foot nav a { text-decoration: none; font-size: var(--step-lead); } .foot nav a:hover { text-decoration: underline; }
.fine { font-size: var(--step-small); color: var(--muted); display: grid; gap: 10px; }
.fine a { color: var(--ink); }

/* Motion */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
.pin { animation: pop .6s var(--ease) both; animation-delay: calc(var(--i) * 12ms); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px); } }
.pin { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .rise { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .finder-grid { grid-template-columns: 240px minmax(0, 1fr); }
  .results { grid-column: 1 / -1; } .cards { max-height: none; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 760px) {
  .bar nav { display: none; }
  .finder-head, .places-head, .method-grid, .faq, .foot-grid { grid-template-columns: 1fr; }
  .finder-grid { grid-template-columns: 1fr; }
  .mapbox { order: -1; position: relative; top: 0; padding: 12px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .faq-text { columns: 1; }
}

.warn { color: #ffb4b0; font-weight: 600; }

/* Site pages */
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--step-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.page { padding-top: 32px; padding-bottom: 120px; }
.page h1 { font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -0.04em; line-height: .95; max-width: 18ch; }
.page .lead { margin-top: 20px; }
.prose { margin-top: 40px; max-width: 68ch; } .prose h2 { margin: 48px 0 14px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.prose p, .prose li { margin-top: 12px; } .prose ul { padding-left: 1.2em; }
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 32px; margin-top: 48px; max-width: none; }
.region h2 { font-size: var(--step-lead); margin-bottom: 10px; } .region ul { list-style: none; padding: 0; } .region li { padding: 3px 0; }
.guide { padding-bottom: 120px; padding-top: 24px; }
.g-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.g-head h1 { font-size: clamp(2.75rem, 7vw, 7.5rem); letter-spacing: -0.04em; line-height: .95; }
.g-hero { margin-top: 40px; } .g-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 8px; }
.status { background: var(--paper); color: var(--paper-ink); padding: 18px 20px; margin: 40px 0 6px; }
.status + .status { margin-top: 6px; } .warnbox { background: #f6d7d5; }
.key-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px; }
.key-facts div { background: var(--surface); padding: 18px; display: grid; gap: 6px; align-content: start; }
.key-facts dt { font-size: var(--step-small); color: var(--muted); }
.src, .src a { font-size: var(--step-small); color: var(--muted); }
.g-sec { padding-top: 112px; } .two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.g-sec h2 { margin-bottom: 14px; }
.temps { list-style: none; padding: 0; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.temps li { display: grid; grid-template-columns: 44px 1fr 150px; gap: 12px; align-items: center; }
.temps .bar { height: 22px; width: var(--w); } .temps .bar.warm { background: var(--warm); } .temps .bar.mild { background: var(--mild); } .temps .bar.cold { background: var(--cold); }
.temps .v { font-size: var(--step-small); text-align: right; }
.rules { padding-left: 1.1em; display: grid; gap: 12px; } .rules .src, .site .src { display: block; }
.site-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 6px; margin-top: 20px; }
.site { background: var(--surface); padding: 18px; } .site h3 { font-size: var(--step-lead); font-weight: 600; margin-bottom: 8px; }
.site ul { padding-left: 1.1em; display: grid; gap: 8px; font-size: var(--step-small); }
.related ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.disclose { font-size: var(--step-small); color: var(--muted); }
.cmp-form { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.cmp-form label { display: grid; gap: 6px; font-size: var(--step-small); font-weight: 600; }
.cmp-form select { font: inherit; font-size: var(--step-body); background: var(--surface-2); color: var(--ink); border: 0; padding: 10px 12px; min-width: 220px; }
.cmp-table-wrap { overflow-x: auto; }
table.cmp { border-collapse: collapse; width: 100%; font-size: var(--step-body); font-variant-numeric: tabular-nums; }
.cmp th, .cmp td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--surface-2); }
.cmp thead th { font-size: var(--step-lead); font-weight: 600; } .cmp tbody th { font-weight: 400; color: var(--muted); }
.cmp tr.hl td, .cmp tr.hl th { background: var(--surface); color: var(--ink); }
@media (max-width: 760px) { .g-head, .two { grid-template-columns: 1fr; } .temps li { grid-template-columns: 36px 1fr 120px; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 6px; margin-top: 20px; } .gallery img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

.prose:has(.cmp-page) { max-width: none; } .cmp-page h2 { margin-top: 40px; }
.cmp th, .cmp td { font-size: var(--step-body); }

/* Depth bands: the page descends as you scroll. */
body { background: var(--deep); }
.bar, .finder { background: var(--sun); }
.crumbs { background: transparent; }
.guides { background: var(--reef); padding-top: 96px; }
.places { background: var(--shelf); padding-top: 96px; }
.method { background: var(--paper); }
.faq { background: var(--open); max-width: none; }
.foot { background: var(--abyss); }
.finder-head h1 { font-weight: 700; }
.mapbox { background: #062d55; padding: 0; overflow: hidden; }
.mapbox svg { display: block; }
.mapbox .key, .mapbox .note { padding: 0 18px; }
.mapbox .note { padding-bottom: 16px; }
.pin { stroke: #021b36; stroke-width: 1.6; filter: drop-shadow(0 0 4px rgba(255, 214, 102, 0.55)); }
.pin.off { filter: none; }
.chip { background: rgba(255,255,255,0.12); } .chip:hover { background: rgba(255,255,255,0.2); }
.chip[aria-pressed="true"] { background: var(--glow); color: var(--abyss); }
.card { background: rgba(2, 27, 54, 0.35); } 
.btn { border-radius: 999px; padding: 10px 18px; }
.status { border-radius: 4px; }
.key-facts div, .site, .card { border-radius: 4px; }
.temps .bar { border-radius: 0 3px 3px 0; }
.g-hero img, .gallery img, .strip img { border-radius: 4px; }
.cmp th, .cmp td { border-bottom-color: rgba(255,255,255,0.12); }
.cmp tr.hl td, .cmp tr.hl th { background: rgba(95, 240, 224, 0.14); }
.cmp-form select { background: rgba(255,255,255,0.12); border-radius: 4px; }

.card .thumb { width: calc(100% + 32px); margin: -14px -16px 8px; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 4px 4px 0 0; display: block; }

/* ===== Review fixes: the descent, top to bottom ===== */
:root { --shallow: #7ff3e6; --reefc: #38d9d6; --shelfc: #16b3cf; --openc: #0b5c9e; --deepc: #03214a; --off: #4a6d86; }
.band-shallow { --ink: #03214a; --muted: #0b3d5e; color: var(--ink); background: linear-gradient(180deg, var(--shallow) 0, var(--reefc) 420px, var(--shelfc) 100%); }
.bar { background: var(--shallow); color: #03214a; }
.bar a { color: #03214a; }
.band-reef { background: linear-gradient(180deg, var(--shelfc) 0, #0f8bbf 160px, #0d78ad 100%); --ink: #03214a; --muted: #06314f; color: var(--ink); }
.band-shelf { background: linear-gradient(180deg, #0d78ad 0, var(--openc) 200px, var(--openc) 100%); }
.band-open { background: linear-gradient(180deg, var(--openc) 0, #073e78 200px, #073e78 100%); color: var(--ink); }
.band-deep { background: linear-gradient(180deg, #073e78 0, var(--deepc) 220px, var(--deepc) 100%); }
.foot { background: linear-gradient(180deg, var(--deepc) 0, var(--abyss) 160px); }
.method p { color: var(--muted); }

/* Finder: full-bleed map, slim gauge rail, cards below */
.finder { padding: 8px 0 96px; }
.finder-head { margin-bottom: 28px; }
.finder-head h1 { color: #03214a; }
.mapstage { position: relative; width: 100%; height: clamp(320px, 62vh, 720px); background: #062d55; overflow: hidden; }
.mapstage svg { width: 100%; height: 100%; display: block; }
.readout { position: absolute; left: var(--margin); top: 18px; background: rgba(2, 27, 54, 0.78); color: #f1fbff; padding: 8px 14px; border-radius: 999px; font-size: var(--step-small); max-width: none; pointer-events: none; }
.readout b { font-family: var(--font-display); margin-right: 6px; }
.rail { display: flex; flex-wrap: wrap; align-items: end; gap: 18px 32px; padding-top: 20px; padding-bottom: 8px; }
.rail fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rail legend { font-size: var(--step-small); font-weight: 600; margin-bottom: 8px; padding: 0; }
.gauge { display: flex; position: relative; padding-top: 2px !important; }
.gauge::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(3, 33, 74, 0.35); }
.gauge .chip { background: transparent; color: #03214a; min-width: 0; min-height: 44px; padding: 8px 9px 12px; border-radius: 0; position: relative; font-weight: 600; }
.gauge .chip::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 8px; background: #03214a; transform: translateX(-50%); }
.gauge .chip[aria-pressed="true"] { background: #03214a; color: var(--shallow); }
.seg { display: flex; flex-wrap: wrap; gap: 4px; }
.seg .chip { background: rgba(3, 33, 74, 0.12); color: #03214a; border-radius: 999px; padding: 8px 14px; }
.seg .chip[aria-pressed="true"] { background: #03214a; color: var(--shallow); }
.rail-end { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.sel { display: grid; gap: 6px; font-size: var(--step-small); font-weight: 600; }
.sel select { font: inherit; font-weight: 400; background: rgba(3, 33, 74, 0.12); color: #03214a; border: 0; border-radius: 999px; padding: 9px 14px; min-height: 44px; }
.finder .check, .finder .link { color: #03214a; }
.finder .check input { accent-color: #03214a; }
.results { margin-top: 28px; }
.results .note { font-size: var(--step-small); color: var(--muted); margin: 6px 0 18px; }
.cards { max-height: none !important; overflow: visible !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: rgba(255, 255, 255, 0.82); color: #03214a; }
.card .where, .card .soon { color: #0b3d5e; }
.card:hover, .card.sel { background: #ffffff; box-shadow: 0 0 0 2px #03214a; }
.card .thumb.relief { height: auto; aspect-ratio: 16 / 7; background-image: url(/static/ocean-relief.webp); background-size: 1200% auto; background-repeat: no-repeat; }
.pin.off { fill: #4a6d86; opacity: .85; }
.sw.off { background: #4a6d86; }

/* How we check: a depth log, not a receipt */
.depthlog { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.depthlog caption { text-align: left; font-family: var(--font-display); font-size: var(--step-lead); margin-bottom: 10px; }
.depthlog th, .depthlog td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); vertical-align: top; }
.depthlog thead th { font-size: var(--step-small); color: var(--muted); font-weight: 600; }
.depthlog td:last-child { white-space: nowrap; }

/* Floor: display max 6rem; mobile nav */
.word.big { font-size: clamp(3rem, 8vw, 6rem); }
.g-head h1 { font-size: clamp(2.75rem, 6vw, 6rem); }
@media (max-width: 760px) {
  .bar { flex-wrap: wrap; }
  .bar nav { display: flex !important; order: 3; width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 4px; }
  .mapstage { height: 300px; }
  .gauge { flex-wrap: wrap; }
  .gauge .chip { padding: 8px 7px 12px; }
  .depthlog td:last-child { white-space: normal; }
}
.btn { background: #c4232a; } .btn:hover { background: #a51c22; }
@media (max-width: 760px) { .mapstage { height: auto; } .mapstage svg { height: auto; aspect-ratio: 996 / 370; } }
.bar a.btn { color: #ffffff; }
.card .thumb { max-width: none; }
.band-reef { --ink: #f1fbff; --muted: #e3f6fc; color: var(--ink); background: linear-gradient(180deg, #0d78ad 0, #0b6aa3 160px, #0b6aa3 100%); }
.band-shelf { background: linear-gradient(180deg, #0b6aa3 0, var(--openc) 200px, var(--openc) 100%); }
.finder { background: linear-gradient(180deg, var(--shallow) 0, var(--reefc) 420px, var(--shelfc) 75%, #0d78ad 100%); }
.band-reef .guide-list span { color: #d6f0f8; }

/* ===== Round 2: depth, scale, pictures ===== */
.finder-head h1 { font-size: clamp(3rem, 6.8vw, 6rem); max-width: 15ch; }
/* Sunlight through the surface: a slow caustic drift over the shallows. */
.band-shallow { position: relative; isolation: isolate; }
.band-shallow::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 560px; background: url(/static/caustics.png) 0 0 / 420px 420px repeat; opacity: .38; mix-blend-mode: soft-light; z-index: -1; animation: caustic 38s linear infinite; pointer-events: none; }
.bar { position: relative; z-index: 1; background: transparent; }
body > .bar { background: var(--shallow); }
@keyframes caustic { to { background-position: 420px 840px; } }
.ring { fill: none; stroke: #fff3c4; stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: ring 1.6s cubic-bezier(.16,1,.3,1) both; pointer-events: none; }
@keyframes ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }

/* Spotlight: one place, shown big */
.spotlight { position: relative; background: #0d78ad; color: #f1fbff; }
.spot-pic { margin: 0; }
.spot-pic img { width: 100%; height: clamp(420px, 72vh, 820px); object-fit: cover; display: block; border-radius: 0; }
.spot-pic figcaption { position: absolute; right: var(--margin); bottom: 12px; color: #e3f6fc; font-size: var(--step-small); max-width: 40ch; text-align: right; }
.spot-body { position: absolute; left: 0; right: 0; bottom: 0; padding-top: 140px; padding-bottom: 40px; background: linear-gradient(180deg, rgba(2,27,54,0) 0, rgba(2,27,54,.72) 55%, rgba(2,27,54,.86) 100%); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px 48px; align-items: end; }
.spot-when { grid-column: 1; font-size: var(--step-lead); color: var(--shallow); font-weight: 600; margin: 0; }
.spotlight h2 { grid-column: 1; font-size: clamp(3rem, 7vw, 6rem); max-width: none; letter-spacing: -0.04em; line-height: .95; }
.spotlight h2 a { text-decoration: none; color: #ffffff; }
.spotlight h2 a:hover { color: var(--shallow); }
.spot-facts { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 10px; margin: 0 0 6px; }
.spot-facts div { display: flex; justify-content: space-between; gap: 20px; background: rgba(255,255,255,.1); padding: 10px 14px; border-radius: 4px; }
.spot-facts dt { color: #d4eff8; } .spot-facts dd { font-weight: 600; font-variant-numeric: tabular-nums; margin: 0; }

/* Gallery of every destination */
.guides { padding-top: 112px; padding-bottom: 112px; }
.guides-lead { font-size: var(--step-lead); max-width: 52ch; margin: 14px 0 8px; }
.region-tiles { margin-top: 96px; }
.region-tiles h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); font-weight: 600; margin-bottom: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); grid-auto-rows: 200px; gap: 8px; }
.tile { position: relative; overflow: hidden; border-radius: 4px; background: #062d55; color: #fff; text-decoration: none; display: block; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile img, .tile .relief { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.tile .relief { display: block; background: url(/static/ocean-relief.webp) no-repeat; background-size: 800% auto; }
.tile::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(180deg, rgba(2,27,54,0), rgba(2,27,54,.85)); }
.tname, .ttemp, .tstate { position: absolute; left: 14px; right: 14px; z-index: 1; }
.tname { bottom: 50px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.tile.big .tname { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.75rem); bottom: 58px; }
.ttemp { bottom: 30px; font-variant-numeric: tabular-nums; font-size: var(--step-small); }
.tstate { bottom: 10px; font-size: var(--step-small); color: #d4eff8; }
.has-guide .tstate { color: var(--shallow); font-weight: 600; }
a.tile:hover img { transform: scale(1.05); }
a.tile:focus-visible { outline: 3px solid var(--warm); outline-offset: 2px; }

/* Reel: a moving picture of the water */
.reel { margin-top: 28px; }
.reel video { width: 100%; height: clamp(320px, 62vh, 720px); object-fit: cover; display: block; }
.places .strip { padding: 0 var(--margin); margin-top: 8px; grid-template-columns: repeat(3, 1fr); }
.places .strip img { aspect-ratio: 4 / 3; }
.places-head p { font-size: var(--step-lead); }
@media (max-width: 760px) {
  .spot-body { position: static; background: #03214a; padding-top: 24px; grid-template-columns: 1fr; }
  .spot-facts { grid-column: 1; grid-row: auto; }
  .spot-pic img { height: 56vh; }
  .spot-pic figcaption { position: static; text-align: left; padding: 8px var(--margin) 0; background: #03214a; }
  .tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .tile.big { grid-row: span 2; }
  .places .strip { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .band-shallow::before { animation: none; } .reel video { display: none; } .reel { background: url(/static/reef-loop-poster.jpg) center / cover; height: 50vh; } }
@media (max-width: 1100px) { .finder-head { grid-template-columns: 1fr; gap: 16px; } .finder-head h1 { max-width: 16ch; } }
@media (max-width: 760px) { .spot-pic figcaption { display: none; } .spot-body::after { content: attr(data-cap); grid-column: 1; font-size: var(--step-small); color: #d4eff8; } }

@media (max-width: 1100px) { .method-grid { grid-template-columns: 1fr; } }

/* ===== Round 3: deep ocean blue from the top (teal ground removed) ===== */
:root { --top: #0b4a80; --top-2: #093f6f; --mid: #07345e; --low: #052a4f; --lower: #03213f; }
body > .bar, .bar { background: var(--top); color: #f1fbff; }
.bar a { color: #f1fbff; }
.bar a.btn { color: #ffffff; }
.band-shallow, .finder { --ink: #f1fbff; --muted: #cfe7f3; color: var(--ink); background: linear-gradient(180deg, var(--top) 0, var(--top-2) 100%); }
.band-shallow::before { opacity: .16; mix-blend-mode: screen; }
.finder-head h1 { color: #ffffff; }
.gauge::before { background: rgba(255,255,255,.28); }
.gauge .chip { color: #e8f6fc; }
.gauge .chip::after { background: rgba(255,255,255,.7); }
.gauge .chip[aria-pressed="true"], .seg .chip[aria-pressed="true"] { background: var(--glow); color: #03213f; }
.seg .chip { background: rgba(255,255,255,.12); color: #f1fbff; }
.sel select { background: rgba(255,255,255,.12); color: #f1fbff; }
.sel select option { color: #03213f; }
.finder .check, .finder .link { color: #f1fbff; }
.finder .check input { accent-color: var(--glow); }
.results .note { color: #cfe7f3; }
.card { background: rgba(255,255,255,.08); color: #f1fbff; }
.card .where, .card .soon { color: #cfe7f3; }
.card:hover, .card.sel { background: rgba(255,255,255,.14); box-shadow: 0 0 0 2px var(--glow); }
.spotlight { background: var(--top-2); }
.band-reef { background: linear-gradient(180deg, var(--top-2) 0, var(--mid) 100%); }
.band-shelf { background: linear-gradient(180deg, var(--mid) 0, var(--low) 100%); }
.band-open { background: linear-gradient(180deg, var(--low) 0, var(--lower) 100%); }
.band-deep { background: linear-gradient(180deg, var(--lower) 0, #021a33 100%); }
.foot { background: #01142a; }
.readout { background: rgba(1, 20, 42, .8); }

/* ===== Round 4: upscale expedition, subdued deep ocean ===== */
:root {
  --abyss: #061428; --navy: #0a1d36; --deep: #0c2644; --ocean: #11304f; --panel: #0f2a49; --panel-2: #143559;
  --ink: #edf2f5; --muted: #a9bac8; --brass: #c9a56b; --brass-2: #e3c995;
  --cold: #8fb6d9; --mild: #c9d6cf; --warm: #e2a866;
  --font-display: "Libre Caslon Display", "Bodoni 72", Georgia, serif;
}
body { background: var(--navy); color: var(--ink); }
h1, h2, .spotlight h2, .region-tiles h3, .card h3, .count { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
.word { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }
.finder-head h1 { font-size: clamp(3rem, 6.4vw, 6rem); line-height: 1; color: var(--ink); }
.lead { color: #d3dde5; }
/* Grounds: quiet steps of deep blue, no texture */
body > .bar, .bar { background: var(--navy); }
.band-shallow, .finder { background: var(--navy); }
.band-shallow::before { display: none; }
.spotlight { background: var(--abyss); }
.band-reef { background: var(--deep); }
.band-shelf { background: var(--navy); }
.band-open { background: var(--deep); }
.band-deep { background: var(--navy); }
.foot { background: var(--abyss); }
/* Action: brass, square */
.btn, .bar a.btn { background: var(--brass); color: #08182d !important; border-radius: 2px; font-weight: 600; letter-spacing: .01em; }
.btn:hover { background: var(--brass-2); }
a { text-decoration-color: rgba(201,165,107,.55); } a:hover { text-decoration-color: var(--brass); }
::selection { background: var(--brass); color: #08182d; }
/* Map: calm frame and refined markers */
.mapstage { background: #071a31; }
.pin { stroke: #061428; stroke-width: 1.1; filter: none; transition: r .3s var(--ease), fill .4s, opacity .3s; }
.pin.warm { fill: var(--warm); } .pin.mild { fill: var(--mild); } .pin.cold { fill: var(--cold); }
.pin.off { fill: #3c5068; opacity: .7; }
.pin.hot, .pin.sel, .pin:hover { r: 7; stroke: #ffffff; stroke-width: 1.6; }
.ring { stroke: rgba(255,255,255,.55); stroke-width: 1; }
.readout { background: rgba(6, 20, 40, .82); border: 1px solid rgba(255,255,255,.08); border-radius: 2px; }
/* Filter rail: hairline gauge, brass for the active state */
.gauge .chip { color: var(--muted); font-weight: 500; }
.gauge .chip[aria-pressed="true"] { background: transparent; color: var(--brass-2); }
.gauge .chip[aria-pressed="true"]::after { background: var(--brass); height: 12px; width: 3px; }
.seg .chip { background: rgba(255,255,255,.05); color: var(--ink); border: 1px solid rgba(255,255,255,.12); border-radius: 2px; }
.seg .chip[aria-pressed="true"] { background: var(--brass); color: #08182d; border-color: var(--brass); }
.sel select { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 2px; }
.finder .check input { accent-color: var(--brass); }
.chip:focus-visible, .onmap:focus-visible, a:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; }
/* Cards: photo, origin, name, visual temperature, map link */
.cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { background: var(--panel); color: var(--ink); padding: 0; border-radius: 3px; overflow: hidden; position: relative; display: flex; flex-direction: column; gap: 0; transition: background .25s, transform .35s var(--ease); }
.card:hover, .card.sel { background: var(--panel-2); box-shadow: 0 0 0 1px var(--brass); transform: translateY(-2px); }
.card .thumb { margin: 0; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; display: block; }
.card .thumb.relief { background-image: url(/static/ocean-relief.webp); background-size: 1200% auto; }
.card-body { padding: 14px 16px 16px; display: grid; gap: 8px; flex: 1; }
.origin { display: flex; align-items: center; gap: 8px; font-size: var(--step-small); color: var(--muted); margin: 0; }
.flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.18); flex: none; }
.card h3 { font-size: 1.6rem; line-height: 1.05; display: block; margin: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.temp { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 14px; }
.tnow { margin: 0; font-variant-numeric: tabular-nums; color: var(--muted); font-size: var(--step-small); line-height: 1.2; }
.tnow b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--ink); line-height: 1; }
.tnow span { display: block; }
.year { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; align-items: end; height: 38px; }
.year i { display: block; height: var(--h); background: var(--c); opacity: .55; border-radius: 1px 1px 0 0; }
.year i.now { opacity: 1; box-shadow: 0 0 0 1px #fff; }
.bits, .warn { font-size: var(--step-small); color: var(--muted); margin: 0; }
.warn { color: #f0b8b0; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 0; font-size: var(--step-small); position: relative; z-index: 1; pointer-events: none; }
.go { color: var(--brass-2); font-weight: 600; }
.soon { color: var(--muted); }
.onmap { pointer-events: auto; font: inherit; font-size: var(--step-small); color: var(--ink); background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 2px; padding: 6px 10px; cursor: pointer; min-height: 36px; }
.onmap:hover { border-color: var(--brass); color: var(--brass-2); }
/* Spotlight and gallery */
.spotlight h2 { font-size: clamp(3rem, 7vw, 6rem); line-height: 1; }
.spot-when { color: var(--brass-2); font-weight: 500; }
.spot-facts div { background: rgba(6,20,40,.55); border-radius: 2px; }
.tile { border-radius: 2px; }
.tname { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.tile.big .tname { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); }
.has-guide .tstate { color: var(--brass-2); }
.region-tiles h3 { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem); }
.depthlog th, .depthlog td { border-bottom-color: rgba(255,255,255,.1); }
.tile img.flag, .tname .flag { position: static; inset: auto; width: 18px; height: 14px; transition: none; transform: none !important; }
.card h3 a { font-size: inherit; font-weight: inherit; font-family: inherit; }
.year i { opacity: .5; }
.temp { grid-template-columns: auto 1fr; grid-template-rows: auto auto; }
.yr-range { grid-column: 2; font-size: 0.8125rem; color: var(--muted); text-align: right; margin-top: -4px; }

/* ===== Round 5: white grounds, dark ocean moments, soft depth ===== */
:root {
  --paper: #ffffff; --mist: #f3f6f9; --line-soft: #e3e9ef;
  --ink-dark: #0b1d33; --muted-dark: #4b5e72; --brass-ink: #8a6a2f;
  --shadow-1: 0 1px 2px rgba(11, 29, 51, .06), 0 4px 12px -4px rgba(11, 29, 51, .10);
  --shadow-2: 0 2px 4px rgba(11, 29, 51, .06), 0 14px 32px -10px rgba(11, 29, 51, .22);
  --shadow-3: 0 4px 8px rgba(11, 29, 51, .08), 0 26px 52px -16px rgba(11, 29, 51, .32);
}
.light, body > .bar, .bar, .finder, .band-shallow, .guides, .band-reef, .method, .band-open, .faq, .band-deep {
  --ink: var(--ink-dark); --muted: var(--muted-dark); color: var(--ink-dark);
}
body { background: var(--paper); }
body > .bar, .bar { background: rgba(255,255,255,.92); color: var(--ink-dark); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--line-soft); }
.bar a { color: var(--ink-dark); }
.crumbs { color: var(--muted-dark); }
.finder, .band-shallow { background: var(--paper); }
.finder-head h1 { color: var(--ink-dark); }
.lead { color: #33475c; }
.guides, .band-reef { background: var(--mist); }
.method, .band-open { background: var(--paper); }
.faq, .band-deep { background: var(--mist); }
.places, .band-shelf { background: var(--navy); color: #edf2f5; }
.places p { color: #c9d6e1; }
.spotlight { background: var(--abyss); }
.foot { background: var(--abyss); color: #edf2f5; }
/* Map sits on white as a deep-ocean plate */
.mapstage { box-shadow: 0 30px 60px -30px rgba(11, 29, 51, .45); }
.readout { background: rgba(255,255,255,.94); color: var(--ink-dark); border: 0; box-shadow: var(--shadow-1); }
/* Filter rail on white */
.gauge::before { background: var(--line-soft); }
.gauge .chip { color: var(--muted-dark); }
.gauge .chip::after { background: #9aabbd; }
.gauge .chip[aria-pressed="true"] { color: var(--ink-dark); }
.gauge .chip[aria-pressed="true"]::after { background: var(--brass); }
.seg .chip { background: var(--paper); color: var(--ink-dark); border: 1px solid var(--line-soft); box-shadow: var(--shadow-1); }
.seg .chip:hover { box-shadow: var(--shadow-2); }
.seg .chip[aria-pressed="true"] { background: var(--ink-dark); color: #ffffff; border-color: var(--ink-dark); }
.sel select { background: var(--paper); color: var(--ink-dark); border: 1px solid var(--line-soft); box-shadow: var(--shadow-1); }
.finder .check, .finder .link, .results .note { color: var(--muted-dark); }
.finder .link { color: var(--ink-dark); }
.count { color: var(--ink-dark); }
/* Cards: white, lifted */
.card { background: var(--paper); color: var(--ink-dark); box-shadow: var(--shadow-1); border-radius: 6px; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.card:hover, .card.sel { background: var(--paper); box-shadow: var(--shadow-3); transform: translateY(-4px); }
.card.sel { box-shadow: var(--shadow-3), 0 0 0 2px var(--brass); }
.card .thumb { border-radius: 6px 6px 0 0; }
.origin, .bits, .tnow, .yr-range, .soon { color: var(--muted-dark); }
.tnow b { color: var(--ink-dark); }
.year i { opacity: .45; } .year i.now { opacity: 1; box-shadow: 0 0 0 1.5px var(--ink-dark); }
.go { color: var(--brass-ink); }
.onmap { color: var(--ink-dark); border-color: var(--line-soft); background: var(--paper); border-radius: 4px; }
.onmap:hover { border-color: var(--brass); color: var(--brass-ink); box-shadow: var(--shadow-1); }
.warn { color: #a3332b; }
.flag { box-shadow: 0 0 0 1px rgba(11,29,51,.12); }
/* Gallery tiles on mist, lifted */
.tile { border-radius: 6px; box-shadow: var(--shadow-2); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
a.tile:hover { box-shadow: var(--shadow-3); transform: translateY(-4px); }
.region-tiles h3, .guides h2 { color: var(--ink-dark); }
.guides-lead { color: #33475c; }
/* How we check, questions */
.depthlog th, .depthlog td { border-bottom-color: var(--line-soft); }
.depthlog { background: var(--paper); box-shadow: var(--shadow-2); border-radius: 6px; overflow: hidden; }
.depthlog caption { padding: 0 0 10px; }
.method p { color: #33475c; }
/* Buttons */
.btn, .bar a.btn { box-shadow: 0 1px 2px rgba(11,29,51,.12), 0 6px 16px -6px rgba(138,106,47,.55); border-radius: 4px; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(11,29,51,.12), 0 12px 24px -8px rgba(138,106,47,.6); }
a { text-decoration-color: rgba(138,106,47,.5); }
/* Guide pages on white */
.guide .key-facts div, .site { background: var(--paper); box-shadow: var(--shadow-1); border-radius: 6px; color: var(--ink-dark); }
.guide, .page { color: var(--ink-dark); }
.guide .src, .guide .src a, .page .soft { color: var(--muted-dark); }
.status { box-shadow: var(--shadow-1); border-radius: 6px; }
.cmp th, .cmp td { border-bottom-color: var(--line-soft); }
.cmp tr.hl td, .cmp tr.hl th { background: #eef3f7; color: var(--ink-dark); }
.cmp-form select { background: var(--paper); color: var(--ink-dark); border: 1px solid var(--line-soft); box-shadow: var(--shadow-1); }
.region a, .prose a { color: var(--ink-dark); }

/* ===== Subtle motion ===== */
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.card { animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 55ms); }
@keyframes drift { from { transform: scale(1.02) translate3d(0,0,0); } to { transform: scale(1.09) translate3d(-1.2%, -1%, 0); } }
.spot-pic { overflow: hidden; }
.spot-pic img { animation: drift 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes breathe { 0%, 100% { opacity: .9; } 50% { opacity: 1; } }
.pin.warm { animation: breathe 3.6s ease-in-out infinite; }
.tile img { transition: transform 1.2s var(--ease); }
@media (prefers-reduced-motion: reduce) { .card, .spot-pic img, .pin.warm { animation: none !important; } }
.card .soon, .card .where, .card .bits, .card .origin { color: var(--muted-dark); }
@media (max-width: 760px) { body > .bar, .bar { position: relative; } }
:root { --ink: #0b1d33; --muted: #4b5e72; }
body { color: var(--ink); }
.places, .band-shelf, .spotlight, .foot, .mapstage { --ink: #edf2f5; --muted: #c9d6e1; color: var(--ink); }
.foot .fine, .foot .fine a { color: #c9d6e1; }
.soft, figcaption, .crumbs, .crumbs a, .note, .key-facts dt, .temps .v, .disclose, .related .soft, .g-sec .soft { color: var(--muted); }
.spot-pic figcaption { color: #e3ecf2; }
.places figcaption, .places figcaption b, .strip figcaption { color: #c9d6e1; } .strip b { color: #edf2f5; }

/* Round 6: animal, level and snorkelling filters */
.card .fit { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line-soft);
  display: grid; gap: 4px; font-size: var(--step-small); color: var(--ink-dark); line-height: 1.35; }
.card .fit li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--brass); }
.card .fit .rep { color: var(--muted-dark); font-size: 0.8125rem; white-space: nowrap; }
.card .fit .rep::before { content: "· "; }
.results .hidden-note { margin: -4px 0 8px; color: var(--muted-dark); font-size: var(--step-small); }
.results .hidden-note:empty { display: none; }

/* Round 7: safety, animal and month pages */
.prose:has(table.cmp) { max-width: 1100px; }
.page table.cmp { font-size: var(--step-small); background: var(--paper); box-shadow: var(--shadow-1); border-radius: 6px; overflow: hidden; }
.page table.cmp caption { text-align: left; font-family: var(--font-display); font-size: var(--step-lead); margin-bottom: 10px; caption-side: top; }
.page .cmp th, .page .cmp td { border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--ink-dark); }
.page .cmp thead th { font-size: var(--step-small); color: var(--muted-dark); font-family: var(--font-text); }
.page .cmp tbody th { color: var(--ink-dark); font-weight: 600; }
.page .cmp .num { text-align: right; white-space: nowrap; }
.page .cmp td.src, .page .src, .page .src a { color: var(--muted-dark); font-size: 0.8125rem; }
.page .cmp td.src { min-width: 14em; }
.page .cmp .sub { display: block; font-weight: 400; color: var(--muted-dark); font-size: 0.8125rem; }
.page .cmp.cal th.m, .page .cmp.cal td.m { width: 2.1em; padding: 10px 2px; text-align: center; }
.page .cmp.cal td.m { background: var(--mist); border-left: 2px solid var(--paper); }
.page .cmp.cal td.m.on { background: var(--brass); }
.page .cmp.cal abbr { text-decoration: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page .lead-note { color: var(--muted-dark); font-size: var(--step-small); border-left: 3px solid var(--brass); padding-left: 14px; }
.page .callout { background: var(--navy); color: #edf2f5; padding: 16px 20px; border-radius: 6px; }
.page .callout a { color: var(--brass-2); }
.page .factlist { padding-left: 1.2em; } .page .factlist li { margin-top: 10px; }
.page .index-list { list-style: none; padding: 0; } .page .index-list li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.page .index-list a { font-family: var(--font-display); font-size: var(--step-lead); margin-right: 10px; }
.page .index-list span { color: var(--muted-dark); }
.page .tel a { white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-links { margin-top: 18px; color: var(--muted-dark); font-size: var(--step-small); }
.plan-links a { margin-right: 10px; white-space: nowrap; }
.bar nav a { white-space: nowrap; }
.prose:has(table.cmp) > p, .prose:has(table.cmp) > ul, .prose:has(table.cmp) > ol, .prose:has(table.cmp) > h2 { max-width: 68ch; }

/* Round 8: guide body: answer first, labelled facts, sources as notes */
.guide .answer { font-size: var(--step-lead); line-height: 1.4; color: var(--ink-dark); margin: 0 0 12px; max-width: 34ch; }
.guide .rules { list-style: none; padding: 0; gap: 14px; }
.guide .rules li { line-height: 1.5; color: var(--ink-dark); }
.guide .fn { font-size: 0.72em; margin-left: 2px; line-height: 0; }
.guide .fn a { color: var(--brass-ink); text-decoration: none; padding: 0 2px; }
.guide .fn a:hover, .guide .fn a:focus-visible { text-decoration: underline; }
.guide .srcs { margin: 22px 0 0; padding: 14px 0 0 1.4em; font-size: 0.8125rem; color: var(--muted-dark); background: none; }
.guide .srcs li { margin-top: 4px; } .guide .srcs a { color: var(--muted-dark); }
.guide .srcs li:target { color: var(--ink-dark); }
.guide .temps .bar { background: var(--c, var(--warm)); }
.guide .site ul { list-style: none; padding: 0; display: grid; gap: 8px; }
/* Guides are reference pages: flat surfaces, a tone step instead of shadows. */
.guide .key-facts div, .guide .status, .guide .site { box-shadow: none; background: var(--mist); }
@media (max-width: 520px) { .bar nav { flex-wrap: wrap; overflow: visible; column-gap: 18px; row-gap: 4px; } }
.guide .byline { color: var(--muted-dark); font-size: var(--step-small); margin-top: 10px; }
/* Round 9: written overview and questions on guides */
.guide .g-over { margin-top: 40px; max-width: 68ch; }
.guide .g-over p { font-size: var(--step-lead); line-height: 1.55; color: var(--ink-dark); margin-top: 14px; }
.guide .g-over .draftnote { font-size: var(--step-small); color: var(--muted-dark); }
.guide .faq { max-width: 68ch; } .guide .faq h3 { margin-top: 26px; font-size: var(--step-lead); } .guide .faq p { margin-top: 8px; color: var(--ink-dark); }
.guide .gaps { margin-top: 48px; max-width: 68ch; }
.page .cmp .why { font-weight: 600; color: var(--ink-dark); }
.page .written { max-width: 68ch; margin: 28px 0; } .page .written p { margin-top: 14px; color: var(--ink-dark); }
.page .written p:first-child { font-size: var(--step-lead); line-height: 1.5; }
.page .draftnote { font-size: var(--step-small); color: var(--muted-dark); }
