/* Bonanza Bass River — delta.css
   Golden-hour delta palette · Merriweather Sans + Crimson Pro
   Separation by tint, space and shadow only. */

:root {
  --night: #10201a;
  --night-2: #183027;
  --night-3: #1f3b30;
  --wheat: #e9c46a;
  --wheat-deep: #c99a3a;
  --river: #3a86ff;
  --river-soft: #6fa8ff;
  --reed: #80b918;
  --reed-soft: #a3d65c;
  --ember: #e76f51;
  --text: #f4f7ef;
  --muted: #a8bba4;
  --ink: #10201a;
  --veil: rgba(16, 32, 26, 0.94);
  --glass: rgba(244, 247, 239, 0.05);
  --glass-2: rgba(244, 247, 239, 0.08);
  --shade: 0 18px 50px rgba(0, 0, 0, 0.32);
  --shade-soft: 0 10px 28px rgba(0, 0, 0, 0.22);
  --round: 18px;
  --round-sm: 12px;
  --head: "Merriweather Sans", "Segoe UI", Arial, sans-serif;
  --body: "Crimson Pro", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background-color: #0c1914; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: var(--body);
  font-size: 1.12rem;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 70% 40% at 78% -6%, rgba(233, 196, 106, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 40%, rgba(58, 134, 255, 0.08), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 55%, #0c1914 100%);
  background-color: var(--night);
}

body.compass-lock { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

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

.skip-to {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--wheat);
  color: var(--ink);
  font-family: var(--head);
  font-weight: 800;
  font-size: 0.85rem;
  transition: top 0.2s;
}
.skip-to:focus { top: 12px; }

.kicker {
  font-family: var(--head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wheat);
}

/* ── Header ─────────────────────────────────────────── */
.rivertop {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(16, 32, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.rivertop__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.rivertop__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px 14px 14px 4px;
  background: linear-gradient(140deg, var(--wheat) 0%, var(--wheat-deep) 60%, var(--reed) 140%);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(233, 196, 106, 0.28);
}

.rivertop__nav { display: flex; align-items: center; gap: 4px; }

.rivertop__nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.18s, color 0.18s;
}
.rivertop__nav a:hover { color: var(--wheat); background: rgba(233, 196, 106, 0.1); }
.rivertop__nav a[aria-current="page"] { color: var(--text); background: rgba(58, 134, 255, 0.22); }

.rivertop__burger {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--glass-2);
  color: var(--text);
  font-family: var(--head);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}
.rivertop__burger[aria-expanded="true"] { background: rgba(233, 196, 106, 0.2); color: var(--wheat); }

/* language switcher */
.tongue { position: relative; }

.tongue__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--glass-2);
  color: var(--text);
  font-family: var(--head);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s;
}
.tongue__btn:hover,
.tongue__btn[aria-expanded="true"] { background: rgba(58, 134, 255, 0.26); }

.tongue__list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  display: none;
  width: 190px;
  padding: 6px;
  border-radius: var(--round-sm);
  background: var(--night-3);
  box-shadow: var(--shade);
}
.tongue__list.is-open { display: grid; gap: 2px; }

.tongue__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font-family: var(--head);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.tongue__opt:hover { background: var(--glass-2); }
.tongue__opt.is-on { background: rgba(233, 196, 106, 0.16); color: var(--wheat); font-weight: 800; }
.tongue__flag { font-size: 1.05rem; }

/* ── Layout helpers ─────────────────────────────────── */
.river-body { flex: 1; width: 100%; }

.stretch {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

.band { padding-block: clamp(36px, 6vw, 72px); }

.band__head { max-width: 720px; margin-bottom: 28px; display: grid; gap: 10px; }
.band__head h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
.band__head p { color: var(--muted); }

/* ── Home: game ─────────────────────────────────────── */
.play-bank { padding-top: clamp(28px, 5vw, 56px); }

.play-bank__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 18px 40px;
  align-items: end;
  margin-bottom: 24px;
}
.play-bank__head h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--text) 30%, var(--wheat) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.play-bank__title { display: grid; gap: 10px; }
.play-bank__lede { color: #d5dfcf; font-size: 1.22rem; }

.canvas-raft {
  padding: clamp(6px, 1.2vw, 12px);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(233, 196, 106, 0.55), rgba(58, 134, 255, 0.45) 55%, rgba(128, 185, 24, 0.5));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

#game {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 620;
  border-radius: 18px;
  background: #155c78;
  touch-action: none;
  cursor: crosshair;
}

.play-hint {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--round-sm);
  background: var(--glass);
  color: var(--muted);
  font-size: 1rem;
}
.play-hint::before { content: "🎮"; }

/* ── Home: along the river ─────────────────────────── */
.shore-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}

.shore-split__pic {
  margin: 0;
  border-radius: 28px 28px 28px 8px;
  overflow: hidden;
  box-shadow: var(--shade);
}

.shore-split__text { display: grid; gap: 16px; }
.shore-split__text h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.shore-split__text p:not(.kicker) { color: #d5dfcf; }

/* ── Home: feeding grounds ─────────────────────────── */
.grounds__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ground-tile {
  --tint: var(--wheat);
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px 24px 24px;
  border-radius: var(--round);
  background:
    radial-gradient(circle at 88% 0%, color-mix(in srgb, var(--tint) 32%, transparent), transparent 55%),
    var(--night-3);
  box-shadow: var(--shade-soft);
  overflow: hidden;
}
.ground-tile--deep { --tint: var(--river-soft); }
.ground-tile--reed { --tint: var(--reed-soft); }

.ground-tile__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tint) 24%, transparent);
  font-size: 1.6rem;
}
.ground-tile h3 { font-size: 1.15rem; color: var(--tint); }
.ground-tile p { color: #d5dfcf; }
.ground-tile__meta {
  justify-self: start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  font-family: var(--head);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--tint);
}

/* ── Home: compass perks ───────────────────────────── */
.perk-strip {
  background: linear-gradient(180deg, transparent, rgba(58, 134, 255, 0.07) 30%, rgba(58, 134, 255, 0.07) 70%, transparent);
}

.perk-strip__row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.perk-chip {
  display: grid;
  gap: 8px;
  justify-items: center;
  align-content: start;
  padding: 22px 14px;
  border-radius: 999px 999px var(--round) var(--round);
  background: var(--glass);
  text-align: center;
  transition: transform 0.2s, background 0.2s;
}
.perk-chip:hover { transform: translateY(-4px); background: var(--glass-2); }

.perk-chip__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 1.6rem;
  background: var(--chip, var(--wheat));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.perk-chip h3 { font-size: 0.9rem; }
.perk-chip p { font-size: 0.98rem; color: var(--muted); line-height: 1.4; }

/* ── Home: contact teaser ──────────────────────────── */
.desk-call {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px 40px;
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 100%, rgba(128, 185, 24, 0.35), transparent 50%),
    linear-gradient(120deg, #1f4fa6 0%, #1d5f6a 60%, #2c5b1f 100%);
  box-shadow: var(--shade);
}
.desk-call__text { display: grid; gap: 12px; }
.desk-call__text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.desk-call__text .kicker { color: #ffe39a; }
.desk-call__text p:not(.kicker) { color: #e6efe4; }

.desk-call__mails { display: grid; gap: 10px; }

.mail-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(16, 32, 26, 0.45);
  transition: background 0.18s;
}
.mail-pill:hover { background: rgba(16, 32, 26, 0.7); }
.mail-pill span { font-family: var(--head); font-size: 0.74rem; font-weight: 800; color: #ffe39a; text-transform: uppercase; letter-spacing: 0.08em; }
.mail-pill strong { font-family: var(--head); font-size: 0.92rem; overflow-wrap: anywhere; }

.go-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--wheat);
  color: var(--ink);
  font-family: var(--head);
  font-size: 0.85rem;
  font-weight: 800;
  transition: transform 0.18s, background 0.18s;
}
.go-link::after { content: "→"; }
.go-link:hover { transform: translateX(3px); background: #f3d585; }

/* ── Inner pages ───────────────────────────────────── */
.page-lead {
  padding-block: clamp(36px, 6vw, 70px) clamp(20px, 3vw, 34px);
  display: grid;
  gap: 14px;
  max-width: 820px;
}
.page-lead h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 900; letter-spacing: -0.015em; }
.page-lead p:not(.kicker) { color: #d5dfcf; font-size: 1.2rem; }
.page-lead .stamp {
  justify-self: start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--glass-2);
  font-family: var(--head);
  font-size: 0.76rem;
  color: var(--muted);
}

/* team */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.crew-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px 22px;
  border-radius: var(--round);
  background: var(--night-3);
  box-shadow: var(--shade-soft);
}
.crew-card__badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 22px 22px 22px 6px;
  font-family: var(--head);
  font-weight: 900;
  color: var(--ink);
  background: var(--badge, var(--wheat));
}
.crew-card__role { font-family: var(--head); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wheat); }
.crew-card h2 { font-size: 1.2rem; }
.crew-card p:last-child { color: #d5dfcf; }

.ways-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.way-tile {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: var(--round);
  background: linear-gradient(160deg, rgba(58, 134, 255, 0.16), rgba(58, 134, 255, 0.03));
}
.way-tile:nth-child(2) { background: linear-gradient(160deg, rgba(233, 196, 106, 0.18), rgba(233, 196, 106, 0.03)); }
.way-tile:nth-child(3) { background: linear-gradient(160deg, rgba(128, 185, 24, 0.18), rgba(128, 185, 24, 0.03)); }
.way-tile h3 { font-size: 1.05rem; }
.way-tile p { color: #d5dfcf; }

.side-note {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 26px 8px 26px 26px;
  background: var(--night-3);
  box-shadow: var(--shade-soft);
}
.side-note h2 { font-size: 1.4rem; }
.side-note p { color: #d5dfcf; }

/* contact */
.inbox-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.inbox-grid > * { grid-column: span 2; }
.inbox-grid > :nth-child(n + 4) { grid-column: span 3; }
.inbox-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border-radius: var(--round);
  background: var(--night-3);
  box-shadow: var(--shade-soft);
  transition: transform 0.2s, background 0.2s;
}
.inbox-card:hover { transform: translateY(-3px); background: #234436; }
.inbox-card__icon { font-size: 1.7rem; }
.inbox-card h3 { font-size: 1.08rem; }
.inbox-card p { color: #d5dfcf; font-size: 1.02rem; }
.inbox-card__mail {
  font-family: var(--head);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--wheat);
  overflow-wrap: anywhere;
}
.inbox-card__time {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(58, 134, 255, 0.2);
  font-family: var(--head);
  font-size: 0.72rem;
  font-weight: 700;
  color: #cfe0ff;
}

.desk-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.fact-tile {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 26px;
  border-radius: var(--round);
  background: var(--glass);
}
.fact-tile h2 { font-size: 1.15rem; }
.fact-tile p { color: #d5dfcf; }
.fact-tile--hours { background: linear-gradient(160deg, rgba(233, 196, 106, 0.18), rgba(233, 196, 106, 0.04)); }
.fact-tile--never { background: linear-gradient(160deg, rgba(231, 111, 81, 0.18), rgba(231, 111, 81, 0.04)); }

.fact-list { display: grid; gap: 8px; }
.fact-list li { display: flex; gap: 10px; color: #d5dfcf; line-height: 1.45; }
.fact-list li::before { content: "✓"; color: var(--reed-soft); font-family: var(--head); font-weight: 900; }
.fact-list--no li::before { content: "✕"; color: var(--ember); }

.qa-list { display: grid; gap: 10px; max-width: 860px; }
.qa-list details {
  border-radius: var(--round-sm);
  background: var(--night-3);
  box-shadow: var(--shade-soft);
}
.qa-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.98rem;
}
.qa-list summary::-webkit-details-marker { display: none; }
.qa-list summary::after { content: "+"; color: var(--wheat); font-size: 1.3rem; line-height: 1; }
.qa-list details[open] summary::after { content: "−"; }
.qa-list details p { padding: 0 20px 18px; color: #d5dfcf; }

.policy-nudge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border-radius: var(--round);
  background: rgba(58, 134, 255, 0.14);
}
.policy-nudge p { color: #dfe8f9; }

/* legal */
.notice-ribbon {
  display: flex;
  gap: 14px;
  padding: 20px 24px;
  margin-bottom: 26px;
  border-radius: var(--round);
  background: linear-gradient(110deg, rgba(233, 196, 106, 0.2), rgba(58, 134, 255, 0.12));
  color: #f1ecd9;
  font-size: 1.12rem;
}
.notice-ribbon::before { content: "ℹ"; font-family: var(--head); font-weight: 900; color: var(--wheat); }

.clause-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.clause-grid article {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 24px;
  border-radius: var(--round);
  background: var(--night-3);
  box-shadow: var(--shade-soft);
}
.clause-grid article:nth-child(4n + 1) { background: linear-gradient(170deg, #22433a, var(--night-3)); }
.clause-grid article:last-child:nth-child(odd) { grid-column: 1 / -1; }
.clause-grid h2 { font-size: 1.08rem; color: var(--wheat); }
.clause-grid p { color: #d5dfcf; }
.clause-grid a,
.access-card a { color: var(--wheat); padding: 0 3px; border-radius: 4px; background: rgba(233, 196, 106, 0.12); }
.clause-grid a:hover,
.access-card a:hover { background: rgba(233, 196, 106, 0.26); }

/* journal */
.journal-banner {
  margin: 0 0 clamp(26px, 4vw, 44px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shade);
}
.journal-banner img { width: 100%; aspect-ratio: 1600 / 520; object-fit: cover; }

.log-flow { display: grid; gap: 20px; }
.log-flow + .side-note { margin-top: clamp(28px, 4vw, 44px); }
.log-entry {
  width: min(760px, 100%);
  display: grid;
  gap: 10px;
  padding: 26px 28px;
  border-radius: 24px 24px 24px 6px;
  background: var(--night-3);
  box-shadow: var(--shade-soft);
}
.log-entry:nth-child(even) { justify-self: end; border-radius: 24px 24px 6px 24px; background: linear-gradient(160deg, #1f3f4f, var(--night-3)); }
.log-entry__when {
  justify-self: start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(233, 196, 106, 0.16);
  font-family: var(--head);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--wheat);
}
.log-entry h2 { font-size: 1.3rem; }
.log-entry p { color: #d5dfcf; }

/* accessibility */
.access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.access-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px;
  border-radius: var(--round);
  background: var(--night-3);
  box-shadow: var(--shade-soft);
}
.access-card--wide { grid-column: 1 / -1; background: linear-gradient(130deg, rgba(58, 134, 255, 0.2), var(--night-3)); }
.access-card h2 { font-size: 1.15rem; display: flex; gap: 10px; align-items: center; }
.access-card p { color: #d5dfcf; }

.key-list { display: grid; gap: 10px; }
.key-list li { display: flex; gap: 12px; align-items: baseline; color: #d5dfcf; }
.key-list li::before { content: "⌨"; color: var(--wheat); }

/* ── Footer ─────────────────────────────────────────── */
.estuary {
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(36px, 5vw, 56px) 0 28px;
  background: linear-gradient(180deg, rgba(8, 18, 14, 0.2), rgba(8, 18, 14, 0.85));
}
.estuary__wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 28px 48px;
}
.estuary__brand { display: grid; gap: 12px; align-content: start; }
.estuary__brand .rivertop__brand { margin: 0; }
.estuary__brand p { color: var(--muted); }

.estuary__links { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.estuary__links a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--glass);
  font-family: var(--head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.18s, color 0.18s;
}
.estuary__links a:hover { background: rgba(233, 196, 106, 0.14); color: var(--wheat); }

.estuary__legal {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 24px;
  align-items: start;
  padding: 24px;
  border-radius: var(--round);
  background: rgba(244, 247, 239, 0.04);
}
.estuary__age {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--ember), #b8442b);
  font-family: var(--head);
  font-weight: 900;
  font-size: 1.05rem;
  color: #fff;
  box-shadow: 0 8px 22px rgba(231, 111, 81, 0.35);
}
.estuary__notes { display: grid; gap: 6px; }
.estuary__notes p { color: #c6d2c1; font-size: 1rem; line-height: 1.5; }
.estuary__notes .estuary__age-note { font-family: var(--head); font-size: 0.82rem; font-weight: 800; color: var(--wheat); }

.estuary__base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 0.98rem;
}
.estuary__base strong { font-weight: 600; color: #d5dfcf; }

/* ── River Compass (bonus wheel) ────────────────────── */
.compass-veil {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 18, 14, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.compass-veil[hidden] { display: none; }
.compass-veil.is-open { animation: veilIn 0.3s ease-out; }
.compass-veil.is-leaving { opacity: 0; transition: opacity 0.22s ease; }

.compass-card {
  width: min(960px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(250px, 0.95fr) minmax(300px, 1.05fr);
  gap: 32px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(233, 196, 106, 0.2), transparent 45%),
    linear-gradient(160deg, #1d382d, #12251d);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.compass-copy { display: grid; gap: 14px; }
.compass-copy h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 900; line-height: 1.02; }
.compass-copy > p:not(.kicker) { color: var(--muted); }

.compass-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.compass-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--glass);
  font-family: var(--head);
  font-size: 0.78rem;
  font-weight: 700;
}
.compass-perks li span:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--chip, var(--wheat));
  font-size: 0.95rem;
}

.compass-stage { position: relative; display: grid; justify-items: center; gap: 16px; }

.compass-needle {
  position: absolute;
  z-index: 3;
  top: -6px;
  width: 38px;
  height: 40px;
  background: linear-gradient(180deg, #fff6d6, var(--wheat));
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.45));
}

.compass-dial {
  --dial: min(360px, 70vw);
  position: relative;
  width: var(--dial);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    #e9c46a 0 60deg,
    #3a86ff 60deg 120deg,
    #80b918 120deg 180deg,
    #e76f51 180deg 240deg,
    #2a9d8f 240deg 300deg,
    #c58b2a 300deg 360deg
  );
  box-shadow: 0 0 0 10px #22412f, 0 0 0 14px var(--wheat), 0 24px 50px rgba(0, 0, 0, 0.5);
  transition: transform 3s cubic-bezier(0.12, 0.65, 0.18, 1);
}
.compass-dial::after {
  content: "BBR";
  position: absolute;
  inset: 37%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a4a3c, #10201a);
  box-shadow: 0 0 0 4px var(--wheat), inset 0 2px 8px rgba(0, 0, 0, 0.6);
  color: var(--wheat);
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 900;
}

.compass-dial__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 32, 26, 0.78);
  font-size: 1.35rem;
  transform: rotate(calc(var(--slot) * 60deg + 30deg)) translateY(calc(var(--dial) * -0.36)) rotate(calc(var(--slot) * -60deg - 30deg));
}

.compass-spin,
.compass-go {
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--head);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}
.compass-spin { background: linear-gradient(120deg, var(--wheat), #f3d585); color: var(--ink); box-shadow: 0 8px 22px rgba(233, 196, 106, 0.35); }
.compass-go { background: linear-gradient(120deg, var(--reed), var(--reed-soft)); color: var(--ink); box-shadow: 0 8px 22px rgba(128, 185, 24, 0.35); }
.compass-spin:hover,
.compass-go:hover { transform: translateY(-2px); filter: brightness(1.05); }
.compass-spin:disabled { cursor: wait; opacity: 0.6; transform: none; }

.compass-out { min-height: 64px; display: grid; gap: 3px; text-align: center; }
.compass-out small { font-family: var(--head); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.compass-out strong { font-family: var(--head); font-size: 1.25rem; color: var(--wheat); }
.compass-out span { max-width: 420px; color: #e3ebdc; }

@keyframes veilIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .rivertop { flex-wrap: wrap; }
  .rivertop__burger { display: inline-flex; }
  .rivertop__nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: var(--round);
    background: var(--night-3);
    box-shadow: var(--shade);
  }
  .rivertop__nav.is-open { display: flex; }
  .rivertop__nav a { padding: 12px 16px; font-size: 0.92rem; border-radius: 12px; }
  .perk-strip__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .play-bank__head,
  .shore-split,
  .desk-call { grid-template-columns: 1fr; }
  .grounds__row,
  .desk-facts,
  .ways-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inbox-grid > *,
  .inbox-grid > :nth-child(n + 4) { grid-column: auto; }
  .inbox-grid > :last-child { grid-column: 1 / -1; }
  .estuary__wrap { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 1.06rem; }
  .grounds__row,
  .desk-facts,
  .ways-row,
  .crew-grid,
  .clause-grid,
  .inbox-grid,
  .access-grid { grid-template-columns: 1fr; }
  .perk-strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compass-card { grid-template-columns: 1fr; gap: 20px; }
  .compass-copy h2 { font-size: 2rem; }
  .compass-dial { --dial: min(280px, 72vw); box-shadow: 0 0 0 7px #22412f, 0 0 0 10px var(--wheat), 0 18px 40px rgba(0, 0, 0, 0.5); }
  .compass-dial__icon { width: 38px; height: 38px; margin: -19px; font-size: 1.1rem; }
  .log-entry:nth-child(even) { justify-self: stretch; }
  .estuary__legal { grid-template-columns: 1fr; }
  .rivertop__name { font-size: 0.92rem; }
}

@media (max-width: 420px) {
  .rivertop { gap: 10px; padding-inline: 12px; }
  .rivertop__mark { width: 38px; height: 38px; font-size: 0.64rem; }
  .rivertop__name { display: none; }
  .compass-perks { gap: 6px; }
  .compass-perks li { padding: 6px 8px; gap: 8px; font-size: 0.7rem; }
  .compass-perks li span:first-child { flex-basis: 26px; height: 26px; font-size: 0.82rem; }
  .compass-card { gap: 14px; }
  .compass-copy { gap: 10px; }
  .compass-copy > p:not(.kicker) { font-size: 0.98rem; line-height: 1.45; }
  .perk-strip__row { grid-template-columns: 1fr; }
  .perk-chip { border-radius: var(--round); }
  .compass-veil { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .compass-dial { transition-duration: 0.6s; }
  .compass-veil.is-open { animation: none; }
  .perk-chip,
  .inbox-card,
  .go-link { transition: none; }
}

/* Wheel dialog: wheel and button only, no side text column */
.compass-card {
  width: min(460px, 100%);
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
}
.compass-card .compass-stage { width: 100%; }
.wheel-sr-title {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
