/* ============================================================
   SUST?GOLF — Golfing for Change
   Three visual directions: Linen / Nightfall / Meadow
   ============================================================ */

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   THEME: LINEN (default) — warm editorial cream
   ============================================================ */
:root, [data-theme="linen"] {
  --bg: #ede4cf;
  --bg-alt: #e3d8bd;
  --bg-deep: #1f2a1c;
  --paper: #f4eddb;
  --ink: #1c2a1c;
  --ink-soft: #4a5443;
  --ink-muted: #847c63;
  --accent: #8a5a2b;
  --accent-2: #4a6b3a;
  --line: rgba(28, 42, 28, 0.18);
  --line-soft: rgba(28, 42, 28, 0.08);
  --grain-color: rgba(28, 42, 28, 0.04);

  --font-display: "Big Shoulders Display", "Antonio", sans-serif;
  --font-body: "Lora", "Source Serif 4", Georgia, serif;
  --font-meta: "IBM Plex Mono", "Courier New", monospace;

  --display-weight: 600;
  --display-tracking: 0.01em;
  --body-weight: 400;

  --photo-overlay: linear-gradient(180deg, rgba(28,42,28,0) 40%, rgba(28,42,28,0.75) 100%);
}

/* ============================================================
   GLOBAL TYPE & ELEMENTS
   ============================================================ */
.eyebrow {
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 0.92;
  text-transform: uppercase;
}
.serif { font-family: var(--font-body); }

/* Grain overlay on body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.4;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   TOP NAV
   ============================================================ */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-sub {
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-link {
  position: relative;
  padding: 10px 18px;
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  cursor: pointer;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 18px; right: 18px;
  height: 1px;
  background: var(--ink);
}
.nav-link-num {
  font-size: 10px;
  opacity: 0.6;
  margin-right: 6px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: color-mix(in srgb, var(--paper) 60%, transparent);
}
.lang-btn {
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn.active {
  background: var(--ink);
  color: var(--bg);
}

/* ============================================================
   PAGE CONTAINER & TRANSITIONS
   ============================================================ */
.page-container {
  position: relative;
  z-index: 2;
}
.page {
  display: none;
  min-height: 100vh;
  padding-top: 72px;
  position: relative;
}
.page:not(.active) { display: none !important; }
.page.active {
  display: block;
  animation: fadeIn 0.6s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   HOME PAGE
   ============================================================ */
.home {
  display: flex;
  flex-direction: column;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  padding: 80px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-top {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.hero-meta {
  display: flex;
  gap: 32px;
  align-items: center;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-item .label {
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-meta-item .value {
  font-family: var(--font-meta);
  font-size: 12px;
  color: var(--ink-soft);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(72px, 9vw, 160px);
  line-height: 0.86;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.hero-title .accent {
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  display: block;
  font-size: clamp(20px, 1.6vw, 30px);
  line-height: 1.2;
  margin-top: 18px;
  white-space: nowrap;
}

.hero-lede {
  max-width: 540px;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 60px;
}
.hero-bottom-text {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  max-width: 280px;
  line-height: 1.6;
}

.hero-image {
  position: relative;
  background: var(--bg-deep);
  overflow: hidden;
}
.hero-image .photo-placeholder {
  position: absolute;
  inset: 0;
}

/* Stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 60px 40px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 88px;
  line-height: 0.9;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.stat-num .unit {
  font-size: 24px;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0;
}
.stat-label {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 220px;
}
.stat-eyebrow {
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

/* Intro section */
.intro-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding: 100px 80px;
  border-bottom: 1px solid var(--line);
}
.intro-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 56px;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--ink);
}
.intro-meta {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.intro-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.intro-right p {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
}
.intro-right p.dropcap::first-letter {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 76px;
  line-height: 0.85;
  float: left;
  margin: 4px 12px 0 0;
  color: var(--accent);
}
.intro-right p.lede {
  font-size: 24px;
  color: var(--ink);
}

/* Section nav cards */
.section-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.section-card {
  padding: 60px 50px;
  border-right: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.section-card:last-child { border-right: none; }
.section-card:hover { background: var(--bg-alt); }
.section-card-num {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.section-card-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 44px;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 24px;
}
.section-card-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 16px;
}
.section-card-arrow {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-card-arrow .arrow { transition: transform 0.3s ease; }
.section-card:hover .arrow { transform: translateX(6px); }

/* Footer */
.site-footer {
  padding: 60px 80px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: var(--display-tracking);
  line-height: 1;
}
.footer-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 480px;
  line-height: 1.6;
}
.footer-meta {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
  line-height: 1.8;
}

/* ============================================================
   REPORT PAGE
   ============================================================ */
.report-hero {
  padding: 80px 80px 60px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: end;
}
.report-hero-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.report-hero-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 88px;
  line-height: 0.9;
  text-transform: uppercase;
}
.report-hero-lede {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
}

.report-section {
  padding: 80px 80px;
  border-bottom: 1px solid var(--line);
}
.report-section.bg-alt { background: var(--bg-alt); }
.report-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  max-width: 1600px;
}
.report-label {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.report-label .num {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
}
.report-label .title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 36px;
  line-height: 0.95;
  text-transform: uppercase;
}
.report-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.report-content p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
}
.report-content p.lede {
  font-size: 22px;
  color: var(--ink);
}

/* Findings list */
.findings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}
.finding {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.finding-num {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 56px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: var(--display-tracking);
}
.finding-num .unit {
  font-size: 18px;
  color: var(--ink-soft);
  margin-left: 4px;
}
.finding-label {
  margin-top: 12px;
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.finding-desc {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Chart */
.chart-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px;
  position: relative;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 40px;
}
.chart-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 24px;
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
}
.chart-source {
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
  line-height: 1.7;
}
.chart-svg {
  width: 100%;
  height: auto;
}
.chart-legend {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.legend-swatch {
  width: 14px; height: 14px;
  border-radius: 50%;
}

/* ============================================================
   FULL REPORT — Long-form treatment
   ============================================================ */
.fullreport-divider {
  padding: 120px 80px 100px;
  background: var(--bg-deep);
  color: var(--paper);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: end;
}
.fullreport-divider .fr-eyebrow {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.fullreport-divider .fr-eyebrow::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--accent);
}
.fullreport-divider .fr-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(72px, 9vw, 140px);
  line-height: 0.86;
  text-transform: uppercase;
  color: #fff;
  white-space: pre-line;
}
.fullreport-divider .fr-lede {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
}
.fullreport-divider .fr-meta {
  margin-top: 28px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.fullreport-divider .fr-meta strong {
  display: block;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 4px;
}

/* Long-form structural elements inside .report-content */
.report-subhead {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 22px;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 16px;
  margin-bottom: -8px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.report-content p + .report-subhead { margin-top: 24px; }
.report-content ul {
  margin: 4px 0 0 4px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.report-content ul li {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  padding-left: 28px;
  position: relative;
}
.report-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 1px;
  background: var(--accent);
}
.report-content em.term {
  font-style: italic;
  color: var(--accent);
}
.report-content .cite-inline {
  font-family: var(--font-meta);
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* Figure placeholders */
.report-figure {
  margin: 16px 0 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.report-figure-img {
  aspect-ratio: 16/9;
  position: relative;
  background: var(--bg-deep);
  overflow: hidden;
}
.report-figure-img svg {
  width: 100%;
  height: 100%;
  display: block;
}
.report-figure-caption {
  padding: 20px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: baseline;
  border-top: 1px solid var(--line);
}
.report-figure-num {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 28px;
  letter-spacing: var(--display-tracking);
  color: var(--accent);
  line-height: 1;
  white-space: nowrap;
}
.report-figure-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.report-figure-text strong {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

/* Figure pair (two side by side) */
.report-figure-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.report-figure-pair .report-figure { margin: 0; }
@media (max-width: 1100px) {
  .report-figure-pair { grid-template-columns: 1fr; }
}

/* Pull quote inside report-content */
.report-pull {
  margin: 24px -20px;
  padding: 28px 32px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
}
.report-pull cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-meta);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* References */
.report-refs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.report-ref {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.report-ref-num {
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  padding-top: 2px;
}
.report-ref-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.report-ref-body em {
  color: var(--accent);
  font-style: italic;
}
.report-ref-body .ref-url {
  display: block;
  margin-top: 4px;
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  word-break: break-all;
}

/* Theory framework table */
.framework-table {
  margin-top: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.framework-table-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.6fr;
  border-bottom: 1px solid var(--line-soft);
}
.framework-table-row:last-child { border-bottom: none; }
.framework-table-row.head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.framework-table-cell {
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  border-right: 1px solid var(--line-soft);
}
.framework-table-cell:last-child { border-right: none; }
.framework-table-row.head .framework-table-cell {
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.framework-table .principle {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 17px;
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  color: var(--accent);
}

/* Byline above first full-report section */
.report-byline {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
  line-height: 1.7;
}
.report-byline strong { color: var(--ink); font-weight: 500; letter-spacing: 0.08em; }

@media (max-width: 1100px) {
  .fullreport-divider { grid-template-columns: 1fr; padding: 80px 32px 60px; gap: 40px; }
  .framework-table-row { grid-template-columns: 1fr; }
  .framework-table-cell { border-right: none; border-bottom: 1px solid var(--line-soft); }
}

/* Quote block */
.report-quote {
  padding: 100px 80px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--paper);
}
.report-quote blockquote {
  max-width: 1100px;
  font-family: var(--font-body);
  font-size: 38px;
  line-height: 1.3;
  font-style: italic;
  font-weight: 400;
}
.report-quote .quote-mark {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 120px;
  line-height: 0.5;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}
.report-quote cite {
  display: block;
  margin-top: 32px;
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-style: normal;
}

/* ============================================================
   PHOTO STORY (Horizontal cinematic scroll)
   ============================================================ */
.photo-story {
  padding-top: 0;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
/* No horizontal carousel — only one chapter shown at a time, buttons switch */
.story-stage {
  position: absolute;
  top: 72px; left: 0; right: 0; bottom: 0;
}

/* Only one chapter-block is visible at a time. Each fills the stage,
   scrolls vertically: opener at the top, full story flowing below. */
.story-chapter-block {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  display: none;
}
.story-chapter-block::-webkit-scrollbar { display: none; }
.story-chapter-block.active { display: block; }

/* Opener — the first viewport-tall slide inside a block */
.chapter-opener {
  position: relative;
  width: 100%;
  height: calc(100vh - 72px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.chapter-opener .chapter-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.chapter-opener .chapter-overlay {
  position: absolute;
  inset: 0;
  background: var(--photo-overlay);
  z-index: 1;
}

/* Full-story portion below the opener — flows down inside the block */
.chapter-fullstory {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  padding: 0 0 140px;
  border-top: 1px solid var(--line);
}
.chapter-fullstory:first-child { border-top: none; }
.chapter-content {
  position: relative;
  z-index: 2;
  padding: 80px 100px;
  max-width: 760px;
  color: var(--paper);
}
.chapter-num {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chapter-num::before {
  content: "";
  width: 32px; height: 1px;
  background: rgba(255,255,255,0.5);
}
.chapter-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 88px;
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}
.chapter-body {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  max-width: 560px;
}
.chapter-side {
  position: absolute;
  top: 80px;
  right: 100px;
  z-index: 2;
  text-align: right;
  color: #fff;
}
.chapter-side .latin {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.chapter-side .coords {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Story controls */
.story-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  pointer-events: none;
  z-index: 10;
}
.story-nav-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  pointer-events: auto;
  color: #fff;
  transition: all 0.2s ease;
}
.story-nav-btn:hover { background: rgba(0,0,0,0.7); transform: scale(1.05); }
.story-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.story-nav-btn svg { width: 22px; height: 22px; }

/* Progress + audio panel — persistent across the whole story page.
   Progress ticks hide when the active block is scrolled into its full story. */
.story-bottom {
  position: fixed;
  bottom: 24px;
  left: 100px;
  right: 100px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
}
.story-progress {
  display: flex;
  flex: 1;
  gap: 6px;
  max-width: 480px;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.story-bottom.in-fullstory .story-progress,
.story-bottom.in-fullstory .story-counter {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Hide the prev/next chapter arrows when reading the full story */
.photo-story.in-fullstory .story-controls {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.progress-tick {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
}
.progress-tick.active {
  background: rgba(255,255,255,0.95);
}
.progress-tick:hover { background: rgba(255,255,255,0.6); }

.story-counter {
  font-family: var(--font-meta);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
}

.audio-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  color: #fff;
}
.audio-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: grid;
  place-items: center;
  color: #fff;
  transition: all 0.2s ease;
}
.audio-btn:hover { background: rgba(255,255,255,0.25); }
.audio-btn.playing { background: var(--accent); }
.audio-btn svg { width: 14px; height: 14px; }
.audio-label {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.audio-label .name {
  color: rgba(255,255,255,0.95);
}
.audio-label .state {
  color: rgba(255,255,255,0.55);
  font-size: 9px;
}

/* Visual wave indicator */
.audio-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 16px;
  width: 24px;
}
.audio-wave span {
  display: block;
  width: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 1px;
  animation: wavePulse 1s ease-in-out infinite;
}
.audio-wave span:nth-child(1) { height: 8px; animation-delay: 0s; }
.audio-wave span:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.audio-wave span:nth-child(3) { height: 10px; animation-delay: 0.3s; }
.audio-wave span:nth-child(4) { height: 16px; animation-delay: 0.45s; }
.audio-wave span:nth-child(5) { height: 6px; animation-delay: 0.1s; }
@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}
.audio-wave.paused span { animation-play-state: paused; transform: scaleY(0.3); }

/* Hint banner shown on first visit */
.story-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  padding: 24px 36px;
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: #fff;
  text-align: center;
  display: none;
  animation: fadeIn 0.4s ease;
}
.story-hint.visible { display: block; }
.story-hint .title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 28px;
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.story-hint .sub {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.story-hint .ok {
  margin-top: 16px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.4);
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  color: #fff;
  background: transparent;
}
.story-hint .ok:hover { background: rgba(255,255,255,0.1); }

/* Media background for a chapter (video or still image) */
.chapter-video,
.chapter-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

/* "Read the full story" button */
.story-fullbtn {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
  align-self: flex-start;
}
.story-fullbtn:hover { background: rgba(0,0,0,0.6); border-color: #fff; }
.story-fullbtn .arrow { transition: transform 0.3s ease; }
.story-fullbtn:hover .arrow { transform: translateY(4px); }

/* ============================================================
   FULL-STORY CONTINUATION (inline, below the chapter openers)
   ============================================================ */
.story-fullpages {
  position: relative;
  background: var(--bg);
  color: var(--ink);
}
.story-fullpage {
  padding: 0 0 140px;
  border-top: 1px solid var(--line);
}
.story-fullpage:first-child { border-top: none; }

/* Hero image — large, full-bleed continuation of the opener video */
.sf-hero {
  width: 100%;
  height: 86vh;
  background: var(--bg-deep);
  overflow: hidden;
  margin: 0;
}
.sf-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Title block */
.sf-header {
  max-width: 940px;
  margin: 80px auto 50px;
  padding: 0 40px;
  text-align: center;
}
.sf-eyebrow {
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.sf-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 26px;
  padding-top: 0.12em;
}
.sf-lede {
  font-family: var(--font-body);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.55;
  color: var(--ink);
}

/* Read-also cross-links */
.sf-readalso {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  max-width: 940px;
  margin: 40px auto 70px;
  padding: 0 40px;
}
.sf-readalso-bottom {
  margin: 70px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.sf-readalso-label {
  align-self: center;
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.sf-readalso-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-alt);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.sf-readalso-link:hover { background: var(--paper); border-color: var(--accent); }
.sf-readalso-link .n {
  font-family: var(--font-meta);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.sf-readalso-link .t {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}

/* Prose column — text sits in a readable width with empty side margins */
.sf-prose {
  max-width: 720px;
  margin: 50px auto;
  padding: 0 24px;
}
.sf-prose p {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 24px;
}

/* Pull quote */
.sf-quote {
  max-width: 1000px;
  margin: 70px auto;
  padding: 6px 0 6px 36px;
  border-left: 4px solid var(--accent);
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.35;
  color: var(--ink);
}

/* Figure (video, density map) */
.sf-figure {
  margin: 70px auto;
  max-width: 1400px;
  padding: 0 40px;
}
.sf-figure img,
.sf-figure video {
  display: block;
  width: 100%;
}
.sf-figure-video {
  max-width: 720px;
}
.sf-figure-video video {
  width: 100%;
  height: auto;
  max-height: 82vh;
  background: #000;
}
.sf-figure-wide img {
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #f4eddb;
}
.sf-cap {
  padding-top: 14px;
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
}

/* Galleries — pictures are bigger, fill near-full width */
.sf-gallery {
  display: grid;
  gap: 16px;
  margin: 70px auto;
  max-width: 1600px;
  padding: 0 40px;
}
.sf-gallery > figure {
  margin: 0;
  background: var(--bg-deep);
  overflow: hidden;
}
.sf-gallery img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.sf-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.sf-gallery-2x2 { grid-template-columns: 1fr 1fr; }

/* Placeholder block (Water + Chemical) */
.sf-placeholder {
  margin: 40px auto;
  padding: 80px 40px;
  max-width: 720px;
  border: 1px dashed var(--line);
  border-radius: 4px;
  text-align: center;
  font-family: var(--font-meta);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--bg-alt);
}

/* Back-to-top button (back to the chapter-opener carousel) */
.sf-backtop-wrap {
  text-align: center;
  margin: 90px auto 0;
  padding: 0 40px;
}
.sf-backtop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid var(--ink);
  background: transparent;
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.sf-backtop:hover { background: var(--ink); color: var(--bg); }

/* ============================================================
   CONTRIBUTORS PAGE
   ============================================================ */
.contributors {
  display: flex;
  flex-direction: column;
}
.contrib-hero {
  padding: 80px 80px 60px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.contrib-hero-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 88px;
  line-height: 0.9;
  text-transform: uppercase;
}
.contrib-hero-text {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.contrib-section {
  padding: 80px 80px;
  border-bottom: 1px solid var(--line);
}
.contrib-section.bg-alt { background: var(--bg-alt); }
.contrib-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 60px;
  gap: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.contrib-section-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 56px;
  text-transform: uppercase;
  line-height: 1;
}
.contrib-section-meta {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
  line-height: 1.7;
}

.contrib-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.contrib-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contrib-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.contrib-portrait .portrait-bg {
  position: absolute;
  inset: 0;
}
.contrib-portrait .portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contrib-portrait .portrait-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-meta);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
}
.contrib-num {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
}
.contrib-name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 32px;
  text-transform: uppercase;
  line-height: 1;
}
.contrib-role {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
}
.contrib-bio {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.contrib-contact {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  display: flex;
  gap: 14px;
  align-items: center;
}
.contrib-contact li { display: inline-flex; }
.contrib-contact a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.contrib-contact a:hover,
.contrib-contact a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  outline: none;
}
.contrib-contact svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* K2A easter-egg trigger — subtle so it stays a secret */
.k2a-trigger {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: color 0.2s ease;
}
.k2a-trigger:hover { color: var(--ink); }
.k2a-trigger.k2a-warm { color: var(--accent); }

/* Hidden easter-egg section */
.easter-egg {
  display: none;
}
.easter-egg.revealed {
  display: block;
  animation: easterReveal 0.7s cubic-bezier(.16,1,.3,1);
}
@keyframes easterReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.easter-egg .partner-card {
  position: relative;
  border-color: var(--accent);
}
.easter-egg .partner-mark {
  background: var(--accent);
}

/* Partner cards */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.partner-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  align-items: flex-start;
}
.partner-card .partner-mark {
  width: 64px; height: 64px;
  flex-shrink: 0;
  background: var(--bg-deep);
  display: grid;
  place-items: center;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 22px;
  letter-spacing: 0;
}
.partner-card .partner-info { flex: 1; }
.partner-card .partner-role {
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.partner-card .partner-name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 22px;
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 8px;
}
.partner-card .partner-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ============================================================
   PLACEHOLDER PHOTOS — Theme-aware gradient + grain
   ============================================================ */
.photo-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-deep);
}
.photo-placeholder svg.scene { width: 100%; height: 100%; display: block; }
.photo-placeholder .placeholder-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 3;
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
}

/* ============================================================
   GRAPHICS SECTION — Scroll-revealed dynamic charts
   ============================================================ */
.graphics-section {
  padding: 100px 80px 80px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.graphics-header {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 900px;
  margin-bottom: 72px;
}
.graphics-lede {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 720px;
}
.graphics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.graph-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.graph-card.graph-wide { grid-column: 1 / -1; }

/* Companion text boxes */
.graph-textbox {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.graph-textbox.graph-textbox-tall {
  grid-row: span 2;
}
.graph-textbox-eyebrow {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.graph-textbox-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 0.08em;
  margin-bottom: 4px;
}
.graph-textbox p {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
}
.graph-textbox-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 10px 0 4px;
  opacity: 0.7;
}
.graph-textbox-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* In-card body text (figs 2 & 3) */
.graph-body {
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.graph-body p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 14px;
}
.graph-body p:first-child { margin-top: 14px; }
.graph-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 16px;
}
.graph-num {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.graph-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 28px;
  line-height: 1;
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 0.12em;
}
.graph-canvas {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.graph-canvas img { width: 100%; height: auto; display: block; }
.graph-canvas-map {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: #f4eddb;
}
.graph-canvas-map img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.graph-caption {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}

/* ---------- Graph 02 — Orchid bloom timeline ---------- */
.orchid-timeline {
  background: var(--paper);
  padding: 18px 12px 12px;
  display: block;
  aspect-ratio: auto;
}
.orchid-svg {
  width: 100%;
  height: auto;
  display: block;
  color: var(--ink);
}
.orchid-svg .orchid-label {
  font-family: var(--font-body);
  font-size: 13px;
  fill: var(--ink);
}
.orchid-svg .orchid-latin {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 10.5px;
  fill: var(--ink-soft);
}
.orchid-svg .orchid-axis text {
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 0.12em;
  fill: var(--ink-soft);
}
.orchid-svg .orchid-shape {
  transform: scaleY(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.9s cubic-bezier(.16,1,.3,1);
}
.graph-card.is-visible .orchid-svg .orchid-shape {
  transform: scaleY(1);
}
.orchid-svg .orchid-peak {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.graph-card.is-visible .orchid-svg .orchid-peak {
  opacity: 1;
  transition-delay: 1s;
}

/* Placeholder */
.graph-placeholder {
  aspect-ratio: 4 / 3;
  color: var(--ink-muted);
  display: grid;
  place-items: center;
}
.graph-placeholder svg { width: 100%; height: 100%; display: block; }

/* ---------- Reveal animation (scroll-triggered) ---------- */
.graph-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.16,1,.3,1);
}
.graph-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .graph-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Graph 03 — Chemical bars ---------- */
.chem-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.chem-key { display: flex; align-items: center; gap: 8px; }
.chem-key .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.chem-lagk .dot, .chem-fill.chem-lagk { background: #d4a83a; }
.chem-golf .dot, .chem-fill.chem-golf { background: #b85a8c; }
.chem-agri .dot, .chem-fill.chem-agri { background: #6ba84f; }
.chem-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chem-q {
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.chem-bars { display: flex; flex-direction: column; gap: 10px; }
.chem-row {
  display: grid;
  grid-template-columns: 110px 1fr 80px;
  align-items: center;
  gap: 14px;
  font-family: var(--font-meta);
  font-size: 12px;
  color: var(--ink-soft);
}
.chem-name { letter-spacing: 0.05em; }
.chem-track {
  height: 18px;
  background: color-mix(in srgb, var(--line) 50%, transparent);
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.chem-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 1.4s cubic-bezier(.16,1,.3,1);
}
.graph-card.is-visible .chem-fill { width: var(--w); }
.chem-val {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  text-align: right;
  font-weight: 500;
}

/* ---------- Graph 04 — Water rings ---------- */
.water-q {
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.water-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.water-rows-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.water-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.water-row {
  display: grid;
  grid-template-columns: 1.2fr 110px 1fr;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}
.water-row:last-child { border-bottom: none; }
.water-col .water-row:last-child { border-bottom: none; }
.water-name {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.water-ringwrap {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
}
.water-ring {
  width: 100%;
  height: 100%;
  color: var(--tone, #4a7090);
  transform: scale(0);
  transform-origin: center;
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.graph-card.is-visible .water-ring { transform: scale(var(--scale)); }
.water-val {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: var(--display-tracking);
}

/* ---------- Graph 05 — IDF curves ---------- */
.idf-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.idf-key { display: flex; align-items: center; gap: 10px; }
.idf-key .dash {
  width: 22px;
  height: 3px;
  border-radius: 2px;
}
.idf-wrap {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 16px 14px;
  overflow: hidden;
}
.idf-svg {
  width: 100%;
  height: auto;
  color: var(--ink);
  display: block;
}
.idf-line {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2s cubic-bezier(.4,.05,.3,1);
}
.graph-card.is-visible .idf-line { stroke-dashoffset: 0; }
.graph-card.is-visible .idf-low { transition-delay: 0.25s; }
.graph-card.is-visible .idf-high { transition-delay: 0.5s; }
.idf-points circle {
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(.16,1,.3,1);
}
.graph-card.is-visible .idf-points circle {
  opacity: 1;
  transform: scale(1);
  transition-delay: 1.6s;
}

/* ---------- Graph 06 — Frequency bars ---------- */
.freq-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
  padding-top: 20px;
}
.freq-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  width: 100%;
}
.freq-mult {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 28px;
  color: var(--ink);
  letter-spacing: var(--display-tracking);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 1s, transform 0.4s ease 1s;
}
.graph-card.is-visible .freq-mult {
  opacity: 1;
  transform: translateY(0);
}
.freq-track {
  width: 100%;
  height: 220px;
  background: color-mix(in srgb, var(--line) 50%, transparent);
  display: flex;
  align-items: flex-end;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.freq-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 32.3%; /* ×1.0 reference at height matching 1/3.1 of max */
  border-top: 1px dashed color-mix(in srgb, var(--ink) 50%, transparent);
  opacity: 0.5;
}
.freq-fill {
  display: block;
  width: 100%;
  height: 0;
  transition: height 1.4s cubic-bezier(.16,1,.3,1);
}
.graph-card.is-visible .freq-fill { height: var(--h); }
.freq-thresh {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 16px;
  letter-spacing: var(--display-tracking);
  color: var(--ink);
  margin-top: 6px;
}
.freq-cadence {
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  line-height: 1.4;
  min-height: 2.8em;
}
.freq-label {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  line-height: 1.3;
  min-height: 2.6em;
}

/* ============================================================
   SIGNS GALLERY — Horizontal scroll, sign by sign
   ============================================================ */
.signs-section {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  position: relative;
}
.signs-header {
  padding: 0 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: end;
}
.signs-header-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.signs-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  font-size: 72px;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--ink);
}
.signs-header-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.signs-lede {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 620px;
}
.signs-hint {
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.signs-hint .arrow {
  font-size: 14px;
  transition: transform 0.4s ease;
  animation: signNudge 2.2s ease-in-out infinite;
}
@keyframes signNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.signs-stage {
  position: relative;
}
.signs-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  width: 100%;
  height: 92vh;
  min-height: 680px;
}
.signs-scroll::-webkit-scrollbar { height: 6px; }
.signs-scroll::-webkit-scrollbar-track { background: transparent; }
.signs-scroll::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.signs-track {
  display: flex;
  height: 100%;
  width: max-content;
  gap: 0;
  padding: 0;
}
.sign-card {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  padding: 20px 60px 40px;
  align-items: center;
}
.sign-imgwrap {
  height: 100%;
  width: 100%;
  background: transparent;
  border: none;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: auto;
}
.sign-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.sign-caption {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 500px;
}
.sign-num {
  font-family: var(--font-meta);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 14px;
}
.sign-num::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent);
}
.sign-name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(48px, 5.5vw, 84px);
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  line-height: 1.02;
  padding-top: 0.18em;
  color: var(--ink);
}
.sign-desc {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
}

/* Sign nav buttons (prev/next over the scroller) */
.signs-controls {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
  z-index: 5;
}
.signs-nav-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  color: var(--paper);
  display: grid;
  place-items: center;
  pointer-events: auto;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  border: 1px solid color-mix(in srgb, var(--paper) 20%, transparent);
}
.signs-nav-btn:hover { transform: scale(1.06); background: var(--ink); }
.signs-nav-btn:disabled { opacity: 0.25; cursor: not-allowed; }
.signs-nav-btn svg { width: 22px; height: 22px; }

.signs-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-meta);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
  z-index: 4;
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-link-num { display: none; }
  .nav-link { padding: 10px 12px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 50vh; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-section, .report-hero, .contrib-hero {
    grid-template-columns: 1fr;
    padding: 60px 32px;
    gap: 40px;
  }
  .section-cards { grid-template-columns: 1fr; }
  .section-card { border-right: none; border-bottom: 1px solid var(--line); }
  .findings { grid-template-columns: 1fr; }
  .contrib-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; gap: 40px; }
  .report-section, .contrib-section { padding: 60px 32px; }
  .site-footer { padding: 40px 32px; flex-direction: column; align-items: flex-start; }
  .chapter-content { padding: 60px 40px; }
  .story-bottom { left: 40px; right: 40px; bottom: 24px; }

  /* Graphics — tablet */
  .graphics-section { padding: 70px 32px 60px; }
  .graphics-grid { grid-template-columns: 1fr; gap: 32px; }
  .graph-card { padding: 28px 24px; }
  .graph-textbox { padding: 28px 24px; }
  .graph-textbox.graph-textbox-tall { grid-row: auto; }
  .graph-textbox-title { font-size: 22px; }
  .graph-title { font-size: 22px; }
  .freq-bars { gap: 10px; }
  .freq-thresh { font-size: 14px; }
  .freq-mult { font-size: 22px; }
  .water-rows-two-col { grid-template-columns: 1fr; gap: 12px; }
  .water-row { grid-template-columns: 1fr 80px 1fr; gap: 12px; }
  .water-ringwrap { width: 80px; height: 80px; }
  .water-val { font-size: 18px; }
  .chem-row { grid-template-columns: 90px 1fr 68px; gap: 10px; font-size: 11px; }

  /* Signs — compact tablet layout */
  .signs-header { padding: 0 32px 40px; grid-template-columns: 1fr; gap: 28px; }
  .signs-title { font-size: 56px; }
  .signs-scroll { height: auto; min-height: 0; }
  .signs-track { gap: 24px; padding: 0 32px 32px; height: auto; }
  .sign-card {
    flex: 0 0 auto;
    width: min(620px, 86vw);
    height: auto;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 22px;
    scroll-snap-align: center;
    align-items: stretch;
  }
  .sign-imgwrap { aspect-ratio: 3 / 4; height: auto; background: transparent; border: none; }
  .sign-name { font-size: clamp(28px, 5vw, 40px); }
  .sign-desc { font-size: 15px; }
  .signs-controls { display: none; }
  .signs-counter { display: none; }
}

/* ============================================================
   SMARTPHONE — ≤ 640px
   ============================================================ */
@media (max-width: 640px) {
  /* Top nav — two rows: brand + lang on top, links wrap below */
  .topnav {
    height: auto;
    min-height: 56px;
    padding: 8px 14px;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
  }
  .brand { gap: 10px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-text { font-size: 15px; letter-spacing: 0.02em; }
  .brand-sub { display: none; }
  .nav-controls { margin-left: auto; }
  .lang-toggle { font-size: 10px; padding: 3px; }
  .lang-btn { padding: 3px 7px; }
  .nav-links {
    flex-basis: 100%;
    order: 3;
    justify-content: space-between;
    gap: 2px;
    padding-top: 4px;
    border-top: 1px solid var(--line-soft);
  }
  .nav-link {
    padding: 8px 4px;
    font-size: 10px;
    letter-spacing: 0.08em;
    flex: 1;
    text-align: center;
  }

  /* Page padding — nav now wraps to ~100px */
  .page { padding-top: 100px; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-content { padding: 36px 20px 28px; }
  .hero-meta { gap: 18px; flex-wrap: wrap; }
  .hero-title { font-size: clamp(48px, 13vw, 72px); line-height: 0.9; }
  .hero-lede { font-size: 16px; line-height: 1.5; }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
  }
  .hero-bottom-text { max-width: 100%; }
  .hero-image { min-height: 38vh; }

  /* Stats */
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 18px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-num { font-size: 48px; line-height: 0.95; }
  .stat-num .unit { font-size: 14px; }
  .stat-label { font-size: 13px; }
  .stat-eyebrow { margin-bottom: 12px; font-size: 9px; }

  /* Intro */
  .intro-section { padding: 48px 20px; gap: 28px; }
  .section-title { font-size: 30px; }
  .intro-right { gap: 20px; }
  .intro-right p { font-size: 16px; line-height: 1.55; }
  .intro-right p.lede { font-size: 18px; }
  .intro-right p.dropcap::first-letter { font-size: 52px; }

  /* Section cards */
  .section-card { padding: 36px 22px; min-height: 220px; }
  .section-card-num { font-size: 10px; }
  .section-card-title { font-size: 26px; margin-top: 16px; }
  .section-card-desc { font-size: 14px; margin-top: 12px; }
  .section-card-arrow { margin-top: 24px; font-size: 10px; }

  /* Footer */
  .site-footer { padding: 36px 20px 28px; gap: 24px; }
  .footer-brand { font-size: 24px; }
  .footer-text { font-size: 13px; }
  .footer-meta { text-align: left; font-size: 10px; }

  /* Report */
  .report-hero { padding: 40px 20px 36px; gap: 24px; }
  .report-hero-title { font-size: 48px; }
  .report-hero-lede { font-size: 16px; }
  .report-section { padding: 40px 20px; }
  .report-grid { gap: 28px; }
  .report-label .num { font-size: 30px; }
  .report-label .title { font-size: 22px; }
  .report-content { gap: 18px; }
  .report-content p { font-size: 15px; line-height: 1.6; }
  .report-content p.lede { font-size: 17px; }
  .report-content ul li { font-size: 15px; padding-left: 22px; }
  .findings { gap: 16px; }
  .finding { padding: 18px; }
  .finding-num { font-size: 40px; }
  .finding-num .unit { font-size: 13px; }
  .finding-desc { font-size: 13px; }

  /* Quote block */
  .report-quote { padding: 60px 20px; }
  .report-quote blockquote { font-size: 22px; line-height: 1.35; }
  .report-quote .quote-mark { font-size: 80px; margin-bottom: 8px; }
  .report-quote cite { font-size: 11px; margin-top: 20px; }

  /* Chart */
  .chart-wrap { padding: 18px; }
  .chart-header { flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .chart-title { font-size: 17px; }
  .chart-source { text-align: left; font-size: 9px; }
  .chart-legend { gap: 10px 16px; margin-top: 16px; }
  .legend-item { font-size: 10px; }

  /* Full report divider */
  .fullreport-divider { padding: 60px 20px 50px; gap: 28px; }
  .fullreport-divider .fr-lede { font-size: 16px; }
  .fullreport-divider .fr-meta { gap: 18px; font-size: 10px; }
  .report-subhead { font-size: 18px; }
  .report-pull { font-size: 17px; padding: 20px 22px; margin: 18px 0; }
  .report-figure-caption {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }
  .report-figure-num { font-size: 20px; }
  .report-figure-text { font-size: 13px; }
  .report-byline { font-size: 10px; letter-spacing: 0.12em; }
  .report-ref { grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; }
  .report-ref-num { font-size: 11px; }
  .report-ref-body { font-size: 14px; }

  /* Graphics — phone */
  .graphics-section { padding: 50px 20px 40px; }
  .graphics-header { margin-bottom: 36px; gap: 14px; }
  .graphics-lede { font-size: 16px; }
  .graphics-grid { gap: 24px; }
  .graph-card { padding: 22px 18px; gap: 16px; }
  .graph-textbox { padding: 22px 18px; gap: 12px; }
  .graph-textbox-title { font-size: 18px; }
  .graph-textbox p { font-size: 14px; }
  .graph-body p { font-size: 14px; }
  .graph-title { font-size: 18px; }
  .graph-caption { font-size: 13px; padding-top: 14px; }
  .chem-legend { gap: 10px; font-size: 10px; }
  .chem-row { grid-template-columns: 72px 1fr 60px; gap: 8px; font-size: 10px; }
  .chem-val { font-size: 13px; }
  .water-row { grid-template-columns: 1fr 60px 1fr; gap: 8px; padding: 6px 0; }
  .water-name { font-size: 13px; }
  .water-ringwrap { width: 60px; height: 60px; }
  .water-val { font-size: 15px; }
  .water-ring circle { stroke-width: 12; }
  .idf-legend { gap: 10px; font-size: 9px; }
  .freq-bars { padding-top: 10px; gap: 6px; }
  .freq-track { height: 160px; }
  .freq-mult { font-size: 16px; }
  .freq-thresh { font-size: 11px; }
  .freq-cadence { font-size: 8px; min-height: 3.2em; }
  .freq-label { font-size: 10px; min-height: 2.8em; }

  /* Signs gallery — phone */
  .signs-section { padding: 56px 0 40px; }
  .signs-header { padding: 0 20px 28px; gap: 18px; }
  .signs-title { font-size: 42px; }
  .signs-lede { font-size: 16px; }
  .signs-hint { font-size: 10px; }
  .signs-track { padding: 0 20px 24px; gap: 18px; }
  .sign-card { width: 84vw; gap: 16px; padding: 0; }
  .sign-name { font-size: 24px; }
  .sign-desc { font-size: 14px; }
  .sign-num { font-size: 10px; }
  .sign-num::before { width: 24px; }

  /* Photo story */
  .chapter-content { padding: 32px 20px 230px; max-width: 100%; }
  .chapter-side { top: 90px; right: 18px; left: 18px; pointer-events: none; }
  .chapter-side .latin, .chapter-side .coords { color: rgba(255,255,255,0.55); }
  .chapter-num { font-size: 10px; margin-bottom: 14px; }
  .chapter-title { font-size: 42px; line-height: 0.95; margin-bottom: 16px; }
  .chapter-body { font-size: 15px; line-height: 1.55; }
  .chapter-side { top: 110px; right: 16px; left: 16px; text-align: left; }
  .chapter-side .latin { font-size: 14px; margin-bottom: 2px; }
  .chapter-side .coords { font-size: 10px; }
  .story-controls { padding: 0 6px; }
  .story-nav-btn { width: 42px; height: 42px; }
  .story-nav-btn svg { width: 16px; height: 16px; }
  .story-bottom {
    left: 16px; right: 16px; bottom: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .story-progress { max-width: 100%; }
  .story-counter { font-size: 11px; }
  .audio-panel { padding: 8px 14px; gap: 10px; }
  .story-hint { padding: 20px 24px; width: calc(100% - 40px); max-width: 320px; }
  .story-hint .title { font-size: 22px; }
  .story-fullbtn { margin-top: 18px; padding: 11px 18px; font-size: 11px; }

  /* Full-story continuation — phone */
  .story-bottom { left: 16px; right: 16px; bottom: 16px; }
  .story-fullpage { padding-bottom: 110px; }
  .sf-hero { height: 60vh; }
  .sf-header { margin: 40px auto 28px; padding: 0 20px; }
  .sf-title { font-size: 36px; }
  .sf-lede { font-size: 17px; }
  .sf-readalso { padding: 0 20px; margin: 28px auto 40px; gap: 10px; }
  .sf-readalso-link { padding: 10px 14px; }
  .sf-readalso-link .t { font-size: 13px; }
  .sf-prose { padding: 0 20px; margin: 30px auto; }
  .sf-prose p { font-size: 16px; line-height: 1.7; margin-bottom: 18px; }
  .sf-quote { margin: 40px 20px; padding: 4px 0 4px 20px; font-size: 19px; max-width: none; }
  .sf-figure { margin: 40px auto; padding: 0 20px; }
  .sf-cap { font-size: 10px; }
  .sf-gallery { margin: 40px auto; padding: 0 20px; gap: 10px; }
  .sf-gallery-3 { grid-template-columns: 1fr; }
  .sf-gallery-2x2 { grid-template-columns: 1fr 1fr; }
  .sf-placeholder { padding: 50px 24px; font-size: 12px; }
  .sf-backtop { padding: 12px 22px; font-size: 11px; }
  .sf-backtop-wrap { margin-top: 60px; }

  /* Contributors */
  .contrib-hero { padding: 40px 20px; gap: 22px; }
  .contrib-hero-text { line-height: 1.85; }
  .contrib-section-meta { line-height: 2.1; }
  .contrib-bio { line-height: 1.8; }
  .partner-card .partner-desc { line-height: 1.75; }
  .contrib-hero-title { font-size: 44px; }
  .contrib-hero-text { font-size: 16px; }
  .contrib-section { padding: 40px 20px; }
  .contrib-section-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 16px;
  }
  .contrib-section-title { font-size: 30px; }
  .contrib-section-meta { text-align: left; font-size: 10px; }
  .contrib-grid { grid-template-columns: 1fr; gap: 36px; }
  .contrib-card { gap: 16px; }
  .contrib-name { font-size: 26px; }
  .contrib-bio { font-size: 14px; }
  .partner-grid { gap: 16px; }
  .partner-card { padding: 22px; gap: 18px; }
  .partner-card .partner-mark { width: 52px; height: 52px; font-size: 18px; }
  .partner-card .partner-name { font-size: 18px; }
  .partner-card .partner-desc { font-size: 13px; }

  /* Framework table — already stacked at 1100px, tighten cells */
  .framework-table-cell { padding: 12px 16px; font-size: 13px; }
}
