/* ---------- Tokens ---------- */
:root {
  --bg: #f6f2ea;          /* warm paper */
  --bg-alt: #eee7d9;      /* section alt */
  --ink: #1c2528;         /* near-black slate */
  --ink-2: #3f4a4d;
  --muted: #6a6f6d;
  --line: #d9cfbe;
  --river: #2f6b7a;       /* Doe blue-teal */
  --river-2: #4a97a8;
  --moss: #4a6b3a;        /* forest accent */
  --rust: #b7541f;        /* trout orange / CTA */
  --gold: #c6952a;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(28,37,40,.05), 0 8px 24px rgba(28,37,40,.06);
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .4em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--river); text-decoration: none; border-bottom: 1px solid rgba(47,107,122,.25); transition: color .15s, border-color .15s; }
a:hover { color: var(--rust); border-color: var(--rust); }
.small { font-size: .875rem; }
.muted { color: var(--muted); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--rust);
  margin: 0 0 .8em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246,242,234,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); border: 0; }
.brand-mark { color: var(--river); flex-shrink: 0; }
.brand-word { font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-word strong { font-weight: 700; }
.brand.small .brand-word { font-size: 1rem; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink-2); border: 0; font-size: .94rem; font-weight: 500; }
.nav a:hover { color: var(--rust); }

.brand-block { display: flex; flex-direction: column; gap: 4px; }
.mh-back {
  font-size: .78rem; font-weight: 600; color: var(--rust);
  border: 0; letter-spacing: .01em; width: fit-content;
}
.mh-back:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(1200px 400px at 80% -100px, rgba(74,151,168,.18), transparent 60%),
    radial-gradient(700px 300px at 10% 30px, rgba(183,84,31,.08), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 900px; }
.display { font-family: 'Fraunces', Georgia, serif; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 680px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; margin: 34px 0 18px; max-width: 640px;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats .num { font-family: 'Fraunces', Georgia, serif; font-size: 1.9rem; font-weight: 600; color: var(--river); }
.hero-stats .lbl { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hero-note { font-size: .9rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 780px; margin-bottom: 32px; }
.section-lede { color: var(--ink-2); font-size: 1.05rem; }

/* ---------- Map ---------- */
.map-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .87rem;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--river); color: var(--river); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.map-canvas {
  height: 560px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #d8e5e8;
}
.map-legend {
  display: flex; gap: 22px; flex-wrap: wrap;
  margin: 18px 0 28px;
  font-size: .88rem;
  color: var(--ink-2);
}
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: middle; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.dot-park   { background: #2f6b7a; }
.dot-drift  { background: #b7541f; }
.dot-paddle { background: #4a6b3a; }
.dot-wild   { background: #6a4a7a; }
.dot-shop   { background: #c6952a; }
.legend-star { display: inline-block; width: 16px; margin-right: 6px; color: #c62828; font-size: 15px; line-height: 1; vertical-align: middle; text-shadow: 0 0 2px rgba(0,0,0,.15); }

/* Leaflet marker override */
.leaflet-marker-pin {
  width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { margin: 12px 14px; font-family: 'Inter', sans-serif; font-size: .9rem; line-height: 1.45; }
.leaflet-popup-content h4 { font-family: 'Fraunces', serif; font-size: 1.05rem; margin: 0 0 6px; color: var(--ink); }
.leaflet-popup-content .tag {
  display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 999px;
  background: rgba(47,107,122,.1); color: var(--river); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
.leaflet-popup-content ul { margin: 6px 0 0; padding-left: 18px; }

/* Access cards below map */
.access-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-top: 22px;
}
.access-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  cursor: pointer;
}
.access-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--river); }
.access-card .tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.access-card h4 { font-family: 'Fraunces', serif; font-size: 1.05rem; margin: 6px 0 6px; color: var(--ink); }
.access-card p { font-size: .88rem; color: var(--ink-2); margin: 0; }

/* ---------- Seasonal calendar ---------- */
.calendar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cal-head, .cal-row {
  display: grid;
  grid-template-columns: 130px 1fr 1fr 2fr;
  align-items: center;
}
.cal-head {
  background: var(--ink);
  color: var(--bg);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}
.cal-head > div { padding: 12px 16px; }
.cal-row { border-top: 1px solid var(--line); }
.cal-row > div { padding: 14px 16px; }
.cal-row .month { font-family: 'Fraunces', serif; font-size: 1.02rem; }
.cal-row .month small { display: block; color: var(--muted); font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: normal; }
.cal-row .note { font-size: .9rem; color: var(--ink-2); }
.bar {
  display: inline-block;
  height: 10px;
  border-radius: 999px;
  background: #ddd4c1;
  width: 100%;
  max-width: 160px;
  position: relative;
  overflow: hidden;
}
.bar::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--river-2), var(--river));
  transform-origin: left; transform: scaleX(var(--v, 0));
  transition: transform .4s;
}
.bar.b-1 { --v: .22; }
.bar.b-2 { --v: .5; }
.bar.b-3 { --v: .75; }
.bar.b-4 { --v: 1; }
.bar.b-4::before { background: linear-gradient(90deg, var(--rust), var(--gold)); }

.season-legend {
  display: flex; gap: 22px; flex-wrap: wrap;
  margin: 18px 0 28px;
  font-size: .88rem;
  color: var(--ink-2);
  align-items: center;
}
.season-legend .bar { max-width: 60px; margin-right: 6px; vertical-align: middle; }

.callout {
  margin-top: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--river);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.callout.warn { border-left-color: var(--rust); }
.callout h3 { margin: 0 0 8px; font-family: 'Fraunces', serif; font-size: 1.1rem; }
.callout p { margin: 0; color: var(--ink-2); }
.callout ul { margin: 0; padding-left: 20px; color: var(--ink-2); }

@media (max-width: 720px) {
  .cal-head, .cal-row { grid-template-columns: 90px 1fr 1fr; }
  .cal-head > div:nth-child(4), .cal-row > div:nth-child(4) { display: none; }
}

/* ---------- Tackle cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spun-gear { margin-top: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card.accent { border-top: 4px solid var(--rust); }
.card h3 { margin-top: 0; font-family: 'Fraunces', serif; font-size: 1.2rem; }
.card .big {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  color: var(--river);
  margin: -.2em 0 .8em;
  letter-spacing: -.01em;
}
.tight { margin: 0; padding-left: 20px; color: var(--ink-2); }
.tight li { margin: .3em 0; }
.tight.two-col {
  columns: 2; column-gap: 24px; padding-left: 20px;
}
@media (max-width: 520px) { .tight.two-col { columns: 1; } }

/* ---------- Zones ---------- */
.zone {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.zone-diag { background: #d3e4e8; }
.zone-diag svg { display: block; width: 100%; height: auto; }
.zone h3 { margin: 18px 22px 8px; font-family: 'Fraunces', serif; font-size: 1.2rem; }
.zone p { margin: 0 22px 12px; color: var(--ink-2); font-size: .95rem; }
.zone ul { margin: 0 22px 22px; padding-left: 20px; color: var(--ink-2); font-size: .92rem; }

/* ---------- Fly grid ---------- */
.fly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.fly {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform .18s, box-shadow .18s;
}
.fly:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fly-icon {
  width: 100%; height: 90px;
  background: #f0eadd;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.fly-icon svg { max-width: 88%; height: 70%; }
.fly h4 { font-family: 'Fraunces', serif; font-size: 1.05rem; margin: 0 0 4px; }
.fly .size { font-size: .78rem; color: var(--rust); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.fly p { font-size: .88rem; color: var(--ink-2); margin: 0; }

/* ---------- Checklist ---------- */
.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.check-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.check-col h3 { font-family: 'Fraunces', serif; font-size: 1.1rem; margin: 0 0 12px; }
.check-col ul { list-style: none; margin: 0; padding: 0; }
.check-col li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0;
  font-size: .92rem;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
}
.check-col li:hover { color: var(--ink); }
.check-col .box {
  width: 16px; height: 16px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .12s, border-color .12s;
}
.check-col li.checked .box {
  background: var(--moss);
  border-color: var(--moss);
}
.check-col li.checked .box::after {
  content: ""; width: 4px; height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translateY(-1px);
}
.check-col li.checked { color: var(--muted); text-decoration: line-through; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 44px 0 36px;
}
.site-footer .brand-word, .site-footer h4 { color: #fff; }
.site-footer a { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.2); }
.site-footer a:hover { color: #fff; border-color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.site-footer .muted { color: rgba(255,255,255,.55); }
.sources h4 { font-family: 'Fraunces', serif; font-size: 1rem; margin: 0 0 10px; }
.sources ul { margin: 0; padding-left: 18px; }
.sources li { margin: 4px 0; font-size: .88rem; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }

/* Responsive header */
@media (max-width: 720px) {
  .header-inner { padding: 12px 16px; gap: 12px; flex-wrap: wrap; }
  .brand-word { font-size: 1rem; white-space: nowrap; }
  .nav { gap: 14px; width: 100%; justify-content: space-between; }
  .nav a { font-size: .82rem; }
  .wrap { padding: 0 18px; }
  .hero { padding: 48px 0 32px; }
  .section { padding: 52px 0; }
  .map-canvas { height: 440px; }
}
@media (max-width: 420px) {
  .nav { gap: 10px; }
  .nav a { font-size: .78rem; }
}
