:root {
  --paper: #fff7ef;
  --paper-2: #ffe8d2;
  --card: #ffffff;
  --ink: #1a1a28;
  --ink-soft: #3d3a48;
  --muted: #6b6570;
  --coral: #f15b4c;
  --sunset: #ff6b2c;
  --pink: #ff4d6d;
  --gold: #f4b942;
  --teal: #14b8a6;
  --sky: #2e9bff;
  --violet: #7b5cff;
  --navy: #243056;
  --line: #f0d8c4;
  --shadow: 0 14px 40px rgba(36, 48, 86, 0.10);
  --radius: 20px;
  --font-display: "Fraunces", Palatino, "Palatino Linotype", Georgia, serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(255, 107, 44, 0.16), transparent 55%),
    radial-gradient(800px 380px at 100% 0%, rgba(46, 155, 255, 0.16), transparent 50%),
    radial-gradient(700px 320px at 80% 100%, rgba(20, 184, 166, 0.12), transparent 50%),
    var(--paper);
  min-height: 100vh;
  line-height: 1.55;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #0e4a86; }
a:hover { color: var(--coral); }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; background: #fff; padding: 8px 12px; z-index: 20; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1.25rem;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #ff6b2c, #ff4d6d, #f4b942, #14b8a6, #2e9bff) 1;
  background: rgba(255, 247, 239, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex: 0 1 auto;
  min-width: 0;
}
.brand-logo, .brand img.brand-logo, .brand svg.brand-logo {
  width: min(400px, 78vw);
  height: auto;
  display: block;
}
@media (min-width: 900px) {
  .brand-logo, .brand img.brand-logo, .brand svg.brand-logo { width: min(360px, 38vw); }
  .site-nav a { font-size: 0.86rem; padding: 0.38rem 0.55rem; }
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.15rem;
  justify-content: flex-end;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: #fff7ef;
}

.wrap { width: min(1120px, calc(100% - 1.5rem)); margin: 0 auto; }
.hero { padding: 1.6rem 0 0.5rem; text-align: center; }
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.hero h1, .page-head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.6rem;
  background: linear-gradient(90deg, #1a1a28 0%, #c44820 40%, #0e7380 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not (background-clip: text) {
  .hero h1, .page-head h1 { color: var(--ink); background: none; }
}
.lede, .page-head p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46rem;
  margin: 0 auto 1.2rem;
}
.legend {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.swatch {
  display: inline-block;
  width: 0.85rem; height: 0.85rem;
  border-radius: 3px;
  margin-right: 0.35rem;
  vertical-align: -1px;
}
.swatch.on {
  background: linear-gradient(135deg, #f15b4c, #2e9bff);
}
.swatch.off {
  background: #f3d7c8;
  border: 1px solid #e8c0aa;
}

.map-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.8rem 0.8rem 1rem;
  margin-bottom: 1.5rem;
}
.map-toolbar {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
.map-toolbar label { font-weight: 600; font-size: 0.92rem; }
.map-toolbar select {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  min-width: min(100%, 16rem);
  min-height: 44px;
}
.us-map { width: 100%; height: auto; touch-action: manipulation; }
.us-map .state-shape { cursor: pointer; }

.panel-backdrop {
  position: fixed; inset: 0;
  background: rgba(26, 26, 40, 0.4);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
  z-index: 50;
}
.panel-backdrop.open { opacity: 1; pointer-events: auto; }
.panel {
  position: fixed;
  z-index: 60;
  background: var(--card);
  border-radius: 20px 20px 0 0;
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem 1.6rem;
  max-height: min(82vh, 760px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  left: 0; right: 0; bottom: 0;
  transform: translateY(110%);
  transition: transform .22s ease;
}
.panel.open { transform: translateY(0); }
@media (min-width: 800px) {
  .panel {
    left: auto; right: 1.5rem; bottom: auto; top: 5.5rem;
    width: min(440px, 44vw);
    border-radius: 18px;
    transform: translateX(120%);
    max-height: calc(100vh - 7rem);
  }
  .panel.open { transform: translateX(0); }
}
.panel-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  position: sticky; top: -1rem; background: var(--card); padding-top: 0.2rem; z-index: 1;
}
.panel h2 {
  font-family: var(--font-display);
  margin: 0 0 0.2rem;
  font-size: 1.55rem;
}
.panel .count { margin: 0 0 0.8rem; color: var(--muted); font-size: 0.92rem; }
.close-btn {
  border: 0; background: var(--paper-2); color: var(--ink);
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.4rem; line-height: 1; cursor: pointer; flex: 0 0 auto;
}
.empty-note {
  background: var(--paper);
  border-left: 4px solid var(--gold);
  padding: 0.9rem 1rem;
  border-radius: 0 12px 12px 0;
}
.empty-note a { font-weight: 600; }

.card {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}
.card-meta {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.card h3 { margin: 0 0 0.35rem; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: #0e4a86; }
.card .excerpt { margin: 0 0 0.5rem; color: var(--ink-soft); }
.archive-link {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}
.archive-link::after { content: " ↗"; }

.today-note, .update-2026 {
  margin: 0.55rem 0 0.9rem;
  padding: 0.85rem 0.95rem 0.95rem;
  border-radius: 14px;
}
.today-note {
  background: #eef9f6;
  border-left: 4px solid var(--teal);
}
.update-2026 {
  background: linear-gradient(180deg, #fff4ea 0%, #ffffff 70%);
  border: 1px solid rgba(255, 107, 44, 0.28);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.07);
  margin-top: 1.1rem;
}
.update-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #c44820;
  margin: 0 0 0.35rem;
}
.today-note .update-kicker { color: #0e7380; }
.update-2026 h3, .today-note h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}
.update-2026 h4 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.8rem 0 0.3rem;
  color: var(--navy);
}
.update-2026 ul { margin: 0 0 0.2rem; padding-left: 1.15rem; }
.update-2026 li { margin: 0.15rem 0; }
.update-2026 .best-season { margin: 0.2rem 0 0.2rem; color: var(--ink-soft); }
.sources {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.sources a { margin-right: 0.7rem; font-weight: 600; }

.sections { padding: 0.5rem 0 2.5rem; }
.section-grid, .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
}
.tile, .card-grid .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 6px 18px rgba(26,39,64,0.05);
  border-top: 5px solid var(--teal);
}
.section-grid .tile:nth-child(1) { border-top-color: #ff6b2c; }
.section-grid .tile:nth-child(2) { border-top-color: #14b8a6; }
.section-grid .tile:nth-child(3) { border-top-color: #f4b942; }
.section-grid .tile:nth-child(4) { border-top-color: #2e9bff; }
.section-grid .tile:nth-child(5) { border-top-color: #ff4d6d; }
.section-grid .tile:nth-child(6) { border-top-color: #7b5cff; }
.card-grid .card { border-top-width: 1px; border-top-color: var(--line); }
.tile h2, .page-head h1 { font-family: var(--font-display); }
.tile h2 { margin: 0 0 0.4rem; font-size: 1.4rem; color: var(--ink); background: none; }
.tile p { margin: 0 0 0.8rem; color: var(--ink-soft); }
.tile a { font-weight: 600; text-decoration: none; }

.page-head { padding: 2rem 0 1rem; }
.prose { max-width: 42rem; }
.prose h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 1.8rem 0 0.5rem; }
.prose p { font-size: 1.05rem; }
.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
}

.site-footer {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #ff6b2c, #ff4d6d, #f4b942, #14b8a6, #2e9bff) 1;
  padding: 1.6rem 1rem 2.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  background: #fff;
}
.site-footer p { margin: 0.3rem auto; max-width: 42rem; }

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 0.8rem 0.9rem;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.7rem 0.8rem; min-height: 44px; }
  .brand-logo, .brand img.brand-logo, .brand svg.brand-logo { width: min(320px, 72vw); }
}
