/* Oregon Fish Forecast, version two.
   Forest ink and river paper, taken from the supplied artwork. Fraunces for the voice, Instrument Sans
   for reading, JetBrains Mono for every number that came from a source. */
:root {
  --ink: oklch(30.56% 0.0641 163.5);
  --ink-deep: oklch(21% 0.045 166);
  --ink-soft: oklch(38% 0.06 163);
  --paper: oklch(97.4% 0.012 95);
  --paper-2: oklch(93.6% 0.018 95);
  --paper-3: oklch(89% 0.022 95);
  --text: oklch(24% 0.04 163);
  --muted: oklch(46% 0.03 165);
  --on-ink: oklch(95% 0.02 120);
  --on-ink-muted: oklch(78% 0.035 150);
  --river: oklch(60% 0.15 245);
  --river-deep: oklch(42% 0.16 262);
  --sun: oklch(91% 0.18 103);
  --sun-deep: oklch(80% 0.17 92);
  --alert: oklch(58% 0.17 45);
  --alert-ink: oklch(49% 0.15 42);
  --line: color-mix(in oklch, var(--ink) 16%, transparent);
  --line-ink: color-mix(in oklch, var(--on-ink) 18%, transparent);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', 'Segoe UI', 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink-deep); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
main:focus, [tabindex="-1"]:focus { outline: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ---------- Type ---------- */
.eyebrow { font: 500 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.eyebrow.on-ink { color: var(--on-ink-muted); }
.display { font-family: var(--display); font-weight: 380; font-variation-settings: 'opsz' 144, 'SOFT' 40; letter-spacing: -0.025em; line-height: .95; margin: 0; }
.display em { font-style: italic; font-weight: 340; color: var(--river-deep); }
.h-section { font-size: clamp(2.6rem, 6.4vw, 6.2rem); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 46ch; margin: 22px 0 0; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .12em .32em; margin: 0 -.12em -.32em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-deep); }
.btn-line { border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }
.ext::after { content: '↗'; font-weight: 400; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-ink); transition: background-color .4s, color .4s, transform .5s var(--ease); }
.nav-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 28px; padding: 16px var(--gutter); }
.nav.solid { background: color-mix(in oklch, var(--paper) 88%, transparent); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav.on-paper { color: var(--ink); }
.nav.hide { transform: translateY(-100%); }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.mark img { width: 58px; height: auto; }
.mark span { font: 500 19px/1 var(--display); letter-spacing: -0.01em; }
.mark em { font-style: italic; font-weight: 400; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; cursor: pointer; place-items: center; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .35s var(--ease), background-color .2s; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* One question, one search box, the artwork. On paper, so the page opens quiet. */
.hero { background: var(--paper); color: var(--text); padding: clamp(96px, 13vh, 128px) var(--gutter) clamp(40px, 5vw, 72px); position: relative; }
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
/* Above the artwork and its "Ask Eddy" card, so search suggestions are never covered. */
.hero-copy { position: relative; z-index: 5; }
.hero-title { font-family: var(--display); font-weight: 380; font-variation-settings: 'opsz' 144, 'SOFT' 30; font-size: clamp(3.1rem, 7vw, 7.4rem); line-height: .92; letter-spacing: -0.035em; margin: 0; color: var(--ink); }
.hero-title em { display: block; font-style: italic; font-weight: 320; color: var(--river-deep); }
.hero-search { position: relative; display: flex; align-items: center; gap: 8px; margin-top: clamp(28px, 3.6vw, 48px); max-width: 620px; min-height: 64px; padding: 6px 6px 6px 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--paper); transition: box-shadow .25s; }
.hero-search:focus-within { box-shadow: 0 0 0 4px color-mix(in oklch, var(--sun-deep) 55%, transparent); }
.hero-search > .icon { width: 22px; height: 22px; color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; padding: 0 6px; font-size: 18px; }
.hero-search input::placeholder { color: var(--muted); opacity: 1; }
.hero-search input:focus, .hero-search input:focus-visible { outline: none; }
/* iOS draws its own search field, with a magnifier inside, unless the native look is switched off. */
.hero-search input, .search input { -webkit-appearance: none; appearance: none; }
.hero-search input::-webkit-search-decoration, .search input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.hero-search input::-webkit-search-cancel-button { display: none; }
.hero-search-btn { flex: none; min-height: 50px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 16px; cursor: pointer; transition: background-color .25s; }
.hero-search-btn:hover { background: var(--ink-deep); }
.hero-jump { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px; padding: 0 4px; font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--line); transition: text-decoration-color .2s; }
.hero-jump:hover { text-decoration-color: currentColor; }
.hero-jump .icon { transition: transform .45s var(--ease); }
.hero-jump:hover .icon { transform: translateY(3px); }
/* Until app.js draws the page, the footer waits below the first screen (only when scripts run). */
@media (scripting: enabled) { #view.booting { min-height: 100vh; min-height: 100svh; } }
/* Suggestions under the search box. */
.hero-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 20; list-style: none; margin: 0; padding: 8px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 60px -24px color-mix(in oklch, var(--ink-deep) 55%, transparent); }
.hero-suggest[hidden] { display: none; }
.hero-suggest li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; cursor: pointer; }
.hero-suggest li:hover, .hero-suggest li[aria-selected="true"] { background: var(--paper-2); }
.hs-name { font: 400 1.25rem/1.15 var(--display); letter-spacing: -0.01em; }
.hs-name small { display: block; font: 400 14px/1.3 var(--sans); letter-spacing: 0; color: var(--muted); margin-top: 3px; }
.hs-meta { font-size: 13px; color: var(--muted); }
.hs-score { min-width: 44px; text-align: center; font-size: 15px; font-weight: 500; padding: 6px 10px; border-radius: 999px; background: oklch(90% 0.08 150); color: var(--ink-deep); }
.hs-score.off { font: 400 13px/1.2 var(--mono); background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.hero-suggest .hs-more { display: block; font-weight: 600; font-size: 15px; color: var(--ink); border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; margin-top: 4px; }
.hero-suggest .hs-none { display: block; cursor: default; color: var(--muted); font-size: 15px; }
.hero-suggest .hs-none:hover { background: transparent; }
/* The artwork sits straight on the page, at its own proportions. */
.plate { margin: 0; position: relative; }
.plate-frame { position: relative; overflow: hidden; aspect-ratio: 1280 / 683; background: var(--paper); }
.plate-img, .plate canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.plate canvas { opacity: 0; transition: opacity .8s; }
.plate.live canvas { opacity: 1; }
/* "Ask Eddy" on the artwork (filled by ask.js when Eddy is available). */
.hero-eddy { position: absolute; right: 0; bottom: -20%; z-index: 3; width: min(400px, 54%); }
.hero-eddy:empty { display: none; }
/* The card hangs below the artwork, so the artwork keeps room for it from the first frame. A visitor who will not see
   Eddy (ask.js adds .no-eddy) gets the room back. */
.plate { margin-bottom: clamp(48px, 6vw, 84px); }
.no-eddy .plate { margin-bottom: 0; }
.eddy-card { padding: 18px 18px 16px; border-radius: var(--radius); background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 0 22px 50px -22px color-mix(in oklch, var(--ink-deep) 60%, transparent); }
.eddy-card-head { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.eddy-card-head .icon { width: 34px; height: 34px; color: var(--ink); }
.eddy-card-head h2 { font: 500 1.5rem/1 var(--display); letter-spacing: -0.015em; margin: 0; color: var(--ink); }
.eddy-card-head p { font: italic 400 15px/1.2 var(--display); color: var(--muted); margin: 4px 0 0; }
.eddy-card form { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); transition: border-color .2s; }
.eddy-card form:focus-within { border-color: var(--ink); }
.eddy-card form:has(input:focus-visible) { outline: 3px solid var(--sun-deep); outline-offset: 2px; }
.eddy-card input { flex: 1; min-width: 0; min-height: 40px; border: 0; background: transparent; font-size: 16px; padding: 0; }
.eddy-card input::placeholder { color: var(--muted); opacity: 1; }
.eddy-card input:focus { outline: none; }
.eddy-card form button { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; transition: background-color .2s; }
.eddy-card form button:hover { background: var(--ink-deep); }
.eddy-try { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 0; }
.eddy-try > span { flex: none; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.eddy-try .ask-chip { min-height: 40px; }

/* ---------- Live wire ---------- */
.wire { background: var(--ink); color: var(--on-ink); border-top: 1px solid var(--line-ink); overflow: hidden; }
.wire-track { display: flex; width: max-content; animation: wire 70s linear infinite; }
.wire.paused .wire-track { animation-play-state: paused; }
.wire:hover .wire-track { animation-play-state: paused; }
.wire ul { display: flex; list-style: none; margin: 0; padding: 0; }
.wire li { display: flex; align-items: center; gap: 10px; padding: 18px 28px; white-space: nowrap; font-size: 14px; border-right: 1px solid var(--line-ink); }
.wire li b { font: 500 15px var(--mono); color: var(--sun); }
.wire li span { color: var(--on-ink-muted); }
.wire .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--river); box-shadow: 0 0 0 4px color-mix(in oklch, var(--river) 25%, transparent); }
@keyframes wire { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 13vw, 180px) var(--gutter); position: relative; }
.section > .inner { max-width: var(--max); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .lede { margin: 0; justify-self: end; }
.section.ink { background: var(--ink); color: var(--on-ink); }
.section.ink .display em { color: var(--sun); }
.section.ink .lede, .section.ink .eyebrow { color: var(--on-ink-muted); }
.section.paper-2 { background: var(--paper-2); }

/* ---------- Angler posts ---------- */
.word-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.word-h { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--display); letter-spacing: -0.015em; margin: 0 0 10px; }
.word-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.word-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.word-list a { text-decoration: none; }
.word-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.word-list strong { font: 400 1.35rem/1.15 var(--display); }
.word-list p { margin: 6px 0 4px; }
.a-meta { font: 400 13px/1.4 var(--mono); color: var(--muted); }
.anglers { margin-top: 24px; padding: 20px 22px; border-radius: 16px; border: 1px dashed var(--line); }
.anglers .eyebrow { margin-bottom: 10px; }
.anglers ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 14px; }
.anglers li p { margin: 4px 0 6px; }
.anglers .link { font-size: 14px; }

/* ---------- Counts ---------- */
.stations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-ink); }
.station { padding: 34px 32px 38px 0; border-right: 1px solid var(--line-ink); }
.station + .station { padding-left: 32px; }
.station:last-child { border-right: 0; }
.station h2 { font: 400 clamp(1.7rem, 2.6vw, 2.4rem)/1 var(--display); letter-spacing: -0.02em; margin: 0 0 6px; }
.station .meta { font: 400 13px/1.5 var(--mono); color: var(--on-ink-muted); margin: 0 0 30px; }
.big-count { font: 400 clamp(3.2rem, 6.4vw, 6rem)/.9 var(--mono); letter-spacing: -0.06em; color: var(--sun); margin: 0; }
.big-label { font-size: 14px; color: var(--on-ink-muted); margin: 10px 0 30px; }
.runs { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.run-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14px; }
.run-row .num { font-size: 13px; color: var(--on-ink-muted); }
.bars-pair { grid-column: 1 / -1; display: grid; gap: 4px; }
.bar { height: 6px; border-radius: 6px; background: var(--line-ink); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--sun); transform-origin: left; }
.bar.last i { background: color-mix(in oklch, var(--on-ink) 45%, transparent); }
.count-note { margin: 44px 0 0; font-size: 14px; color: var(--on-ink-muted); max-width: 70ch; }
.count-legend { display: flex; gap: 20px; font: 400 13px var(--mono); color: var(--on-ink-muted); margin-top: 16px; }
.count-legend i { display: inline-block; width: 18px; height: 6px; border-radius: 6px; background: var(--sun); margin-right: 8px; vertical-align: middle; }
.count-legend .ly i { background: color-mix(in oklch, var(--on-ink) 45%, transparent); }

/* ---------- Score explainer ---------- */
.method-pin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.stack { display: grid; gap: 10px; }
.stack-bar { display: flex; height: 96px; border-radius: 18px; overflow: hidden; background: var(--paper-3); }
.stack-bar span { display: block; height: 100%; transform-origin: left; }
.factor-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; }
.factor-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.factor-list li:last-child { border-bottom: 1px solid var(--line); }
.factor-list .sw { width: 14px; height: 14px; border-radius: 4px; transform: translateY(2px); }
.factor-list strong { font-weight: 600; }
.factor-list p { grid-column: 2 / -1; margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.factor-list .num { font-size: 15px; }
.f-tone { background: var(--ink); } .f-run { background: var(--river-deep); } .f-cond { background: var(--river); } .f-fresh { background: var(--sun-deep); } .f-stock { background: oklch(70% 0.09 150); }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; border: 1px solid currentColor; }

/* ---------- Short list ---------- */
.home-list { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(56px, 6vw, 88px); scroll-margin-top: 20px; }
.list-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-bottom: clamp(20px, 2.6vw, 32px); }
.h-list { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1; }
.list-sub { font: italic 400 clamp(1.05rem, 1.5vw, 1.3rem)/1.2 var(--display); color: var(--muted); margin: 0; }
.list-all { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 6px 0; }
.list-all .icon { transition: transform .45s var(--ease); }
.list-all:hover { text-decoration: underline; text-underline-offset: 5px; }
.list-all:hover .icon { transform: translateX(4px); }
.picks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.pick-row a { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 44px; gap: 28px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); text-decoration: none; isolation: isolate; transition: color .35s; }
.pick-row a::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; border-radius: 4px; }
.pick-row a:hover, .pick-row a:focus-visible { color: var(--paper); }
.pick-row a:hover::before, .pick-row a:focus-visible::before { transform: scaleY(1); }
.p-place, .p-verdict { display: grid; gap: 6px; justify-items: start; }
.p-name { font: 400 clamp(1.45rem, 2.3vw, 2.1rem)/1.05 var(--display); letter-spacing: -0.02em; }
.p-reach { color: var(--muted); transition: color .35s; }
.p-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.p-for { font: italic 400 clamp(1.15rem, 1.6vw, 1.4rem)/1.1 var(--display); }
.p-why { font-size: 16px; line-height: 1.4; }
.p-notes { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 14px; line-height: 1.35; color: var(--muted); transition: color .35s; }
.p-warn { display: inline-flex; gap: 6px; align-items: flex-start; }
.p-warn .icon { color: var(--alert); margin-top: 1px; width: 1.1em; height: 1.1em; }
.pick-row a:hover .p-reach, .pick-row a:focus-visible .p-reach, .pick-row a:hover .p-notes, .pick-row a:focus-visible .p-notes { color: var(--on-ink-muted); }
.pick-row a:hover .p-warn .icon, .pick-row a:focus-visible .p-warn .icon { color: var(--sun); }
.p-score { white-space: nowrap; font-size: 1.3rem; font-weight: 500; padding: 7px 13px; border-radius: 12px; background: oklch(90% 0.08 150); color: var(--ink-deep); }
.p-score i { font-style: normal; font-weight: 400; font-size: .72em; opacity: .7; }
.p-go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .45s var(--ease), border-color .3s; }
.pick-row a:hover .p-go { transform: translateX(4px); border-color: currentColor; }
.ring { width: 92px; height: 92px; position: relative; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .track { stroke: var(--paper-3); }
.ring .val { stroke: var(--ink); stroke-linecap: round; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 500 26px var(--mono); letter-spacing: -0.04em; }
.score-note { margin: 24px 0 0; font-size: 14px; color: var(--muted); max-width: 80ch; }
.score-note .link { font-size: 14px; }

/* ---------- Directory ---------- */
.controls { display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto auto; gap: 12px; align-items: center; margin-bottom: 18px; position: sticky; top: 76px; z-index: 5; padding: 12px; margin-left: -12px; margin-right: -12px; border-radius: 20px; background: color-mix(in oklch, var(--paper) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.search { position: relative; }
.search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; min-height: 52px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 20px 0 48px; font-size: 16px; transition: border-color .2s; }
.search input:hover, .search input:focus { border-color: var(--ink); outline: none; }
.search input:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 2px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); }
.seg button { border: 0; background: transparent; padding: 0 16px; min-height: 42px; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 500; transition: background-color .25s, color .25s; }
.seg button:hover { background: var(--paper-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.controls > label:not(.search) { display: block; }
.controls .select { width: 100%; }
.select { min-height: 52px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 40px 0 18px; font-size: 15px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.select:hover { border-color: var(--ink); }
.result-count { font: 400 13px var(--mono); color: var(--muted); margin: 0 0 8px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.row a { position: relative; display: grid; grid-template-columns: 48px minmax(0, 2.1fr) minmax(0, 1.4fr) minmax(0, 1.3fr) minmax(0, 1.1fr) 110px 44px; gap: 20px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); text-decoration: none; isolation: isolate; transition: color .35s; }
.row a::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; border-radius: 4px; }
.row a:hover, .row a:focus-visible { color: var(--paper); }
.row a:hover::before, .row a:focus-visible::before { transform: scaleY(1); }
.row a:hover .muted, .row a:focus-visible .muted, .row a:hover .idx, .row a:focus-visible .idx,
.row a:hover .chip.none, .row a:focus-visible .chip.none, .row a:hover .mini-score.off, .row a:focus-visible .mini-score.off { color: var(--on-ink-muted); }
.row .idx { font: 400 13px var(--mono); color: var(--muted); }
.row .name { font: 400 clamp(1.4rem, 2.2vw, 2rem)/1.05 var(--display); letter-spacing: -0.02em; }
.row .name small { display: block; font: 400 14px/1.3 var(--sans); letter-spacing: 0; margin-top: 6px; }
.row .cell { font-size: 14px; line-height: 1.4; }
.row .cell b { display: block; font: 400 13px var(--mono); }
.muted { color: var(--muted); transition: color .35s; }
.chip { display: inline-block; font: 500 13px/1 var(--mono); padding: 6px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.chip.fresh { background: oklch(90% 0.08 150); }
.chip.stale { background: var(--paper-3); color: var(--muted); }
.chip.none { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.mini-score { display: flex; align-items: center; gap: 10px; font: 500 20px var(--mono); }
.mini-score i { display: block; width: 46px; height: 6px; border-radius: 6px; background: var(--paper-3); overflow: hidden; }
.mini-score i b { display: block; height: 100%; background: var(--river); }
.mini-score.off { font: 400 13px/1.3 var(--mono); color: var(--muted); }
.row .arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .45s var(--ease), border-color .3s; }
.row a:hover .arrow { transform: translateX(4px); border-color: currentColor; }
.empty { padding: 60px 0; text-align: center; }
.empty p { font: 400 1.8rem/1.2 var(--display); margin: 0 0 18px; }

/* ---------- Stocking ---------- */
.stock-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.stock-total { font: 400 clamp(3.6rem, 7.2vw, 8.2rem)/.85 var(--mono); letter-spacing: -0.07em; color: var(--river-deep); margin: 0; }
.stock-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.stock-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stock-list strong { font: 400 1.35rem/1.15 var(--display); }
.stock-list .num { font-size: 15px; align-self: center; }
.stock-list small { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.stock-list a { text-decoration: none; }
.stock-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Principles ---------- */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-ink); }
.principles li { padding: 40px 40px 48px 0; border-bottom: 1px solid var(--line-ink); }
.principles li:nth-child(odd) { border-right: 1px solid var(--line-ink); }
.principles li:nth-child(even) { padding-left: 40px; }
.principles .n { font: 400 13px var(--mono); color: var(--sun); }
.principles h3 { font: 400 clamp(1.8rem, 3vw, 2.8rem)/1.02 var(--display); letter-spacing: -0.02em; margin: 14px 0 14px; }
.principles p { margin: 0; color: var(--on-ink-muted); max-width: 46ch; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: var(--on-ink); padding: clamp(80px, 10vw, 140px) var(--gutter) 28px; }
.footer-top, .footer-base { max-width: var(--max); margin: 0 auto; }
.footer-word { font: 300 clamp(3rem, 9vw, 9rem)/.92 var(--display); font-style: italic; letter-spacing: -0.035em; margin: 0 0 clamp(48px, 7vw, 96px); color: var(--sun); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 40px; padding-top: 36px; border-top: 1px solid var(--line-ink); }
.footer-h { font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-muted); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-cols p { margin: 0; color: var(--on-ink-muted); font-size: 15px; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line-ink); font-size: 13px; color: var(--on-ink-muted); }
.footer-base p { margin: 0; }
html:not(.no-eddy) .footer { padding-bottom: 108px; }
.noscript { background: var(--sun); color: var(--ink-deep); padding: 24px var(--gutter); }

/* ---------- Water detail ---------- */
.d-hero { background: var(--ink-deep); color: var(--on-ink); padding: clamp(130px, 18vh, 190px) var(--gutter) clamp(56px, 7vw, 96px); }
.d-hero .inner { max-width: var(--max); margin: 0 auto; }
.crumb { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--on-ink-muted); font-size: 15px; margin-bottom: 40px; transition: color .2s, gap .3s var(--ease); }
.crumb:hover { color: var(--on-ink); gap: 12px; }
.d-title { font-family: var(--display); font-weight: 360; font-variation-settings: 'opsz' 144, 'SOFT' 30; font-size: clamp(3.2rem, 9.5vw, 10rem); line-height: .9; letter-spacing: -0.035em; margin: 0; }
.d-reach { font: italic 300 clamp(1.4rem, 3vw, 2.6rem)/1.1 var(--display); color: var(--sun); margin: 14px 0 0; }
.d-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.d-score { text-align: right; }
.d-score .ring { width: 150px !important; height: 150px !important; margin-left: auto; }
.d-score .ring .track { stroke: var(--line-ink); }
.d-score .ring .val { stroke: var(--sun); }
.d-score .ring b { font-size: 44px; color: var(--on-ink); }
.d-score p { margin: 10px 0 0; font: 400 13px/1.5 var(--mono); color: var(--on-ink-muted); max-width: 28ch; margin-left: auto; }
.d-score .held { max-width: 30ch; text-align: left; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-ink); font: 400 14px/1.45 var(--sans); color: var(--on-ink-muted); }
.d-for { display: block; font: 600 15px/1.3 var(--sans); color: var(--on-ink); margin-bottom: 2px; }
.d-conf { border: 0; padding: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.d-conf:hover { color: var(--sun); }
.d-score .held strong { display: block; color: var(--on-ink); font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.d-score p { max-width: 30ch; }
/* The decision strip: the fish, the way in and the rule that matters, together under the name. */
.quick { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1.35fr); margin: clamp(36px, 5vw, 64px) 0 0; border-top: 1px solid var(--line-ink); }
.quick > div { padding: 20px 24px 0 0; min-width: 0; }
.quick > div + div { padding-left: 24px; border-left: 1px solid var(--line-ink); }
.quick dt { display: flex; align-items: center; gap: 8px; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--on-ink-muted); }
.quick dt .icon { width: 18px; height: 18px; }
.quick dd { margin: 10px 0 0; }
.quick strong { display: block; font: 400 clamp(1.3rem, 1.9vw, 1.6rem)/1.15 var(--display); letter-spacing: -0.01em; color: var(--on-ink); }
.quick p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--on-ink); }
.quick small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--on-ink-muted); }
.q-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 8px; }
.q-acts .link { color: var(--sun); text-decoration-color: color-mix(in oklch, var(--sun) 40%, transparent); min-height: 40px; }
.q-more { min-height: 40px; padding: 0; border: 0; background: none; color: var(--on-ink); font: 600 15px/1 var(--sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-ink); cursor: pointer; }
.q-more:hover { color: var(--sun); text-decoration-color: currentColor; }
.q-rule.warn dt { color: var(--sun); }
.q-rule.none p { color: var(--on-ink-muted); }
.d-body { padding: clamp(64px, 9vw, 130px) var(--gutter); }
.d-body > .inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(40px, 6vw, 110px); align-items: start; }
.d-main > section + section { margin-top: clamp(64px, 8vw, 110px); }
.d-h { font: 400 clamp(2rem, 3.6vw, 3.2rem)/1 var(--display); letter-spacing: -0.025em; margin: 0 0 24px; }
.quote { font: 400 clamp(1.6rem, 3vw, 2.6rem)/1.15 var(--display); letter-spacing: -0.015em; margin: 0; }
.quote::before { content: '“'; color: var(--river); }
.quote::after { content: '”'; color: var(--river); }
.quote-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
.callout { margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: var(--paper-2); font-size: 15px; }
.callout strong { display: block; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; color: var(--muted); }
.notices { display: grid; gap: 12px; }
.notice { padding: 20px 22px; border-radius: 16px; border: 1.5px solid color-mix(in oklch, var(--alert) 45%, transparent); background: color-mix(in oklch, var(--alert) 6%, var(--paper)); }
.notice.unverified { border-style: dashed; border-color: var(--line); background: var(--paper); }
.notice-label { display: flex; align-items: center; gap: 8px; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--alert-ink); margin-bottom: 8px; }
.notice.unverified .notice-label { color: var(--muted); }
.notice p { margin: 0 0 10px; }
.notice small { color: var(--muted); font-size: 13px; margin-right: 14px; }
.gauge { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gauge-card { padding: 22px; border-radius: 18px; background: var(--paper-2); }
.gauge-card small { font: 400 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.gauge-card b { display: block; font: 400 clamp(2.2rem, 4vw, 3.2rem)/1 var(--mono); letter-spacing: -0.05em; margin: 10px 0 8px; }
.gauge-card p { margin: 0; font-size: 14px; color: var(--muted); }
.flow-scale { position: relative; height: 8px; border-radius: 8px; background: var(--paper-3); margin: 14px 0 6px; }
.flow-scale i { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--muted); }
.flow-scale b { position: absolute; top: -5px; width: 18px; height: 18px; border-radius: 50%; background: var(--river); margin: 0 0 0 -9px; border: 3px solid var(--paper-2); }
.small { font-size: 14px; color: var(--muted); }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list > li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.list .l-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.list strong { font: 400 1.3rem/1.2 var(--display); }
.list p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.counts-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.counts-mini div { padding: 12px 14px; border-radius: 12px; background: var(--paper-2); }
.counts-mini small { display: block; font-size: 13px; color: var(--muted); }
.counts-mini b { font: 500 1.3rem var(--mono); letter-spacing: -0.03em; }
.factors { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.factors li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 20px; border-radius: 16px; background: var(--paper-2); }
.factors .bar { grid-column: 1 / -1; background: var(--paper-3); height: 6px; }
.factors .bar i { background: var(--ink); }
.factors p { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
.confidence { margin: 0 0 14px; padding: 20px 22px; border-radius: 16px; border: 1.5px solid var(--ink); }
.conf-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 8px; }
.conf-h strong { font: 400 1.5rem/1.1 var(--display); letter-spacing: -0.01em; }
.conf-h .num { font-size: 15px; color: var(--muted); }
.confidence p { margin: 0; font-size: 15px; }
.confidence .conf-cover { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.aside { display: grid; gap: 14px; align-content: start; }
.card { padding: 26px; border-radius: var(--radius); background: var(--paper-2); }
.card.ink { background: var(--ink); color: var(--on-ink); }
.card h2 { font: 400 1.6rem/1.1 var(--display); letter-spacing: -0.015em; margin: 0 0 14px; }
.card p { margin: 0 0 12px; font-size: 15px; }
.card.ink p, .card.ink .small { color: var(--on-ink-muted); }
.access { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.access li { padding-top: 14px; border-top: 1px solid var(--line-ink); }
.access small { font: 400 13px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--on-ink-muted); }
.access strong { display: block; font: 400 1.2rem/1.2 var(--display); margin: 4px 0; }
.access p { margin: 0 0 10px; font-size: 14px; }
.card.ink .link, .section.ink .link { color: var(--sun); text-decoration-color: color-mix(in oklch, var(--sun) 40%, transparent); }
.origin { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 8px; }
.origin label { font: 400 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--on-ink-muted); }
.origin div { display: flex; gap: 8px; }
.origin input { flex: 1; min-width: 0; min-height: 46px; border-radius: 999px; border: 1.5px solid var(--line-ink); background: transparent; padding: 0 16px; color: var(--on-ink); }
.origin input:focus { border-color: var(--on-ink); outline: none; }
.origin input:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 2px; }
.origin button { min-height: 46px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--sun); color: var(--ink-deep); font-weight: 600; cursor: pointer; }
.origin button:hover { background: oklch(94% 0.16 103); }
.origin [role="status"] { font-size: 13px; color: var(--on-ink-muted); min-height: 1.2em; }
.wx .notices { margin-bottom: 14px; }
.wx .notice { padding: 14px 16px; }
.wx .notice p { font-size: 14px; margin-bottom: 8px; }
.wx-list { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line); }
.wx-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.wx-list .l-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.wx-list strong { font: 400 1.15rem/1.2 var(--display); }
.wx-list .num { font-size: 15px; flex: none; }
.wx-list p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sources a { font-size: 15px; }
.next { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.next a { display: block; padding: clamp(36px, 5vw, 64px) var(--gutter); text-decoration: none; transition: background-color .4s; }
.next a + a { border-left: 1px solid var(--line); text-align: right; }
.next a:hover { background: var(--paper-2); }
.next small { font: 400 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.next strong { display: block; font: 400 clamp(1.8rem, 4vw, 3.6rem)/1 var(--display); letter-spacing: -0.025em; margin-top: 10px; }

/* Route curtain */
.curtain { position: fixed; inset: 0; z-index: 80; background: var(--ink-deep); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }

/* ---------- Ask the guide (v2/assets/ask.js) ---------- */
.ask-launch { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--sun); color: var(--ink-deep); font-weight: 600; font-size: 16px; cursor: pointer; box-shadow: 0 10px 30px -8px color-mix(in oklch, var(--ink-deep) 55%, transparent); transition: transform .35s var(--ease), background-color .25s, opacity .3s, visibility .3s; }
.ask-launch:hover { transform: translateY(-2px); background: oklch(94% 0.16 103); }
.ask-launch .icon { width: 22px; height: 22px; }
.ask-launch[aria-expanded="true"] { display: none; }
/* On the homepage the hero's "Ask Eddy" card is the way in; the button returns once the card scrolls away. */
.ask-launch.tucked, .ask-launch.away { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); }
.ask-panel { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 60; width: min(440px, calc(100vw - 32px)); height: min(680px, calc(100dvh - 112px)); display: flex; flex-direction: column; background: var(--paper); color: var(--text); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -20px color-mix(in oklch, var(--ink-deep) 60%, transparent), 0 0 0 1px var(--line); opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .3s var(--ease), transform .45s var(--ease); }
.ask-panel.in { opacity: 1; transform: none; }
.ask-panel[hidden] { display: none; }
.ask-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 18px 24px; background: var(--ink); color: var(--on-ink); }
.ask-head .eyebrow { margin: 0 0 8px; font-size: 12px; }
.ask-head h2 { font-size: 2rem; line-height: 1; }
.ask-head-actions { display: flex; align-items: center; gap: 6px; }
.ask-close, .ask-reset { border: 0; background: transparent; color: var(--on-ink); cursor: pointer; border-radius: 999px; }
.ask-close { display: grid; place-items: center; width: 44px; height: 44px; }
.ask-close .icon { width: 28px; height: 28px; }
.ask-reset { white-space: nowrap; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--line-ink); font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.ask-reset:hover, .ask-close:hover { color: var(--sun); }
.ask-reset[hidden] { display: none; }
.ask-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.ask-msg { max-width: 92%; }
.ask-body { padding: 12px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; }
.ask-body p { margin: 0; }
.ask-body p + p, .ask-body p + ul, .ask-body ul + p { margin-top: 10px; }
.ask-body ul { margin: 0; padding-left: 1.1em; }
.ask-body li + li { margin-top: 6px; }
.ask-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ask-link:hover { color: var(--river-deep); }
.from-user { align-self: flex-end; }
.from-user .ask-body { background: var(--ink); color: var(--on-ink); border-bottom-right-radius: 6px; }
.from-guide .ask-body { background: var(--paper-2); border-bottom-left-radius: 6px; }
.ask-intro .ask-body { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.ask-suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ask-chip { text-align: left; border: 1.5px solid var(--line); background: var(--paper); border-radius: 14px; padding: 9px 13px; font-size: 14px; line-height: 1.35; cursor: pointer; transition: border-color .2s, background-color .2s; }
.ask-chip:hover { border-color: var(--ink); background: var(--paper-2); }
.ask-typing { display: flex; gap: 5px; padding: 4px 0; }
.ask-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: ask-dot 1.1s infinite ease-in-out; }
.ask-typing span:nth-child(2) { animation-delay: .15s; }
.ask-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ask-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ask-error .ask-body { background: color-mix(in oklch, var(--alert) 12%, var(--paper)); }
.ask-error-note { color: var(--text); }
.ask-retry { margin-top: 10px; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font-weight: 600; font-size: 14px; cursor: pointer; }
.ask-form { display: flex; align-items: flex-end; gap: 10px; margin: 0 16px; padding: 8px 8px 8px 18px; border: 1.5px solid var(--line); border-radius: 26px; background: var(--paper); transition: border-color .2s; }
.ask-form:focus-within { border-color: var(--ink); }
.ask-form textarea { flex: 1; font: inherit; font-size: 16px; color: inherit; min-height: 36px; max-height: 132px; padding: 7px 0; border: 0; background: transparent; resize: none; line-height: 1.4; }
.ask-form textarea:focus { outline: none; }
.ask-form:has(textarea:focus-visible) { outline: 3px solid var(--sun-deep); outline-offset: 2px; }
.ask-send { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; }
.ask-send:hover { background: var(--ink-deep); }
.ask-form[aria-busy="true"] .ask-send { opacity: .45; cursor: progress; }
.ask-note { margin: 10px 20px 14px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.ask-plan { margin: 0 20px 10px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.ask-plan[hidden] { display: none; }
.ask-textbtn { border: 0; background: none; padding: 0; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ask-textbtn:hover { color: var(--river-deep); }
.ask-test { display: block; margin-top: 4px; font: 500 11.5px/1.4 var(--mono); color: var(--alert); }
.ask-paywall .ask-body { background: var(--paper); border: 1.5px solid var(--ink); }
.ask-buy-main, .ask-copy { margin-top: 12px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--sun); color: var(--ink-deep); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .2s; }
.ask-buy-main:hover, .ask-copy:hover { background: oklch(94% 0.16 103); }
.ask-buy-main:disabled { opacity: .6; cursor: progress; }
.ask-fine { margin-top: 10px !important; font-size: 13px; color: var(--muted); }
.ask-welcome .ask-body { background: color-mix(in oklch, var(--sun) 22%, var(--paper)); }
.ask-buy-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ask-buy-row .ask-buy-main { margin-top: 0; }
.ask-buy-alt { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink-deep); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .2s; }
.ask-buy-alt:hover { background: var(--paper-2); }
.ask-buy-alt:disabled { opacity: .6; cursor: progress; }
.ask-buy small { font-weight: 500; font-size: 12.5px; }
.ask-alerts-btn[aria-pressed="true"] { background: var(--on-ink); color: var(--ink); }
.ask-alerts-btn[hidden] { display: none; }
/* Water alerts view: replaces the chat inside the panel. */
.ask-panel.show-alerts .ask-log, .ask-panel.show-alerts .ask-form, .ask-panel.show-alerts .ask-plan, .ask-panel.show-alerts .ask-note { display: none; }
.ask-alerts { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 22px max(24px, env(safe-area-inset-bottom)); font-size: 15px; line-height: 1.5; }
.ask-alerts[hidden] { display: none; }
.ask-back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 14px; min-height: 32px; }
.ask-back .icon { width: 18px; height: 18px; }
.ask-alerts-h { font: 500 1.6rem/1.1 var(--display); margin: 12px 0 6px; }
.ask-alerts-h:focus { outline: none; }
.ask-alerts-lede { margin: 0 0 16px; color: var(--muted); }
.ask-alerts-warn { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: color-mix(in oklch, var(--sun) 30%, var(--paper)); font-size: 14px; }
.ask-field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.ask-label { display: block; margin: 0 0 8px; padding: 0; font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ask-row { display: flex; gap: 8px; }
.ask-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: inherit; }
.ask-row input:focus { border-color: var(--ink); outline: none; }
.ask-row input:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 2px; }
.ask-mini { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s; }
.ask-mini:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.ask-mini:disabled { opacity: .45; cursor: default; }
.ask-email { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.ask-follow-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ask-follow-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ask-follow-list small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.ask-follow-list .ask-mini { min-height: 34px; padding: 0 12px; font-size: 13px; }
.ask-kinds { display: grid; gap: 10px; }
.ask-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.35; cursor: pointer; }
.ask-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); flex: none; }
.ask-alerts-msg { min-height: 1.4em; margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.ask-alerts-msg.bad { color: var(--alert); }
.ask-alerts .ask-fine { margin-top: 6px !important; }
/* "Follow this water" in a water page's header (filled by ask.js for the owner and pass holders). */
.d-follow { margin-top: 22px; }
.d-follow:empty { display: none; }
.follow-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px; border: 1.5px solid var(--line-ink); background: transparent; color: var(--on-ink); font: 600 15px/1 var(--sans); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.follow-btn:hover { border-color: var(--sun); color: var(--sun); }
.follow-btn.on { background: var(--sun); color: var(--ink-deep); border-color: var(--sun); }
.follow-btn .icon { width: 20px; height: 20px; }
.follow-btn:disabled { opacity: .6; cursor: progress; }
@media (max-width: 640px) {
  .ask-launch { min-height: 48px; padding: 0 18px 0 14px; font-size: 15px; }
  .ask-panel { inset: 0; width: auto; height: 100dvh; border-radius: 0; transform: translateY(24px); }
  .ask-head { padding-top: max(18px, env(safe-area-inset-top)); }
  .ask-note { margin-bottom: max(14px, env(safe-area-inset-bottom)); }
  html.ask-open, html.ask-open body { overflow: hidden; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .row a { grid-template-columns: 40px minmax(0, 2fr) minmax(0, 1.2fr) 110px 44px; }
  .row .c-cond { display: none; }
  .d-body > .inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 4px; padding: 0 var(--gutter); background: var(--ink-deep); color: var(--on-ink); visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
  .nav-links.open { visibility: visible; opacity: 1; transition: opacity .35s; }
  .nav-links a { font: 400 2.6rem/1.2 var(--display); }
  .nav.menu-open { color: var(--on-ink); background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-toggle { display: grid; }
  .hero-inner { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 48px); }
  .hero-search { max-width: none; }
  .hero-eddy { position: relative; right: auto; bottom: auto; width: auto; max-width: 520px; margin: -9% 0 0 auto; }
  .plate { margin-bottom: 0; }
  html:not(.no-eddy) .hero-eddy:empty { display: block; min-height: 214px; }
  /* On a phone the name, the decision strip, then the score: what to fish, where and the rule come first. */
  .d-hero .inner { display: flex; flex-direction: column; }
  .d-top { display: contents; }
  .d-hero .crumb { align-self: flex-start; }
  .d-name { order: 1; }
  .quick { order: 2; }
  .d-score { order: 3; margin-top: 28px; }
  .d-follow { order: 4; }
  .section-head, .stock-grid, .method-pin, .d-top, .word-grid { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
  .stations { grid-template-columns: 1fr; }
  .station, .station + .station { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line-ink); }
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li:nth-child(even) { padding: 32px 0; border-right: 0; }
  .controls { grid-template-columns: 1fr 1fr; top: 70px; }
  .controls .search { grid-column: 1 / -1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:last-child { grid-column: 1 / -1; }
  .d-score { text-align: left; }
  .d-score .ring, .d-score p { margin-left: 0; }
  .quick { grid-template-columns: 1fr; margin-top: 28px; }
  .quick > div, .quick > div + div { padding: 16px 0; border-left: 0; }
  .quick > div + div { border-top: 1px solid var(--line-ink); }
  .quick > div:last-child { padding-bottom: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .mark img { width: 46px; }
  .mark span { font-size: 17px; }
  .hero { padding-top: 96px; }
  .hero-search { min-height: 58px; padding-left: 16px; }
  .hero-search input { font-size: 16px; }
  .hero-search-btn { min-height: 46px; padding: 0 20px; }
  .hero-suggest li { grid-template-columns: minmax(0, 1fr) auto; }
  .hs-meta { display: none; }
  .hero-eddy { max-width: none; margin-top: -6%; }
  .pick-row a { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px 4px; }
  .p-place { gap: 2px; }
  .p-score { font-size: 1.15rem; padding: 6px 11px; }
  .pick-row .p-go { display: none; }
  .list-all { margin-left: 0; width: 100%; }
  .row a { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 20px 4px; }
  .row .idx, .row .arrow, .row .c-species b { display: none; }
  .row .c-species { grid-column: 1 / -1; font-size: 15px; }
  .row .c-score { grid-row: 1; grid-column: 2; align-self: start; }
  .row .c-report { grid-column: 1 / -1; }
  /* Pinned filters took two fifths of a phone screen; here they scroll away with the page. */
  .controls { grid-template-columns: 1fr 1fr; position: static; padding: 0; margin: 0 0 18px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .controls .search, .controls .seg { grid-column: 1 / -1; }
  .controls .seg { width: 100%; }
  .controls .seg button { flex: 1; }
  .d-hero { padding-top: 104px; }
  .d-hero .crumb { margin-bottom: 22px; }
  .d-score { display: flex; align-items: center; gap: 18px; }
  .d-score .ring { width: 92px !important; height: 92px !important; margin: 0; }
  .d-score .ring b { font-size: 28px; }
  .d-score p { margin: 0; }
  .eddy-try { flex-direction: column; gap: 6px; }
  html:not(.no-eddy) .hero-eddy:empty { min-height: 227px; }
  .gauge, .counts-mini { grid-template-columns: 1fr; }
  .next { grid-template-columns: 1fr; }
  .next a + a { border-left: 0; border-top: 1px solid var(--line); text-align: left; }
  .footer-cols { grid-template-columns: 1fr; }
  .wire li { padding: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
  .wire { overflow-x: auto; }
  .wire-track { width: auto; }
  .wire ul[aria-hidden] { display: none; }
}
