/* ═══════════════════════════════════════════════════════════════
   Midwest Morel Forecast — Public SEO Pages
   Shared stylesheet for /states/, /guides/, /methodology/, /about/
   ═══════════════════════════════════════════════════════════════ */

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0e120f;
  --surface:   #131a0f;
  --surface2:  #1c2618;
  --border:    rgba(255,255,255,0.08);
  --border2:   rgba(255,255,255,0.14);
  --primary:   #7c9a4e;
  --pri-bg:    rgba(124,154,78,0.10);
  --pri-bd:    rgba(124,154,78,0.25);
  --amber:     #f59e0b;
  --amb-bg:    rgba(245,158,11,0.10);
  --amb-bd:    rgba(245,158,11,0.25);
  --red:       #ef4444;
  --red-bg:    rgba(239,68,68,0.10);
  --red-bd:    rgba(239,68,68,0.25);
  --text:      #dee0da;
  --muted:     #8a9082;
  --max:       800px;
  --r:         0.75rem;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { line-height: 1.25; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); }
h2 { font-size: clamp(1.2rem, 3vw, 1.55rem); }
h3 { font-size: 1.05rem; }
a  { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
p  { margin-bottom: 0.875rem; color: inherit; }
p:last-child { margin-bottom: 0; }
ul,ol { margin: 0.5rem 0 0.875rem 1.4rem; }
li { margin-bottom: 0.3rem; }
strong { font-weight: 600; }
em { font-style: italic; }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-amber { color: var(--amber); }
.text-red { color: var(--red); }

/* ── Layout ──────────────────────────────────── */
.container  { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 2.25rem 0; border-bottom: 1px solid var(--border); }
.section:last-of-type { border-bottom: none; }
.section-heading { font-size: clamp(1.1rem,2.5vw,1.4rem); font-weight: 700; margin-bottom: 0.25rem; }
.section-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; line-height: 1.5; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Navigation ──────────────────────────────── */
.nav {
  background: rgba(14,18,15,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  display: flex; align-items: center; gap: 0.75rem;
  max-width: var(--max); margin: 0 auto; padding: 0.8rem 1.25rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.45rem;
  color: var(--primary); font-weight: 700; font-size: 0.9rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo span { color: var(--text); }
.nav-logo:hover { text-decoration: none; }
.nav-spacer { flex: 1; }
.nav-link { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }
.nav-link:hover { color: var(--text); }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 0.4rem 0.9rem; border-radius: var(--r);
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none !important; white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { opacity: 0.9; }

/* ── Breadcrumb ──────────────────────────────── */
.breadcrumb {
  font-size: 0.78rem; color: var(--muted);
  padding: 1rem 0 0; display: flex; flex-wrap: wrap;
  gap: 0.25rem; align-items: center; margin-bottom: -0.5rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.bc-sep { color: var(--border2); font-size: 0.9rem; }

/* ── Hero ──────────────────────────────────── */
.hero { padding: 2rem 0 1.75rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.375rem;
  background: var(--pri-bg); border: 1px solid var(--pri-bd);
  color: var(--primary); padding: 0.28rem 0.7rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 0.875rem;
}
.hero h1 { margin-bottom: 0.625rem; }
.hero .lead {
  font-size: 1rem; color: var(--muted);
  max-width: 600px; line-height: 1.65; margin-bottom: 1.25rem;
}
.timing-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.25rem; }
.timing-chip {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--r); padding: 0.5rem 0.875rem; font-size: 0.82rem;
  display: flex; flex-direction: column; gap: 0.1rem;
}
.timing-chip b { font-size: 0.67rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

/* ── Cards ──────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: calc(var(--r) * 1.33); padding: 1.25rem;
}
.card + .card { margin-top: 0.875rem; }
.card-grid { display: grid; gap: 0.875rem; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); }
.card h3 { margin-bottom: 0.375rem; }
.card p  { font-size: 0.875rem; color: var(--muted); }

/* ── Info boxes ──────────────────────────────── */
.box {
  border-radius: var(--r); padding: 0.875rem 1rem;
  border: 1px solid var(--border2); margin: 1rem 0;
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.box.green  { background: var(--pri-bg); border-color: var(--pri-bd); }
.box.amber  { background: var(--amb-bg); border-color: var(--amb-bd); }
.box.red    { background: var(--red-bg); border-color: var(--red-bd); }
.box.neutral{ background: var(--surface); }
.box-icon   { font-size: 1.1rem; flex-shrink: 0; line-height: 1; margin-top: 0.1rem; }
.box-body   { font-size: 0.875rem; line-height: 1.6; flex: 1; }
.box-title  { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; display: block; }

/* ── Table ──────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--border); margin: 1rem 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
thead { background: var(--surface2); }
th { text-align: left; padding: 0.6rem 0.875rem; color: var(--muted); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
td { padding: 0.6rem 0.875rem; border-top: 1px solid var(--border); vertical-align: top; }
tr:hover td { background: rgba(255,255,255,0.02); }
.tag {
  display: inline-flex; align-items: center;
  padding: 0.15rem 0.5rem; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600; white-space: nowrap;
}
.tag.green { background: var(--pri-bg); color: var(--primary); }
.tag.amber { background: var(--amb-bg); color: var(--amber); }
.tag.blue  { background: rgba(96,165,250,0.1); color: #60a5fa; }
.tag.gray  { background: var(--surface2); color: var(--muted); }

/* ── FAQ ─────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  padding: 1rem 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 0.92rem;
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
}
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 1.2rem; flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 0 1rem; color: var(--muted); font-size: 0.875rem; line-height: 1.7; }
.faq-answer p { margin-bottom: 0.5rem; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { color: var(--muted); }

/* ── CTA block ──────────────────────────────── */
.cta-block {
  background: linear-gradient(135deg, var(--pri-bg) 0%, rgba(14,18,15,0) 70%);
  border: 1px solid var(--pri-bd); border-radius: calc(var(--r) * 2);
  padding: 2rem 1.5rem; text-align: center; margin: 2rem 0;
}
.cta-block h2 { margin-bottom: 0.5rem; }
.cta-block p { color: var(--muted); max-width: 480px; margin: 0 auto 1.25rem; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.4rem; border-radius: var(--r);
  font-weight: 600; font-size: 0.9rem; text-decoration: none !important; transition: opacity .15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border2); }
.btn-ghost:hover { background: var(--surface); }

/* ── State grid ─────────────────────────────── */
.state-grid { display: grid; gap: 0.625rem; grid-template-columns: repeat(auto-fill,minmax(195px,1fr)); }
.state-link {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 0.875rem 1rem;
  text-decoration: none !important; color: var(--text);
  display: block; transition: border-color .15s;
}
.state-link:hover { border-color: var(--pri-bd); }
.state-link strong { display: block; font-weight: 700; margin-bottom: 0.125rem; font-size: 0.92rem; }
.state-link small { font-size: 0.78rem; color: var(--muted); }

/* ── Guide grid ─────────────────────────────── */
.guide-grid { display: grid; gap: 0.875rem; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); }
.guide-link {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: calc(var(--r) * 1.33); padding: 1.125rem 1.25rem;
  text-decoration: none !important; color: var(--text);
  display: block; transition: border-color .15s;
}
.guide-link:hover { border-color: var(--pri-bd); }
.guide-link .guide-icon { font-size: 1.75rem; margin-bottom: 0.625rem; display: block; }
.guide-link strong { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.guide-link p { font-size: 0.82rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ── Chips ──────────────────────────────────── */
.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0; }
.chip { background: var(--surface2); border: 1px solid var(--border); padding: 0.3rem 0.7rem; border-radius: 100px; font-size: 0.78rem; }
.chip.green { background: var(--pri-bg); border-color: var(--pri-bd); color: var(--primary); }
.chip.amber { background: var(--amb-bg); border-color: var(--amb-bd); color: var(--amber); }

/* ── Score meter ────────────────────────────── */
.score-range { display: flex; gap: 0.5rem; align-items: stretch; margin: 0.75rem 0; }
.score-cell {
  flex: 1; border-radius: var(--r); padding: 0.625rem 0.5rem; text-align: center;
  border: 1px solid var(--border2); font-size: 0.78rem; font-weight: 600;
}
.score-cell.go   { background: var(--pri-bg); border-color: var(--pri-bd); color: var(--primary); }
.score-cell.scout{ background: var(--amb-bg); border-color: var(--amb-bd); color: var(--amber); }
.score-cell.watch{ background: rgba(96,165,250,0.08); border-color: rgba(96,165,250,0.2); color: #60a5fa; }
.score-cell.wait { background: var(--surface2); color: var(--muted); }
.score-cell big  { display: block; font-size: 1.1rem; line-height: 1; margin-bottom: 0.25rem; }

/* ── Season Timeline Chart ──────────────────── */
.timeline-chart {
  margin: 1.5rem 0 0.5rem;
  font-size: 0.8rem;
}
.timeline-months {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0;
  margin-bottom: 0.375rem;
}
.timeline-months-track {
  position: relative;
  height: 1.25rem;
}
.tl-month {
  position: absolute;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.tl-month::before {
  content: '';
  position: absolute;
  bottom: -0.375rem;
  left: 50%;
  width: 1px;
  height: 0.375rem;
  background: var(--border2);
}
.timeline-rows {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.tl-row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  align-items: center;
  gap: 0.5rem;
  min-height: 2rem;
}
.tl-label {
  text-align: right;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0.5rem;
  line-height: 1.3;
}
.tl-label:hover { color: var(--primary); }
.tl-track {
  position: relative;
  height: 1.75rem;
  background: var(--surface2);
  border-radius: 100px;
  overflow: hidden;
}
.tl-track::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.tl-bar {
  position: absolute;
  top: 0; bottom: 0;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.67rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.4rem;
  transition: opacity .15s;
}
.tl-bar:hover { opacity: 0.85; }
.tl-bar.green {
  background: linear-gradient(90deg, rgba(100,140,50,0.55) 0%, rgba(124,154,78,0.75) 100%);
  border: 1px solid var(--pri-bd);
  color: #c5dc90;
}
.tl-bar.amber {
  background: linear-gradient(90deg, rgba(180,110,5,0.45) 0%, rgba(245,158,11,0.6) 100%);
  border: 1px solid var(--amb-bd);
  color: #fcd280;
}
.tl-bar.blue {
  background: linear-gradient(90deg, rgba(37,99,235,0.35) 0%, rgba(96,165,250,0.55) 100%);
  border: 1px solid rgba(96,165,250,0.3);
  color: #93c5fd;
}
.tl-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tl-grid-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.06);
}
.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 0.875rem;
  font-size: 0.75rem;
  color: var(--muted);
  align-items: center;
}
.tl-legend-dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 100px;
  margin-right: 0.3rem;
  vertical-align: middle;
}
.tl-legend-dot.green { background: #7c9a4e; }
.tl-legend-dot.amber { background: #f59e0b; }
.tl-legend-dot.blue  { background: #60a5fa; }
@media (max-width: 640px) {
  .timeline-months { grid-template-columns: 5.5rem 1fr; }
  .tl-row { grid-template-columns: 5.5rem 1fr; }
  .tl-label { font-size: 0.7rem; }
  .tl-bar { font-size: 0; }
  .tl-month { font-size: 0.62rem; }
}

/* ── Timeline row highlights (compare) ─────── */
.tl-row--dim { opacity: 0.28; transition: opacity .2s; }
.tl-row--dim .tl-label { color: var(--muted); }
.tl-row--a .tl-label { color: #7dd3fc; font-weight: 700; }
.tl-row--b .tl-label { color: #fbbf24; font-weight: 700; }
.tl-row--a .tl-track { box-shadow: 0 0 0 2px rgba(125,211,252,0.45); border-radius: 100px; }
.tl-row--b .tl-track { box-shadow: 0 0 0 2px rgba(251,191,36,0.45); border-radius: 100px; }
/* Current-state row on individual guide pages */
.tl-row--current .tl-label { color: var(--primary); font-weight: 700; }
.tl-row--current .tl-track { box-shadow: 0 0 0 2px rgba(124,154,78,0.45); border-radius: 100px; }

/* ── Timeline click-pick bar ────────────────── */
.tl-pick-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.tl-pick-hint {
  font-size: 0.78rem;
  color: var(--muted);
  flex-shrink: 0;
  margin-right: 0.125rem;
}
.tl-pick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  cursor: pointer;
  transition: opacity .15s, box-shadow .15s, background .15s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tl-pick-btn--a {
  background: rgba(125,211,252,0.1);
  border: 1px solid rgba(125,211,252,0.25);
  color: #7dd3fc;
}
.tl-pick-btn--b {
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.25);
  color: #fbbf24;
}
.tl-pick-btn[aria-pressed="true"].tl-pick-btn--a {
  background: rgba(125,211,252,0.2);
  border-color: rgba(125,211,252,0.55);
  box-shadow: 0 0 0 2px rgba(125,211,252,0.18);
}
.tl-pick-btn[aria-pressed="true"].tl-pick-btn--b {
  background: rgba(251,191,36,0.2);
  border-color: rgba(251,191,36,0.55);
  box-shadow: 0 0 0 2px rgba(251,191,36,0.18);
}
.tl-pick-btn[aria-pressed="false"] { opacity: 0.45; }
.tl-pick-clear {
  background: transparent;
  border: 1px solid var(--border2);
  border-radius: 100px;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.tl-pick-clear:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
/* Make each timeline row feel clickable */
.tl-row { cursor: pointer; position: relative; }
.tl-row:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* ── Guide link pill (appears on row hover / mobile long-press) ─ */
.tl-guide-link {
  position: absolute;
  left: 9.35rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: var(--surface2);
  border: 1px solid var(--pri-bd);
  border-radius: 100px;
  color: var(--primary) !important;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.13rem 0.45rem;
  text-decoration: none !important;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.tl-row:hover .tl-guide-link,
.tl-row--guide-peek .tl-guide-link {
  opacity: 1;
  pointer-events: auto;
}
.tl-guide-link:hover {
  background: var(--pri-bg);
  text-decoration: none !important;
}
@media (max-width: 640px) {
  .tl-guide-link { left: 5.85rem; }
}

/* ── Compare pickers ────────────────────────── */
.compare-pickers {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.compare-picker-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 160px;
}
.compare-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.compare-select {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  padding: 0.55rem 0.875rem;
  cursor: pointer;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9082' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  transition: border-color .15s;
}
.compare-select:focus {
  outline: none;
  border-color: var(--pri-bd);
  box-shadow: 0 0 0 3px rgba(124,154,78,0.15);
}
.compare-select option { background: #1c2618; }
.compare-vs {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 0.625rem;
  flex-shrink: 0;
}

/* ── Compare result card ────────────────────── */
.compare-result { margin-top: 0.5rem; }
.cmp-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: calc(var(--r) * 1.5);
  padding: 1.25rem;
  animation: cmpIn .2s ease;
}
@keyframes cmpIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

.cmp-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.cmp-header-vs {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.cmp-state-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  flex-shrink: 0;
}
.cmp-pill--a {
  background: rgba(125,211,252,0.12);
  border: 1px solid rgba(125,211,252,0.3);
  color: #7dd3fc;
}
.cmp-pill--b {
  background: rgba(251,191,36,0.12);
  border: 1px solid rgba(251,191,36,0.3);
  color: #fbbf24;
}

.cmp-overlap-row { margin-bottom: 1rem; }
.cmp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.4rem;
}
.cmp-badge--green {
  background: var(--pri-bg);
  border: 1px solid var(--pri-bd);
  color: var(--primary);
}
.cmp-badge--amber {
  background: var(--amb-bg);
  border: 1px solid var(--amb-bd);
  color: var(--amber);
}
.cmp-overlap-dates {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
}
.cmp-overlap-dates strong { color: var(--text); }

.cmp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.625rem;
  margin-bottom: 1rem;
}
.cmp-stat {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.75rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.cmp-stat-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.cmp-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.cmp-stat-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

.cmp-peaks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}
.cmp-peak {
  border-radius: var(--r);
  padding: 0.75rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border: 1px solid var(--border);
}
.cmp-peak--a { background: rgba(125,211,252,0.06); border-color: rgba(125,211,252,0.2); }
.cmp-peak--b { background: rgba(251,191,36,0.06); border-color: rgba(251,191,36,0.2); }
.cmp-peak-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.cmp-peak--a .cmp-peak-name { color: #7dd3fc; }
.cmp-peak--b .cmp-peak-name { color: #fbbf24; }
.cmp-peak-row {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}
.cmp-peak-row b { color: var(--text); font-weight: 600; margin-right: 0.25rem; }

.cmp-disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}
.cmp-copy-btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cmp-copy-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--green);
  color: var(--text);
}

@media (max-width: 640px) {
  .compare-pickers { gap: 0.5rem; }
  .compare-picker-wrap { min-width: 130px; }
  .cmp-peaks { grid-template-columns: 1fr; }
  .cmp-stats { grid-template-columns: 1fr 1fr; }
}

/* ── Hero forecast bar (individual state guide pages) ── */
.hero-forecast-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r);
}
.hero-forecast-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.hero-forecast-wrap .forecast-badge {
  font-size: 0.8rem;
  padding: 0.22rem 0.65rem;
}
.hero-forecast-wrap .forecast-badge--loading {
  width: 6rem;
  height: 1.15rem;
}
.hero-forecast-link {
  font-size: 0.75rem;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-forecast-link:hover { text-decoration: underline; }

/* ── Forecast score badge (state cards) ─────── */
.forecast-badge-row {
  margin-top: 0.5rem;
  min-height: 1.35rem;
  display: flex;
  align-items: center;
}
.forecast-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
}
.forecast-badge--loading {
  width: 5rem;
  height: 1.1rem;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--surface2) 25%, var(--border2) 50%, var(--surface2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border: none;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.forecast-badge--go   { background: var(--pri-bg); border-color: var(--pri-bd); color: var(--primary); }
.forecast-badge--scout{ background: var(--amb-bg); border-color: var(--amb-bd); color: var(--amber); }
.forecast-badge--watch{ background: rgba(96,165,250,0.1); border-color: rgba(96,165,250,0.2); color: #60a5fa; }
.forecast-badge--wait { background: var(--surface2); border-color: var(--border); color: var(--muted); }

/* ── Interactive State Map ───────────────────── */
.state-map-wrap {
  position: relative;
  margin: 0.5rem 0;
}
.state-map-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
  touch-action: manipulation;
}

/* Context (no-guide) states */
.state-ctx {
  fill: var(--surface2);
  stroke: var(--border2);
  stroke-width: 1;
}
.state-label-ctx {
  fill: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
  pointer-events: none;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Guide states */
.state-guide { cursor: pointer; }
.state-guide path {
  stroke-width: 1.5;
  transition: filter 0.15s, opacity 0.15s;
}
.state-guide:hover path,
.state-guide:focus path {
  filter: brightness(1.35);
  opacity: 0.9;
}
.state-guide:focus { outline: none; }
.state-guide:focus path { stroke-width: 2.5; stroke: rgba(255,255,255,0.8); }

/* Season fills */
.state-early path { fill: rgba(124,154,78,0.55);  stroke: rgba(124,154,78,0.75); }
.state-mid   path { fill: rgba(245,158,11,0.50);  stroke: rgba(245,158,11,0.70); }
.state-late  path { fill: rgba(96,165,250,0.45);  stroke: rgba(96,165,250,0.70); }

/* State abbreviation labels */
.state-label {
  fill: rgba(255,255,255,0.9);
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Map tooltip */
.map-tooltip {
  position: absolute;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  padding: 0.45rem 0.7rem;
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 10px));
}
.map-tooltip strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text);
  margin-bottom: 0.1rem;
}
.map-tooltip span {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Map legend (re-uses .timeline-legend styles; add map-specific tweak) */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 0.875rem;
  font-size: 0.75rem;
  color: var(--muted);
  align-items: center;
}
.map-legend-dot-ctx {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  vertical-align: middle;
  margin-right: 0.3rem;
}

/* ── Divider ────────────────────────────────── */
hr { border: none; border-top: 1px solid var(--border); margin: 1.25rem 0; }

/* ── Footer ─────────────────────────────────── */
footer {
  border-top: 1px solid var(--border); padding: 1.75rem 0;
  color: var(--muted); font-size: 0.78rem;
}
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 0.875rem; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--text); }
.footer-disclaimer { line-height: 1.6; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 1.5rem 0 1.25rem; }
  .section { padding: 1.75rem 0; }
  .two-col { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .state-grid { grid-template-columns: repeat(2,1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .score-range { flex-wrap: wrap; }
  .score-cell { min-width: calc(50% - 0.25rem); }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .cta-block { padding: 1.5rem 1rem; }
  .nav-link { display: none; }
}
