:root {
  --paper: #F6F2EA;
  --card: #FFFFFF;
  --card-soft: #FBF9F5;
  --chip: #F1EBE0;
  --chip-active: #EDE6DA;
  --map-sea: #EEF3F2;

  --ink: #13262B;
  --ink-2: #3A4B50;
  --muted: #5A686C;
  --faint: #8A969A;
  --chev: #9AA5A7;

  --line: #E4DCCD;
  --line-soft: #EFE8DC;
  --line-strong: #D6CCBB;

  --teal-900: #0E4A56;
  --teal-700: #1A6B7C;
  --teal-500: #4F97A3;
  --teal-300: #A9CBD0;
  --teal-100: #DCE9EA;
  --coral: #C4562B;
  --rust: #8A3312;
  --cream: #F4EFE6;

  --footer: #13262B;
  --footer-text: #AEBABC;
  --footer-label: #8E9C9F;
  --footer-line: #2B3C40;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 5.5vw, 80px);
  --band-y: clamp(40px, 5.5vw, 80px);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
a { color: var(--teal-900); }
a:hover { color: var(--coral); }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 16px; top: 16px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.stack-10 { display: flex; flex-direction: column; gap: 10px; }
.stack-12 { display: flex; flex-direction: column; gap: 12px; }
.stack-18 { display: flex; flex-direction: column; gap: 18px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; }
.stack-36 { display: flex; flex-direction: column; gap: 36px; }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.center-self { align-self: center; }
.teal { color: var(--teal-900); }

.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 99px; background: var(--teal-500); }
.dot-coral { background: var(--coral); }
.dot-deep { background: var(--teal-900); }
.dot-mid { background: var(--teal-500); }
.dot-shallow { background: var(--teal-300); }

.fineprint { font-size: 13px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-xs { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; gap: 6px; }
.btn-sm { height: 40px; padding: 0 14px 0 16px; font-size: 14px; gap: 6px; }
.btn-md { height: 48px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--teal-900); color: #fff; }
.btn-outline { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { color: var(--cream); border-color: #4F8791; font-size: 15px; }
.btn-ghost-light:hover { background: rgba(244, 239, 230, 0.08); color: var(--cream); }
.btn-coral { height: 52px; padding: 0 22px; border: 0; border-radius: 12px; background: #F2A27E; color: var(--ink); font-size: 15px; font-weight: 700; }
.btn-coral:hover { background: #F6B797; color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--teal-900); font-weight: 700; font-size: 15px; }
.btn-cream:hover { background: #fff; color: var(--teal-900); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: 72px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 32px;
  background: rgba(246, 242, 234, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { justify-self: start; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.primary-nav { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; }
.primary-nav a { text-decoration: none; color: var(--ink-2); padding: 10px 14px; border-radius: 8px; }
.primary-nav a:hover { color: var(--ink); background: var(--chip); }
.primary-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--chip-active); }
.primary-nav .nav-only-menu { display: none; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; border: 0; border-radius: 10px;
  background: transparent; color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.icon-btn:hover { background: var(--chip); color: var(--ink); }
.header-divider { width: 1px; height: 20px; background: var(--line-strong); margin: 0 10px; }
.header-soon { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.header-soon .dot { width: 7px; height: 7px; }
.header-actions .btn-sm { margin-left: 4px; }
.menu-toggle { display: none; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }

/* Hero: the answer first, then the numbers */
.hero { padding-top: 32px; padding-bottom: 20px; display: flex; flex-direction: column; gap: 18px; }
.hero > * { transition: opacity 0.2s ease; }
.hero.is-loading .hero-heading,
.hero.is-loading .kpi-strip { opacity: 0.55; }
.hero-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; }
.hero-picker { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-kicker { font-size: 13px; font-weight: 600; color: var(--faint); text-align: right; line-height: 1.45; }
.beach-select {
  position: relative; display: inline-flex; align-items: center;
  height: 40px; border: 1px solid var(--line-strong); background: var(--card); border-radius: 10px;
}
.beach-select:hover { border-color: var(--ink); }
.beach-select:focus-within { outline: 2px solid var(--coral); outline-offset: 2px; }
.beach-select select {
  appearance: none; -webkit-appearance: none;
  height: 100%; border: 0; background: transparent;
  padding: 0 34px 0 35px; font-size: 15px; font-weight: 600; color: var(--ink);
  cursor: pointer; max-width: 78vw; text-overflow: ellipsis;
}
.beach-select select:focus { outline: none; }
.beach-select-pin { position: absolute; left: 12px; color: var(--teal-900); pointer-events: none; }
.beach-select-chevron { position: absolute; right: 12px; color: var(--muted); pointer-events: none; }
.hero-updated { font-size: 14px; color: var(--muted); }
.hero-heading {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -0.025em;
  text-wrap: pretty;
}
.hero-heading-sub { color: var(--muted); }

.kpi-strip {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(19, 38, 43, 0.04);
}
.kpi { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line-soft); min-width: 0; }
.kpi:last-child { border-right: 0; }
.kpi.is-lead { background: #FFF8F3; }
.kpi dt { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.kpi.is-lead dt { color: var(--rust); }
.kpi dt .dot { width: 6px; height: 6px; }
.kpi dd { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi-line { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.kpi-value { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.kpi-unit { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-sub { font-size: 12.5px; line-height: 1.4; color: var(--muted); }

/* Radar + conditions rail */
.radar-band {
  padding-bottom: 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) 376px; gap: 24px; align-items: start;
}
.radar-card { border-radius: 18px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(19, 38, 43, 0.04); }
.radar-head {
  min-height: 60px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.radar-title { display: flex; align-items: baseline; gap: 10px; }
.radar-title strong { font-size: 16px; font-weight: 700; }
.radar-title span { font-size: 13px; color: var(--muted); }
.radar-sub-mob, .radar-live-mob, .radar-centers-mob, .radar-scale-mob { display: none; }
.radar-scale { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.radar-scale-bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; }
.radar-scale-bar i { width: 18px; }
.radar-scale-bar i:nth-child(1) { background: #0018ff; }
.radar-scale-bar i:nth-child(2) { background: #00fe8a; }
.radar-scale-bar i:nth-child(3) { background: #a2fe00; }
.radar-scale-bar i:nth-child(4) { background: #fe0c00; }
.radar-scale-bar i:nth-child(5) { background: #fe20fe; }
.radar-scale-bar i:nth-child(6) { background: #fee8fe; }

.radar-view { position: relative; height: 520px; overflow: hidden; background: #D5E6E9; }
.radar-tiles { position: absolute; inset: 0; }
.radar-tiles img, .radar-frame img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; }
[data-radar-base] img { filter: saturate(0.3) sepia(0.12) brightness(1.08) contrast(0.82); }
.radar-frame { position: absolute; inset: 0; }
.radar-places { position: absolute; inset: 0; }
.radar-pin {
  position: absolute; width: 10px; height: 10px; padding: 0; transform: translate(-50%, -50%);
  border-radius: 99px; background: var(--teal-900); border: 2px solid #fff; box-sizing: content-box;
  box-shadow: 0 1px 3px rgba(19, 38, 43, 0.35); cursor: pointer;
}
.radar-pin::after { content: ""; position: absolute; inset: -12px; }
.radar-pin.is-selected { width: 16px; height: 16px; background: var(--coral); }
.radar-pin:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.radar-label {
  position: absolute; transform: translateY(-50%); pointer-events: none; white-space: nowrap;
  font-size: 11.5px; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, 0.88); padding: 2px 6px; border-radius: 6px;
}
.radar-label.is-selected {
  font-size: 13px; color: #fff; background: var(--ink); padding: 4px 8px;
  box-shadow: 0 2px 6px rgba(19, 38, 43, 0.25);
}
.radar-centers {
  position: absolute; left: 14px; top: 14px; display: flex; gap: 2px; padding: 4px; flex-wrap: wrap; max-width: calc(100% - 90px);
  background: rgba(255, 255, 255, 0.95); border-radius: 12px; box-shadow: 0 2px 10px rgba(19, 38, 43, 0.14);
}
.radar-centers button {
  height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent;
  color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.radar-centers button:hover { background: var(--chip); }
.radar-centers button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.radar-zoom {
  position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column;
  background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(19, 38, 43, 0.14);
}
.radar-zoom button {
  width: 40px; height: 40px; border: 0; background: #fff; color: var(--ink); font-size: 20px; cursor: pointer;
}
.radar-zoom button + button { border-top: 1px solid var(--line-soft); }
.radar-zoom button:disabled { color: #C9BFAE; cursor: default; }
.radar-credit {
  position: absolute; right: 14px; bottom: 14px; font-size: 12px; color: var(--ink);
  background: rgba(255, 255, 255, 0.95); padding: 5px 10px; border-radius: 8px;
}
.radar-credit a { color: var(--ink); }
.radar-status {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95); padding: 10px 14px; border-radius: 10px; font-size: 14px; color: var(--ink-2);
}
.radar-player { padding: 12px 20px 14px; display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line-soft); }
.radar-play {
  width: 40px; height: 40px; flex: none; border: 0; border-radius: 999px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.radar-play .i-play, .radar-play.is-paused .i-pause { display: none; }
.radar-play.is-paused .i-play { display: block; }
.radar-frames-wrap { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.radar-frames { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.radar-frames button { height: 24px; border: 0; padding: 0; background: transparent; cursor: pointer; display: flex; align-items: center; }
.radar-frames span { display: block; width: 100%; height: 6px; border-radius: 99px; background: var(--line); }
.radar-frames .is-past span { background: #9CBFC4; }
.radar-frames .is-on span { height: 10px; background: var(--ink); }
.radar-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--faint); }
.radar-live {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--chip); color: var(--ink-2); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.radar-live .dot { width: 6px; height: 6px; background: #9AA5A7; }
.radar-live .mono { font-weight: 500; }
.radar-live.is-now { background: #FBE9DF; color: var(--rust); }
.radar-live.radar-live-mob { display: none; }
.radar-scale.radar-scale-mob { display: none; }
.radar-live.is-now .dot { background: var(--coral); }

.rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rail-card { border-radius: 18px; padding: 16px 20px; box-shadow: 0 1px 2px rgba(19, 38, 43, 0.04); }
.rail-more { padding-bottom: 8px; }
.rail-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rail-head strong { font-size: 15px; font-weight: 700; }
.rail-head > span { font-size: 12.5px; color: var(--muted); }
.more-list { margin-top: 6px; display: flex; flex-direction: column; }
.more-list > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  min-height: 40px; padding: 9px 0; border-bottom: 1px solid var(--line-soft);
}
.more-list > div:last-child { border-bottom: 0; }
.more-list dt { font-size: 14px; color: var(--muted); }
.more-list dd { text-align: right; font-size: 14px; font-weight: 600; color: var(--ink); }
.more-list dd.is-alert { color: var(--rust); }
.more-sub { font-weight: 400; color: var(--muted); }
.sky-mob { display: none; }
.rail-tide { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; }
.tide-now { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.tide-now .dot { width: 7px; height: 7px; }
.tide-mini svg { display: block; width: 100%; height: auto; overflow: visible; }
.tide-mini-label { font-family: var(--sans); font-size: 10px; font-weight: 600; fill: var(--teal-900); }
.tide-mini .fineprint { padding: 16px 0; }
.tide-axis { position: relative; height: 14px; font-size: 10.5px; color: var(--faint); }
.tide-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.tide-axis span:first-child { transform: none; }
.rail-link {
  display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding-top: 10px;
  border-top: 1px solid var(--line-soft); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--teal-900);
}
.rail-sky { display: flex; flex-direction: column; gap: 12px; }
.moon-row { display: flex; align-items: center; gap: 12px; }
.moon-row svg { flex: none; }
.moon-text { display: flex; flex-direction: column; gap: 1px; }
.moon-text strong { font-size: 15px; font-weight: 700; }
.moon-text span { font-size: 12.5px; color: var(--muted); }
.sun-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.sun-grid dt { font-size: 11.5px; color: var(--muted); }
.sun-grid dd { margin-top: 2px; font-size: 13px; }

/* Hour by hour */
.hourly-band { padding: 48px 0; }
.hourly-wrap { display: flex; flex-direction: column; gap: 28px; }
.hourly-band h2 { font-size: clamp(24px, 2.8vw, 40px); }
.hourly-band .segmented button { padding: 0 18px; }
.hourly-scroll { overflow-x: auto; }
.hourly-chart { --hours: 18; min-width: 720px; display: flex; flex-direction: column; }
.hourly-plot { position: relative; height: 150px; border-bottom: 1px solid var(--line); }
.hourly-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hourly-cols, .hourly-foot { display: grid; grid-template-columns: repeat(var(--hours), minmax(0, 1fr)); }
.hourly-cols { position: absolute; inset: 0; }
.hourly-col { position: relative; border-radius: 10px 10px 0 0; }
.hourly-col.is-now, .hourly-cell.is-now { background: var(--paper); }
.hourly-val {
  position: absolute; left: 0; right: 0; text-align: center;
  font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--ink);
}
.is-now .hourly-val { font-weight: 600; }
.hourly-dot {
  position: absolute; left: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 99px; background: #fff; border: 2px solid var(--coral); box-sizing: border-box;
}
.is-now .hourly-dot { background: var(--coral); }
.hourly-bar { position: absolute; left: 30%; right: 30%; bottom: 0; border-radius: 5px 5px 0 0; }
.hourly-cell {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0 14px;
  border-radius: 0 0 10px 10px;
}
.hourly-icon { display: flex; height: 20px; }
.hourly-arrow { display: flex; height: 14px; }
.hourly-sub { font-size: 11.5px; color: var(--muted); min-height: 14px; white-space: nowrap; }
.hourly-time { font-size: 13px; font-weight: 500; color: var(--ink); }
.is-now .hourly-time { font-weight: 700; }
.hourly-note { padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); margin-top: -16px; }

/* Coast table + regions */
.coast-band { padding: 72px 0; border-top: 0; }
.stack-28 { display: flex; flex-direction: column; gap: 28px; }
.coast-lede { max-width: 720px; }
.region-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap;
  padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: -12px;
}
.region-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.region-coast { font-weight: 600; color: var(--muted); margin: 0 4px 0 12px; }
.region-coast:first-child { margin-left: 0; }
.region-chip {
  padding: 5px 10px; border-radius: 99px; background: var(--paper); color: var(--ink);
  border: 1px solid transparent; font-size: 13px; cursor: pointer;
}
.region-chip:hover { border-color: var(--line-strong); }
.region-chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.region-chip.is-soon { background: transparent; border: 1px dashed var(--line-strong); color: var(--faint); cursor: default; }
.beach-search { position: relative; flex: none; display: flex; gap: 8px; }
.beach-search input {
  width: 220px; height: 40px; border: 1px solid var(--line-strong); background: var(--card); border-radius: 10px;
  padding: 0 12px; font-size: 14px; color: var(--ink);
}
.beach-search input:focus { outline: 2px solid var(--coral); outline-offset: 1px; border-color: transparent; }
.beach-search .btn { height: 40px; padding: 0 12px; font-size: 14px; gap: 6px; border-radius: 10px; }
.search-status { position: absolute; top: 100%; right: 0; margin-top: 6px; font-size: 13px; color: var(--rust); white-space: nowrap; }
.search-status:empty { display: none; }

.beach-table { display: flex; flex-direction: column; min-width: 0; }
.beach-table-head, .beach-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 110px 170px 200px 90px 16px;
  gap: 16px; align-items: center;
}
.beach-table-head { padding: 0 4px 12px; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.beach-rows > li { border-bottom: 1px solid var(--line-soft); }
.beach-rows .row-empty { padding: 24px 4px; color: var(--muted); font-size: 15px; }
.beach-row {
  width: 100%; min-height: 60px; padding: 8px 4px;
  border: 0; background: transparent; text-align: left; cursor: pointer; color: var(--ink);
}
.beach-row:hover { background: var(--card-soft); }
.beach-row[aria-current="true"] { background: var(--chip); box-shadow: inset 3px 0 0 var(--coral); }
.row-beach { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-name { font-size: 16px; font-weight: 600; }
.row-meta { font-size: 13px; color: var(--muted); }
.row-meta-mob { display: none; }
.row-alert { color: var(--rust); }
.row-low { font-family: var(--mono); font-size: 15px; font-weight: 500; }
.row-ft { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; }
.row-high { font-family: var(--mono); font-size: 14px; color: var(--ink-2); }
.row-wx, .row-uv { font-size: 14px; color: var(--ink-2); }
.row-chev { width: 16px; height: 16px; color: var(--chev); }
.beach-table > .fineprint { margin-top: 14px; padding: 0 4px; }
.beach-more { display: none; }

/* Week */
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.day-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.day-card.is-today { border: 1.5px solid var(--ink); }
.day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.day-name { font-weight: 700; font-size: 15px; }
.day-date { font-size: 13px; color: var(--muted); }
.day-low { display: flex; flex-direction: column; gap: 2px; }
.day-low-label { font-size: 12px; color: var(--muted); }
.day-time-wrap { display: flex; flex-direction: column; }
.day-time { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; font-weight: 500; white-space: nowrap; }
.day-ft-mob, .day-sky-mob { display: none; }
.day-bar-wrap { display: flex; flex-direction: column; gap: 4px; }
.bar { display: block; height: 6px; background: var(--line-soft); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 6px; background: var(--teal-700); border-radius: 99px; }
.day-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 8px; font-size: 13px; color: var(--muted); }
.day-foot > span { white-space: nowrap; }
.day-ft { font-family: var(--mono); color: var(--ink); }
.day-wx { display: flex; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-2); min-width: 0; }
.day-hi { font-weight: 600; color: var(--ink); }
.day-sky { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.week-grid .day-skeleton { min-height: 220px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; opacity: 0.6; }

/* Shells */
.shells-band { padding-top: 72px; padding-bottom: 72px; }
.shells-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.shells-head .section-intro { gap: 12px; max-width: none; }
.shells-head h2 { line-height: 1.08; }
.shells-head .section-intro p { line-height: 1.6; }
.badges-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 18px;
}
.badges-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badges-title { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.soon-pill {
  flex: none; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--rust); background: #FBE9DF; padding: 5px 9px; border-radius: 99px;
}
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.badges li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.badges svg { width: 76px; height: 76px; }
.badges strong { font-size: 14px; font-weight: 600; line-height: 1.25; }
.badges span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.badges-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.badges-foot span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.badges-foot a { flex: none; font-size: 14px; font-weight: 600; text-decoration: none; }
.shell-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.shell-card {
  height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.shell-card:hover { color: var(--ink); border-color: var(--line-strong); transform: translateY(-2px); }
.shell-art { height: 196px; background: var(--chip); display: flex; align-items: center; justify-content: center; color: #B3A68F; }
.shell-art img { width: 100%; height: 100%; object-fit: cover; }
.shell-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.shell-name { font-size: 17px; font-weight: 600; }
.shell-sci { font-size: 14px; font-style: italic; color: var(--muted); }
.shell-meta { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.pips { display: inline-flex; align-items: center; gap: 8px; }
.pips > span { display: flex; gap: 3px; }
.pips i { width: 6px; height: 6px; border-radius: 99px; background: #E0D8CA; }
.pips i.on { background: var(--teal-700); }

/* App + waitlist */
.app-band { padding-bottom: 80px; }
.app-panel {
  background: var(--teal-900); color: var(--cream); border-radius: 20px; padding: 48px 56px;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; align-items: start;
}
.app-copy { display: flex; flex-direction: column; gap: 22px; }
.app-panel h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.08; letter-spacing: -0.02em;
}
.app-lede { font-size: 16px; line-height: 1.55; color: #C4DADD; }
.eyebrow.eyebrow-light { color: #F2A27E; }
.app-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.app-features li { display: flex; gap: 12px; }
.app-features svg { flex: none; margin-top: 2px; }
.app-features li > span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.45; color: #C4DADD; }
.app-features strong { font-size: 15px; font-weight: 600; color: var(--cream); }
.waitlist-cta {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px;
  padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.waitlist-title { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.2; }
.waitlist-cta p { font-size: 15px; line-height: 1.5; color: #C4DADD; }
.btn-coral { height: 52px; padding: 0 22px; border: 0; border-radius: 12px; background: #F2A27E; color: var(--ink); font-size: 15px; font-weight: 700; }
.btn-coral:hover { background: #F6B797; color: var(--ink); }
.waitlist-cta .btn-coral { align-self: stretch; margin-top: 4px; }
.waitlist-fine { font-size: 13px; color: #8FB5BA; }
.honeypot { position: absolute; left: -9999px; }
.faq-band { padding-top: 0; }

/* Phone/desktop copy variants */
.short { display: none; }


/* Bands + section heads */
.band { padding: var(--band-y) 0; }
.band-white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; }
.section-intro { display: flex; flex-direction: column; gap: 10px; max-width: 700px; }
.section-intro.narrow { max-width: 620px; }
.section-intro p, .section-aside { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.section-aside { font-size: 16px; max-width: 420px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust); }
.band h2, .cta-panel h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.1vw, 44px); line-height: 1.06; letter-spacing: -0.02em;
  text-wrap: balance;
}
.band h2.h2-sm { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.1; }

/* Segmented controls */
.segmented-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.segmented { display: flex; background: var(--chip); border-radius: 10px; padding: 3px; }
.segmented button {
  height: 38px; border: 0; border-radius: 8px; padding: 0 16px;
  background: transparent; color: var(--muted);
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"], .segmented button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(19, 38, 43, 0.12); }

/* FAQ + contact */
.split-1-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px 64px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; min-height: 64px; padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 18px; font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--teal-900); }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--muted);
  transition: transform 0.2s ease;
}
.faq-icon::after { transform: rotate(90deg); }
details[open] .faq-icon::after { transform: rotate(0deg); }
.faq-list details p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 760px; }

.honeypot { position: absolute; left: -9999px; }

/* Footer */
.site-footer {
  background: var(--footer); color: var(--footer-text);
  padding: 64px 0 40px; font-size: 14px; line-height: 1.6;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 0.8fr); gap: 40px 56px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { max-width: 340px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 21px; color: var(--cream); }
.footer-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--footer-label); }
.footer-beaches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px 48px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--footer-line); font-size: 13px;
}
.footer-notes { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.footer-bottom p { max-width: none; }
#cookie-reopen {
  border: 0; background: transparent; padding: 0;
  font: inherit; font-weight: 600; color: var(--cream); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.footer-bottom > span { flex-shrink: 0; }

/* ≤ 1200: tighten desktop */
@media (max-width: 1200px) {
  .primary-nav a { padding: 10px 10px; }
  .header-divider, .header-soon { display: none; }
  .kpi-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi { border-bottom: 1px solid var(--line-soft); }
  .kpi:nth-child(3n) { border-right: 0; }
  .kpi:nth-child(n+4) { border-bottom: 0; }
  .radar-band { grid-template-columns: minmax(0, 1fr) 340px; }
  .beach-table-head, .beach-row { grid-template-columns: minmax(0, 1fr) 100px 92px 150px minmax(0, 170px) 16px; }
  .beach-table-head > span:nth-child(6), .row-uv { display: none; }
  .week-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shell-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ≤ 1024: tablet — stack radar and rail, collapse the nav */
@media (max-width: 1024px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; height: 64px; gap: 12px; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-sm, .header-soon { display: none; }
  .primary-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(19, 38, 43, 0.08);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .primary-nav a[aria-current="page"] { background: transparent; }
  .primary-nav .nav-only-menu { display: block; }
  .primary-nav .nav-only-menu:last-child { border-bottom: 0; color: var(--teal-900); font-weight: 600; }

  .hero-kicker { text-align: left; }
  .radar-band { grid-template-columns: minmax(0, 1fr); }
  .rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-sky { grid-column: 1 / -1; }
  .beach-table-head, .beach-row { grid-template-columns: minmax(0, 1fr) 96px 88px minmax(0, 150px) 16px; }
  .beach-table-head > span:nth-child(4), .row-high { display: none; }
  .region-bar { flex-direction: column; align-items: stretch; }
  .beach-search input { flex: 1; width: auto; }
  .search-status { left: 0; right: auto; }
  .shells-head, .split-1-2 { grid-template-columns: minmax(0, 1fr); }
  .app-panel { grid-template-columns: minmax(0, 1fr); padding: 36px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

/* ≤ 720: phone — follows the mobile board */
@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .long { display: none; }
  .short { display: inline; }
  .site-header { height: 56px; padding-right: 8px; }
  .brand { gap: 10px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 19px; }
  .icon-btn { width: 44px; height: 44px; color: var(--ink); }

  .hero { padding-top: 18px; padding-bottom: 16px; gap: 12px; }
  .hero-bar { display: contents; }
  .hero-picker { flex-direction: column; align-items: flex-start; gap: 8px; order: 0; }
  .hero-updated { font-size: 12px; }
  .hero-heading { order: 1; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
  .kpi-strip { order: 2; border-radius: 14px; }
  .hero-kicker { order: 3; font-size: 12px; line-height: 1.45; }
  .kpi { padding: 11px 12px; gap: 1px; }
  .kpi.is-lead { background: #FFF8F3; }
  .kpi dt { font-size: 11.5px; }
  .kpi dt .dot { display: none; }
  .kpi dd { gap: 1px; }
  .kpi-line { gap: 4px; }
  .kpi-value { font-size: 22px; line-height: 1.15; }
  .kpi-unit { font-size: 12px; }
  .kpi-sub { font-size: 11px; line-height: 1.35; }

  .radar-band { padding-top: 8px; padding-bottom: 28px; gap: 12px; }
  .radar-card { border-radius: 16px; order: 0; }
  .radar-head { min-height: 0; padding: 12px 14px 10px; border-bottom: 0; }
  .radar-title strong { font-size: 15px; }
  .radar-title span { font-size: 12px; }
  .radar-sub-desk, .radar-scale-desk, .radar-live-desk, .radar-centers { display: none; }
  .radar-sub-mob { display: inline; }
  .radar-live.radar-live-mob { display: inline-flex; height: auto; padding: 4px 10px; font-size: 12px; gap: 6px; }
  .radar-centers-mob { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; }
  .radar-centers-mob::-webkit-scrollbar { display: none; }
  .radar-centers-mob button {
    flex: none; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong);
    background: #fff; color: var(--ink); font-size: 13px; font-weight: 600;
  }
  .radar-centers-mob button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .radar-view { height: 300px; }
  .radar-zoom { right: 10px; top: 10px; }
  .radar-zoom button { width: 44px; height: 44px; }
  .radar-credit { right: 8px; bottom: 8px; font-size: 10.5px; padding: 4px 8px; border-radius: 6px; }
  .radar-label { font-size: 11px; padding: 1px 5px; }
  .radar-label.is-selected { font-size: 11px; padding: 3px 7px; }
  .radar-player { padding: 10px 14px 12px; gap: 12px; border-top: 0; }
  .radar-play { width: 44px; height: 44px; }
  .radar-frames { gap: 3px; }
  .radar-frames button { height: 28px; }
  .radar-axis { font-size: 11px; }
  .radar-axis-mid { display: none; }
  .radar-scale.radar-scale-mob { display: flex; padding: 10px 14px; border-top: 1px solid var(--line-soft); font-size: 11px; }
  .radar-scale-mob .radar-scale-bar { height: 6px; }
  .radar-scale-mob .radar-scale-bar i { width: 16px; }

  /* Hourly sits between radar and the rail on phones */
  main { display: flex; flex-direction: column; }
  .radar-band { display: contents; }
  .radar-card { margin: 8px var(--gutter) 28px; }
  .hourly-band { order: 1; padding: 28px 0; }
  .rail { order: 2; display: flex; padding: 28px var(--gutter); gap: 12px; }
  .coast-band, #week, .shells-band, .app-band, .faq-band, #contact { order: 3; }

  .hourly-wrap { gap: 14px; }
  .hourly-band .section-head { gap: 14px; }
  .hourly-band h2 { font-size: 24px; line-height: 1.2; }
  .hourly-band .segmented button { padding: 0 8px; font-size: 13px; height: 36px; }
  .hourly-scroll { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .hourly-chart { width: 1008px; min-width: 0; }
  .hourly-plot { height: 116px; }
  .hourly-val { font-size: 13px; }
  .hourly-cell { gap: 6px; padding: 10px 0 12px; }
  .hourly-sub { display: none; }
  .hourly-time { font-size: 12px; }
  .hourly-note { margin-top: 0; padding-top: 0; border-top: 0; font-size: 12px; line-height: 1.5; }

  .rail-card { border-radius: 16px; padding: 14px 16px; }
  .rail-tide { order: 0; }
  .rail-more { order: 1; padding: 14px 0 0; }
  .rail-more .rail-head, .rail-more .more-list { padding: 0 16px; }
  .rail-more .rail-head > span { font-size: 12px; }
  .more-list { margin-top: 0; }
  .more-list > div:last-child { border-bottom: 1px solid var(--line-soft); }
  .rail-sky { display: none; }
  .sky-mob { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 14px; }
  .sky-line { font-size: 13px; color: var(--ink); }
  .sky-line b { font-weight: 700; }
  .sky-line span { color: var(--muted); }
  .sky-mob .sun-grid { gap: 6px; padding-top: 0; border-top: 0; }
  .sky-mob .sun-grid dt { font-size: 11px; }
  .sky-mob .sun-grid dd { margin: 0; font-size: 12.5px; }
  .rail-link { display: none; }
  .tide-axis { font-size: 10px; }

  .eyebrow { font-size: 12px; }
  .section-intro { gap: 6px; }
  .section-intro p, .section-aside { font-size: 15px; }
  .section-head { gap: 18px; }
  .stack-36, .stack-32, .stack-28 { gap: 18px; }
  .band h2 { font-size: 28px; }
  .segmented-row { width: 100%; }
  .segmented { flex: 1 1 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .segmented button { padding: 0 8px; }

  .coast-band { padding: 36px 0; border-top: 1px solid var(--line); }
  .coast-lede, .coast-sort, .region-bar, .beach-table-head { display: none; }
  .beach-rows { border-top: 0; }
  .beach-rows:not(.is-expanded) > li:nth-child(n+7) { display: none; }
  .beach-row {
    grid-template-columns: minmax(0, 1fr) auto 16px;
    grid-template-areas: "beach low chev" "beach ft chev";
    gap: 3px 12px; min-height: 64px; padding: 10px 0;
  }
  .beach-row[aria-current="true"] { padding-left: 10px; }
  .row-beach { grid-area: beach; gap: 3px; }
  .row-meta-desk { display: none; }
  .row-meta-mob { display: inline; }
  .row-low { grid-area: low; justify-self: end; }
  .row-ft { grid-area: ft; justify-self: end; font-family: var(--sans); font-size: 13px; color: var(--muted); gap: 6px; }
  .row-ft .dot { width: 7px; height: 7px; }
  .row-high, .row-wx, .row-uv { display: none; }
  .row-chev { grid-area: chev; }
  .beach-table > .fineprint { padding: 0; font-size: 12px; line-height: 1.5; }
  .beach-more { display: flex; width: 100%; margin-top: 18px; }
  .beach-more[hidden] { display: none; }

  /* Week collapses into rows inside one card */
  #week { padding: 36px 0; }
  #week .section-aside { display: none; }
  .kpi:last-child .kpi-unit { display: none; }
  .week-grid {
    grid-template-columns: minmax(0, 1fr); gap: 0;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  }
  .day-card {
    display: grid; grid-template-columns: 50px 78px minmax(0, 1fr) 52px;
    align-items: center; gap: 10px;
    min-height: 56px; padding: 6px 16px;
    border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0;
  }
  .day-card:last-child { border-bottom: 0; }
  .day-card.is-today { border: 0; border-bottom: 1px solid var(--line-soft); }
  .day-head, .day-low, .day-wx { display: contents; }
  .day-name { font-size: 15px; font-weight: 500; grid-column: 1; }
  .is-today .day-name { font-weight: 700; }
  .day-date, .day-low-label, .day-foot, .day-sky { display: none; }
  .day-time-wrap { grid-column: 2; }
  .day-time { font-family: var(--mono); font-size: 13.5px; }
  .day-ft-mob { display: block; font-size: 11px; color: var(--muted); }
  .day-bar-wrap { grid-column: 3; }
  .day-sky-mob { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .day-hi { grid-column: 4; font-size: 14px; text-align: right; }
  .week-grid .day-skeleton { min-height: 56px; border: 0; border-radius: 0; border-bottom: 1px solid var(--line-soft); }

  .shells-band { padding: 36px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .shells-head h2 { line-height: 1.14; }
  .badges-card { background: var(--paper); border-radius: 14px; padding: 16px 14px; gap: 14px; }
  .badges-title { font-size: 17px; }
  .soon-pill { font-size: 10px; padding: 4px 8px; }
  .badges { gap: 6px; }
  .badges svg { width: 60px; height: 60px; }
  .badges strong { font-size: 12px; }
  .badges span, .badges-foot { display: none; }
  .shell-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shell-grid > li:nth-child(n+5) { display: none; }
  .shell-card { border: 0; border-radius: 0; background: transparent; gap: 10px; }
  .shell-card:hover { transform: none; }
  .shell-art { height: 150px; border-radius: 12px; }
  .shell-body { padding: 0; }
  .shell-name { font-size: 15px; }
  .shell-sci, .shell-size { display: none; }
  .shell-meta { margin-top: 0; }
  .center-self { align-self: stretch; }

  .app-band { padding-top: 36px; padding-bottom: 8px; }
  .app-panel { border-radius: 16px; padding: 24px 20px; gap: 16px; }
  .app-copy { gap: 16px; }
  .app-panel h2 { font-size: 26px; line-height: 1.12; }
  .app-lede { font-size: 14.5px; line-height: 1.5; }
  .app-features { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .app-features svg { display: none; }
  .app-features li::before { content: "●"; color: #F2A27E; font-size: 14.5px; line-height: 1.4; }
  .app-features li > span { display: block; font-size: 14.5px; line-height: 1.4; }
  .app-features strong { font-size: 14.5px; }
  .app-features li > span > span.short { color: #C4DADD; }
  .waitlist-cta { background: transparent; border: 0; padding: 4px 0 0; gap: 10px; }
  .waitlist-title { display: none; }
  .waitlist-cta p { font-size: 14.5px; }
  .waitlist-cta .btn-coral { height: 50px; border-radius: 10px; }
  .waitlist-fine { font-size: 12px; }

  .faq-band { padding: 28px 0 40px; }
  .faq-band .section-intro p { display: none; }
  .faq-list summary { min-height: 56px; padding: 14px 0; gap: 16px; font-size: 16px; }
  .faq-list details p { margin-bottom: 16px; font-size: 15px; }
  
  .site-footer { padding: 32px 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 20px; }
  .footer-beaches { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .footer-beaches > a:nth-child(n+6) { display: none; }
  .footer-grid nav { gap: 8px; }
  .footer-bottom { flex-direction: column; margin-top: 24px; padding-top: 20px; }
}


/* Early-access popup (chat-styled signup form) */
.ea-root { position: relative; z-index: 35; font-family: var(--sans); color: var(--ink); }
body:has(.ck-card:not([hidden])) .ea-root { display: none; }
.ea-launch {
  position: fixed; right: 32px; bottom: 32px; z-index: 36; height: 54px; padding: 0 18px 0 8px;
  border: 0; border-radius: 99px; background: var(--teal-900); color: #fff;
  display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 24px rgba(14, 74, 86, 0.35), 0 2px 4px rgba(19, 38, 43, 0.15);
}
.ea-launch[hidden] { display: none; }
.ea-launch.is-compact { padding: 0 8px; }
.ea-launch.is-compact .ea-launch-text { display: none; }
.ea-launch.is-joined { background: var(--teal-700); }
.ea-launch-icon {
  width: 38px; height: 38px; flex: none; border-radius: 99px; background: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.ea-launch-text { padding-right: 4px; }
body:has(.ck-toast:not([hidden])) .ea-launch { bottom: 96px; }
.ea-teaser {
  position: fixed; right: 32px; bottom: 100px; z-index: 36; width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 4px 16px;
  padding: 12px 34px 12px 14px; box-shadow: 0 10px 28px rgba(19, 38, 43, 0.16);
  animation: eaPop 0.4s 0.4s ease-out both, eaFloat 3.2s 1s ease-in-out infinite;
}
body:has(.ck-toast:not([hidden])) .ea-teaser { bottom: 164px; }
.ea-teaser[hidden], .ea-scrim[hidden], .ea-sheet[hidden], .ea-joined[hidden], .ea-me[hidden],
.ea-form[hidden], .ea-done[hidden], .ea-error[hidden] { display: none; }
.ea-teaser-open {
  border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; color: var(--ink);
  display: flex; flex-direction: column; gap: 3px;
}
.ea-teaser-open strong { font-size: 14px; font-weight: 700; }
.ea-teaser-open span { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.ea-x {
  border: 0; background: transparent; border-radius: 99px; color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.ea-teaser-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; }
.ea-scrim { position: fixed; inset: 0; z-index: 44; background: rgba(19, 38, 43, 0.38); }
.ea-sheet {
  position: fixed; right: 32px; bottom: 100px; z-index: 45; width: 392px;
  height: min(560px, calc(100vh - 120px)); background: #fff; border-radius: 22px;
  box-shadow: 0 24px 60px rgba(19, 38, 43, 0.28), 0 2px 6px rgba(19, 38, 43, 0.08);
  display: flex; flex-direction: column; overflow: hidden;
  animation: eaSheet 0.3s cubic-bezier(.2, .8, .2, 1) both;
}
.ea-head { padding: 14px 12px 14px 16px; display: flex; align-items: center; gap: 12px; background: var(--teal-900); color: var(--cream); }
.ea-head svg { flex: none; }
.ea-head-text { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.ea-head-title { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.ea-head-sub { font-size: 12px; color: #C4DADD; }
.ea-close { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.12); color: var(--cream); }
.ea-log { flex: 1; overflow-y: auto; background: var(--paper); display: flex; flex-direction: column; }
.ea-msgs { margin-top: auto; padding: 18px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.ea-joined { display: flex; flex-direction: column; gap: 8px; }
.ea-msg { max-width: 84%; padding: 10px 14px; font-size: 15px; line-height: 1.45; }
.ea-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; }
.ea-me {
  align-self: flex-end; background: var(--teal-900); border-radius: 18px 18px 6px 18px; color: #fff;
  word-break: break-word; animation: eaPop 0.3s ease-out both;
}
.ea-confirm { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; animation: eaPop 0.3s ease-out both; }
.ea-confirm b { font-weight: 700; }
.ea-tick {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 99px; background: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
}
.ea-more {
  align-self: flex-start; width: 84%; background: #fff; border: 1px solid var(--line);
  border-radius: 18px 18px 18px 6px; overflow: hidden;
}
.ea-more summary {
  list-style: none; cursor: pointer; padding: 10px 14px; display: flex; align-items: center;
  justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; color: var(--teal-900);
}
.ea-more summary::-webkit-details-marker { display: none; }
.ea-chev { transition: transform 0.2s; }
.ea-more[open] .ea-chev { transform: rotate(180deg); }
.ea-more ul { padding: 2px 14px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.ea-more b { color: var(--ink); font-weight: 600; }
.ea-b1 { animation: eaPop 0.3s 0.12s ease-out both; }
.ea-b2 { animation: eaPop 0.3s 0.28s ease-out both; }
.ea-b3 { animation: eaPop 0.3s 0.44s ease-out both; }
.ea-foot { border-top: 1px solid var(--line-soft); background: #fff; padding: 12px 14px 14px; }
.ea-form { display: flex; flex-direction: column; gap: 6px; }
.ea-form-row { display: flex; gap: 8px; }
.ea-form input[type="email"] {
  flex: 1; min-width: 0; height: 48px; border: 1.5px solid var(--line-strong); border-radius: 99px;
  padding: 0 18px; font-size: 16px; color: var(--ink); background: #fff;
}
.ea-form input[type="email"]:focus { outline: 2px solid var(--teal-900); outline-offset: 1px; }
.ea-form input[aria-invalid="true"] { border-color: var(--coral); }
.ea-send {
  width: 48px; height: 48px; flex: none; border: 0; border-radius: 99px; background: var(--coral); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.ea-send:disabled { opacity: 0.6; cursor: progress; }
.ea-error { font-size: 13px; color: #A23D17; padding-left: 16px; }
.ea-fine { font-size: 12px; color: var(--footer-label); padding-left: 16px; }
.ea-fine a { color: var(--muted); }
.ea-done {
  width: 100%; height: 48px; border: 0; border-radius: 99px; background: var(--teal-900); color: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer;
}
.ea-wave { transform-origin: 70% 80%; animation: eaWave 2.4s 1s ease-in-out 2; }
.ea-launch:focus-visible, .ea-x:focus-visible, .ea-send:focus-visible, .ea-more summary:focus-visible, .ea-done:focus-visible {
  outline: 3px solid #F2A27E; outline-offset: 2px;
}
@media (max-width: 720px) {
  .ea-launch { right: 16px; bottom: 20px; }
  body:has(.ck-toast:not([hidden])) .ea-launch { bottom: 84px; }
  .ea-teaser { right: 16px; bottom: 86px; }
  body:has(.ck-toast:not([hidden])) .ea-teaser { bottom: 150px; }
  .ea-sheet { left: 8px; right: 8px; bottom: 8px; width: auto; height: min(560px, calc(100dvh - 24px)); }
}
@keyframes eaSheet { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes eaPop { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes eaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes eaWave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Cookie consent */
@keyframes ck-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes c2-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes c2-blink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(0.1); } }
@keyframes c2-shadow { 0%, 100% { transform: scaleX(1); opacity: 0.16; } 50% { transform: scaleX(0.86); opacity: 0.1; } }
@keyframes c2-paddle { 0%, 100% { transform: rotate(12deg); } 50% { transform: rotate(-16deg); } }
@keyframes c2-paddleB { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(16deg); } }
@keyframes c2-nod { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(7deg); } }
.c2-shadow { transform-box: fill-box; transform-origin: center; animation: c2-shadow 2.8s ease-in-out infinite; }
.c2-eye { transform-box: fill-box; transform-origin: center; animation: c2-blink 4.2s infinite; }
.tu-body { transform-box: fill-box; transform-origin: 50% 100%; animation: c2-bob 3s ease-in-out infinite; }
.tu-flipA { transform-box: fill-box; transform-origin: 80% 20%; animation: c2-paddle 1.6s ease-in-out infinite; }
.tu-flipB { transform-box: fill-box; transform-origin: 80% 80%; animation: c2-paddleB 1.6s ease-in-out infinite; }
.tu-head { transform-box: fill-box; transform-origin: 0% 60%; animation: c2-nod 3s ease-in-out infinite; }

.ck-card, .ck-toast {
  position: fixed; z-index: 40; box-sizing: border-box;
  font-family: var(--sans); color: var(--ink);
}
.ck-card {
  left: 32px; bottom: 32px; width: 460px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 48px rgba(19, 38, 43, 0.16), 0 2px 6px rgba(19, 38, 43, 0.06);
  padding: 24px; display: flex; flex-direction: column; gap: 18px;
  animation: ck-rise 0.5s cubic-bezier(.2, .8, .2, 1) both;
}
.ck-card[hidden], .ck-toast[hidden] { display: none; }
.ck-handle { display: none; align-self: center; width: 40px; height: 4px; border-radius: 99px; background: #E0D8CA; }
.ck-head { display: flex; gap: 16px; align-items: flex-start; }
.ck-art { flex: none; width: 104px; height: 104px; }
.ck-art svg { display: block; width: 104px; height: 104px; overflow: visible; }
.ck-hello {
  align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--rust);
  background: #FBE9DF; padding: 4px 10px; border-radius: 999px;
}
.ck-copy { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; }
.ck-card h2 {
  margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px;
  line-height: 1.2; letter-spacing: -0.01em;
}
.ck-body { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.ck-body-mob { display: none; }
.ck-options { display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.ck-option {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.ck-option:last-child { border-bottom: 0; }
.ck-option-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ck-option-text strong { font-size: 15px; font-weight: 600; }
.ck-option-text span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.ck-switch {
  flex: none; width: 48px; height: 28px; border: 0; border-radius: 999px; padding: 3px;
  background: var(--line-strong); display: flex; justify-content: flex-start; cursor: pointer;
}
.ck-switch[aria-checked="true"] { justify-content: flex-end; background: var(--teal-900); }
.ck-switch:disabled { cursor: not-allowed; background: #9CBFC4; }
.ck-switch span {
  width: 22px; height: 22px; border-radius: 99px; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.ck-actions { display: flex; gap: 10px; }
.ck-actions button {
  flex: 1; height: 48px; border-radius: 12px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.ck-primary { border: 0; background: var(--ink); color: #fff; }
.ck-secondary { border: 1px solid var(--line-strong); background: #fff; color: var(--ink); }
.ck-links { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.ck-links button {
  border: 0; background: transparent; padding: 6px 0; font-family: inherit; font-size: 14px;
  font-weight: 600; color: var(--teal-900); cursor: pointer;
}
.ck-links a { color: var(--muted); }
.ck-toast {
  left: 32px; bottom: 32px; display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px;
  font-size: 15px; box-shadow: 0 12px 32px rgba(19, 38, 43, 0.2);
}
.ck-toast button {
  border: 0; background: transparent; color: #F2A27E; font-family: inherit;
  font-size: 14px; font-weight: 600; cursor: pointer; padding: 4px 0 4px 8px;
}
@media (max-width: 720px) {
  .ck-card {
    left: 0; right: 0; bottom: 0; width: auto;
    border-radius: 24px 24px 0 0; border-bottom: 0;
    box-shadow: 0 -12px 40px rgba(19, 38, 43, 0.16);
    padding: 12px 20px 28px; gap: 16px;
  }
  .ck-handle { display: block; }
  .ck-head { align-items: center; gap: 14px; }
  .ck-art, .ck-art svg { width: 84px; height: 84px; }
  .ck-hello { font-size: 12px; padding: 3px 9px; }
  .ck-copy { gap: 4px; padding-top: 0; }
  .ck-card h2 { font-size: 22px; }
  .ck-body-desk { display: none; }
  .ck-body-mob { display: block; }
  .ck-actions { flex-direction: column; }
  .ck-actions button { height: 50px; font-size: 16px; }
  .ck-toast { left: 16px; right: 16px; bottom: 16px; }
}
