/* StreetExplor — Weekly Crash Forecast report styles
   Extracted from inline <style> for cacheability across weekly archive permalinks.
   Loaded via <link rel="stylesheet" href="/report-style.css"> AFTER /homepage-style.css so report styles win. */

/* ═══════════════════════════════════════════════════════════════════════════
   StreetExplor — Weekly Crash Forecast
   Aesthetic: editorial road-safety bulletin. Cream paper base, navy ink,
   vibrant typed hazard chips, pulsing geographic markers.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Paper + ink */
  --paper:        #F4EFE6;
  --paper-warm:   #EEE6D7;
  --paper-deep:   #E5D9C4;
  --ink:          #0F1B2D;
  --ink-soft:     #2A3A52;
  --ink-mute:     #5B6B82;
  --ink-faint:    #93A0B5;
  --rule:         #1F2A3F;

  /* Alert palette */
  --alert:        #D7263D;
  --alert-deep:   #9D0D26;
  --amber:        #E89B0E;
  --amber-deep:   #B26C00;
  --forest:       #1F6B5C;
  --twilight:     #5C4B8A;
  --ice:          #7BB7E8;
  --ice-deep:     #2E6BA0;

  /* Hazard type colors — Option 3 "warm paper" palette.
     Light pastel backgrounds with dark ink text. No glare on glossy
     monitors, prints cleanly, matches the rest of the report's paper
     aesthetic. Each category keeps its identity color via accents and
     a subtle border tint, but the surface is calm. */

  --type-severity-bg:  #FFF1F2;
  --type-severity-fg:  #4A0E14;
  --type-severity-acc: #C81D2C;
  --type-severity-bd:  #F5C7CC;

  --type-people-bg:    #F4F0FF;
  --type-people-fg:    #2C1F60;
  --type-people-acc:   #6B5DD3;
  --type-people-bd:    #DAD3F5;

  --type-weather-bg:   #ECF5FE;
  --type-weather-fg:   #0F3A5E;
  --type-weather-acc:  #2D8AC9;
  --type-weather-bd:   #C9DFF2;

  --type-surface-bg:   #ECFAF5;
  --type-surface-fg:   #0E3A33;
  --type-surface-acc:  #1F8773;
  --type-surface-bd:   #C0E8DC;

  --type-light-bg:     #FFF7E8;
  --type-light-fg:     #5C3D08;
  --type-light-acc:    #C97A11;
  --type-light-bd:     #F2DCB1;

  --type-time-bg:      #FFF4E8;
  --type-time-fg:      #5C2C09;
  --type-time-acc:     #D97223;
  --type-time-bd:      #F5D8B7;

  --type-daytype-bg:   #FBF0FF;
  --type-daytype-fg:   #421A52;
  --type-daytype-acc:  #A24FC6;
  --type-daytype-bd:   #E5C8F0;

  --type-event-bg:     #F6FAE8;
  --type-event-fg:     #2F3E0C;
  --type-event-acc:    #6A8821;
  --type-event-bd:     #DAE5B1;

  /* Risk bands */
  --risk-low:      #6FAE7F;
  --risk-elev:     #E89B0E;
  --risk-high:     #DD5F2C;
  --risk-crit:     #D7263D;

  /* Type families */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body:    "Geist", "SF Pro Text", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Geometry */
  --rad-sm:  6px;
  --rad-md:  12px;
  --rad-lg:  20px;
  --rad-xl:  28px;
  --shadow:  0 1px 0 rgba(15,27,45,.08), 0 8px 24px -12px rgba(15,27,45,.18);
  --shadow-lift: 0 1px 0 rgba(15,27,45,.10), 0 24px 48px -20px rgba(15,27,45,.30);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body,
body main#main-content {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  /* Subtle paper grain via SVG noise + warm gradient */
  background-image:
    radial-gradient(ellipse at top left, rgba(232, 155, 14, 0.06), transparent 40%),
    radial-gradient(ellipse at bottom right, rgba(46, 107, 160, 0.05), transparent 40%),
    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.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06  0 0 0 0 0.10  0 0 0 0 0.18  0 0 0 0.035 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body main#main-content { background-attachment: local; }
body { font-family: var(--font-body) !important; }  /* survive site-level body overrides */
img { max-width: 100%; display: block; }

/* Editorial-style links INSIDE main (don't touch site nav/footer links) */
main#main-content a { color: inherit; text-decoration: none; }

/* Hide the visually-hidden skip-link target on focus only (matches site convention) */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: static; width: auto; height: auto;
  padding: 8px 12px; background: var(--ink); color: var(--paper);
}

/* ── Container ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 720px) { .container { padding: 0 16px; } }

/* ═════════════════════════ TOP BAR ═════════════════════════ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid rgba(15,27,45,.12);
  backdrop-filter: blur(8px);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700; font-size: 21px; letter-spacing: -.01em;
  font-variation-settings: "opsz" 50, "SOFT" 0, "WONK" 0;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.brand .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--alert); display: inline-block;
  box-shadow: 0 0 0 0 rgba(215, 38, 61, .6);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(215, 38, 61, .55); }
  70%  { box-shadow: 0 0 0 12px rgba(215, 38, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(215, 38, 61, 0); }
}
.top-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: #D7263D !important;
  color: #FFFFFF !important;
  border: 2px solid #D7263D;
  border-radius: 999px;
  font-weight: 700; font-size: 13.5px;
  letter-spacing: .01em;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(215, 38, 61, 0.35);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.top-cta:hover, .top-cta:focus {
  background: #9D0D26 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(215, 38, 61, 0.55);
}
.top-cta:visited { color: #FFFFFF !important; }
.top-cta svg { width: 14px; height: 14px; }
.topbar-meta {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .04em;
  color: var(--ink-mute);
  display: none;
}
@media (min-width: 760px) { .topbar-meta { display: block; } }

/* ═════════════════════════ HERO ═════════════════════════ */
.hero {
  padding: 96px 0 40px;
  border-bottom: 1px solid rgba(15,27,45,.12);
  position: relative;
}
@media (max-width: 720px) {
  .hero { padding: 64px 0 32px; }
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--alert);
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-eyebrow .date-range {
  color: var(--ink);
  font-weight: 800;
}
.hero-eyebrow::before {
  content: ""; width: 36px; height: 2px; background: var(--alert);
}
.hero h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 25, "WONK" 1;
  margin: 0 0 12px;
  color: var(--ink);
}
.hero h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--alert);
}

/* ── Archive band (Current / Archive indicator with prev/next nav) ── */
.archive-band {
  border-bottom: 1px solid rgba(15,27,45,.12);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.archive-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 24px; flex-wrap: wrap;
  max-width: 1240px; margin: 0 auto;
}
.archive-band.is-current  { background: rgba(215, 38, 61, 0.08); color: var(--alert-deep); }
.archive-band.is-archived { background: rgba(91, 107, 130, 0.10); color: var(--ink-soft); }
.archive-band .badge {
  display: inline-flex; align-items: center; gap: 8px;
}
.archive-band .badge .pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
}
.archive-band.is-current .badge .pulse {
  animation: archive-pulse 2s infinite;
}
@keyframes archive-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(215, 38, 61, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(215, 38, 61, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(215, 38, 61, 0);   }
}
.archive-band .nav-arrows {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.archive-band .nav-arrows a,
.archive-band .nav-arrows span {
  text-decoration: none; color: inherit;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(15,27,45,0.10);
  font-weight: 600; font-size: 11px; letter-spacing: .05em;
  transition: background .15s ease, border-color .15s ease;
}
.archive-band .nav-arrows a:hover {
  background: white; border-color: currentColor;
}
.archive-band .nav-arrows .disabled {
  opacity: 0.4; cursor: default;
}
.archive-band .nav-arrows .index-link {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.archive-band .nav-arrows .index-link:hover {
  background: var(--alert); border-color: var(--alert);
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.55;
  margin: 0 0 32px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

/* Hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(15,27,45,.18);
  border-radius: var(--rad-md);
  background: var(--paper-warm);
  overflow: hidden;
}
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
.stat-cell {
  padding: 20px 22px;
  border-right: 1px solid rgba(15,27,45,.12);
  border-bottom: 1px solid rgba(15,27,45,.12);
}
.stat-cell:last-child { border-right: none; }
@media (max-width: 760px) {
  .stat-cell:nth-child(2n) { border-right: none; }
  .stat-cell:nth-child(n+3) { border-bottom: none; }
}
@media (min-width: 761px) {
  .stat-cell { border-bottom: none; }
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 10px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  font-variation-settings: "opsz" 144, "WONK" 1;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat-value .unit {
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 6px;
  letter-spacing: 0;
}
.stat-delta {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
}
.stat-delta.up    { color: var(--alert); }
.stat-delta.down  { color: var(--forest); }
.stat-delta::before { content: ""; display: inline-block; width: 0; height: 0; margin-right: 5px; vertical-align: middle; }
.stat-delta.up::before    { border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 6px solid var(--alert); }
.stat-delta.down::before  { border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid var(--forest); }

/* Holiday/special-week banner */
.holiday-banner {
  margin-top: 28px;
  padding: 14px 20px;
  background: linear-gradient(95deg, rgba(232,155,14,.12), rgba(215,38,61,.10));
  border: 1px dashed rgba(215, 38, 61, .35);
  border-radius: var(--rad-md);
  font-size: 14.5px;
  display: flex; align-items: center; gap: 12px;
  color: var(--ink);
}
.holiday-banner .ico { font-size: 22px; line-height: 1; }
.holiday-banner strong { color: var(--alert-deep); font-weight: 700; }

/* ═════════════════════════ SECTION SCAFFOLD ═════════════════════════ */
section.deck { padding: 56px 0; border-bottom: 1px solid rgba(15,27,45,.12); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 28px; flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  font-variation-settings: "opsz" 90, "SOFT" 20, "WONK" 1;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
.section-head h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 90, "SOFT" 100, "WONK" 1;
  color: var(--alert);
}
.section-head .kicker {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700;
  margin-bottom: 8px;
}
.section-head .blurb {
  max-width: 460px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* ═════════════════════════ STATEWIDE MAP ═════════════════════════ */
.map-deck {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 900px) { .map-deck { grid-template-columns: 1fr; } }

.utah-map {
  background: var(--ink);
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.08), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(215, 38, 61, .12), transparent 55%);
  border-radius: var(--rad-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  color: #E8EEF8;
  min-height: 480px;
  box-shadow: var(--shadow-lift);
}
.utah-map::before {
  content: "UTAH"; position: absolute; right: 28px; top: 24px;
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: .35em;
  font-weight: 600;
  color: rgba(232, 238, 248, .35);
}
.utah-map h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  font-variation-settings: "opsz" 90, "SOFT" 30;
  margin: 0 0 4px;
  color: #fff;
}
.utah-map .map-sub {
  font-size: 13px; color: rgba(232, 238, 248, .65);
  margin-bottom: 18px;
}

/* SVG map sizing */
.utah-svg-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
.utah-svg-wrap svg { width: 100%; height: auto; display: block; }

/* County polygon styling */
.county-poly {
  fill: rgba(232, 238, 248, .05);
  stroke: rgba(232, 238, 248, .25);
  stroke-width: 1;
  transition: fill .25s ease, stroke .25s ease;
  cursor: pointer;
}
.county-poly:hover { fill: rgba(255, 71, 87, .18); stroke: var(--alert); }
.county-poly.active { fill: rgba(255, 71, 87, .14); stroke: var(--alert); stroke-width: 1.5; }

.county-label {
  fill: rgba(232, 238, 248, .82);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
  font-weight: 700;
  paint-order: stroke;
  stroke: rgba(15, 27, 45, 0.65);
  stroke-width: 2.5;
  stroke-linejoin: round;
  dominant-baseline: central;
  text-anchor: middle;
}
.county-label.major { fill: #fff; font-size: 12px; }

/* The animated pulse markers — Pokémon-style with motion */
.pulse-marker {
  pointer-events: none;
}
.pulse-marker .ring {
  fill: none;
  stroke-width: 1.5;
  opacity: .9;
  transform-origin: center;
  animation: pulse-ring 2.4s ease-out infinite;
}
.pulse-marker .ring.r2 { animation-delay: .8s; }
.pulse-marker .ring.r3 { animation-delay: 1.6s; }
@keyframes pulse-ring {
  0%   { r: 4;  opacity: .9;  stroke-width: 2; }
  100% { r: 28; opacity: 0;   stroke-width: .5; }
}
.pulse-marker .core {
  filter: drop-shadow(0 0 8px currentColor);
}

/* State-level numbered pins on the Utah map (top 5 statewide hotspots) */
.state-pin { cursor: default; transition: transform .15s ease; }
.state-pin:hover { transform-origin: center; }
.state-pin circle { transition: r .15s ease; }

/* Weather banner — sits at top of hero, signals live conditions */
.weather-banner {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  background: linear-gradient(95deg, rgba(46, 107, 160, .10), rgba(91, 75, 138, .08));
  border: 1px solid rgba(46, 107, 160, .25);
  border-radius: var(--rad-md);
  flex-wrap: wrap;
}
.weather-banner .wx-icon {
  font-size: 38px; line-height: 1;
  animation: drift 5s ease-in-out infinite;
}
.weather-banner .wx-now { font-family: var(--font-display); font-size: 22px; font-weight: 700; font-variation-settings: "opsz" 90; line-height: 1.1; margin: 0 0 2px; }
.weather-banner .wx-sub { font-size: 13px; color: var(--ink-mute); }
.weather-banner .wx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.weather-banner .wx-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 9px;
  background: var(--alert);
  color: white;
  border-radius: 999px;
}
.weather-banner .wx-chip.dim { background: var(--ink-mute); }

/* Active-weather hazard card highlight */
.haz-card.is-active-weather {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(75, 184, 255, .25), var(--shadow-lift);
}
.haz-card .live-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--acc); color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .14em;
  font-weight: 700; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
  z-index: 2;
  animation: pulse-grow 2s ease-in-out infinite;
}

/* Time-of-day cards (Pokémon-style but more compact than full hazard cards) */
.tod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.tod-card {
  background: var(--paper-warm);
  border: 1px solid rgba(15,27,45,.12);
  border-radius: var(--rad-lg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.tod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tod-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--type-time-acc);
}
.tod-head {
  display: flex; align-items: center; gap: 12px;
}
.tod-ico {
  font-size: 32px; line-height: 1;
  display: inline-block;
  animation: drift 5s ease-in-out infinite;
}
.tod-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  font-variation-settings: "opsz" 90, "SOFT" 20;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin: 0;
}
.tod-sub {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-mute); font-weight: 600;
  letter-spacing: .04em;
}
.tod-stats {
  display: flex; gap: 14px; padding: 10px 0;
  border-top: 1px dashed rgba(15,27,45,.18);
  border-bottom: 1px dashed rgba(15,27,45,.18);
}
.tod-stat-lbl {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2px;
}
.tod-stat-val {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  font-variation-settings: "opsz" 90, "WONK" 1;
  line-height: 1;
}
.tod-stat-val.delta.up { color: var(--alert); }
.tod-stat-val.delta.down { color: var(--forest); }
.tod-streets { list-style: none; margin: 0; padding: 0; }
.tod-streets li {
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px dotted rgba(15,27,45,.15);
}
.tod-streets li:last-child { border-bottom: none; }
.tod-streets a {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
  color: inherit;
  transition: color .15s ease;
}
.tod-streets a:hover { color: var(--alert); }
.tod-streets .nm { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tod-streets .ct {
  font-family: var(--font-mono); font-size: 11px;
  font-weight: 700; color: var(--alert-deep); flex-shrink: 0;
}
.tod-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700;
  color: var(--alert);
}
.tod-cta:hover { color: var(--alert-deep); }
.tod-cta svg { width: 12px; height: 12px; }

/* Map sidebar (counties leaderboard preview) */
.map-side {
  background: var(--paper-warm);
  border: 1px solid rgba(15,27,45,.12);
  border-radius: var(--rad-lg);
  padding: 28px;
  display: flex; flex-direction: column;
}
.map-side h3 {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 600;
  font-variation-settings: "opsz" 90;
  margin: 0 0 4px;
}
.map-side .map-side-sub {
  font-size: 13px; color: var(--ink-mute); margin-bottom: 16px;
}
.county-list { list-style: none; padding: 0; margin: 0; flex: 1; }
.county-list li {
  display: grid;
  grid-template-columns: 18px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(15,27,45,.12);
  font-size: 14px;
}
.county-list li:last-child { border-bottom: none; }
.county-list .rk {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  font-weight: 600;
}
.county-list .nm { font-weight: 600; }
.county-list .ct { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); }
.county-list .delta {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.county-list .delta.up   { background: rgba(215, 38, 61, .12); color: var(--alert-deep); }
.county-list .delta.down { background: rgba(31, 107, 92, .12); color: var(--forest); }
.county-list .delta.flat { background: rgba(91, 107, 130, .10); color: var(--ink-mute); }

.map-cta {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: #FBA94A !important;
  color: #0F1B2D !important;
  border: 2px solid #FBA94A;
  border-radius: 999px;
  font-weight: 700; font-size: 13.5px;
  letter-spacing: .01em;
  text-decoration: none !important;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(251, 169, 74, 0.35);
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.map-cta:hover, .map-cta:focus {
  background: #0F1B2D !important;
  color: #FBA94A !important;
  border-color: #FBA94A;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(251, 169, 74, 0.45);
}
.map-cta:visited { color: #0F1B2D !important; }
.map-cta svg { width: 14px; height: 14px; }

/* ═════════════════════════ DAILY FORECAST STRIP ═════════════════════════ */
.daily-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .daily-strip {
    grid-template-columns: repeat(7, minmax(132px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .daily-strip > * { scroll-snap-align: start; }
}
.day-card {
  background: var(--paper-warm);
  border: 1px solid rgba(15,27,45,.12);
  border-radius: var(--rad-md);
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 8px;
  text-align: left;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.day-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.day-card.is-today {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.day-card.is-today .day-num,
.day-card.is-today .day-band { color: rgba(244,239,230,.7); }
.day-card.has-holiday {
  border-color: var(--alert);
  background-image: linear-gradient(180deg, transparent 60%, rgba(215,38,61,.06));
}
.day-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}
.day-card.is-today .day-name { color: rgba(244,239,230,.95); }
.day-num {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700;
  font-variation-settings: "opsz" 144, "WONK" 1;
  line-height: 1;
  letter-spacing: -.02em;
}
.day-band {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: .04em;
}
.day-wx {
  margin-top: auto;
  display: flex; align-items: center; gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed rgba(15,27,45,.18);
  font-size: 12px;
  color: var(--ink-soft);
}
.day-card.is-today .day-wx { border-top-color: rgba(244,239,230,.2); color: rgba(244,239,230,.85); }
.day-wx-pct {
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  color: var(--alert);
}
.day-card.is-today .day-wx-pct { color: #FBA94A; }
.day-card.is-today .day-name,
.day-card.is-today .day-num   { color: rgba(244,239,230,.95); }
.day-holiday-flag {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 10px;
  font-weight: 700;
  background: var(--alert);
  color: white;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: .04em;
}
@keyframes drift {
  0%, 100% { transform: translateY(0)   rotate(0); }
  50%      { transform: translateY(-3px) rotate(-3deg); }
}

/* ═════════════════════════ HAZARD GRID (Pokémon-style) ═════════════════════════ */
.haz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

/* Category sections (Weather, Daytype, Severity, People, Time, Surface, Event) */
.haz-cat { margin-bottom: 40px; }
.haz-cat:last-child { margin-bottom: 0; }
.haz-cat-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  flex-wrap: wrap;
}
.haz-cat-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  font-variation-settings: "opsz" 90, "SOFT" 20, "WONK" 1;
  letter-spacing: -.015em;
  margin: 0;
  color: var(--ink);
}
.haz-cat-blurb {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.haz-card {
  background: var(--type-people-bg);
  color: var(--type-people-fg);
  border: 1.5px solid var(--type-people-bd);
  border-radius: var(--rad-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 320px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 2px 6px rgba(15, 27, 45, 0.04);
}
.haz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -16px rgba(15, 27, 45, 0.18);
  border-color: var(--acc);
}
.haz-card::after {
  /* Subtle accent wash in the top-right corner — light enough to read as
     a category indicator without competing with the text */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 88% -10%, var(--acc) 0%, transparent 45%);
  opacity: .08;
  pointer-events: none;
}
.haz-card[data-type="SEVERITY"]  { background: var(--type-severity-bg); color: var(--type-severity-fg); border-color: var(--type-severity-bd); --acc: var(--type-severity-acc); }
.haz-card[data-type="PEOPLE"]    { background: var(--type-people-bg);   color: var(--type-people-fg);   border-color: var(--type-people-bd);   --acc: var(--type-people-acc); }
.haz-card[data-type="WEATHER"]   { background: var(--type-weather-bg);  color: var(--type-weather-fg);  border-color: var(--type-weather-bd);  --acc: var(--type-weather-acc); }
.haz-card[data-type="SURFACE"]   { background: var(--type-surface-bg);  color: var(--type-surface-fg);  border-color: var(--type-surface-bd);  --acc: var(--type-surface-acc); }
.haz-card[data-type="LIGHT"]     { background: var(--type-light-bg);    color: var(--type-light-fg);    border-color: var(--type-light-bd);    --acc: var(--type-light-acc); }
.haz-card[data-type="TIME"]      { background: var(--type-time-bg);     color: var(--type-time-fg);     border-color: var(--type-time-bd);     --acc: var(--type-time-acc); }
.haz-card[data-type="DAYTYPE"]   { background: var(--type-daytype-bg);  color: var(--type-daytype-fg);  border-color: var(--type-daytype-bd);  --acc: var(--type-daytype-acc); }
.haz-card[data-type="EVENT"]     { background: var(--type-event-bg);    color: var(--type-event-fg);    border-color: var(--type-event-bd);    --acc: var(--type-event-acc); }

.haz-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px;
}
.haz-ico {
  font-size: 38px;
  line-height: 1;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(15, 27, 45, 0.12));
}
.haz-card[data-type="WEATHER"] .haz-ico,
.haz-card[data-type="SURFACE"] .haz-ico { animation: float 4.2s ease-in-out infinite; }
.haz-card[data-type="PEOPLE"]  .haz-ico,
.haz-card[data-type="TIME"]    .haz-ico { animation: tilt 5s ease-in-out infinite; }
.haz-card[data-type="EVENT"]   .haz-ico,
.haz-card[data-type="LIGHT"]   .haz-ico { animation: drift 4s ease-in-out infinite; }
.haz-card[data-type="SEVERITY"].haz-card .haz-ico { animation: pulse-grow 2.6s ease-in-out infinite; }
.haz-card[data-type="DAYTYPE"] .haz-ico { animation: tilt 4.4s ease-in-out infinite; }
@keyframes float  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes tilt   { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(6deg); } }
@keyframes pulse-grow { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }

.haz-type {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  font-weight: 700;
  background: rgba(15, 27, 45, .06);
  border: 1px solid rgba(15, 27, 45, .10);
  padding: 5px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  color: var(--acc);
}
.haz-label {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  font-variation-settings: "opsz" 90, "SOFT" 20;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.haz-blurb {
  font-size: 12.5px;
  line-height: 1.5;
  opacity: .80;
  margin: 0;
}
.haz-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.haz-stat-lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .65;
  margin-bottom: 3px;
}
.haz-stat-val {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  font-variation-settings: "opsz" 90, "WONK" 1;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--acc);
}
.haz-stat-val .unit {
  font-size: 11px;
  font-family: var(--font-body); font-weight: 500;
  margin-left: 4px;
  opacity: .65;
  /* Inherit the card's main fg color, not the accent that .haz-stat-val uses */
  color: currentColor;
}
.haz-card[data-type="SEVERITY"] .haz-stat-val .unit { color: var(--type-severity-fg); }
.haz-card[data-type="PEOPLE"]   .haz-stat-val .unit { color: var(--type-people-fg); }
.haz-card[data-type="WEATHER"]  .haz-stat-val .unit { color: var(--type-weather-fg); }
.haz-card[data-type="SURFACE"]  .haz-stat-val .unit { color: var(--type-surface-fg); }
.haz-card[data-type="LIGHT"]    .haz-stat-val .unit { color: var(--type-light-fg); }
.haz-card[data-type="TIME"]     .haz-stat-val .unit { color: var(--type-time-fg); }
.haz-card[data-type="DAYTYPE"]  .haz-stat-val .unit { color: var(--type-daytype-fg); }
.haz-card[data-type="EVENT"]    .haz-stat-val .unit { color: var(--type-event-fg); }

.haz-stat-delta {
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: 3px;
  font-weight: 600;
  opacity: .85;
}
.haz-stat-delta.up   { color: var(--type-severity-acc); }
.haz-stat-delta.down { color: #1F6B5C; }

/* Risk meter */
.risk-meter {
  margin-top: 6px;
}
.risk-meter-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 6px;
}
.risk-meter-label .band {
  font-weight: 700;
  letter-spacing: .14em;
}
.risk-bar {
  height: 6px;
  background: rgba(15, 27, 45, .10);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.risk-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--acc);
  transition: width 1.2s cubic-bezier(.4,.0,.1,1);
  position: relative;
  overflow: hidden;
}
.risk-bar-fill::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: shimmer 2.4s linear infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* Top hotspot for hazard */
.haz-hotspot {
  margin-top: auto;
  background: rgba(15, 27, 45, .04);
  border: 1px solid rgba(15, 27, 45, .10);
  border-radius: var(--rad-md);
  padding: 11px 13px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: background .2s ease, border-color .2s ease;
}
.haz-hotspot:hover {
  background: rgba(15, 27, 45, .07);
  border-color: var(--acc);
}
.haz-hotspot-info {
  flex: 1; min-width: 0;
}
.haz-hotspot-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: 3px;
}
.haz-hotspot-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.haz-hotspot-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--acc);
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.haz-hotspot:hover .haz-hotspot-arrow { transform: translateX(3px); }
.haz-hotspot-arrow svg { width: 14px; height: 14px; }

/* ═════════════════════════ COUNTY DETAIL CARDS ═════════════════════════ */
.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.county-card {
  background: var(--paper-warm);
  border: 1px solid rgba(15,27,45,.12);
  border-radius: var(--rad-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.county-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.county-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--alert);
}
.county-card[data-rank="1"]::before { background: var(--alert); }
.county-card[data-rank="2"]::before { background: var(--amber); }
.county-card[data-rank="3"]::before { background: var(--twilight); }
.county-card[data-rank="4"]::before,
.county-card[data-rank="5"]::before,
.county-card[data-rank="6"]::before,
.county-card[data-rank="7"]::before,
.county-card[data-rank="8"]::before,
.county-card[data-rank="9"]::before,
.county-card[data-rank="10"]::before { background: var(--ink-mute); }

.cc-rank {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--ink-mute);
}
.cc-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  font-variation-settings: "opsz" 90, "WONK" 1, "SOFT" 20;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}
.cc-name small {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 4px;
  letter-spacing: 0;
}
.cc-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  border-top: 1px dashed rgba(15,27,45,.18);
  border-bottom: 1px dashed rgba(15,27,45,.18);
  padding: 14px 0;
}
.cc-num-lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.cc-num-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  font-variation-settings: "opsz" 90, "WONK" 1;
  line-height: 1;
}
.cc-num-val.delta.up { color: var(--alert); }
.cc-num-val.delta.down { color: var(--forest); }
.cc-num-val.delta.flat { color: var(--ink-mute); }

.cc-haz {
  display: flex; align-items: center; gap: 10px;
}
.cc-haz-ico {
  font-size: 22px;
  display: inline-block;
  animation: tilt 5s ease-in-out infinite;
}
.cc-haz-lbl-wrap {
  flex: 1; min-width: 0;
}
.cc-haz-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1px;
}
.cc-haz-lbl {
  font-size: 14px;
  font-weight: 600;
}
.cc-streets {
  list-style: none; margin: 0; padding: 0;
}
.cc-streets li {
  padding: 7px 0;
  font-size: 13px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
  border-bottom: 1px dotted rgba(15,27,45,.15);
}
.cc-streets li:last-child { border-bottom: none; }
.cc-streets .nm {
  font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cc-streets .ct {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--alert-deep);
  flex-shrink: 0;
}

/* Time-of-day sub-blocks inside county cards */
.cc-time-blocks {
  display: flex; flex-direction: column; gap: 12px;
}
.cc-time-block {
  background: rgba(15,27,45,.04);
  border-radius: var(--rad-md);
  padding: 10px 12px;
}
.cc-time-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.cc-time-ico { font-size: 16px; line-height: 1; }
.cc-time-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}
.cc-time-streets {
  list-style: none; margin: 0; padding: 0;
}
.cc-time-streets li {
  padding: 4px 0;
  font-size: 12.5px;
}
.cc-time-streets li.cc-time-empty {
  color: var(--ink-faint);
  font-style: italic;
  font-size: 12px;
  padding: 6px 0 2px;
}
.cc-time-streets a {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none !important;
  transition: color .15s ease;
}
.cc-time-streets a:hover { color: var(--alert); }
.cc-time-streets .nm {
  font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cc-time-streets .ct {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--alert-deep);
  flex-shrink: 0;
}
.cc-cta {
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700;
  color: var(--alert);
}
.cc-cta:hover { color: var(--alert-deep); }
.cc-cta svg { width: 12px; height: 12px; }

/* ═════════════════════════ TOP HOTSPOTS TABLE ═════════════════════════ */
.hotspots-table {
  background: var(--paper-warm);
  border: 1px solid rgba(15,27,45,.12);
  border-radius: var(--rad-lg);
  overflow: hidden;
}
.hotspots-row {
  display: grid;
  grid-template-columns: 48px 1fr 100px 120px;
  gap: 16px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(15,27,45,.10);
  transition: background .15s ease;
}
.hotspots-row:last-child { border-bottom: none; }
.hotspots-row.head {
  background: var(--paper-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}
.hotspots-row.data:hover { background: var(--paper-deep); }
.hotspots-row .rk-large {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  font-variation-settings: "opsz" 144, "WONK" 1;
  color: var(--ink);
  line-height: 1;
}
.hotspots-row .place {
  font-weight: 600;
  font-size: 15px;
}
.hotspots-row .place small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-top: 2px;
}
.hotspots-row .ct {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--alert-deep);
}
.hotspots-row .map-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  background: #D7263D !important;
  color: #FFFFFF !important;
  border: 2px solid #D7263D;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(215, 38, 61, 0.30);
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.hotspots-row .map-link:hover, .hotspots-row .map-link:focus {
  background: #FFFFFF !important;
  color: #D7263D !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(215, 38, 61, 0.45);
}
.hotspots-row .map-link:visited { color: #FFFFFF !important; }
.hotspots-row .map-link svg { width: 12px; height: 12px; }

@media (max-width: 640px) {
  .hotspots-row { grid-template-columns: 38px 1fr 70px; padding: 14px 16px; }
  .hotspots-row.head > :nth-child(4),
  .hotspots-row.data > :nth-child(4) { display: none; }
}

/* ═════════════════════════ YOY TREND CHART ═════════════════════════ */
.yoy-card {
  background: var(--paper-warm);
  border: 1px solid rgba(15,27,45,.12);
  border-radius: var(--rad-lg);
  padding: 28px;
}
.yoy-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 20px;
  align-items: end;
  min-height: 160px;
}
.yoy-bar-wrap {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
}
.yoy-bar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}
.yoy-bar {
  width: 100%;
  background: linear-gradient(180deg, var(--alert), var(--alert-deep));
  border-radius: var(--rad-sm) var(--rad-sm) 0 0;
  min-height: 6px;
  transition: height 1.2s cubic-bezier(.4,0,.1,1);
}
.yoy-bar.is-current { background: linear-gradient(180deg, var(--amber), var(--amber-deep)); }
.yoy-year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-align: center;
  color: var(--ink-mute);
  font-weight: 600;
}

/* ═════════════════════════ METHODOLOGY ═════════════════════════ */
.methodology {
  background: var(--ink);
  color: rgba(244, 239, 230, .85);
  border-radius: var(--rad-lg);
  padding: 36px 38px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
}
@media (max-width: 760px) { .methodology { grid-template-columns: 1fr; gap: 20px; } }
.methodology h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  font-variation-settings: "opsz" 144, "WONK" 1, "SOFT" 30;
  letter-spacing: -.02em;
  color: var(--paper);
  margin: 0 0 4px;
  line-height: 1;
}
.methodology .meth-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
  font-weight: 700;
}
.meth-text p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.65; }
.meth-text p:last-child { margin-bottom: 0; }
.meth-text strong { color: var(--paper); }
.meth-text code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(255,255,255,.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--amber);
}

/* ═════════════════════════ FOOTER ═════════════════════════ */
footer {
  padding: 40px 0 80px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
}
footer .foot-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}
footer a { color: var(--ink); border-bottom: 1px solid var(--ink-mute); }

/* ═════════════════════════ MOTION-REDUCE ═════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
