/* ============================================
   Lagoon Facts — Design System
   ============================================ */

:root {
  /* Palette — derived from the lagoon itself */
  --water-deep: #0a3d4a;         /* Deep lagoon water */
  --water-mid: #145a6b;
  --water-teal: #155e6a;         /* Primary accent — Hydra teal, darkened 2026-07-26 from #1a7a8a to reach 6.50:1 on sand (WCAG AA for normal text) */
  --water-teal-on-dark: #8fd5db; /* Link color for use on dark navy backgrounds — 6.09–6.25:1 on #23474f / #164652 (WCAG AA) */
  --water-turquoise: #6cc7ce;    /* Highlight, WCAG AA against navy */
  --water-pale: #dff0f2;
  --seagrass: #3d8b3d;           /* Restoration green */
  --sand: #f5efe0;               /* Warm background */
  --sand-warm: #e8dfc9;
  --ink: #12222a;
  --ink-muted: #47606a;
  --ink-faint: #8ea0a9;
  --line: #cec9bd;

  /* Vote Yes — the campaign accent */
  --vote-red: #b53434;           /* Ballot urgency, on light backgrounds only */
  --vote-red-hover: #8f2828;
  --warn-coral: #ff9d7a;         /* Ballot urgency on DARK backgrounds — WCAG AAA */
  --warn-coral-strong: #ffb499;  /* Even lighter for eyebrows and small text */
  --warn-coral-on-light: #a84b2f;/* Ballot urgency on LIGHT backgrounds — 5.66:1 on white (WCAG AA) 2026-07-26 */
  --ink-muted-on-light: #4c5a5e; /* Muted text on white/sand — 7.16:1 on white (WCAG AAA) 2026-07-26 */

  /* Type scale */
  --text-xs: 0.813rem;   /* 13px */
  --text-sm: 0.938rem;   /* 15px */
  --text-base: 1.0625rem; /* 17px — comfortable body */
  --text-lg: 1.25rem;    /* 20px */
  --text-xl: clamp(1.5rem, 2vw, 1.875rem);
  --text-2xl: clamp(2rem, 3.5vw, 3rem);
  --text-hero: clamp(2.25rem, 5vw, 4.25rem);

  /* Spacing */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --measure: 65ch;
  --container: 1180px;
  --container-narrow: 780px;
  --radius: 4px;
  --radius-lg: 12px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
a { color: var(--water-teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--water-deep); }
h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; color: var(--water-deep); }

/* Focus */
:focus-visible { outline: 2px solid var(--water-teal); outline-offset: 3px; }

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-6); }

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 224, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

/* Anchor-jump offset so section headings do not disappear behind the sticky header */
html { scroll-padding-top: 84px; }
h1, h2, h3, h4, section[id], article[id], details[id], .controversy, .basin-card { scroll-margin-top: 84px; }

/* Auto-label PDF links so readers know they're getting a PDF, not an HTML page.
   Skip the label when the link opens an image, is inside .footer__disclosure (would look cluttered),
   or already contains the string 'PDF' in the visible text. */
a[href$=".pdf"]:not(.no-pdf-label):not(.share-btn)::after,
a[href*=".pdf?"]:not(.no-pdf-label):not(.share-btn)::after,
a[href*=".pdf#"]:not(.no-pdf-label):not(.share-btn)::after {
  content: " (PDF)";
  font-size: 0.82em;
  font-weight: 500;
  opacity: 0.75;
  margin-left: 2px;
  white-space: nowrap;
}

/* Visually-hidden helper text for screen readers when a link opens in a new window */
.sr-only, .visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Focus states — keyboard users need to see where they are */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--water-teal, #155e6a);
  outline-offset: 2px;
  border-radius: 2px;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--water-deep); }
.brand__mark { width: 32px; height: 32px; }
.brand__name { font-family: 'DM Serif Display', serif; font-size: 1.375rem; letter-spacing: -0.01em; }
.brand__name em { font-style: italic; color: var(--water-teal); }
.nav { display: flex; gap: var(--space-6); align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: var(--text-sm); font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--water-teal); }
.nav__cta {
  background: var(--vote-red);
  color: #fff !important;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--vote-red-hover); color: #fff !important; }
.nav__toggle { display: none; }
@media (max-width: 780px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--sand); flex-direction: column; padding: var(--space-4); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav__toggle { display: block; font-size: 1.5rem; color: var(--water-deep); }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--water-deep);
  color: #fff;
}
.hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.image-break picture { width: 100%; height: 100%; display: block; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,61,74,0.35) 0%, rgba(10,61,74,0.75) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: var(--space-16) var(--space-6);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .hero__content { padding: var(--space-12) var(--space-6); }
}
.hero__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--water-turquoise);
  margin-bottom: var(--space-4);
}
.hero__title {
  font-size: var(--text-hero);
  color: #fff;
  line-height: 1.08;
  margin-bottom: var(--space-6);
  max-width: 20ch;
}
.hero__title em { font-style: italic; color: var(--water-turquoise); }
.hero__sub {
  font-size: var(--text-base);
  line-height: 1.6;
  max-width: 560px;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-8);
}
@media (min-width: 900px) {
  .hero__sub { font-size: var(--text-lg); }
}
/* Duane's campaign trilogy — the three-word emotional anchor. */
.hero__trilogy {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0 0 var(--space-8);
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  color: #fff;
  letter-spacing: 0.5px;
  font-style: italic;
}
.hero__trilogy span { display: inline-block; }
@media (min-width: 900px) {
  .hero__trilogy { font-size: 1.625rem; }
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  transition: transform 0.2s, background 0.2s;
}
.btn--primary { background: var(--vote-red); color: #fff; }
.btn--primary:hover { background: var(--vote-red-hover); color: #fff; transform: translateY(-1px); }
.btn--ghost { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
/* Ghost button on light backgrounds — auto-adapts via section context */
.section:not(.section--deep):not(.hero) .btn--ghost { border-color: var(--water-deep); color: var(--water-deep); }
.section:not(.section--deep):not(.hero) .btn--ghost:hover { background: var(--water-deep); color: #fff; }

/* ============================================
   Sections
   ============================================ */
.section { padding: clamp(var(--space-16), 8vw, var(--space-24)) 0; }
.section--sand { background: var(--sand); }
.section--sand-warm { background: var(--sand-warm); }
.section--deep { background: var(--water-deep); color: #fff; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep a { color: var(--water-turquoise); }
.section--deep a:hover { color: #fff; text-decoration: underline; }
.section--deep .eyebrow { color: var(--water-turquoise); }
/* Force <strong>, <em>, <li>, <p>, and other inline/block children in dark sections to inherit the light foreground.
   Without this, page-level rules like .sci-body strong { color: var(--water-deep) } paint the text
   dark-on-dark on any deep-section paragraph. */
.section--deep strong,
.section--deep em,
.section--deep li,
.section--deep p,
.section--deep p strong,
.section--deep .sci-body,
.section--deep .sci-body strong,
.section--deep .sci-body em,
.section--deep .section__intro,
.section--deep .section__intro strong,
.section--deep .stakes-body,
.section--deep .stakes-body strong { color: inherit; }
.section--deep strong { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--water-teal);
  margin-bottom: var(--space-4);
}
.section__title { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.section__intro { font-size: var(--text-lg); color: var(--ink-muted); max-width: 65ch; margin-bottom: var(--space-16); line-height: 1.55; }
.section--deep .section__intro { color: rgba(255,255,255,0.78); }

/* ============================================
   Fact cards — the numbers
   ============================================ */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-6); }
.fact {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
}
.section--sand .fact { background: #fff; border-color: var(--line); }
.fact__number { font-family: 'DM Serif Display', serif; font-size: clamp(2.25rem, 4vw, 3.25rem); color: var(--water-turquoise); line-height: 1; margin-bottom: var(--space-3); }
.section--sand .fact__number { color: var(--water-teal); }
.fact__label { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-3); line-height: 1.3; color: inherit; }
.fact__body { font-size: var(--text-sm); line-height: 1.55; color: rgba(255,255,255,0.72); }
.section--sand .fact__body { color: var(--ink-muted); }
.fact__source { display: inline-block; margin-top: var(--space-3); font-size: var(--text-xs); color: rgba(255,255,255,0.55); }
.section--sand .fact__source { color: var(--ink-faint); }
.fact__source a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; }

/* ============================================
   Money — spending breakdown
   ============================================ */
.money-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
@media (max-width: 900px) { .money-grid { grid-template-columns: 1fr; } }
.money-bar { display: flex; height: 44px; border-radius: var(--radius); overflow: hidden; margin-bottom: var(--space-6); }
.money-bar__seg { display: flex; align-items: center; justify-content: center; color: #fff; font-size: var(--text-xs); font-weight: 600; }
.money-legend { display: grid; gap: var(--space-4); }
.money-legend__row { display: flex; align-items: flex-start; gap: var(--space-4); }
.money-legend__swatch { width: 16px; height: 16px; border-radius: 3px; flex-shrink: 0; margin-top: 4px; }
.money-legend__text strong { display: block; font-size: var(--text-base); margin-bottom: 2px; }
.money-legend__text span { font-size: var(--text-sm); color: var(--ink-muted); }

/* ============================================
   Working section — case studies
   ============================================ */
.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-8); }
.work {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.work__stat { font-family: 'DM Serif Display', serif; font-size: 2.5rem; color: var(--seagrass); line-height: 1; margin-bottom: var(--space-3); font-style: italic; }
.work__title { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-3); font-family: 'Inter', sans-serif; color: var(--water-deep); }
.work__body { font-size: var(--text-sm); line-height: 1.6; color: var(--ink-muted); }

/* ============================================
   Controversies
   ============================================ */
.controversies { display: grid; gap: var(--space-8); }
.controversy {
  background: var(--sand);
  border: 1px solid var(--line);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
}
.controversy__q { font-size: var(--text-xl); font-weight: 700; margin-bottom: var(--space-4); color: var(--water-deep); font-family: 'Inter', sans-serif; }
.controversy__body p { margin-bottom: var(--space-4); }
.controversy__take { background: #fff; border: 1px solid var(--line); padding: var(--space-4) var(--space-6); border-radius: var(--radius); margin-top: var(--space-4); font-size: var(--text-sm); }
.controversy__take strong { color: var(--water-teal); text-transform: uppercase; letter-spacing: 0.05em; font-size: var(--text-xs); display: block; margin-bottom: var(--space-2); }

/* ============================================
   Vote CTA
   ============================================ */
.vote-cta {
  background: linear-gradient(135deg, var(--vote-red) 0%, #7a1e1e 100%);
  color: #fff;
  padding: var(--space-24) var(--space-6);
  text-align: center;
}
.vote-cta h2 { color: #fff; font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.vote-cta__date { font-family: 'DM Serif Display', serif; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; margin: var(--space-8) 0; color: #fff; }
.vote-cta__sub { font-size: var(--text-lg); max-width: 640px; margin: 0 auto var(--space-8); opacity: 0.9; }
.vote-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }
.vote-cta .btn { background: #fff; color: var(--vote-red); }
.vote-cta .btn:hover { background: var(--sand); color: var(--vote-red-hover); }
.vote-cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.vote-cta .btn--ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ============================================
   Allies grid
   ============================================ */
.allies { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-6); }
.ally {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease-out), border-color 0.2s, box-shadow 0.2s;
}
.ally:hover {
  transform: translateY(-2px);
  border-color: var(--water-teal);
  box-shadow: 0 8px 24px -12px rgba(20, 90, 107, 0.25);
  color: inherit;
}
.ally h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-lg);
  color: var(--water-deep);
  margin-bottom: var(--space-3);
  line-height: 1.3;
  font-weight: 700;
}
.ally p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--ink-muted);
  flex-grow: 1;
  margin-bottom: var(--space-4);
}
.ally p strong { color: var(--ink); }
.ally__cta {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--water-teal);
  transition: transform 0.2s;
}
.ally:hover .ally__cta { color: var(--water-deep); }

/* ============================================
   FAQ
   ============================================ */
.faq { max-width: var(--container-narrow); margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); padding: var(--space-6) 0; }
.faq__item summary { font-size: var(--text-lg); font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); color: var(--water-deep); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 1.75rem; line-height: 1; color: var(--water-teal); transition: transform 0.2s; }
.faq__item[open] summary::after { content: '−'; }
.faq__answer { padding-top: var(--space-4); color: var(--ink-muted); line-height: 1.65; }
.faq__answer p { margin-bottom: var(--space-3); }

/* ============================================
   Full-bleed image break
   ============================================ */
.image-break {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}
.image-break img { width: 100%; height: 100%; object-fit: cover; }
.image-break__caption {
  position: absolute;
  bottom: var(--space-8);
  left: var(--space-8);
  color: #fff;
  font-size: var(--text-sm);
  background: rgba(10,61,74,0.75);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius);
  max-width: 500px;
  backdrop-filter: blur(4px);
}

/* ============================================
   Footer
   ============================================ */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: var(--space-16) 0 var(--space-8); font-size: var(--text-sm); }
.footer__trilogy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto var(--space-12);
  padding: 16px 24px;
  max-width: 720px;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.3px;
  font-style: italic;
  text-align: center;
}
.footer__trilogy span { display: inline-block; }
.footer a { color: var(--water-turquoise); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-12); margin-bottom: var(--space-12); }
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); } }
.footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-4); font-weight: 600; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: var(--space-2); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-xs); color: rgba(255,255,255,0.5); }
.footer__disclosure { font-size: var(--text-xs); color: rgba(255,255,255,0.5); margin-top: var(--space-6); font-style: italic; max-width: 640px; }

/* ============================================
   Sources
   ============================================ */
.sources { columns: 2; column-gap: var(--space-12); font-size: var(--text-sm); }
@media (max-width: 780px) { .sources { columns: 1; } }
.sources li { break-inside: avoid; margin-bottom: var(--space-4); }

/* Utility */
.mono { font-family: 'JetBrains Mono', monospace; }
.text-teal { color: var(--water-teal); }
.text-red { color: var(--vote-red); }

/* ============================================
   Calculator — the killer feature
   ============================================ */
.calc-section { background: linear-gradient(180deg, #f5efe0 0%, #e8dfc9 100%); }
.calc {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 24px 60px -30px rgba(9, 54, 66, 0.35), 0 2px 6px rgba(9, 54, 66, 0.08);
  margin-top: var(--space-8);
}
.calc__inputs { margin-bottom: var(--space-8); }
.calc__label {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--water-deep);
  margin-bottom: var(--space-4);
  line-height: 1.25;
}
.calc__slider-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-6);
  align-items: center;
  margin-bottom: var(--space-6);
}
@media (max-width: 640px) { .calc__slider-wrap { grid-template-columns: 1fr; } }
.calc__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--water-teal) 0%, var(--water-turquoise) 100%);
  border-radius: 999px;
  outline: none;
}
.calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  background: #fff;
  border: 3px solid var(--water-teal);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 4px 12px rgba(9, 54, 66, 0.35);
  transition: transform 0.15s;
}
.calc__slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); }
.calc__slider::-moz-range-thumb {
  width: 28px; height: 28px;
  background: #fff;
  border: 3px solid var(--water-teal);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 4px 12px rgba(9, 54, 66, 0.35);
}
.calc__value {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--water-teal);
  font-weight: 400;
  min-width: 4ch;
  text-align: right;
}
@media (max-width: 640px) { .calc__value { text-align: left; } }
.calc__radio { border-top: 1px solid var(--line); padding-top: var(--space-4); }
.calc__radio-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}
.calc__radio-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-2); }
.calc__radio-opt { display: block; cursor: pointer; }
.calc__radio-opt input { position: absolute; opacity: 0; pointer-events: none; }
.calc__radio-opt span {
  display: block;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-muted);
  transition: all 0.15s;
  background: #fafbfc;
}
.calc__radio-opt:hover span { border-color: var(--water-teal); color: var(--water-deep); }
.calc__radio-opt input:checked + span {
  background: var(--water-teal);
  border-color: var(--water-teal);
  color: #fff;
  font-weight: 600;
}

.calc__result {
  border-top: 2px solid var(--water-pale);
  padding-top: var(--space-6);
}
.calc__result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-3) 0;
  gap: var(--space-4);
}
.calc__result-label { font-size: var(--text-base); color: var(--ink-muted); }
.calc__result-value { font-family: 'DM Serif Display', serif; color: var(--water-deep); }
.calc__result-value--small { font-size: 1.5rem; }
.calc__result-row--big .calc__result-label { color: var(--ink); font-weight: 500; }
.calc__result-value--big {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  /* Loss framing ("equity at risk") should read as warning, not good-news green.
     Coral aligns with our urgency-color role in the palette. */
  color: var(--warn-coral);
  line-height: 1;
}
.calc__result-divider { height: 1px; background: var(--line); margin: var(--space-3) 0; }

.calc__breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line);
  margin-top: var(--space-4);
}
@media (max-width: 640px) { .calc__breakdown { grid-template-columns: 1fr; gap: var(--space-2); } }
.calc__breakdown-item { text-align: center; padding: var(--space-3); background: #fafbfc; border-radius: var(--radius); }
.calc__breakdown-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--water-teal);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.calc__breakdown-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--ink-muted);
  line-height: 1.4;
}

.calc__roi {
  background: linear-gradient(135deg, var(--water-deep) 0%, var(--water-mid) 100%);
  color: #fff;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  margin-top: var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.calc__roi::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(79, 176, 184, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.calc__roi-multiplier {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  color: var(--water-turquoise);
  font-style: italic;
  position: relative;
  z-index: 1;
}
.calc__roi-caption {
  font-size: var(--text-base);
  line-height: 1.55;
  max-width: 42ch;
  margin: var(--space-4) auto 0;
  color: rgba(255,255,255,0.9);
  position: relative;
  z-index: 1;
}
.calc__cta {
  display: block;
  text-align: center;
  margin: var(--space-6) auto 0;
  max-width: 360px;
  font-size: 1.05rem;
  padding: var(--space-4) var(--space-8);
}
.calc__source {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  margin-top: var(--space-6);
  line-height: 1.55;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

/* ============================================
   Value cards — "What You Get"
   ============================================ */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-6); }
.value-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(9, 54, 66, 0.2);
}
.value-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  line-height: 1.2;
  height: 3rem;
  display: flex;
  align-items: center;
}
.value-card__title {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--water-deep);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.value-card__body {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: var(--space-4);
}
.value-card__body strong { color: var(--water-deep); font-weight: 700; }
.value-card__source {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--ink-faint);
}
.value-card__source a { color: var(--water-teal); }

/* ============================================
   Vote Steps
   ============================================ */
.vote-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}
.vote-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.vote-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,176,184,0.15) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.vote-step:hover {
  transform: translateY(-3px);
  border-color: var(--water-turquoise);
  color: #fff;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.4);
}
.vote-step:hover::before { opacity: 1; }
.vote-step__num {
  font-family: 'DM Serif Display', serif;
  font-size: 4rem;
  color: var(--water-turquoise);
  line-height: 1;
  margin-bottom: var(--space-4);
  font-style: italic;
  position: relative;
  z-index: 1;
}
.vote-step__title {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}
.vote-step__body {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}
.vote-step__cta {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--water-turquoise);
  position: relative;
  z-index: 1;
}

.ballot-preview {
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-width: 800px;
  margin: 0 auto;
}
.ballot-preview__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--water-turquoise);
  margin-bottom: var(--space-3);
}
.ballot-preview__text { font-size: var(--text-sm); color: rgba(255,255,255,0.9); line-height: 1.6; }
.ballot-preview__text strong { color: #fff; }
.ballot-preview__choice {
  background: rgba(79, 176, 184, 0.15);
  border: 1px solid var(--water-turquoise);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-3);
  font-size: var(--text-base);
  color: #fff;
}

/* ============================================
   Sticky vote bar (mobile only)
   ============================================ */
.sticky-vote {
  position: fixed;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  background: var(--vote-red);
  color: #fff;
  padding: var(--space-3) var(--space-6);
  border-radius: 999px;
  display: none;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: 0 12px 30px -8px rgba(181, 52, 52, 0.55);
  z-index: 40;
  transition: transform 0.2s, background 0.2s;
}
.sticky-vote:hover { background: var(--vote-red-hover); color: #fff; transform: translateY(-2px); }
.sticky-vote__label { opacity: 0.9; }
.sticky-vote__cta { font-weight: 700; }
@media (max-width: 780px) {
  .sticky-vote { display: flex; }
  /* Sticky bar sits at bottom: 16px + 12px vertical pad + ~44px content + 16px safe = ~90px.
     Add 30px extra breathing room so body copy doesn't sit under the bar. */
  body { padding-bottom: 120px; }
}

/* ============================================
   Scroll-reveal animation
   ============================================ */
/* Reveal animation — defaults visible for safety, JS opts in to animation */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.js-reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-reveal-ready .reveal, .js-reveal-ready .reveal.is-visible { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   Page hero (for subpages)
   ============================================ */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, #f5efe0 0%, #ebe4d0 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--water-teal);
  margin-bottom: var(--space-4);
}
.page-hero__title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  color: var(--water-deep);
  margin: 0 0 var(--space-4);
  font-weight: 400;
}
.page-hero__title em {
  font-style: italic;
  color: var(--water-teal);
}
.page-hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 62ch;
  margin: 0;
}
.page-hero--deep {
  background: linear-gradient(180deg, #093642 0%, #082530 100%);
  color: #fff;
  border-bottom: none;
}
.page-hero--deep .page-hero__eyebrow { color: var(--water-turquoise); }
.page-hero--deep .page-hero__title { color: #fff; }
.page-hero--deep .page-hero__sub { color: rgba(255,255,255,0.85); }

/* ============================================
   Hero rings — "you → your neighborhood → your home"
   ============================================ */
.hero__content--stacked { max-width: 900px; }
.hero__title--stacked {
  margin-bottom: var(--space-6);
}
.hero__rings {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: baseline;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-6);
  line-height: 1.3;
}
.hero__ring strong {
  color: var(--water-turquoise);
  font-weight: 400;
  font-style: italic;
}
.hero__ring-sep {
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
  font-size: 0.8em;
}
@media (max-width: 640px) {
  .hero__rings {
    font-size: 1.1rem;
    gap: var(--space-2);
  }
  .hero__ring-sep { font-size: 0.7em; }
}

/* ============================================
   Deep-nav cards on home page
   ============================================ */
.deep-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-5);
}
.deep-nav__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
}
.deep-nav__card:hover {
  transform: translateY(-3px);
  border-color: var(--water-teal);
  box-shadow: 0 16px 32px -16px rgba(9, 54, 66, 0.25);
}
.deep-nav__num {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--water-teal);
  line-height: 1;
}
.deep-nav__card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--water-deep);
  margin: 0;
  line-height: 1.3;
}
.deep-nav__card p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  flex-grow: 1;
}
.deep-nav__cta {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--water-teal);
  margin-top: var(--space-2);
}
.deep-nav__card--cta {
  background: linear-gradient(135deg, #093642 0%, #145a6b 100%);
  color: #fff;
  border-color: transparent;
}
.deep-nav__card--cta h3 { color: #fff; }
.deep-nav__card--cta p { color: rgba(255,255,255,0.8); }
.deep-nav__card--cta .deep-nav__num { color: var(--water-turquoise); }
.deep-nav__card--cta .deep-nav__cta { color: var(--water-turquoise); }
.deep-nav__card--cta:hover { border-color: var(--water-turquoise); }

/* ============================================
   Sources grouped
   ============================================ */
.sources-grouped h3.sources__group {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--water-teal);
  margin: var(--space-8) 0 var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--line);
}
.sources-grouped h3.sources__group:first-child { margin-top: 0; }

/* ============================================
   About content
   ============================================ */
.about-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: var(--water-deep);
  margin: var(--space-8) 0 var(--space-3);
  font-weight: 400;
}
.about-content h2:first-child { margin-top: 0; }
.about-content p, .about-content ul {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 var(--space-4);
}
.about-content ul { padding-left: var(--space-6); }
.about-content li { margin-bottom: var(--space-2); }

/* ============================================
   Nav active state
   ============================================ */
.nav__active:not(.nav__cta) {
  color: var(--water-teal) !important;
  position: relative;
}
.nav__active:not(.nav__cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--water-teal);
  border-radius: 1px;
}
/* CTA active state — keep the button styling, add a subtle inset ring */
.nav__cta.nav__active {
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4);
}
@media (max-width: 780px) {
  .nav__active::after { display: none; }
  .nav__active {
    background: rgba(22, 118, 132, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
  }
}

/* ============================================
   Projects page components
   ============================================ */
.proj-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.proj-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.proj-stat__num {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  color: var(--water-teal);
  line-height: 1;
  margin-bottom: var(--space-2);
  font-weight: 400;
}
.proj-stat__label {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--water-deep);
  line-height: 1.35;
}
.proj-stat__sub {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.55;
  margin-top: var(--space-2);
}
.proj-stats__source {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  margin-top: var(--space-4);
}

/* Project cards */
.proj-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}
.proj-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
}
.proj-card:hover {
  transform: translateY(-3px);
  border-color: var(--water-teal);
  box-shadow: 0 20px 40px -20px rgba(9, 54, 66, 0.2);
}
.proj-card__meta {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}
.proj-card__cat {
  display: inline-block;
  background: rgba(22, 118, 132, 0.12);
  color: var(--water-teal);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.proj-card__loc {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  font-weight: 500;
}
.proj-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--water-deep);
  line-height: 1.3;
  margin: 0 0 var(--space-3);
}
.proj-card__body {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  flex-grow: 1;
}
.proj-card__body strong { color: var(--water-deep); font-weight: 700; }
.proj-card__stat {
  background: linear-gradient(135deg, #f5efe0 0%, #ebe4d0 100%);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: center;
  margin-bottom: var(--space-4);
  border: 1px solid rgba(22, 118, 132, 0.15);
}
.proj-card__stat-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: var(--water-teal);
  line-height: 1;
  margin-bottom: 6px;
  font-weight: 400;
}
.proj-card__stat-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--ink-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.proj-card__link {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--water-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  letter-spacing: 0.03em;
}
.proj-card__link:hover { color: var(--water-deep); }

/* Project table */
.proj-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
}
.proj-table__row {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr;
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
  align-items: center;
  gap: var(--space-2);
}
.proj-table__row:last-child { border-bottom: none; }
.proj-table__row--header {
  background: var(--water-deep);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-5);
}
.proj-table__row:nth-child(even):not(.proj-table__row--header) {
  background: #fafbf7;
}
.proj-table__row > div:not(:first-child) {
  text-align: center;
  font-weight: 600;
  color: var(--water-deep);
}
.proj-table__row--header > div:not(:first-child) {
  color: #fff;
  font-weight: 700;
}
@media (max-width: 780px) {
  .proj-table__row {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: var(--space-3);
    font-size: var(--text-xs);
  }
  .proj-table__row--header { font-size: 0.65rem; }
}
.proj-table__source {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  margin-top: var(--space-4);
  line-height: 1.55;
}

/* ============================================
   Science page components
   ============================================ */

/* N/P big-letter definitions */
.sci-defs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}
.sci-def {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
}
.sci-def__symbol {
  font-family: 'DM Serif Display', serif;
  font-size: 4.5rem;
  color: var(--water-teal);
  line-height: 0.95;
  flex-shrink: 0;
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(135deg, rgba(22, 118, 132, 0.08), rgba(79, 176, 184, 0.15));
  border-radius: var(--radius);
}
.sci-def__name {
  font-family: 'Inter', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--water-deep);
  margin: 0 0 var(--space-2);
}
.sci-def__body {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}

.section__closer {
  font-size: 1.0625rem;
  color: var(--ink);
  line-height: 1.7;
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
  max-width: 62ch;
}

/* Numbered source list */
.sci-sources {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
  max-width: 800px;
  margin-inline: auto;
}
.sci-source {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: flex-start;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.sci-source:hover {
  border-color: var(--water-teal);
  transform: translateX(4px);
}
.sci-source__num {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--water-teal);
  line-height: 1;
  min-width: 3rem;
  font-style: italic;
}
.sci-source__content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--water-deep);
  margin: 0 0 var(--space-2);
}
.sci-source__content p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}
.sci-source__content p strong { color: var(--water-deep); font-weight: 700; }
@media (max-width: 640px) {
  .sci-source { grid-template-columns: auto 1fr; gap: var(--space-3); padding: var(--space-4); }
  .sci-source__num { font-size: 2.25rem; min-width: 2rem; }
}

/* The Cascade — vertical numbered steps */
.cascade {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  max-width: 720px;
  margin: var(--space-8) auto 0;
}
.cascade__step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  width: 100%;
  color: #fff;
  transition: border-color 0.25s;
}
.cascade__step:hover { border-color: var(--water-turquoise); }
.cascade__num {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--water-turquoise);
  margin-bottom: var(--space-3);
}
.cascade__step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-3);
  line-height: 1.3;
}
.cascade__step p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.cascade__step p strong { color: #fff; font-weight: 700; }
.cascade__arrow {
  font-size: 2rem;
  color: var(--water-turquoise);
  opacity: 0.6;
  line-height: 1;
}

/* Body prose for science */
.sci-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 var(--space-5);
  max-width: 62ch;
}
.sci-body strong { color: var(--water-deep); font-weight: 700; }

/* Callout — highlight box */
.sci-callout {
  background: linear-gradient(135deg, rgba(22, 118, 132, 0.08) 0%, rgba(79, 176, 184, 0.12) 100%);
  border: 1px solid rgba(22, 118, 132, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-6);
}
.sci-callout__num {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--water-teal);
  line-height: 1.1;
  margin-bottom: var(--space-3);
  font-style: italic;
}
.sci-callout p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}
.sci-callout p strong { color: var(--water-deep); font-weight: 700; }

.sci-callout--dark {
  background: linear-gradient(135deg, rgba(108, 199, 206, 0.14) 0%, rgba(22, 118, 132, 0.22) 100%);
  border-color: rgba(108, 199, 206, 0.4);
}

/* Seagrass story */
.seagrass-story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.seagrass-story__block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}
.seagrass-story__block h3 {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.375rem;
  color: var(--water-deep);
  margin: 0 0 var(--space-2);
  font-weight: 400;
}
.seagrass-story__block p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}
.seagrass-story__block p strong { color: var(--water-deep); font-weight: 700; }

/* ============================================
   One Lagoon page components
   ============================================ */

/* Vital Signs grid */
.vitals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.vital {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}
.vital:hover {
  transform: translateY(-3px);
  border-color: var(--water-teal);
  box-shadow: 0 16px 32px -16px rgba(9, 54, 66, 0.2);
}
.vital__title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--water-deep);
  margin: 0 0 var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--water-teal);
  line-height: 1.25;
}
.vital__topics {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  flex-grow: 1;
}
.vital__topics li {
  font-size: var(--text-sm);
  color: var(--ink);
  padding: 4px 0;
  padding-left: var(--space-4);
  position: relative;
}
.vital__topics li::before {
  content: '·';
  position: absolute;
  left: var(--space-2);
  color: var(--water-teal);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}
.vital__note {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  font-style: italic;
  line-height: 1.55;
  border-top: 1px dashed var(--line);
  padding-top: var(--space-3);
  margin: 0;
}
.vital__source {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  margin-top: var(--space-6);
  line-height: 1.55;
}

/* Direct quotes */
.quotes {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-6);
  max-width: 900px;
  margin-inline: auto;
}
.quote {
  background: #f9f7f0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  margin: 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.quote::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 16px;
  font-family: 'DM Serif Display', serif;
  font-size: 5rem;
  color: var(--water-teal);
  opacity: 0.25;
  line-height: 1;
}
.quote__body {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.5;
  color: var(--water-deep);
  margin: 0 0 var(--space-5);
  font-style: italic;
  position: relative;
}
.quote__body strong {
  font-style: normal;
  color: var(--water-teal);
}
.quote__attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.quote__who {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--water-deep);
  font-style: normal;
}
.quote__where {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  font-style: normal;
}
.quote__link {
  font-size: var(--text-xs);
  color: var(--water-teal);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  margin-top: 6px;
  font-style: normal;
}
.quote__link:hover { color: var(--water-deep); }

/* Cost comparison */
.cost-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-6);
  align-items: center;
  margin: var(--space-8) 0;
  max-width: 900px;
  margin-inline: auto;
}
.cost-compare__col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}
.cost-compare__col--big {
  background: linear-gradient(135deg, #093642 0%, #145a6b 100%);
  color: #fff;
  border-color: transparent;
}
.cost-compare__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-3);
}
.cost-compare__col--big .cost-compare__label { color: var(--water-turquoise); }
.cost-compare__num {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--water-deep);
  font-weight: 400;
  margin-bottom: var(--space-3);
}
.cost-compare__num--big { color: #fff; }
.cost-compare__sub {
  font-size: var(--text-sm);
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: var(--space-3);
}
.cost-compare__col--big .cost-compare__sub { color: rgba(255,255,255,0.85); }
.cost-compare__col--big .cost-compare__sub strong { color: #fff; }
.cost-compare__source {
  font-size: var(--text-xs);
  color: var(--ink-faint);
}
.cost-compare__col--big .cost-compare__source { color: rgba(255,255,255,0.6); }
.cost-compare__col--big .cost-compare__source a { color: var(--water-turquoise); }
.cost-compare__vs {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--ink-muted);
}
.cost-compare__closer {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 70ch;
  margin: var(--space-6) auto 0;
  text-align: center;
}
.cost-compare__closer strong { color: var(--water-deep); font-weight: 700; }
@media (max-width: 780px) {
  .cost-compare { grid-template-columns: 1fr; }
  .cost-compare__vs { transform: rotate(90deg); }
}

/* State-of-lagoon cards */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.state-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}
.state-card:hover {
  transform: translateY(-3px);
  border-color: var(--water-teal);
}
.state-card__icon {
  font-size: 2.25rem;
  line-height: 1.2;
  height: 3rem;
  display: flex;
  align-items: center;
  margin-bottom: var(--space-3);
}
.state-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--water-deep);
  margin: 0 0 var(--space-3);
}
.state-card p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}
.state-card p strong { color: var(--water-deep); font-weight: 700; }
.state-source {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  margin-top: var(--space-6);
  line-height: 1.6;
}

/* ============================================
   MRC basin cards
   ============================================ */
.basin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.basin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.basin-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(9, 54, 66, 0.2);
}
.basin-card--improved {
  border-color: var(--seagrass);
  background: linear-gradient(180deg, #fafffa 0%, #ffffff 40%);
}
.basin-card__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--space-3);
  position: relative;
}
.basin-card__name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--water-deep);
  margin: 0;
  line-height: 1.2;
}
.basin-card__loc {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.basin-card__badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--seagrass);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.basin-card__grade {
  text-align: center;
  padding: var(--space-4) 0;
  background: linear-gradient(135deg, rgba(22, 118, 132, 0.06) 0%, rgba(79, 176, 184, 0.1) 100%);
  border-radius: var(--radius);
}
.basin-card--improved .basin-card__grade {
  background: linear-gradient(135deg, rgba(61, 139, 61, 0.08) 0%, rgba(61, 139, 61, 0.15) 100%);
}
.basin-card__grade-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.basin-card__grade-value {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--water-teal);
  line-height: 1;
  font-weight: 400;
}
.basin-card--improved .basin-card__grade-value { color: var(--seagrass); }
.basin-card__grade-delta {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  margin-top: 6px;
  font-weight: 500;
}
.basin-card--improved .basin-card__grade-delta {
  color: var(--seagrass);
  font-weight: 700;
}
.basin-card__metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.basin-card__metrics li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  padding: 4px 0;
  border-bottom: 1px dashed var(--line);
}
.basin-card__metrics li:last-child { border-bottom: none; }
.basin-card__metrics li span { color: var(--ink-muted); }
.basin-card__metrics li strong { color: var(--water-deep); font-weight: 600; }
.basin-card__note {
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--ink-muted);
  font-style: italic;
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.basin-card__note strong {
  color: var(--water-deep);
  font-weight: 700;
  font-style: normal;
}
.basin-grid__source {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  margin-top: var(--space-6);
  line-height: 1.55;
}

/* ============================================
   Zoo page components
   ============================================ */
.zoo-programs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.zoo-prog {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}
.zoo-prog:hover {
  transform: translateY(-3px);
  border-color: var(--water-teal);
}
.zoo-prog__icon {
  font-size: 2.5rem;
  line-height: 1.2;
  height: 3rem;
  display: flex;
  align-items: center;
  margin-bottom: var(--space-2);
}
.zoo-prog h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--water-deep);
  margin: 0;
  line-height: 1.3;
}
.zoo-prog p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
  flex-grow: 1;
}
.zoo-prog p strong { color: var(--water-deep); font-weight: 700; }
.zoo-prog__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: #fff;
  background: var(--water-teal);
  text-decoration: none;
  letter-spacing: 0.03em;
  margin-top: var(--space-2);
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
}
.zoo-prog__link:hover { background: var(--water-deep); text-decoration: none; transform: translateX(2px); }
.zoo-prog__link:focus-visible { outline: 2px solid var(--water-deep); outline-offset: 2px; }

/* Aquarium fact grid */
.aquarium-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.aq-fact {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: border-color 0.25s;
}
.aq-fact:hover { border-color: var(--water-turquoise); }
.aq-fact h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--water-turquoise);
  margin: 0 0 var(--space-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.aq-fact p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* Help cards */
.help-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.help-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}
.help-card:hover {
  transform: translateX(4px);
  border-left-color: var(--seagrass);
}
.help-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--water-deep);
  margin: 0;
  line-height: 1.25;
}
.help-card p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  flex-grow: 1;
}
.help-card__cta {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--water-teal);
  letter-spacing: 0.03em;
  margin-top: var(--space-2);
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
  position: relative;
  padding-left: var(--space-8);
  margin-top: var(--space-6);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg,
    var(--water-turquoise) 0%,
    var(--water-teal) 25%,
    var(--water-deep) 50%,
    var(--seagrass) 75%,
    var(--vote-red) 100%
  );
  border-radius: 1px;
}
.timeline__event {
  position: relative;
  padding-bottom: var(--space-8);
  padding-left: var(--space-4);
}
.timeline__event:last-child { padding-bottom: 0; }
.timeline__event::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--water-teal);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--water-teal);
}
.timeline__event--bad::before { background: var(--vote-red); box-shadow: 0 0 0 2px var(--vote-red); }
.timeline__event--pivotal::before { background: var(--water-deep); box-shadow: 0 0 0 2px var(--water-deep); width: 16px; height: 16px; left: -34px; }
.timeline__event--good::before { background: var(--seagrass); box-shadow: 0 0 0 2px var(--seagrass); }
.timeline__event--vote::before {
  background: var(--vote-red);
  box-shadow: 0 0 0 3px var(--vote-red), 0 0 0 6px rgba(181, 52, 52, 0.2);
  width: 18px;
  height: 18px;
  left: -35px;
}
.timeline__year {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--water-teal);
  font-weight: 400;
  font-style: italic;
  margin-bottom: var(--space-2);
  line-height: 1;
}
.timeline__event--pivotal .timeline__year { color: var(--water-deep); }
.timeline__event--vote .timeline__year { color: var(--vote-red); }
.timeline__event--good .timeline__year { color: var(--seagrass); }
.timeline__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(22, 118, 132, 0.15);
  color: var(--water-teal);
  margin-bottom: var(--space-2);
}
.timeline__badge--warn {
  background: rgba(181, 52, 52, 0.12);
  color: var(--vote-red);
}
.timeline__badge--good {
  background: rgba(61, 139, 61, 0.15);
  color: var(--seagrass);
}
.timeline__badge--vote {
  background: var(--vote-red);
  color: #fff;
}
.timeline__title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--water-deep);
  margin: 0 0 var(--space-3);
  line-height: 1.25;
  font-weight: 400;
}
.timeline__event--good .timeline__title { color: var(--water-deep); }
.timeline__body p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}
.timeline__body p strong { color: var(--water-deep); font-weight: 700; }
.timeline__vote {
  margin-top: var(--space-4);
}
@media (max-width: 640px) {
  .timeline { padding-left: var(--space-6); }
  .timeline::before { left: 6px; }
  .timeline__event::before { left: -26px; width: 10px; height: 10px; }
  .timeline__event--pivotal::before { left: -28px; width: 14px; height: 14px; }
  .timeline__event--vote::before { left: -30px; width: 16px; height: 16px; }
  .timeline__title { font-size: 1.25rem; }
}

/* ============================================
   Nav "More" dropdown
   ============================================ */
.nav__group { position: relative; display: inline-flex; }
.nav__more {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #12222a;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav__more:hover { color: var(--water-teal); }
.nav__more[aria-expanded="true"] { color: var(--water-teal); }
.nav__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -12px rgba(9, 54, 66, 0.25), 0 4px 8px rgba(9, 54, 66, 0.08);
  padding: 8px;
  display: none;
  z-index: 100;
  flex-direction: column;
  gap: 2px;
}
.nav__dropdown.is-open { display: flex; }
.nav__dropdown a {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav__dropdown a:hover {
  background: rgba(22, 118, 132, 0.08);
  color: var(--water-teal);
}
.nav__dropdown a.nav__active {
  background: rgba(22, 118, 132, 0.12);
  color: var(--water-teal);
  font-weight: 700;
}
/* On mobile, dropdown flattens into the nav */
@media (max-width: 780px) {
  .nav__group { display: contents; }
  .nav__more {
    padding: 8px 12px;
    text-align: left;
    justify-content: flex-start;
    pointer-events: none;
    color: var(--ink-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-top: 8px;
  }
  .nav__more span { display: none; }
  .nav__dropdown {
    position: static;
    display: flex;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    min-width: 0;
  }
  .nav__dropdown a {
    padding: 10px 12px;
    font-size: 15px;
  }
}

/* ============================================
   Calculator disclaimer — how the tax works
   ============================================ */
.calc__disclaimer {
  background: #fff7e6;
  border: 1px solid rgba(209, 153, 0, 0.35);
  border-radius: var(--radius);
  padding: var(--space-5) var(--space-6);
  margin-top: var(--space-6);
  margin-bottom: var(--space-4);
}
.calc__disclaimer-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #7a5c00;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.calc__disclaimer p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 var(--space-3);
}
.calc__disclaimer p:last-child { margin-bottom: 0; }
.calc__disclaimer strong { color: var(--water-deep); font-weight: 700; }

/* ============================================
   Calculator tax note — plain speech, not a box
   ============================================ */
.calc__tax-note {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: -4px 0 var(--space-3);
  padding: var(--space-2) 0 var(--space-4);
  font-style: italic;
}
.calc__tax-note strong {
  color: var(--water-deep);
  font-weight: 700;
  font-style: normal;
}

/* ============================================
   Tourist Math section — hero-level argument
   ============================================ */
.section--tourist {
  background: linear-gradient(180deg, #f5efe0 0%, #ede4cf 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tourist-math {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  margin: var(--space-8) 0;
}
.tourist-math__stat {
  text-align: center;
  padding: var(--space-4);
}
.tourist-math__num {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(3rem, 6vw, 4rem);
  line-height: 1;
  color: var(--water-teal);
  margin-bottom: var(--space-3);
  font-weight: 400;
}
.tourist-math__label {
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.55;
  max-width: 28ch;
  margin: 0 auto;
}

/* ============================================
   Oversight page — facts grid + story cards
   ============================================ */
.oversight-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
  margin: var(--space-6) 0;
}
.ov-fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}
.ov-fact__num {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--water-teal);
  line-height: 1;
  margin-bottom: var(--space-3);
  font-weight: 400;
}
.ov-fact__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--water-deep);
  margin-bottom: var(--space-2);
}
.ov-fact__sub {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--ink-muted);
}

/* "My Lagoon Story" video story grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}
.story {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}
.story:hover {
  transform: translateY(-3px);
  border-color: var(--water-teal);
  box-shadow: 0 20px 40px -20px rgba(9, 54, 66, 0.25);
}
.story__video {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.story__video a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.story__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.25s, transform 0.25s;
}
.story__video a:hover img {
  opacity: 1;
  transform: scale(1.02);
}
.story__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--vote-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  transition: transform 0.2s, background 0.2s;
  padding-left: 8px;
}
.story__video a:hover .story__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}
.story__meta {
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}
.story__name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--water-deep);
  margin: 0;
  line-height: 1.2;
}
.story__quote {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
  font-style: italic;
  flex-grow: 1;
}
.story__link {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--water-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.story__link:hover { color: var(--water-deep); }
.stories-note {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-top: var(--space-6);
  line-height: 1.6;
  text-align: center;
}

/* Page hero note — smaller supplementary text */
.page-hero__note {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 62ch;
  margin: var(--space-4) 0 0;
  padding-top: var(--space-4);
  border-top: 1px dashed var(--line);
}
.page-hero__note strong { color: var(--water-deep); font-weight: 700; }
.page-hero__note em { font-style: italic; }

/* ============================================
   Stakes section — "you can't just restart it"
   ============================================ */
.section--stakes {
  background: linear-gradient(180deg, #093642 0%, #082530 100%);
  color: #fff;
}
.section--stakes .eyebrow {
  color: var(--warn-coral-strong);
  opacity: 1;
}
.section--stakes .section__title {
  color: #fff;
}
.section--stakes .section__title em {
  color: var(--warn-coral);
  font-style: italic;
}
.stakes-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.94);
  margin: 0 0 var(--space-6);
  max-width: 62ch;
}
.stakes-body strong {
  color: #fff;
  font-weight: 700;
}
.stakes-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
  margin: var(--space-6) 0;
}
.stakes-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  transition: border-color 0.25s;
}
.stakes-step:hover { border-color: var(--warn-coral); }
.stakes-step__num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.25rem;
  color: var(--warn-coral);
  line-height: 1;
  font-weight: 400;
  font-style: italic;
  min-width: 2rem;
}
.stakes-step__body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-2);
  line-height: 1.3;
}
.stakes-step__body p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  margin: 0;
}
.stakes-verdict {
  background: linear-gradient(135deg, rgba(255, 157, 122, 0.12) 0%, rgba(255, 157, 122, 0.22) 100%);
  border: 1px solid rgba(255, 157, 122, 0.45);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-8) 0 var(--space-6);
  text-align: center;
}
.stakes-verdict__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--warn-coral-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.stakes-verdict__num {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 7vw, 4.5rem);
  color: #fff;
  line-height: 1;
  font-weight: 400;
  font-style: italic;
  margin-bottom: var(--space-4);
}
.stakes-verdict__sub {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  max-width: 55ch;
  margin: 0 auto;
}

/* Calc mode toggle (owner vs renter) */
.calc__mode-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(9, 54, 66, 0.06);
  border-radius: 10px;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.calc__mode-opt {
  flex: 1 1 200px;
  min-width: 200px;
  padding: 12px 18px;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}
.calc__mode-opt:hover { color: var(--water-deep); }
.calc__mode-opt.is-active {
  background: var(--water-teal);
  color: #fff;
  box-shadow: 0 2px 8px rgba(9, 54, 66, 0.15);
}
.calc__mode-opt:focus-visible {
  outline: 3px solid var(--water-turquoise);
  outline-offset: 2px;
}
.calc__renter-inputs {
  padding: var(--space-4) 0;
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}

/* Collapse / Recovery section (before-after fish kill imagery) */
.section--collapse {
  background: var(--water-deep);
  color: rgba(255,255,255,0.92);
  padding-top: var(--space-14);
  padding-bottom: var(--space-14);
}
.section--collapse .eyebrow {
  color: var(--warn-coral, #ff9d7a);
}
.section--collapse .section__title {
  color: #fff;
  margin-bottom: var(--space-4);
}
.section--collapse .section__title em {
  color: var(--water-turquoise);
  font-style: italic;
}
.section--collapse .section__intro {
  color: rgba(255,255,255,0.82);
  max-width: 62ch;
}

.collapse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  margin: var(--space-10) 0;
}
.collapse-grid--single {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.collapse-card {
  margin: 0;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.collapse-card img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0,0,0,0.4);
}
.collapse-grid--single .collapse-card img { height: 420px; }
.collapse-card__stamp {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--warn-coral, #ff9d7a);
  color: var(--water-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  z-index: 2;
  max-width: calc(100% - 32px);
}
.collapse-card__stamp--now {
  background: var(--seagrass);
  color: #fff;
}
.collapse-card figcaption {
  padding: var(--space-5) var(--space-5) var(--space-4);
}
.collapse-card figcaption h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.25;
}
.collapse-card figcaption p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin: 0 0 10px;
}
.collapse-card__cite {
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.55) !important;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 12px !important;
}
.collapse-card__cite a { color: var(--water-turquoise); text-decoration: underline; text-decoration-color: rgba(108,199,206,0.4); }
.collapse-card__cite a:hover { text-decoration-color: var(--water-turquoise); }

.collapse-smell {
  background: rgba(255,157,122,0.10);
  border: 1px solid rgba(255,157,122,0.28);
  padding: var(--space-6) var(--space-6);
  border-radius: 8px;
  margin: var(--space-10) 0;
}
.collapse-smell__eyebrow {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--warn-coral, #ff9d7a);
  margin-bottom: 12px;
  line-height: 1.3;
}
.collapse-smell p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 var(--space-5);
}
.collapse-smell__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.collapse-smell__stat {
  padding: 16px;
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
}
.collapse-smell__num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--warn-coral, #ff9d7a);
  margin-bottom: 6px;
  line-height: 1.1;
}
.collapse-smell__label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
.collapse-smell__source {
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.55) !important;
  margin-top: var(--space-5) !important;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.collapse-smell__source a { color: var(--water-turquoise); }

.collapse-closer {
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  margin-top: var(--space-8);
  padding: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.collapse-closer strong { color: var(--water-turquoise); font-weight: 600; }

/* ============================================================
   CINEMATIC HERO (dead-scene opener) — supersedes prior hero
   ============================================================ */
.hero--cinematic {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
  background: #0a0a0a;
}
.hero__image--cinematic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 1;
  opacity: 1 !important;  /* Override any inherited .hero__image dimming — the cinematic hero uses a gradient overlay for contrast instead */
}
.hero__overlay--soft {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.05) 40%,
      rgba(0,0,0,0.55) 75%,
      rgba(0,0,0,0.88) 100%);
  z-index: 2;
}
.hero__content--cinematic {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px var(--space-10);
  width: 100%;
  color: #fff;
  box-sizing: border-box;
}
.hero__eyebrow--warn {
  color: var(--warn-coral, #ff9d7a);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: block;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero__title--cinematic {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 var(--space-6);
  max-width: 22ch;
  color: #fff;
  text-shadow: 0 3px 20px rgba(0,0,0,0.5);
}
.hero__title--cinematic em {
  color: var(--water-turquoise, #6cc7ce);
  font-style: italic;
  display: inline-block;
}
.hero__sub--cinematic {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.94);
  max-width: 60ch;
  margin: 0 0 var(--space-6);
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
.hero__sub--cinematic strong {
  color: #fff;
  font-weight: 600;
}
.hero__cite {
  position: absolute;
  bottom: 12px;
  right: 20px;
  z-index: 4;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  max-width: 45ch;
  text-align: right;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

@media (max-width: 780px) {
  .hero--cinematic {
    min-height: auto;
    display: block;
  }
  /* Give the <picture> wrapper explicit block sizing so it doesn't collapse */
  .hero--cinematic > picture {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
  }
  /* On mobile, show IRIS FIRST as a proper 16:9 image at the top,
     then flow the copy below on solid navy. No overlap, no cropping IRIS out. */
  .hero__image--cinematic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    opacity: 1 !important;
  }
  .hero__overlay--soft {
    display: none;
  }
  .hero__content--cinematic {
    position: relative;
    padding: var(--space-6) 24px var(--space-8);
    background: linear-gradient(180deg, #0a1a20 0%, #051318 100%);
    color: #fff;
  }
  .hero__title--cinematic {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
    max-width: 100%;
    text-shadow: none;
  }
  .hero__sub--cinematic {
    max-width: 100%;
    text-shadow: none;
    color: rgba(255,255,255,0.88);
  }
  .hero__ctas {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero__ctas .btn { min-width: 0; }
  .hero__cite {
    position: static;
    text-align: left;
    margin-top: var(--space-5);
    padding: 14px 0 0;
    max-width: 100%;
    background: transparent;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    text-shadow: none;
  }
}

/* ============================================================
   TRANSITIONAL BAND — Claude's line
   ============================================================ */
.transition-band {
  background: #0a1a20;
  padding: var(--space-8) 0;
  border-top: 1px solid rgba(255,157,122,0.25);
  border-bottom: 1px solid rgba(255,157,122,0.25);
}
.transition-band__line {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: rgba(255,255,255,0.95);
  text-align: center;
  line-height: 1.4;
  max-width: 45ch;
  margin: 0 auto;
}
.transition-band__line strong {
  color: var(--warn-coral, #ff9d7a);
  font-weight: 400;
  font-style: normal;
}

/* ============================================================
   HERO CLOSER — alive scene bookend
   ============================================================ */
.hero-closer {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-closer__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}
.hero-closer__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.1) 45%,
    rgba(0,20,30,0.65) 78%,
    rgba(0,15,25,0.9) 100%);
  z-index: 2;
}
.hero-closer__content {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px var(--space-10);
  width: 100%;
  color: #fff;
  box-sizing: border-box;
}
.hero-closer__eyebrow {
  color: var(--water-turquoise, #6cc7ce);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: block;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero-closer__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 var(--space-5);
  max-width: 26ch;
  color: #fff;
  text-shadow: 0 3px 20px rgba(0,0,0,0.55);
}
.hero-closer__title em {
  color: var(--water-turquoise);
  font-style: italic;
}
.hero-closer__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  max-width: 62ch;
  margin: 0 0 var(--space-6);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-closer__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.btn--large {
  font-size: 1.05rem;
  padding: 16px 28px;
}
.btn--ghost-light {
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.hero-closer__cite {
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  margin: 0;
  max-width: 55ch;
}

@media (max-width: 780px) {
  .hero-closer {
    min-height: auto;
    display: block;
  }
  /* Give the <picture> wrapper explicit block sizing so it doesn't collapse */
  .hero-closer > picture {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
  }
  .hero-closer__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }
  .hero-closer__overlay { display: none; }
  .hero-closer__content {
    position: relative;
    padding: var(--space-6) 24px var(--space-8);
    background: linear-gradient(180deg, #051318 0%, #0a1a20 100%);
    color: #fff;
  }
  .hero-closer__title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    max-width: 100%;
    text-shadow: none;
  }
  .hero-closer__sub {
    max-width: 100%;
    text-shadow: none;
    color: rgba(255,255,255,0.88);
  }
  .hero-closer__ctas { flex-wrap: wrap; gap: 10px; }
  .hero-closer__cite {
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 20px;
    color: rgba(255,255,255,0.6);
  }
}

/* ============================================================
   OVERFLOW-SAFE LINK WRAPPING
   Prevents raw URLs and long anchor text from breaking out of
   their container boxes on mobile.
   ============================================================ */
a {
  word-break: break-word;
  overflow-wrap: anywhere;
}
/* Slightly stricter: any prose containers should never let text bleed */
.sci-callout p,
.sci-callout__num,
.controversy p,
.controversy__body p,
.controversy__take,
.calc__source,
.stakes-body,
.collapse-card p,
.collapse-card__cite,
.collapse-smell p,
.collapse-smell__source,
.value-card__source,
.cost-compare__source,
.state-source,
.about-content p,
.footer p,
.footer__disclosure,
.deep-nav__card p,
.calc__tax-note,
.section__intro,
.section__closer,
figcaption {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ---------------------------------------------------------
   Hero image disclaimer — label bound to the image (survives
   screenshots/social shares) plus in-flow line under the image
   before the headline (framed reading order).
   Combined "Option D" per Opus + agent review 2026-07-23.
   --------------------------------------------------------- */

/* Overlaid label on the image itself */
.hero__image-label {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(88%, 520px);
  padding: 8px 12px;
  background: rgba(9, 54, 66, 0.82);  /* --water-deep at 82% */
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__image-label-tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff9d7a;  /* --warn-coral */
  line-height: 1;
}
.hero__image-label-text {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
}

/* In-flow line right under the image, before the eyebrow.
   Sits on the navy hero background, not on the image. */
.hero__inflow-frame {
  position: relative;
  z-index: 4;
  max-width: 640px;
  margin: 20px auto 0;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}

/* Mobile: tighten the label, keep it legible but not overpowering */
@media (max-width: 780px) {
  .hero__image-label {
    top: 8px;
    right: 8px;
    left: 8px;
    max-width: none;
    padding: 6px 10px;
    gap: 6px;
  }
  .hero__image-label-tag {
    font-size: 9px;
  }
  .hero__image-label-text {
    font-size: 11px;
    line-height: 1.3;
  }
  .hero__inflow-frame {
    margin: 16px auto 0;
    padding: 0 20px;
    font-size: 13px;
  }
}

/* Small phones: hide the "Real 2016 photos below" trailing text
   from the overlay tag to save space — keep just "ILLUSTRATION — Not a photo"
   Actually no: keep it. Just wrap. Let it breathe. */

/* ---------------------------------------------------------
   SCALE section — "71% of it is ours"
   Dark navy background, large stat numbers, editorial cards
   --------------------------------------------------------- */

.section--scale {
  background: var(--water-deep);
  color: #f5efe0;
  padding: 96px 0;
}
@media (max-width: 780px) {
  .section--scale { padding: 64px 0; }
}

.section--scale .eyebrow {
  color: var(--warn-coral);
}

.scale__title {
  color: #f5efe0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 24px;
}
.scale__title em {
  color: var(--water-turquoise);
  font-style: italic;
}

.scale__intro {
  color: rgba(245, 239, 224, 0.88);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 56px;
}
.scale__intro strong {
  color: #f5efe0;
  font-weight: 700;
}
@media (max-width: 780px) {
  .scale__intro {
    font-size: 1.02rem;
    margin-bottom: 40px;
  }
}

.scale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 980px) {
  .scale-grid { grid-template-columns: 1fr; gap: 16px; }
}

.scale-card {
  background: rgba(245, 239, 224, 0.05);
  border: 1px solid rgba(245, 239, 224, 0.12);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.scale-card__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--water-turquoise);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.scale-card__unit {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.7);
  margin-bottom: 18px;
  line-height: 1.3;
}
.scale-card__body {
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(245, 239, 224, 0.9);
  margin: 0 0 16px;
  flex-grow: 1;
}
.scale-card__body strong {
  color: #f5efe0;
  font-weight: 700;
}
.scale-card__source {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(245, 239, 224, 0.5);
  margin: 0;
}
.scale-card__source a {
  color: rgba(245, 239, 224, 0.72);
  text-decoration: underline;
  text-decoration-color: rgba(245, 239, 224, 0.3);
  text-underline-offset: 2px;
}
.scale-card__source a:hover {
  color: var(--water-turquoise);
}

.scale-truth {
  border-top: 1px solid rgba(245, 239, 224, 0.15);
  padding-top: 40px;
  max-width: 760px;
}
.scale-truth__line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.35;
  color: #f5efe0;
  margin-bottom: 20px;
  font-style: italic;
}
.scale-truth__line strong {
  color: var(--warn-coral);
  font-weight: 700;
  font-style: normal;
}
.scale-truth__kicker {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(245, 239, 224, 0.85);
  margin: 0;
}
.scale-truth__kicker strong {
  color: var(--water-turquoise);
  font-weight: 700;
}
@media (max-width: 780px) {
  .scale-truth { padding-top: 32px; }
  .scale-truth__line { margin-bottom: 16px; }
  .scale-truth__kicker { font-size: 0.98rem; }
}

/* ---------------------------------------------------------
   SCALE — Financial subsection ("The tax is a rounding error")
   Sits below the physical-scale cards inside .section--scale
   --------------------------------------------------------- */

.scale-financial {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(245, 239, 224, 0.15);
}
@media (max-width: 780px) {
  .scale-financial {
    margin-top: 48px;
    padding-top: 36px;
  }
}

.scale-financial__eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warn-coral);
  margin-bottom: 14px;
}

.scale-financial__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.2;
  color: #f5efe0;
  margin: 0 0 40px;
  max-width: 760px;
}

.scale-financial__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 780px) {
  .scale-financial__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }
}

.scale-financial__card {
  background: rgba(245, 239, 224, 0.05);
  border: 1px solid rgba(245, 239, 224, 0.12);
  border-radius: 8px;
  padding: 28px 24px;
}
.scale-financial__pct {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  color: var(--water-turquoise);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.scale-financial__label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 239, 224, 0.7);
  margin-bottom: 18px;
  line-height: 1.3;
}
.scale-financial__body {
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(245, 239, 224, 0.9);
  margin: 0;
}
.scale-financial__body strong {
  color: #f5efe0;
  font-weight: 700;
}
.scale-financial__body em {
  font-style: italic;
  color: var(--water-turquoise);
}
.scale-financial__body a {
  color: rgba(245, 239, 224, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(245, 239, 224, 0.35);
  text-underline-offset: 2px;
}
.scale-financial__body a:hover {
  color: var(--water-turquoise);
}

.scale-financial__punch {
  background: rgba(255, 157, 122, 0.10);
  border: 1px solid rgba(255, 157, 122, 0.25);
  border-radius: 6px;
  padding: 28px 32px;
  margin-bottom: 32px;
}
.scale-financial__punch-line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.3;
  color: #f5efe0;
  margin: 0 0 12px;
}
.scale-financial__punch-line strong {
  color: var(--warn-coral);
  font-weight: 700;
}
.scale-financial__punch-line a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(245, 239, 224, 0.4);
  text-underline-offset: 3px;
}
.scale-financial__punch-body {
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(245, 239, 224, 0.88);
  margin: 0;
}
@media (max-width: 780px) {
  .scale-financial__punch { padding: 20px 22px; }
}

.scale-financial__closer {
  max-width: 760px;
}
.scale-financial__closer p {
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(245, 239, 224, 0.9);
  margin: 0;
}
.scale-financial__closer p strong {
  color: var(--water-turquoise);
  font-weight: 700;
}
@media (max-width: 780px) {
  .scale-financial__closer p { font-size: 1rem; }
}

/* ===================================================================
   RESOURCE HUB HOMEPAGE (irlfacts.org/) — editorial front door
   =================================================================== */

/* Top ballot band — permanent through Nov 3, 2026 */
.ballot-band {
  background: var(--warn-coral);
  color: var(--water-deep);
  border-bottom: 1px solid rgba(9, 54, 66, 0.18);
}
.ballot-band__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ballot-band__label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--water-deep);
}
.ballot-band__cta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--water-deep);
  text-decoration: none;
  padding: 6px 14px;
  background: rgba(9, 54, 66, 0.08);
  border-radius: 999px;
  transition: background 0.2s;
}
.ballot-band__cta:hover {
  background: rgba(9, 54, 66, 0.18);
}
@media (max-width: 540px) {
  .ballot-band__inner {
    padding: 8px 16px;
    gap: 10px;
  }
  .ballot-band__label { font-size: 0.75rem; }
  .ballot-band__cta { font-size: 0.85rem; padding: 5px 12px; }
}

/* Hub hero — quiet editorial opener */
.hub-hero {
  background: var(--sand, #f5efe0);
  padding: 96px 0 64px;
}
@media (max-width: 780px) {
  .hub-hero { padding: 56px 0 40px; }
}

.hub-hero__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--water-teal);
  margin-bottom: 24px;
}
.hub-hero__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 1.05;
  color: var(--water-deep);
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}
.hub-hero__title em {
  font-style: italic;
  color: var(--water-teal);
}
.hub-hero__sub {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink, #28251d);
  max-width: 720px;
  margin: 0 0 24px;
}
.hub-hero__by {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-muted, #7a7974);
  max-width: 720px;
  margin: 0;
}
.hub-hero__by a {
  color: var(--water-teal);
  text-decoration: underline;
  text-decoration-color: rgba(22, 118, 132, 0.3);
  text-underline-offset: 2px;
}
.hub-hero__by a:hover {
  text-decoration-color: var(--water-teal);
}
@media (max-width: 780px) {
  .hub-hero__sub { font-size: 1.05rem; }
}

/* Pillars — 4 large tiles */
.hub-pillars-section {
  background: var(--sand, #f5efe0);
  padding: 32px 0 96px;
}
@media (max-width: 780px) {
  .hub-pillars-section { padding: 24px 0 64px; }
}

.hub-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 780px) {
  .hub-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.hub-pillar {
  display: block;
  padding: 40px 36px;
  background: #fff;
  border: 1px solid rgba(9, 54, 66, 0.10);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease-out, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.hub-pillar:hover {
  transform: translateY(-2px);
  border-color: var(--water-teal);
  box-shadow: 0 12px 32px -12px rgba(9, 54, 66, 0.15);
}
.hub-pillar__num {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--water-teal);
  margin-bottom: 16px;
}
.hub-pillar__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  color: var(--water-deep);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.hub-pillar__body {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink, #28251d);
  margin: 0 0 20px;
}
.hub-pillar__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--water-teal);
}
.hub-pillar:hover .hub-pillar__cta {
  color: var(--water-deep);
}

/* Vote pillar gets a special coral badge to signal ballot urgency */
.hub-pillar--vote {
  background: var(--water-deep);
  color: #f5efe0;
  border-color: var(--water-deep);
}
.hub-pillar--vote:hover {
  border-color: var(--warn-coral);
}
.hub-pillar--vote .hub-pillar__num {
  color: var(--warn-coral);
}
.hub-pillar--vote .hub-pillar__title {
  color: #f5efe0;
}
.hub-pillar--vote .hub-pillar__body {
  color: rgba(245, 239, 224, 0.88);
}
.hub-pillar--vote .hub-pillar__cta {
  color: var(--water-turquoise);
}
.hub-pillar__badge {
  display: inline-block;
  background: var(--warn-coral);
  color: var(--water-deep);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

/* Why this site exists — dark navy editorial section */
.hub-why {
  padding: 96px 0;
}
@media (max-width: 780px) {
  .hub-why { padding: 64px 0; }
}
.hub-why__body {
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(245, 239, 224, 0.88);
  max-width: 720px;
  margin: 0 0 24px;
}
.hub-why__body--emphasis {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.4;
  color: var(--water-turquoise);
  margin-top: 32px;
}
@media (max-width: 780px) {
  .hub-why__body { font-size: 1rem; }
  .hub-why__body--emphasis { font-size: 1.18rem; }
}

/* Quicknav — a warm-sand grid of pages that already exist */
.hub-quicknav {
  background: #fbfaf5;
  padding: 96px 0;
}
@media (max-width: 780px) {
  .hub-quicknav { padding: 64px 0; }
}
.hub-quicknav__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .hub-quicknav__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .hub-quicknav__grid { grid-template-columns: 1fr; }
}
.hub-quicknav__item {
  display: block;
  padding: 24px 24px;
  background: #fff;
  border: 1px solid rgba(9, 54, 66, 0.08);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.hub-quicknav__item:hover {
  border-color: var(--water-teal);
  transform: translateY(-1px);
}
.hub-quicknav__item--vote {
  background: var(--water-deep);
  border-color: var(--water-deep);
}
.hub-quicknav__item--vote:hover {
  border-color: var(--warn-coral);
}
.hub-quicknav__item--vote .hub-quicknav__title,
.hub-quicknav__item--vote .hub-quicknav__body {
  color: #f5efe0;
}
.hub-quicknav__item--vote .hub-quicknav__body {
  color: rgba(245, 239, 224, 0.82);
}
.hub-quicknav__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--water-teal);
  margin-bottom: 12px;
}
.hub-quicknav__item--vote .hub-quicknav__tag {
  color: var(--warn-coral);
}
.hub-quicknav__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.32rem;
  line-height: 1.2;
  color: var(--water-deep);
  margin: 0 0 8px;
}
.hub-quicknav__body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
}

/* ===================================================================
   PROSE CONTENT — for /learn/*, /story/*, /act/ pages
   =================================================================== */
.prose-content {
  max-width: 720px;
  margin: 0 auto;
}
.prose-content h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  color: var(--water-deep);
  margin: 48px 0 20px;
  letter-spacing: -0.005em;
}
.prose-content h2:first-child {
  margin-top: 0;
}
.prose-content h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--water-deep);
  margin: 36px 0 14px;
}
.prose-content p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink, #28251d);
  margin: 0 0 20px;
}
.prose-content p strong {
  color: var(--water-deep);
  font-weight: 700;
}
.prose-content ul, .prose-content ol {
  margin: 0 0 24px 0;
  padding: 0 0 0 24px;
}
.prose-content li {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink, #28251d);
  margin-bottom: 10px;
  padding-left: 4px;
}
.prose-content li strong {
  color: var(--water-deep);
  font-weight: 700;
}
.prose-content a {
  color: var(--water-teal);
  text-decoration: underline;
  text-decoration-color: rgba(22, 118, 132, 0.35);
  text-underline-offset: 2px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.prose-content a:hover {
  color: var(--water-deep);
  text-decoration-color: var(--water-teal);
}
@media (max-width: 780px) {
  .prose-content p, .prose-content li {
    font-size: 1rem;
  }
  .prose-content h2 {
    margin: 36px 0 16px;
  }
}

/* Page hero shared across pillar pages */
.page-hero {
  background: var(--sand, #f5efe0);
  padding: 72px 0 48px;
}
.page-hero.page-hero--deep {
  background: linear-gradient(180deg, #093642 0%, #082530 100%);
  color: #fff;
}
.page-hero__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--water-teal);
  margin-bottom: 20px;
}
.page-hero__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  line-height: 1.1;
  color: var(--water-deep);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.page-hero__title em {
  font-style: italic;
  color: var(--water-teal);
}
.page-hero__sub {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink, #28251d);
  max-width: 720px;
  margin: 0;
}
@media (max-width: 780px) {
  .page-hero { padding: 48px 0 32px; }
  .page-hero__sub { font-size: 1.02rem; }
}

/* ===================================================================
   CALCULATOR V2 — Two visibly independent halves
   =================================================================== */

.calc.calc--v2 {
  display: block;
  padding: 0;
}

.calc-half {
  padding: 32px 28px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid rgba(9, 54, 66, 0.10);
  border-radius: 12px;
}
@media (max-width: 780px) {
  .calc-half {
    padding: 24px 20px;
  }
}

.calc-half--cost {
  background: rgba(1, 105, 111, 0.04);
  border-color: rgba(1, 105, 111, 0.18);
}
.calc-half--benefit {
  background: #fff;
  border-color: rgba(9, 54, 66, 0.12);
}

.calc-half__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(9, 54, 66, 0.08);
}
.calc-half__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--water-teal);
  color: #fff;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}
.calc-half--benefit .calc-half__letter {
  background: var(--water-deep);
}
.calc-half__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.2;
  color: var(--water-deep);
  margin: 0;
}
.calc-half__note {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-muted, #7a7974);
  margin: 12px 0 0;
}
.calc-half__note strong {
  color: var(--water-deep);
  font-weight: 700;
}
.calc-half__note a {
  color: var(--water-teal);
  text-decoration: underline;
  text-decoration-color: rgba(22, 118, 132, 0.35);
  text-underline-offset: 2px;
}
.calc-half__note a:hover {
  color: var(--water-deep);
}

/* Chip preset buttons */
.calc__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}
.calc__chip {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(9, 54, 66, 0.18);
  color: var(--ink, #28251d);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  min-height: 36px;
}
.calc__chip:hover {
  border-color: var(--water-teal);
  color: var(--water-deep);
}
.calc__chip.is-active {
  background: var(--water-teal);
  border-color: var(--water-teal);
  color: #fff;
}
@media (max-width: 480px) {
  .calc__chip {
    font-size: 0.78rem;
    padding: 7px 10px;
  }
}

/* Cost result — smaller, more restrained than benefit */
.calc__result-row--cost {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0 4px;
  gap: 14px;
  flex-wrap: wrap;
}
.calc__result-value--cost {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  color: var(--water-deep);
  line-height: 1;
  font-weight: 700;
}

/* ===================================================================
   HUB DIPTYCH — IRIS two-futures header on resource hub root
   =================================================================== */

.hub-diptych {
  background: var(--water-deep);
  padding: 0 0 32px;
}
.hub-diptych__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;  /* thin dark line between the two futures */
  background: var(--water-deep);
}
@media (max-width: 780px) {
  .hub-diptych__grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

.hub-diptych__panel {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
@media (max-width: 780px) {
  .hub-diptych__panel {
    aspect-ratio: 16 / 9;
  }
}

.hub-diptych__panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hub-diptych__panel figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  padding: 0;
  margin: 0;
}
@media (max-width: 780px) {
  .hub-diptych__panel figcaption {
    left: 14px;
    bottom: 14px;
  }
}

.hub-diptych__label {
  display: inline-block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.75rem);
  line-height: 1.1;
  padding: 8px 14px 10px;
  border-radius: 4px;
  color: #f5efe0;
  background: rgba(9, 54, 66, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  letter-spacing: -0.005em;
}
.hub-diptych__panel--dead .hub-diptych__label {
  color: var(--warn-coral);
  background: rgba(9, 54, 66, 0.78);
}
.hub-diptych__panel--alive .hub-diptych__label {
  color: var(--water-turquoise);
  background: rgba(9, 54, 66, 0.72);
}

.hub-diptych__caption {
  max-width: 900px;
  margin: 20px auto 0;
  padding: 0 24px;
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.5;
  color: rgba(245, 239, 224, 0.65);
  text-align: center;
}
.hub-diptych__caption a {
  color: rgba(245, 239, 224, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(245, 239, 224, 0.35);
  text-underline-offset: 2px;
}
.hub-diptych__caption a:hover {
  color: var(--water-turquoise);
}
@media (max-width: 780px) {
  .hub-diptych__caption {
    font-size: 0.82rem;
    padding: 0 20px;
  }
}

/* ===================================================================
   Homepage re-architecture (2026-07-24 Release 02)
   6-beat arc components: hero photo, stat rows, loss/recovery cards,
   partners grid, action grid.
   =================================================================== */

/* Hero photo (real lagoon photo, not IRIS render) */
.hero--photo {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero--photo .hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero--photo .hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9,54,66,0.85) 0%,
    rgba(9,54,66,0.55) 40%,
    rgba(9,54,66,0.20) 70%,
    rgba(9,54,66,0.10) 100%
  );
  z-index: 1;
}
.hero--photo .hero__content {
  position: relative;
  z-index: 2;
  padding: 64px var(--space-6) 80px;
  color: #fff;
}
@media (max-width: 780px) {
  .hero--photo .hero__content { padding: 48px 20px 64px; }
}
.hero--photo .hero__eyebrow {
  color: #6cc7ce;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}
.hero--photo .hero__title {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 24px;
  font-weight: 700;
}
.hero--photo .hero__title em {
  color: #6cc7ce;
  font-style: normal;
}
.hero--photo .hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  max-width: 62ch;
}

/* Stat row (beat 1) */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0 24px;
}
@media (max-width: 780px) {
  .stat-row { grid-template-columns: 1fr; gap: 24px; }
}
.stat {
  padding: 24px;
  background: rgba(9,54,66,0.04);
  border-radius: 8px;
}
.stat__num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--deep-teal, #093642);
  line-height: 1.05;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink, #28251d);
  margin-bottom: 12px;
}
.stat__source {
  font-size: 0.8rem;
  color: var(--ink-muted, #7a7974);
}
.stat__source a { color: inherit; text-decoration: underline; text-decoration-color: rgba(122,121,116,0.4); }

/* Loss grid (beat 2) */
.loss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .loss-grid { grid-template-columns: 1fr; gap: 24px; }
}
.loss-card {
  padding: 28px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(9,54,66,0.10);
}
.loss-card__num {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--deep-teal, #093642);
  line-height: 1.05;
  margin-bottom: 10px;
}
.loss-card__label { font-size: 0.98rem; line-height: 1.55; color: var(--ink, #28251d); margin-bottom: 12px; }
.loss-card__source { font-size: 0.8rem; color: var(--ink-muted, #7a7974); }
.loss-card__source a { color: inherit; text-decoration: underline; }

/* Recovery grid (beat 4) */
.recovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .recovery-grid { grid-template-columns: 1fr; gap: 24px; }
}
.recovery-card {
  padding: 28px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(9,54,66,0.10);
}
.recovery-card h3 { font-size: 1.15rem; margin: 0 0 12px; color: var(--deep-teal, #093642); font-weight: 700; }
.recovery-card p { font-size: 0.98rem; line-height: 1.55; margin: 0 0 12px; color: var(--ink, #28251d); }
.recovery-card__source { font-size: 0.8rem; color: var(--ink-muted, #7a7974); margin-top: 12px; }
.recovery-card__source a { color: inherit; text-decoration: underline; }

/* Partners grid (beat 5) */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 780px) {
  .partners-grid { grid-template-columns: 1fr; gap: 24px; }
}
.partner-card {
  padding: 28px;
  background: rgba(9,54,66,0.03);
  border-radius: 8px;
}
.partner-card h3 { font-size: 1.15rem; margin: 0 0 16px; color: var(--deep-teal, #093642); font-weight: 700; }
.partner-card ul { margin: 0; padding-left: 20px; }
.partner-card li { font-size: 0.95rem; line-height: 1.55; margin-bottom: 10px; color: var(--ink, #28251d); }

/* Action grid (beat 6) */
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .action-grid { grid-template-columns: 1fr; gap: 20px; }
}
.action-card {
  display: block;
  padding: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: background 0.2s ease;
}
.action-card:hover { background: rgba(255,255,255,0.10); }
.action-card__num {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #6cc7ce;
  margin-bottom: 12px;
}
.action-card h3 { font-size: 1.15rem; margin: 0 0 12px; color: #fff; font-weight: 700; }
.action-card p { font-size: 0.95rem; line-height: 1.55; margin: 0; color: rgba(255,255,255,0.85); }
.action-card p a { color: #6cc7ce; text-decoration: underline; }

/* Section image (beat 2 dystopian scene inline) */
.section__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 32px;
}
.image-caption {
  font-size: 0.85rem;
  color: var(--ink-muted, #7a7974);
  font-style: italic;
  margin-top: 12px;
  max-width: 66ch;
}

/* Concept-illustration figure: eyebrow label + image with overlay tag + full caption.
   Used on the homepage WALL·E-inspired scenario image. Designed so the disclosure travels
   with the image if it is screenshotted or shared out of context. */
.image-caption--eyebrow {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 0.95rem;
  font-style: normal;
  letter-spacing: 0.5px;
  color: var(--terra, #a84b2f);
  margin: 24px 0 4px;
  text-transform: none;
  max-width: 66ch;
}
.scenario-figure {
  margin: 12px 0 0;
  padding: 0;
}
.scenario-figure__wrap {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.scenario-figure__wrap .section__image {
  margin-top: 0;
  border-radius: 8px;
  display: block;
}
.scenario-figure__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: rgba(9, 54, 66, 0.85);
  color: #f7f6f2;
  font-family: 'JetBrains Mono', 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  letter-spacing: 1.2px;
  border-radius: 4px;
  border: 1px solid rgba(247, 246, 242, 0.15);
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}
@media (max-width: 640px) {
  .scenario-figure__tag {
    top: 8px;
    left: 8px;
    padding: 4px 7px;
    font-size: 0.5625rem;
    letter-spacing: 1px;
  }
}
.scenario-figure .image-caption {
  margin-top: 16px;
}

/* Softened nav ballot CTA (post-Release 02) — replaces the red persuasion pill with a text link */
.nav__quiet-cta {
  color: var(--deep-teal, #093642) !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  background: transparent !important;
  border: 1px solid rgba(9,54,66,0.20) !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
}
.nav__quiet-cta:hover {
  background: rgba(9,54,66,0.06) !important;
  border-color: rgba(9,54,66,0.35) !important;
}

/* ===================================================================
   Video embed component (Release 03 — 2026-07-24)
   Responsive 16:9 YouTube iframe with caption + credit.
   =================================================================== */
.video-embed {
  margin: 32px 0 40px;
  max-width: 100%;
}
.video-embed__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #093642;
  border-radius: 8px;
  overflow: hidden;
}
.video-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 16px 0 6px;
  color: var(--deep-teal, #093642);
  line-height: 1.35;
}
.video-embed__caption {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink, #28251d);
  margin: 0 0 8px;
}
.video-embed__credit {
  font-size: 0.82rem;
  color: var(--ink-muted, #7a7974);
  font-style: italic;
}
.video-embed__credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(122,121,116,0.4);
}
.video-embed--on-dark .video-embed__title { color: #fff; }
.video-embed--on-dark .video-embed__caption { color: rgba(255,255,255,0.9); }
.video-embed--on-dark .video-embed__credit { color: rgba(255,255,255,0.65); }

/* Video grid for pages with multiple embeds */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 40px 0;
}
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===================================================================
   Chart wrapper (Release 04 — 2026-07-24)
   =================================================================== */
.chart-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 380px;
  margin: 32px 0 24px;
  padding: 16px 8px 8px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(9,54,66,0.08);
}
@media (max-width: 780px) {
  .chart-wrap { height: 320px; padding: 12px 4px 4px; }
}

/* ===================================================================
   Mobile side-margin fix (Release 04.1 — 2026-07-24)
   Bump horizontal breathing room on narrow screens so content is not
   flush against the phone edge.
   =================================================================== */
@media (max-width: 780px) {
  .container,
  .container-narrow {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 480px) {
  .container,
  .container-narrow {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Chart data table fallback (accessibility) */
.chart-data-table {
  margin: 8px 0 24px;
  font-size: 0.92rem;
}
.chart-data-table summary {
  cursor: pointer;
  color: var(--deep-teal, #093642);
  font-weight: 600;
  padding: 6px 0;
  user-select: none;
}
.chart-data-table summary:hover { color: var(--water-turquoise, #6cc7ce); }
.chart-data-table table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.chart-data-table caption {
  text-align: left;
  padding: 12px 14px 0;
  font-size: 0.85rem;
  color: var(--ink-muted, #7a7974);
  font-style: italic;
}
.chart-data-table th,
.chart-data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(9,54,66,0.08);
  text-align: left;
}
.chart-data-table thead th {
  background: rgba(9,54,66,0.04);
  font-weight: 700;
  color: var(--deep-teal, #093642);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.chart-data-table tbody th { font-weight: 600; }

/* Bowen Aquarium site-plan diagram (Release 05 — 2026-07-24) */
.bowen-plan {
  margin: 32px 0 40px;
  padding: 4px;
  background: linear-gradient(180deg, rgba(108,199,206,0.10) 0%, rgba(9,54,66,0.35) 100%);
  border-radius: 12px;
}
.bowen-plan__inner {
  padding: 24px;
  background: rgba(9,54,66,0.85);
  border-radius: 10px;
}
.bowen-plan__title {
  color: #6cc7ce;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
}
.bowen-plan__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 780px) {
  .bowen-plan__grid { grid-template-columns: 1fr; gap: 10px; }
}
.bowen-plan__cell {
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bowen-plan__cell--water {
  background: rgba(108,199,206,0.20);
  grid-column: 1 / -1;
}
.bowen-plan__cell--hero {
  background: rgba(108,199,206,0.16);
  border: 1px solid rgba(108,199,206,0.35);
}
.bowen-plan__label {
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.bowen-plan__note {
  color: rgba(255,255,255,0.78);
  font-size: 0.85rem;
  line-height: 1.4;
}
.bowen-plan__caption {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  text-align: center;
  margin-top: 8px;
}

/* Civic band — sober, trust-first ballot notice under hero (Release 05) */
.civic-band {
  background: rgba(9,54,66,0.06);
  border-top: 1px solid rgba(9,54,66,0.10);
  border-bottom: 1px solid rgba(9,54,66,0.10);
  padding: 20px 0;
}
.civic-band .container-narrow {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.civic-band__body {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink, #28251d);
  margin: 0;
  max-width: 62ch;
}
.civic-band__link {
  color: var(--deep-teal, #093642);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 16px;
  border: 1px solid rgba(9,54,66,0.25);
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.civic-band__link:hover {
  background: rgba(9,54,66,0.06);
  border-color: rgba(9,54,66,0.45);
}
@media (max-width: 780px) {
  .civic-band .container-narrow { gap: 14px; }
  .civic-band__body { font-size: 0.94rem; }
}

/* Current-issue breadcrumb (Release 05 — factual, no CTA verb) */
.issue-breadcrumb {
  padding: 20px 0;
  background: transparent;
  border-top: 1px solid rgba(9,54,66,0.10);
  border-bottom: 1px solid rgba(9,54,66,0.10);
}
.issue-breadcrumb p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-muted, #7a7974);
  margin: 0;
  text-align: center;
}
.issue-breadcrumb strong { color: var(--ink, #28251d); }
.issue-breadcrumb a {
  color: var(--deep-teal, #093642);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(9,54,66,0.35);
  text-underline-offset: 2px;
}
.issue-breadcrumb a:hover {
  color: var(--water-turquoise, #6cc7ce);
}

/* Bowen editorial figure */
.bowen-figure {
  margin: 32px 0 24px;
}
.bowen-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.30);
}
.bowen-figure figcaption {
  color: rgba(255,255,255,0.65);
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 12px;
  padding: 0 4px;
}
.bowen-figure figcaption a { color: #6cc7ce; text-decoration: underline; }

/* Beat 5 partners figure */
.beat5-figure {
  margin: 32px 0 40px;
}
.beat5-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.beat5-figure figcaption {
  color: var(--ink-muted, #7a7974);
  font-style: italic;
  font-size: 0.87rem;
  line-height: 1.5;
  margin-top: 10px;
}

/* =====================================================================
   RC2 A3 ACCESSIBILITY CONTRAST OVERRIDES — 2026-07-26
   Targeted fixes for the 6 axe-flagged color-contrast failures on /vote/
   and /vote/how/. Each override is documented with the failure context
   and the resulting contrast ratio on the intended background.
   ===================================================================== */

/* Fail #1: teal link inside .scale-card__body (dark navy bg #164652).
   Was #155e6a → 1.39:1. Now uses on-dark teal for 6.25:1. */
.scale-card__body a,
.scale-card__body a:visited {
  color: var(--water-teal-on-dark);
}

/* Fail #2/#3: any link and any source-text inside .collapse-smell (dark navy #23474f).
   Was #155e6a link → 1.36:1; source-text rgba(255,255,255,0.55) → ~4.28:1 due to !important
   on the original. Overrides use on-dark teal for links (6.09:1) and increase source-text
   alpha to 0.72 → 6.14:1 (AA). */
.collapse-smell a,
.collapse-smell a:visited,
.collapse-smell__source a,
.collapse-smell__source a:visited {
  color: var(--water-teal-on-dark) !important;
}
.collapse-smell__source {
  color: rgba(255,255,255,0.78) !important;
}

/* Fail #4: .collapse-card__stamp--now white text on seagrass #3d8b3d.
   Was 4.23:1. Darkened background to #2f6b2f → 6.43:1 (AA). */
.collapse-card__stamp--now {
  background: #2f6b2f;
}

/* Fail #5: .scale-card__source body text on #164652.
   Was #869b99 → 3.52:1. Brightened to #b6c4c1 → 5.74:1 (AA). */
.scale-card__source {
  color: #b6c4c1;
}
.scale-card__source a,
.scale-card__source a:visited {
  color: #d0dcd9;
}

/* Fail #6: #calc-premium (--warn-coral #ff9d7a) on white body.
   Was 2.02:1. Use light-context urgency red for 5.66:1 (AA large text). */
#calc-premium {
  color: var(--warn-coral-on-light);
}

/* Fail #7: .calc__source (--ink-faint #8ea0a9) on white body.
   Was 2.70:1. Use light-context muted for 7.16:1 (AAA). */
.calc__source {
  color: var(--ink-muted-on-light);
}

/* ============================================================================
   EVIDENCE TABLE — used on /learn/managing-invasive-aquatic-plants/
   Decision-matrix table for aquatic plant management tools.
   Added 2026-07-29.
   ============================================================================ */

.evidence-table-wrap {
  margin: 32px 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.evidence-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  background: #ffffff;
}

.evidence-table thead th {
  background: var(--water-deep);
  color: #ffffff;
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--water-deep);
}

.evidence-table tbody th {
  background: rgba(9, 54, 66, 0.04);
  color: var(--water-deep);
  text-align: left;
  padding: 14px;
  font-weight: 600;
  vertical-align: top;
  border-bottom: 1px solid rgba(9, 54, 66, 0.10);
  min-width: 11rem;
}

.evidence-table tbody td {
  padding: 14px;
  vertical-align: top;
  border-bottom: 1px solid rgba(9, 54, 66, 0.10);
}

.evidence-table tbody tr:last-child th,
.evidence-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 720px) {
  .evidence-table {
    font-size: 0.9rem;
  }
  .evidence-table thead th,
  .evidence-table tbody th,
  .evidence-table tbody td {
    padding: 10px 12px;
  }
}

/* ============================================================================
   ONE-MINUTE SUMMARY BOX — used on /learn/managing-invasive-aquatic-plants/
   Highlighted takeaway box for readers who won't finish the full article.
   Added 2026-07-29.
   ============================================================================ */

.summary-box {
  background: rgba(1, 105, 111, 0.06);
  border-left: 4px solid var(--water-teal);
  border-radius: 6px;
  padding: 24px 28px 20px;
  margin: 32px 0 40px;
}

.summary-box__label {
  font-family: var(--font-display, inherit);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--water-teal);
  margin: 0 0 12px;
}

.summary-box ul {
  margin: 0;
  padding-left: 1.15rem;
}

.summary-box ul li {
  margin: 0 0 8px;
  line-height: 1.55;
  color: var(--ink);
}

.summary-box ul li:last-child {
  margin-bottom: 0;
}

/* ============================================================================
   DECISION FLOW — used on /learn/managing-invasive-aquatic-plants/
   Simple text-based decision tree, readable on mobile without SVG.
   Added 2026-07-29.
   ============================================================================ */

.decision-flow {
  margin: 28px 0 40px;
  padding: 24px 28px;
  background: #ffffff;
  border: 1px solid rgba(9, 54, 66, 0.14);
  border-radius: 8px;
}

.decision-flow__step {
  margin: 0;
  padding: 12px 18px;
  border-radius: 6px;
  background: rgba(1, 105, 111, 0.05);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
}

.decision-flow__question {
  font-weight: 600;
  color: var(--water-deep);
}

.decision-flow__arrow {
  display: block;
  text-align: center;
  color: var(--water-teal);
  font-weight: 700;
  margin: 6px 0;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.decision-flow__answer {
  color: var(--ink-muted);
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 4px;
}

.prose-content .decision-flow__outcome,
.decision-flow__outcome {
  margin: 0;
  padding: 14px 18px;
  border-radius: 6px;
  background: var(--water-deep);
  color: #ffffff !important;
  font-weight: 600;
  line-height: 1.5;
}

.decision-flow__note {
  margin: 20px 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.55;
  font-style: italic;
}

/* ============================================================================
   EVIDENCE CROSS-LINK STYLES (added 2026-07-30 per Laurilee Thompson feedback)
   Voter site → evidence.lagoonfacts.com sister site
   ============================================================================ */

/* Top-nav "Evidence ↗" external link — same base as .nav a, subtle icon */
.nav__evidence-external {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.nav__evidence-external .nav__ext {
  font-size: 0.72em;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.nav__evidence-external:hover .nav__ext { opacity: 1; }

/* Evidence invitation strip below hero */
.evidence-strip {
  background: #f4f9fa;
}
.evidence-strip a:hover {
  color: #0f5a5f !important;
  border-bottom-color: #167684 !important;
}

/* btn--secondary — outlined variant for evidence CTA */
.btn--secondary {
  background: transparent;
  color: var(--water-teal, #167684);
  border: 2px solid var(--water-teal, #167684);
}
.btn--secondary:hover,
.btn--secondary:focus {
  background: var(--water-teal, #167684);
  color: #ffffff;
}
/* Deep-dive cross-link block — added 2026-07-30, voter-site v4.
   Sits at the end of each topic page. Same visual language as the
   footer "For Scientists & the Curious" column but larger and more
   invitational. Not shouty. Reads like a footnote, not a CTA. */
.deep-dive {
  background: #f4f9fa;
  border-top: 1px solid #d9e7e8;
  border-bottom: 1px solid #d9e7e8;
  padding: 40px 20px 44px;
  margin-top: 48px;
}
.deep-dive__inner {
  max-width: 780px;
  margin: 0 auto;
}
.deep-dive__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #167684;
  margin: 0 0 10px;
}
.deep-dive__heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #1e3f45;
  margin: 0 0 12px;
}
.deep-dive__lede {
  font-size: 1rem;
  line-height: 1.6;
  color: #1e3f45;
  margin: 0 0 20px;
  max-width: 62ch;
}
.deep-dive__list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.deep-dive__list li {
  padding: 12px 0;
  border-bottom: 1px solid #dfeaeb;
}
.deep-dive__list li:last-child { border-bottom: 0; }
.deep-dive__list a {
  color: #167684;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.deep-dive__list a:hover {
  color: #0f5a5f;
  text-decoration: underline;
}
.deep-dive__list a::after {
  content: '\2197';
  font-size: 0.8em;
  opacity: 0.6;
}
.deep-dive__list .deep-dive__label {
  display: block;
  font-size: 0.88rem;
  font-weight: 400;
  color: #4a6266;
  margin-top: 2px;
}
.deep-dive__pointer {
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: #4a6266;
  font-style: italic;
}
.deep-dive__pointer a {
  color: #167684;
  font-weight: 600;
  font-style: normal;
}
@media (max-width: 640px) {
  .deep-dive { padding: 32px 16px 36px; margin-top: 36px; }
  .deep-dive__heading { font-size: 1.25rem; }
  .deep-dive__lede { font-size: 0.95rem; }
}

/* ============================================================================
   HOMEPAGE 3.0 MOBILE FIXES (added 2026-07-31 evening)
   - Prevent hero H1 from wrapping badly on iPhone
   - Ensure metric-tile has proper stacking without nested-<a> ghost boxes
   ============================================================================ */
@media (max-width: 640px) {
  .hero-3 { padding: 56px 20px 40px !important; }
  .hero-3__title { font-size: 1.85rem !important; line-height: 1.15 !important; }
  .hero-3__trilogy { font-size: 1.1rem !important; margin: 0 0 16px !important; }
  .hero-3__lede { font-size: 1rem !important; }
  .hero-3__eyebrow { font-size: 0.72rem !important; }
  .hero-3__renewal-tag { font-size: 0.98rem !important; }
  .metric-strip-3 { padding: 32px 16px !important; }
  .metric-tile p:nth-child(2) { font-size: 1.7rem !important; }
}

/* Metric-tile: guarantee no ghost box appears (nested-a browser fallback) */
.metric-tile p { pointer-events: auto; }
.metric-tile { position: relative; }

/* ===================================================================
   Self-hosted video inside the lf-media figure system (2026-08-07)
   Extends the existing figure.lf-media component to native <video>.
   4:3 source is preserved — not stretched to 16:9.
   =================================================================== */
figure.lf-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #093642;
}
figure.lf-media .lf-media__transcript {
  margin-top: 10px;
  font-size: 0.86rem;
}
figure.lf-media .lf-media__transcript summary {
  cursor: pointer;
  color: #0d5c6b;
  font-weight: 600;
}
figure.lf-media .lf-media__transcript blockquote {
  margin: 10px 0 0;
  padding-left: 14px;
  border-left: 3px solid #d9e7e8;
  color: #28251d;
  line-height: 1.6;
}
figure.lf-media .lf-media__unmute {
  position: absolute;
  left: 12px;
  bottom: 52px;
  padding: 7px 14px;
  font: 600 0.78rem/1 inherit;
  color: #08262c;
  background: rgba(255,255,255,0.93);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.28);
}
figure.lf-media .lf-media__unmute:hover { background: #fff; }
figure.lf-media .lf-media__unmute[hidden] { display: none; }

/* ============================================
   Aug 12 Addendum — Share This Fact + Want to Help
   ============================================ */
.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(18,34,42,0.12);
}
.share-row__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4a5d64;
  margin-right: 4px;
}
.share-row__btn {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #cec9bd;
  background: #fff;
  color: #093642;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.share-row__btn:hover,
.share-row__btn:focus-visible {
  background: #f2b23a;
  border-color: #f2b23a;
  color: #12222a;
}

.want-to-help {
  margin: 40px 0;
  padding: 24px;
  background: #eef4f2;
  border: 1px solid #cfe0db;
  border-radius: 12px;
}
.want-to-help h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: #093642;
}
.want-to-help p {
  margin: 0 0 14px 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #345057;
}
.want-to-help__cta {
  display: inline-block;
  background: #093642;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 20px;
  border-radius: 8px;
}
.want-to-help__cta:hover,
.want-to-help__cta:focus-visible {
  background: #0f4d5c;
}
.want-to-help__note {
  margin-top: 10px;
  font-size: 0.75rem;
  color: #5c7178;
}
.want-to-help__external-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a5a1e;
  background: #fbe9c9;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
