/* ============================================================
   FloodBrief design system — light, airy, editorial.
   No frameworks, no external fonts. System serif for headlines,
   system sans for UI/body.
   ============================================================ */

:root {
  --paper:      #faf9f6;
  --paper-alt:  #f1f4f7;
  --ink:        #15242f;
  --ink-soft:   #52626f;
  --ink-faint:  #8a97a1;
  --line:       #e3e7ea;

  --blue:       #1663d8;
  --blue-deep:  #0d3355;
  --blue-soft:  #e8f0fb;
  --sky-1:      #dfedfa;
  --sky-2:      #f6fafd;

  --amber:      #e8a20c;
  --red:        #d64541;
  --severe:     #8e2f35;
  --green:      #2f9e63;

  --serif: "Iowan Old Style", "Palatino Nova", Palatino, Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(21,36,47,.06), 0 2px 8px rgba(21,36,47,.05);
  --shadow-md: 0 2px 6px rgba(21,36,47,.07), 0 12px 32px rgba(21,36,47,.09);
  --wrap: 1120px;
  --wrap-article: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-deep); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap-article { max-width: var(--wrap-article); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--blue-deep); color: #fff;
  padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 27px; height: 27px; }
.brand-drop { fill: var(--blue); }
.brand-wave { stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.brand-word { font-family: var(--serif); font-size: 1.32rem; letter-spacing: -.01em; }
.brand-word b { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 1.35rem; font-size: .95rem; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  color: #fff !important; background: var(--blue);
  padding: .42rem .85rem; border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 70%, var(--paper) 100%);
  padding: 5.5rem 0 7.5rem;
}
#rainCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero-kicker {
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin: 0 0 1rem;
}
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.08; letter-spacing: -.015em;
  margin: 0 0 1.2rem;
}
.hero-title em { font-style: italic; color: var(--blue-deep); }
.hero-sub { font-size: 1.16rem; color: var(--ink-soft); max-width: 40rem; margin: 0 0 1.8rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-block; padding: .5rem 1.05rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  text-decoration: none; font-size: .93rem; font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--blue); color: var(--blue-deep); }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 1; }
.wave { display: block; width: 200%; height: 74px; }
.wave path { fill: var(--blue-soft); }
.wave-front path { fill: var(--paper); }
.wave-back { animation: waveDrift 16s linear infinite; opacity: .8; margin-bottom: -58px; }
.wave-front { animation: waveDrift 11s linear infinite reverse; }
@keyframes waveDrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Live strip ─────────────────────────────────────────── */
.livestrip { background: var(--blue-deep); color: #dce9f7; }
.livestrip-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.6rem;
  padding: .8rem 22px; font-size: .95rem;
}
.livestrip-label { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: #fff; }
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #58d68d; flex: none;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(88,214,141,.55); }
  70% { box-shadow: 0 0 0 9px rgba(88,214,141,0); }
  100% { box-shadow: 0 0 0 0 rgba(88,214,141,0); }
}
.livestat b { color: #fff; font-variant-numeric: tabular-nums; }
.livestat.muted { color: #9db6cd; }
.livestrip-link { color: #9ec8f5; margin-left: auto; text-decoration: none; font-weight: 500; }
.livestrip-link:hover { color: #fff; }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--paper-alt); }
.section-kicker {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin: 0 0 .5rem;
}
.section-title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.15; letter-spacing: -.01em; margin: 0 0 2.2rem;
}
.section-title em { font-style: italic; color: var(--blue-deep); }
.section-more { margin-top: 2.2rem; }

/* ── Cards ──────────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.3rem; }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card {
  display: flex; flex-direction: column; gap: .55rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cdd8e2; color: var(--ink); }
.card-cat {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px;
}
.cat-explainers   { background: var(--blue-soft); color: var(--blue-deep); }
.cat-weather      { background: #eaf6ef; color: #1d6f45; }
.cat-property     { background: #fdf2df; color: #8a5c00; }
.cat-preparedness { background: #fbeaea; color: #8e2f35; }
.card-title { font-family: var(--serif); font-weight: 500; font-size: 1.22rem; line-height: 1.3; margin: 0; }
.card:hover .card-title { color: var(--blue-deep); }
.card-desc { color: var(--ink-soft); font-size: .95rem; margin: 0; flex: 1; }
.card-meta { color: var(--ink-faint); font-size: .84rem; }

/* ── Severity ladder ────────────────────────────────────── */
.ladder {
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 2.5rem;
  align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-sm);
}
.house-svg { width: 100%; height: auto; display: block; }
.scene-sky { fill: var(--sky-1); transition: fill .8s ease; }
.scene-cloud { fill: #fff; opacity: .9; }
.scene-ground { fill: #cfe3c8; }
.house-body { fill: #f6efe2; stroke: #d9cdb5; }
.house-roof { fill: #b3593c; }
.house-door { fill: #7c5330; }
.house-window { fill: #bfdcf5; }
.scene-water { transform: translateY(220px); transition: transform 1.1s cubic-bezier(.25,.9,.3,1); }
.water-surface { fill: rgba(38,110,201,.62); animation: waterBob 3.4s ease-in-out infinite alternate; }
@keyframes waterBob { from { transform: translateX(0); } to { transform: translateX(-38px); } }
.ladder[data-level="alert"]   .scene-water { transform: translateY(206px); }
.ladder[data-level="warning"] .scene-water { transform: translateY(184px); }
.ladder[data-level="severe"]  .scene-water { transform: translateY(150px); }
.ladder[data-level="severe"]  .scene-sky { fill: #b9c9d8; }
.ladder[data-level="warning"] .scene-sky { fill: #cddcea; }
.scene-rain line { stroke: rgba(70,120,190,.45); stroke-width: 1.6; stroke-linecap: round; }
.ladder-tabs { display: flex; gap: .5rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.ladder-tab {
  font: inherit; font-size: .93rem; cursor: pointer;
  padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  color: var(--ink-soft); transition: all .15s ease;
}
.ladder-tab b { color: inherit; }
.ladder-tab:hover { border-color: var(--blue); color: var(--blue-deep); }
.ladder-tab.is-active[data-level="alert"]   { background: #fdf2df; border-color: var(--amber); color: #8a5c00; }
.ladder-tab.is-active[data-level="warning"] { background: #fbeaea; border-color: var(--red); color: var(--severe); }
.ladder-tab.is-active[data-level="severe"]  { background: var(--severe); border-color: var(--severe); color: #fff; }
.ladder-item h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin: 0 0 .5rem; display: flex; align-items: center; gap: .55rem; }
.ladder-item h3 em { color: var(--ink-soft); font-size: 1.05rem; }
.ladder-item p { margin: 0; color: var(--ink-soft); }
.lvl-dot { width: 13px; height: 13px; border-radius: 50%; flex: none; }
.lvl-alert { background: var(--amber); }
.lvl-warning { background: var(--red); }
.lvl-severe { background: var(--severe); }
.textlink { display: inline-block; margin-top: 1.1rem; font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* ── Rain lab ───────────────────────────────────────────── */
.rainlab {
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 2.5rem; align-items: center;
  background: linear-gradient(160deg, #10395f, #0d2b47); color: #dce9f7;
  border-radius: 20px; padding: 2.2rem; box-shadow: var(--shadow-md);
}
.rainlab-viz { position: relative; }
#rainLabCanvas { width: 100%; height: auto; display: block; border-radius: 12px; background: rgba(255,255,255,.05); }
.rainlab-readout {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  text-align: center; pointer-events: none; text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.rainlab-readout b { font-size: 3.4rem; font-family: var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.rainlab-readout span { font-size: 1.3rem; color: #9ec8f5; }
.rainlab-label { display: block; font-size: .9rem; color: #9ec8f5; margin-bottom: .5rem; }
#rainSlider { width: 100%; accent-color: #5aa2f0; height: 34px; cursor: pointer; }
.rainlab-toggle { display: inline-flex; border: 1px solid rgba(158,200,245,.4); border-radius: 999px; overflow: hidden; margin: .7rem 0 1rem; }
.rainlab-toggle button {
  font: inherit; font-size: .88rem; padding: .4rem 1rem; cursor: pointer;
  background: transparent; border: 0; color: #9ec8f5;
}
.rainlab-toggle button.is-active { background: #5aa2f0; color: #06263f; font-weight: 600; }
.rainlab-fact { margin: .3rem 0; color: #c6dcf3; }
.rainlab-fact b { color: #fff; font-variant-numeric: tabular-nums; }
.rainlab-verdict { font-family: var(--serif); font-size: 1.3rem; color: #fff; margin: .5rem 0 0; min-height: 2.2em; }

/* ── Town cards ─────────────────────────────────────────── */
.town-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.3rem; }
.town-card {
  display: flex; flex-direction: column; gap: .3rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative; overflow: hidden;
}
.town-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), #6fb3ff);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.town-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.town-card:hover::after { transform: scaleX(1); }
.town-name { font-family: var(--serif); font-size: 1.45rem; }
.town-county { color: var(--ink-faint); font-size: .85rem; }
.town-rivers { color: var(--ink-soft); font-size: .9rem; margin-top: .2rem; }
.town-go { color: var(--blue); font-size: .9rem; font-weight: 600; margin-top: .6rem; }

/* ── Page head (hub pages) ──────────────────────────────── */
.pagehead { padding: 3.6rem 0 1rem; background: linear-gradient(180deg, var(--sky-2), var(--paper)); }
.page-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.12; margin: 0 0 .8rem; }
.page-sub { color: var(--ink-soft); font-size: 1.1rem; max-width: 44rem; margin: 0 0 1.4rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding-bottom: 1.4rem; }
.chip-filter { cursor: pointer; font: inherit; font-size: .9rem; }
.chip-filter.is-active { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }

/* ── Article ────────────────────────────────────────────── */
.article-head { padding: 3rem 0 .6rem; background: linear-gradient(180deg, var(--sky-2), var(--paper)); }
.crumbs { font-size: .85rem; color: var(--ink-faint); margin: 0 0 1rem; }
.crumbs a { color: var(--ink-faint); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.article-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.14; margin: 0 0 .9rem; letter-spacing: -.01em; }
.article-meta { display: flex; align-items: center; gap: .8rem; color: var(--ink-faint); font-size: .9rem; margin: 0 0 1.4rem; }
.tldr {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 10px; padding: 1rem 1.3rem; margin: 0 0 1rem; box-shadow: var(--shadow-sm);
}
.tldr-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 .4rem; }
.tldr ul { margin: 0; padding-left: 1.2rem; }
.tldr li { margin: .25rem 0; }
.article-body { padding: 1.4rem 22px 1rem; font-size: 1.06rem; }
.article-body h2 { font-family: var(--serif); font-weight: 500; font-size: 1.65rem; margin: 2.4rem 0 .8rem; line-height: 1.2; }
.article-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; margin: 1.8rem 0 .5rem; }
.article-body p { margin: 0 0 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.article-body li { margin: .35rem 0; }
.article-body blockquote {
  margin: 1.6rem 0; padding: .3rem 0 .3rem 1.3rem; border-left: 3px solid var(--blue);
  color: var(--ink-soft); font-family: var(--serif); font-size: 1.15rem;
}
.callout { border-radius: 12px; padding: 1rem 1.3rem; margin: 1.5rem 0; border: 1px solid; }
.callout p { margin: 0; }
.callout p + p { margin-top: .6rem; }
.callout--tip     { background: #eef7f1; border-color: #bfe0cc; }
.callout--info    { background: var(--blue-soft); border-color: #c4d9f4; }
.callout--warning { background: #fdf3ec; border-color: #f0cdb0; }
.keyfact {
  background: var(--blue-deep); color: #e7f0fa; border-radius: 12px;
  padding: 1.1rem 1.4rem; margin: 1.5rem 0; font-size: 1.1rem;
}
.keyfact p { margin: 0; }
.keyfact strong, .keyfact b { color: #fff; }
.keyfact a { color: #9ec8f5; }
.river-list { list-style: none; padding: 0 !important; }
.river-list li { padding: .55rem 0; border-bottom: 1px dashed var(--line); }

/* ── Live conditions box (town pages) ───────────────────── */
.livebox {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.2rem 1.4rem; margin: 1rem 0 1.4rem;
  border-top: 4px solid var(--green);
}
.livebox--watch  { border-top-color: var(--amber); }
.livebox--warn   { border-top-color: var(--red); }
.livebox--severe { border-top-color: var(--severe); }
.livebox-head { display: flex; align-items: center; gap: .55rem; font-size: .95rem; }
.livebox-src { margin-left: auto; color: var(--ink-faint); font-size: .82rem; }
.livebox-verdict { margin: .6rem 0; font-size: 1.02rem; }
.livebox-stations { list-style: none; margin: .4rem 0; padding: 0; }
.livebox-stations li {
  display: flex; flex-wrap: wrap; gap: .35rem .8rem; align-items: baseline;
  padding: .45rem 0; border-top: 1px dashed var(--line); font-size: .93rem;
}
.lb-river { color: var(--ink-faint); }
.lb-val { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.livebox-warnings { margin: .6rem 0 0; font-size: .9rem; color: var(--ink-soft); }

/* ── Timeline (notable floods) ──────────────────────────── */
.timeline { border-left: 2px solid var(--line); margin: 1.4rem 0 1.8rem .4rem; padding-left: 1.6rem; }
.timeline-item { position: relative; padding-bottom: 1.5rem; }
.timeline-item::before {
  content: ""; position: absolute; left: calc(-1.6rem - 7px); top: .35rem;
  width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2.5px solid var(--paper);
}
.timeline-year { font-family: var(--serif); font-size: 1.15rem; color: var(--blue-deep); }
.timeline-body h3 { margin: .15rem 0 .3rem !important; }
.timeline-body p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ── FAQ + sources + related ────────────────────────────── */
.faq { margin: 1.5rem 0; }
.faq h2, .sources h2, .related h2 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 1rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  margin-bottom: .6rem; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: .85rem 1.1rem; font-weight: 600; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.1rem; color: var(--blue); font-size: 1.2rem; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 1.1rem .95rem; color: var(--ink-soft); }
.sources { margin: 1.5rem 0 2.5rem; font-size: .92rem; }
.sources ul { padding-left: 1.2rem; color: var(--ink-soft); }
.related { padding: 1rem 0 3rem; }

/* ── Funnel band ────────────────────────────────────────── */
.funnel { background: linear-gradient(160deg, #0d3355, #14508a); color: #dce9f7; padding: 3.6rem 0; }
.funnel-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; }
.funnel-title { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin: 0 0 .5rem; color: #fff; }
.funnel-title span { font-style: italic; color: #8fc1f7; }
.funnel-half p { margin: 0 0 1rem; color: #b9d2ea; }
.funnel-divider { font-size: 2rem; color: #5aa2f0; }
.btn {
  display: inline-block; padding: .68rem 1.4rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .97rem; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #fff; color: var(--blue-deep); box-shadow: 0 4px 18px rgba(0,0,0,.25); }
.btn-primary:hover { color: var(--blue); }
.btn-ghost { border: 1.5px solid var(--blue); color: var(--blue-deep); background: transparent; }
.btn-ghost:hover { background: var(--blue-soft); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--paper-alt); border-top: 1px solid var(--line); padding: 3rem 0 2rem; color: var(--ink-soft); font-size: .92rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.6rem; margin-bottom: 1.8rem; }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin: 0; }
.footer-brand b { color: var(--blue); }
.footer-tag { margin: .2rem 0 0; }
.footer-grid nav { display: flex; flex-direction: column; gap: .45rem; }
.footer-grid nav a { color: var(--ink-soft); text-decoration: none; }
.footer-grid nav a:hover { color: var(--blue); }
.footer-disclaimer { font-size: .82rem; color: var(--ink-faint); max-width: 56rem; line-height: 1.6; }
.footer-copy { font-size: .82rem; color: var(--ink-faint); }

/* ── Reveal-on-scroll ───────────────────────────────────────
   Hidden state applies ONLY once JS has stamped .js-anim on <html>,
   so content is always visible without JS (and in crawlers). */
.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-anim .reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .ladder, .rainlab { grid-template-columns: 1fr; gap: 1.6rem; }
  .funnel-inner { grid-template-columns: 1fr; text-align: center; }
  .funnel-divider { transform: rotate(90deg); }
  .site-nav { gap: .9rem; font-size: .88rem; }
  .site-nav a:not(.nav-cta):nth-child(3) { display: none; }
  .hero { padding: 3.6rem 0 6rem; }
  .livestrip-link { margin-left: 0; }
}

/* ── Motion preferences ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave-back, .wave-front, .water-surface, .pulse-dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .town-card, .chip, .btn, .nav-cta { transition: none; }
}
