/* WhenToBird design system. Tokens first: the web app consumes these. */
/* One design system for the site and the app. Light only: a white base with a bird-named palette used in
   small accents (never a large coloured surface). Legacy names (--paper --ink --muted --rule ...) are aliases;
   --map-* are the tokens the map layers read. */
:root {
  color-scheme: light;
  --ui: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  /* surfaces and text */
  --bg: #F7F8FA; --s1: #FFFFFF; --s2: #F1F5F9; --s3: #FFFFFF; --line: #E6E8EC; --line2: #CBD5E1;
  --tx: #0F172A; --tx2: #475569; --tx3: #94A3B8;
  /* the birds */
  --bluebird: #2563EB;   /* primary accent: links, buttons, selected */
  --goldfinch: #FACC15;  /* highlights, "this week" markers */
  --oriole: #F97316;     /* "arriving now" tags, small emphasis */
  --cardinal: #DC2626;   /* rare / notable, errors: sparingly */
  --mallard: #0D9488;    /* second data series */
  --chickadee: #0F172A;  /* text */
  --accent: var(--bluebird); --accent-hover: #1D4ED8; --accent-soft: #EFF4FF; --tint: var(--accent-soft);
  --accent-ink: #FFFFFF; --ring: rgba(37, 99, 235, 0.35);
  --bar: #3B82F6; --bar-low: #CBD5E1;
  --warn2: #92400E; --warn-bg: #FEF3C7; --danger: var(--cardinal);
  --sh: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 10px rgba(15, 23, 42, .05);
  --lv1: #EFF4FF; --lv2: #BFDBFE; --lv3: #60A5FA; --lv4: #2563EB;
  --r: 16px; --radius: 12px;
  /* legacy aliases */
  --paper: var(--bg); --paper-2: var(--s2); --ink: var(--tx); --muted: var(--tx2); --rule: var(--line); --warn: var(--warn2);
  --font-serif: var(--ui); --font-sans: var(--ui);
  --space-1: 4px; --space-2: 8px; --space-3: 12px;
  --space-4: 16px; --space-5: 28px; --space-6: 48px; --space-7: 72px;
  --measure: 65ch;
  --tap: 44px;
  /* for the map layers */
  --map-bg: var(--bg); --map-surface: var(--s1); --map-nodata: var(--s2); --map-ink: var(--tx); --map-muted: var(--tx2);
  --map-line: var(--line); --map-line-strong: var(--line2); --map-accent: var(--accent); --map-bar: var(--bar); --map-bar-low: var(--bar-low);
  --map-ramp-0: #FEF3C7; --map-ramp-1: #FCD34D; --map-ramp-2: #34D399; --map-ramp-3: #14B8A6; --map-ramp-4: #0EA5E9; --map-ramp-5: #2563EB; --map-ramp-6: #1E3A8A;
  --map-wave-early: #1E3A8A; --map-wave-late: #FDE68A; --map-front: rgba(15, 23, 42, 0.8); --map-glow: rgba(255, 255, 255, 0.75);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 18px/1.65 var(--font-serif); font-variant-numeric: tabular-nums;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-4); }
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; font-weight: 600; margin: var(--space-6) 0 var(--space-3); }
h1 { font-size: 2.6rem; margin: var(--space-2) 0 var(--space-3); letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: 1.6rem; border-top: 1px solid var(--rule); padding-top: var(--space-4); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; margin-top: var(--space-5); }
p, ul, ol { margin: 0 0 var(--space-4); max-width: var(--measure); }
li { margin-bottom: 4px; }
small, .small { font-size: 0.88rem; color: var(--muted); }
.label, .kicker {
  font-family: var(--font-sans); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0;
}
.label a { color: inherit; }
.answer { font-size: 1.3rem; line-height: 1.5; max-width: 40em; margin: var(--space-3) 0 var(--space-4); }
.answer strong { color: var(--accent); font-weight: 700; }
.lede { color: var(--muted); font-size: 1.12rem; }

/* page header: eyebrow, H1, answer */
.page-head { padding: var(--space-3) 0 var(--space-2); }
.page-head .label { margin-top: var(--space-2); }

/* header / footer */
.site-head { border-bottom: 2px solid var(--ink); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-5); min-height: 60px; }
.brand { font: 700 1.4rem var(--font-serif); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; min-height: var(--tap); }
.brand b { color: var(--accent); }
.nav { display: flex; gap: 0; font: 1rem var(--font-sans); margin-right: calc(-1 * var(--space-3)); }
.nav a { color: var(--ink); text-decoration: none; padding: 0 var(--space-3); min-height: var(--tap); display: inline-flex; align-items: center; }
.nav a:hover { color: var(--accent); text-decoration: underline; }
.crumbs { font: 0.88rem var(--font-sans); color: var(--muted); margin: var(--space-3) 0 0; display: flex; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 32px; }
.crumbs span.sep { margin: 0 8px; }
.site-foot { margin-top: var(--space-7); border-top: 2px solid var(--ink); padding: var(--space-4) 0 var(--space-6); font: 0.9rem/1.55 var(--font-sans); color: var(--muted); }
.site-foot a { color: var(--muted); }
.site-foot p { max-width: 70ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); margin: 0 0 var(--space-3); }
.foot-links a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); }

/* table */
.table { width: 100%; border-collapse: collapse; font: 0.98rem/1.4 var(--font-sans); margin: 0 0 var(--space-4); }
.table th { text-align: left; font-size: 0.76rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--ink); padding: 8px 10px 8px 0; }
.table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.table td.n, .table th.n { text-align: right; font-variant-numeric: tabular-nums; padding-right: 0; padding-left: 10px; }
.table tr:hover td { background: var(--paper-2); }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* chart: eBird-like bars */
.chart { margin: var(--space-3) 0 var(--space-4); }
.chart svg { display: block; width: 100%; max-width: 100%; height: auto; }
.chart .bar { fill: var(--bar); }
.chart .bar.low { fill: var(--bar-low); }
.chart .grid { stroke: var(--rule); stroke-width: 1; }
.chart .axis { stroke: var(--ink); stroke-width: 1; }
.chart text { fill: var(--muted); font: 16px var(--font-sans); }
.chart .tick { fill: var(--ink); }
.chart figcaption, .chart .cap { font: 0.86rem/1.45 var(--font-sans); color: var(--muted); margin-top: var(--space-2); max-width: var(--measure); }
.spark { display: inline-block; vertical-align: middle; width: 96px; height: 18px; }
.spark .bar { fill: var(--bar); }
.spark .bar.low { fill: var(--bar-low); }
.spark .cur { fill: var(--accent); }

/* controls */
.btn { display: inline-flex; align-items: center; min-height: var(--tap); font: 600 1rem var(--font-sans); padding: 0 var(--space-4); border: 1px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--paper-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent); filter: brightness(1.1); }
.badge { display: inline-block; font: 600 0.72rem var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; padding: 1px 6px; border: 1px solid var(--accent); color: var(--accent); border-radius: var(--radius); vertical-align: 2px; }
.badge.muted { border-color: var(--rule); color: var(--muted); }
.note { font: 0.92rem/1.55 var(--font-sans); color: var(--muted); border-left: 3px solid var(--rule); padding: 2px 0 2px var(--space-3); margin: var(--space-4) 0; max-width: var(--measure); }
.note.warn { border-left-color: var(--warn); color: var(--ink); }

/* When to look: the answer block */
.when { margin: var(--space-4) 0 var(--space-5); border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); }
.when-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.when-grid > div { padding: var(--space-4) var(--space-4) var(--space-3) 0; border-right: 1px solid var(--rule); }
.when-grid > div + div { padding-left: var(--space-4); }
.when-grid > div:last-child { border-right: 0; }
.when-grid .label { display: block; }
.when-grid .big { display: block; font: 600 2.4rem/1.05 var(--font-serif); letter-spacing: -0.02em; margin-top: var(--space-1); }
.when-grid .sub { display: block; font: 0.92rem/1.4 var(--font-sans); color: var(--muted); margin-top: var(--space-1); }
.when-grid .peak .big { color: var(--accent); }
.verdict { font: 600 1.15rem/1.4 var(--font-serif); margin: 0; padding: var(--space-3) 0 var(--space-4); border-top: 1px solid var(--rule); max-width: none; }
.verdict .small { font: 400 0.92rem var(--font-sans); }

/* 12-month calendar strip */
.cal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; list-style: none; padding: 0; margin: 0 0 var(--space-4); max-width: none; font: 0.8rem var(--font-sans); }
.cal li { margin: 0; text-align: center; padding: 10px 0 8px; background: var(--paper-2); color: var(--muted); border-radius: var(--radius); line-height: 1.2; }
.cal li b { display: block; font-weight: 600; }
.cal li.l1 { background: var(--lv1); color: var(--ink); }
.cal li.l2 { background: var(--lv2); color: var(--tx); }
.cal li.l3 { background: var(--lv3); color: var(--tx); }
.cal li.l4 { background: var(--lv4); color: #fff; }
.cal li.pk { outline: 2px solid var(--ink); outline-offset: -2px; }
.cal-key { font: 0.8rem var(--font-sans); color: var(--muted); margin: 0 0 var(--space-4); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ranked rows: counties, species */
.rank { list-style: none; padding: 0; margin: 0 0 var(--space-4); max-width: none; }
.rank li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) 9rem 4rem; align-items: center; column-gap: var(--space-3); padding: 8px 0; margin: 0; border-bottom: 1px solid var(--rule); font: 1.05rem/1.35 var(--font-serif); min-height: var(--tap); }
.rank li.nolead { grid-template-columns: minmax(0, 1fr) 9rem 4rem; }
.rank .rk { font: 0.88rem var(--font-sans); color: var(--muted); text-align: right; }
.rank .nm a { text-decoration: none; font-weight: 600; }
.rank .nm a:hover { text-decoration: underline; }
.rank .meta { display: block; font: 0.86rem var(--font-sans); color: var(--muted); }
.rank .mb { display: block; height: 10px; background: var(--paper-2); border-radius: 1px; }
.rank .mb i { display: block; height: 100%; background: var(--bar); border-radius: 1px; }
.rank .pc { font: 600 1.05rem var(--font-sans); text-align: right; }
.rank .sp { grid-column: 1 / -1; }
.rank-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); border-top: 1px solid var(--ink); padding-top: var(--space-2); margin-top: var(--space-5); }
.rank-head h2, .rank-head h3 { border: 0; padding: 0; margin: 0; font-size: 1.3rem; }
.rank-head span { font: 0.82rem var(--font-sans); color: var(--muted); }
.rank-head + .rank { margin-top: var(--space-2); }

/* pill switcher */
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--space-3) 0 var(--space-4); padding: 0; list-style: none; max-width: none; }
.pills li { margin: 0; }
.pills a { display: inline-flex; align-items: center; justify-content: center; min-width: 3.2rem; min-height: var(--tap); padding: 0 14px; font: 600 0.95rem var(--font-sans); border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); text-decoration: none; background: transparent; }
.pills a:hover { border-color: var(--ink); }
.pills a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pills.seasons a { text-transform: capitalize; }

/* plain link rows */
.rows { list-style: none; padding: 0; margin: 0 0 var(--space-4); max-width: none; }
.rows li { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0 var(--space-4); padding: 10px 0; margin: 0; border-bottom: 1px solid var(--rule); min-height: var(--tap); }
.rows .meta { font: 0.92rem var(--font-sans); color: var(--muted); }

/* collapsible sections */
details.fold { border-top: 1px solid var(--rule); margin: var(--space-6) 0 var(--space-4); }
details.fold > summary { cursor: pointer; list-style: none; font: 600 1.6rem/1.2 var(--font-serif); letter-spacing: -0.01em; padding: var(--space-4) 0; min-height: var(--tap); display: flex; justify-content: space-between; align-items: center; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: "Show"; font: 600 0.85rem var(--font-sans); color: var(--accent); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px; }
details.fold[open] > summary::after { content: "Hide"; }

/* layout bits */
.facts { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin: var(--space-4) 0; padding: var(--space-4) 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); }
.facts div { min-width: 8rem; }
.facts .label { display: block; }
.facts .v { font: 600 1.7rem/1.15 var(--font-serif); display: block; margin-top: 2px; letter-spacing: -0.01em; }
.cols { column-width: 14rem; column-gap: var(--space-5); margin: 0 0 var(--space-4); padding: 0; list-style: none; max-width: none; }
.cols li { break-inside: avoid; padding: 0; border-bottom: 1px solid var(--rule); font: 1rem var(--font-sans); margin: 0; }
.cols li a { display: flex; align-items: center; min-height: var(--tap); text-decoration: none; }
.cols li a:hover { text-decoration: underline; }
.cols li .small { padding: 10px 0; }
.faq { margin: 0 0 var(--space-4); }
.faq dt { font-weight: 600; margin-top: var(--space-4); font-size: 1.08rem; }
.faq dd { margin: 4px 0 var(--space-3); max-width: var(--measure); color: var(--ink); }
.more { list-style: none; padding: 0; max-width: none; }
.more li { border-bottom: 1px solid var(--rule); margin: 0; }
.more a { display: flex; align-items: center; min-height: var(--tap); padding: 6px 0; }
.prose { font-size: 1.12rem; line-height: 1.7; }
.prose h2 { margin-top: var(--space-6); }
.prose img { max-width: 100%; height: auto; }
.prose blockquote { margin: 0 0 var(--space-4); padding-left: var(--space-4); border-left: 3px solid var(--accent); color: var(--muted); }
.post-list article { padding: var(--space-4) 0; border-bottom: 1px solid var(--rule); }
.post-list h2 { border: 0; padding: 0; margin: 4px 0 6px; font-size: 1.4rem; }
.post-list h2 a { text-decoration: none; }
.post-list h2 a:hover { text-decoration: underline; }
.post-list p { margin-bottom: 4px; }
.pager { display: flex; justify-content: space-between; font: 1rem var(--font-sans); margin: var(--space-4) 0; }
.pager a { display: inline-flex; align-items: center; min-height: var(--tap); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); margin: var(--space-4) 0; }
.price-grid > div { padding: var(--space-4); border-right: 1px solid var(--rule); }
.price-grid > div:last-child { border-right: 0; }
.price-grid .amt { font: 600 2rem var(--font-serif); }
.search { display: block; width: 100%; max-width: 28rem; min-height: var(--tap); font: 1rem var(--font-sans); padding: 9px 12px; margin-bottom: var(--space-4); border: 1px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: var(--radius); }

@media (max-width: 640px) {
  body { font-size: 17px; }
  h1 { font-size: 2rem; }
  h2, details.fold > summary { font-size: 1.4rem; }
  h2 { margin-top: var(--space-5); }
  .answer { font-size: 1.15rem; }
  .site-head .wrap { flex-direction: column; align-items: flex-start; padding-bottom: 0; min-height: 0; }
  .brand { min-height: 48px; }
  .nav { width: calc(100% + 2 * var(--space-4)); margin: 0 calc(-1 * var(--space-4)); padding: 0 var(--space-2); border-top: 1px solid var(--rule); overflow-x: auto; }
  .nav a { padding: 0 var(--space-3); white-space: nowrap; flex: 1 0 auto; justify-content: center; }
  .when-grid { grid-template-columns: 1fr; }
  .when-grid > div, .when-grid > div + div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 var(--space-3); padding: var(--space-3) 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .when-grid > div:last-child { border-bottom: 0; }
  .when-grid .label { flex: 0 0 5.5rem; }
  .when-grid .big { font-size: 1.9rem; margin: 0; flex: 1; }
  .when-grid .sub { flex: 1 0 100%; padding-left: 5.5rem; margin: 0; }
  .cal { font-size: 0.72rem; gap: 1px; }
  .rank li { grid-template-columns: 1.8rem minmax(0, 1fr) 3.4rem; row-gap: 4px; }
  .rank li.nolead { grid-template-columns: minmax(0, 1fr) 3.4rem; }
  .rank .mb { grid-column: 2 / 4; }
  .rank li.nolead .mb { grid-column: 1 / 3; }
  .rank .spk { display: none; }
  .hide-s { display: none; }
  .table { font-size: 0.92rem; }
  .table th { font-size: 0.7rem; letter-spacing: 0.04em; }
  .table td, .table th { padding-right: 6px; }
  .price-grid > div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .facts .v { font-size: 1.4rem; }
}
@media (min-width: 641px) { .rank .spk { display: none; } .rank.has-spk li { grid-template-columns: 2.2rem minmax(0, 1fr) 8rem 4rem 100px; } .rank.has-spk .spk { display: block; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* species photo in the page header */
.page-head.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: var(--space-5); align-items: start; }
.page-head.has-photo > .label, .page-head.has-photo > h1, .page-head.has-photo > .answer { grid-column: 1; }
.page-head.has-photo > .ph { grid-column: 2; grid-row: 1 / span 3; margin: var(--space-2) 0 0; }
.ph img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.ph figcaption { font: 0.78rem/1.4 var(--font-sans); color: var(--muted); margin-top: 6px; }
.ph figcaption a { color: var(--muted); }
.th { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; vertical-align: middle; margin-right: 10px; background: var(--paper-2); }
p.more { margin: var(--space-4) 0; }
@media (max-width: 640px) {
  .page-head.has-photo { display: block; }
  .ph { margin: var(--space-3) 0; }
  .ph img { aspect-ratio: 16 / 7; }
}
@media (max-width: 640px) {
  .rank li.nolead .pc { grid-row: 1; grid-column: 2; }
  .rank li.nolead .nm { grid-row: 1; grid-column: 1; }
  .rank li.nolead .mb { grid-row: 2; }
  .rank li:not(.nolead) .rk { grid-row: 1; grid-column: 1; }
  .rank li:not(.nolead) .nm { grid-row: 1; grid-column: 2; }
  .rank li:not(.nolead) .pc { grid-row: 1; grid-column: 3; }
  .rank li:not(.nolead) .mb { grid-row: 2; }
}

/* two-column layout with a sticky right rail */
.rail-ph { display: none; }
.glance { display: none; }
.rail { margin-top: var(--space-5); }
.rail-cta { width: 100%; justify-content: center; margin: 0 0 var(--space-4); }
.rail-links ul { list-style: none; padding: 0; margin: 0; max-width: none; }
.rail-links li { margin: 0; border-bottom: 1px solid var(--rule); }
.rail-links a { display: flex; align-items: center; min-height: var(--tap); padding: 6px 0; font: 1rem/1.35 var(--font-sans); }
.rail-links .label, .glance .label { margin-bottom: var(--space-2); }
.glance { border-top: 3px solid var(--ink); background: var(--paper-2); padding: var(--space-3) var(--space-4) var(--space-2); margin: 0 0 var(--space-4); }
.glance dl { margin: 0; }
.glance dt { font: 600 0.72rem var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: var(--space-3); }
.glance dd { margin: 2px 0 0; font: 600 1.15rem/1.3 var(--font-serif); }
@media (min-width: 1024px) {
  .cols2 { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 56px; align-items: start; }
  .rail { position: sticky; top: var(--space-4); margin-top: var(--space-3); max-height: calc(100vh - 2 * var(--space-4)); overflow-y: auto; }
  .rail-ph, .glance { display: block; }
  .rail-ph { margin-bottom: var(--space-4); }
  .page-head.has-photo > .ph { display: none; }
  .page-head.has-photo { display: block; }
  .page-head h1 { margin-top: var(--space-2); }
}
@media (min-width: 641px) and (max-width: 1023px) { .rail-ph { display: none; } }

/* universal search (static/search.js) */
/* ---- universal search: header trigger, hero field, command palette ---- */
.hs { position: relative; font-family: var(--font-sans); }
.hs-head { margin-left: auto; flex: none; }
.hs-trigger { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-2); color: var(--muted); font: 400 0.95rem var(--font-sans); cursor: pointer; text-align: left; transition: border-color 0.12s, background 0.12s; }
.hs-trigger:hover { border-color: var(--ink); background: var(--paper); }
.hs-trigger .hs-ic { flex: none; color: var(--ink); }
.hs-ph { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-kbd { flex: none; min-width: 24px; height: 24px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); color: var(--muted); font: 600 0.78rem var(--font-sans); }
.hs-head .hs-trigger { width: 320px; }
.hs-hero { max-width: 34rem; margin: 0 0 var(--space-3); }
.hs-hero .hs-trigger { min-height: 56px; padding: 0 16px; gap: 12px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--paper); color: var(--muted); font-size: 1.05rem; box-shadow: 0 1px 0 var(--rule), 0 8px 20px -14px rgba(0, 0, 0, 0.35); }
.hs-hero .hs-trigger:hover { border-color: var(--accent); }
.hs-hero .hs-ic { width: 22px; height: 22px; }
html:not(.js) .hs { display: none; }
@media (max-width: 999px) {
  .hs-head .hs-trigger { width: 44px; padding: 0; justify-content: center; border-radius: 50%; background: transparent; }
  .hs-head .hs-ph, .hs-head .hs-kbd { display: none; }
}
@media (max-width: 640px) {
  .site-head .wrap { position: relative; }
  .hs-head { position: absolute; right: var(--space-4); top: 2px; margin: 0; }
  .hs-hero .hs-kbd { display: none; }
}
.hs-lock { overflow: hidden; }

.sp { position: fixed; inset: 0; z-index: 200; display: none; font-family: var(--font-sans); }
.sp.on { display: block; }
.sp-back { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.15s ease; }
.sp-sheet { position: absolute; left: 50%; top: 11vh; width: min(640px, calc(100vw - 24px)); max-height: 70vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 28px 70px -12px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.12); overflow: hidden; opacity: 0; transform: translate(-50%, 10px) scale(0.985); transition: opacity 0.15s ease, transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sp.in .sp-back { opacity: 1; }
.sp.in .sp-sheet { opacity: 1; transform: translate(-50%, 0) scale(1); }
.sp-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.sp-mag { flex: none; color: var(--accent); }
.sp-q { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 1.35rem/1.3 var(--font-sans); padding: 6px 0; -webkit-appearance: none; appearance: none; }
.sp-q::placeholder { color: var(--muted); opacity: 0.85; }
.sp-esc { flex: none; min-width: 40px; height: 26px; border: 1px solid var(--rule); border-radius: 7px; background: var(--paper-2); color: var(--muted); font: 600 0.74rem var(--font-sans); cursor: pointer; }
.sp-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 10px; }
.sp-g { padding: 14px 10px 6px; font: 600 0.7rem var(--font-sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.sp-i { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; position: relative; }
.sp-i.on { background: var(--accent-soft); }
.sp-i.on::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--accent); }
.sp-th { flex: none; width: 40px; height: 40px; border-radius: 9px; overflow: hidden; background: var(--paper-2); display: inline-flex; align-items: center; justify-content: center; }
.sp-th img { display: block; width: 40px; height: 40px; object-fit: cover; }
.sp-th.ini { background: var(--accent-soft); color: var(--accent); font: 700 0.9rem var(--font-sans); letter-spacing: 0.02em; }
.sp-th.sp-pl { background: var(--paper-2); color: var(--accent); border: 1px solid var(--rule); }
.sp-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sp-t { font: 600 1.02rem/1.3 var(--font-sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-t mark { background: transparent; color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.sp-s { font: 400 0.84rem/1.3 var(--font-sans); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-k { flex: none; font: 600 0.72rem var(--font-sans); letter-spacing: 0.04em; color: var(--muted); padding: 3px 8px; border: 1px solid var(--rule); border-radius: 999px; }
.sp-i.on .sp-k { border-color: var(--accent); color: var(--accent); }
.sp-empty { padding: 36px 16px; text-align: center; color: var(--muted); font-size: 0.98rem; }
.sp-foot { display: flex; gap: 18px; padding: 9px 18px; border-top: 1px solid var(--rule); background: var(--paper-2); color: var(--muted); font: 0.78rem var(--font-sans); }
.sp-foot kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; margin-right: 4px; border: 1px solid var(--rule); border-radius: 5px; background: var(--paper); font: 600 0.72rem var(--font-sans); }
@media (max-width: 640px) {
  .sp-sheet { inset: 0; left: 0; top: 0; width: 100%; max-height: none; height: 100%; border: 0; border-radius: 0; transform: translateY(100%); opacity: 1; transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .sp.in .sp-sheet { transform: translateY(0); }
  .sp-q { font-size: 1.25rem; }
  .sp-esc { height: 36px; min-width: 64px; font-size: 0.85rem; }
  .sp-esc::after { content: ""; }
  .sp-foot { display: none; }
  .sp-body { padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { .sp-back, .sp-sheet { transition: none; } }

/* hero "in season" chips (also in map.css; kept here so they stay pills before the map CSS loads) */
.wm-chips { margin: 0 0 var(--space-3); }
.wm-chips .label { display: block; margin-bottom: 6px; }
.wm-chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px; margin: 0 6px 6px 0; border: 1px solid var(--rule); border-radius: 999px; font: 600 0.86rem var(--font-sans); color: var(--ink); text-decoration: none; background: transparent; }
.wm-chips a:hover { border-color: var(--ink); }
.wm-chips a.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* multi-line chart (group pages) */
.chart .ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .ln0 { stroke: var(--accent); stroke-width: 3; }
.chart .ln1 { stroke: var(--ink); stroke-dasharray: 8 4; }
.chart .ln2 { stroke: var(--warn); stroke-dasharray: 2 4; stroke-width: 3; }
.chart .ln3 { stroke: var(--muted); stroke-dasharray: 12 3 2 3; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 0; margin: var(--space-2) 0 0; font: 0.9rem var(--font-sans); max-width: none; }
.legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.legend svg { flex: none; }
.chart .legend svg { display: inline-block; width: 30px; height: 10px; max-width: none; }

/* four-up summary (first arrivals, common by, peak, most gone by) */
.when-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.when-grid.c4 > div { padding-left: var(--space-3); padding-right: var(--space-3); }
.when-grid.c4 > div:first-child { padding-left: 0; }
.when-grid.c4 .big { font-size: 1.75rem; }
@media (max-width: 640px) { .when-grid.c4 { grid-template-columns: 1fr; } .when-grid.c4 > div, .when-grid.c4 > div:first-child { padding-left: 0; padding-right: 0; } .when-grid.c4 .big { font-size: 1.9rem; } }
@media (min-width: 641px) and (max-width: 900px) { .when-grid.c4 { grid-template-columns: repeat(2, 1fr); } .when-grid.c4 > div:nth-child(2n) { border-right: 0; } }

/* category jump chips and category sections */
.cat-chips { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--rule); margin: var(--space-3) 0 var(--space-4); padding: var(--space-2) 0; }
.cat-chips ul { display: flex; gap: 6px; overflow-x: auto; list-style: none; margin: 0; padding: 0 0 2px; max-width: none; scrollbar-width: thin; }
.cat-chips li { margin: 0; flex: none; }
.cat-chips a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; font: 600 0.9rem var(--font-sans); white-space: nowrap; text-decoration: none; color: var(--ink); }
.cat-chips a:hover { border-color: var(--ink); }
.cat-sec { scroll-margin-top: 72px; }
.cat-sec h2 .small { font-weight: 400; }
.sp-list li { display: flex; align-items: center; gap: 0; min-height: var(--tap); }
.sp-list li a { min-height: 0; display: inline; }
.sp-list li .small { margin-left: 8px; padding: 0; }
.cat-table td { vertical-align: middle; }
.cat-table .th { margin-right: 8px; }
.cat-pills a { font-size: 0.85rem; padding: 0 12px; }

/* explore panel: kind-of-bird chips */
.ex-cats { display: flex; gap: 6px; overflow-x: auto; padding: 0 0 var(--space-2); margin: 0 0 var(--space-3); border-bottom: 1px solid var(--rule); scrollbar-width: thin; }
.ex-chip { flex: none; min-height: 36px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: var(--ink); font: 600 0.85rem var(--font-sans); cursor: pointer; white-space: nowrap; }
.ex-chip:hover { border-color: var(--ink); }
.ex-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.nolink { color: inherit; }
.pills .nolink { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 12px; border: 1px dashed var(--rule); border-radius: 999px; color: var(--muted); font: 600 0.85rem var(--font-sans); }
.cat-table th.n:first-child, .cat-table td.n:first-child { width: 2.2rem; padding-right: 12px; text-align: right; }
.cat-table td:nth-child(2) { white-space: normal; }
.cols.sp-list { column-width: 18rem; }
.sp-list li .small { white-space: nowrap; }

/* =====================================================================================
   Unified look (matches the app): white cards on a soft page, system sans, pill controls.
   Everything below overrides the older field-guide styles above.
   ===================================================================================== */
body { background: var(--bg); color: var(--tx); font: 16px/1.6 var(--ui); }
h1, h2, h3 { font-family: var(--ui); color: var(--tx); letter-spacing: -0.02em; font-weight: 760; }
h1 { font-size: 2.35rem; line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin: var(--space-2) 0 var(--space-3); }
h2 { font-size: 1.4rem; border: 0; padding: 0; margin: var(--space-6) 0 var(--space-3); line-height: 1.2; }
h3 { font-size: 1.1rem; margin: var(--space-5) 0 var(--space-2); }
p, ul, ol { max-width: var(--measure); }
a { color: var(--accent); }
.answer { font-size: 1.2rem; line-height: 1.5; color: var(--tx); }
.lede { color: var(--tx2); font-size: 1.08rem; }
.label, .kicker { font: 600 0.8rem var(--ui); letter-spacing: 0; text-transform: none; color: var(--tx2); }
small, .small { color: var(--tx2); }
.page-head .label { color: var(--tx2); }

/* header, footer */
.site-head { background: var(--s1); border-bottom: 1px solid var(--line); }
.site-head .wrap { min-height: 64px; }
.brand { font: 800 1.3rem var(--ui); letter-spacing: -0.02em; color: var(--tx); }
.brand b { color: var(--accent); font-weight: 800; }
.brand { gap: 8px; }
.brand-mark { flex: none; width: 30px; height: 30px; }
.nav { font-family: var(--ui); gap: 2px; }
.nav a { padding: 0 14px; min-height: 40px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--tx2); }
.nav a:hover { background: var(--s2); color: var(--tx); text-decoration: none; }
.crumbs { font: 0.85rem var(--ui); color: var(--tx2); }
.crumbs a { color: var(--tx2); }
.site-foot { border-top: 1px solid var(--line); background: transparent; font-family: var(--ui); color: var(--tx2); }
.foot-links a { color: var(--tx); font-weight: 600; }
.site-foot a { color: var(--tx2); }
@media (max-width: 640px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.25rem; margin-top: var(--space-5); }
  .nav { border-top: 1px solid var(--line); }
  .nav a { min-height: 44px; }
}

/* surfaces: summary, chart, tables, lists, faq all share the card look */
.when, .chart, .glance, .faq, details.fold, .facts, .rank, .rows, .price-grid, .post-list article {
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh);
}
.when { margin: var(--space-4) 0 var(--space-5); overflow: hidden; }
.when-grid > div { padding: 16px 20px 14px; border-right: 1px solid var(--line); }
.when-grid > div + div { padding-left: 20px; }
.when-grid .label { color: var(--tx2); }
.when-grid .big { font: 780 2rem/1.05 var(--ui); letter-spacing: -0.025em; }
.when-grid.c4 .big { font-size: 1.6rem; }
.when-grid .sub { color: var(--tx2); font-family: var(--ui); }
.when-grid .peak .big { color: var(--accent); }
.verdict { font: 650 1rem/1.45 var(--ui); padding: 14px 20px; border-top: 1px solid var(--line); background: var(--s2); max-width: none; margin: 0; }
.verdict .small { font-weight: 500; color: var(--tx2); }
.cal { gap: 3px; }
.cal li { border-radius: 8px; background: var(--s2); color: var(--tx2); font-family: var(--ui); font-weight: 600; }
.cal li.pk { outline: 2px solid var(--tx); outline-offset: -2px; }
.cal-key { color: var(--tx2); font-family: var(--ui); }
.chart { padding: 14px 16px 12px; margin: var(--space-3) 0 var(--space-4); }
.chart svg { max-width: 100%; }
.chart .bar { rx: 1.5px; }
.chart .grid { stroke: var(--line); }
.chart .axis { stroke: var(--line2); }
.chart text { fill: var(--tx2); font: 13px var(--ui); }
.chart figcaption, .chart .cap { font: 0.84rem/1.45 var(--ui); color: var(--tx2); }
.chart .ln0 { stroke: var(--accent); }
.chart .ln1 { stroke: var(--tx); }
.note { background: var(--s2); border: 0; border-radius: 12px; padding: 12px 14px; color: var(--tx2); font: 0.9rem/1.55 var(--ui); }
.note.warn { background: var(--warn-bg); color: var(--warn2); }
.glance { padding: 6px 18px 12px; background: var(--s1); }
.glance .label { margin: 12px 0 0; }
.glance dt { font: 600 0.78rem var(--ui); letter-spacing: 0; text-transform: none; color: var(--tx2); margin-top: var(--space-3); }
.glance dd { font: 700 1.1rem/1.3 var(--ui); color: var(--tx); }
.facts { border-top: 1px solid var(--line); padding: 16px 20px; }
.facts .v { font: 780 1.5rem/1.15 var(--ui); }
.faq { padding: 4px 20px 8px; margin: 0 0 var(--space-4); }
.faq dt { font: 700 1.02rem var(--ui); margin-top: var(--space-4); }
.faq dd { color: var(--tx2); }
details.fold { padding: 0 20px; margin: var(--space-5) 0 var(--space-4); border-top: 1px solid var(--line); }
details.fold > summary { font: 740 1.15rem/1.2 var(--ui); padding: 16px 0; }
details.fold > summary::after { border: 1px solid var(--line2); background: var(--s1); color: var(--accent); font-family: var(--ui); }
details.fold[open] .table { margin-bottom: 16px; }
.more a, .rail-links a { color: var(--accent); font-family: var(--ui); font-weight: 600; }
.rail-links li { border-bottom: 1px solid var(--line); }
.rail-links .label, .glance .label { color: var(--tx2); }

/* tables */
.table { font: 0.95rem/1.4 var(--ui); background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; border-spacing: 0; overflow: hidden; box-shadow: var(--sh); }
.table th { font: 650 0.78rem var(--ui); letter-spacing: 0; text-transform: none; color: var(--tx2); background: var(--s2); border-bottom: 1px solid var(--line); padding: 10px 12px; }
.table td { border-bottom: 1px solid var(--line); padding: 11px 12px; }
.table tr:last-child td { border-bottom: 0; }
.table td.n, .table th.n { padding-left: 12px; padding-right: 12px; }
.table tr:hover td { background: var(--s2); }
details.fold .table { box-shadow: none; }
.scroll { border-radius: var(--r); }
.cat-table th.n:first-child, .cat-table td.n:first-child { width: 2.6rem; }

/* ranked rows */
.rank { padding: 4px 16px; margin: 0 0 var(--space-4); overflow: hidden; }
.rank li { font: 1rem/1.35 var(--ui); border-bottom: 1px solid var(--line); }
.rank li:last-child { border-bottom: 0; }
.rank .rk { color: var(--tx2); }
.rank .nm a { color: var(--tx); font-weight: 650; }
.rank .nm a:hover { color: var(--accent); }
.rank .meta { color: var(--tx2); }
.rank .mb { height: 8px; background: var(--s2); border-radius: 4px; }
.rank .mb i { background: var(--bar); border-radius: 4px; }
.rank .pc { font: 750 1rem var(--ui); color: var(--accent); }
.rank-head { border: 0; padding: 0; margin-top: var(--space-5); align-items: center; }
.rank-head h2, .rank-head h3 { font-size: 1.15rem; font-weight: 740; }
.rank-head span { color: var(--tx2); font-family: var(--ui); }
.rows { padding: 2px 16px; margin: 0 0 var(--space-4); overflow: hidden; }
.rows li { border-bottom: 1px solid var(--line); font-family: var(--ui); }
.rows li:last-child { border-bottom: 0; }
.rows .meta { color: var(--tx2); }

/* chips, pills, tiles */
.pills { gap: 8px; }
.pills a, .cat-chips a, .ex-chip, .wm-chips a, .btn { font-family: var(--ui); }
.pills a { min-height: 40px; padding: 0 14px; border: 1px solid var(--line2); background: var(--s1); color: var(--tx); font-weight: 600; font-size: 0.9rem; }
.pills a:hover { border-color: var(--accent); }
.pills a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pills .nolink { min-height: 40px; border: 1px dashed var(--line2); color: var(--tx2); }
.cat-chips { background: var(--bg); border-bottom: 1px solid var(--line); }
.cat-chips a { border-color: var(--line2); background: var(--s1); min-height: 40px; font-size: 0.88rem; }
.cat-chips a:hover { border-color: var(--accent); }
.cat-sec h2 .small { font-weight: 500; }
.wm-chips a { min-height: 36px; border-color: var(--line2); background: var(--s1); }
.wm-chips a.on { background: var(--tint); border-color: var(--accent); color: var(--accent); }
.ex-chip { border-color: var(--line2); background: var(--s1); }
.ex-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cols, .tiles, .sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 10px; column-width: auto; list-style: none; padding: 0; margin: 0 0 var(--space-4); max-width: none; }
.cols li, .tiles li { margin: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--s1); font: 0.95rem/1.3 var(--ui); }
.cols li:hover, .tiles li:hover { border-color: var(--accent); }
.cols li a, .tiles li a { display: flex; align-items: center; min-height: 48px; padding: 6px 14px; color: var(--tx); font-weight: 600; text-decoration: none; }
.cols li a:hover, .tiles li a:hover { color: var(--accent); text-decoration: none; }
.cols li > .small { padding: 0 14px 10px; }
.tiles { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.sgrid { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.stile { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--s1); color: var(--tx); font: 650 0.95rem var(--ui); text-decoration: none; }
.stile:hover { border-color: var(--accent); text-decoration: none; }
.stile-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stile-c { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--tint); color: var(--accent); font: 750 0.75rem var(--ui); letter-spacing: 0.02em; }
.sp-list li { display: flex; align-items: center; }
.sp-list li a { min-height: 56px; flex: 1; }
.sp-list .th { margin: 0 0 0 10px; flex: none; width: 36px; height: 36px; border-radius: 10px; }
.sp-list li .small { margin: 0 14px 0 0; padding: 0; white-space: nowrap; }
.cat-table td .th { border-radius: 10px; }
.th { border-radius: 10px; }

/* controls */
.btn { min-height: 44px; padding: 0 20px; border: 1px solid var(--line2); border-radius: 999px; background: var(--s1); color: var(--tx); font-weight: 650; font-size: 0.95rem; }
.btn:hover { background: var(--s2); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent); filter: brightness(1.08); }
select { appearance: none; -webkit-appearance: none; min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--line2); border-radius: 12px; background-color: var(--s1); color: var(--tx); font: 500 1rem var(--ui); cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
select:hover { border-color: var(--accent); }
select:focus-visible, input:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.search, input[type=text], input[type=search], input[type=email] { min-height: 48px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 12px; background: var(--s1); color: var(--tx); font: 1rem var(--ui); }
.ctl-group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px; margin: 0 0 var(--space-4); background: var(--s1); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh); width: fit-content; max-width: 100%; }
.ctl-group .btn { min-height: 48px; }
.ctl-group select { min-width: 13rem; flex: 1; border-radius: 999px; padding-left: 18px; }
.ctl-or { color: var(--tx2); font-size: 0.9rem; padding: 0 2px; }
@media (max-width: 520px) { .ctl-group { width: 100%; } .ctl-group .btn, .ctl-group select { width: 100%; } .ctl-or { margin: 0 auto; } }
.arrive-card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 8px 16px; margin: 0 0 var(--space-4); }
.arrive-card .arrive { margin: 0; }
.arrive-card .arrive li { border-bottom: 1px solid var(--line); padding: 8px 0; font-family: var(--ui); }
.arrive-card .arrive a { color: var(--tx); font-weight: 650; text-decoration: none; }
.arrive-card .arrive a:hover { color: var(--accent); }

/* pricing, blog */
.price-grid { gap: 14px; border: 0; background: transparent; box-shadow: none; }
.price-grid > div { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 20px; }
.price-grid > div:last-child { border: 1px solid var(--line); }
.price-grid .amt { font: 800 2.2rem var(--ui); letter-spacing: -0.03em; }
.post-list article { padding: 18px 20px; margin: 0 0 12px; border-bottom: 1px solid var(--line); }
.post-list h2 { font-size: 1.25rem; margin: 2px 0 6px; }

.prose blockquote { border-left: 3px solid var(--accent); background: var(--s2); border-radius: 0 12px 12px 0; padding: 10px 16px; }
.pager a { font-weight: 650; }

/* photos, search */
.ph img { border-radius: var(--r); }
.hs-trigger { background: var(--s1); border-color: var(--line2); color: var(--tx2); font-family: var(--ui); }
.hs-trigger:hover { border-color: var(--accent); background: var(--s1); }
.hs-hero .hs-trigger { background: var(--s1); border: 1px solid var(--line2); box-shadow: var(--sh); border-radius: 16px; }
.hs-hero .hs-trigger:hover { border-color: var(--accent); }
.hs-kbd { background: var(--s2); border-color: var(--line); color: var(--tx2); }
.sp-sheet { background: var(--s1); border-color: var(--line); }
.sp-top, .sp-foot { border-color: var(--line); }
.sp-foot { background: var(--s2); }
.sp-th, .sp-th.sp-pl { background: var(--s2); border-color: var(--line); }
.sp-esc { background: var(--s2); border-color: var(--line); }
.sp-i.on { background: var(--tint); }
.sp-k { border-color: var(--line); }
@media (max-width: 999px) { .hs-head .hs-trigger { background: var(--s1); } }
.cols li > .nolink, .tiles li > .nolink, .rank .nm .nolink, .rows li > .nolink { display: flex; align-items: center; min-height: 48px; padding: 6px 14px; color: var(--tx2); font-weight: 600; }
.rank .nm .nolink, .rows li > .nolink { display: inline; min-height: 0; padding: 0; font-weight: 650; }
.stile.nolink { color: var(--tx2); }
.cols.sp-list { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.pills.seasons .nolink { text-transform: capitalize; }

/* ---- bird-coloured accents on a white base: small dots, tags and markers only ---- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
select:focus-visible, input:focus-visible, .search:focus-visible { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
a:hover { color: var(--accent-hover); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); filter: none; }
.brand b { color: var(--accent); }
.cal li.pk { outline: 2px solid var(--accent); }
.spark .cur { fill: var(--goldfinch); }
.chart .ln0 { stroke: var(--bluebird); }
.chart .ln1 { stroke: var(--mallard); stroke-dasharray: 8 4; }
.chart .ln2 { stroke: var(--oriole); stroke-dasharray: 2 4; }
.chart .ln3 { stroke: var(--goldfinch); stroke-dasharray: 12 3 2 3; }
.when-grid .peak .big { color: var(--accent); }
.badge { border-color: var(--line2); color: var(--tx2); background: var(--s2); }
.stile-c, .sp-k { background: var(--s2); color: var(--tx2); border: 0; }
.sp-i.on .sp-k { background: var(--accent-soft); color: var(--accent); border: 0; }
.tag-new, .tag-arriving { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font: 650 0.75rem var(--ui); background: #FFEDD5; color: #9A3412; }
.tag-notable { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font: 650 0.75rem var(--ui); background: #FEE2E2; color: #991B1B; }
.tag-now { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font: 650 0.75rem var(--ui); background: #FEF9C3; color: #854D0E; }
/* a small coloured dot per category chip */
.cat-chips a::before, .cat-pills a::before { content: ""; flex: none; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--dot, var(--bluebird)); }
.cat-chips a, .cat-pills a { display: inline-flex; align-items: center; }
.cd0 { --dot: var(--bluebird); } .cd1 { --dot: var(--goldfinch); } .cd2 { --dot: var(--oriole); } .cd3 { --dot: var(--mallard); }
.cat-pills a[aria-current]::before { background: var(--accent-ink); }
.nav a.on { background: var(--accent-soft); color: var(--accent); }
.wm-chips a.on, .pills a:hover { border-color: var(--accent); }
.wm-chips a.on { background: var(--accent-soft); color: var(--accent); }
.rank .pc { color: var(--tx); }
.stile:hover, .cols li:hover, .tiles li:hover { border-color: var(--accent); }

/* spot pages: seasonal highlight cards */
.season-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 12px; margin: 0 0 var(--space-4); }
.scard { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 14px 16px 8px; }
.scard h3 { margin: 0 0 6px; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.scard ol { list-style: none; margin: 0; padding: 0; max-width: none; }
.scard li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; margin: 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.scard li:first-child { border-top: 0; }
.scard .pc { color: var(--tx2); font-weight: 650; }
.table tr.fb td, .table tr.fb a { color: var(--tx2); }

/* ---- blog: reading column, hero, contents, card grid, guides tile map ---- */
.post { max-width: 52rem; margin: 0 auto; }
.post .page-head { padding-bottom: 0; }
.post h1 { font-size: 2.25rem; }
.hero-ph { margin: var(--space-4) 0 var(--space-5); }
.hero-ph img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--s2); }
.hero-ph figcaption { font: 0.8rem/1.4 var(--ui); color: var(--tx2); margin-top: 8px; }
.hero-ph figcaption a { color: var(--tx2); }
.prose { max-width: 68ch; font-size: 1.125rem; line-height: 1.75; color: var(--tx); }
.prose p, .prose ul, .prose ol { max-width: none; margin-bottom: 1.15em; }
.prose h2 { margin: 2.2em 0 0.5em; font-size: 1.5rem; scroll-margin-top: 16px; }
.prose h3 { margin: 1.8em 0 0.5em; font-size: 1.2rem; }
.prose li { margin-bottom: 0.4em; }
.prose a { text-underline-offset: 3px; }
.prose .chart, .prose .table, .prose .scroll { max-width: none; margin: 1.2em 0 1.6em; }
.prose h3 + .chart, .prose h3 + .scroll { margin-top: 0.6em; }
.prose .chart { padding: 16px 18px 12px; }
.prose img { border-radius: var(--r); }
.toc { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 14px 20px 8px; margin: 0 0 var(--space-5); max-width: 68ch; }
.toc .label { margin: 0 0 6px; }
.toc ol { margin: 0; padding-left: 1.3em; max-width: none; }
.toc li { margin: 0; padding: 4px 0; font: 0.98rem/1.35 var(--ui); }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { text-decoration: underline; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 16px; margin: 0 0 var(--space-5); }
.pcard { display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.pcard-img { display: block; aspect-ratio: 16 / 10; background: var(--s2); overflow: hidden; }
.pcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pcard-b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard h2 { font-size: 1.12rem; line-height: 1.3; margin: 0; letter-spacing: -0.01em; }
.pcard h2 a { color: var(--tx); text-decoration: none; }
.pcard h2 a:hover { color: var(--accent); }
.pcard-d { font: 0.92rem/1.5 var(--ui); color: var(--tx2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: none; }
.pcard-m { font: 0.78rem var(--ui); color: var(--tx3); margin: auto 0 0; padding-top: 6px; max-width: none; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; max-width: none; }
.pcard-tags a { padding: 2px 9px; border-radius: 999px; background: var(--s2); color: var(--tx2); font: 600 0.74rem var(--ui); text-decoration: none; }
.pcard-tags a:hover { background: var(--accent-soft); color: var(--accent); }
.more-guides { font: 600 0.95rem var(--ui); }
@media (min-width: 900px) {
  .pcard.feat { grid-column: span 2; }
  .pcard.feat .pcard-img { aspect-ratio: 21 / 9; }
  .pcard.feat h2 { font-size: 1.5rem; }
  .pcard.feat .pcard-d { -webkit-line-clamp: 3; font-size: 1rem; }
}
.tilemap { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: 6px; max-width: 46rem; margin: 0 0 var(--space-3); }
.tm-t { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: 10px; background: var(--s2); color: var(--tx3); font: 650 0.78rem var(--ui); text-decoration: none; }
a.tm-t.on { background: var(--s1); border: 1px solid var(--line2); color: var(--accent); box-shadow: var(--sh); }
a.tm-t.on:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (max-width: 520px) { .tm-t { font-size: 0.68rem; border-radius: 8px; } .tilemap { gap: 4px; } .post h1 { font-size: 1.9rem; } .prose { font-size: 1.06rem; } }
.prose h3[id] { margin: 2.2em 0 0.5em; font-size: 1.5rem; scroll-margin-top: 16px; }
.prose h3:not([id]) { margin: 1.8em 0 0.4em; font-size: 1.05rem; color: var(--tx2); font-weight: 700; }

/* ---- rail: one column of full-width cards (photo, at a glance, button, picker, links) ---- */
.rail { display: flex; flex-direction: column; gap: 16px; margin-top: var(--space-5); position: static; max-height: none; overflow: visible; }
.rail > * { margin: 0; min-width: 0; }
@media (min-width: 1024px) {
  .cols2 { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 48px; }
  .rail { margin-top: var(--space-3); }
  .rail.rail-sticky { position: sticky; top: 16px; }
}
.rail-ph { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.rail-ph .ph { margin: 0; }
.rail-ph .ph img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.rail-ph .ph figcaption { margin: 0; padding: 8px 14px 10px; font: 0.75rem/1.4 var(--ui); color: var(--tx2); }
.rail-ph .ph figcaption a { color: var(--tx2); text-decoration-color: var(--line2); text-underline-offset: 2px; }
.rail-ph .ph figcaption a:hover { text-decoration-color: currentColor; }
.rail .glance { margin: 0; }
.rail-cta { width: 100%; margin: 0; justify-content: center; gap: 8px; text-align: center; white-space: nowrap; }
.rail-cta::after { content: "\2192"; font-weight: 700; }
.rail-links, .rail-jump { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 12px 16px; }
.rail-links .label, .rail-jump .label { margin: 0 0 6px; }
.rail-links ul { margin: 0; }
.rail-links li { border: 0; margin: 0; }
.rail-links a { min-height: 36px; padding: 4px 0; font: 600 0.9rem/1.35 var(--ui); text-decoration: none; }
.rail-links a:hover { text-decoration: underline; }
.jchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.jchips a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 11px; border: 1px solid var(--line2); border-radius: 999px; background: var(--s1); color: var(--tx); font: 600 0.82rem var(--ui); text-decoration: none; }
.jchips a:hover { border-color: var(--accent); color: var(--accent); }
.rail-jump select { width: 100%; min-height: 44px; font-size: 0.95rem; border-radius: 999px; padding-left: 16px; }
.jall { display: inline-block; margin-top: 10px; font: 600 0.86rem var(--ui); text-decoration: none; }
.jall:hover { text-decoration: underline; }
html:not(.js) .rail-jump select { display: none; }
.jchips .nolink { display: inline-flex; align-items: center; min-height: 32px; padding: 0 11px; border: 1px dashed var(--line2); border-radius: 999px; color: var(--tx2); font: 600 0.82rem var(--ui); }
