/* ---- 00-base.css ---- */
/* ======================================================================
   site/css/00-base.css · OWNER: the design system ("Chart & Label", design/DESIGN.md)
   Reset, base type (Bodoni Moda heads, Figtree text, Archivo caps labels), utilities (.sr-only .label .tnum
   .i .unk), the sheet scope ([data-sheet] → --ink-*), the sheet badge (.bullet), .sheet-badge (badge + name),
   .sheet-tag, .sheet-dot, .sheet-u. Partials are concatenated in lexical order into docs/assets/site.css.
   Read only tokens (var(--…)); no color literal may appear here (the build fails on one).
   ====================================================================== */

/* ---------- reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--sp-4));
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--wght-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis-weight: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-xs); }
::selection { background: var(--accent-tint); color: var(--text); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--wght-head);
  letter-spacing: var(--track-head);
  line-height: var(--lh-head);
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-md); line-height: var(--lh-snug); }
p, li, dd { text-wrap: pretty; }
strong, b { font-weight: var(--wght-strong); }
em, i { font-style: italic; }
blockquote { margin: 0; }
kbd {
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  line-height: 1.4; background: var(--kbd-bg); color: var(--text-muted);
  border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: var(--radius-sm);
  padding: 1px 6px; white-space: nowrap;
}
code { font-family: var(--font-mono); font-size: max(0.9em, var(--fs-label)); background: var(--code-bg); padding: 1px 5px; border-radius: var(--radius-xs); }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-5) 0; }
[hidden] { display: none !important; }

/* ---------- utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: var(--z-toast);
  background: var(--primary); color: var(--primary-contrast);
  padding: 12px 18px; font-weight: var(--wght-strong); text-decoration: none;
}
.skip-link:focus { left: 0; }
/* expanded caps: the lettering of cigar bands and chart title blocks. Everything set in caps uses it. */
.label {
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  line-height: 1.25; letter-spacing: var(--track-label); text-transform: uppercase;
}
.label-wide { font-stretch: var(--label-stretch-wide); letter-spacing: var(--track-label-wide); }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.i {                                   /* stroke icon from the sprite: 24 grid, 2px, round caps */
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.i-fill { fill: currentColor; stroke: none; }
.star .i-fill, .btn .i-fill { fill: currentColor; stroke: currentColor; }
/* unknowns are printed as unknowns: faint roman with a dashed-circle mark, never a guess */
.unk { color: var(--text-faint); display: inline-flex; align-items: baseline; gap: 6px; }
p.unk, div.unk { display: flex; }   /* a paragraph of unknown stays a block */
.unk::before {
  content: ""; width: 9px; height: 9px; flex: none; align-self: center;
  border: 1.5px dashed currentColor; border-radius: 50%;
}
/* the numeral of a year built, a date, a count: Bodoni 800 lining figures (the cigar-label numeral) */
.numeral { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-numeral); line-height: 1; font-variant-numeric: lining-nums; letter-spacing: 0; }

/* ---------- sheet scope: one rule per sheet (region) sets the local inks ----------
   Components read ONLY --ink-fill / --ink-text / --ink-on / --ink-tint / --ink-edge (+ --ink-shape, --ink-n, --ink-code).
   A sheet's ink marks its identity only: never a state, never a link. */
:root { --ink-fill: var(--rule-ink); --ink-text: var(--text); --ink-on: var(--primary-contrast); --ink-tint: var(--surface-alt); --ink-edge: var(--rule-ink); --ink-shape: inset(0); --ink-n: ""; --ink-code: ""; }
[data-sheet="tampa"] { --ink-fill: var(--sheet-tampa); --ink-text: var(--sheet-tampa-ink); --ink-on: var(--sheet-tampa-on); --ink-tint: var(--sheet-tampa-tint); --ink-edge: var(--sheet-tampa-edge); --ink-shape: var(--sheet-tampa-shape); --ink-n: var(--sheet-tampa-n); --ink-code: var(--sheet-tampa-code); }
[data-sheet="stpete"] { --ink-fill: var(--sheet-stpete); --ink-text: var(--sheet-stpete-ink); --ink-on: var(--sheet-stpete-on); --ink-tint: var(--sheet-stpete-tint); --ink-edge: var(--sheet-stpete-edge); --ink-shape: var(--sheet-stpete-shape); --ink-n: var(--sheet-stpete-n); --ink-code: var(--sheet-stpete-code); }
[data-sheet="beaches"] { --ink-fill: var(--sheet-beaches); --ink-text: var(--sheet-beaches-ink); --ink-on: var(--sheet-beaches-on); --ink-tint: var(--sheet-beaches-tint); --ink-edge: var(--sheet-beaches-edge); --ink-shape: var(--sheet-beaches-shape); --ink-n: var(--sheet-beaches-n); --ink-code: var(--sheet-beaches-code); }
[data-sheet="clearwater"] { --ink-fill: var(--sheet-clearwater); --ink-text: var(--sheet-clearwater-ink); --ink-on: var(--sheet-clearwater-on); --ink-tint: var(--sheet-clearwater-tint); --ink-edge: var(--sheet-clearwater-edge); --ink-shape: var(--sheet-clearwater-shape); --ink-n: var(--sheet-clearwater-n); --ink-code: var(--sheet-clearwater-code); }
[data-sheet="around"] { --ink-fill: var(--sheet-around); --ink-text: var(--sheet-around-ink); --ink-on: var(--sheet-around-on); --ink-tint: var(--sheet-around-tint); --ink-edge: var(--sheet-around-edge); --ink-shape: var(--sheet-around-shape); --ink-n: var(--sheet-around-n); --ink-code: var(--sheet-around-code); }
[data-sheet="daytrips"] { --ink-fill: var(--sheet-daytrips); --ink-text: var(--sheet-daytrips-ink); --ink-on: var(--sheet-daytrips-on); --ink-tint: var(--sheet-daytrips-tint); --ink-edge: var(--sheet-daytrips-edge); --ink-shape: var(--sheet-daytrips-shape); --ink-n: var(--sheet-daytrips-n); --ink-code: var(--sheet-daytrips-code); }

/* the sheet badge (h.bullet: <svg class="bullet"><use href="#b-tampa"/>): shape + ink + chart code, 44 × 26 art.
   Never under 24px tall (the code is then 12px). Below that, use .sheet-dot next to the sheet's name. */
.bullet { width: 40px; height: 24px; flex: none; overflow: visible; }
.bullet.lg { width: 56px; height: 33px; }
.bullet.xl { width: 75px; height: 44px; }
/* .sheet-badge[data-sheet] (c.sheetBadge): the badge + the sheet's short name in its text ink, set in caps */
.sheet-badge, .sheet-tag {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0; vertical-align: middle;
  color: var(--ink-text);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.2;
}
.sheet-tag { font-family: inherit; font-stretch: inherit; font-size: inherit; letter-spacing: inherit; text-transform: none; font-weight: var(--wght-strong); }
/* the sheet dot: the silhouette alone (18 × 12), for legends and dense lists where the name is adjacent */
.sheet-dot { display: inline-block; width: 18px; height: 12px; flex: none; background: var(--ink-fill); clip-path: var(--ink-shape); }
/* a sheet name set in display type, underlined in its ink (never a full color field) */
.sheet-u {
  text-decoration-line: underline; text-decoration-color: var(--ink-fill);
  text-decoration-thickness: 0.085em; text-underline-offset: 0.14em; text-decoration-skip-ink: none;
}

/* the old halftone screen became the plate's tint with an engraved ripple (empty states, missing pictures) */
.halftone { background: var(--ink-tint); color: var(--ink-text); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* ---- 10-shell.css ---- */
/* ======================================================================
   site/css/10-shell.css · OWNER: the design system ("Chart & Label", design/DESIGN.md §7, §8)
   Topbar (mark + "Chartbook" + TAMPA BAY lockup), On-today pill, search and My Trip buttons, the layout grid,
   the TOC rail, the sidebar (My Trip card, numbered groups, the six sheets with their badges), drawer + rail
   collapse, the phone dock, to-top, toast, no-JS fallbacks. Tokens only; no color literal.
   ====================================================================== */

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: var(--z-topbar);
  display: flex; align-items: center; gap: var(--sp-2);
  height: var(--topbar-h); padding: 0 var(--sp-3) 0 var(--sp-2);
  background: var(--bg); border-bottom: 1px solid var(--border);
}
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .topbar { background: var(--topbar-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}
.nav-toggle, .icon-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: var(--tap); height: var(--tap); border-radius: var(--radius-md); color: var(--text);
}
.nav-toggle:hover, .icon-btn:hover { background: var(--surface-alt); }
.icon-btn .i { width: 20px; height: 20px; }
.nav-toggle .hb { position: relative; display: block; width: 20px; height: 14px; }
.nav-toggle .hb span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  transition: transform 260ms var(--ease), opacity var(--speed) var(--ease);
}
.nav-toggle .hb-t { top: 0; } .nav-toggle .hb-m { top: 6px; } .nav-toggle .hb-b { bottom: 0; }
@media (max-width: 1023px) {
  body.nav-open .nav-toggle .hb-t { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle .hb-m { opacity: 0; }
  body.nav-open .nav-toggle .hb-b { transform: translateY(-6px) rotate(-45deg); }
}
@media (min-width: 1024px) {
  :root:not(.rail-collapsed) .nav-toggle .hb-t { transform: translateY(6px) rotate(45deg); }
  :root:not(.rail-collapsed) .nav-toggle .hb-m { opacity: 0; }
  :root:not(.rail-collapsed) .nav-toggle .hb-b { transform: translateY(-6px) rotate(-45deg); }
}

/* the lockup: the medallion, "Chartbook" in Bodoni Moda, a hairline, TAMPA BAY in wide caps in the house ink */
.brand {
  display: flex; align-items: center; gap: 10px; min-width: 0; height: var(--tap); padding-right: 4px;
  color: var(--text); text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; color: inherit; }
.wordmark .wm-top {
  font-family: var(--font-label); font-stretch: var(--label-stretch-wide); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label-wide); text-transform: uppercase; color: var(--accent-strong); white-space: nowrap;
}
.wordmark .wm-main { font-family: var(--font-display); font-weight: var(--wght-mast); letter-spacing: var(--track-mast); white-space: nowrap; }
.brand-name { flex-direction: row; align-items: center; gap: 12px; }
.brand-name .wm-main { order: -1; font-size: 1.75rem; line-height: 1; transform: translateY(-1px); }
.brand-name .wm-top { display: inline-flex; align-items: center; gap: 12px; }
.brand-name .wm-top::before { content: ""; width: 1px; height: 24px; background: var(--border-strong); }
.topbar-spacer { flex: 1; }

/* the On-today pill: the live flare (a lit light is magenta on a chart) */
.live-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px;
  border-radius: var(--radius-pill); background: var(--live-tint); color: var(--live-ink);
  text-decoration: none; white-space: nowrap;
}
.live-pill:hover { color: var(--live-ink); text-decoration: underline; }
.dot-live { position: relative; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--live); }
.dot-live::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--live);
  opacity: 0; animation: tbc-pulse var(--pulse) var(--ease-out) infinite;
}
@keyframes tbc-pulse { 0% { transform: scale(0.5); opacity: 0.9; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.searchbtn {
  display: flex; align-items: center; gap: 10px; height: var(--tap); width: min(360px, 30vw); min-width: 240px; padding: 0 8px 0 12px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  background: var(--surface); color: var(--text-faint); font-size: var(--fs-sm);
}
.searchbtn:hover { border-color: var(--text); color: var(--text-muted); }
.searchbtn-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.searchbtn kbd { margin-left: auto; }
.tripbtn {
  display: inline-flex; align-items: center; gap: 8px; height: var(--tap); padding: 0 12px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface);
  color: var(--text); font-size: var(--fs-sm); font-weight: var(--wght-strong); text-decoration: none; white-space: nowrap;
}
.tripbtn:hover { border-color: var(--text); color: var(--text); background: var(--surface); }
.count {                                  /* the ink count badge: My Trip count, dock badge */
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-contrast);
  font-family: var(--font-label); font-size: var(--fs-label); font-weight: var(--wght-label); font-variant-numeric: tabular-nums; line-height: 1;
}
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
.search-icon-btn { display: none; }
@media (max-width: 1279px) { .searchbtn { width: 240px; } }
@media (max-width: 1023px) {
  .searchbtn, .tripbtn, .live-pill { display: none; }
  .search-icon-btn { display: inline-flex; }
  .topbar { padding: 0 var(--sp-1); gap: 2px; }
  .brand { margin-right: auto; }
}
@media (max-width: 559px) {
  .brand-name .wm-top { display: none; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name .wm-main { font-size: 1.5rem; }
}
@media (max-width: 359px) { .brand-name .wm-main { font-size: 1.25rem; } }

/* ---------- layout: rail | content, the divider painted on the grid ---------- */
.layout { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); }
@media (min-width: 1024px) {
  .layout {
    background: linear-gradient(to right, var(--sidebar-bg) calc(var(--sidebar-w) - 1px), var(--border) calc(var(--sidebar-w) - 1px) var(--sidebar-w), transparent var(--sidebar-w));
    transition: grid-template-columns 240ms var(--ease);
  }
  :root.rail-collapsed .layout { grid-template-columns: 0 minmax(0, 1fr); background: none; }
}
.content { width: 100%; max-width: var(--content-max); min-width: 0; margin: 0 auto; padding: var(--sp-5) var(--gutter) var(--sp-9); }
.content:focus { outline: none; }
.content-with-toc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); }
@media (min-width: 1280px) { .content-with-toc { grid-template-columns: minmax(0, 1fr) 200px; } }
.toc { position: sticky; top: calc(var(--topbar-h) + var(--sp-5)); align-self: start; display: none; font-size: var(--fs-sm); }
@media (min-width: 1280px) { .toc { display: block; } }
.toc .label { display: block; color: var(--text-faint); margin-bottom: var(--sp-2); background: linear-gradient(var(--rule-ink) 0 0) 0 100% / 100% 2px no-repeat, linear-gradient(var(--water-line) 0 0) 0 calc(100% - 5px) / 100% 1px no-repeat; padding-bottom: 12px; }
.toc a { display: block; padding: 6px 0 6px 12px; color: var(--text-muted); text-decoration: none; border-left: 2px solid var(--border); line-height: var(--lh-ui); }
.toc a:hover { color: var(--text); border-left-color: var(--border-strong); }
.toc a[aria-current="true"] { color: var(--accent-strong); border-left-color: var(--accent); font-weight: var(--wght-strong); }

/* ---------- sidebar ---------- */
.sidebar {
  position: sticky; top: var(--topbar-h); height: calc(100dvh - var(--topbar-h));
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  background: var(--sidebar-bg); padding: var(--sp-5) var(--sp-3) var(--sp-7);
}
/* My Trip card: a small label panel with a gold keyline */
.trip-card {
  display: block; margin: 0 4px var(--sp-5); padding: 12px 14px;
  background: var(--surface); color: var(--text); text-decoration: none;
  border: 1px solid var(--border); box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px var(--gold-tint);
}
.trip-card:hover { color: var(--text); border-color: var(--border-strong); }
.trip-card .tc-top { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.trip-card .tc-top .i { width: 16px; height: 16px; color: var(--accent); }
.trip-card.is-empty .tc-top .i { fill: none; stroke: currentColor; stroke-width: 2; color: var(--text); }
.trip-card .tc-next { display: block; margin-top: 4px; font-size: var(--fs-xs); line-height: 1.45; color: var(--text-muted); }
.trip-card .tc-next b { color: var(--text); }
.sidebar-group + .sidebar-group { margin-top: var(--sp-5); }
.sidebar-title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; padding: 0 10px; color: var(--text-muted); }
/* section numerals: numbers mean sections, chart codes mean sheets */
.sec-num {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; flex: none;
  background: var(--primary); color: var(--primary-contrast); border-radius: 0;
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  font-variant-numeric: tabular-nums; letter-spacing: 0; line-height: 1;
}
.sidebar a.nav-link, .sidebar summary {
  display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 4px 10px;
  border-left: 3px solid transparent; color: var(--text); font-size: var(--fs-sm); line-height: var(--lh-ui); text-decoration: none;
}
.sidebar a.nav-link .i { width: 18px; height: 18px; color: var(--text-muted); }
.sidebar a.nav-link:hover, .sidebar summary:hover { background: var(--surface-alt); color: var(--text); }
.sidebar a.nav-link[aria-current="page"] {
  background: var(--accent-tint); border-left-color: var(--accent); color: var(--accent-strong); font-weight: var(--wght-strong);
}
.sidebar a.nav-link[aria-current="page"] .i { color: inherit; }
.nav-meta, .count-pill {
  margin-left: auto; font-size: var(--fs-xs); color: var(--text-faint);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.nav-meta[data-trip-count] {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--accent-contrast); font-family: var(--font-label); font-size: var(--fs-label); font-weight: var(--wght-label); line-height: 1;
}
.nav-meta[data-trip-count][hidden] { display: none; }
/* the six sheets: badge, name, "Sheet 1 · 9 places · 5 events" */
.sidebar a.nav-link.sheet { gap: 10px; padding-top: 6px; padding-bottom: 6px; }
.sidebar a.nav-link.sheet .bullet { width: 40px; height: 24px; }
.sidebar a.nav-link.sheet[aria-current="page"] { background: var(--ink-tint); border-left-color: var(--ink-fill); color: var(--text); }
.nav-2 { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.nav-2 .nav-sub { display: block; margin-top: 2px; font-size: var(--fs-xs); font-weight: var(--wght-body); color: var(--text-faint); font-variant-numeric: tabular-nums; line-height: 1.35; }
.nav-2 .nav-sub > span { white-space: nowrap; }   /* wrap between " · " segments, never inside one */
.sidebar a.nav-link.sheet[aria-current="page"] .nav-sub { color: var(--text-muted); }
.sidebar details > summary { list-style: none; cursor: pointer; }
.sidebar summary::-webkit-details-marker { display: none; }
.sidebar summary .chev { width: 16px; height: 16px; margin-left: auto; color: var(--text-faint); transition: transform var(--speed) var(--ease); }
.sidebar details[open] > summary .chev { transform: rotate(90deg); }
.sidebar details > .sub { margin: 2px 0 4px 21px; padding-left: 10px; border-left: 2px solid var(--ink-fill); }
.sidebar-src {
  margin: var(--sp-6) 4px 0; padding: 14px 10px 0; font-size: var(--fs-xs); color: var(--text-faint); line-height: 1.45;
  background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 1px no-repeat, linear-gradient(var(--water-line) 0 0) 0 4px / 100% 1px no-repeat;
}

/* ---------- drawer (< 1024px) and the desktop rail collapse ---------- */
.scrim {
  position: fixed; inset: 0; z-index: var(--z-scrim); background: var(--scrim);
  opacity: 0; pointer-events: none; transition: opacity var(--speed-slow) var(--ease);
}
@media (max-width: 1023px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: fixed; left: 0; top: var(--topbar-h); z-index: var(--z-drawer);
    width: min(320px, 86vw); height: calc(100dvh - var(--topbar-h));
    transform: translateX(-102%); visibility: hidden;
    transition: transform var(--speed-slow) var(--ease), visibility 0s var(--speed-slow);
    border-right: 1px solid var(--border-strong); box-shadow: var(--shadow-3);
  }
  body.nav-open .sidebar { transform: none; visibility: visible; transition: transform var(--speed-slow) var(--ease), visibility 0s; }
  body.nav-open .scrim { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .topbar { z-index: calc(var(--z-drawer) + 1); }
  .sidebar a.nav-link, .sidebar summary { min-height: var(--tap); }
  .content { padding-bottom: calc(var(--dock-h) + var(--sp-8)); }
}
@media (min-width: 1024px) {
  .sidebar { width: var(--sidebar-w); transition: transform 240ms var(--ease), visibility 0s; }
  :root.rail-collapsed .sidebar { transform: translateX(-102%); visibility: hidden; transition: transform 240ms var(--ease), visibility 0s 240ms; }
}

/* ---------- phone dock: What's On · Map · Trip · Search, within thumb reach ---------- */
.dock { display: none; }
@media (max-width: 1023px) {
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock);
    display: grid; grid-template-columns: repeat(4, 1fr);
    height: calc(var(--dock-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--dock-bg); border-top: 1px solid var(--border-strong);
  }
  @supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
    .dock { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  }
  body.nav-open .dock, body.modal-open .dock, body.kb-open .dock { display: none; }
}
.dock a, .dock button {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: var(--tap); color: var(--text-muted); text-decoration: none;
  font-family: var(--font-label); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
}
.dock .i { width: 22px; height: 22px; }
.dock [aria-current="page"] { color: var(--accent-strong); }
.dock [aria-current="page"] .i { color: var(--accent); }
.dock [aria-current="page"]::before { content: ""; position: absolute; top: -1px; left: 30%; right: 30%; height: 3px; background: var(--accent); }
.dock .count { position: absolute; top: 5px; left: calc(50% + 8px); min-width: 20px; height: 20px; }

/* ---------- back to top, toast ---------- */
.to-top {
  position: fixed; right: var(--sp-4); bottom: var(--sp-4); z-index: var(--z-sticky);
  width: var(--tap); height: var(--tap); display: grid; place-items: center;
  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  box-shadow: var(--shadow-2); opacity: 0; pointer-events: none; transition: opacity var(--speed) var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; }
@media (max-width: 1023px) { .to-top { bottom: calc(var(--dock-h) + var(--sp-3)); } }
.toast {
  position: fixed; left: 50%; bottom: var(--sp-5); z-index: var(--z-toast); transform: translate(-50%, 12px);
  display: flex; align-items: center; gap: var(--sp-3); max-width: min(92vw, 460px); min-height: var(--tap); padding: 8px 8px 8px 16px;
  background: var(--primary); color: var(--primary-contrast); border-radius: var(--radius-md); box-shadow: var(--shadow-3);
  border-bottom: 3px solid var(--gold);
  font-size: var(--fs-sm); opacity: 0; pointer-events: none; transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a, .toast button { color: var(--primary-contrast); font-weight: var(--wght-strong); min-height: var(--tap); display: inline-flex; align-items: center; padding: 0 10px; }
@media (max-width: 1023px) { .toast { bottom: calc(var(--dock-h) + var(--sp-3)); } }

/* ---------- scroll lock, no-JS fallbacks ---------- */
@media (max-width: 1023px) {
  body.nav-open { position: fixed; left: 0; right: 0; }        /* top: -scrollY is set by drawer.js: no jump */
}
/* Without JavaScript: no drawer, no dialogs. On phones the sidebar follows the page instead. */
.no-js .nav-toggle, .no-js [data-search-open], .no-js .theme-toggle, .no-js .tripbtn, .no-js .trip-card, .no-js .star, .no-js .js-only, .no-js .to-top { display: none !important; }
@media (max-width: 1023px) {
  .no-js .layout { display: flex; flex-direction: column; }
  .no-js .layout > .content { order: 1; }
  /* z-index: auto: a flex item keeps its z-index even when static, and the drawer's would paint it over the dock */
  .no-js .sidebar { order: 2; position: static; z-index: auto; transform: none; visibility: visible; width: auto; height: auto; box-shadow: none; border-right: 0; border-top: var(--rule-mid) solid var(--rule-ink); }
  .no-js .layout > .content { padding-bottom: var(--sp-5); }
  .no-js .dock { grid-template-columns: repeat(3, 1fr); }
}
/* ---- 15-consent.css ---- */
/* ======================================================================
   site/css/15-consent.css · OWNER: the maintainer (analytics consent, added 2026-09-29)
   The analytics question (site/js/core/consent.js builds it; nothing loads from Google before a yes):
     section.consent[role=region][data-consent="ask"|"settings"] > .consent-card
       .consent-kicker · h2.consent-title#consent-title · .consent-state (settings: "Analytics is on.") ·
       .consent-text · .consent-actions (two .btn.consent-btn of equal weight) · .consent-foot (Privacy details, Close)
   A small label card: cream (Night: bay navy) with the label's double rule on top, Bodoni title, Archivo caps kicker.
   Below 1024px it spans the width just above the dock (never over it); from 1024px it is a compact card at the
   bottom left of the content column, clear of the sidebar. Non-modal: it hides while the drawer, a dialog or the
   on-screen keyboard is up, and body.consent-open pads the page by its height (--consent-h) so nothing stays under it.
   Also the footer's "Analytics settings" button (.footer-btn[data-consent-open]). Tokens only; no color literal.
   ====================================================================== */
.consent {
  position: fixed; z-index: calc(var(--z-dock) + 1);
  left: 0; right: 0; bottom: 0;
  color: var(--text);
}
.consent-card {
  position: relative; max-height: calc(100dvh - var(--topbar-h) - var(--sp-4)); overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--sp-4) + 6px) var(--gutter) var(--sp-4);
  background:
    linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat,
    var(--surface);
  box-shadow: var(--shadow-3);
}
.consent-kicker {
  display: flex; align-items: center; gap: 10px; color: var(--gold-ink);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.3;
}
.consent-kicker::after { content: ""; flex: 1 1 auto; min-width: 24px; height: 6px; background: var(--water-line); -webkit-mask: var(--mask-ripple) 0 50% / 20px 6px repeat-x; mask: var(--mask-ripple) 0 50% / 20px 6px repeat-x; }
.consent-title {
  margin-top: 6px; font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-lg); line-height: var(--lh-head);
  letter-spacing: var(--track-head); color: var(--text);
}
.consent-title:focus { outline: none; }
.consent-title:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.consent-state { margin-top: var(--sp-2); font-size: var(--fs-sm); line-height: var(--lh-ui); color: var(--text-muted); }
.consent-state b { color: var(--text); font-weight: var(--wght-strong); }
.consent-text { margin-top: var(--sp-2); font-size: var(--fs-sm); line-height: 1.5; color: var(--text); }
.consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); margin-top: var(--sp-4); }
/* equal weight: the same outline button twice, neither one filled or colored (no nudge toward either answer) */
.btn.consent-btn { width: 100%; padding: 0 12px; background: var(--surface); color: var(--text); border-color: var(--rule-ink); }
.btn.consent-btn:hover { background: var(--primary); color: var(--primary-contrast); border-color: var(--primary); }
.consent-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--sp-3); margin-top: var(--sp-2); font-size: var(--fs-sm); }
.consent-foot a { display: inline-flex; align-items: center; min-height: var(--tap); }
.btn.consent-close { margin-left: auto; }
@media (max-width: 359px) { .consent-actions { grid-template-columns: minmax(0, 1fr); } }

/* phones and tablets: full width, sitting on top of the dock */
@media (max-width: 1023px) {
  .consent { bottom: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
  .consent-card { max-height: calc(100dvh - var(--topbar-h) - var(--dock-h) - var(--sp-4)); border-bottom: 1px solid var(--border-strong); }
  .consent-card > * { max-width: 600px; margin-left: auto; margin-right: auto; }
  body.nav-open .consent, body.modal-open .consent, body.kb-open .consent { display: none; }
}
/* desktop: a compact card at the bottom left of the content column, clear of the sidebar */
@media (min-width: 1024px) {
  .consent { left: calc(var(--sidebar-w) + var(--sp-5)); right: auto; bottom: var(--sp-5); width: min(392px, calc(100vw - var(--sidebar-w) - 2 * var(--sp-5))); }
  :root.rail-collapsed .consent { left: var(--sp-5); }
  .consent-card { padding: calc(var(--sp-4) + 6px) var(--sp-5) var(--sp-3); border: 1px solid var(--border-strong); border-top: 0; }
  body.modal-open .consent { display: none; }
}
body.consent-open { padding-bottom: var(--consent-h, 0px); }

/* the footer's way back to the choice: reads like the footer's links */
.footer-btn {
  display: flex; align-items: center; min-height: var(--tap); color: var(--text); font-size: var(--fs-sm);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
}
.footer-btn:hover { color: var(--link-hover); text-decoration-thickness: 2px; }

@media print { .consent, .footer-btn { display: none !important; } }
/* ---- 20-content.css ---- */
/* ======================================================================
   site/css/20-content.css · OWNER: the design system ("Chart & Label", design/DESIGN.md §6–§8)
   Page anatomy and the shared class vocabulary: crumbs, the page head (a cigar-label frame with a ribbon kicker
   and a water-lining foot), sections (water-lining head rule), prose, facts (the double rule), source line,
   buttons, the star, badges, chips, callouts, the card grid, toolbar, fields, view toggle, result count, empty
   state, tables, the time-first list (.tonight), TOC for phones. Tokens only; no color literal.
   ====================================================================== */

/* ---------- crumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-bottom: var(--sp-3); font-size: var(--fs-xs); color: var(--text-faint); }
.crumbs a { color: var(--text-muted); display: inline-flex; align-items: center; min-height: var(--tap); }
.crumbs .sep { color: var(--border-strong); }
.crumbs [aria-current="page"] { color: var(--text); }
@media (min-width: 1024px) { .crumbs a { min-height: 28px; } }

/* the water-lining rule: a 2px coast line and four engraved echoes, spacing widening seaward (hr.wl, or a div).
   .oxford (Cincy Week's heavy bar) now draws the same lining above a section head. */
.wl, .oxford {
  --wl: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--water-line) 0 0) 0 5px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 72%, transparent) 0 0) 0 9px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 46%, transparent) 0 0) 0 14px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 24%, transparent) 0 0) 0 21px / 100% 1px no-repeat;
}
.wl { display: block; height: var(--wl-h); border: 0; margin: var(--sp-8) 0 var(--sp-6); background: var(--wl); }
.wl.tight { margin: var(--sp-4) 0; }
.oxford { padding-top: calc(var(--wl-h) + 12px); background: var(--wl); }

/* ---------- the page head: one cigar-label frame per page, a ribbon kicker on its top rule ----------
   c.pageHead() markup: <header class="page-head [sheet-head]" [data-sheet]><p class="kicker label">…</p><h1>…</h1>
   <p class="lede">…<p class="dek">…<div class="head-chips">…</header>. The frame: an outer rule, a gold hairline inside,
   a pierced compass star on each corner (::after), a water-lining foot (::before). Content is centered. */
.page-head {
  position: relative; isolation: isolate;
  margin: calc(var(--ribbon-h) / 2 + var(--sp-3)) 0 var(--sp-7);
  padding: calc(var(--ribbon-h) / 2 + clamp(20px, 3.4vw, 36px)) clamp(18px, 5vw, 64px) calc(clamp(20px, 3vw, 30px) + var(--wl-h) + clamp(18px, 2.4vw, 26px));
  text-align: center;
  background: var(--surface);
  border: var(--frame-w) solid var(--frame-outer);
  outline: var(--frame-inner-w) solid var(--frame-inner);
  outline-offset: calc(-1 * (var(--frame-w) + var(--frame-gap) + var(--frame-inner-w)));
}
.page-head::after {                        /* the four corner stars */
  content: ""; position: absolute; pointer-events: none; z-index: 1;
  inset: calc(-1 * (var(--frame-w) / 2 + var(--corner) / 2));
  background: var(--corner-ink);
  -webkit-mask: var(--mask-corner) 0 0 / var(--corner) var(--corner) no-repeat, var(--mask-corner) 100% 0 / var(--corner) var(--corner) no-repeat,
                var(--mask-corner) 0 100% / var(--corner) var(--corner) no-repeat, var(--mask-corner) 100% 100% / var(--corner) var(--corner) no-repeat;
          mask: var(--mask-corner) 0 0 / var(--corner) var(--corner) no-repeat, var(--mask-corner) 100% 0 / var(--corner) var(--corner) no-repeat,
                var(--mask-corner) 0 100% / var(--corner) var(--corner) no-repeat, var(--mask-corner) 100% 100% / var(--corner) var(--corner) no-repeat;
}
.page-head::before {                       /* the water-lining foot */
  content: ""; position: absolute; left: 0; right: 0; margin: 0 auto; bottom: clamp(20px, 3vw, 30px);
  width: min(320px, 62%); height: var(--wl-h); pointer-events: none;
  background:
    linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--water-line) 0 0) 0 5px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 72%, transparent) 0 0) 0 9px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 46%, transparent) 0 0) 0 14px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 24%, transparent) 0 0) 0 21px / 100% 1px no-repeat;
}
/* the ribbon: the kicker is the band (gold hairlines inside), its ::before/::after the notched tails and folds.
   Navy with cream letters by day, gold with navy by night; on a sheet page, the sheet's fill and its -on ink. */
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: var(--sp-3); color: var(--accent-strong); }
.page-head > .kicker {
  --rb: var(--ribbon-bg); --ri: var(--ribbon-ink); --rf: var(--ribbon-fold); --rr: var(--ribbon-rule);
  position: absolute; left: 0; right: 0; top: calc(-1 * var(--ribbon-h) / 2 - var(--frame-w) / 2);
  width: fit-content; max-width: calc(100% - 2 * var(--ribbon-tail) - 28px); margin: 0 auto;
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--ribbon-h); padding: 3px 16px;
  background:
    linear-gradient(var(--rr) 0 0) 0 3px / 100% 1px no-repeat,
    linear-gradient(var(--rr) 0 0) 0 calc(100% - 3px) / 100% 1px no-repeat,
    var(--rb);
  color: var(--ri);
  font-family: var(--font-label); font-stretch: var(--label-stretch-wide); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label-wide); text-transform: uppercase; line-height: 1.2; text-align: center; white-space: nowrap;
}
.page-head[data-sheet] > .kicker { --rb: var(--ink-fill); --ri: var(--ink-on); --rf: color-mix(in oklab, var(--ink-fill) 62%, var(--fold-shade)); }
.page-head > .kicker::before, .page-head > .kicker::after {
  content: ""; position: absolute; z-index: -1; top: 7px; bottom: -7px; width: calc(var(--ribbon-tail) + 8px);
}
.page-head > .kicker::before {
  left: calc(-1 * var(--ribbon-tail));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--ribbon-notch) 50%);
  background: linear-gradient(to top right, var(--rf) 50%, transparent 50%) 100% 100% / 8px 7px no-repeat, linear-gradient(var(--rb) 0 0) 0 0 / calc(100% - 8px) 100% no-repeat;
}
.page-head > .kicker::after {
  right: calc(-1 * var(--ribbon-tail));
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--ribbon-notch)) 50%, 100% 100%, 0 100%);
  background: linear-gradient(to top left, var(--rf) 50%, transparent 50%) 0 100% / 8px 7px no-repeat, linear-gradient(var(--rb) 0 0) 100% 0 / calc(100% - 8px) 100% no-repeat;
}
.page-head > .kicker .bullet { display: none; }            /* a ribbon never holds a badge: its words name the sheet */
.page-head > .kicker .sec-num { min-width: 20px; height: 20px; padding: 0 5px; background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--rr); letter-spacing: 0; }
.page-head > .kicker > span:empty { display: none; }
@media (max-width: 559px) {
  .page-head { padding-top: calc(var(--ribbon-h) / 2 + 30px); }
  .page-head > .kicker { white-space: normal; font-stretch: var(--label-stretch); letter-spacing: var(--track-label); text-wrap: balance; padding: 3px 12px; }
}
.page-head h1 {
  margin: 0 auto; max-width: 18ch; font-size: clamp(2.375rem, 1.55rem + 3.6vw, 4.5rem); line-height: var(--lh-tight);
  overflow-wrap: break-word;
}
.page-head .lede { margin: 14px auto 0; max-width: 60ch; }
.page-head .dek { margin: 12px auto 0; max-width: 40ch; }
.page-head .head-chips, .page-head .head-actions, .page-head .btn-row { justify-content: center; }
.page-head .head-chips { margin-top: var(--sp-5); }
.page-head > .sheet-badge, .page-head > .badge { margin-top: var(--sp-3); }
/* a page head without the frame (for a page that shows its own masthead): left-aligned, lined underneath */
.page-head.is-plain { margin-top: 0; padding: 0 0 calc(var(--wl-h) + var(--sp-4)); text-align: left; background: none; border: 0; outline: 0; }
.page-head.is-plain::after { display: none; }
.page-head.is-plain::before { left: 0; right: 0; bottom: 0; width: auto; margin: 0; }
.page-head.is-plain > .kicker { position: static; margin: 0 0 var(--sp-3); }
.page-head.is-plain h1, .page-head.is-plain .lede, .page-head.is-plain .dek { margin-left: 0; margin-right: 0; }
.page-head.is-plain .head-chips, .page-head.is-plain .head-actions { justify-content: flex-start; }

.lede { margin-top: var(--sp-3); max-width: 62ch; font-size: 1.0625rem; color: var(--text-muted); }
.dek {                                    /* deks, quotes and water names are Bodoni italic */
  margin-top: var(--sp-3); max-width: 44ch;
  font-family: var(--font-display); font-style: italic; font-weight: 520; font-size: var(--fs-lg); line-height: var(--lh-snug); color: var(--text-muted);
}
@media (max-width: 559px) { .dek { font-size: var(--fs-md); } }
.byline { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--text-faint); }
.head-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-4); }

/* ---------- sections ---------- */
.section { margin-top: var(--sp-8); scroll-margin-top: calc(var(--topbar-h) + var(--sp-4)); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px var(--sp-4); margin-bottom: var(--sp-5); }
.sec-head .sec-kicker { display: flex; align-items: center; gap: 8px; width: 100%; color: var(--text-muted); }
.sec-head h2 { flex: 1 1 auto; }
.sec-head h2 .sec-icon { display: inline-block; width: 0.8em; height: 0.8em; margin-right: 10px; vertical-align: -0.06em; color: var(--text-muted); }
.sec-head .more { display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.sec-head .more .i { width: 16px; height: 16px; }
.sub-h {
  margin: var(--sp-6) 0 var(--sp-3); padding-bottom: 7px; border-bottom: 1px solid var(--border);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.3; color: var(--text-muted);
}
.sub-h:has(+ .tonight) { border-bottom: 0; margin-bottom: 0; }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--sp-3); }
.prose h2 { margin-top: var(--sp-7); } .prose h3 { margin-top: var(--sp-5); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose blockquote { padding-left: var(--sp-4); border-left: var(--rule-mid) solid var(--gold); font-family: var(--font-display); font-style: italic; font-weight: 520; font-size: var(--fs-md); line-height: var(--lh-snug); }

/* ---------- facts: the chart's title-block table; a double rule on top, hairlines between ---------- */
.facts {
  display: flex; flex-wrap: wrap; gap: 1px; margin: var(--sp-5) 0; padding-top: 6px;
  background:
    linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat,
    linear-gradient(var(--border) 0 0) 0 6px / 100% calc(100% - 6px) no-repeat;
  border-bottom: 1px solid var(--rule-ink);
}
.fact { flex: 1 1 170px; min-width: 0; padding: 11px 14px 13px; background: var(--bg); }
.fact dt {
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.25; color: var(--text-faint);
}
.fact dd { margin-top: 5px; font-size: var(--fs-sm); line-height: 1.45; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fact dd .big, .fact dd .numeral { display: block; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-numeral); line-height: 1; color: var(--text); font-variant-numeric: lining-nums; }
.fact.fact-wide { flex: 2 1 340px; }
.fact dd a { font-weight: var(--wght-strong); }
:is(.card, .modal-panel, .map-panel, .callout) .fact { background: var(--surface); }

.source-line {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: var(--sp-5); padding-top: var(--sp-3);
  border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--text-faint);
}
.source-line .i { width: 14px; height: 14px; align-self: center; }
.source-line a { color: var(--text-muted); }

.keylinks { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
/* previous / next: two label panels under a water-lining rule */
.pagenav {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-top: var(--sp-8); padding-top: calc(var(--wl-h) + var(--sp-3));
  background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--water-line) 0 0) 0 5px / 100% 1px no-repeat, linear-gradient(color-mix(in srgb, var(--water-line) 60%, transparent) 0 0) 0 9px / 100% 1px no-repeat, linear-gradient(color-mix(in srgb, var(--water-line) 30%, transparent) 0 0) 0 14px / 100% 1px no-repeat;
}
.pagenav a { display: flex; flex-direction: column; gap: 4px; min-height: var(--tap); padding: 12px 14px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--text); }
.pagenav a:hover { border-color: var(--border-strong); color: var(--text); }
.pagenav .label { color: var(--text-faint); }
.pagenav strong { font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); line-height: var(--lh-snug); }
.pagenav a.next { text-align: right; align-items: flex-end; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 0 18px; border: 2px solid transparent; border-radius: var(--radius-md);
  font-size: var(--fs-sm); font-weight: var(--wght-strong); line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn .i { width: 17px; height: 17px; }
.btn-primary { background: var(--primary); color: var(--primary-contrast); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-contrast); }
/* the one "Add to My Trip" action, in the house ink (magenta by day, gold by night); .btn-river is its engine alias */
.btn-house, .btn-river { background: var(--accent); color: var(--accent-contrast); }
.btn-house:hover, .btn-river:hover { background: var(--accent-strong); color: var(--accent-contrast); }
.btn-house[aria-pressed="true"], .btn-river[aria-pressed="true"] { background: var(--accent-strong); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { color: var(--text); border-color: var(--text); }
.btn-ghost { color: var(--link); padding: 0 8px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.btn-ghost:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: var(--fs-xs); }
@media (pointer: coarse), (max-width: 1023px) { .btn-sm { min-height: var(--tap); } }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--surface-sunken); color: var(--text-faint); border-color: var(--border); cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
@media (max-width: 559px) { .btn-row.stack-sm .btn { flex: 1 1 100%; } }

/* the star (save to My Trip): 44px; pressed = the house ink, filled */
.star {
  position: relative; z-index: 2; display: inline-grid; place-items: center; flex: none;
  width: var(--tap); height: var(--tap); border-radius: var(--radius-md); color: var(--text-muted);
}
.star:hover { background: var(--surface-alt); color: var(--text); }
.star .i { width: 22px; height: 22px; }
.star[aria-pressed="true"] { color: var(--accent); }
.star[aria-pressed="true"] .i { fill: currentColor; }
.star.floating { position: absolute; top: 8px; right: 8px; background: var(--surface); box-shadow: var(--shadow-2); }

/* ---------- badges: 24px, 12px expanded caps; states are always words ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 3px 8px; max-width: 100%;
  border: 1px solid transparent; border-radius: var(--radius-xs);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1; vertical-align: middle;
  font-variant-numeric: tabular-nums; background: var(--surface-sunken); color: var(--text-muted);
}
.badge .i { width: 13px; height: 13px; }
.badge-live { background: var(--live-tint); color: var(--live-ink); }
.badge-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 28%, transparent); flex: none; }
.badge-soon, .badge-started, .badge-out { background: transparent; border-color: var(--soon); color: var(--soon); }
.badge-past { background: var(--surface-sunken); color: var(--text-muted); }
.badge-free { background: transparent; border-color: var(--accent); color: var(--accent-strong); }
.badge-trip { background: var(--success-tint); color: var(--success); }
.badge-warn { background: var(--warning-tint); color: var(--warning); }
.badge-closed { background: var(--danger-tint); color: var(--danger); }
.badge-unconfirmed, .badge-tentative { background: transparent; border: 1px dashed var(--border-strong); color: var(--text-muted); }
.badge-sheet { background: var(--ink-tint); color: var(--ink-text); }

/* ---------- chips (filters): 44px; pressed = the sheet's tint + 2px edge + check + bold ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 14px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface);
  color: var(--text); font-size: var(--fs-sm); font-weight: var(--wght-ui); white-space: nowrap; text-decoration: none;
}
.chip:hover { border-color: var(--text); color: var(--text); }
.chip .i { width: 16px; height: 16px; }
.chip .n { color: var(--text-faint); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.chip .ck { display: none; width: 16px; height: 16px; }
.chip .bullet { margin-left: -6px; }
.chip .sheet-dot { margin-left: -2px; }
.chip[aria-pressed="true"], .chip[aria-checked="true"] {
  background: var(--ink-tint); border: 2px solid var(--ink-edge); padding: 0 13px; color: var(--ink-text); font-weight: var(--wght-strong);
}
.chip:not([data-sheet])[aria-pressed="true"], .chip:not([data-sheet])[aria-checked="true"] { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-strong); }
.chip[aria-pressed="true"] .ck, .chip[aria-checked="true"] .ck { display: block; }
.chip[aria-pressed="true"] .n { color: inherit; }
.chip-sep { width: 1px; align-self: stretch; margin: 6px 4px; background: var(--border-strong); }
.chip .x { width: 16px; height: 16px; }
.chip-more { font-weight: var(--wght-strong); }
.chip-more .count { min-width: 20px; height: 20px; }

/* ---------- callouts: a boxed note with a flag on its top rule ---------- */
.callout { position: relative; margin: var(--sp-6) 0 var(--sp-5); padding: 24px 18px 16px; border: 1px solid var(--border-strong); background: var(--surface); max-width: 72ch; }
.callout > .flag {
  position: absolute; top: 0; left: 14px; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  background: var(--primary); color: var(--primary-contrast);
}
.callout > .flag .i { width: 14px; height: 14px; }
.callout p + p { margin-top: var(--sp-2); }
.callout.tone-tip { background: var(--accent-tint); border-color: var(--accent); }
.callout.tone-tip > .flag { background: var(--accent-strong); color: var(--accent-contrast); }
.callout.tone-warn { background: var(--warning-tint); border-color: var(--warning-edge); }
.callout.tone-warn > .flag { background: var(--warning); color: var(--warning-tint); }
/* "In their words": an official page's own words, in the sheet's tint, Bodoni italic, always with a named source */
.callout.tone-org, .callout.tone-quote { background: var(--ink-tint); border-color: var(--ink-edge); border-left: var(--rule-heavy) solid var(--ink-fill); }
.callout.tone-org > .flag, .callout.tone-quote > .flag { background: var(--surface); color: var(--ink-text); border: 1px solid var(--ink-edge); }
.callout.tone-org blockquote, .callout.tone-quote blockquote { font-family: var(--font-display); font-style: italic; font-weight: 520; font-size: var(--fs-md); line-height: var(--lh-snug); }
.callout.tone-org cite, .callout.tone-quote cite { display: block; margin-top: var(--sp-2); font-style: normal; font-size: var(--fs-xs); color: var(--text-muted); }

/* ---------- the card grid and the plain card (record cards: 21-records.css) ---------- */
.grid { display: grid; gap: var(--sp-5) var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card { position: relative; display: block; min-width: 0; padding: var(--sp-4); background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; }
a.card:hover, .card:has(.stretched:hover) { border-color: var(--border-strong); color: var(--text); }
.stretched { text-decoration: none; color: inherit; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.stretched:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em; color: inherit; }

/* ---------- toolbar, fields, view toggle, result count, empty state ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); margin-bottom: var(--sp-4); }
.field {
  position: relative; display: flex; align-items: center; flex: 1 1 260px; max-width: 460px; min-height: var(--tap);
  background: var(--surface); border: 1px solid var(--border-strong); border-bottom: var(--rule-mid) solid var(--rule-ink); border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.field .i { position: absolute; left: 12px; color: var(--text-faint); pointer-events: none; }
.field input { width: 100%; min-height: var(--tap); padding: 0 12px 0 40px; border: 0; background: transparent; outline: none; font-size: var(--fs-base); }
.field input::placeholder { color: var(--text-faint); opacity: 1; }
.field:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.select {
  min-height: var(--tap); padding: 0 34px 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  background: var(--surface); font-size: var(--fs-sm); appearance: none; max-width: 100%;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.view-toggle { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--radius-md); overflow: hidden; }
.view-toggle button { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 14px; font-size: var(--fs-sm); color: var(--text-muted); background: var(--surface); }
.view-toggle button + button { border-left: 1px solid var(--border-strong); }
.view-toggle button[aria-pressed="true"] { background: var(--primary); color: var(--primary-contrast); font-weight: var(--wght-strong); }
.result-count { font-size: var(--fs-sm); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.result-count b { color: var(--text); }
/* empty state: a dashed chart sheet with the chart symbol in a medallion */
.empty-state {
  display: grid; justify-items: start; gap: var(--sp-2); padding: var(--sp-5); max-width: 560px;
  border: 1px dashed var(--border-strong); background: var(--surface);
}
.empty-state .halftone {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); color: var(--ink-text);
  box-shadow: 0 0 0 1.5px var(--ink-edge), 0 0 0 4px var(--surface), 0 0 0 5px color-mix(in srgb, var(--ink-edge) 55%, transparent);
  margin: 4px 0 6px 5px;
}
.empty-state .halftone .i { width: 22px; height: 22px; }
.empty-state h2, .empty-state h3 { font-size: var(--fs-md); }
.empty-state p { color: var(--text-muted); font-size: var(--fs-sm); }
.az { display: flex; flex-wrap: wrap; gap: 2px; }
.az a { display: grid; place-items: center; min-width: 32px; min-height: var(--tap); font-family: var(--font-label); font-weight: var(--wght-label); font-size: var(--fs-sm); text-decoration: none; color: var(--text-muted); }
.az a:hover { background: var(--surface-alt); color: var(--text); }
.az a[aria-current="true"] { background: var(--primary); color: var(--primary-contrast); }
.az a[aria-disabled="true"] { color: var(--border-strong); pointer-events: none; }

/* ---------- tables: the label frame's double rule on top, caps heads; below 700px every row becomes a card ---------- */
.table-wrap { overflow-x: auto; margin: var(--sp-4) 0; }
table.data {
  width: 100%; border-collapse: collapse; font-size: var(--fs-sm);
  background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat;
}
table.data caption { caption-side: top; text-align: left; padding-bottom: var(--sp-2); font-size: var(--fs-xs); color: var(--text-faint); }
table.data th {
  text-align: left; vertical-align: bottom; padding: 16px 12px 8px; border-bottom: 1px solid var(--rule-ink); color: var(--text-muted);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase;
}
table.data td { padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tbody th {
  vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--border); color: var(--text);
  font-family: var(--font-display); font-stretch: normal; font-weight: var(--wght-head); font-size: var(--fs-md); letter-spacing: 0; text-transform: none; line-height: var(--lh-snug);
}
table.data td.when { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: var(--wght-strong); }
table.data td .sheet-badge { white-space: nowrap; }
table.data tbody tr:hover td, table.data tbody tr:hover th { background: var(--surface-alt); }
@media (max-width: 699px) {
  table.data, table.data tbody, table.data tr, table.data td, table.data tbody th { display: block; }
  table.data caption { display: block; }
  table.data { background: none; }
  table.data tbody { padding-top: 6px; background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat; }
  table.data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.data tr { padding: 10px 0; border-bottom: var(--rule-mid) solid var(--rule-ink); }
  table.data tbody th { padding: 4px 0; border: 0; }
  table.data td { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 4px 0; border: 0; }
  table.data td::before {
    content: attr(data-label); padding-top: 2px; color: var(--text-faint);
    font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase;
  }
  table.data td.num { text-align: left; }
  table.data td:empty { display: none; }
}

/* ---------- small shared pieces ---------- */
.spaced { margin-top: var(--sp-5); }
.h-card { font-size: var(--fs-lg); line-height: var(--lh-snug); }
.h-anchor { margin-left: 6px; color: var(--text-faint); text-decoration: none; font-family: var(--font-body); font-weight: var(--wght-ui); opacity: 0; transition: opacity var(--speed) var(--ease); }
:is(h2, h3):hover > .h-anchor, .h-anchor:focus-visible { opacity: 1; }
@media (max-width: 699px), (hover: none) { .h-anchor { display: none; } }
.prose details > summary, .card details > summary, details.faq > summary { display: flex; align-items: center; min-height: var(--tap); cursor: pointer; }
/* "On this page" for narrow screens on long pages; the rail takes over at ≥ 1280px */
.toc-mobile { margin: 0 0 var(--sp-5); border: 1px solid var(--border); background: var(--surface); }
.toc-mobile > summary { display: flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 12px; cursor: pointer; list-style: none; font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.toc-mobile > summary::-webkit-details-marker { display: none; }
.toc-mobile > summary .chev { margin-left: auto; transition: transform var(--speed) var(--ease); }
.toc-mobile[open] > summary .chev { transform: rotate(180deg); }
.toc-mobile ul { list-style: none; padding: 0 12px 8px; }
.toc-mobile a { display: flex; align-items: center; min-height: var(--tap); color: var(--text-muted); text-decoration: none; border-top: 1px solid var(--border); font-size: var(--fs-sm); }
@media (min-width: 1280px) { .toc-mobile { display: none; } }

/* ---------- the time-first list (eventRow → <ol class="tonight">): times in Archivo tabular, like a tide table ---------- */
.tonight { list-style: none; padding: 2px 0 0; background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat; }
.tonight li { border-bottom: 1px solid var(--border); }
.tonight a { display: grid; grid-template-columns: 74px auto minmax(0, 1fr); align-items: start; gap: 4px 12px; min-height: var(--tap); padding: 10px 0; color: var(--text); text-decoration: none; }
.tonight a:hover .t { text-decoration: underline; text-underline-offset: 0.16em; }
.tonight time {
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: var(--fs-sm); line-height: 1.45; text-align: right;
}
.tonight time small { display: block; font-size: var(--fs-label); color: var(--text-faint); letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.3; }
.tonight .bullet { margin-top: 1px; }
.tonight .sheet-dot { margin-top: 6px; }
.tonight .t { font-weight: var(--wght-strong); line-height: 1.35; }
.tonight .w { display: block; font-size: var(--fs-xs); color: var(--text-muted); font-weight: var(--wght-body); }
@media (max-width: 399px) { .tonight a { grid-template-columns: 64px auto minmax(0, 1fr); gap: 4px 10px; } }
/* ---- 21-records.css ---- */
/* ======================================================================
   site/css/21-records.css · OWNER: the design system ("Chart & Label", design/DESIGN.md §8)
   One card grammar for the record kinds (.card.place .card.stay .card.exp .card.area): the plate (or a
   rights-cleared photo) inset 6px with concave corners, a caps kicker with the sheet badge, the title in
   Bodoni, a 3-line summary, a tabular meta line, the star as a paper medallion on the plate.
   The plate (.plate-type): a cigar-label panel in the sheet's tint (double rule, compass watermark, the
   chart code in a medallion, the name in Bodoni italic, a ripple foot). Never a stock photo.
   Also: .photo .photo-fig, compact rows (ul.rows > li.row), .coord-line, .head-actions, the heritage block
   (gold double rule, designation boxes), the timeline, route stops, the signature seal, the date box.
   Tokens only; no color literal.
   ====================================================================== */

/* ---------- record cards ---------- */
.card.place, .card.stay, .card.exp, .card.area { display: flex; flex-direction: column; padding: 0; }
.card.place:has(.stretched:hover) .plate-type, .card.stay:has(.stretched:hover) .plate-type, .card.area:has(.stretched:hover) .plate-type { filter: saturate(1.1); }
.card > .plate-type, .card > .photo { margin: 6px 6px 0; }
.card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; padding: 12px 16px 16px; }
.card-kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-height: 24px; color: var(--text-muted);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.3;
}
.card-kicker .sheet-badge { margin-right: 2px; }
.card-kicker .sym, .card-kicker > .i { width: 18px; height: 18px; color: var(--ink-text); }
.card-title { font-size: var(--fs-md); line-height: var(--lh-snug); }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
.card-title a[data-open-experience]::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* the whole card opens the dialog */
.card-status { margin: 2px 0; }
.card-sum { font-size: var(--fs-sm); color: var(--text-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.card-meta, .card-op, .card-departs, .card-brand, .card-feats, .card-known { font-size: var(--fs-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; line-height: 1.45; }
.card-op { color: var(--text); font-weight: var(--wght-strong); }
.card-feats { color: var(--text); }
.card-meta { margin-top: auto; padding-top: 6px; }
.card-meta .unk { font-size: inherit; }
.card-departs a, .card-meta a { position: relative; z-index: 2; }
.card-more { position: relative; z-index: 2; font-size: var(--fs-sm); margin-top: 2px; }
.card-more > summary { display: inline-flex; min-height: var(--tap); align-items: center; gap: 6px; cursor: pointer; color: var(--link); font-weight: var(--wght-strong); list-style: none; }
.card-more > summary::-webkit-details-marker { display: none; }
.card-more > summary::after { content: "+"; font-weight: var(--wght-strong); }
.card-more[open] > summary::after { content: "–"; }
.card-more .facts { margin: var(--sp-2) 0; }
.js .card.exp .card-more { display: none; }                  /* with JS the experience dialog shows the details */
.card-quote { margin: var(--sp-2) 0; padding-left: var(--sp-3); border-left: var(--rule-mid) solid var(--ink-edge); font-family: var(--font-display); font-style: italic; font-weight: 520; }
.card-quote cite { display: block; margin-top: 4px; font-family: var(--font-body); font-style: normal; font-size: var(--fs-xs); color: var(--text-muted); }
/* the star: a paper medallion on the plate's top-right corner (44px target) */
.card > .star { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--surface); box-shadow: 0 0 0 1px var(--border), var(--shadow-1); border-radius: 50%; }
.card > .star:hover { background: var(--surface-alt); }
.card .card-more, .card a:not(.stretched):not([data-open-experience]) { position: relative; z-index: 2; }
.card[data-st="closed"] .card-title a, .card[data-st="temporarily-closed"] .card-title a { color: var(--text-muted); }
/* signature places: a gold rule on the card's top edge, and the seal where the lane prints it */
.card[data-sig="1"] { border-top: 3px solid var(--gold); }
/* historic places and hotels: the label's double gold rule */
.card.place[data-era], .card.stay[data-h="1"] { border-top: 3px double var(--gold-ink); }

/* ---------- the plate: the typographic stand-in for a picture ----------
   images.mjs plate(): <span class="plate-type [lg]" data-sheet aria-hidden="true"><span class="pt-code">TP</span><span class="pt-name">…</span></span> */
.plate-type {
  --n: 12px;
  --pr1: color-mix(in srgb, var(--ink-edge) 70%, transparent);
  --pr2: color-mix(in srgb, var(--ink-edge) 42%, transparent);
  position: relative; display: grid; align-content: center; justify-items: center; gap: 8px;
  aspect-ratio: 16 / 9; overflow: hidden; padding: 18px 26px 28px; text-align: center;
  color: var(--ink-text);
  background:
    linear-gradient(var(--pr1) 0 0) 7px 7px / calc(100% - 14px) 1px no-repeat,
    linear-gradient(var(--pr1) 0 0) 7px calc(100% - 7px) / calc(100% - 14px) 1px no-repeat,
    linear-gradient(var(--pr1) 0 0) 7px 7px / 1px calc(100% - 14px) no-repeat,
    linear-gradient(var(--pr1) 0 0) calc(100% - 7px) 7px / 1px calc(100% - 14px) no-repeat,
    linear-gradient(var(--pr2) 0 0) 11px 11px / calc(100% - 22px) 1px no-repeat,
    linear-gradient(var(--pr2) 0 0) 11px calc(100% - 11px) / calc(100% - 22px) 1px no-repeat,
    linear-gradient(var(--pr2) 0 0) 11px 11px / 1px calc(100% - 22px) no-repeat,
    linear-gradient(var(--pr2) 0 0) calc(100% - 11px) 11px / 1px calc(100% - 22px) no-repeat,
    var(--ink-tint);
  -webkit-mask:
    radial-gradient(circle at 0 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
          mask:
    radial-gradient(circle at 0 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
}
.plate-type::after {                        /* the compass-rose watermark */
  content: ""; position: absolute; width: 62%; aspect-ratio: 1; right: -16%; top: -26%; pointer-events: none;
  z-index: -1; background: var(--ink-edge); opacity: 0.1;
  -webkit-mask: var(--mask-rose) 0 0 / 100% 100% no-repeat; mask: var(--mask-rose) 0 0 / 100% 100% no-repeat;
}
/* the medallion: a paper disc, the sheet's keyline, a paper gap, a second keyline, holding the chart code */
.plate-type .pt-code {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; padding-left: 0.16em;
  background: var(--surface); color: var(--ink-text);
  box-shadow: 0 0 0 1.5px var(--ink-edge), 0 0 0 4px var(--surface), 0 0 0 5px color-mix(in srgb, var(--ink-edge) 55%, transparent);
  font-family: var(--font-label); font-stretch: var(--label-stretch-wide); font-size: var(--fs-label); font-weight: 780;
  letter-spacing: 0.16em; line-height: 1;
}
.plate-type .pt-name {
  max-width: 28ch; font-family: var(--font-display); font-style: italic; font-weight: 640;
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.5rem); line-height: 1.1; color: var(--text); text-wrap: balance;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; padding-bottom: 0.08em;
}
.plate-type .pt-name::after {               /* the ripple foot (positioned against the plate) */
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 15px; height: 6px; pointer-events: none;
  background: var(--ink-edge); opacity: 0.45;
  -webkit-mask: var(--mask-ripple) 0 0 / 20px 6px repeat-x; mask: var(--mask-ripple) 0 0 / 20px 6px repeat-x;
}
.plate-type.lg { aspect-ratio: 3 / 2; padding: 28px 32px 40px; gap: 12px; }
.plate-type.lg[data-sheet]::before {        /* "Sheet 1" over the medallion on the big plate */
  content: "Sheet " var(--ink-n); color: var(--ink-text);
  font-family: var(--font-label); font-stretch: var(--label-stretch-wide); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label-wide); text-transform: uppercase; line-height: 1.2;
}
.plate-type.lg .pt-code { width: 64px; height: 64px; font-size: var(--fs-sm); }
.plate-type.lg .pt-name { font-size: clamp(1.625rem, 1.15rem + 2vw, 2.5rem); -webkit-line-clamp: 3; line-clamp: 3; }
.plate-type.lg .pt-name::after { bottom: 20px; left: 22px; right: 22px; }
@media (max-width: 559px) { .plate-type.lg { aspect-ratio: 4 / 3; } }

/* a rights-cleared photo takes the plate's place: the same inset and concave corners, its credit nearby */
.photo {
  --n: 10px; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-sunken);
  -webkit-mask:
    radial-gradient(circle at 0 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
          mask:
    radial-gradient(circle at 0 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
}
.photo.lg { aspect-ratio: 3 / 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); }
.photo-fig { margin: var(--sp-4) 0; }
.photo-fig img { width: 100%; height: auto; filter: var(--photo-filter); }
.photo-fig figcaption { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--text-muted); }
.photo-fig .credit { color: var(--text-faint); }
.photo-fig figcaption a { color: var(--text-muted); }

/* ---------- compact rows (placeRow, stayRow, experienceRow; My Trip) ---------- */
ul.rows { list-style: none; padding: 2px 0 0; background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat; }
li.row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--sp-3); padding: 6px 0; border-bottom: 1px solid var(--border); }
li.row > a, li.row > span { display: flex; align-items: center; gap: 12px; min-height: var(--tap); flex: 1 1 260px; min-width: 0; color: var(--text); text-decoration: none; }
li.row .t { font-weight: var(--wght-strong); line-height: 1.35; }
li.row > a:hover .t { text-decoration: underline; text-underline-offset: 0.16em; }
li.row .w { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
li.row > p { flex-basis: 100%; font-size: var(--fs-sm); }
li.row .star { margin-left: auto; }

.coord-line { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.coord-line .i { width: 16px; height: 16px; }
.head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin-top: var(--sp-4); }

/* ---------- heritage: the label's double gold rule, designation boxes ---------- */
.heritage { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 4px double var(--gold-ink); }
.heritage > h2, .heritage > h3 { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-3); }
.heritage > h2::before, .heritage > h3::before {
  content: ""; flex: none; width: 0.62em; height: 0.62em; border: 2px solid var(--gold-ink); border-radius: 50%;
  background: radial-gradient(circle, var(--gold-ink) 0 2px, transparent 2.5px);
}
.designations { list-style: none; padding: 0; margin: var(--sp-4) 0; display: grid; gap: var(--sp-2); }
.designations li {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; background: var(--gold-tint); color: var(--text);
  font-size: var(--fs-sm); line-height: 1.4; max-width: 72ch;
}
.designations li::before {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 2px; border: 2px solid var(--gold-ink); border-radius: 50%;
  background: radial-gradient(circle, var(--gold-ink) 0 1.5px, transparent 2px);
}
.designations a { color: var(--text); font-weight: var(--wght-strong); }
.heritage-visit { margin-top: var(--sp-4); max-width: var(--measure); }

/* ---------- the timeline: a coast line with a landmark at each date ---------- */
ol.timeline { list-style: none; padding: 0; margin: 0; background: linear-gradient(var(--rule-ink) 0 0) 7px 0 / 2px 100% no-repeat; }
.tl-item, ol.timeline > li { position: relative; padding: 0 0 var(--sp-6) calc(var(--sp-5) + 8px); }
ol.timeline > li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle, var(--ink-fill) 0 2.5px, var(--bg) 3px); border: 2px solid var(--ink-fill);
}
.tl-year { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); line-height: 1.1; color: var(--ink-text); font-variant-numeric: lining-nums; }
.tl-title { margin-top: 2px; font-size: var(--fs-md); }
.tl-text { margin-top: 6px; max-width: var(--measure); }
.tl-places { margin-top: 6px; font-size: var(--fs-sm); color: var(--text-muted); }
.tl-item .source-line { margin-top: var(--sp-3); }

/* ---------- route stops (Passages): the course line, magenta as on a chart ---------- */
ol.stops { list-style: none; padding: 0; counter-reset: stop; background: repeating-linear-gradient(to bottom, var(--magenta) 0 6px, transparent 6px 11px) 13px 14px / 2px calc(100% - 28px) no-repeat; }
ol.stops > li { position: relative; counter-increment: stop; min-height: var(--tap); padding: 6px 0 var(--sp-4) 44px; }
ol.stops > li::before {
  content: counter(stop); position: absolute; left: 0; top: 4px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface); color: var(--magenta-ink); border: 2px solid var(--magenta);
  font-family: var(--font-label); font-size: var(--fs-label); font-weight: 780; font-variant-numeric: tabular-nums;
}

/* ---------- the signature seal: gold leaf, a word, sparingly (never more than one per card) ---------- */
.seal {
  display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 3px 12px 3px 9px; width: fit-content;
  background: var(--gold-leaf); color: var(--gold-leaf-ink);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1;
  --n: 5px;
  -webkit-mask:
    radial-gradient(circle at 0 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
          mask:
    radial-gradient(circle at 0 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
}
.seal .i { width: 15px; height: 15px; }

/* ---------- the date box: weekday and month in caps over a Bodoni day numeral (a tide-table day) ----------
   <div class="datebox" aria-hidden="true"><span class="dw">Wed</span><span class="d">6</span><span class="mo">Jan</span></div> */
.datebox {
  flex: none; width: 60px; display: grid; justify-items: center; align-content: start; gap: 3px; padding: 8px 0 9px;
  border-top: 2px solid var(--ink-fill); border-bottom: 1px solid var(--ink-fill); background: var(--ink-tint); color: var(--ink-text); text-align: center;
}
.datebox .mo, .datebox .dw {
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1;
}
.datebox .d { font-family: var(--font-display); font-weight: 800; font-size: 2.125rem; line-height: 0.95; font-variant-numeric: lining-nums; color: var(--text); }
/* ---- 22-ornaments.css ---- */
/* ======================================================================
   site/css/22-ornaments.css · OWNER: the design system ("Chart & Label", design/DESIGN.md §7)
   The label ornaments as reusable classes (drawn with tokens, never texture images) and the masthead recipe:
     .frame        a cigar-label frame (outer rule, gold hairline, corner stars). The page head already is one:
                   use .frame only where a page shows no page head frame (one frame per page).
     .ribbon       <span class="ribbon"><span>Sheet 1 · Tampa</span></span>: a band with gold hairlines and notched
                   tails; inside [data-sheet] it takes the sheet's fill. A ribbon never holds a sheet badge.
     .ripple       one engraved wave, tiled (under a masthead dek, plate feet)
     .grat > .grat-in   the chart neatline: a band of alternating ink and paper ticks (the masthead, map boxes)
     .cartouche    concave corners (--n); plates, the seal, a section number
     .rose         the compass rose (h: rose(root) → <svg class="rose"><use …brand.svg#compass>), decorative
     .wm-art       the outlined wordmark (wordmarkArt(root, { variant })), ink currentColor, TAMPA BAY in the house ink
     .mast …       the home masthead: .mast.grat > .grat-in.mast-in > .mast-line + .mast-title (rose · wordmark · rose)
                   + .mast-dek + .ripple + .mast-index (the six sheets). See design/specimen.html.
   Tokens only; no color literal.
   ====================================================================== */

/* ---------- frame ---------- */
.frame {
  position: relative; isolation: isolate;
  border: var(--frame-w) solid var(--frame-outer);
  outline: var(--frame-inner-w) solid var(--frame-inner);
  outline-offset: calc(-1 * (var(--frame-w) + var(--frame-gap) + var(--frame-inner-w)));
  background: var(--surface);
}
.frame::after {
  content: ""; position: absolute; pointer-events: none; z-index: 1;
  inset: calc(-1 * (var(--frame-w) / 2 + var(--corner) / 2));
  background: var(--corner-ink);
  -webkit-mask: var(--mask-corner) 0 0 / var(--corner) var(--corner) no-repeat, var(--mask-corner) 100% 0 / var(--corner) var(--corner) no-repeat,
                var(--mask-corner) 0 100% / var(--corner) var(--corner) no-repeat, var(--mask-corner) 100% 100% / var(--corner) var(--corner) no-repeat;
          mask: var(--mask-corner) 0 0 / var(--corner) var(--corner) no-repeat, var(--mask-corner) 100% 0 / var(--corner) var(--corner) no-repeat,
                var(--mask-corner) 0 100% / var(--corner) var(--corner) no-repeat, var(--mask-corner) 100% 100% / var(--corner) var(--corner) no-repeat;
}

/* ---------- ribbon ---------- */
.ribbon {
  --rb: var(--ribbon-bg); --ri: var(--ribbon-ink); --rf: var(--ribbon-fold); --rr: var(--ribbon-rule);
  position: relative; isolation: isolate; display: inline-flex; max-width: calc(100% - 2 * var(--ribbon-tail));
  margin: 0 var(--ribbon-tail);
}
[data-sheet] .ribbon, .ribbon[data-sheet] { --rb: var(--ink-fill); --ri: var(--ink-on); --rf: color-mix(in oklab, var(--ink-fill) 62%, var(--fold-shade)); }
.ribbon > span {
  position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: var(--ribbon-h); padding: 3px 16px;
  background:
    linear-gradient(var(--rr) 0 0) 0 3px / 100% 1px no-repeat,
    linear-gradient(var(--rr) 0 0) 0 calc(100% - 3px) / 100% 1px no-repeat,
    var(--rb);
  color: var(--ri);
  font-family: var(--font-label); font-stretch: var(--label-stretch-wide); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label-wide); text-transform: uppercase; line-height: 1.2; text-align: center;
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; z-index: -1; top: 7px; bottom: -7px; width: calc(var(--ribbon-tail) + 8px);
}
.ribbon::before { left: calc(-1 * var(--ribbon-tail)); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--ribbon-notch) 50%); background: linear-gradient(to top right, var(--rf) 50%, transparent 50%) 100% 100% / 8px 7px no-repeat, linear-gradient(var(--rb) 0 0) 0 0 / calc(100% - 8px) 100% no-repeat; }
.ribbon::after { right: calc(-1 * var(--ribbon-tail)); clip-path: polygon(0 0, 100% 0, calc(100% - var(--ribbon-notch)) 50%, 100% 100%, 0 100%); background: linear-gradient(to top left, var(--rf) 50%, transparent 50%) 0 100% / 8px 7px no-repeat, linear-gradient(var(--rb) 0 0) 100% 0 / calc(100% - 8px) 100% no-repeat; }
@media (max-width: 559px) { .ribbon > span { letter-spacing: var(--track-label); text-wrap: balance; } }

/* ---------- ripple, graticule, cartouche ---------- */
.ripple { height: 6px; background: var(--water-line); -webkit-mask: var(--mask-ripple) 0 0 / 20px 6px repeat-x; mask: var(--mask-ripple) 0 0 / 20px 6px repeat-x; }
.grat {
  --g: var(--grat-step); --w: var(--grat-w);
  padding: calc(var(--w) + 1px); border: 1px solid var(--grat-ink);
  background:
    repeating-linear-gradient(90deg, var(--grat-ink) 0 var(--g), var(--grat-paper) 0 calc(var(--g) * 2)) 0 0 / 100% var(--w) no-repeat,
    repeating-linear-gradient(90deg, var(--grat-ink) 0 var(--g), var(--grat-paper) 0 calc(var(--g) * 2)) 0 100% / 100% var(--w) no-repeat,
    repeating-linear-gradient(180deg, var(--grat-ink) 0 var(--g), var(--grat-paper) 0 calc(var(--g) * 2)) 0 0 / var(--w) 100% no-repeat,
    repeating-linear-gradient(180deg, var(--grat-ink) 0 var(--g), var(--grat-paper) 0 calc(var(--g) * 2)) 100% 0 / var(--w) 100% no-repeat,
    var(--grat-paper);
}
.grat > .grat-in { border: 1px solid var(--grat-ink); background: var(--surface); min-width: 0; }
.cartouche {
  --n: var(--notch);
  -webkit-mask:
    radial-gradient(circle at 0 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
          mask:
    radial-gradient(circle at 0 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent var(--n), var(--mask-ink) calc(var(--n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
}

/* ---------- the rose and the outlined wordmark ---------- */
.rose { width: 132px; height: auto; aspect-ratio: 1; color: var(--text); --compass-dark: var(--text); --compass-north: var(--magenta); --compass-light: var(--surface); --compass-hub: var(--gold); }
.wm-art { display: block; width: 100%; height: auto; color: var(--text); --wordmark-accent: var(--accent); }

/* ---------- the masthead (home): a neatline box, the date line, rose · wordmark · rose, the dek, the sheets ---------- */
.mast { margin-bottom: var(--sp-7); }
.mast-in { position: relative; overflow: hidden; padding: clamp(18px, 3vw, 32px) clamp(16px, 4vw, 48px) clamp(20px, 3vw, 30px); text-align: center; }
.mast-line {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 4px 16px; padding-bottom: 10px; color: var(--text-muted);
  background: linear-gradient(var(--rule-ink) 0 0) 0 100% / 100% 1px no-repeat;
}
.mast-line .mid { color: var(--text); }
.mast-line .side:first-child { text-align: left; } .mast-line .side:last-child { text-align: right; }
.mast-title { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 620px) 1fr; align-items: center; gap: clamp(8px, 3vw, 40px); margin: clamp(18px, 3vw, 30px) 0 10px; }
.mast-title .wm-art { color: var(--text); --wordmark-accent: var(--accent); }
.mast-rose { justify-self: center; width: clamp(64px, 11vw, 132px); }
.mast-rose.r { transform: scaleX(-1); }
.mast-dek { max-width: 46ch; margin: 6px auto 0; font-family: var(--font-display); font-style: italic; font-weight: 520; font-size: clamp(1.0625rem, 0.9rem + 0.7vw, 1.4375rem); line-height: var(--lh-snug); color: var(--text-muted); }
.mast .ripple { margin: 18px auto 0; max-width: 520px; }
.mast-index { display: grid; grid-template-columns: repeat(3, max-content); justify-content: center; gap: 2px 28px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.mast-index a { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 8px; color: var(--ink-text); text-decoration: none; font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.mast-index a:hover { background: var(--ink-tint); color: var(--ink-text); }
@media (max-width: 699px) {
  .mast-title { grid-template-columns: minmax(0, 1fr); }
  .mast-rose { display: none; }
  .mast-line { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .mast-line .side { display: none; }
  .mast-index { grid-template-columns: max-content; }
}
@media (min-width: 700px) and (max-width: 1099px) { .mast-index { grid-template-columns: repeat(2, max-content); } }

/* ---------- the sheet index: a numbered list of the six sheets (numeral · name · badge) ---------- */
.sheet-index { display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat; padding-top: 2px; }
.sheet-index > * { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--border); }
.sheet-index .no { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; line-height: 1; width: 1.1em; text-align: center; color: var(--ink-text); font-variant-numeric: lining-nums; }
.sheet-index h3 { font-size: var(--fs-md); }
.sheet-index p { font-size: var(--fs-xs); color: var(--text-muted); }
/* ---- 30-home.css ---- */
/* ======================================================================
   site/css/30-home.css · OWNER: the Home & Sheets lane
   The front page (build/pages/home.mjs): the masthead's heading (the recipe itself is in 22-ornaments.css),
   "On the water today", the chart index (the index chart and the six sheet plates), signature places, this season
   (signature events as date boxes, the annual calendar as an almanac), where to stay by sheet, the seven eras,
   getting here (airport tags, the distance table) and the stat tiles. Event rows are styled in 31-region.css.
   Tokens only; no color literal; nothing under 12px; 44px targets on phones.
   ====================================================================== */

.sec-lead { max-width: 68ch; margin: calc(-1 * var(--sp-2)) 0 var(--sp-5); color: var(--text-muted); }

/* ---------- the masthead: the outlined wordmark is the page's h1 ---------- */
.mast-h { margin: 0; line-height: 0; font-size: inherit; }
.mast-h .wm-art { width: 100%; height: auto; }
.home-page .mast { margin-top: var(--sp-2); }
.mast-index a .bullet { flex: none; }

/* ---------- on the water today ---------- */
.today-band { margin-top: var(--sp-7); }
.tb-clock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: calc(-1 * var(--sp-3)) 0 var(--sp-4); color: var(--text-muted); }
.tb-clock span:empty { display: none; }
.tb-cols { display: grid; gap: var(--sp-5) var(--sp-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .tb-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tb-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: var(--sp-2); font-size: var(--fs-lg); }
.tb-h .label { color: var(--accent-strong); }
.tb-d { font-family: var(--font-display); }
.tb-col .sub-h { margin-top: var(--sp-4); }
.tb-none { margin: var(--sp-2) 0 var(--sp-3); padding: var(--sp-3); border: 1px dashed var(--border-strong); background: var(--surface); color: var(--text-muted); }
.tb-more a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.tb-more .i { width: 16px; height: 16px; }
.tb-loading { color: var(--text-muted); }
.js .tb-fallback { display: none; }
.js .tb-fallback.is-shown { display: block; }
.tb-note { margin-bottom: var(--sp-3); color: var(--text-muted); }
.tb-days { display: grid; gap: 0 var(--sp-7); grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.tb-runs { margin-top: var(--sp-5); }
.tb-runlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.tb-runlist a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; min-height: var(--tap); padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.tb-runlist .t { display: block; font-weight: var(--wght-strong); line-height: 1.35; }
.tb-runlist .w { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
.tb-runlist a:hover .t { text-decoration: underline; text-underline-offset: 0.16em; }
.tb-links { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5); }

/* ---------- the chart index: the index chart beside the six plates ---------- */
.ix { display: grid; gap: var(--sp-6); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (max-width: 1099px) { .ix-chart { width: 100%; max-width: 440px; justify-self: center; } }
@media (min-width: 1100px) {
  .ix { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); }
  .ix-chart { position: sticky; top: calc(var(--topbar-h) + var(--sp-4)); }
}
.ix-chart { margin: 0; }
.ix-chart .grat-in { padding: 0; }
.ix-map { margin: 0; border: 0; box-shadow: none; }
.ix-map .map-label.water { font-size: var(--fs-sm); }
.ix-dot { position: absolute; z-index: 1; transform: translate(-50%, -50%); }
.ix-badge { position: absolute; z-index: 2; transform: translate(-50%, -50%); display: grid; place-items: center; padding: 3px; background: var(--map-pin-bg); box-shadow: 0 0 0 1px var(--ink-edge), var(--shadow-1); line-height: 0; }
.ix-corner { position: absolute; z-index: 2; padding: 2px 5px; background: var(--surface); color: var(--text-muted); }
.ix-corner.tl { left: 0; top: 0; }
.ix-corner.br { right: 0; bottom: 0; }
.ix-cap { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid var(--grat-ink); border-top: 0; background: var(--surface); font-size: var(--fs-xs); color: var(--text-muted); }
.ix-cap .label { color: var(--text); }
.si-plates { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ix.no-chart .si-plates { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

/* a sheet plate: the chart's title cartouche in the sheet's ink */
.si-plate {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-4) var(--sp-4) var(--sp-3);
  background: var(--surface); border: 1px solid var(--border); border-top: var(--stripe-w) solid var(--ink-fill); scroll-margin-top: calc(var(--topbar-h) + var(--sp-4));
}
.si-plate::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--ink-edge); opacity: 0.55; }
.si-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-bottom: var(--sp-3); background: linear-gradient(var(--rule-ink) 0 0) 0 100% / 100% 2px no-repeat, linear-gradient(var(--rule-ink) 0 0) 0 calc(100% - 5px) / 100% 1px no-repeat; padding-bottom: 14px; }
.si-no { font-family: var(--font-display); font-weight: 800; font-size: 3.25rem; line-height: 0.9; color: var(--ink-text); font-variant-numeric: lining-nums; min-width: 0.7em; text-align: center; }
.si-code { color: var(--ink-text); }
.si-title h3 { font-size: var(--fs-lg); line-height: var(--lh-head); }
.si-title h3 a { color: var(--text); text-decoration: none; display: inline-flex; min-height: var(--tap); align-items: center; }
.si-title h3 a:hover { text-decoration: underline; text-underline-offset: 0.14em; text-decoration-thickness: 1px; }
.si-lede { font-size: var(--fs-sm); color: var(--text-muted); }
.si-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.si-counts > div { display: flex; flex-direction: column; padding: 6px 8px 6px 0; }
.si-counts > div + div { padding-left: 10px; border-left: 1px solid var(--border); }
.si-counts dd { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; color: var(--text); }
.si-counts dt { font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted); }
.si-sub { color: var(--text-muted); margin-bottom: 2px; }
.si-sig { list-style: none; padding: 0; margin: 0; }
.si-sig a, .si-next a { display: flex; flex-direction: column; justify-content: center; min-height: var(--tap); padding: 4px 0; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.si-sig li:last-child a { border-bottom: 0; }
.si-sig .t, .si-next .t { font-weight: var(--wght-strong); line-height: 1.3; }
.si-sig a:hover .t, .si-next a:hover .t { text-decoration: underline; text-underline-offset: 0.16em; }
.si-sig .w, .si-next .w { font-size: var(--fs-xs); color: var(--text-muted); }
.si-next { padding: 8px 10px; background: var(--ink-tint); }
.si-next a { border-bottom: 0; }
.si-next .unk { display: block; padding: 6px 0; }
.si-go { margin-top: auto; }
.si-go .btn { width: 100%; justify-content: center; }

/* ---------- signature places ---------- */
.sig-all { margin-top: var(--sp-5); border: 1px solid var(--border); background: var(--surface); }
.sig-all > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: var(--tap); padding: 0 var(--sp-4); cursor: pointer; list-style: none; font-weight: var(--wght-strong); }
.sig-all > summary::-webkit-details-marker { display: none; }
.sig-all[open] > summary .chev { transform: rotate(180deg); }
.sig-all-in { display: grid; gap: 0 var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); padding: 0 var(--sp-4) var(--sp-4); }
.sig-all-in .sub-h { display: flex; align-items: center; gap: 8px; }

/* ---------- this season: signature events as date boxes ---------- */
.fe-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3) var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.fe-list > li[hidden] { display: none; }
.fe-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; border-top: 2px solid var(--rule-ink); }
.fe-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.fe-k { font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted); }
.fe-t { margin-top: 4px; font-size: var(--fs-md); line-height: var(--lh-snug); }
.fe-t a { color: var(--text); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.fe-t a:hover { text-decoration: underline; text-underline-offset: 0.14em; text-decoration-thickness: 1px; }
@media (max-width: 1023px) { .fe-t a { min-height: var(--tap); } }
.fe-w { margin-top: 2px; font-size: var(--fs-xs); color: var(--text-muted); }
.fe-note { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); }

/* the annual calendar: an almanac of twelve months, October first */
.al-h { margin-top: var(--sp-8); }
.almanac { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); align-items: start; }
.al-month { background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--rule-ink); }
.al-month > summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "m chev" "n chev"; column-gap: 10px; align-items: center;
  min-height: var(--tap); padding: 10px 12px 6px; cursor: pointer; list-style: none;
}
.al-month > summary .al-m { grid-area: m; }
.al-month > summary .al-n { grid-area: n; }
.al-month > summary .chev { grid-area: chev; }
.al-month > summary::-webkit-details-marker { display: none; }
.al-month > summary .chev { width: 18px; height: 18px; color: var(--text-muted); transition: transform var(--speed) var(--ease); }
.al-month[open] > summary .chev { transform: rotate(180deg); }
.al-m { font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-lg); line-height: 1.1; }
.al-n { font-size: var(--fs-xs); color: var(--text-muted); }
.al-month[data-now] { border-top-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.al-month[data-now] .al-m::after { content: "This month"; display: inline-block; white-space: nowrap; margin-left: 8px; padding: 2px 6px; vertical-align: 4px; line-height: 1.3; background: var(--accent-tint); color: var(--accent-strong); font-family: var(--font-label); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase; }
.al-sub { margin: 6px 12px 0; color: var(--text-muted); }
.al-list { list-style: none; padding: 0 12px; margin: 0; }
.al-list a { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 0 8px; align-items: baseline; min-height: var(--tap); padding: 6px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: var(--fs-sm); line-height: 1.3; }
.al-list li:last-child a { border-bottom: 0; }
.al-list .sheet-dot, .al-list .nodot { grid-row: span 2; margin-top: 3px; }
.al-list .t { font-weight: var(--wght-ui); }
.al-list .w { grid-column: 2; font-size: var(--fs-xs); color: var(--text-muted); }
.al-list a:hover .t { text-decoration: underline; text-underline-offset: 0.16em; }
.al-none { margin: 4px 12px 12px; }
.al-more { padding: 0 12px 6px; }
.al-more a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.al-more .i { width: 16px; height: 16px; }
@media (min-width: 1024px) and (pointer: fine) { .al-list a { min-height: 34px; } }
.al-year { margin-top: var(--sp-6); }
.al-list.cols { padding: 0; display: grid; gap: 0 var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.al-list.cols li:last-child a { border-bottom: 1px solid var(--border); }

/* ---------- where to stay, by sheet ---------- */
.st-sheets { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.st-sheet { padding: var(--sp-3) var(--sp-4) var(--sp-4); background: var(--surface); border: 1px solid var(--border); border-top: var(--stripe-w) solid var(--ink-fill); }
.st-sheet > header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-bottom: var(--sp-2); }
.st-sheet h3 { font-size: var(--fs-md); }
.st-sheet h3 a { color: var(--text); text-decoration: none; display: inline-flex; min-height: var(--tap); align-items: center; }
.st-sheet h3 a:hover { text-decoration: underline; text-underline-offset: 0.14em; text-decoration-thickness: 1px; }
.st-n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--ink-text); font-variant-numeric: lining-nums; }
.st-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-3); }
.st-kinds a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 10px; border: 1px solid var(--border-strong); color: var(--text); text-decoration: none; font-size: var(--fs-sm); background: var(--bg); }
.st-kinds a.ft { border-style: dashed; }
.st-kinds a:hover { background: var(--ink-tint); }
@media (min-width: 1024px) and (pointer: fine) { .st-kinds a { min-height: 34px; } }

/* ---------- seven eras: a scale bar of chapters ---------- */
.eras { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); border-top: 2px solid var(--rule-ink); }
@media (min-width: 1200px) { .eras { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.eras li { border-bottom: 1px solid var(--border); }
@media (min-width: 560px) { .eras li { border-right: 1px solid var(--border); } }
.eras a { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; min-height: var(--tap); padding: 14px 12px 16px; color: var(--text); text-decoration: none; }
.eras a::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: repeating-linear-gradient(90deg, var(--rule-ink) 0 12px, transparent 12px 24px); opacity: 0.8; }
.eras a:hover { background: var(--surface); }
.eras a:hover .er-n { text-decoration: underline; text-underline-offset: 0.14em; text-decoration-thickness: 1px; }
.er-i { color: var(--text-faint); }
.er-n { font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-lg); line-height: 1.1; }
.er-s { color: var(--gold-ink); }
.er-c { font-size: var(--fs-xs); color: var(--text-muted); }
.er-t { margin-top: 4px; padding-top: 6px; border-top: 1px dashed var(--border-strong); font-size: var(--fs-sm); line-height: 1.35; }
.er-y { font-family: var(--font-display); font-weight: 800; color: var(--gold-ink); font-variant-numeric: lining-nums; }

/* ---------- getting here: airport tags and the distance table ---------- */
.ap-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.ap { display: flex; flex-direction: column; gap: 6px; padding: var(--sp-4); background: var(--surface); border: 1px solid var(--border); }
.ap-code {
  width: fit-content; padding: 6px 12px 4px; color: var(--text);
  font-family: var(--font-label); font-stretch: var(--label-stretch-wide); font-weight: 800; font-size: 2.25rem; line-height: 1; letter-spacing: 0.08em;
  background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat, linear-gradient(var(--rule-ink) 0 0) 0 100% / 100% 2px no-repeat, linear-gradient(var(--rule-ink) 0 0) 0 calc(100% - 5px) / 100% 1px no-repeat;
  padding-top: 12px; padding-bottom: 10px;
}
.ap-name { font-size: var(--fs-md); }
.ap-name a { color: var(--text); text-decoration-color: var(--border-strong); display: inline-flex; min-height: var(--tap); align-items: center; }
.ap-sum { font-size: var(--fs-sm); color: var(--text-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.ap-meta { margin-top: auto; font-size: var(--fs-xs); color: var(--text-muted); }
.ap-meta a { display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); }
.ap-meta .i { width: 14px; height: 14px; }
table.dist { margin-top: var(--sp-6); }
table.dist th[scope="row"] { display: flex; align-items: center; gap: 10px; font-weight: var(--wght-body); }
table.dist th[scope="row"] .t { display: block; font-weight: var(--wght-strong); }
table.dist th[scope="row"] .w { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
table.dist td { white-space: nowrap; }
table.dist .dv { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
table.dist .near { margin-left: 0; }
@media (max-width: 699px) {                /* a sheet a row: its name, then the three airports side by side */
  table.data.dist tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; }
  table.data.dist tbody th { grid-column: 1 / -1; }
  table.data.dist td { display: flex; flex-direction: column; gap: 2px; white-space: normal; }
  table.data.dist td::before { padding-top: 0; }
}
.near { display: inline-block; margin-left: 4px; padding: 2px 6px; background: var(--ink-tint); color: var(--ink-text); font-family: var(--font-label); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase; }

/* ---------- by the numbers: tiles that open on tap (and hover) to their source and quote ---------- */
.stats { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); align-items: start; }
.stat { position: relative; background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--rule-ink); }
.stat > summary { display: flex; flex-direction: column; gap: 6px; min-height: var(--tap); padding: 14px 14px 10px; cursor: pointer; list-style: none; }
.stat > summary::-webkit-details-marker { display: none; }
.st-v { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-numeral); line-height: 1; font-variant-numeric: lining-nums; color: var(--text); overflow-wrap: anywhere; }
.stat.long .st-v { font-size: var(--fs-lg); line-height: 1.15; }
.st-l { font-size: var(--fs-sm); color: var(--text-muted); }
.st-src { display: inline-flex; align-items: center; gap: 6px; color: var(--link); }
.st-src .i { width: 14px; height: 14px; }
.stat[open] > summary .st-src { color: var(--text-muted); }
.st-pop { padding: 0 14px 12px; border-top: 1px solid var(--border); background: var(--surface); }
.st-q { margin: 10px 0 6px; padding-left: 10px; border-left: var(--rule-mid) solid var(--gold); font-family: var(--font-display); font-style: italic; font-weight: 520; font-size: var(--fs-sm); color: var(--text); overflow-wrap: anywhere; }
.st-by { font-size: var(--fs-xs); color: var(--text-muted); }
.st-by a { display: inline-flex; align-items: center; min-height: var(--tap); }
@media (min-width: 700px) {
  .stat[open] { z-index: 5; }
  .stat[open] .st-pop { position: absolute; left: -1px; right: -1px; top: 100%; border: 1px solid var(--border); border-top: 0; box-shadow: var(--shadow-2); }
}
.stat.mid .st-v { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.ix-map .ix-badge .bullet { position: static; width: 40px; height: 24px; }
/* the plate's two-line name needs about 160px of height: 16:10 on a three-up grid, 2:1 on a phone (never clipped) */
.home-sig .card > .plate-type, .home-sig .card > .photo { aspect-ratio: 16 / 10; }
@media (max-width: 559px) { .home-sig .card > .plate-type, .home-sig .card > .photo { aspect-ratio: 2 / 1; } }
.si-photo { margin: calc(-1 * var(--sp-4) + 6px) calc(-1 * var(--sp-4) + 6px) 0; }
.si-photo .photo { aspect-ratio: 16 / 7; }
.si-credit { margin-top: 4px; font-size: var(--fs-xs); color: var(--text-faint); overflow-wrap: anywhere; }
.si-credit a { color: var(--text-muted); }
@media (max-width: 699px) { .si-credit a { display: inline-flex; align-items: center; min-height: var(--tap); } }
.si-sig a .badge { align-self: flex-start; margin: 2px 0; }
/* ---- 31-region.css ---- */
/* ======================================================================
   site/css/31-region.css · OWNER: the Home & Sheets lane
   The six sheet pages (build/pages/region.mjs) and the event rows they share with the home page:
     the sheet head's extras (known for, counts, official site), the sheet chart (a neatline crop with area names
     and numbered buoys) beside its title block (a chart's title cartouche: sheet, code, counts, the buoy key),
     area cards without plates, signature cards with their buoy number, family panels (things to do,
     experiences), stay counts, the 60-day list (date-first rows), every year on the sheet, historic places and the
     mini timeline, getting around. Every sheet shares one system; its ink ([data-sheet] → --ink-*) makes it its own.
   Tokens only; no color literal; nothing under 12px; 44px targets on phones.
   ====================================================================== */

/* ---------- no-JS / JS words ---------- */
.js .nojs-only { display: none; }
.sec-note { max-width: 70ch; margin: calc(-1 * var(--sp-2)) 0 var(--sp-4); font-size: var(--fs-sm); color: var(--text-muted); }
.sec-chips { margin-bottom: var(--sp-5); }

/* ---------- the sheet head ---------- */
.sheet-head .dek { max-width: 50ch; font-size: var(--fs-md); }
.sh-counts { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 8px; margin-top: var(--sp-5); color: var(--ink-text); }
.sh-official { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); }
.sh-official a { display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); }
.sh-official .i { width: 14px; height: 14px; }
@media (min-width: 1024px) { .sh-official a { min-height: 32px; } }

/* ---------- the sheet chart and its title block ---------- */
.sheet-chart { margin-top: var(--sp-6); }
.sc-grid { display: grid; gap: var(--sp-5); grid-template-columns: minmax(0, 1fr); align-items: start; }
/* from tablet width the chart and its title block sit side by side (a portrait strip of beaches never fills a screen) */
@media (min-width: 700px) { .sc-grid { grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); } }
.sc-map { margin: 0; }
.sc-map .grat-in { padding: 0; }
.sc-map .mini-map { margin: 0; border: 0; box-shadow: none; }
.sheet-map-view { max-height: none; }
.sheet-map-view .map-label.area-l { letter-spacing: var(--track-label); }
.sheet-map-view .map-label.water { font-size: var(--fs-sm); }
.pin-range > span { white-space: nowrap; min-width: 36px; padding-left: 5px; padding-right: 5px; }
/* names placed for the wide chart (480px) show only where the chart is drawn that wide */
.sc-map > .grat-in { container-type: inline-size; }
.sheet-map-view .wide-only { display: none; }
@container (min-width: 460px) { .sheet-map-view .wide-only { display: block; } }
.sc-cap { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 6px; border-top: 1px solid var(--grat-ink); background: var(--surface); font-size: var(--fs-xs); color: var(--text-muted); }
.sc-cap a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); width: fit-content; font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.sc-cap .i { width: 16px; height: 16px; }

/* the title block: a chart's title cartouche in the sheet's ink */
.sheet-title {
  position: relative; padding: var(--sp-4) var(--sp-4) var(--sp-3); background: var(--surface);
  border: 1px solid var(--border); border-top: var(--stripe-w) solid var(--ink-fill);
}
.sheet-title::before {                       /* the label's double rule under the stripe */
  content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--ink-edge); opacity: 0.55;
}
.st-no { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-text); }
.st-name { margin-top: 2px; font-family: var(--font-display); font-weight: var(--wght-head); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); line-height: var(--lh-head); color: var(--text); }
.st-counts { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 0 16px; margin: var(--sp-3) 0 var(--sp-4); padding-top: 3px;
  background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat; padding-top: 10px; }
.st-counts > div { display: flex; flex-direction: column-reverse; padding: 4px 0 6px; border-bottom: 1px solid var(--border); }
.st-counts dd { font-family: var(--font-display); font-weight: 800; font-size: 1.625rem; line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; color: var(--text); }
.st-counts dt { font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted); line-height: 1.25; }
.st-key-h { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; color: var(--ink-text); }
.st-key-h .i { width: 16px; height: 16px; }
.sheet-key { list-style: none; padding: 0; margin: 0; }
.sheet-key li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: start; padding: 6px 0; border-bottom: 1px solid var(--border); }
.sheet-key li:last-child { border-bottom: 0; }
.sheet-key .kt { display: flex; flex-direction: column; min-width: 0; }
.sheet-key .kt a { display: inline-flex; align-items: center; min-height: 28px; font-weight: var(--wght-strong); color: var(--text); text-decoration-color: var(--border-strong); }
.sheet-key .kt a:hover { color: var(--link); }
.sheet-key .w { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.35; }
.sheet-key li.off .kb { border-style: dashed; }
@media (max-width: 1023px) { .sheet-key .kt a { min-height: var(--tap); } .sheet-key .kb { margin-top: 7px; } }
/* the buoy number: a paper disc ringed in the sheet's ink with its fill as a top band (the buoys on the chart) */
.kb, .sig-no {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 12px 12px 4px 4px;
  background: linear-gradient(var(--ink-fill) 0 0) 0 0 / 100% 5px no-repeat, var(--map-pin-bg); color: var(--map-pin-ink);
  border: 2px solid var(--ink-edge);
  font-family: var(--font-label); font-size: var(--fs-label); font-weight: 780; font-variant-numeric: tabular-nums; line-height: 1; padding-top: 4px;
}

/* ---------- areas: the cards without the plate (the names are the titles); a photo stays when there is one ---------- */
.sheet-areas .card.area { border-top: var(--stripe-w) solid var(--ink-fill); }
.sheet-areas .card.area > .plate-type { display: none; }
.sheet-areas .card.area > .photo { aspect-ratio: 5 / 2; }

/* ---------- signature places: the card with its buoy number on the plate's corner ---------- */
.sig-item { position: relative; display: flex; }
.sig-item > .card { flex: 1; }
.sig-no { position: absolute; z-index: 4; left: 14px; top: 14px; box-shadow: var(--shadow-1); }

/* ---------- families (things to do, experiences): panels of five rows and an "all" link ---------- */
.fams { display: grid; gap: var(--sp-6) var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.fam-h { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sp-2); font-size: var(--fs-md); }
.fam-h .i { width: 20px; height: 20px; color: var(--text-muted); flex: none; }
.fam-h .n { margin-left: auto; min-width: 32px; padding: 3px 8px; text-align: center; background: var(--surface-alt); font-family: var(--font-label); font-size: var(--fs-label); font-weight: 780; letter-spacing: 0.04em; color: var(--text); }
.fam-all { margin-top: var(--sp-1); }
.fam-all a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.fam-all .i { width: 16px; height: 16px; }
.fam .rows .bullet { flex: none; }

/* ---------- where to stay: counts by area, kind and listed feature ---------- */
.stay-split { display: grid; gap: var(--sp-2) var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin-bottom: var(--sp-6); }
.stay-split .sub-h { margin-top: 0; }
.count-list { list-style: none; padding: 0; margin: 0; }
.count-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--tap); padding: 4px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: var(--fs-sm); }
.count-list a:hover span:first-child { text-decoration: underline; text-underline-offset: 0.16em; }
.count-list .n { flex: none; min-width: 34px; padding: 2px 6px; text-align: right; font-family: var(--font-label); font-size: var(--fs-label); font-weight: 780; color: var(--ink-text); }
@media (min-width: 1024px) { .count-list a { min-height: 38px; } }

/* ---------- event rows (shared with the home page) ----------
   ol.tonight.evrows: time-first (home "today"); ol.evrows.dated: date-first (a sheet's coming weeks) */
.evrows { list-style: none; padding: 2px 0 0; margin: 0; background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat; }
.evrows > li { border-bottom: 1px solid var(--border); }
.evrows > li[hidden] { display: none; }
.evrow .badge { margin: 2px 6px 2px 0; }
.evr-st:empty { display: none; }
.evr-st {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 7px; margin-left: 4px; vertical-align: 1px;
  border: 1px solid var(--soon); color: var(--soon); border-radius: var(--radius-xs); white-space: nowrap;
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase;
}
.evrow[data-status="live"] .evr-st { background: var(--live-tint); color: var(--live-ink); border-color: transparent; }
.evrow[data-status="live"] .evr-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.evrow[data-status="today"] .evr-st, .evrow[data-status="started"] .evr-st { background: var(--accent-tint); color: var(--accent-strong); border-color: transparent; }
.evrow[data-status="past"] .evr-st { background: var(--surface-sunken); color: var(--text-muted); border-color: transparent; }
.evrow[data-status="past"] .t { color: var(--text-muted); }
.tonight.evrows time .i { width: 18px; height: 18px; color: var(--text-faint); margin-top: 2px; }
.tonight.evrows time small { font-family: var(--font-label); letter-spacing: 0.06em; }

.evrows.dated a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; align-items: start; min-height: var(--tap); padding: 10px 0; color: var(--text); text-decoration: none; }
.evrows.dated a:hover .t { text-decoration: underline; text-underline-offset: 0.16em; }
.dbox {
  display: grid; justify-items: center; gap: 2px; padding: 5px 0 6px; text-align: center;
  border-top: 2px solid var(--ink-fill); background: var(--ink-tint); color: var(--ink-text);
}
.dbox .dw, .dbox .mo { font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1; }
.dbox .d { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; font-variant-numeric: lining-nums; color: var(--text); }
.evr-k { display: block; margin-bottom: 1px; font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted); }
.evrows.dated .t { display: block; font-weight: var(--wght-strong); line-height: 1.35; }
.evrows.dated .w { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.45; }
.on60 .sub-h { margin-top: var(--sp-5); }
.on60 .evmonth:first-of-type .sub-h, .on60-note + .evmonth .sub-h { margin-top: var(--sp-3); }
.on60-note { font-size: var(--fs-sm); color: var(--text-muted); }
.on60-note .js-only:empty { display: none; }
.on60-more { margin-top: var(--sp-4); }
.on60-empty { margin-top: var(--sp-3); padding: var(--sp-3); border: 1px dashed var(--border-strong); background: var(--surface); }
@media (min-width: 900px) { .evrows.dated { columns: 2; column-gap: var(--sp-6); } .evrows.dated > li { break-inside: avoid; } }

/* ---------- every year on this sheet ---------- */
.annual-h { margin-top: var(--sp-7); }
.annual { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 var(--sp-6); }
.annual a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; min-height: var(--tap); padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: var(--fs-sm); }
.annual a:hover .an-t { text-decoration: underline; text-underline-offset: 0.16em; }
.an-m { color: var(--ink-text); }
.an-t { font-weight: var(--wght-ui); }
.an-sig { padding: 3px 7px; background: var(--gold-leaf); color: var(--gold-leaf-ink); line-height: 1; }

/* ---------- history: historic places (a Bodoni year) and the mini timeline ---------- */
.hist-split { display: grid; gap: var(--sp-5) var(--sp-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.hist-split .sub-h { margin-top: 0; }
.her-list { list-style: none; padding: 2px 0 0; margin: 0; background: linear-gradient(var(--gold-ink) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--gold-ink) 0 0) 0 5px / 100% 1px no-repeat; padding-top: 8px; }
.her-list a { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: start; min-height: var(--tap); padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.her-list a:hover .t { text-decoration: underline; text-underline-offset: 0.16em; }
.her-y { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; line-height: 1.1; font-variant-numeric: lining-nums; color: var(--gold-ink); }
.her-y .unk { font-family: var(--font-body); font-weight: var(--wght-body); font-size: var(--fs-xs); }
.her-list .t { display: block; font-weight: var(--wght-strong); line-height: 1.35; }
.her-list .w { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
.her-d { display: inline-block; margin-top: 5px; padding: 4px 8px; background: var(--gold-tint); font-size: var(--fs-xs); line-height: 1.35; color: var(--text); }
.mini-tl { list-style: none; padding: 0; margin: 0; background: linear-gradient(var(--rule-ink) 0 0) 6px 10px / 2px calc(100% - 20px) no-repeat; }
.mini-tl li { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 6px 0 6px 24px; }
.mini-tl li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink-fill); background: var(--bg); box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 5px var(--ink-fill); }
.mini-tl li.gap { display: block; }
.mini-tl li.gap::before { border-style: dashed; box-shadow: none; }
.mini-tl a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); text-decoration-color: var(--border-strong); line-height: 1.35; }
.mini-tl .mt-y { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); font-variant-numeric: lining-nums; color: var(--ink-text); }
@media (min-width: 1024px) { .mini-tl a { min-height: 32px; } }

/* ---------- getting around ---------- */
.tr-fams { display: grid; gap: var(--sp-5) var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); align-items: start; }
.tr-fams .sub-h { margin-top: 0; }
.tr-list { list-style: none; padding: 0; margin: 0; }
.tr-list a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; min-height: var(--tap); padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.tr-list a > .i { width: 20px; height: 20px; margin-top: 2px; color: var(--text-muted); }
.tr-list a:hover .t { text-decoration: underline; text-underline-offset: 0.16em; }
.tr-list .t { display: block; font-weight: var(--wght-strong); line-height: 1.35; }
.tr-list .w { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
.tr-sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: 3px; font-size: var(--fs-sm); color: var(--text-muted); }
.tr-code { display: inline-block; margin-left: 6px; padding: 3px 6px; border: 1px solid var(--border-strong); font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: 780; letter-spacing: var(--track-label); line-height: 1; vertical-align: 2px; }

/* ---------- sources ---------- */
.sheet-sources .source-line { margin-bottom: var(--sp-3); }
.no-chart .sheet-title { max-width: 520px; }

/* ---------- the legend and the key under the chart ---------- */
.st-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: var(--fs-xs); color: var(--text-muted); }
.st-legend li { display: flex; align-items: center; gap: 10px; }
.st-buoy {
  display: grid; place-items: center; flex: none; min-width: 26px; height: 28px; padding: 5px 4px 0; border-radius: 12px 12px 4px 4px;
  background: linear-gradient(var(--ink-fill) 0 0) 0 0 / 100% 5px no-repeat, var(--map-pin-bg); border: 2px solid var(--ink-edge); color: var(--map-pin-ink);
  font-family: var(--font-label); font-size: var(--fs-label); font-weight: 780; line-height: 1; font-variant-numeric: tabular-nums;
}
.st-buoy.wide { min-width: 38px; }
.st-area { flex: none; min-width: 38px; color: var(--map-label); }
.sheet-keyblock { margin-top: var(--sp-5); }
.sheet-keyblock .sheet-key { columns: 1; column-gap: var(--sp-6); }
@media (min-width: 700px) { .sheet-keyblock .sheet-key { columns: 2; } }
@media (min-width: 1100px) { .sheet-keyblock .sheet-key { columns: 3; } }
.sheet-keyblock .sheet-key li { break-inside: avoid; border-bottom: 1px solid var(--border); }
.sheet-keyblock .sheet-key li:last-child { border-bottom: 1px solid var(--border); }
.sec-foot { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); }
.sheet-page .rows .row .bullet { display: none; }         /* every row on a sheet page is on that sheet */
/* the plate's two-line name needs about 160px of height: 16:10 on a three-up grid, 2:1 on a phone (never clipped) */
.sheet-page .section .grid .card:not(.area) > .plate-type, .sheet-page .section .grid .card:not(.area) > .photo { aspect-ratio: 16 / 10; }
@media (max-width: 559px) { .sheet-page .section .grid .card:not(.area) > .plate-type, .sheet-page .section .grid .card:not(.area) > .photo { aspect-ratio: 2 / 1; } }
.evmonth.underway .sub-h { color: var(--text-muted); }

/* ---------- the inset (a harbor inset, as on a printed chart) and its box on the main chart ---------- */
.sc-side { display: grid; gap: var(--sp-5); align-content: start; }
.sc-inset { margin: 0; }
.sc-inset .grat-in { padding: 0; }
.sc-inset .mini-map { margin: 0; border: 0; box-shadow: none; }
.inset-box { position: absolute; z-index: 1; border: 2px dashed var(--rule-ink); pointer-events: none; }
.inset-box > span {
  position: absolute; left: -2px; top: -2px; transform: translateY(-100%); padding: 2px 6px; background: var(--rule-ink); color: var(--bg);
  font-family: var(--font-label); font-size: var(--fs-label); font-weight: 780; line-height: 1.2;
}
.sheet-map-view .map-label.city-l { color: var(--text-faint); letter-spacing: var(--track-label); }
@media (min-width: 560px) and (max-width: 699px) { .sc-side { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: start; } }

/* ---------- the sheet's own photo (a rights-cleared image with its credit), when the guide has one ---------- */
.sheet-photo { margin: 0 0 var(--sp-6); }
.sheet-photo img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 559px) { .sheet-photo img { aspect-ratio: 3 / 2; } }
@media (max-width: 699px) { .sheet-photo figcaption a { display: inline-flex; align-items: center; min-height: var(--tap); } }

/* ---------- every year: the rest behind a disclosure ---------- */
.annual-more { margin-top: var(--sp-2); }
.annual-more > summary { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); cursor: pointer; list-style: none; font-size: var(--fs-sm); font-weight: var(--wght-strong); color: var(--link); }
.annual-more > summary::-webkit-details-marker { display: none; }
.annual-more > summary .chev { width: 16px; height: 16px; transition: transform var(--speed) var(--ease); }
.annual-more[open] > summary .chev { transform: rotate(180deg); }
.annual-more > summary:hover span { text-decoration: underline; text-underline-offset: 0.16em; }

/* ---------- status words beside a name (Temporarily closed, Seasonal): the badge keeps its own width ---------- */
.her-st { display: block; margin-top: 4px; }
.sheet-key .kt .badge { align-self: flex-start; margin: 2px 0; }
/* ---- 40-events.css ---- */
/* ======================================================================
   site/css/40-events.css · OWNER: the design system ("Chart & Label", design/DESIGN.md §8)
   The shared event card (build/components/event-card.mjs: article.ev > .ev-when + .ev-body + .star) and its
   live states, used on What's On, the sheet, area and place pages and My Trip. The What's On and Trip lanes
   add their page layouts in 41–49 (the day strip, month lanes, filters…); this file is only the card.
   A lane may put an optional date box first in the card (<div class="datebox" aria-hidden="true">…, 21-records.css):
   the card then sets it in a left column. Tokens only; no color literal.
   ====================================================================== */
.ev {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--tap);
  grid-template-areas: "meta star" "title star" "when when" "where where" "sum sum" "tags tags" "note note" "more more";
  column-gap: 4px; min-width: 0; padding: 12px 6px 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--ink-fill);
}
.ev:has(> .datebox) {
  grid-template-columns: 60px minmax(0, 1fr) var(--tap); column-gap: 14px;
  grid-template-areas: "date meta star" "date title star" "date when when" "date where where" "date sum sum" "date tags tags" "date note note" "date more more";
}
.ev > .datebox { grid-area: date; align-self: start; }
.ev:has(.ev-title a:hover) { border-color: var(--border-strong); border-top-color: var(--ink-fill); }
.ev-body { display: contents; }
.ev-meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 24px; }
.ev-kind {
  display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.2;
}
.ev-meta > .sheet-badge + .ev-kind { padding-left: 10px; border-left: 1px solid var(--border-strong); }
.ev-title { grid-area: title; margin-top: 8px; font-size: var(--fs-md); line-height: var(--lh-snug); font-weight: var(--wght-head); }
.ev-title a { color: var(--text); text-decoration: none; }
.ev-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }        /* the whole card opens the event */
.ev-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.ev-when { grid-area: when; display: block; margin-top: 8px; padding-right: 8px; line-height: 1.6; font-size: var(--fs-sm); font-weight: var(--wght-strong); font-variant-numeric: tabular-nums; }
.ev-when .unk, .ev-dates, .ev-tt { font-weight: var(--wght-body); }
.ev-dates { color: var(--text-muted); }
.ev-run { color: var(--text); }
.ev-where { grid-area: where; display: flex; align-items: baseline; gap: 6px; margin-top: 2px; padding-right: 8px; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.4; }
.ev-where .i { width: 14px; height: 14px; align-self: center; flex: none; }
.ev-where a { position: relative; z-index: 2; color: inherit; }
.ev-area { color: var(--text-faint); }
.ev-sum { grid-area: sum; margin-top: 8px; padding-right: 8px; font-size: var(--fs-sm); color: var(--text-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.ev-tags {
  grid-area: tags; margin-top: 10px; padding-right: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text-faint);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase;
}
.ev-tags .free { color: var(--accent-strong); }
.ev .star { grid-area: star; align-self: start; margin-top: -6px; }
.ev-more { grid-area: more; margin-top: 8px; font-size: var(--fs-sm); }
.ev-more > summary { min-height: var(--tap); display: flex; align-items: center; cursor: pointer; color: var(--link); font-weight: var(--wght-strong); position: relative; z-index: 2; }
.ev-more > :not(summary) { position: relative; z-index: 2; max-width: var(--measure); }
.ev-more > p + p { margin-top: var(--sp-2); }
.ev-more .ev-desc { margin-bottom: var(--sp-3); padding-left: var(--sp-3); border-left: var(--rule-mid) solid var(--ink-edge); font-family: var(--font-display); font-style: italic; font-weight: 520; }
.js .ev-more { display: none; }                                          /* with JS the dialog opens instead */

/* the state word (the client fills [data-status]): always a word, never color alone */
.ev-status:empty { display: none; }
.ev-when > * + .ev-status, .ev-when > .unk, .ev-when > .badge { margin-left: 8px; }
.ev-status {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; vertical-align: 1px;
  border: 1px solid var(--soon); color: var(--soon); border-radius: var(--radius-xs); white-space: nowrap;
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase;
}
:is(.ev, .evd, .trip-item)[data-status="live"] .ev-status { background: var(--live-tint); color: var(--live-ink); border-color: transparent; }
:is(.ev, .evd, .trip-item)[data-status="live"] .ev-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
:is(.ev, .evd, .trip-item)[data-status="past"] .ev-status { background: var(--surface-sunken); color: var(--text-muted); border-color: transparent; }
:is(.ev, .evd, .trip-item)[data-status="today"] .ev-status, :is(.ev, .evd, .trip-item)[data-status="started"] .ev-status { background: var(--accent-tint); color: var(--accent-strong); border-color: transparent; }
/* live: a magenta outline and a progress bar (a lit light is magenta on a chart); past: a paper tint, never opacity */
.ev[data-status="live"] { background: color-mix(in srgb, var(--live-tint) 40%, var(--surface)); outline: 2px solid var(--live); outline-offset: -1px; padding-bottom: 22px; }
.ev[data-status="past"] { background: var(--past-bg); }
.ev[data-status="past"] .ev-title a { color: var(--text-muted); }
.ev[data-cancelled] .ev-title a { text-decoration: line-through; color: var(--text-muted); }
.ev-progress { position: absolute; left: 16px; right: 12px; bottom: 8px; height: 4px; background: var(--surface-sunken); overflow: hidden; }
.ev-progress > i { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--live); }
.ev.is-hit { box-shadow: 0 0 0 3px var(--focus); }                     /* deep-link target */
.ev:target { scroll-margin-top: calc(var(--topbar-h) + 56px); }
@media (max-width: 699px) {
  .ev { padding: 10px 4px 12px 14px; }
  .ev-title { margin-top: 6px; }
}
/* ---- 41-trip.css ---- */
/* ======================================================================
   site/css/41-trip.css · OWNER: the What's On lane (the trip page)
   trip.html (build/pages/trip.mjs): the privacy line in the page head, "Times that overlap" ([data-trip-clash],
   site/js/features/whats-on.js), the core's My Trip view (site/js/views/trip.js: .trip-summary .trip-actions
   .trip-gone .trip-group .trip-list .trip-item .is-removed .trip-shared), how it works, where to find things, and
   the printed list (the Day chart on paper: the list alone, no buttons). Tokens only; no color literal.
   ====================================================================== */
.trip-privacy { display: flex; justify-content: center; align-items: baseline; gap: 8px; max-width: 58ch; margin: var(--sp-3) auto 0; font-size: var(--fs-sm); color: var(--text-muted); }
.trip-privacy .i { flex: none; width: 15px; height: 15px; align-self: center; color: var(--accent-strong); }
.no-js .trip-root, .no-js .trip-print { display: none; }

/* ---------- the view: summary, actions, groups ---------- */
.trip-root { min-height: 120px; }
.trip-summary {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 0 12px; font-size: var(--fs-md);
  font-family: var(--font-display); font-weight: var(--wght-head); line-height: var(--lh-snug);
  background: linear-gradient(var(--rule-ink) 0 0) 0 100% / 100% 1px no-repeat;
}
.trip-actions { margin: var(--sp-4) 0 var(--sp-2); }
.trip-actions .btn[disabled] { display: none; }
.trip-gone { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); max-width: none; }
.trip-group { margin-top: var(--sp-6); }
.trip-group > .sub-h { display: flex; align-items: center; gap: 10px; margin-top: 0; font-size: var(--fs-label); border-bottom: 0; }
.trip-group > .sub-h .count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; background: var(--primary); color: var(--primary-contrast);
  font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: 0;
}
.trip-list .trip-item { padding: 4px 0; }
.trip-item > a { gap: 14px; }
.trip-item > a > .bullet, .trip-item > a > .i { flex: none; align-self: flex-start; margin-top: 4px; }
.trip-item > a > .i { width: 22px; height: 22px; color: var(--text-muted); }
.trip-item .t { font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); line-height: var(--lh-snug); }
.trip-item .w { margin-top: 3px; font-size: var(--fs-xs); line-height: 1.5; font-variant-numeric: tabular-nums; }
.trip-item .w .badge, .trip-item .w .ev-status { margin-left: 6px; vertical-align: 1px; }
.trip-item[data-status="past"] .t { color: var(--text-muted); }
.trip-item[data-cancelled] .t { text-decoration: line-through; color: var(--text-muted); }
/* unstarred this visit: kept, dimmed and said, so a slip can be undone with the star */
.trip-item.is-removed { background: var(--surface-sunken); }
.trip-item.is-removed .t { color: var(--text-muted); }
.trip-item.is-removed .w::after {
  content: "Removed · tap the star to keep it"; display: inline-block; margin-left: 8px; color: var(--text-muted);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase;
}
.trip-shared { max-width: none; }
.trip-shared h2 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.trip-shared .btn-row { margin-top: var(--sp-3); }
.trip-root .empty-state { max-width: none; margin-top: var(--sp-2); }
.trip-root .empty-state .btn-row { margin-top: var(--sp-3); }
.trip-print { margin-top: var(--sp-5); }

/* ---------- times that overlap: a "check before you go" note ---------- */
.trip-clash {
  position: relative; margin: 0 0 var(--sp-6); padding: 16px 18px 12px; max-width: none;
  background: var(--warning-tint); border: 1px solid var(--warning-edge); border-left: var(--rule-heavy) solid var(--warning);
}
.trip-clash[hidden] { display: none; }
.trip-clash h2 { font-size: var(--fs-lg); line-height: var(--lh-snug); }
.trip-clash > .muted { margin-top: 4px; font-size: var(--fs-sm); }
.trip-clash-list { list-style: none; padding: 0; margin-top: var(--sp-3); display: grid; gap: var(--sp-3); }
.trip-clash-list > li { padding: 10px 12px 12px; background: var(--surface); border: 1px solid var(--border); }
.trip-clash-evs, .trip-clash-pairs { list-style: none; padding: 0; }
.trip-clash-evs { margin-top: 6px; }
.trip-clash-evs li { padding: 5px 0; border-top: 1px solid var(--border); }
.trip-clash-evs a { font-weight: var(--wght-strong); }
.trip-clash-evs .tnum { font-variant-numeric: tabular-nums; margin-left: 4px; }
.trip-clash-evs .w { color: var(--text-muted); }
.trip-clash-pairs { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border-strong); font-size: var(--fs-xs); color: var(--text-muted); }
.trip-clash-pairs li + li { margin-top: 4px; }
.trip-clash-pairs .tnum { color: var(--text); font-weight: var(--wght-strong); font-variant-numeric: tabular-nums; }
.trip-clash-note { margin-top: var(--sp-3); font-size: var(--fs-xs); }
/* many pairs on one day fold behind "How far apart: n pairs" (the times above stay the first thing read) */
.trip-clash-more { margin-top: 6px; border-top: 1px dashed var(--border-strong); }
.trip-clash-more > summary {
  display: flex; align-items: center; min-height: var(--tap); cursor: pointer; color: var(--link); font-size: var(--fs-sm); font-weight: var(--wght-strong);
}
.trip-clash-more > .trip-clash-pairs { margin-top: 0; padding-top: 0; border-top: 0; padding-bottom: 4px; }
@media print { .trip-clash-more > summary { display: none; } }   /* features/whats-on.js opens it before printing */
.trip-clash-day { color: var(--warning); }
.trip-print[hidden] { display: none; }

/* ---------- how it works, where to find things ---------- */
.trip-how-list { list-style: none; padding: 0; display: grid; gap: var(--sp-4) var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.trip-how-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.trip-how-i {
  grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); color: var(--text);
  box-shadow: 0 0 0 1.5px var(--rule-ink), 0 0 0 4px var(--surface), 0 0 0 5px color-mix(in srgb, var(--rule-ink) 45%, transparent);
}
.trip-how-i .i { width: 22px; height: 22px; }
.trip-how-list h3 { font-size: var(--fs-md); }
.trip-how-list p { margin-top: 4px; font-size: var(--fs-sm); color: var(--text-muted); }
.trip-find-list { list-style: none; padding: 2px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); column-gap: var(--sp-5); background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat; }
.trip-find-list a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.trip-find-list a > .i { flex: none; width: 22px; height: 22px; color: var(--text-muted); }
.trip-find-list a > .go { margin-left: auto; width: 18px; height: 18px; color: var(--link); }
.trip-find-list .t { display: block; font-weight: var(--wght-strong); }
.trip-find-list .w { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
.trip-find-list a:hover .t { text-decoration: underline; text-underline-offset: 0.16em; }

@media (max-width: 559px) {
  .trip-privacy { text-align: left; }
  .trip-actions .btn { flex: 1 1 100%; }
  .trip-item.is-removed .w::after { display: block; margin: 4px 0 0; }
}

/* ---------- the printed list: the list and its words, nothing to press ---------- */
@media print {
  .trip-page .page-head { margin: 0 0 12pt; padding: 12pt; }
  .trip-page .page-head::before { display: none; }
  .trip-actions, .trip-print, .trip-how, .trip-find, .trip-shared .btn-row, .trip-gone, .trip-privacy .i { display: none !important; }
  .trip-item { padding: 4pt 0; }
  .trip-item > a { min-height: 0; }
  .trip-item.is-removed { display: none; }
  .trip-clash { background: none; border: 1pt solid var(--text); }
  .trip-group { margin-top: 12pt; break-inside: avoid-page; }
}
/* ---- 45-whats-on.css ---- */
/* ======================================================================
   site/css/45-whats-on.css · OWNER: the What's On lane
   whats-on.html (build/pages/whats-on.mjs, site/js/features/whats-on.js): the filter panel, the sticky month bar,
   the long-runs band, month and day sections (sticky day heads), the lean event card (date box, the CSS-drawn
   sheet badge (the kicker's ::after) and star: no inline SVG per card), the continuing-day rows, the map view and the annual calendar
   (twelve-month strips). The card itself is 40-events.css; this file only adds what the lean card and the page need.
   Tokens only; no color literal (the two star masks below are alpha sources: shapes, no color).
   ====================================================================== */
.wo {
  --wo-bar-h: 52px;
  --wo-head: calc(var(--topbar-h) + var(--wo-bar-h));
  /* the star, drawn by CSS on the lean cards (the same path as the sprite's i-star): outline and filled */
  --wo-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.2l2.7 5.6 6.1.8-4.5 4.2 1.1 6.1L12 17l-5.4 2.9 1.1-6.1-4.5-4.2 6.1-.8z' fill='none' stroke='currentColor' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --wo-star-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.2l2.7 5.6 6.1.8-4.5 4.2 1.1 6.1L12 17l-5.4 2.9 1.1-6.1-4.5-4.2 6.1-.8z' fill='currentColor' stroke='currentColor' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.wo-page .page-head .lede { max-width: 62ch; }
.wo-note { display: flex; align-items: baseline; gap: 8px; margin: 0 0 var(--sp-4); font-size: var(--fs-xs); color: var(--text-muted); }
.wo-note .i { flex: none; width: 14px; height: 14px; align-self: center; }

/* ---------- the filter panel: a title-block panel (double rule on top) ---------- */
.wo-tools {
  display: grid; gap: var(--sp-3); margin-bottom: var(--sp-4); padding: calc(6px + var(--sp-3)) var(--sp-4) var(--sp-3);
  background:
    linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat,
    var(--surface);
  border: 1px solid var(--border); border-top: 0;
}
.wo-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); min-width: 0; }
.wo-row-top { gap: var(--sp-3); }
.wo-row-top .field { max-width: none; flex: 1 1 280px; }
.wo-row.chip-row .chip-sep { align-self: center; height: 28px; margin: 0 2px; }
.wo-row .chip .i:not(.ck) { width: 16px; height: 16px; }
.wo-more { display: grid; gap: var(--sp-3); }
.wo-more-btn { display: none; }
.wo-more-btn .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--accent-contrast); font-size: var(--fs-label); font-weight: var(--wght-strong); }
.wo-more-btn .count[hidden] { display: none; }
.wo-more-btn[aria-expanded="true"] { border-color: var(--text); }
.wo-sels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); align-items: end; }
.wo-sel { display: grid; gap: 4px; min-width: 0; }
.wo-sel .label { color: var(--text-muted); }
.wo-sel .select { width: 100%; }
.wo-status { justify-content: space-between; min-height: var(--tap); padding-top: var(--sp-2); border-top: 1px solid var(--border); }
.wo-status .result-count { flex: 1 1 auto; }
.wo-status .btn[hidden] { display: none; }
@media (max-width: 899px) {
  .wo-tools { padding-left: var(--sp-3); padding-right: var(--sp-3); }
  /* the when chips scroll sideways instead of stacking three lines deep */
  .wo-row.chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--sp-3)); padding: 2px var(--sp-3); }
  .wo-row.chip-row::-webkit-scrollbar { display: none; }
  .wo-row.chip-row > * { flex: none; }
  .wo-more-btn { display: inline-flex; order: -1; }
  .wo-more:not(.is-open) { display: none; }
  .wo-sels { grid-template-columns: minmax(0, 1fr); }
  .wo-row-top { flex-wrap: nowrap; gap: var(--sp-2); }
  .wo-row-top .field { flex: 1 1 0; min-width: 0; }
  .wo-row-top .field input { min-width: 0; padding-right: 6px; }
  .wo-row-top .view-toggle { flex: none; }
  .wo-row-top .view-toggle button { padding: 0 10px; gap: 5px; font-size: var(--fs-xs); }
}

/* ---------- the month bar: sticky under the topbar, a tab per month with its count ---------- */
.wo-bar {
  position: sticky; top: var(--topbar-h); z-index: var(--z-sticky);
  margin: 0 0 var(--sp-5); background: var(--bg);
  box-shadow: 0 1px 0 var(--rule-ink), 0 4px 0 var(--bg), 0 5px 0 var(--water-line);
}
.wo-bar-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.wo-bar-in::-webkit-scrollbar { display: none; }
.wo-bar a {
  position: relative; flex: none; display: inline-flex; align-items: baseline; gap: 6px; min-height: var(--wo-bar-h); padding: 0 12px;
  color: var(--text); text-decoration: none; white-space: nowrap; align-items: center;
}
.wo-bar a b {
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase;
}
.wo-bar a b small { font-size: var(--fs-label); color: var(--text-faint); letter-spacing: 0.04em; margin-left: 2px; }
.wo-bar a .n { font-size: var(--fs-xs); color: var(--text-faint); font-variant-numeric: tabular-nums; }
.wo-bar a:hover { background: var(--surface-alt); }
.wo-bar a[aria-current="true"] { color: var(--accent-strong); }
.wo-bar a[aria-current="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; background: var(--accent); }
.wo-bar a.is-none { color: var(--text-faint); }
.wo-bar a[hidden] { display: none; }
.wo-bar-runs, .wo-bar-yr { border-left: 1px solid var(--border); }
.wo-bar-runs { border-left: 0; border-right: 1px solid var(--border); }
.wo-bar-today { order: -1; background: var(--accent-tint); border-right: 1px solid var(--border); }
.wo-bar-today b { color: var(--accent-strong); }
.wo-bar-today[hidden] { display: none; }

/* ---------- sections: the long runs, months and days ---------- */
.wo-list :is(.wo-runs, .wo-month, .wo-day) { scroll-margin-top: calc(var(--wo-head) + 8px); }
.wo-list .ev { scroll-margin-top: calc(var(--wo-head) + 60px); }
.wo-sech { margin-bottom: var(--sp-4); }
.wo-sech h2 { font-size: var(--fs-xl); }
.wo-secd { margin-top: 6px; max-width: 66ch; font-size: var(--fs-sm); color: var(--text-muted); }
.wo-runs { margin-bottom: var(--sp-7); }
.wo-rg + .wo-rg { margin-top: var(--sp-5); }
.wo-rg[hidden], .wo-run-more[hidden] { display: none; }
.wo-run-h { display: flex; align-items: center; gap: 8px; margin-bottom: var(--sp-2); color: var(--text-muted); }
.wo-run-h .n { color: var(--text-faint); letter-spacing: 0; }
.wo-rg[data-g="now"] .wo-run-h { color: var(--accent-strong); }
.wo-run-more { margin-top: var(--sp-3); }
.wo-grid .ev.wo-fold { display: none; }
/* phones: each group is a row that scrolls sideways, so today's dates stay near the top of the page */
@media (max-width: 699px) {
  .wo-grid.wo-rgrid {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(84%, 320px); align-items: stretch;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin;
    margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px; scroll-padding: 0 var(--gutter);
  }
  .wo-rgrid > .ev { scroll-snap-align: start; align-content: start; }
  .wo-rgrid > .ev.wo-fold { display: grid; }
}

/* a month opens a new sheet of the chart: the water-lining rule, the month in Bodoni, its count */
.wo-month { margin-top: var(--sp-7); }
.wo-month:first-of-type { margin-top: var(--sp-5); }
.wo-mh {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px var(--sp-4);
  padding-top: calc(var(--wl-h) + 12px); margin-bottom: var(--sp-3);
  background:
    linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--water-line) 0 0) 0 5px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 72%, transparent) 0 0) 0 9px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 46%, transparent) 0 0) 0 14px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 24%, transparent) 0 0) 0 21px / 100% 1px no-repeat;
}
.wo-mh h2 { font-size: var(--fs-2xl); line-height: var(--lh-tight); }
.wo-my { font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-sm); font-weight: var(--wght-label); letter-spacing: var(--track-label-wide); color: var(--text-muted); vertical-align: 0.5em; }
.wo-mc { font-size: var(--fs-sm); color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* a day: its head sticks under the month bar while its events scroll by */
.wo-day { margin-top: var(--sp-5); }
.wo-dh {
  position: sticky; top: var(--wo-head); z-index: 3;
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; min-height: 44px; margin-bottom: var(--sp-3); padding: 6px 0;
  background: var(--bg); border-bottom: 1px solid var(--rule-ink);
  box-shadow: -4px 0 0 var(--bg), 4px 0 0 var(--bg), 0 -5px 0 var(--bg);   /* covers a live card's outline as it scrolls under */
  font-size: var(--fs-md); line-height: var(--lh-snug);
}
.wo-dn { font-family: var(--font-display); font-weight: var(--wght-head); }
.wo-dc {
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-faint); font-variant-numeric: tabular-nums;
}
.wo-dh .ev-status:empty { display: none; }
.wo-day[data-status="today"] .wo-dh { border-bottom: 3px solid var(--accent); }
.wo-day[data-status="today"] .wo-dh .ev-status { background: var(--accent-tint); color: var(--accent-strong); border-color: transparent; }
.wo-day[data-status="past"] .wo-dn { color: var(--text-muted); }
/* the day head already says "Today", "Tomorrow" or "This weekend": its cards keep only the words that add something
   ("In 20 min", "Now", "Started", "Ended"); under an earlier day (Show earlier) a card's word says where the event is now */
.wo-day:not([data-status="past"]) .ev:is([data-status="upcoming"], [data-status="today"]) > .ev-when > .ev-status { display: none; }
.wo-day[data-status="past"] .wo-dh .ev-status { background: var(--surface-sunken); color: var(--text-muted); border-color: transparent; }
/* the past folds away while the clock is inside the window (features/whats-on.js: .hide-past) */
.wo-list.hide-past :is(.wo-day[data-status="past"], .wo-month.is-past, .ev[data-run][data-status="past"]) { display: none; }

/* ---------- the lean card (build/components/event-card.mjs { lean: true }) ---------- */
.wo-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); align-items: start; }
.wo-list .ev { padding-bottom: 12px; }
.wo-list .ev:has(> .datebox) {
  grid-template-columns: 58px minmax(0, 1fr); column-gap: 12px; padding-right: 14px;
  grid-template-areas: "date meta" "date title" "date when" "date where" "date tags" "note note";
}
.wo-list .ev > .star { position: absolute; right: 2px; bottom: 2px; margin: 0; }
.wo-list .datebox { width: 58px; padding: 7px 0 8px; }
.wo-list .datebox > i, .wo-se .datebox > i {
  font-style: normal; font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1;
}
.wo-list .datebox > b { font-family: var(--font-display); font-weight: 800; font-size: 2.125rem; line-height: 0.95; font-variant-numeric: lining-nums; color: var(--text); }
.wo-list .datebox.is-until { background: var(--surface); border-top-style: double; border-top-width: 4px; }
.wo-list .ev-when { margin-top: 6px; }
.wo-list .ev-title { margin-top: 6px; }
.ev-cost { grid-area: tags; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 6px; padding-right: 8px; font-size: var(--fs-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ev-cost .badge { min-height: 22px; }
.ev-cw { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.ev-src { grid-area: note; display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; min-height: 40px; margin-top: 10px; padding: 4px 46px 0 0; border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--text-muted); overflow-wrap: anywhere; }
.ev-src a { position: relative; z-index: 2; color: var(--text-muted); }
.ev-tt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; font-weight: var(--wght-body); }
.ev-meta .seal { min-height: 24px; padding: 0 8px; }
/* the kicker (KIND · AREA) and the badge share the first line; a seal or a status word takes the next */
.wo-list .ev-meta, .wo-se .ev-meta { flex-wrap: wrap; align-items: flex-start; gap: 6px 8px; }
.wo-list .ev-meta > .ev-kind, .wo-se .ev-meta > .ev-kind { flex: 1 1 calc(100% - 56px); min-width: 0; padding-top: 5px; }
.wo-list .ev-meta > :is(.seal, .badge), .wo-se .ev-meta > :is(.seal, .badge) { order: 5; }
.wo-list .ev-where { display: block; }
.nw { white-space: nowrap; }

/* the sheet badge without an element: the kicker's ::after (decorative: CSS content is not read out, and the area in the
   kicker names the place in words), the sheet's shape (clip or mask) in its fill with its chart code in Archivo on top;
   only on What's On's lean cards and the annual calendar (other cards print the SVG badge) */
:is(.wo-list .ev[data-sheet] > .ev-body, .wo-se[data-sheet]) > .ev-meta::after {
  content: var(--ink-code); flex: none; display: grid; place-items: center; width: 40px; height: 24px; margin-left: auto;
  background: var(--ink-fill); color: var(--ink-on);
  font-family: var(--font-label); font-stretch: 100%; font-size: var(--fs-label); font-weight: 800; letter-spacing: 0.06em; line-height: 1;
}
:is(.wo-list .ev[data-sheet="tampa"] > .ev-body, .wo-se[data-sheet="tampa"]) > .ev-meta::after {
  -webkit-mask:
    radial-gradient(circle at 0 0, transparent 5px, var(--mask-ink) 5.5px) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent 5px, var(--mask-ink) 5.5px) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent 5px, var(--mask-ink) 5.5px) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent 5px, var(--mask-ink) 5.5px) 100% 100% / 51% 51% no-repeat;
          mask:
    radial-gradient(circle at 0 0, transparent 5px, var(--mask-ink) 5.5px) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent 5px, var(--mask-ink) 5.5px) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent 5px, var(--mask-ink) 5.5px) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent 5px, var(--mask-ink) 5.5px) 100% 100% / 51% 51% no-repeat;
}
:is(.wo-list .ev[data-sheet="stpete"] > .ev-body, .wo-se[data-sheet="stpete"]) > .ev-meta::after { clip-path: ellipse(50% 50% at 50% 50%); }
:is(.wo-list .ev[data-sheet="beaches"] > .ev-body, .wo-se[data-sheet="beaches"]) > .ev-meta::after { clip-path: polygon(17.3% 0, 82.7% 0, 100% 50%, 82.7% 100%, 17.3% 100%, 0 50%); }
:is(.wo-list .ev[data-sheet="clearwater"] > .ev-body, .wo-se[data-sheet="clearwater"]) > .ev-meta::after { clip-path: path("M0 0H40V9.7C40 16.6 29.6 20.8 20 24C10.4 20.8 0 16.6 0 9.7Z"); padding-bottom: 4px; }
:is(.wo-list .ev[data-sheet="around"] > .ev-body, .wo-se[data-sheet="around"]) > .ev-meta::after { clip-path: polygon(17.3% 0, 100% 0, 82.7% 100%, 0 100%); }
:is(.wo-list .ev[data-sheet="daytrips"] > .ev-body, .wo-se[data-sheet="daytrips"]) > .ev-meta::after { clip-path: polygon(0 0, 100% 0, 80.4% 50%, 100% 100%, 0 100%); padding-right: 7px; }

/* the star without an SVG: a mask in the button's color (the house ink when it is in My Trip) */
.wo .ev > .star:empty::before, .wo-list .ev > .star:empty::before {
  content: ""; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: var(--wo-star) center / 22px 22px no-repeat; mask: var(--wo-star) center / 22px 22px no-repeat;
}
.wo .ev > .star[aria-pressed="true"]:empty::before { -webkit-mask-image: var(--wo-star-on); mask-image: var(--wo-star-on); }

/* ---------- more dates of multi-day events, under the day they fall on ---------- */
.wo-also-box { margin-top: var(--sp-3); padding: 2px 0 0; background: linear-gradient(var(--border-strong) 0 0) 0 0 / 100% 1px no-repeat; }
.wo-grid + .wo-also-box { margin-top: var(--sp-4); }
.wo-also-h {
  padding: 8px 0 2px; color: var(--text-muted);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase;
}
.wo-also { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); column-gap: var(--sp-4); }
.ev-also { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; min-height: var(--tap); padding: 6px 0; border-bottom: 1px dotted var(--border-strong); font-size: var(--fs-sm); }
.ev-also::before { content: ""; flex: none; width: 18px; height: 12px; background: var(--ink-fill); clip-path: var(--ink-shape); }
.ev-also > a { font-weight: var(--wght-strong); color: var(--text); text-decoration: none; }
.ev-also > a:hover { text-decoration: underline; text-underline-offset: 0.16em; }
.ev-also .w { color: var(--text-muted); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.ev-also[data-cancelled] > a { text-decoration: line-through; color: var(--text-muted); }
.wo-empty { margin: var(--sp-5) 0; }

/* ---------- the map view ---------- */
.wo-map { margin-top: var(--sp-2); }
.wo-map-sum {
  margin: 0; color: var(--text-muted);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.3;
}
.wo-mapbox .map-view { cursor: grab; }
.wo-mapview .map-card { max-height: calc(100% - 20px); overflow: auto; }
.wo-mapview .map-card h3 a { color: var(--text); }
.wo-mc-list { list-style: none; padding: 0; margin-top: var(--sp-2); }
.wo-mc-list li { display: grid; gap: 2px; min-height: var(--tap); padding: 8px 0; border-top: 1px solid var(--border); }
.wo-mc-list a { font-weight: var(--wght-strong); }
.wo-mc-list .w { font-size: var(--fs-xs); color: var(--text-muted); }
.wo-lg-cl {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--map-cluster-bg); color: var(--map-cluster-ink);
  box-shadow: 0 0 0 1px var(--map-cluster-bg), 0 0 0 2px var(--map-cluster-ring); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-label);
}
.wo-map-note { display: grid; gap: 4px; margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); }
.wo-map-note:empty { display: none; }
.wo-mapview .pin-event > span .i { width: 15px; height: 15px; }

/* ---------- the annual calendar ---------- */
#annual .sec-head { margin-bottom: var(--sp-3); }
.wo-yr-idx { display: flex; flex-wrap: wrap; gap: 4px; margin: var(--sp-4) 0 var(--sp-5); }
.wo-yr-idx a {
  display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 12px; border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text); text-decoration: none; font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase;
}
.wo-yr-idx a:hover { border-color: var(--text); }
.wo-yr-idx .n { color: var(--text-faint); font-family: var(--font-body); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.wo-yr { margin-top: var(--sp-6); scroll-margin-top: calc(var(--topbar-h) + var(--sp-4)); }
.wo-yr-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 6px; border-bottom: 2px solid var(--rule-ink); font-size: var(--fs-lg); }
.wo-yr-h span { font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-faint); }
.wo-yr-also { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; }
.wo-yr-also .label { margin-right: 6px; color: var(--text-faint); }
.wo-se-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); margin-top: var(--sp-4); align-items: start; }
.wo-se {
  position: relative; display: grid; gap: 6px; padding: 12px 16px 14px; min-width: 0; scroll-margin-top: calc(var(--topbar-h) + var(--sp-4));
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--ink-fill);
}
.wo-se:target { box-shadow: 0 0 0 3px var(--focus); }
.wo-se > .ev-meta { grid-area: auto; }                      /* 40-events.css places .ev-meta in a card's grid area */
.wo-se-t { font-size: var(--fs-md); line-height: var(--lh-snug); }
.wo-se-when { font-family: var(--font-display); font-style: italic; font-weight: 520; font-size: 1.0625rem; line-height: var(--lh-snug); }
.wo-se-where { font-size: var(--fs-sm); color: var(--text-muted); }
.wo-se-sum { font-size: var(--fs-sm); color: var(--text-muted); }
.wo-se-next { font-size: var(--fs-sm); line-height: 1.7; }
.wo-se-next .label { margin-right: 6px; color: var(--text-faint); }
.wo-se-next a { font-weight: var(--wght-strong); white-space: nowrap; }
.wo-se .source-line { margin-top: 4px; }
.wo-since { color: var(--text-faint); font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase; }
/* the month strip: twelve cells, lit in the sheet's ink where the series runs; the months in words beside it */
.wo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.wo-cells { display: inline-grid; grid-template-columns: repeat(12, 17px); gap: 1px; }
.wo-cells > * {
  display: grid; place-items: center; height: 20px; font-style: normal; font-family: var(--font-label); font-stretch: 100%;
  font-size: var(--fs-label); font-weight: var(--wght-label); line-height: 1;
}
.wo-cells > i { color: var(--text-faint); box-shadow: inset 0 -1px 0 var(--border-strong); }
.wo-cells > b { background: var(--ink-fill); color: var(--ink-on); }
.wo-strip-t { font-size: var(--fs-xs); color: var(--text-muted); }
@media (max-width: 399px) { .wo-cells { grid-template-columns: repeat(12, 15px); } }

@media (max-width: 699px) {
  .wo { --wo-bar-h: 48px; }
  .wo-mh h2 { font-size: var(--fs-xl); }
  .wo-dh { font-size: var(--fs-base); }
  .wo-bar a { padding: 0 10px; }
}
@media print {
  .wo-bar, .wo-tools, .wo-map, .wo-note { display: none !important; }
  .wo-dh { position: static; }
  .wo-list.hide-past :is(.wo-day[data-status="past"], .wo-month.is-past) { display: block; }
}
/* ---- 50-map.css ---- */
/* ======================================================================
   site/css/50-map.css · OWNER: the design system ("Chart & Label", design/DESIGN.md §9)
   The chart look of every map: the neatline box (.map-box), the basemap view, land names in Archivo caps and
   water names in Bodoni italic, numbered can buoys (.pin-place: a paper body ringed in the sheet ink with its fill
   as the top band, on a stem over a position circle that sits exactly on the point), stays and other kinds
   (.pin-<kind>, a chart symbol inside when the markup has one), clusters (a navy medallion with a gold double
   ring and Bodoni numerals), zoom, the edge chip, the selection card, the legend and attribution, the mini map
   (build/components/mini-map.mjs, core/places.js) and the map page's list/panel vocabulary (the Map lane adds
   its page layout in 51+). Never on a map: soundings, depth contours, navigation buoys or lights, fake coordinates.
   Tokens only; no color literal.
   ====================================================================== */

/* ---------- the map box: a chart neatline (graticule ticks between two rules) ---------- */
.map-box {
  --g: var(--grat-step); --w: var(--grat-w);
  min-width: 0; padding: calc(var(--w) + 1px); border: 1px solid var(--grat-ink);
  background:
    repeating-linear-gradient(90deg, var(--grat-ink) 0 var(--g), var(--grat-paper) 0 calc(var(--g) * 2)) 0 0 / 100% var(--w) no-repeat,
    repeating-linear-gradient(90deg, var(--grat-ink) 0 var(--g), var(--grat-paper) 0 calc(var(--g) * 2)) 0 100% / 100% var(--w) no-repeat,
    repeating-linear-gradient(180deg, var(--grat-ink) 0 var(--g), var(--grat-paper) 0 calc(var(--g) * 2)) 0 0 / var(--w) 100% no-repeat,
    repeating-linear-gradient(180deg, var(--grat-ink) 0 var(--g), var(--grat-paper) 0 calc(var(--g) * 2)) 100% 0 / var(--w) 100% no-repeat,
    var(--grat-paper);
}
.map-box > * { background: var(--surface); }
.map-box > :first-child { border-top: 1px solid var(--grat-ink); }
.map-box > :last-child { border-bottom: 1px solid var(--grat-ink); }
.map-box > * { border-left: 1px solid var(--grat-ink); border-right: 1px solid var(--grat-ink); }
.map-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2); padding: 4px 4px 4px 12px; border-bottom: 1px solid var(--border); }
.map-bar .label { color: var(--text-muted); margin: 0; }
.map-bar-acts { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.map-view {
  position: relative; overflow: hidden; width: 100%; aspect-ratio: var(--map-ratio, 4 / 3); max-height: 72vh; background: var(--map-water);
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; outline-offset: -3px;
}
.map-box > .map-view { background: var(--map-water); }
.map-view.is-dragging { cursor: grabbing; }
.map-view.is-dragging .pin { pointer-events: none; }
.map-view.is-loading::after { content: "Loading the chart…"; position: absolute; left: 12px; bottom: 10px; font-size: var(--fs-xs); color: var(--text-muted); }
.map-base { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-labels, .map-pins { position: absolute; inset: 0; }
.map-labels { pointer-events: none; }
.map-view[data-lod="0"] .m-minor { display: none; }
.map-fail { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--border-strong); }
.map-note { position: absolute; left: 10px; bottom: 8px; z-index: 2; color: var(--text-muted); background: var(--surface); padding: 3px 7px; border: 1px solid var(--border); }

/* ---------- labels: land names in wide caps with a halo; water names in Bodoni italic, the chart convention ---------- */
.map-label {
  position: absolute; transform: translate(-50%, -50%) rotate(var(--a, 0deg)); white-space: nowrap; line-height: 1; pointer-events: none;
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label-wide); text-transform: uppercase; color: var(--map-label);
  text-shadow: 0 0 2px var(--map-label-halo), 0 0 3px var(--map-label-halo), 0 0 5px var(--map-label-halo);
}
.map-label.water {
  font-family: var(--font-display); font-style: italic; font-stretch: normal; font-weight: 560; font-size: var(--fs-base);
  letter-spacing: 0.06em; text-transform: none; color: var(--map-label-water);
  text-shadow: 0 0 3px var(--map-water), 0 0 5px var(--map-water);
}
.map-label.water.big { font-size: var(--fs-lg); letter-spacing: 0.14em; }
.map-label.park, .map-label.bridge { font-family: var(--font-display); font-style: italic; font-stretch: normal; font-weight: 520; font-size: var(--fs-sm); letter-spacing: 0.01em; text-transform: none; color: var(--text-muted); }
.map-label.street { font-family: var(--font-body); font-stretch: normal; font-weight: var(--wght-ui); letter-spacing: 0.01em; text-transform: none; color: var(--text-muted); }
.map-label.state, .map-label.county { color: var(--text-faint); letter-spacing: 0.3em; }

/* ---------- pins: HTML over the basemap; the hit area is always 44px ---------- */
.pin {
  position: absolute; z-index: 1; display: grid; place-items: center; transform: translate(-50%, -50%);
  width: var(--tap); height: var(--tap); padding: 0; color: var(--map-pin-ink); background: none; border: 0;
}
button.pin { cursor: pointer; }
.pin:hover, .pin:focus-visible, .pin[aria-pressed="true"] { z-index: 3; }
.pin:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: var(--radius-md); }
.pin > span .i { width: 15px; height: 15px; stroke-width: 2.4; }
/* the can buoy (places, and any kind the map shows as a buoy): its position circle sits exactly on the point,
   so the 44 × 52 target is lifted until its circle is on the coordinates */
.pin-place, .pin-stay, .pin-experience, .pin-event, .pin-heritage {
  height: 52px; transform: translate(-50%, calc(-100% + 6px)); align-content: end; place-items: end center;
}
:is(.pin-place, .pin-stay, .pin-experience, .pin-event, .pin-heritage) > span {
  position: relative; display: grid; place-items: center; min-width: 26px; height: 28px; margin-bottom: 18px; padding: 6px 4px 0;
  background: linear-gradient(var(--ink-fill) 0 0) 0 0 / 100% 6px no-repeat, var(--map-pin-bg);
  border: 2px solid var(--ink-edge); border-radius: 12px 12px 4px 4px; box-shadow: var(--shadow-1);
  font-family: var(--font-label); font-stretch: 100%; font-size: var(--fs-label); font-weight: 780; line-height: 1; font-variant-numeric: tabular-nums;
}
:is(.pin-place, .pin-stay, .pin-experience, .pin-event, .pin-heritage) > span::before {   /* the stem */
  content: ""; position: absolute; left: 50%; top: calc(100% + 1px); width: 2px; height: 7px; transform: translateX(-50%); background: var(--ink-edge);
}
:is(.pin-place, .pin-stay, .pin-experience, .pin-event, .pin-heritage) > span::after {    /* the position circle: where the place is */
  content: ""; position: absolute; left: 50%; top: calc(100% + 8px); width: 8px; height: 8px; transform: translateX(-50%);
  border-radius: 50%; background: var(--map-pin-bg); border: 2px solid var(--ink-edge);
}
/* a stay is a square-shouldered buoy (the anchor inside when the markup gives it); a historic site a round one */
.pin-stay > span { border-radius: 4px; }
.pin-heritage > span { border-radius: 14px; }
button:is(.pin-place, .pin-stay, .pin-experience, .pin-event, .pin-heritage):hover > span,
:is(.pin-place, .pin-stay, .pin-experience, .pin-event, .pin-heritage)[aria-pressed="true"] > span {
  background: linear-gradient(var(--ink-fill) 0 0) 0 0 / 100% 6px no-repeat, var(--primary); color: var(--primary-contrast);
}
:is(.pin-place, .pin-stay, .pin-experience, .pin-event, .pin-heritage)[aria-pressed="true"] > span { box-shadow: 0 0 0 2px var(--map-pin-bg), 0 0 0 4px var(--map-select-ring); }
.pin-place:focus-visible, .pin-stay:focus-visible { outline-offset: 0; }
/* transit: a small station ring on the dashed line */
.pin-stop > span, .pin-transport > span { width: 14px; height: 14px; border-radius: 50%; background: var(--map-pin-bg); border: 3px solid var(--map-rail); }
button.pin-stop:hover > span, .pin-stop[aria-pressed="true"] > span { background: var(--primary); border-color: var(--primary); width: 18px; height: 18px; }
.pin-food > span { width: 12px; height: 12px; border-radius: 50%; background: var(--text-muted); border: 2px solid var(--map-pin-bg); box-shadow: 0 0 0 1px var(--text-muted); }
/* hovering a list row lights its pin; a live event's buoy carries a magenta ring that pulses (static under reduced motion) */
.pin.is-hi > span { outline: 3px solid var(--focus); outline-offset: 2px; }
.pin.is-live::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; border: 3px solid var(--live);
  animation: tbc-pulse var(--pulse) var(--ease-out) infinite; pointer-events: none;
}
/* a cluster: a navy medallion (gold at night) with the label's double ring and a Bodoni count */
.pin-cluster > span, .cluster > span {
  display: grid; place-items: center; width: var(--map-cluster); height: var(--map-cluster); border-radius: 50%;
  background: var(--map-cluster-bg); color: var(--map-cluster-ink);
  box-shadow: 0 0 0 2px var(--map-cluster-bg), 0 0 0 4px var(--map-cluster-ring), 0 0 0 5px var(--map-cluster-bg), var(--shadow-2);
  font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums;
}
.cluster { position: absolute; z-index: 2; display: grid; place-items: center; width: var(--tap); height: var(--tap); transform: translate(-50%, -50%); }
.pin-cluster:hover > span, .pin-cluster.is-hi > span, .cluster:hover > span { background: var(--accent); color: var(--accent-contrast); box-shadow: 0 0 0 2px var(--accent), 0 0 0 4px var(--map-cluster-ring), 0 0 0 5px var(--accent), var(--shadow-2); }
.pin-cluster:focus-visible, .cluster:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 50%; }
.pin-you { z-index: 4; pointer-events: none; }
.pin-you > span { width: 16px; height: 16px; border-radius: 50%; background: var(--focus); box-shadow: 0 0 0 4px var(--map-pin-bg), 0 0 0 5px var(--focus); }

/* ---------- controls: zoom, the edge chip, the wheel hint, the selection card ---------- */
.map-zoom { position: absolute; z-index: 5; top: 10px; right: 10px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-1); }
.map-zoom button { display: grid; place-items: center; width: var(--tap); height: var(--tap); color: var(--text); background: none; border: 0; }
.map-zoom button + button { border-top: 1px solid var(--border); }
.map-zoom button:hover { background: var(--surface-alt); }
.map-edge {
  position: absolute; z-index: 5; left: 50%; bottom: 10px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); max-width: calc(100% - 20px); padding: 0 12px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow-2);
  font-size: var(--fs-xs); font-weight: var(--wght-strong); text-align: left; line-height: 1.25;
}
.map-edge > span { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.map-edge:hover { border-color: var(--text); }
.map-edge.at-top { top: 10px; bottom: auto; max-width: calc(100% - 84px); }
.map-edge .i { flex: none; }
.map-hint { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; padding: 8px 14px; background: var(--primary); color: var(--primary-contrast); font-size: var(--fs-sm); font-weight: var(--wght-strong); pointer-events: none; }
.map-card {
  position: absolute; z-index: 6; left: 10px; right: 64px; bottom: 10px; max-width: 360px; padding: 10px 12px; cursor: auto;
  background: var(--surface); border: 1px solid var(--border-strong); border-top: 3px solid var(--ink-fill); box-shadow: var(--shadow-2);
}
.map-card h3 { font-size: var(--fs-md); padding-right: 36px; margin: 2px 0; }
.map-card .muted { font-size: var(--fs-xs); }
.map-card .btn-row { margin-top: var(--sp-2); }
.map-card-x { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: var(--tap); height: var(--tap); color: var(--text-muted); background: none; border: 0; }
.map-card-list { list-style: none; padding: 0; margin: 4px 0 0; }
.map-card-list button { display: block; width: 100%; min-height: var(--tap); padding: 6px 4px; text-align: left; background: none; border: 0; border-top: 1px solid var(--border); color: var(--text); font-size: var(--fs-sm); }

/* ---------- legend + attribution: every mark with its word ---------- */
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 2px var(--sp-4); padding: 8px 12px; border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--text-muted); }
.map-legend > span { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; }
.map-legend > span[hidden] { display: none; }
.map-legend .i { width: 16px; height: 16px; color: var(--text); }
.lg-buoy { width: 14px; height: 16px; border: 2px solid var(--rule-ink); border-radius: 7px 7px 2px 2px; background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 4px no-repeat, var(--map-pin-bg); }
.lg-station { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--rule-ink); background: var(--map-pin-bg); }
.lg-stay { width: 12px; height: 12px; border: 2px solid var(--rule-ink); background: var(--map-pin-bg); }
.lg-stop { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--map-rail); background: var(--map-pin-bg); }
.lg-live { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--live); }
.lg-rail { width: 22px; height: 0; border-top: 2px dashed var(--map-rail); }
.lg-course { width: 22px; height: 0; border-top: 2px dashed var(--magenta); }
.map-attrib { margin-left: auto; display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text-muted); font-size: var(--fs-label); }

/* the no-JS map: static pins, not interactive */
.map-static { position: absolute; inset: 0; cursor: auto; }
.map-static .pin { pointer-events: none; }
.no-js .map-view { touch-action: auto; cursor: auto; }
@media (max-width: 699px) { .map-view { aspect-ratio: var(--map-ratio, 4 / 5); } }

/* ---------- the map page's shared vocabulary (the Map lane lays out the page in 51+) ---------- */
.map-ctrl { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.map-main { display: grid; gap: var(--sp-4); grid-template-columns: minmax(0, 1fr); align-items: start; }
.map-side { min-width: 0; }
.map-panel { position: relative; padding: var(--sp-2) var(--sp-4) var(--sp-4); background: var(--surface); border: 1px solid var(--border-strong); border-top: 3px solid var(--ink-fill); margin-bottom: var(--sp-4); }
.map-panel:focus { outline: none; }
.map-panel h2 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-lg); line-height: var(--lh-head); margin: 2px 0 4px; padding-right: 48px; }
.map-sec { margin-bottom: var(--sp-4); }
.map-sec-h {
  display: flex; align-items: center; gap: 8px; padding: var(--sp-2) 0; margin: 0; border-bottom: var(--rule-mid) solid var(--rule-ink); color: var(--text-muted);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase;
}
.map-sec-h .i { width: 16px; height: 16px; }
.map-items { list-style: none; padding: 0; margin: 0; }
.map-li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; min-height: 52px; padding: 4px 0; border-bottom: 1px solid var(--border); }
.map-li.is-hi, .map-li.is-sel { background: var(--surface-alt); box-shadow: inset 3px 0 0 var(--accent); }
.map-li .t { font-weight: var(--wght-strong); color: var(--text); text-decoration: none; overflow-wrap: anywhere; line-height: var(--lh-ui); }
.map-li .t:hover { text-decoration: underline; text-underline-offset: 0.16em; }
.map-li .m { font-size: var(--fs-xs); color: var(--text-muted); overflow-wrap: anywhere; }
/* list markers: the same marks as the pins (a numbered buoy in the sheet's ink) */
.map-mk { display: grid; place-items: center; justify-self: center; }
.mk-buoy, .mk-venue {
  min-width: 26px; height: 26px; padding: 5px 3px 0; border: 2px solid var(--ink-edge); border-radius: 11px 11px 3px 3px;
  background: linear-gradient(var(--ink-fill) 0 0) 0 0 / 100% 5px no-repeat, var(--map-pin-bg); color: var(--text);
  font-family: var(--font-label); font-size: var(--fs-label); font-weight: 780; font-variant-numeric: tabular-nums; line-height: 1;
}
.mk-buoy.is-off, .mk-venue.is-off { background: transparent; border: 2px dashed var(--border-strong); color: var(--text-muted); }
.mk-stay { width: 26px; height: 26px; border: 2px solid var(--ink-edge); background: var(--map-pin-bg); }
.mk-stay .i { width: 14px; height: 14px; }
.mk-stop i { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--map-rail); background: var(--map-pin-bg); }

/* ---------- the mini map (place pages, dialogs): a crop of the same basemap, a double-ruled neatline, one buoy ---------- */
.mini-map {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin: 4px; background: var(--map-water); --mw: 1;
  border: 1px solid var(--grat-ink); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--grat-ink);
}
.mini-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mini-map .pin { pointer-events: none; }
.mini-labels { position: absolute; inset: 0; pointer-events: none; }
.mini-map .map-label.water { font-size: var(--fs-sm); }
.area-map { aspect-ratio: var(--map-ratio, 4 / 3); }
.mini-map-none { padding: var(--sp-3); border: 1px dashed var(--border-strong); background: var(--surface); }
/* ---- 51-map-page.css ---- */
/* ======================================================================
   site/css/51-map-page.css · OWNER: the Map lane
   map.html's layout (the chart beside its controls and list, sticky on wide screens; stacked on phones, the selection
   as a bottom sheet), the layer bar, the neatline margin drawn by features/map.js (.map-grat: minute bands at real
   coordinates), the scale bar, the rose, stack buoys (+n), list markers for every chart symbol, the in-view list, the
   panel; plus the chart crops built by ctx.cards.chartMap (.chart-map: area pages, the areas index) and the static
   no-JS chart. The chart's own look (buoys, clusters, labels, legend marks) is the design system's, in 50-map.css.
   Tokens only; no color literal; nothing under 12px; 44px targets on touch.
   ====================================================================== */

/* ---------- page layout ---------- */
.page-map .content { max-width: 1440px; }
.map-page { position: relative; margin-top: var(--sp-5); }
.skip-list {
  position: absolute; left: 8px; top: 8px; z-index: 20; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 14px;
  background: var(--primary); color: var(--primary-contrast); font-weight: var(--wght-strong); text-decoration: none;
}
.skip-list:not(:focus) { opacity: 0; pointer-events: none; transform: translateY(-140%); }

/* a compact label frame: the chart is the page */
.page-head.ph-compact { margin-bottom: var(--sp-4); padding: calc(var(--ribbon-h) / 2 + 14px) clamp(16px, 4vw, 48px) 18px; }
.page-head.ph-compact::before { display: none; }
.page-head.ph-compact h1 { font-size: clamp(2.125rem, 1.5rem + 2.2vw, 3.25rem); }
.page-head.ph-compact .lede { margin-top: 6px; font-size: var(--fs-base); }
.map-main { display: grid; gap: var(--sp-5); grid-template-columns: minmax(0, 1fr); align-items: start; }
.map-col { min-width: 0; }
@media (min-width: 1280px) {
  .map-main { grid-template-columns: minmax(0, 1fr) 360px; }
  .map-col { position: sticky; top: calc(var(--topbar-h) + 12px); }
}

/* ---------- the map bar and the layer bar ---------- */
.map-bar .view-toggle button { min-height: 40px; padding: 0 12px; }
.map-bar .view-toggle button[disabled] { color: var(--text-faint); cursor: not-allowed; }
.map-bar .view-toggle .i { width: 16px; height: 16px; }
.map-layers { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
/* the layer chips sit in the map box below 1280px, and head the controls beside the chart above it */
.mc-group.mc-layers { display: none; }
@media (min-width: 1280px) { .map-layers { display: none; } .mc-group.mc-layers { display: grid; } }
.map-layers .chip { min-height: 40px; }
@media (max-width: 699px) {
  .map-layers { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; padding: 8px; }
  .map-layers::-webkit-scrollbar { display: none; }
  .map-layers .chip { flex: none; min-height: var(--tap); }
  .map-bar-acts .btn { min-height: var(--tap); }
  .map-bar .view-toggle button { min-height: var(--tap); }
}

/* ---------- the chart view ---------- */
.map-page .map-view:not(.is-static) { aspect-ratio: auto; height: min(74vh, 780px); max-height: none; }
@media (max-width: 699px) { .map-page .map-view:not(.is-static) { height: min(66vh, 560px); } }
/* the static (no-JS) bay chart keeps the chart's own proportions, so its HTML buoys stay on their points */
.map-view.is-static { aspect-ratio: var(--map-ratio); max-height: none; width: min(100%, 86vh); margin: 0 auto; cursor: auto; touch-action: auto; background: var(--surface); }
.map-view.is-static .pin { pointer-events: none; }
.map-view.is-static .map-note { left: 34px; bottom: 30px; }
.map-view.is-static .map-rose { left: 34px; top: 34px; }

/* the neatline margin: paper strips, minute bands in ink and paper at the chart's real coordinates, the labels */
.map-grat { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.map-grat .g-paper { fill: var(--grat-paper); }
.map-grat .g-ink { fill: var(--grat-ink); }
.map-grat .g-rule { fill: none; stroke: var(--grat-ink); stroke-width: 1; }
.map-grat .g-line { fill: none; stroke: var(--map-graticule); stroke-width: 0.6; stroke-opacity: 0.4; }
.map-grat .g-lab {
  fill: var(--grat-ink); font-family: var(--font-label); font-stretch: 100%; font-size: var(--fs-label); font-weight: 650;
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.map-rose { position: absolute; left: 30px; top: 30px; z-index: 0; width: 72px; pointer-events: none; opacity: 0.92; }
.map-rose .rose { width: 100%; }
@media (max-width: 699px) { .map-rose { width: 44px; left: 26px; top: 26px; } }
.map-page .map-zoom { top: 30px; right: 14px; }
.map-foot { position: absolute; left: 28px; bottom: 14px; z-index: 4; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 10px; pointer-events: none; max-width: 46%; }
.map-foot .map-note { position: static; }
.map-scale { display: grid; gap: 2px; padding: 4px 7px 3px; background: var(--surface); border: 1px solid var(--border); }
.map-scale i {
  display: block; width: var(--w, 60px); height: 6px; border: 1px solid var(--grat-ink);
  background: linear-gradient(90deg, var(--grat-ink) 0 25%, var(--grat-paper) 0 50%, var(--grat-ink) 0 75%, var(--grat-paper) 0);
}
.map-scale b { font-family: var(--font-label); font-size: var(--fs-label); font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1.1; }
.map-page .map-edge { left: auto; right: 14px; bottom: 14px; transform: none; max-width: min(360px, calc(100% - 210px)); }
.map-edge .dir-north { transform: rotate(-90deg); } .map-edge .dir-south { transform: rotate(90deg); } .map-edge .dir-west { transform: rotate(180deg); }
@media (max-width: 699px) { .map-page .map-edge { max-width: calc(100% - 150px); padding: 0 10px; } .map-foot { max-width: 44%; } }

/* map labels the basemap adds beyond the design's kinds: cities, towns, beaches, islands, areas, routes, airports */
.map-label.city { font-family: var(--font-display); font-stretch: normal; font-weight: 780; font-size: var(--fs-sm); letter-spacing: 0.14em; color: var(--text); }
.map-label.town, .map-label.beach, .map-label.island { color: var(--map-label); }
.map-label.area { color: var(--text-muted); letter-spacing: var(--track-label); }
.map-label.airport { font-family: var(--font-display); font-style: italic; font-stretch: normal; font-weight: 520; font-size: var(--fs-sm); letter-spacing: 0.01em; text-transform: none; color: var(--text-muted); }
.map-label.route {
  padding: 2px 5px 1px; background: var(--surface); border: 1.5px solid var(--text); border-radius: var(--radius-md); color: var(--text);
  letter-spacing: 0.04em; text-shadow: none; font-variant-numeric: tabular-nums;
}
.map-view[data-lod="0"] .map-label.route { display: none; }

/* a stack: several records at the very same point share one buoy, with a "+n" tab */
.pin-more {
  position: absolute; top: 0; right: -4px; z-index: 1; min-width: 22px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--surface); color: var(--text); border: 1.5px solid var(--ink-edge); box-shadow: var(--shadow-1);
  font-family: var(--font-label); font-size: var(--fs-label); font-weight: 750; line-height: 15px; text-align: center; font-variant-numeric: tabular-nums;
}
.pin-stop.has-more .pin-more { top: 2px; right: 0; }
.pin-event > span .i, .pin-experience > span .i { stroke-width: 2.2; }

/* ---------- legend and attribution ---------- */
.lg-sym { display: inline-grid; place-items: center; width: 20px; height: 20px; border: 2px solid var(--rule-ink); border-radius: 7px 7px 2px 2px; background: var(--map-pin-bg); }
.lg-sym .i { width: 13px; height: 13px; }
.lg-cluster { width: 18px; height: 18px; border-radius: 50%; background: var(--map-cluster-bg); box-shadow: 0 0 0 2px var(--map-cluster-ring); }
.map-attrib-line { flex-basis: 100%; margin: 4px 0 0; padding-top: 6px; border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--text-muted); overflow-wrap: anywhere; }
.map-attrib-line a { color: var(--text-muted); }

/* ---------- controls ---------- */
.map-ctrl { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-3); padding: var(--sp-3) var(--sp-4) var(--sp-4); background: var(--surface); border: 1px solid var(--border); }
.mc-group { display: grid; gap: 6px; min-width: 0; }
.mc-group[hidden] { display: none; }
.mc-label { margin: 0; color: var(--text-muted); }
.mc-row { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); align-items: end; }
.mc-topic .select { min-height: var(--tap); }
.mc-when button { padding: 0 10px; font-size: var(--fs-xs); }
.mc-note { font-size: var(--fs-xs); margin: 0; }
.map-ctrl [data-map-reset] { justify-self: start; }
/* phones: each chip group is one row that scrolls sideways, so the list starts sooner */
@media (max-width: 699px) {
  .map-ctrl .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; margin: 0 calc(-1 * var(--sp-4)); padding: 2px var(--sp-4) 4px; }
  .map-ctrl .chip-row::-webkit-scrollbar { display: none; }
  .map-ctrl .chip-row .chip { flex: none; min-height: var(--tap); }
}
.map-count { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px var(--sp-3); margin: 0 0 var(--sp-2); }
.map-count .result-count { margin: 0; }
.linkish { display: inline; padding: 0; min-height: 0; border: 0; background: none; color: var(--link); font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
@media (max-width: 699px) { .linkish { display: inline-flex; align-items: center; min-height: var(--tap); } }

/* ---------- the list: sections by layer, sheets inside, one row per record ---------- */
.map-list:focus { outline: none; }
.map-sec[hidden], .map-grp[hidden] { display: none; }
.map-sec-h .n { margin-left: auto; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.map-sub {
  display: flex; align-items: center; gap: 8px; margin: var(--sp-3) 0 0; padding: 4px 0; color: var(--ink-text);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase;
}
.map-sub .n { margin-left: auto; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.map-li { grid-template-columns: 34px minmax(0, 1fr) auto; }
.map-li[hidden] { display: none; }
.map-li-b { display: grid; gap: 1px; min-width: 0; padding: 4px 0; }
.map-li .t { font-weight: var(--wght-strong); }
.map-li .t::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.map-li .badge { justify-self: start; margin-top: 2px; }
.map-show { position: relative; z-index: 2; display: grid; place-items: center; width: var(--tap); height: var(--tap); color: var(--text-muted); background: none; border: 1px solid transparent; }
.map-show:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface); }
.map-show .i { width: 18px; height: 18px; }
.map-more { margin: var(--sp-2) 0 0; }
.map-off { margin-top: var(--sp-5); }
.map-off > summary { cursor: pointer; list-style: none; min-height: var(--tap); }
.map-off > summary::-webkit-details-marker { display: none; }
.map-off-note { margin: var(--sp-2) 0; font-size: var(--fs-sm); }
.map-li.is-off .m { color: var(--text-faint); }

/* list markers: the same marks as the buoys */
.mk-sym {
  display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--ink-edge); border-radius: 11px 11px 3px 3px;
  background: linear-gradient(var(--ink-fill) 0 0) 0 0 / 100% 4px no-repeat, var(--map-pin-bg); color: var(--text);
}
.mk-sym .i { width: 14px; height: 14px; stroke-width: 2.4; }
.mk-heritage { border-radius: 13px; }
.mk-stay { border-radius: 3px; }
.mk-stop { display: grid; place-items: center; }
.mk-off { display: grid; place-items: center; width: 26px; height: 26px; border: 2px dashed var(--border-strong); border-radius: 11px 11px 3px 3px; color: var(--text-muted); font-family: var(--font-label); font-size: var(--fs-label); }

/* ---------- the selection panel: beside the list on wide screens, a bottom sheet below 1280px ---------- */
.map-panel[hidden] { display: none; }
.map-panel { padding-top: var(--sp-3); }
.map-panel-top { position: absolute; top: 4px; right: 4px; display: flex; gap: 2px; }
.map-panel-top button { display: grid; place-items: center; width: var(--tap); height: var(--tap); color: var(--text-muted); background: none; border: 0; }
.map-panel-top button:hover { color: var(--text); background: var(--surface-alt); }
.map-panel-grip { display: none; }
.map-panel-k { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; padding-right: 96px; color: var(--ink-text); }
.map-panel h2 { align-items: flex-start; }
.map-panel h2 .map-mk { flex: none; margin-top: 3px; }
.map-panel h2:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.map-panel-meta { margin: 2px 0 0; font-size: var(--fs-sm); }
.map-panel-line { margin: 6px 0 0; font-size: var(--fs-sm); color: var(--text); max-width: 60ch; }
.map-panel-line:empty { display: none; }
.map-panel-acts { margin-top: var(--sp-3); gap: var(--sp-2); }
.map-panel-acts .star { margin-left: auto; }
.map-panel-h { margin: var(--sp-4) 0 var(--sp-2); font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted); }
.map-panel-list { list-style: none; padding: 0; margin: 0; }
.map-panel-list li { display: flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 4px 0; border-top: 1px solid var(--border); }
.map-panel-list li > span:not(.map-mk) { display: grid; min-width: 0; flex: 1; }
.map-panel-list a { font-weight: var(--wght-strong); }
.map-panel-list .faint { font-size: var(--fs-xs); }
.map-panel-list button { display: grid; width: 100%; min-height: var(--tap); padding: 6px 4px; text-align: left; background: none; border: 0; color: var(--text); font-size: var(--fs-sm); }
.map-panel-list button:hover { background: var(--surface-alt); }
.map-panel-events { margin: 0; }
@media (max-width: 1279px) {
  .map-panel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-height: 56vh; overflow: auto; margin: 0; padding: var(--sp-2) var(--gutter) var(--sp-4);
    border-left: 0; border-right: 0; box-shadow: var(--shadow-3); transform: translateY(105%); transition: transform var(--speed-slow) var(--ease);
  }
  .map-panel.is-open { transform: none; }
  .map-panel.is-full { max-height: calc(100vh - var(--topbar-h) - 16px); }
  .map-panel-grip { display: grid; }
  .map-panel-grip .i { transform: rotate(180deg); transition: transform var(--speed) var(--ease); }
  .map-panel.is-full .map-panel-grip .i { transform: none; }
  .map-page.has-sel { padding-bottom: 40vh; }
}
@media (max-width: 1023px) { .map-panel { bottom: var(--dock-h); max-height: 44vh; } .map-panel.is-full { max-height: calc(100vh - var(--topbar-h) - var(--dock-h) - 16px); } }
/* wide screens: the panel stays in view at the top of its column while the list scrolls under it */
@media (min-width: 1280px) {
  .map-panel { position: sticky; top: calc(var(--topbar-h) + 12px); z-index: 6; max-height: calc(100vh - var(--topbar-h) - 24px); overflow: auto; box-shadow: var(--shadow-2); }
}
@media (prefers-reduced-motion: reduce) { .map-panel { transition: none; } }

/* ---------- chart crops (ctx.cards.chartMap): area pages and the areas index ---------- */
.chart-map { aspect-ratio: var(--map-ratio, 4 / 3); }
.chart-map .map-label { font-size: var(--fs-label); }
.chart-map .map-label.water { font-size: var(--fs-sm); }
.chart-map .map-label.city { font-size: var(--fs-label); }
.chart-map[data-chart="region"] .map-label.water { font-size: var(--fs-xs); }

.no-js .map-bar-acts, .no-js .map-layers { display: none; }

@media (max-width: 699px) {
  .page-head.ph-compact { padding-bottom: 14px; }
  .page-head.ph-compact .lede { font-size: var(--fs-sm); line-height: 1.45; }
  .js .map-bar > .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .map-bar { padding: 6px; }
  .map-bar-acts { width: 100%; justify-content: space-between; }
}
.map-panel-dir { gap: 0 var(--sp-2); margin-top: var(--sp-2); }
.map-panel-dir .label { color: var(--text-muted); margin-right: 2px; }
.map-panel-dir .btn { padding: 0 8px; }
@media (max-width: 699px) { .map-panel-dir .btn, .map-panel-acts .btn { min-height: var(--tap); } }

/* ---------- static charts (ctx.cards.chartMap): a buoy that would cover a neighbor's number stands on a longer stem ---------- */
.pin[data-lift] { height: calc(52px + var(--lift, 0px)); }
.pin[data-lift] > span { margin-bottom: calc(18px + var(--lift, 0px)); }
.pin[data-lift] > span::before { height: calc(7px + var(--lift, 0px)); }
.pin[data-lift] > span::after { top: calc(100% + 8px + var(--lift, 0px)); }
/* ---- 55-explore.css ---- */
/* ======================================================================
   site/css/55-explore.css · OWNER: the Explore lane (explore-and-places)
   things-to-do.html and outdoors.html: the facts line under the head, "Start here" (the signature places as a
   sheet index: a strip per sheet on phones), the filter panel (.xp-tools: search, List / Map, sheet chips,
   "More filters"), the family sections (.xp-sec: live count, collapsed to their first cards with "Show all"),
   the place card additions (kind symbol, tag words, the source foot, the list number buoy), the Gulf beaches
   chart beside its numbered list, "Before you swim" (the beach-safety FAQs) and the Map view.
   Card grammar, plates, pins and clusters come from 21-records.css and 50-map.css. Tokens only; no color literal.
   ====================================================================== */

/* ---------- the facts line under the page head ---------- */
.xp-facts { margin: calc(-1 * var(--sp-3)) 0 var(--sp-5); font-size: var(--fs-sm); color: var(--text-muted); max-width: 80ch; }

/* ---------- Start here: the signature places, sheet by sheet ---------- */
.xp-start { margin-top: var(--sp-6); }
.xp-start .sec-kicker .i { width: 16px; height: 16px; color: var(--gold-ink); }
.xp-note { max-width: 70ch; margin: calc(-1 * var(--sp-2)) 0 var(--sp-4); font-size: var(--fs-sm); color: var(--text-muted); }
.xp-start-grid { border-top: 1px solid var(--rule-ink); }
.xp-start-row { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: var(--sp-3) var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); }
.xp-start-sheet { display: flex; align-items: center; gap: 12px; min-height: var(--tap); align-self: start; color: var(--ink-text); text-decoration: none; }
.xp-start-sheet > span { display: grid; line-height: 1.2; }
.xp-start-sheet .label { color: var(--text-faint); }
.xp-start-sheet b { font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); color: var(--ink-text); }
.xp-start-sheet:hover b { text-decoration: underline; text-underline-offset: 0.16em; }
.xp-start-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.xp-start-list a {
  display: grid; align-content: center; gap: 2px; min-height: 52px; height: 100%; padding: 6px 12px 7px 14px;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--ink-edge); color: var(--text); text-decoration: none;
}
.xp-start-list a:hover { border-color: var(--border-strong); border-left-color: var(--ink-edge); background: var(--ink-tint); }
.xp-start-list .t { font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-base); line-height: var(--lh-snug); }
.xp-start-list .w { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.3; }
@media (max-width: 699px) {
  .xp-start-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  /* a strip per sheet: swipe sideways through its signature places */
  .xp-start-list {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(74%, 260px); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter);
  }
  .xp-start-list li { scroll-snap-align: start; }
  .xp-start-list a { min-height: 64px; }
}

/* ---------- the filter panel ---------- */
.xp-root { margin-top: var(--sp-7); }
.xp-tools {
  display: grid; gap: var(--sp-3); margin-bottom: var(--sp-5); padding: var(--sp-4) var(--sp-4) var(--sp-3);
  background:
    linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat,
    var(--surface);
  border: 1px solid var(--border); border-top: 0; padding-top: calc(var(--sp-4) + 6px);
}
.xp-row1 { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.xp-row1 .field { max-width: none; flex: 1 1 280px; }
.xp-row1 .view-toggle { margin-left: auto; }
.xp-sheets { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px var(--sp-3); }
.xp-sel-l { color: var(--text-faint); }
.xp-more { border-top: 1px solid var(--border); }
.xp-more > summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding-right: 8px; cursor: pointer; list-style: none;
  font-size: var(--fs-sm); font-weight: var(--wght-strong); color: var(--text);
}
.xp-more > summary::-webkit-details-marker { display: none; }
.xp-more > summary .i { width: 17px; height: 17px; }
.xp-more > summary .chev { transition: transform var(--speed) var(--ease); color: var(--text-muted); }
.xp-more[open] > summary .chev { transform: rotate(180deg); }
.xp-more-in { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); align-items: end; padding-bottom: var(--sp-2); }
.xp-more-in.xp-inline { padding: var(--sp-2) 0 0; border-top: 1px solid var(--border); grid-template-columns: minmax(0, 320px); }
.xp-sel { display: grid; gap: 4px; min-width: 0; }
.xp-sel .select { width: 100%; }
/* the checkbox fills its whole 44px label (the hit area); .xp-box draws the square and the check */
.xp-check { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); padding-right: 6px; font-size: var(--fs-sm); cursor: pointer; }
.xp-check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.xp-box { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 2px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: transparent; }
.xp-box .i { width: 16px; height: 16px; stroke-width: 3; }
.xp-check input:checked + .xp-box { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.xp-check input:focus-visible + .xp-box { outline: 3px solid var(--focus); outline-offset: 2px; }
.xp-check:hover .xp-box { border-color: var(--text); }
.xp-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px var(--sp-3); padding-top: var(--sp-2); border-top: 1px solid var(--border); }
.xp-status .btn .i { width: 15px; height: 15px; }
@media (max-width: 559px) {
  .xp-tools { padding-left: var(--sp-3); padding-right: var(--sp-3); }
  .xp-row1 .view-toggle { margin-left: 0; width: 100%; }
  .xp-row1 .view-toggle button { flex: 1; justify-content: center; }
  .xp-sheets { grid-template-columns: minmax(0, 1fr); }
  .xp-sheets .chip { padding: 0 10px; }
}

/* ---------- family sections: a live count at the head, collapsed to the first cards ---------- */
.xp-sec { margin-top: var(--sp-7); }
.xp-list > .xp-sec:first-child { margin-top: 0; }
.xp-sec .sec-head { align-items: baseline; }
.xp-sec .sec-head .sec-kicker { font-size: var(--fs-label); }
.xp-count { margin: 0 0 0 auto; color: var(--text-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.xp-count [data-group-count] { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; letter-spacing: 0; color: var(--text); vertical-align: -0.08em; font-variant-numeric: lining-nums tabular-nums; }
.xp-grid { gap: var(--sp-4); }
.xp-grid > .card.xp-over { display: none; }
.xp-more-row { display: flex; justify-content: center; margin-top: var(--sp-4); }
.xp-more-row .btn { white-space: normal; text-align: center; }
.xp-more-row .btn.is-open .i { transform: rotate(180deg); }
.xp-src { max-width: 80ch; }

/* ---------- card additions (place-card.mjs sym / extra / foot / lead) ---------- */
.card-kind { display: inline-flex; align-items: center; gap: 5px; }
.card-kind .sym { width: 16px; height: 16px; color: var(--ink-text); flex: none; }
.card-meta .seal { margin-left: 6px; vertical-align: middle; }
.card-src { font-size: var(--fs-xs); color: var(--text-faint); padding-top: 8px; margin-top: 2px; border-top: 1px solid var(--border); line-height: 1.4; }
.card-src a { color: var(--text-muted); }
.card-meta + .card-src { margin-top: 0; }
.card-extra { margin-top: 2px; }
.xp-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.xp-tags span {
  display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--text); font-size: var(--fs-xs); line-height: 1.2;
}
/* the list number: a small can buoy, the same mark as the chart's */
.xp-no {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 5px 4px 0; margin-right: 4px;
  border: 2px solid var(--ink-edge); border-radius: 11px 11px 3px 3px;
  background: linear-gradient(var(--ink-fill) 0 0) 0 0 / 100% 5px no-repeat, var(--map-pin-bg); color: var(--text);
  font-family: var(--font-label); font-stretch: 100%; font-size: var(--fs-label); font-weight: 780; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums;
}

/* ---------- the Gulf beaches: the chart of the coast beside its numbered list ---------- */
.xp-chart { margin: 0 0 var(--sp-5); }
.xp-chart figcaption { margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--text-faint); max-width: 60ch; }
.xp-chart figcaption p { margin: 0; }
.xp-chart figcaption a { color: var(--text-muted); }
.xp-coast { margin: 4px; }
.xp-coast .xp-leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.xp-coast .xp-leaders polyline { fill: none; stroke: var(--text-muted); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.xp-dot {
  position: absolute; z-index: 2; width: 10px; height: 10px; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--map-pin-bg); border: 2px solid var(--ink-edge); box-shadow: 0 0 0 1px var(--map-pin-bg);
}
.xp-no.xp-tick { position: absolute; z-index: 3; right: 92.5%; margin: 0; transform: translateY(-50%); box-shadow: var(--shadow-1); }
@media (min-width: 1100px) {
  .xp-gulf { display: grid; grid-template-columns: minmax(250px, 40%) minmax(0, 1fr); column-gap: var(--sp-5); align-items: start; }
  .xp-gulf > .sec-head, .xp-gulf > .xp-note, .xp-gulf > .xp-more-row { grid-column: 1 / -1; }
  .xp-gulf > .xp-chart { position: sticky; top: calc(var(--topbar-h) + var(--sp-4)); margin: 0; }
  .xp-gulf > .xp-grid { grid-template-columns: minmax(0, 1fr); }
}
/* beach cards carry no plate (a photo when one is cleared): the chart and the tags do the work */
.card.place.no-plate .card-kicker { padding-right: 40px; }
.card.place.no-plate > .star { top: 6px; right: 6px; box-shadow: none; background: transparent; }
.xp-beaches .card.place.no-plate { border-top: 3px solid var(--ink-fill); }
.xp-beaches .card.place.no-plate[data-sig="1"] { border-top-color: var(--gold); }

/* ---------- Before you swim: the beach-safety answers ---------- */
.callout.xp-safety { max-width: none; margin-top: var(--sp-6); padding: 30px 20px 18px; }
.xp-safety-h { font-size: var(--fs-lg); line-height: var(--lh-head); margin-bottom: var(--sp-4); }
.xp-safety-grid { display: grid; gap: var(--sp-4) var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.xp-safe { display: flex; flex-direction: column; gap: 8px; padding-top: var(--sp-3); border-top: 2px solid var(--warning); }
.xp-safe h3 { font-size: var(--fs-md); line-height: var(--lh-snug); }
.xp-safe p { font-size: var(--fs-sm); }
.xp-safe .xp-safe-src { margin-top: auto; font-size: var(--fs-xs); color: var(--text-muted); }
.xp-safe .xp-safe-src a { color: var(--text-muted); }
.xp-safety-more { margin: var(--sp-5) 0 var(--sp-2); color: var(--warning); }
.xp-safety-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.xp-safety-links li { border-top: 1px solid var(--warning-edge); }
.xp-safety-links a { display: flex; align-items: center; min-height: var(--tap); padding: 4px 0; font-size: var(--fs-sm); }

/* ---------- the Map view ---------- */
.xp-map { margin-bottom: var(--sp-5); }
.xp-map-view { aspect-ratio: 16 / 10; max-height: 76vh; }
@media (max-width: 699px) { .xp-map-view { aspect-ratio: 4 / 5; max-height: 70vh; } }
.xp-map .map-legend .xp-attr { margin-left: auto; color: var(--text-faint); }
.xp-map .map-legend .xp-attr a { color: var(--text-muted); }
.xp-map-note { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); max-width: 70ch; }
.xp-map-note:empty { display: none; }
.xp-map .map-card .muted.label { color: var(--ink-text); }
.xp-map .pin-place.is-sig > span { box-shadow: 0 0 0 2px var(--map-pin-bg), 0 0 0 3.5px var(--gold); }

/* ---------- phones: the head's index chips in one swipeable row; the sheet chips two by two ---------- */
@media (max-width: 699px) {
  .xp-head .head-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; margin-left: -8px; margin-right: -8px; padding: 0 8px 6px; }
  .xp-head .head-chips .chip { flex: none; }
  .xp-sheets .chip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .xp-sheets .chip { padding: 4px 8px; white-space: normal; text-align: left; line-height: 1.2; font-size: var(--fs-xs); }
  .xp-sheets .chip .n { margin-left: auto; }
}
/* the "more questions" drawer under Before you swim */
details.xp-safety-more { margin-top: var(--sp-5); border-top: 1px solid var(--warning-edge); }
details.xp-safety-more > summary { display: flex; align-items: center; gap: 8px; min-height: var(--tap); cursor: pointer; list-style: none; font-size: var(--fs-sm); font-weight: var(--wght-strong); color: var(--warning); }
details.xp-safety-more > summary::-webkit-details-marker { display: none; }
details.xp-safety-more > summary .i { width: 17px; height: 17px; flex: none; }
details.xp-safety-more > summary .chev { margin-left: auto; transition: transform var(--speed) var(--ease); }
details.xp-safety-more[open] > summary .chev { transform: rotate(180deg); }
details.xp-safety-more .xp-safety-links { margin-top: var(--sp-2); }
/* a lit number on the Gulf chart (the card under the pointer or focus) */
.xp-coast .xp-tick.is-hi { background: var(--primary); color: var(--primary-contrast); border-color: var(--primary); z-index: 4; }
.xp-coast .xp-dot.is-hi { width: 16px; height: 16px; border-color: var(--map-select-ring); box-shadow: 0 0 0 2px var(--map-pin-bg), 0 0 0 4px var(--map-select-ring); z-index: 4; }
/* the chart's count stays readable on phones (the Map page hides its own bar label there) */
.js .xp-map .map-bar > .label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
.xp-map .map-legend > .xp-attr { display: block; }

/* ---------- review pass (2026-09-27) ---------- */
/* the page's closing source note: the info mark in its own column, the words beside it (never a lone icon line) */
.source-line.xp-src { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 8px; align-items: start; }
.source-line.xp-src > .i { margin-top: 2px; align-self: start; }
.source-line.xp-src > span { grid-column: 2; min-width: 0; }
/* hours and price on lines of their own, each after its symbol (placeCard meta: "rows") */
.card-meta-rows { display: grid; gap: 3px; }
.card-meta-rows .cm { display: grid; grid-template-columns: 15px minmax(0, 1fr); column-gap: 7px; align-items: start; }
.card-meta-rows .cm > .sym { width: 15px; height: 15px; margin-top: 2px; color: var(--text-faint); }
.card-meta-rows .unk::before { display: none; }   /* the row's own symbol already marks the line */
.card-meta-rows .cm-seal { display: block; margin-top: 4px; }
.card-meta-rows .cm-seal .seal { margin-left: 0; }
/* Start here: how many signature places each sheet's strip holds (a phone shows one and a half at a time) */
.xp-start-n { font-size: var(--fs-xs); color: var(--text-muted); }
/* the Gulf beaches' chart above its list (under 1100px): never wider than a phone-and-a-half, so it stays one screen tall */
@media (max-width: 1099px) { .xp-gulf > .xp-chart { max-width: 520px; } }
/* ---- 56-eat.css ---- */
/* ======================================================================
   site/css/56-eat.css · OWNER: the Stay lane (experiences-eat-stay)
   1. The lane's shared list furniture (eat-drink.html, experiences.html, stay.html; this partial loads first):
      the filter toolbar with captioned selects (.lane-tools .lane-selects .lane-select), the count line
      (.lane-count), and the compact "ledger" card (.card[data-compact]): no plate, the sheet's ink as a top
      rule, the kicker clear of the star, a status note box (.card-note), a facts line (.card-facts).
   2. Eat & drink: the "Known for" quick filters, the "why it is here" line (distinction boxes in gold tint,
      the heritage mark, the signature seal), hours and address with their symbols, sheet and area heads.
   Tokens only; no color literal; nothing under 12px.
   ====================================================================== */

/* ---------- 1. the filter toolbar: the search on its own line (the view toggle beside it), captioned selects below ---------- */
.toolbar.lane-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--sp-3); margin: var(--sp-5) 0 var(--sp-3); }
.no-js .toolbar.lane-tools { display: none; }
.lane-tools .field { max-width: 560px; }
.lane-tools .view-toggle { grid-column: 2; grid-row: 1; }
.lane-selects { grid-column: 1 / -1; display: grid; gap: var(--sp-2) var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.lane-select { display: grid; gap: 4px; min-width: 0; }
.lane-select-l { color: var(--text-muted); }
.lane-select .select { width: 100%; }
.lane-count { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-4); margin: 0 0 var(--sp-5); padding-bottom: var(--sp-2); border-bottom: 1px solid var(--border); }
.lane-count .result-count { margin: 0; }
.lane-clear .i { width: 15px; height: 15px; }
.no-js .lane-count { display: none; }
[data-filter-empty] { margin-top: var(--sp-5); }
@media (max-width: 559px) {
  .lane-selects { grid-template-columns: 1fr 1fr; }
}

/* ---------- 1. the compact "ledger" card (no plate): long lists of stays, tours and places to eat ---------- */
.card[data-compact] { border-top: 3px solid var(--ink-fill); }
.card[data-compact][data-sig="1"] { border-top: 3px solid var(--gold); }
.card[data-compact] > .star { top: 4px; right: 4px; background: transparent; box-shadow: none; border-radius: var(--radius-md); }
.card[data-compact] > .star:hover { background: var(--surface-alt); }
.card[data-compact] .card-body { padding: 12px 16px 14px; gap: 5px; }
.card[data-compact] .card-kicker { padding-right: 38px; }
.card[data-compact] .card-title { font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); line-height: var(--lh-snug); margin-top: 2px; }
.card-kind { display: inline-flex; align-items: center; gap: 5px; }
.card-kind .i { width: 16px; height: 16px; color: var(--ink-text); }
.card-note {
  margin: 2px 0; padding: 7px 10px; font-size: var(--fs-xs); line-height: 1.45; color: var(--text);
  background: var(--warning-tint); border-left: var(--rule-heavy) solid var(--warning);
}
.card-note.is-open { background: var(--surface-alt); border-left-color: var(--border-strong); }
.card-note .label { color: var(--text-muted); margin-right: 4px; }
.card-facts { font-size: var(--fs-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; padding-top: 6px; border-top: 1px dashed var(--border); margin-top: auto; }
.card-status { display: flex; flex-wrap: wrap; gap: 6px; }
.card-season { white-space: normal; }

/* ---------- 2. eat & drink ---------- */
.eat-quick { display: grid; gap: var(--sp-2); margin: var(--sp-5) 0 var(--sp-2); }
.eat-quick-l { color: var(--text-muted); }
.eat-quick .chip { text-decoration: none; }
.eat-reasons { max-width: none; }
.eat-reasons ul { display: flex; flex-wrap: wrap; gap: 4px var(--sp-4); list-style: none; padding: 0; margin: var(--sp-2) 0; }
.eat-reasons li { font-size: var(--fs-sm); }
.eat-reasons li b { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); font-variant-numeric: lining-nums; margin-right: 2px; }
.eat-sheet-h { display: flex; align-items: center; gap: 12px; }
.eat-area-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 6px; border-bottom: 1px solid var(--rule-ink); font-size: var(--fs-lg); line-height: var(--lh-head); }
.eat-area-h a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); text-decoration: none; }
.eat-area-h a:hover { text-decoration: underline; text-underline-offset: 0.16em; }
.tour-kind-h .n { font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); color: var(--text-faint); }
.eat-area { margin-top: var(--sp-6); }
.eat-area:first-of-type { margin-top: 0; }
.eat-grid { margin-top: var(--sp-3); }

/* why it is here: distinctions (gold-tint boxes with the gold ink), the heritage mark, the seal */
.eat-why { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 2px; }
.eat-dist, .eat-her {
  display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 3px 9px 3px 7px;
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.15;
}
.eat-dist { background: var(--gold-tint); color: var(--gold-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold-ink) 40%, transparent); }
.eat-dist .i { width: 13px; height: 13px; fill: currentColor; }
.eat-her { color: var(--text-muted); box-shadow: inset 0 0 0 1px var(--border-strong); }
.eat-her .i { width: 14px; height: 14px; color: var(--gold-ink); }
.eat-tags { color: var(--text); }
.eat-meta { display: grid; gap: 3px; }
.eat-meta > span { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 6px; align-items: start; }
.eat-meta .i { width: 14px; height: 14px; margin-top: 2px; color: var(--text-faint); }
.card.eat[data-st="temporarily-closed"] .card-sum { -webkit-line-clamp: 2; line-clamp: 2; }
.eat-area-h .faint { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: var(--wght-ui); }
/* a warning badge inside a warning box keeps its edge (the box and the badge share the tint) */
.callout.tone-warn .badge-warn { box-shadow: inset 0 0 0 1px var(--warning); }
/* hours and address carry their own symbol: the unknown's dashed mark would be a second one ("not listed" says it) */
.eat-meta .unk::before { display: none; }
/* ---- 60-experiences.css ---- */
/* ======================================================================
   site/css/60-experiences.css · OWNER: the Stay lane (experiences-eat-stay)
   experiences.html: the family index (five label tiles, each with its chart symbol in a paper medallion),
   the "Check before you go" box, the kind links under each family head, kind heads with their symbol, and
   the compact experience card's departure line (the daymark). The card grammar is 21-records.css plus the
   lane's compact card (56-eat.css).
   Tokens only; no color literal; nothing under 12px.
   ====================================================================== */

/* ---------- the family index ---------- */
.tour-index { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin: var(--sp-6) 0 var(--sp-2); }
.tour-fam-link {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 2px 14px;
  min-height: 72px; padding: 12px 14px 12px 12px; color: var(--text); text-decoration: none;
  background: var(--surface); border: 1px solid var(--border);
  background-image: linear-gradient(var(--rule-ink) 0 0), linear-gradient(var(--rule-ink) 0 0);
  background-size: 100% 2px, 100% 1px; background-position: 0 0, 0 5px; background-repeat: no-repeat;
  padding-top: 16px;
}
.tour-fam-link:hover { border-color: var(--border-strong); color: var(--text); }
.tour-fam-link:hover .tour-fam-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
.tour-fam-link > .i {
  grid-row: 1 / span 2; width: 22px; height: 22px; padding: 9px; box-sizing: content-box; border-radius: 50%;
  color: var(--text); background: var(--surface);
  box-shadow: 0 0 0 1.5px var(--rule-ink), 0 0 0 4px var(--surface), 0 0 0 5px var(--border-strong);
  margin: 4px 2px 4px 5px;
}
.tour-fam-t { font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); line-height: 1.15; }
.tour-fam-n { font-size: var(--fs-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.tour-fam-n b { color: var(--text); }

/* ---------- check before you go ---------- */
.tour-check { max-width: none; }
.tour-check-h { font-size: var(--fs-lg); margin: 4px 0 var(--sp-2); scroll-margin-top: calc(var(--topbar-h) + var(--sp-4)); }
.tour-check ul.rows { background: none; padding-top: 0; }
.tour-check li.row { border-bottom-color: var(--warning-edge); }
.tour-check li.row > p { color: var(--text); font-size: var(--fs-sm); max-width: 80ch; padding-bottom: 4px; }
.tour-check li.row .badge { flex: none; }

/* ---------- family sections and kind groups ---------- */
.tour-list-wrap { scroll-margin-top: calc(var(--topbar-h) + var(--sp-2)); }
.tour-fam .sec-head h2 { display: flex; align-items: center; gap: 10px; }
.tour-kinds { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: calc(-1 * var(--sp-2)) 0 var(--sp-5); }
.tour-kinds a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); text-decoration: none; font-size: var(--fs-sm);
}
.tour-kinds a:hover { border-color: var(--text); }
.tour-kinds .n { color: var(--text-faint); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
@media (pointer: coarse), (max-width: 1023px) { .tour-kinds a { min-height: var(--tap); } }
.tour-kind { margin-top: var(--sp-6); scroll-margin-top: calc(var(--topbar-h) + var(--sp-3)); }
.tour-kind:first-of-type { margin-top: 0; }
.tour-kind-h { display: flex; align-items: center; gap: 10px; }
.tour-kind-h .i { width: 20px; height: 20px; color: var(--text-muted); }
.tour-grid { margin-top: var(--sp-3); }

/* ---------- the compact experience card ---------- */
.card.exp[data-compact] .card-op { font-size: var(--fs-sm); }
.card.exp .card-departs { display: flex; align-items: flex-start; gap: 6px; }
.card.exp .card-departs > .i { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--ink-text); }
.card.exp[data-st="temporarily-closed"] .card-title a, .card.exp[data-st="opening-soon"] .card-title a { color: var(--text-muted); }
@media (max-width: 559px) {
  .tour-index { grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
  .tour-fam-link { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; align-content: start; gap: 6px; padding: 14px 10px 10px; }
  .tour-fam-link > .i { grid-row: auto; width: 18px; height: 18px; padding: 7px; margin: 4px 0 2px 4px; }
  .tour-fam-t { font-size: var(--fs-base); }
}

/* ---------- review pass (2026-09-27): the map and filter links under the family index ---------- */
.tour-more { display: flex; flex-wrap: wrap; gap: 0 var(--sp-5); margin: 0 0 var(--sp-3); }
.tour-more a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.tour-more .i { width: 16px; height: 16px; flex: none; }
/* ---- 62-history.css ---- */
/* ======================================================================
   site/css/62-history.css · OWNER: the History lane (history-and-passages) · history.html
   The seven eras as a coastline rail of numbered medallions; stat tiles on a double rule; the filter panel;
   each era's head (a gold Roman numeral beside the name); the timeline as the design's ol.timeline coastline
   (a 2px coast with engraved water-lining echoes seaward, a landmark where the entry happened at a place you
   can visit, a hollow sounding-free dot where it did not), the year as a Bodoni numeral; the seven National
   Historic Landmarks as cards under a double gold rule; the register of historic sites by sheet and area,
   each row a landmark symbol, the name, "Built …", designation boxes and the year as a cigar-label numeral.
   Tokens only; no color literal; nothing under 12px; 44px targets on phones.
   ====================================================================== */

/* ---------- the seven eras: a coastline of numbered medallions ---------- */
.hx-top { margin-top: var(--sp-6); }
.hx-rail { --coast: 26px; }
.hx-rail ol {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 4px;
}
.hx-rail ol::before {                       /* the coast: a 2px line and its engraved echoes seaward (below) */
  content: ""; position: absolute; left: 0; right: 0; top: var(--coast); height: 22px; pointer-events: none;
  background:
    linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--water-line) 0 0) 0 5px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 72%, transparent) 0 0) 0 9px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 46%, transparent) 0 0) 0 14px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 24%, transparent) 0 0) 0 21px / 100% 1px no-repeat;
}
.hx-rail li { position: relative; min-width: 0; }
.hx-rail a {
  display: grid; justify-items: center; align-content: start; gap: 3px; height: 100%; min-height: var(--tap);
  padding: 0 4px var(--sp-3); color: var(--text); text-align: center; text-decoration: none;
}
.hx-rail-no {
  position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--rule-ink); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gold);
  font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; line-height: 1; font-variant-numeric: lining-nums;
  transition: background var(--speed) var(--ease);
}
.hx-rail-name { font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); line-height: var(--lh-snug); }
.hx-rail-span {
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold-ink); font-variant-numeric: tabular-nums;
}
.hx-rail-n { font-size: var(--fs-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hx-rail a:hover .hx-rail-no { background: var(--gold-tint); }
.hx-rail a:hover .hx-rail-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
@media (max-width: 899px) {
  .hx-rail ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--sp-3); }
  .hx-rail ol::before { display: none; }
  .hx-rail li { border-bottom: 1px solid var(--border); }
  .hx-rail a { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto; justify-items: start; column-gap: 12px; row-gap: 1px; padding: 10px 0; text-align: left; }
  .hx-rail-no { grid-row: 1 / span 3; width: 40px; height: 40px; margin: 2px 0 0; font-size: 1rem; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--gold); }
  .hx-rail-name { font-size: var(--fs-base); }
}

/* ---------- the numbers: tiles on the label's double rule ---------- */
.hx-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 1px; margin: var(--sp-6) 0 var(--sp-4);
  padding-top: 6px; background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat;
}
.hx-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 12px 14px 14px; background: var(--surface); border-bottom: 1px solid var(--border); }
.hx-stat dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-numeral); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.hx-stat dt { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.35; }
.hx-acts { margin-top: var(--sp-2); }
.hx-acts .btn .i { margin-right: 6px; }

/* ---------- the filter panel (JS only) ---------- */
.hx-filter {
  margin-top: var(--sp-7); padding: var(--sp-4) var(--sp-4) var(--sp-3); background: var(--surface); border: 1px solid var(--border);
  border-top: 3px double var(--rule-ink);
}
.hx-filter .toolbar { margin-bottom: var(--sp-3); }
.hx-filter .toolbar .field { flex: 1 1 280px; }
.hx-chips { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 4px var(--sp-3); margin-top: var(--sp-2); }
.hx-chips-l { padding-top: 13px; color: var(--text-muted); margin: 0; }
.hx-filter-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-top: var(--sp-3); padding-top: var(--sp-2); border-top: 1px solid var(--border); }
.hx-filter-foot .btn { min-height: var(--tap); }
@media (max-width: 559px) {
  .hx-chips { grid-template-columns: minmax(0, 1fr); }
  .hx-chips-l { padding-top: 4px; }
}
.hx-empty { margin: var(--sp-5) 0; padding: var(--sp-4); border: 1px dashed var(--border-strong); background: var(--surface); color: var(--text-muted); }

/* ---------- an era ---------- */
.hx-era { margin-top: var(--sp-8); }             /* + .oxford: the water-lining rule above each era */
.hx-filtered > .hx-filter + [data-filter-list] .hx-era:first-of-type { margin-top: var(--sp-7); }
.hx-era-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 4px var(--sp-4); }
.hx-era-no {
  min-width: 1.2em; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem); line-height: 0.8;
  color: var(--gold-ink); font-variant-numeric: lining-nums; text-align: center;
}
.hx-era-head .sec-kicker { color: var(--text-muted); margin-bottom: 4px; }
.hx-era-head h2 { font-size: var(--fs-xl); line-height: var(--lh-head); }
.hx-intro { margin-top: var(--sp-3); max-width: var(--measure); color: var(--text-muted); }
.hx-intro a { font-weight: var(--wght-ui); }
.hx-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--sp-4); margin-top: var(--sp-2); font-size: var(--fs-sm); }
.hx-sitelink { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: var(--wght-strong); }
.hx-sitelink .i { width: 16px; height: 16px; }
.hx-walk { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); color: var(--text-muted); }
.hx-walk > .i { flex: none; width: 16px; height: 16px; color: var(--magenta); }

/* ---------- the timeline: a coastline, a landmark where it happened ---------- */
ol.timeline.hx-tl {
  --when-w: 0px; --line-x: 7px;
  margin-top: var(--sp-6);
  background:
    linear-gradient(var(--rule-ink) 0 0) var(--line-x) 0 / 2px 100% no-repeat,
    linear-gradient(var(--water-line) 0 0) calc(var(--line-x) - 5px) 0 / 1px 100% no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 60%, transparent) 0 0) calc(var(--line-x) - 9px) 0 / 1px 100% no-repeat;
}
ol.timeline.hx-tl > li.hx-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 0 0 var(--sp-7) calc(var(--line-x) + 26px); }
ol.timeline.hx-tl > li.hx-item:last-child { padding-bottom: var(--sp-3); }
ol.timeline.hx-tl > li.hx-item::before {    /* a plain sounding-free dot: it happened here, but no place to visit */
  left: calc(var(--line-x) - 6px); top: 0.55em; width: 14px; height: 14px; border: 2px solid var(--rule-ink); background: var(--bg);
}
ol.timeline.hx-tl > li.hx-item.is-at::before {   /* the landmark: a circle with a center dot, in the sheet's ink */
  left: calc(var(--line-x) - 8px); top: 0.4em; width: 18px; height: 18px; border: 2px solid var(--ink-edge);
  background: radial-gradient(circle, var(--ink-fill) 0 3px, var(--bg) 3.5px);
  box-shadow: 0 0 0 3px var(--bg);
}
.hx-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.hx-item .tl-year { font-family: var(--font-display); font-weight: 800; font-size: 1.625rem; line-height: 1.05; color: var(--text); font-variant-numeric: lining-nums; }
.hx-day {
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted);
}
.hx-approx { color: var(--text-faint); }
@media (min-width: 760px) { .hx-when .hx-approx:first-child { margin-bottom: -2px; } }
.tl-year .era-sfx { margin-left: 0.18em; font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); vertical-align: 0.35em; color: var(--text-muted); }
.hx-body { min-width: 0; max-width: 46rem; }
.hx-item .tl-title { margin-top: 2px; font-size: var(--fs-lg); line-height: var(--lh-snug); }
.hx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; font-size: var(--fs-xs); color: var(--text-muted); }
.hx-meta a { color: var(--text-muted); display: inline-flex; align-items: center; min-height: 24px; }
.hx-item .tl-text { margin-top: 10px; max-width: var(--measure); }
.hx-item .tl-places { display: flex; align-items: flex-start; gap: 8px; margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text); }
.hx-item .tl-places::before {                  /* the landmark symbol, drawn */
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border: 2px solid var(--ink-text); border-radius: 50%;
  background: radial-gradient(circle, var(--ink-text) 0 2px, transparent 2.5px);
}
.hx-item .tl-places .label { margin-right: 4px; color: var(--text-muted); }
.hx-item .tl-places a { font-weight: var(--wght-strong); }
.hx-item .source-line { margin-top: var(--sp-3); }
.hx-fig { max-width: 440px; margin: var(--sp-4) 0 0; }
.hx-fig img { border: 1px solid var(--border); }
.hx-fig.is-tall { max-width: 280px; }              /* a portrait image never fills a phone screen */
.hx-fig figcaption a { display: inline-block; padding: 14px 0; margin: -14px 0; }   /* 44px targets, same layout */
@media (min-width: 760px) {
  ol.timeline.hx-tl { --when-w: 124px; --line-x: 140px; }
  ol.timeline.hx-tl > li.hx-item { grid-template-columns: var(--when-w) minmax(0, 1fr); column-gap: 42px; padding-left: 0; }
  .hx-when { display: grid; justify-items: end; align-content: start; gap: 4px; padding-top: 2px; text-align: right; }
  .hx-item .tl-year { font-size: 2rem; }
  ol.timeline.hx-tl > li.hx-item::before { top: 0.7em; }
  ol.timeline.hx-tl > li.hx-item.is-at::before { top: 0.6em; }
  .hx-item.has-fig .hx-body { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 280px); column-gap: var(--sp-5); align-items: start; }
  .hx-item.has-fig .hx-body > * { grid-column: 1; }
  .hx-item.has-fig .hx-fig { grid-column: 2; grid-row: 1 / span 6; margin-top: 4px; }
}

/* ---------- historic sites: the landmarks, then the register ---------- */
.hx-sites { margin-top: var(--sp-9); }
.hx-sites .sec-head .sec-kicker .i { width: 16px; height: 16px; }
.hx-lms { margin-top: var(--sp-5); }
.hx-lm-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card.hx-lm { display: flex; flex-direction: column; padding: 0; border-top: 3px double var(--gold-ink); }
.card.hx-lm > .plate-type, .card.hx-lm > .photo { margin: 6px 6px 0; }
.hx-lm .card-title { font-size: var(--fs-md); line-height: var(--lh-snug); }
.hx-lm .card-title a { color: var(--text); }
.hx-lm-des {
  display: flex; align-items: center; gap: 8px; width: fit-content; padding: 4px 10px; background: var(--gold-tint); color: var(--text);
  font-size: var(--fs-xs); font-weight: var(--wght-strong);
}
.hx-lm-des::before { content: ""; flex: none; width: 12px; height: 12px; border: 2px solid var(--gold-ink); border-radius: 50%; background: radial-gradient(circle, var(--gold-ink) 0 1.5px, transparent 2px); }
.hx-credit { font-size: var(--fs-xs); color: var(--text-faint); position: relative; z-index: 2; }
.hx-credit a { color: var(--text-muted); }
.hx-lm-src { position: relative; z-index: 2; margin-top: 2px; }
.hx-reg-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px var(--sp-3); margin-top: var(--sp-8); }
.hx-reg-h .result-count { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: var(--wght-ui); }
.hs-sheet { margin-top: var(--sp-6); }
.hs-sheet-h {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 0; font-size: var(--fs-lg); color: var(--ink-text);
  border-bottom: 2px solid var(--ink-edge);
}
.hs-sheet-h > a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); text-decoration: none; }
.hs-sheet-h > a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.hs-n { margin-left: auto; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: var(--wght-ui); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hs-area { margin-top: var(--sp-4); }
.hs-area-h {
  display: flex; align-items: center; gap: 10px; padding: 4px 0; border-bottom: 1px solid var(--border);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase;
}
.hs-area-h a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); text-decoration: none; }
.hs-area-h a:hover { text-decoration: underline; }
.hs-area-h .hs-n { font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: var(--track-label); }
.hs-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); column-gap: var(--sp-5); }
.hs-item {
  position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto var(--tap); align-items: start; column-gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.hs-sym { display: grid; place-items: center; width: 26px; height: 26px; margin-top: 2px; color: var(--ink-text); }
.hs-sym .i { width: 20px; height: 20px; }
.hs-item:not(.is-stay)::before {          /* the landmark symbol, drawn: a circle with a center dot */
  content: ""; justify-self: center; width: 18px; height: 18px; margin-top: 5px; border: 2px solid var(--ink-text); border-radius: 50%;
  background: radial-gradient(circle, var(--ink-text) 0 2px, transparent 2.5px);
}
.hs-body { min-width: 0; }
.hs-kicker { color: var(--text-muted); margin: 0; }
.hs-name { margin-top: 3px; font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); line-height: var(--lh-snug); }
.hs-name a { color: var(--text); text-decoration: none; }
.hs-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
.hs-name .badge { vertical-align: 0.15em; margin-left: 4px; }
.hs-meta { margin-top: 4px; font-size: var(--fs-xs); color: var(--text-muted); }
.hs-des { margin: 8px 0 0; gap: 4px; }
.hs-des li { padding: 5px 9px; font-size: var(--fs-xs); gap: 8px; }
.hs-des li::before { width: 12px; height: 12px; margin-top: 1px; }
.hs-des li.is-nhl { box-shadow: inset 3px 0 0 var(--gold-ink); }
.hs-des-none { margin-top: 6px; font-size: var(--fs-xs); }
.hs-src { margin-top: 6px; font-size: var(--fs-xs); color: var(--text-faint); }
.hs-src a { color: var(--text-muted); }
.hs-year {
  padding-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; line-height: 1; color: var(--text-muted);
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.hs-item > .star { margin-top: -4px; }
@media (max-width: 559px) {
  .hs-item { grid-template-columns: 22px minmax(0, 1fr) var(--tap); column-gap: 10px; }
  .hs-year { display: none; }
  .hs-item > span:empty { display: none; }
}

/* ---------- walk the history, how it is made ---------- */
.hx-walks { list-style: none; padding: 2px 0 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); column-gap: var(--sp-5); background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat; }
.hx-walks li { border-bottom: 1px solid var(--border); }
.hx-walks a { display: flex; align-items: center; gap: 12px; min-height: var(--tap); padding: 10px 0; color: var(--text); text-decoration: none; }
.hx-walks .t { display: block; font-weight: var(--wght-strong); }
.hx-walks .w { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
.hx-walks a:hover .t { text-decoration: underline; text-underline-offset: 0.16em; }
.hx-how p { color: var(--text-muted); }
/* ---- 64-passages.css ---- */
/* ======================================================================
   site/css/64-passages.css · OWNER: the History lane (history-and-passages) · passages.html
   The index of passages by sheet (numbered like a chart's list of courses); each passage under a water-lining
   rule: its kicker (sheet mark, "Passage 3 of 14"), a Bodoni title, the lede as a Bodoni-italic dek, the
   computed stats on a double rule, "Star all" in the house ink; then the course: a chart (sticky beside the
   list on wide screens, above it on phones) with numbered magenta course markers and a dashed magenta course
   line, and ol.stops (the design's magenta course, 21-records.css) with each stop's facts, its source, and the
   straight-line leg to the next stop. Magenta is the chart's note color: courses only.
   Tokens only; no color literal; nothing under 12px; 44px targets on phones.
   ====================================================================== */

/* ---------- the index ---------- */
.rt-top { margin-top: var(--sp-6); }
.rt-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: var(--sp-5) var(--sp-6); }
.rt-index-g { min-width: 0; }
.rt-index-h {
  display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--ink-edge);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-text); line-height: 1.3;
}
.rt-index-h > span { color: var(--text); }
.rt-index-list { list-style: none; margin: 0; padding: 0; }
.rt-index-list li { border-bottom: 1px solid var(--border); }
.rt-index-list a { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 10px; min-height: var(--tap); padding: 10px 0; color: var(--text); text-decoration: none; }
.rt-index-no {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--magenta-ink);
  border: 2px solid var(--magenta); font-family: var(--font-label); font-size: var(--fs-label); font-weight: 780; font-variant-numeric: tabular-nums;
}
.rt-index-t { min-width: 0; }
.rt-index-t .t { display: block; font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); line-height: var(--lh-snug); }
.rt-index-t .w { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.rt-index-list a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
.rt-top .callout { margin-top: var(--sp-7); max-width: 72ch; }

/* ---------- a passage ---------- */
.passage { margin-top: var(--sp-9); }   /* + .oxford: the water-lining rule above each passage */
.rt-head { max-width: 58rem; }
.rt-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 var(--sp-2); color: var(--ink-text); }
.rt-kicker > span { color: var(--text-muted); }
.rt-head h2 { font-size: var(--fs-xl); line-height: var(--lh-head); }
.rt-lede {
  margin-top: var(--sp-3); max-width: 60ch; font-family: var(--font-display); font-style: italic; font-weight: 520;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); line-height: var(--lh-snug); color: var(--text-muted);
}
.rt-lede-src { margin-top: var(--sp-2); font-size: var(--fs-xs); }
.rt-stats {
  display: flex; flex-wrap: wrap; gap: 1px; margin: var(--sp-4) 0 0; padding-top: 6px;
  background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat;
}
.rt-stats > div { flex: 1 1 130px; min-width: 0; padding: 9px 12px 10px 0; }
.rt-stats > div + div { padding-left: 12px; border-left: 1px solid var(--border); }
.rt-stats dt {
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted);
}
.rt-stats dd { margin: 4px 0 0; font-size: var(--fs-sm); font-weight: var(--wght-strong); font-variant-numeric: tabular-nums; }
.rt-acts { margin-top: var(--sp-4); }
.rt-acts .btn .i { margin-right: 6px; }
.rt-acts [data-star-all][aria-pressed="true"] .i { fill: currentColor; }

/* ---------- the course: a chart beside the list (above it on phones) ---------- */
.rt-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); margin-top: var(--sp-6); }
.rt-map { min-width: 0; }
.rt-map .mini-map { margin: 4px; aspect-ratio: var(--map-ratio, 4 / 3); max-height: 70vh; }
.rt-map-note { display: flex; align-items: flex-start; gap: 8px; margin: var(--sp-3) 4px 0; font-size: var(--fs-xs); color: var(--text-muted); }
.rt-map-note .i { flex: none; width: 16px; height: 16px; color: var(--magenta); }
.rt-attrib { margin: 6px 4px 0 28px; font-size: var(--fs-xs); color: var(--text-faint); line-height: 1.45; }
.rt-attrib a { color: var(--text-muted); }
@media (min-width: 560px) and (max-width: 1099px) {   /* a tablet: the chart need not fill the column */
  .rt-map { max-width: 560px; }
}
@media (min-width: 1100px) {
  .rt-grid:not(.no-map) { grid-template-columns: minmax(0, 1fr) minmax(320px, 42%); column-gap: var(--sp-7); align-items: start; }
  .rt-grid:not(.no-map) > .rt-map { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--topbar-h) + var(--sp-4)); }
  .rt-grid:not(.no-map) > .rt-stops { grid-column: 1; grid-row: 1; }
  .rt-map .mini-map { max-height: calc(100vh - var(--topbar-h) - 120px); }
}
/* the course line, drawn in the chart's own units under the markers */
.rt-course-case { stroke: var(--map-pin-bg); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; opacity: 0.85; }
.rt-course { stroke: var(--magenta); stroke-width: 2.5; stroke-dasharray: 8 6; stroke-linejoin: round; stroke-linecap: round; }
/* the course markers: numbered magenta rings, centered on the point */
.rt-map .pin-course > span {
  display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 12px;
  background: var(--map-pin-bg); color: var(--magenta-ink); border: 2px solid var(--magenta); box-shadow: 0 0 0 2px var(--map-pin-bg), var(--shadow-1);
  font-family: var(--font-label); font-stretch: 100%; font-size: var(--fs-label); font-weight: 780; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.rt-map .pin-course.is-group { z-index: 2; }
.rt-map .pin-course.is-group > span { background: var(--magenta-tint); }

/* ---------- the stops ---------- */
ol.stops.rt-stops { margin: 0; background-position: 13px 18px; }
ol.stops.rt-stops > li.rt-stop { padding: 6px 0 0 48px; }
ol.stops.rt-stops > li.rt-stop::before { top: 6px; width: 30px; height: 30px; }
.rt-stop-head { display: grid; grid-template-columns: minmax(0, 1fr) var(--tap); align-items: start; gap: 8px; }
.rt-stop-t { min-width: 0; }
.rt-stop .card-kicker { gap: 4px 8px; }
.rt-stop .card-kicker > span:not(.sheet-badge) { color: var(--text-muted); }
.rt-name { margin-top: 4px; font-size: var(--fs-md); line-height: var(--lh-snug); }
.rt-name a { display: inline-block; padding: 11px 0; margin: -11px 0; color: var(--text); text-decoration: none; }   /* a 44px target, same layout */
.rt-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
.rt-name .badge { vertical-align: 0.15em; margin-left: 4px; }
.rt-note { margin-top: 8px; max-width: var(--measure); }
.rt-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 12px; margin: 10px 0 0; font-size: var(--fs-xs); line-height: 1.45; }
.rt-facts > div { display: contents; }
.rt-facts dt {
  padding-top: 1px; font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label);
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted);
}
.rt-facts dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rt-heads, .rt-series, .rt-noll { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: var(--fs-xs); line-height: 1.45; max-width: var(--measure); }
.rt-heads { padding: 8px 10px; background: var(--warning-tint); color: var(--text); border-left: 3px solid var(--warning-edge); }
.rt-heads .label { margin-right: 4px; color: var(--warning); }
.rt-heads > .i, .rt-series > .i { flex: none; width: 15px; height: 15px; margin-top: 1px; }
.rt-heads > .i { color: var(--warning); }
.rt-series { color: var(--text-muted); }
.rt-series a { font-weight: var(--wght-strong); }
.rt-stop .source-line { margin-top: 8px; }
.rt-leg {
  display: flex; align-items: center; gap: 8px; margin: var(--sp-4) 0 0 -48px; padding: 8px 0 var(--sp-5) 48px; min-height: var(--tap);
  font-size: var(--fs-xs); color: var(--magenta-ink); font-variant-numeric: tabular-nums;
}
.rt-leg > .i { flex: none; width: 18px; height: 18px; margin-left: -43px; margin-right: 25px; padding: 1px; color: var(--magenta); background: var(--bg); }
.rt-leg b { font-weight: var(--wght-strong); }
.rt-est { color: var(--text-muted); }
.rt-leg .unk { font-size: inherit; }
ol.stops.rt-stops > li.rt-stop:last-child { padding-bottom: var(--sp-2); }
.rt-where { display: flex; align-items: flex-start; gap: 8px; margin-top: var(--sp-6); padding-top: var(--sp-3); border-top: 1px solid var(--border); font-size: var(--fs-sm); line-height: 1.6; max-width: 72ch; }
.rt-where > .i { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--text-muted); }
.rt-where .label { margin-right: 6px; color: var(--text-muted); }
.rt-where-sep { color: var(--text-faint); }
.rt-foot { display: flex; align-items: flex-start; gap: 8px; margin-top: var(--sp-5); font-size: var(--fs-xs); color: var(--text-muted); max-width: 72ch; }
.rt-foot .i { flex: none; width: 15px; height: 15px; margin-top: 1px; }
@media (max-width: 559px) {
  ol.stops.rt-stops > li.rt-stop { padding-left: 42px; }
  .rt-leg { margin-left: -42px; padding-left: 42px; }
  .rt-leg > .i { margin-left: -37px; margin-right: 19px; }
  .rt-stats > div { flex-basis: 45%; }
  .rt-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
/* a stop's sources can be several pages: the icon keeps to its column, the hosts and "Checked" wrap beside it */
.rt-stop .source-line { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 2px 8px; align-items: baseline; }
.rt-stop .source-line > .i { grid-row: 1; align-self: start; margin-top: 1px; }
.rt-stop .source-line > span { grid-column: 2; overflow-wrap: anywhere; }
/* ---- 70-stay.css ---- */
/* ======================================================================
   site/css/70-stay.css · OWNER: the Stay lane (experiences-eat-stay)
   stay.html: the jump line, "Closed for now" (the warn box with every closed stay and its note), "Choosing
   an area" (one table per sheet; under 700px each row is two compact lines, not the generic stacked card),
   the feature chips ("Has all of"), sheet and area heads of the list, the Map pane (the chart box of
   50-map.css) and its cluster legend mark.
   stays/<id>.html: the Add to My Trip button with its two words, the two-column top (plate, quote, facts |
   map and directions), the feature list, what's on nearby (date boxes, 30-day folds), the walking-distance
   columns, timeline rows and the closing source line.
   Tokens only; no color literal; nothing under 12px.
   ====================================================================== */

/* ---------- stay.html ---------- */
.stay-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px var(--sp-4); margin: var(--sp-5) 0 0; }
.stay-jump a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.stay-jump .i { width: 16px; height: 16px; }

.stay-closures { margin-top: var(--sp-6); }
.stay-closures .sec-kicker .i { width: 15px; height: 15px; color: var(--warning); }
.stay-closures-box { max-width: none; margin-top: 0; }
.stay-closures-box > p { max-width: 80ch; }
.stay-note-rows { margin-top: var(--sp-3); background: none; padding-top: 0; }
.stay-note-rows li.row { border-bottom-color: var(--warning-edge); }
.stay-note-rows li.row > p { color: var(--text); font-size: var(--fs-sm); max-width: 84ch; padding-bottom: 4px; }
.stay-note-rows .badge { flex: none; }
.stay-noted { margin-top: var(--sp-3); }
.stay-noted > summary { display: flex; align-items: center; gap: 8px; min-height: var(--tap); cursor: pointer; list-style: none; font-weight: var(--wght-strong); font-size: var(--fs-sm); }
.stay-noted > summary::-webkit-details-marker { display: none; }
.stay-noted > summary .i { flex: none; transition: transform var(--speed) var(--ease); }
.stay-noted[open] > summary .i { transform: rotate(180deg); }

/* choosing an area */
.choose-intro { max-width: var(--measure); color: var(--text-muted); }
.choose-legend { display: flex; flex-wrap: wrap; gap: 4px var(--sp-5); margin: var(--sp-3) 0 0; font-size: var(--fs-xs); color: var(--text-muted); }
.choose-legend b, .ch-code { font-family: var(--font-label); font-stretch: var(--label-stretch); font-weight: 780; letter-spacing: var(--track-label); color: var(--text); }
.choose-grid { display: grid; gap: var(--sp-7); margin-top: var(--sp-6); }
.choose-h { display: flex; align-items: center; gap: 12px; font-size: var(--fs-lg); }
.choose-h > span { display: grid; gap: 2px; }
.choose-n { color: var(--ink-text); }
.choose-tot { margin-top: 6px; font-size: var(--fs-sm); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.choose-table { margin-top: var(--sp-2); }
.choose-table tbody th { font-size: var(--fs-base); font-family: var(--font-body); font-weight: var(--wght-strong); line-height: 1.35; }
.choose-table tbody th a { color: var(--text); }
.choose-table td { font-variant-numeric: tabular-nums; }
.choose-table .ch-n a { display: inline-flex; align-items: center; justify-content: flex-end; min-width: 44px; min-height: 32px; font-weight: var(--wght-strong); }
.choose-table .ch-n b { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); font-variant-numeric: lining-nums tabular-nums; }
.ch-closed { display: block; font-size: var(--fs-xs); color: var(--warning); font-weight: var(--wght-strong); white-space: nowrap; }
.ch-kinds { color: var(--text-muted); max-width: 46ch; }
.ch-beach b { font-weight: var(--wght-strong); }
.ch-w { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ch-air { white-space: nowrap; }
.choose-none { margin-top: var(--sp-2); font-size: var(--fs-xs); }
@media (max-width: 699px) {
  /* each area: "Name ……… 13" / its kinds / "0 beachfront · Nearest airport TPA 5.1 mi" (not the generic stacked card) */
  table.data.choose-table tbody { padding-top: 4px; }
  table.data.choose-table tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 8px 0 10px; border-bottom: 1px solid var(--border); }
  table.data.choose-table tbody th { flex: 1 1 55%; min-width: 0; padding: 0; border: 0; }
  table.data.choose-table td { display: block; padding: 0; border: 0; }
  table.data.choose-table td::before { content: none; }
  table.data.choose-table td.ch-n { margin-left: auto; text-align: right; }
  table.data.choose-table td.ch-kinds { flex-basis: 100%; max-width: none; font-size: var(--fs-xs); }
  table.data.choose-table td.ch-beach, table.data.choose-table td.ch-air { font-size: var(--fs-xs); color: var(--text-muted); text-align: left; }
  table.data.choose-table .ch-n a { min-height: var(--tap); gap: 4px; align-items: baseline; padding-top: 8px; }
  table.data.choose-table .ch-n .ch-w { font-size: var(--fs-xs); font-weight: var(--wght-ui); }
  table.data.choose-table tbody th a { display: inline-flex; align-items: center; min-height: var(--tap); }
  .ch-w { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  table.data.choose-table td.ch-air::before { content: "Nearest airport "; display: inline; padding: 0; font-family: var(--font-body); font-stretch: normal; font-size: var(--fs-xs); font-weight: var(--wght-body); letter-spacing: 0; text-transform: none; color: var(--text-muted); }
}
@media (pointer: coarse) { .choose-table .ch-n a { min-height: var(--tap); } }

/* the list: feature chips, sheet and area heads, the grid */
.stay-feats { display: grid; gap: var(--sp-2); margin: 0 0 var(--sp-3); }
.stay-feats-l { color: var(--text-muted); }
.stay-feats-more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); cursor: pointer; list-style: none; font-size: var(--fs-sm); font-weight: var(--wght-strong); color: var(--link); }
.stay-feats-more > summary::-webkit-details-marker { display: none; }
.stay-feats-more > summary .i { width: 15px; height: 15px; }
.stay-feats-more[open] > summary .i { transform: rotate(45deg); }
.stay-list-sec { scroll-margin-top: calc(var(--topbar-h) + var(--sp-2)); }
.stay-sheet { margin-top: var(--sp-8); scroll-margin-top: calc(var(--topbar-h) + var(--sp-4)); }
.stay-sheet:first-child { margin-top: var(--sp-4); }
.stay-sheet-h {
  display: flex; align-items: center; gap: 14px; font-size: var(--fs-xl); line-height: var(--lh-head);
}
.stay-sheet-h > span { display: grid; gap: 4px; }
.stay-sheet-h .label { color: var(--ink-text); font-family: var(--font-label); }
.stay-area { margin-top: var(--sp-6); scroll-margin-top: calc(var(--topbar-h) + var(--sp-3)); }
.stay-area-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 6px; border-bottom: 1px solid var(--rule-ink); font-size: var(--fs-lg); }
.stay-area-h a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); text-decoration: none; }
.stay-area-h a:hover { text-decoration: underline; text-underline-offset: 0.14em; }
.stay-area-h .faint { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: var(--wght-ui); }
.stay-grid { margin-top: var(--sp-4); }
.card.stay[data-compact] .card-brand { color: var(--text); font-weight: var(--wght-strong); }
.card.stay[data-st="temporarily-closed"] .card-sum, .card.stay[data-st="opening-soon"] .card-sum { -webkit-line-clamp: 2; line-clamp: 2; }

/* the map pane */
.stay-map .map-view { aspect-ratio: 16 / 10; max-height: 76vh; }
@media (max-width: 699px) { .stay-map .map-view { aspect-ratio: 4 / 5; } }
.stay-map .map-bar p { display: inline-flex; align-items: center; gap: 6px; }
.stay-map .map-bar .i { width: 16px; height: 16px; }
.stay-map .map-bar-acts { font-size: var(--fs-xs); padding-right: 8px; }
.stay-map .map-card h3 a { color: var(--text); }
.map-attrib-t { margin-left: auto; font-size: var(--fs-label); }
.lg-cluster { width: 16px; height: 16px; border-radius: 50%; background: var(--map-cluster-bg); box-shadow: 0 0 0 1px var(--map-cluster-bg), 0 0 0 2px var(--map-cluster-ring); }
.stay-map-off { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- stays/<id>.html ---------- */
.trip-btn .tb-on { display: none; }
.trip-btn[aria-pressed="true"] .tb-on { display: inline; }
.trip-btn[aria-pressed="true"] .tb-off { display: none; }
.trip-btn[aria-pressed="true"] .i { fill: currentColor; }
.stay-head-meta { margin-top: var(--sp-3); color: var(--text-muted); }

.stay-top { display: grid; gap: var(--sp-6); margin-top: var(--sp-6); align-items: start; }
@media (min-width: 1000px) { .stay-top { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); } }
.stay-main > * + * { margin-top: var(--sp-5); }
.stay-main > .callout { margin-bottom: 0; }
.stay-plate { display: grid; }
.stay-photo { margin: 0; }
.stay-glance .sub-h, .stay-where .sub-h { display: flex; align-items: center; gap: 8px; }
.stay-glance .sub-h .i, .stay-where .sub-h .i { width: 18px; height: 18px; color: var(--text-muted); }
.feat-list { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; padding: 0; margin: 0; }
.feat-list li { padding: 1px 8px; border: 1px solid var(--border-strong); background: var(--surface); font-size: var(--fs-xs); line-height: 1.6; }
.fact-note { display: block; margin-top: 4px; font-size: var(--fs-xs); color: var(--text-faint); }
.stay-side { position: sticky; top: calc(var(--topbar-h) + var(--sp-4)); }
@media (max-width: 999px) { .stay-side { position: static; } }
.stay-where .mini-map { margin: 4px 4px var(--sp-3); }
.stay-addr { font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.stay-dir { margin-top: var(--sp-3); gap: var(--sp-2); }
.stay-geo { margin-top: var(--sp-2); font-size: var(--fs-xs); }

/* what's on nearby: a tide-table of date boxes */
.nx-when { display: block; margin-top: 4px; font-family: var(--font-display); font-style: italic; font-weight: 520; font-size: var(--fs-md); color: var(--text-muted); }
.nx-count { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.nx-list { list-style: none; padding: 2px 0 0; margin: 0; background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat; }
.nx-row { border-bottom: 1px solid var(--border); }
.nx-row > a { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 14px; align-items: start; min-height: var(--tap); padding: 10px 0; color: var(--text); text-decoration: none; }
.nx-row > a:hover .t { text-decoration: underline; text-underline-offset: 0.16em; }
.nx-date { width: 60px; padding: 6px 0 7px; }
.nx-date .d { font-size: 1.75rem; }
.nx-body { display: grid; gap: 2px; min-width: 0; }
.nx-body .t { font-weight: var(--wght-strong); line-height: 1.35; }
.nx-body .w { font-size: var(--fs-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.nx-body .nx-d { color: var(--text-faint); }
.nx-body .badge { justify-self: start; margin-top: 2px; }
.nx-more { margin-top: var(--sp-2); }
.nx-more > summary { display: flex; align-items: center; gap: 8px; min-height: var(--tap); cursor: pointer; list-style: none; font-weight: var(--wght-strong); font-size: var(--fs-sm); color: var(--link); }
.nx-more > summary::-webkit-details-marker { display: none; }
.nx-more > summary .i { flex: none; transition: transform var(--speed) var(--ease); }
.nx-more[open] > summary .i { transform: rotate(180deg); }
.nx-more[hidden] { display: none; }
.nx-all { margin-top: var(--sp-3); }
.nx-all a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: var(--wght-strong); font-size: var(--fs-sm); }
.nx-all .i { width: 16px; height: 16px; }

/* within walking distance */
.near-cols { display: grid; gap: var(--sp-5) var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
.near-col .sub-h { display: flex; align-items: center; gap: 8px; margin-top: 0; }
.near-col .sub-h .i { width: 18px; height: 18px; color: var(--text-muted); }
.near-note { margin-top: var(--sp-4); font-size: var(--fs-xs); }
.stay-tl .stay-tl-y { flex: none; min-width: 56px; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); line-height: 1.2; color: var(--ink-text); font-variant-numeric: lining-nums; }
.stay-tl li.row > a { align-items: flex-start; }
.stay-src { margin-top: var(--sp-7); }
.stay-note-h { display: flex; align-items: baseline; gap: 8px; margin-top: var(--sp-4); font-size: var(--fs-md); }
.stay-note-h .n { font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); color: var(--text-muted); }
.fact-sheet { display: block; margin-top: 6px; }
@media (max-width: 559px) { .stay-main .plate-type.lg { aspect-ratio: 16 / 10; padding: 20px 24px 30px; gap: 8px; } }

/* ---------- review pass (2026-09-27) ---------- */
/* a status badge beside a row keeps its own width (li.row > span would stretch it onto a line of its own) */
:root[data-page^="stays/"] li.row > .badge { flex: none; }
/* feature chips: a count of 0 means selecting it would leave nothing: said by the number, drawn dashed */
.stay-feats .chip.is-zero { border-style: dashed; color: var(--text-faint); }
.stay-map-more { margin-top: var(--sp-2); }
.stay-map-more a, .stay-around a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.stay-map-more .i, .stay-around .i { width: 16px; height: 16px; flex: none; }
.stay-around { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
/* "Where it is": beside the text on a mid-width screen (a full-width map there is taller than the screen) */
@media (min-width: 640px) and (max-width: 999px) {
  .stay-where { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 var(--sp-5); align-items: start; }
  .stay-where > .sub-h { grid-column: 1 / -1; }
  .stay-where .mini-map { margin-top: 4px; }
}
.stay-where-t > :first-child { margin-top: 0; }
a.fact-sheet { display: flex; width: fit-content; align-items: center; min-height: var(--tap); margin-top: 0; text-decoration: none; }
a.fact-sheet:hover .sheet-badge { text-decoration: underline; }
.stay-tl .stay-tl-d { color: var(--text); font-weight: var(--wght-ui); }
.near-far-h { display: flex; align-items: center; gap: 8px; margin-top: var(--sp-4); }
.near-far-h .i { width: 18px; height: 18px; color: var(--text-muted); }
/* ---- 72-areas.css ---- */
/* ======================================================================
   site/css/72-areas.css · OWNER: the Areas lane (with the Map lane)
   areas.html (sheet sections, each with its index chart and numbered area cards) and areas/<id>.html (the head's
   "known for" line and actions, the area chart beside the at-a-glance facts, numbered rows with a one-line summary,
   What's on here, nearby areas with straight-line distances, honest empty notes). Tokens only; nothing under 12px.
   ====================================================================== */

/* ---------- areas.html ---------- */
.ar-filter { display: grid; gap: var(--sp-2); margin: var(--sp-5) 0 0; }
.ar-filter .chip-row { gap: 6px; }
.ar-sheet-head { align-items: center; }
.ar-sheet-head .sec-kicker .bullet { margin-right: 2px; }
.ar-sheet-counts { flex-basis: 100%; margin: 0; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.ar-index { margin: 0 0 var(--sp-5); }
.ar-index .mini-map { margin: 4px; width: min(calc(100% - 8px), 900px, calc(72vh * var(--map-ar, 1.6))); }
.ar-index figcaption { margin-top: var(--sp-2); font-size: var(--fs-xs); }
.ar-grid { gap: var(--sp-4); }
.ar-grid .card.area { scroll-margin-top: calc(var(--topbar-h) + var(--sp-4)); }
/* the area's number on its sheet's index chart: the same numbered buoy as on the chart */
.card-no {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 5px 4px 0; margin-right: 4px;
  border: 2px solid var(--ink-edge); border-radius: 11px 11px 3px 3px; color: var(--text);
  background: linear-gradient(var(--ink-fill) 0 0) 0 0 / 100% 5px no-repeat, var(--map-pin-bg);
  font-family: var(--font-label); font-stretch: 100%; font-size: var(--fs-label); font-weight: 780; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums;
}
.card.area .card-known { color: var(--text); }
.card.area { border-top: 3px solid var(--ink-fill); }

/* ---------- areas/<id>.html: the head ---------- */
.ar-known { max-width: 62ch; margin: var(--sp-4) auto 0; font-size: var(--fs-sm); color: var(--text); line-height: 1.55; }
.ar-known .label { display: block; margin-bottom: 4px; color: var(--ink-text); }
.ar-known .sep { color: var(--text-faint); }
.page-head .head-actions { margin-top: var(--sp-4); }
.page-head .head-actions .btn .bullet { width: 30px; height: 18px; margin-left: -4px; }

/* the chart beside the facts */
.ar-top { display: grid; gap: var(--sp-5); margin-top: var(--sp-6); align-items: start; }
@media (min-width: 900px) { .ar-top { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.ar-chart { margin: 0; }
.ar-chart .mini-map { margin: 4px; }
.ar-chart figcaption { margin-top: var(--sp-2); font-size: var(--fs-xs); }
.ar-top .facts { margin: 0; }
.ar-top .fact dd a.ar-n { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); line-height: 1; text-decoration: none; font-variant-numeric: lining-nums; }
.ar-top .fact dd a.ar-n:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.ar-nochart { padding: var(--sp-3); border: 1px dashed var(--border-strong); }

/* ---------- rows: a numbered buoy (or the chart symbol), name, kind, star, one line of summary ---------- */
.ar-row { align-items: center; }
.ar-row > .map-mk { display: grid; flex: none; align-self: flex-start; min-height: 0; height: 26px; min-width: 26px; margin-top: 9px; }
.ar-row > .map-mk.mk-sym { width: 26px; }
.ar-row > a { flex: 1 1 240px; }
.ar-row > a > span { display: grid; gap: 2px; min-width: 0; }
.ar-row .w .badge { margin-left: 4px; vertical-align: 1px; }
.ar-row .seal { margin: 2px 0; min-height: 22px; padding: 2px 10px 2px 8px; }
.ar-row .star { margin-left: auto; }
.ar-row > .ar-sum { flex-basis: 100%; margin: -4px 0 4px; padding-left: calc(26px + var(--sp-3)); font-size: var(--fs-sm); color: var(--text-muted); max-width: calc(var(--measure) + 40px); }
.ar-rows + .sub-h { margin-top: var(--sp-6); }
.ar-more { margin-top: var(--sp-2); }
.ar-more > summary { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); color: var(--link); font-weight: var(--wght-strong); cursor: pointer; list-style: none; }
.ar-more > summary::-webkit-details-marker { display: none; }
.ar-more > summary::after { content: "+"; }
.ar-more[open] > summary::after { content: "–"; }
.ar-link { margin-top: var(--sp-3); font-size: var(--fs-sm); }
.ar-link a { display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); font-weight: var(--wght-strong); }
.ar-link .i { width: 16px; height: 16px; }
.ar-none { max-width: var(--measure); padding: var(--sp-3) var(--sp-4); border-left: var(--rule-mid) dashed var(--border-strong); color: var(--text-muted); font-size: var(--fs-sm); }
.ar-none + .ar-rows { margin-top: var(--sp-3); }
.ar-none a { font-weight: var(--wght-strong); }

/* what's on here */
.ar-evcount { margin: 0 0 var(--sp-2); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.ar-evcount:empty { display: none; }
.ar-tonight li[hidden] { display: none; }
.ar-tonight a { grid-template-columns: 74px minmax(0, 1fr); }
@media (max-width: 399px) { .ar-tonight a { grid-template-columns: 64px minmax(0, 1fr); } }
.ar-evmore[hidden] { display: none; }
.ar-tonight .w .badge { margin-left: 4px; }
.ar-tonight [data-status]:not(:empty) { margin-left: 4px; font-weight: var(--wght-strong); color: var(--accent-strong); }
.ar-series, .ar-also { max-width: var(--measure); margin-top: var(--sp-4); font-size: var(--fs-sm); line-height: 1.7; }
.ar-series .label, .ar-also .label { display: block; color: var(--text-muted); }
.ar-series a, .ar-also a { font-weight: var(--wght-strong); }

/* nearby areas: straight-line distances */
.ar-near .ar-dist { flex: none; margin-left: auto; font-family: var(--font-label); font-size: var(--fs-label); font-weight: 700; color: var(--text-muted); }
.ar-near .bullet { flex: none; }
.ar-note { margin-top: var(--sp-2); font-size: var(--fs-xs); }
/* the live area chart (features/map.js mounts it over the static crop) */
.ar-live .map-box { padding: 0; border: 0; background: none; }
.ar-live .map-box > * { border-left: 0; border-right: 0; }
.ar-live .map-box > :first-child { border-top: 0; }
.ar-live .map-view { aspect-ratio: 4 / 3; max-height: 70vh; border: 1px solid var(--grat-ink); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--grat-ink); margin: 4px; width: auto; }
.ar-live .map-legend { display: none; }   /* the figure's caption carries the attribution line */
.ar-live .map-rose { display: none; }
.ar-live .map-card { right: 64px; }
.fig-attrib { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.fig-attrib a { color: inherit; }
.ar-live .map-note { display: none; }
/* a tall index chart (a coast of beach towns) stands beside its cards on wide screens */
@media (min-width: 1100px) {
  .ar-sheet.has-tall { display: grid; grid-template-columns: minmax(260px, 36%) minmax(0, 1fr); gap: 0 var(--sp-5); align-items: start; }
  .ar-sheet.has-tall > .sec-head { grid-column: 1 / -1; }
  .ar-sheet.has-tall > .ar-index { position: sticky; top: calc(var(--topbar-h) + var(--sp-4)); margin: 0; }
  .ar-sheet.has-tall > .ar-index .mini-map { width: min(calc(100% - 8px), calc((100vh - var(--topbar-h) - 150px) * var(--map-ar, 0.7))); }
  .ar-sheet.has-tall .ar-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
}
/* ---- 74-place.css ---- */
/* ======================================================================
   site/css/74-place.css · OWNER: the Explore lane (explore-and-places)
   places/<id>.html: the head's meta line (sheet badge · kind · area · status · seal) and the labeled star, the top
   (photo or plate beside "At a glance"), the notes (status, their words), "Where it is" (mini map beside the
   address and the map links), "What's on here" (date boxes, live words), the timeline entries, "Nearby" in two
   columns, the source block. The heritage block's look is 21-records.css (.heritage, .designations).
   Tokens only; no color literal.
   ====================================================================== */

/* ---------- head ---------- */
.pl-head .lede { max-width: 62ch; }
.pl-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--text-muted); }
.pl-meta .sheet-badge { font-weight: var(--wght-strong); }
.pl-kind { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: var(--wght-strong); }
.pl-kind .sym { width: 18px; height: 18px; color: var(--ink-text); }
.pl-area { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: var(--wght-strong); }
@media (min-width: 1024px) { .pl-area { min-height: 28px; } }
.pl-sep { color: var(--border-strong); }
.pl-head .head-actions { margin-top: var(--sp-3); gap: var(--sp-3); }
/* the star with its words: "Add to My Trip" / "In My Trip" (the core keeps aria-pressed and the aria-label) */
.star.pl-star { width: auto; gap: 8px; padding: 0 16px 0 12px; border: 2px solid var(--accent); background: var(--surface); color: var(--accent-strong); font-size: var(--fs-sm); font-weight: var(--wght-strong); display: inline-flex; }
.star.pl-star:hover { background: var(--accent-tint); color: var(--accent-strong); }
.star.pl-star[aria-pressed="true"] { background: var(--accent); color: var(--accent-contrast); }
.pl-star .pl-star-l::before { content: "Add to My Trip"; }
.pl-star[aria-pressed="true"] .pl-star-l::before { content: "In My Trip"; }

/* ---------- top: the picture (or plate) beside "At a glance" ---------- */
.pl-top { display: grid; gap: var(--sp-5) var(--sp-6); align-items: start; scroll-margin-top: calc(var(--topbar-h) + var(--sp-4)); }
@media (min-width: 1000px) { .pl-top { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.pl-media .photo-fig { margin: 0; }
.pl-plate .plate-type { margin: 0; }
.pl-plate-note { margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--text-faint); }
.pl-glance .sub-h { margin-top: 0; }
.pl-glance .facts { margin-top: var(--sp-2); }
.pl-glance .fact { flex-basis: 200px; }
.pl-glance .fact .faint { font-size: var(--fs-xs); }
.pl-notes { margin-top: var(--sp-5); display: grid; gap: 0 var(--sp-5); }
.pl-notes .callout { margin: var(--sp-5) 0 0; }
@media (min-width: 1000px) { .pl-notes:has(> .callout + .callout) { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- sections ---------- */
.pl-sec { margin-top: var(--sp-8); }
.pl-note { max-width: 70ch; margin: calc(-1 * var(--sp-2)) 0 var(--sp-4); font-size: var(--fs-sm); color: var(--text-muted); }
.pl-sec li.row > .badge, .pl-sec li.row > .card-status { flex: none; }
.pl-empty { margin-top: var(--sp-2); }

/* ---------- where it is ---------- */
.pl-where { display: grid; gap: var(--sp-4) var(--sp-6); align-items: start; }
@media (min-width: 900px) { .pl-where { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.pl-where.is-off { grid-template-columns: minmax(0, 1fr); }
.pl-map .mini-map { margin: 4px; }
.pl-map .coord-line, .pl-map .mini-map-none { margin: 0; }
.pl-where-t { display: grid; gap: var(--sp-2); }
.pl-addr { font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); line-height: var(--lh-snug); }
.pl-in { font-size: var(--fs-sm); color: var(--text-muted); }
.pl-in a { font-weight: var(--wght-strong); }
.pl-links { margin-top: var(--sp-2); gap: var(--sp-2); }
.pl-geo { font-size: var(--fs-xs); max-width: 60ch; }
.pl-geo .badge { margin-right: 4px; }

/* ---------- what's on here: date boxes, live words ---------- */
.pl-evs { list-style: none; padding: 2px 0 0; margin: 0; background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat; }
.pl-ev { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 4px var(--sp-4); align-items: start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.pl-ev-b { display: grid; gap: 3px; min-width: 0; }
.pl-ev-k { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--text-muted); }
.pl-ev-k .badge { font-size: var(--fs-label); }
.pl-ev-st:empty { display: none; }
.pl-ev-st { color: var(--text); }
.pl-ev[data-status="live"] .pl-ev-st, .pl-ev[data-status="soon"] .pl-ev-st { color: var(--live-ink); background: var(--live-tint); padding: 2px 6px; }
.pl-ev[data-status="started"] .pl-ev-st { color: var(--soon); }
.pl-ev-t { font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); line-height: var(--lh-snug); color: var(--text); text-decoration: none; min-height: 24px; }
.pl-ev-t:hover { text-decoration: underline; text-underline-offset: 0.14em; }
.pl-ev:has(.pl-ev-t:hover) { background: var(--surface-alt); }
.pl-ev .badge, .pl-ev .star { position: relative; z-index: 2; }
.pl-ev-w { font-size: var(--fs-xs); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.pl-ev .star { margin-top: -4px; }
.pl-ev[data-status="past"] { opacity: 0.72; }
.pl-evs-more { margin-top: var(--sp-3); }
.pl-series { margin-top: var(--sp-2); }
.pl-series li.row > a .i { width: 20px; height: 20px; color: var(--text-muted); flex: none; }
@media (max-width: 559px) { .pl-ev { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 4px 12px; } .pl-ev .datebox { width: 52px; } }

/* ---------- timeline entries here ---------- */
.pl-tl { margin-top: var(--sp-2); }
.pl-tl .tl-title a { color: var(--text); text-decoration: none; }
.pl-tl .tl-title a:hover { text-decoration: underline; text-underline-offset: 0.14em; }
.pl-tl > li:last-child { padding-bottom: var(--sp-2); }

/* ---------- nearby: places and stays, straight-line distances ---------- */
.pl-near { display: grid; gap: var(--sp-5) var(--sp-6); }
@media (min-width: 900px) { .pl-near:has(> .pl-near-col + .pl-near-col) { grid-template-columns: 1fr 1fr; } }
.pl-near-col .sub-h { margin-top: 0; }

/* ---------- source ---------- */
.pl-source { margin-top: var(--sp-8); }
.pl-source .source-line { margin-top: var(--sp-2); }
.pl-fix { margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--text-faint); }
.pl-fix a { color: var(--text-muted); }

/* ---------- rows with a chart symbol and a distance (nearby, departures) ---------- */
.pl-near-row > a { gap: 12px; }
.pl-near-row > a > .sym { width: 20px; height: 20px; flex: none; color: var(--ink-text); }
.pl-near-row > a > span:not(.pl-d) { flex: 1; min-width: 0; }
.pl-d { flex: none; margin-left: auto; padding-left: var(--sp-3); font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- sources: each page named by its address ---------- */
.pl-src { display: grid; gap: 6px; margin: var(--sp-3) 0 0; font-size: var(--fs-sm); }
.pl-src > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px var(--sp-3); align-items: baseline; }
.pl-src dt { color: var(--text-faint); }
.pl-src dd { overflow-wrap: anywhere; }
.pl-src a { color: var(--text-muted); }
@media (max-width: 459px) { .pl-src > div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* the plate beside the facts: taller than 3:2 so a long name never clips */
@media (min-width: 1000px) { .pl-plate .plate-type.lg { aspect-ratio: 5 / 4; } .pl-plate .plate-type.lg .pt-name { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); } }
.pl-meta.pl-state { margin-top: var(--sp-2); }
.pl-glance .fact .badge { white-space: normal; line-height: 1.2; }
.pl-evs-past { margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--text-faint); }
.pl-tl > li:has(.stretched:hover) .tl-title a { text-decoration: underline; text-underline-offset: 0.14em; }
.pl-tl .tl-places { position: relative; }
/* the head's meta items: set apart by space and their own styles (badge, symbol, link), so a wrapped line never dangles a dot */
.pl-mi { display: inline-flex; align-items: center; }
.pl-head .pl-meta { gap: 4px 18px; }
/* long source addresses break anywhere rather than push the page wider */
.pl-page .source-line, .pl-page .source-line > span, .pl-src dd { overflow-wrap: anywhere; min-width: 0; }
.pl-photo figcaption p { margin: 0; }
.pl-photo img { border: 1px solid var(--border); }

/* ---------- review pass (2026-09-27) ---------- */
/* source notes (the record's and the heritage block's): the info mark in its own column, every line beside it */
.pl-page .source-line { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 8px; row-gap: 2px; align-items: start; }
.pl-page .source-line > .i { grid-row: 1; margin-top: 2px; align-self: start; }
.pl-page .source-line > span { grid-column: 2; }
/* an unknown address is a note, not a headline */
.pl-addr .unk { font-family: var(--font-body); font-weight: var(--wght-body); font-size: var(--fs-base); }
/* keep exploring: filtered lists, each with its count */
.pl-more li.row > a { gap: 12px; }
.pl-more li.row > a > .sym { width: 20px; height: 20px; flex: none; color: var(--text-muted); }
.pl-more li.row > a > .t { flex: 1; min-width: 0; font-weight: var(--wght-ui); }
.pl-more li.row > a > .t b { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); font-variant-numeric: lining-nums tabular-nums; margin-right: 2px; }
.pl-more li.row > a > .go { width: 18px; height: 18px; flex: none; color: var(--text-muted); }
.pl-more li.row > a:hover > .go { color: var(--link); }
@media (min-width: 900px) { .pl-more { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--sp-6); } }
/* ---- 76-visit.css ---- */
/* ======================================================================
   site/css/76-visit.css · OWNER: the Visit lane (getting-around.html, when-to-visit.html)
   Every class here carries the lane's prefix, so no other partial's global rules leak in (and ours never leak out):
     vz-   shared: .vz-lede (a section's one-line intro), .vz-q (questions printed on these pages; details.faq is styled
           in 86-faq.css), .vz-srcn ("(5 pages)" in a source line)
     vs-   fact tiles: .vs-stats > .vs-stat (.vs-v value: .vs-n the figure in Bodoni numerals + .vs-u the rest; .vs-l label;
           .vs-a as of; the source line)
     ga-   getting around: .ga-index (the section tiles), .ga-notes (Free to ride / Not running), .ga-qh (a section's questions)
     tx-   one transport record, <article class="tx" id="t-<id>">: .tx-main (kicker, title, operator, status words, summary,
           facts, airport connections), .tx-side (stops: .tx-line numbered in the operator's numbering, or .tx-list; the stop
           map .tx-map), .tx-foot (sheets served, links, source line); .is-wide spans the grid with the stops beside the text
     wv-   when to visit: .wv-clims > .wv-clim (small multiples on one °F scale, HTML marks: .wv-bar low→high, .wv-rain,
           .wv-dot + .wv-line, .wv-band; hover a month for .wv-tip), .wv-table, .wv-hz (the hurricane-season strip),
           .wv-yrs > .wv-yr (month cards)
   Charts follow the dataviz rules: one scale, thin marks with 4px rounded ends, a 2px line, dots with a 2px surface ring,
   hairline solid grid, text in text tokens (never the data ink), extremes labeled, every value in the table.
   Tokens only; no color literal; nothing under 12px; 44px targets on phones.
   ====================================================================== */

/* ---------- shared ---------- */
.vz-lede { max-width: 66ch; margin: calc(-1 * var(--sp-2)) 0 var(--sp-5); color: var(--text-muted); }
.sec-head .vz-ic { width: 16px; height: 16px; }
.vs-stats {
  display: flex; flex-wrap: wrap; gap: 1px; margin: var(--sp-4) 0 var(--sp-6); padding-top: 6px;
  background:
    linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat,
    linear-gradient(var(--border) 0 0) 0 6px / 100% calc(100% - 6px) no-repeat;
  border-bottom: 1px solid var(--rule-ink);
}
.vs-stat { flex: 1 1 210px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 12px; background: var(--bg); }
.vs-v { margin: 0; line-height: 1.05; }
.vs-n { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.45rem + 1vw, 2.375rem); font-variant-numeric: lining-nums; letter-spacing: 0; color: var(--text); }
.vs-n.vs-long { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.15; }
.vs-u { font-size: var(--fs-sm); font-weight: var(--wght-strong); color: var(--text-muted); }
.vs-l { font-size: var(--fs-sm); line-height: 1.4; color: var(--text); }
.vs-a { font-size: var(--fs-xs); color: var(--text-faint); }
.vs-stat .source-line { margin-top: auto; padding-top: 8px; border-top: 0; }
:is(.tx, .wv-yr) .vs-stat { background: var(--surface); }
@media (max-width: 559px) {
  .vs-stat { flex-basis: 150px; padding: 12px 12px 10px; }
  .vs-n { font-size: 1.625rem; }
  .vs-n.vs-long { font-size: 1.1875rem; }
  .vs-stat .source-line { font-size: var(--fs-xs); }
}
.vz-q { margin-top: var(--sp-3); }
.vz-qmore { margin-top: var(--sp-3); font-size: var(--fs-sm); }
.vz-qmore a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: var(--wght-strong); }
.vz-qmore .i { width: 16px; height: 16px; }

/* ---------- getting around: the section tiles ---------- */
.ga-index { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin: 0 0 var(--sp-5); }
.ga-tile {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic t" "ic n" "ic names"; gap: 2px 14px; align-content: start;
  min-height: var(--tap); padding: 14px 16px; border: 1px solid var(--border); border-top: 2px solid var(--rule-ink);
  background: var(--surface); color: var(--text); text-decoration: none;
}
.ga-tile > .i { grid-area: ic; width: 28px; height: 28px; margin-top: 2px; color: var(--text-muted); }
.ga-t { grid-area: t; font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); line-height: var(--lh-snug); }
.ga-n { grid-area: n; color: var(--text-faint); }
.ga-names { grid-area: names; margin-top: 4px; font-size: var(--fs-xs); line-height: 1.4; color: var(--text-muted); }
.ga-tile:hover { border-color: var(--border-strong); color: var(--text); }
.ga-tile:hover .ga-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
@media (max-width: 559px) {
  .ga-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
  .ga-tile { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ic" "t" "n"; padding: 12px; }
  .ga-tile > .i { width: 22px; height: 22px; }
  .ga-t { font-size: var(--fs-base); }
  .ga-names { display: none; }
}
.ga-notes { display: grid; gap: 0 var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.ga-notes .callout { max-width: none; }
.ga-free { list-style: none; padding: 0; margin-top: var(--sp-2); }
.ga-free li { padding: 4px 0; border-top: 1px solid var(--border); font-size: var(--fs-sm); }
.ga-free a { font-weight: var(--wght-strong); }
.ga-fares-h { margin-top: var(--sp-6); }
/* how to read the stop maps + the map credit (SPEC §7), once above the first map */
.ga-mapnote { display: flex; align-items: flex-start; gap: 10px; max-width: 90ch; margin: 0 0 var(--sp-5); font-size: var(--fs-xs); line-height: 1.5; color: var(--text-muted); }
.ga-mapnote .i { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--text-faint); }
.ga-mapnote a { color: var(--text-muted); }
.ga-qh { display: flex; align-items: center; gap: 8px; margin-top: var(--sp-6); }
.ga-qh .i { width: 16px; height: 16px; }
.ga-allq { margin-top: var(--sp-6); }

/* ---------- getting around: one transport record ---------- */
.tx-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); align-items: start; }
.tx {
  position: relative; display: grid; gap: var(--sp-4) var(--sp-6); min-width: 0; padding: 18px 20px 14px;
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--ink-fill);
  scroll-margin-top: calc(var(--topbar-h) + var(--sp-4));
}
.tx.is-wide { grid-column: 1 / -1; }
/* one column (tablets): the stops and their map side by side, so a 4:3 map never fills the card's whole width */
@media (min-width: 560px) and (max-width: 899px) {
  .tx.is-wide > .tx-side:has(> .tx-stops-b + .mini-map) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .tx.is-wide > .tx-side > .mini-map:only-child { max-width: 440px; }
}
@media (min-width: 900px) {
  .tx.is-wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "main side" "foot side"; grid-template-rows: auto 1fr; }
  .tx.is-wide > .tx-main { grid-area: main; } .tx.is-wide > .tx-side { grid-area: side; } .tx.is-wide > .tx-foot { grid-area: foot; align-self: start; }
}
.tx:target { outline: 3px solid var(--focus); outline-offset: 3px; }
.tx-main, .tx-side { min-width: 0; }
.tx-side { display: grid; gap: var(--sp-4); align-content: start; }
.tx-top { display: flex; align-items: flex-start; gap: 14px; }
.tx-hd { min-width: 0; flex: 1; }
.tx-kicker { display: flex; align-items: center; gap: 7px; color: var(--ink-text); }
.tx-kicker .i { width: 17px; height: 17px; }
.tx-title { margin-top: 5px; font-size: var(--fs-lg); line-height: var(--lh-snug); }
.tx-op { margin-top: 3px; font-size: var(--fs-sm); color: var(--text-muted); }
.tx-code {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-width: 84px; padding: 10px 10px 8px; background: var(--primary); color: var(--primary-contrast);
  box-shadow: inset 0 0 0 3px var(--primary), inset 0 0 0 4px var(--primary-contrast);
}
.tx-code-v { font-family: var(--font-label); font-stretch: var(--label-stretch-wide); font-weight: 800; font-size: 1.625rem; line-height: 1; letter-spacing: 0.06em; }
.tx-code-l { font-size: var(--fs-label); letter-spacing: var(--track-label); opacity: 0.92; }
.tx-status { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-3); }
.tx-sum { margin-top: var(--sp-3); max-width: 70ch; font-size: 0.9375rem; line-height: 1.55; }
.tx .facts { margin: var(--sp-4) 0 var(--sp-3); }
.tx .fact { background: var(--surface); }
.tx-foot { min-width: 0; }
.tx-foot > :first-child { margin-top: 0; }
.vz-srcn { color: var(--text-faint); }
.tx-sheets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: var(--sp-3); font-size: var(--fs-sm); }
a.tx-sheet { display: inline-flex; align-items: center; text-decoration: none; }
a.tx-sheet:hover .sheet-badge { text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 699px) { a.tx-sheet { min-height: var(--tap); } .tx-sheets { gap: 0 14px; } }
.tx-acts { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.tx .source-line { margin-top: var(--sp-3); }
.tx-h { margin-bottom: 8px; color: var(--text-muted); }
.tx-note { margin-top: 6px; font-size: var(--fs-xs); color: var(--text-faint); }
.tx-conn { margin-top: var(--sp-4); }
.tx-conn ul { list-style: none; padding: 0; border-top: 1px solid var(--border); }
.tx-conn li { border-bottom: 1px solid var(--border); }
.tx-conn a { display: flex; align-items: center; gap: 12px; min-height: var(--tap); padding: 6px 0; color: var(--text); text-decoration: none; font-size: var(--fs-sm); }
.tx-conn a .i { color: var(--text-muted); }
.tx-conn a b { font-weight: var(--wght-strong); }
.tx-conn a:hover b { text-decoration: underline; text-underline-offset: 0.16em; }
.tx-sa { display: block; font-size: var(--fs-xs); line-height: 1.4; color: var(--text-faint); }

/* the stops: a line (routes) with numbered stations on it, or a numbered list (lots, terminals) */
ol.tx-line, ol.tx-list { list-style: none; padding: 0; margin: 0; }
ol.tx-line > li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 38px; padding: 4px 0; }
ol.tx-line > li::before { content: ""; position: absolute; left: 13.5px; top: 0; bottom: 0; width: 3px; background: var(--ink-fill); }
ol.tx-line > li:first-child::before { top: 19px; }
ol.tx-line > li:last-child::before { bottom: calc(100% - 19px); }
.tx-n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--ink-fill); color: var(--text);
  font-family: var(--font-label); font-weight: 800; font-size: var(--fs-label); font-variant-numeric: tabular-nums; line-height: 1;
}
ol.tx-line > li:not(.on) .tx-n, ol.tx-list > li:not(.on) .tx-n { border-style: dashed; }
.tx-s { min-width: 0; padding-top: 5px; font-size: var(--fs-sm); line-height: 1.35; }
.tx-s a { font-weight: var(--wght-strong); }
ol.tx-list { border-top: 1px solid var(--border); }
ol.tx-list > li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 0; border-bottom: 1px solid var(--border); }
ol.tx-list .tx-n { width: 26px; height: 26px; border-width: 2px; border-radius: var(--radius-md); }
ol.tx-list .tx-s { padding-top: 3px; }
@media (max-width: 699px) {
  ol.tx-line > li { min-height: var(--tap); }
  .tx-s a { display: block; padding: 14px 0; margin: -14px 0; }   /* a 44px tap height without spreading the list */
}
.tx-map { border: 1px solid var(--border-strong); }
.tx-side > .mini-map, .tx-side > .coord-line, .tx-side > .mini-map-none { margin: 0; }

/* ---------- when to visit: the climate small multiples ----------
   Positions come from the build as custom properties in style="" (numbers only, never a color): --b/--t a bar's low and
   high (percent of the plot), --at a label, tick or dot, --h a rain column, --a/--b the season band, --d a month's days. */
.wv-clim, .wv-hz { --at: 0%; --b: 0%; --t: 0%; --h: 0%; --a: 0%; --d: 30; }
.wv-clims { display: grid; gap: var(--sp-4); grid-template-columns: minmax(0, 1fr); margin: var(--sp-2) 0 var(--sp-5); }
@media (min-width: 760px) { .wv-clims { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wv-clims > .wv-gulf:nth-child(odd) { grid-column: 1 / -1; } }
.wv-clim { container-type: inline-size; min-width: 0; margin: 0; padding: 14px 14px 12px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--ink-fill); }
.wv-cap { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.wv-t { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); line-height: 1.2; }
.wv-t b { font-weight: inherit; }
.wv-s { font-size: var(--fs-xs); line-height: 1.4; color: var(--text-muted); }
.wv-body { --ct-h: 176px; --cr-h: 54px; --gap-h: 24px; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 6px; }
.wv-ax { position: relative; height: calc(var(--ct-h) + var(--gap-h) + var(--cr-h)); color: var(--text-faint); }
.wv-gulf .wv-ax { height: var(--ct-h); }
.wv-axt, .wv-axr { position: absolute; left: 0; right: 0; }
.wv-axt { top: 0; height: var(--ct-h); }
.wv-axr { top: calc(var(--ct-h) + var(--gap-h)); height: var(--cr-h); }
.wv-axt > span, .wv-axr > span {
  position: absolute; right: 0; bottom: var(--at); transform: translateY(50%);
  font-family: var(--font-label); font-size: var(--fs-label); font-variant-numeric: tabular-nums; line-height: 1;
}
.wv-plot { position: relative; min-width: 0; }
.wv-grid { position: absolute; left: 0; right: 0; top: 0; height: var(--ct-h); pointer-events: none; }
.wv-grid > i { position: absolute; left: 0; right: 0; bottom: var(--at); height: 1px; background: var(--border); }
ol.wv-cols { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.wv-c { position: relative; display: grid; grid-template-rows: var(--ct-h) var(--cr-h) auto; row-gap: var(--gap-h); }
.wv-gulf .wv-c { grid-template-rows: var(--ct-h) auto; }
.wv-c:hover { background: color-mix(in srgb, var(--surface-alt) 70%, transparent); }
.wv-ct, .wv-cr { position: relative; }
.wv-cr { border-bottom: 1px solid var(--border-strong); }
.wv-bar { position: absolute; left: 50%; width: min(12px, 56%); transform: translateX(-50%); bottom: var(--b); top: calc(100% - var(--t)); border-radius: 4px; background: var(--ink-fill); }
.wv-rain { position: absolute; left: 50%; bottom: 0; width: min(10px, 48%); height: var(--h); transform: translateX(-50%); border-radius: 3px 3px 0 0; background: var(--text-muted); }
.wv-dot { position: absolute; z-index: 2; left: 50%; bottom: var(--at); width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, 50%); background: var(--ink-fill); box-shadow: 0 0 0 2px var(--surface); }
.wv-line { position: absolute; left: 0; top: 0; width: 100%; height: var(--ct-h); overflow: visible; pointer-events: none; }
.wv-line polyline { fill: none; stroke: var(--ink-fill); stroke-width: 2px; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.wv-band { position: absolute; left: 0; right: 0; bottom: var(--b); top: calc(100% - var(--t)); background: var(--ink-tint); }
.wv-cv {
  position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 0 2px; background: var(--surface);
  font-family: var(--font-label); font-weight: 700; font-size: var(--fs-label); font-variant-numeric: tabular-nums; line-height: 1.1; color: var(--text);
}
.wv-cv-hi, .wv-cv-r { bottom: calc(var(--at) + 4px); }
.wv-cv-lo { top: calc(100% - var(--at) + 4px); }
.wv-cv-g { bottom: calc(var(--at) + 9px); }
.wv-cm { padding-top: 5px; text-align: center; color: var(--text-faint); font-family: var(--font-label); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; }
.wv-m1 { display: none; }
@container (max-width: 440px) { .wv-cm .wv-m3 { display: none; } .wv-cm .wv-m1 { display: inline; } }
.wv-na { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); writing-mode: vertical-rl; font-size: var(--fs-label); color: var(--text-faint); }
.wv-tip {
  display: none; position: absolute; z-index: 4; left: 50%; top: -6px; transform: translate(-50%, -100%);
  width: max-content; max-width: 190px; padding: 7px 10px; background: var(--primary); color: var(--primary-contrast);
  font-size: var(--fs-xs); line-height: 1.4; box-shadow: var(--shadow-2); pointer-events: none;
}
.wv-tip b { display: block; font-weight: var(--wght-strong); }
.wv-c:nth-child(-n+3) .wv-tip { left: 0; transform: translate(0, -100%); }
.wv-c:nth-last-child(-n+3) .wv-tip { left: auto; right: 0; transform: translate(0, -100%); }
.wv-c:hover .wv-tip { display: block; }
.wv-leg { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: var(--fs-xs); line-height: 1.4; color: var(--text-muted); }
.wv-kband { flex: none; width: 18px; height: 12px; margin-top: 2px; background: var(--ink-tint); box-shadow: inset 0 0 0 1px var(--ink-edge); }
.wv-table caption { max-width: 70ch; }
.wv-tnote { display: none; font-size: var(--fs-sm); color: var(--text-muted); }
@media (max-width: 699px) { .wv-tablewrap { display: none; } .wv-tnote { display: block; } }   /* the month cards carry every value */
.wv-table td.num, .wv-table th.num { white-space: nowrap; }
.wv-table td:last-child { white-space: normal; min-width: 5.5em; }   /* "64°F (17.7°C)" may break at its space */
@media (min-width: 700px) {
  .wv-table th:nth-child(4), .wv-table td:nth-child(4), .wv-table th:nth-child(7), .wv-table td:nth-child(7) { border-right: 1px solid var(--border); }
}

/* ---------- when to visit: the hurricane-season strip ---------- */
.wv-hz { margin: var(--sp-3) 0 var(--sp-5); }
.wv-hz-chart { position: relative; padding-bottom: 28px; }
.wv-hz-m { list-style: none; display: flex; padding: 0; margin: 0; border: 1px solid var(--border-strong); background: var(--surface); }
.wv-hz-m li {
  flex: var(--d) 1 0; min-width: 0; padding: 9px 0; text-align: center; border-left: 1px solid var(--border); color: var(--text-faint);
  font-family: var(--font-label); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2;
}
.wv-hz-m li:first-child { border-left: 0; }
.wv-hz-m li.in { color: var(--text); background: var(--warning-tint); }
.wv-hz-m .wv-m1 { display: none; }
@media (max-width: 599px) { .wv-hz-m .wv-m3 { display: none; } .wv-hz-m .wv-m1 { display: inline; } }
.wv-hz-band { position: absolute; left: var(--a); width: calc(var(--b) - var(--a)); bottom: 8px; height: 12px; border-radius: 2px; background: var(--warning); }
.wv-hz-pk { position: absolute; left: var(--at); bottom: 0; height: 26px; width: 3px; transform: translateX(-50%); background: var(--text); box-shadow: 0 0 0 2px var(--bg); }
.wv-hz-leg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 10px; font-size: var(--fs-sm); }
.wv-hz-leg > span { display: inline-flex; align-items: center; gap: 8px; }
.wv-hz-leg i { display: inline-block; flex: none; }
.wv-kseason { width: 22px; height: 12px; border-radius: 2px; background: var(--warning); }
.wv-kpeak { width: 3px; height: 16px; background: var(--text); }

/* ---------- when to visit: the seasons strip (one labeled row per date-range fact; the band is the mark, the words carry it) ---------- */
.wv-sz { margin: 0 0 var(--sp-6); padding: 14px 16px 12px; background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--rule-ink); }
.wv-sz > figcaption { margin-bottom: 10px; color: var(--text-muted); }
.wv-sz-row { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border); }
.wv-sz-head { border-top: 0; padding: 0 0 4px; }
.wv-sz-l { font-size: var(--fs-sm); line-height: 1.35; }
.wv-sz-l b { display: block; font-weight: var(--wght-strong); }
.wv-sz-l span { color: var(--text-muted); font-size: var(--fs-xs); }
.wv-sz-m { list-style: none; display: flex; padding: 0; margin: 0; }
.wv-sz-m li { flex: var(--d) 1 0; min-width: 0; text-align: center; color: var(--text-faint); font-family: var(--font-label); font-size: var(--fs-label); font-weight: var(--wght-label); text-transform: uppercase; letter-spacing: 0.04em; border-left: 1px solid var(--border); }
.wv-sz-m li:first-child { border-left: 0; }
.wv-sz-m .wv-m1 { display: none; }
.wv-sz-track { position: relative; height: 14px; background: var(--surface-alt); border-radius: 2px; }
.wv-sz-band { position: absolute; top: 0; bottom: 0; left: var(--a); width: calc(var(--b) - var(--a)); border-radius: 2px; background: var(--text-muted); }
.wv-sz-row.is-storm .wv-sz-band { background: var(--warning); }
@media (max-width: 599px) {
  .wv-sz-row { grid-template-columns: minmax(0, 1fr); }
  .wv-sz-head > span { display: none; }
  .wv-sz-m .wv-m3 { display: none; } .wv-sz-m .wv-m1 { display: inline; }
}
.wv-sz { --a: 0%; --b: 0%; --d: 30; }

/* ---------- when to visit: the year at a glance ---------- */
.wv-yrs { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); align-items: start; }
.wv-yr {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px 16px 6px;
  background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--rule-ink);
  scroll-margin-top: calc(var(--topbar-h) + var(--sp-4));
}
.wv-yr[data-storm="1"] { border-top: 3px solid var(--warning); }
.wv-yr-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.wv-yr-h h3 { font-size: var(--fs-lg); line-height: 1.1; }
.wv-yr-wx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; padding: 10px 0; margin: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.wv-yr-wx dt { color: var(--text-faint); }
.wv-yr-wx dd { margin: 2px 0 0; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.wv-yr-sub { color: var(--text-muted); }
.wv-yr-list { list-style: none; padding: 0; margin: 0; }
.wv-yr-list li { padding: 4px 0; font-size: var(--fs-sm); line-height: 1.35; }
.wv-yr-list a { font-weight: var(--wght-strong); }
.wv-yr-a { display: block; font-size: var(--fs-xs); color: var(--text-faint); }
.wv-yr-more > summary { display: flex; align-items: center; gap: 6px; min-height: var(--tap); cursor: pointer; list-style: none; color: var(--link); font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.wv-yr-more > summary::-webkit-details-marker { display: none; }
.wv-yr-more > summary::after { content: "+"; }
.wv-yr-more[open] > summary::after { content: "–"; }
.wv-yr-ev { margin-top: auto; border-top: 1px solid var(--border); font-size: var(--fs-sm); }
.wv-yr-ev a { display: flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: var(--wght-strong); }
.wv-yr-ev a + a { border-top: 1px solid var(--border); }
.wv-yr-ev .i { width: 16px; height: 16px; margin-left: auto; }
.wv-yr-ev .unk { padding: 10px 0; font-size: var(--fs-xs); }

/* review pass: the date a "Not running" word was read, beside the badge */
.tx-asof { align-self: center; font-size: var(--fs-xs); color: var(--text-faint); }
/* ---- 80-dialogs.css ---- */
/* ======================================================================
   site/css/80-dialogs.css · OWNER: the design system ("Chart & Label", design/DESIGN.md)
   The one modal component (the panel opens under the label's double rule; dialogs are never framed: the frame
   belongs to the page head), the search palette (⌘K), the bottom sheet (filters, map selection) and switches.
   Tokens only; no color literal.
   ====================================================================== */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: var(--scrim); }
.modal-panel {
  position: absolute; left: 50%; top: 6vh; transform: translateX(-50%);
  width: min(760px, calc(100vw - 2 * var(--gutter))); max-height: 88vh; overflow: auto; overscroll-behavior: contain;
  background: var(--surface); box-shadow: var(--shadow-3); border: 1px solid var(--border-strong);
}
.modal-head {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: var(--sp-2); min-height: 56px; padding: 10px 8px 6px var(--sp-4);
  background:
    linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat,
    var(--surface);
  border-bottom: 1px solid var(--border);
}
.modal-head .icon-btn { margin-left: auto; }
.modal-body { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
@media (max-width: 699px) {
  .modal-panel { top: auto; bottom: 0; left: 0; right: 0; transform: none; width: 100%; max-height: 92dvh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: 0; }
  .modal-body { padding: var(--sp-4) var(--sp-4) calc(var(--sp-5) + env(safe-area-inset-bottom)); }
}

/* ---------- search palette (⌘K, Ctrl+K, /) ---------- */
.search-modal .modal-panel { width: min(640px, calc(100vw - 2 * var(--gutter))); top: 10vh; max-height: min(76vh, 640px); display: flex; flex-direction: column; overflow: hidden; }
@media (max-width: 699px) { .search-modal .modal-panel { top: 0; bottom: auto; left: 0; right: 0; transform: none; width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; } }
.search-field {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px 0 16px;
  background: linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat;
  border-bottom: var(--rule-mid) solid var(--rule-ink);
}
.search-field > .i { color: var(--text-muted); }
.search-field input { flex: 1; min-width: 0; min-height: 56px; border: 0; background: transparent; font-size: 1.125rem; outline: none; }
.search-field input::placeholder { color: var(--text-faint); opacity: 1; }
.search-results { flex: 1; overflow: auto; padding: 4px 0 var(--sp-2); }
.sr-group { display: flex; justify-content: space-between; gap: var(--sp-3); padding: 14px 16px 6px; color: var(--text-faint); font-size: var(--fs-sm); }
.sr-group.label { font-size: var(--fs-label); }
.sr-hit { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; min-height: 52px; padding: 6px 16px; color: var(--text); text-decoration: none; cursor: pointer; }
.sr-hit > .i:first-child, .sr-hit > .bullet:first-child { justify-self: center; }
.sr-hit > .i:first-child { color: var(--text-muted); }
.sr-hit > .i:last-child { width: 16px; height: 16px; color: var(--text-faint); }
.sr-hit .t { display: block; font-weight: var(--wght-strong); line-height: 1.3; }
.sr-hit .m { display: block; font-size: var(--fs-xs); color: var(--text-faint); font-variant-numeric: tabular-nums; }
.sr-hit mark { background: var(--accent-tint); color: var(--text); padding: 0 1px; }
.sr-hit[aria-selected="true"], .sr-hit:hover { background: var(--surface-alt); box-shadow: inset 3px 0 0 var(--accent); }
.sr-hit[aria-selected="true"] > .i:last-child { color: var(--accent-strong); }
.sr-all { display: flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 16px 0 68px; font-size: var(--fs-sm); font-weight: var(--wght-strong); }
.sr-all .i { width: 16px; height: 16px; }
.search-foot { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 8px 16px; border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--text-faint); }
@media (max-width: 699px) { .search-foot { display: none; } }

/* ---------- the bottom sheet (phones) / side panel (≥ 1024px): filters, map selection, share ---------- */
.sheet .modal-panel {
  top: auto; bottom: 0; left: 0; right: 0; transform: none; width: 100%; max-height: 86dvh;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; display: flex; flex-direction: column;
}
.sheet .grip { width: 44px; height: 4px; margin: 8px auto 0; border-radius: 2px; background: var(--border-strong); }
@media (min-width: 1024px) {
  .sheet .modal-panel { top: 0; left: auto; right: 0; bottom: 0; width: 420px; max-height: none; border-radius: 0; }
  .sheet .grip { display: none; }
}
.sheet-body { flex: 1; overflow: auto; padding: var(--sp-2) var(--sp-4) var(--sp-4); }
.sheet fieldset { border: 0; padding: 0; margin: var(--sp-4) 0 0; }
.sheet legend { padding: 0; margin-bottom: var(--sp-2); color: var(--text-muted); }
.sheet-foot { display: flex; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4) calc(var(--sp-3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface); }
.sheet-foot .btn-primary { flex: 1; }
.sheet-h { font-size: var(--fs-lg); }
.sheet-h:focus { outline: none; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: var(--tap); font-size: var(--fs-sm); }
.switch [role="switch"] { position: relative; width: 48px; height: 28px; flex: none; border-radius: var(--radius-pill); background: var(--surface-sunken); border: 2px solid var(--border-strong); }
.switch [role="switch"]::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--text-muted); transition: transform var(--speed) var(--ease); }
.switch [role="switch"][aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.switch [role="switch"][aria-checked="true"]::after { transform: translateX(20px); background: var(--accent-contrast); }
/* ---- 81-event-dialog.css ---- */
/* ======================================================================
   site/css/81-event-dialog.css · OWNER: the design system ("Chart & Label", design/DESIGN.md)
   The event dialog (#event-dialog, ?e=) and the experience dialog (#experience-dialog, ?x=), both rendered by the
   client (site/js/core/event-dialog.js, experience-dialog.js) inside .modal-body.evd / .evd.xd: kind line, the
   title in Bodoni, when (ET) with its state word, where, our summary, the source's words (Bodoni italic, with
   "From <host>"), facts, the mini map and directions, the source line, the actions (Add to My Trip in the house
   ink). The modal frame is .modal in 80-dialogs.css. Tokens only; no color literal.
   ====================================================================== */
.modal-head .sheet-badge { font-size: var(--fs-label); }
.evd h2 { font-size: var(--fs-xl); margin-top: var(--sp-1); text-wrap: balance; }
.evd h2:focus, .evd h2:focus-visible { outline: none; }          /* programmatic focus on the title: not a control */
.evd-kind { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--text-muted); }
.evd-kind .i { width: 16px; height: 16px; color: var(--text); }
.evd-kind .badge { margin-left: 4px; }
.evd-when { margin-top: var(--sp-3); padding: 8px 12px; background: var(--surface-alt); border-left: 3px solid var(--rule-ink); font-weight: var(--wght-strong); font-variant-numeric: tabular-nums; line-height: 1.8; }
.evd-when .faint { font-weight: var(--wght-body); }
.evd-when .ev-status, .evd-when .unk { margin-left: 8px; }
.evd-when .unk { font-weight: var(--wght-body); }
.evd-when .nw { white-space: nowrap; }
.evd-days { list-style: none; padding: 0; margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); }
.evd-days li { padding: 5px 0; border-top: 1px solid var(--border); }
.evd-days .tnum { display: inline-block; min-width: 10ch; color: var(--text); font-weight: var(--wght-strong); }
.evd-grid { display: grid; gap: var(--sp-4) var(--sp-5); grid-template-columns: minmax(0, 1fr); margin-top: var(--sp-4); }
@media (min-width: 700px) { .evd-grid { grid-template-columns: minmax(0, 1fr) 250px; } }
.evd-main { min-width: 0; }
.evd-where { display: flex; align-items: baseline; gap: 8px; font-size: var(--fs-sm); color: var(--text-muted); }
.evd-where > .i { width: 16px; height: 16px; align-self: center; flex: none; color: var(--text); }
.evd-where > span { min-width: 0; }
.evd-where a { font-weight: var(--wght-strong); color: var(--text); }
.evd-addr { display: block; margin-top: 2px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.evd-sum { margin-top: var(--sp-3); }
/* the source's own words: Bodoni italic under a rule in the sheet's ink, always with where they come from */
.evd-desc { margin-top: var(--sp-4); padding-left: var(--sp-4); border-left: var(--rule-mid) solid var(--ink-edge); font-family: var(--font-display); font-style: italic; font-weight: 520; font-size: 1.0625rem; line-height: var(--lh-snug); }
.evd-desc p + p { margin-top: var(--sp-2); }
.evd-desc.unk { font-family: var(--font-body); font-style: normal; font-size: var(--fs-sm); border-left-style: dashed; }
.evd-cite { margin-top: 6px; padding-left: var(--sp-4); font-size: var(--fs-xs); }
.evd-facts { margin: var(--sp-5) 0 0; }
.evd-facts .fact { flex-basis: 150px; }
.evd-side { min-width: 0; }
.evd-side .mini-map { margin: 4px 4px 0; }
.evd-side > .unk { font-size: var(--fs-sm); }
.evd-dir { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.evd-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
@media (max-width: 559px) {
  .evd-actions .btn { flex: 1 1 auto; }
  .evd-actions .btn-river, .evd-actions .btn-house { flex-basis: 100%; }
}
/* the experience dialog: its picture (or the big plate), the operator, the status note, the booking links */
.xd-media { margin: 0 0 var(--sp-4); }
.plate-type.xd-media { width: 100%; }
@media (min-width: 700px) { .plate-type.xd-media { aspect-ratio: 21 / 8; } }
.xd-op { margin-top: 4px; font-size: var(--fs-sm); font-weight: var(--wght-strong); color: var(--text-muted); }
.xd-status { margin-top: var(--sp-3); padding: 8px 12px; background: var(--warning-tint); color: var(--warning); border-left: 3px solid var(--warning-edge); }
.xd-status > span { color: var(--text); }
.xd-quote { font-size: var(--fs-md); }
.xd-links { margin-top: var(--sp-4); }
/* ---- 85-about.css ---- */
/* ======================================================================
   site/css/85-about.css · OWNER: the Visit lane (about.html)
   Every class carries the ab- prefix. .ab-intro (the prose beside .ab-seal, the independence line set like the
   footer of a cigar label: a gold double rule, Bodoni italic), .ab-counts (the guide's numbers, Bodoni numerals, each
   a link), .ab-course (how it is made: four numbered stops on a magenta course line, the chart's note color for
   courses), .ab-rules, .ab-unk/.ab-geo/.ab-img (table.data), .ab-closed, .ab-gnav + .ab-group > .ab-hosts (every cited
   site with its record count, in columns; the long tail in details.ab-more), .ab-lic (counts by license), .ab-dl
   (credits), .ab-fix (corrections), .ab-built (the build date).
   Tokens only; no color literal; nothing under 12px; 44px targets on phones.
   ====================================================================== */
.ab-intro { display: grid; gap: var(--sp-5) var(--sp-6); align-items: start; }
@media (min-width: 900px) { .ab-intro { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.ab-seal {
  margin: 0; padding: 22px 22px 18px; text-align: center; background: var(--surface);
  border-top: 4px double var(--gold-ink); border-bottom: 4px double var(--gold-ink);
}
.ab-seal blockquote { margin: 0; }
.ab-indep { font-family: var(--font-display); font-style: italic; font-weight: 560; font-size: var(--fs-lg); line-height: var(--lh-snug); color: var(--text); text-wrap: balance; }
.ab-sourced { margin-top: 10px; font-family: var(--font-label); font-stretch: var(--label-stretch-wide); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label-wide); text-transform: uppercase; color: var(--gold-ink); }
.ab-seal figcaption { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); font-size: var(--fs-sm); color: var(--text-muted); }

.ab-counts {
  list-style: none; display: grid; gap: 1px; margin: var(--sp-6) 0 0; padding: 6px 0 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  background:
    linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--rule-ink) 0 0) 0 5px / 100% 1px no-repeat,
    linear-gradient(var(--border) 0 0) 0 6px / 100% calc(100% - 6px) no-repeat;
  border-bottom: 1px solid var(--rule-ink);
}
.ab-counts li { background: var(--bg); }
.ab-counts a { display: flex; flex-direction: column; gap: 4px; min-height: var(--tap); height: 100%; padding: 14px 16px 12px; color: var(--text); text-decoration: none; }
.ab-counts a:hover span { text-decoration: underline; text-underline-offset: 0.16em; }
.ab-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.45rem + 1vw, 2.375rem); line-height: 1; font-variant-numeric: lining-nums; }
.ab-counts span { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.35; }
@media (max-width: 559px) { .ab-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ab-counts a { padding: 12px; } }
.ab-note { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--text-faint); }
.ab-lede { max-width: 70ch; color: var(--text-muted); margin-bottom: var(--sp-4); }

/* how it is made: a course line with four numbered stops */
.ab-course { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: 0; max-width: 78ch; }
.ab-course > li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: var(--sp-5); }
.ab-course > li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, var(--magenta) 0 6px, transparent 6px 11px); }
.ab-course > li:last-child { padding-bottom: 0; }
.ab-course > li:last-child::before { display: none; }
.ab-step {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface);
  border: 2px solid var(--rule-ink); box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px var(--gold);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); font-variant-numeric: lining-nums;
}
.ab-course h3 { margin-top: 8px; font-size: var(--fs-md); }
.ab-course p { margin-top: 4px; color: var(--text-muted); }
.ab-after { margin-top: var(--sp-4); }
.ab-geo, .ab-unk { max-width: 860px; }

/* the rules */
.ab-rules { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin-bottom: var(--sp-4); }
.ab-rule { padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--rule-ink); }
.ab-rule h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-md); line-height: var(--lh-snug); }
.ab-rule h3 .i { width: 20px; height: 20px; color: var(--text-muted); }
.ab-rule p { margin-top: 8px; font-size: var(--fs-sm); color: var(--text-muted); }
.ab-closed { list-style: none; padding: 0; display: grid; gap: 0 var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ab-closed li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: var(--fs-sm); }
.ab-closed b { display: inline-block; min-width: 2.2em; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); }

/* sources */
.ab-gnav { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.ab-gnav a { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 0 14px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); text-decoration: none; font-size: var(--fs-sm); font-weight: var(--wght-ui); }
.ab-gnav a:hover { border-color: var(--text); }
.ab-gnav b { font-family: var(--font-label); font-size: var(--fs-label); color: var(--text-muted); }
.ab-group { margin-top: var(--sp-6); scroll-margin-top: calc(var(--topbar-h) + var(--sp-4)); }
.ab-gh { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding-bottom: 8px; border-bottom: 2px solid var(--rule-ink); font-size: var(--fs-lg); }
.ab-gn { margin: 8px 0 var(--sp-3); max-width: 70ch; font-size: var(--fs-sm); color: var(--text-muted); }
.ab-hosts { list-style: none; padding: 0; margin: 0; columns: 3 240px; column-gap: var(--sp-6); }
.ab-hosts li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); break-inside: avoid; font-size: var(--fs-sm); }
.ab-hosts a { min-width: 0; overflow-wrap: anywhere; }
.ab-n { flex: none; font-size: var(--fs-xs); color: var(--text-faint); }
.ab-more { margin-top: var(--sp-2); }
.ab-more > summary, .ab-credits > summary {
  display: flex; align-items: center; gap: 8px; min-height: var(--tap); cursor: pointer; list-style: none;
  color: var(--link); font-size: var(--fs-sm); font-weight: var(--wght-strong);
}
.ab-more > summary::-webkit-details-marker, .ab-credits > summary::-webkit-details-marker { display: none; }
.ab-more > summary::after, .ab-credits > summary::after { content: "+"; font-family: var(--font-label); }
.ab-more[open] > summary::after, .ab-credits[open] > summary::after { content: "–"; }
.ab-more[open] > summary { margin-bottom: var(--sp-2); }

/* images */
.ab-lic { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: var(--sp-4) 0; font-size: var(--fs-sm); color: var(--text-muted); }
.ab-lic b { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); color: var(--text); margin-right: 4px; }
.ab-credits { margin-top: var(--sp-4); border-top: 1px solid var(--border); }
.ab-img tbody th { font-size: var(--fs-base); }
.ab-sub { display: block; margin-top: 2px; font-family: var(--font-body); font-weight: var(--wght-body); font-size: var(--fs-xs); }
@media (max-width: 699px) {   /* 44px tap heights in the long lists, without spreading them */
  .ab-img td a, .ab-sub a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .ab-sub a { padding: 14px 0; margin: -14px 0; }
  .ab-hosts a { display: block; padding: 11px 0; margin: -6px 0; }
}

/* credits */
.ab-dl { display: grid; gap: 0; margin: 0; max-width: 900px; border-top: 2px solid var(--rule-ink); }
.ab-dl > div { display: grid; gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 700px) { .ab-dl > div { grid-template-columns: 150px minmax(0, 1fr); } }
.ab-dl dt { font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-muted); padding-top: 3px; }
.ab-dl dd { margin: 0; font-size: var(--fs-sm); line-height: 1.55; }

/* corrections, author */
.ab-fix { display: grid; gap: var(--sp-4); max-width: 78ch; }
.ab-fix ol { padding-left: 1.3em; }
.ab-author p { max-width: 70ch; }
.ab-built { margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--border); color: var(--text-muted); }

/* the two count tables stay compact rows on phones (the shared table.data turns every row into a card with a Bodoni
   heading, which made "OpenStreetMap · Points 80" a screen tall): the label, its count on the right, the note under it */
@media (max-width: 699px) {
  table.data:is(.ab-geo, .ab-unk) tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
  table.data:is(.ab-geo, .ab-unk) tbody th { font-family: var(--font-body); font-weight: var(--wght-strong); font-size: var(--fs-sm); line-height: 1.4; }
  table.data:is(.ab-geo, .ab-unk) td { display: block; padding: 0; }
  table.data:is(.ab-geo, .ab-unk) td.num::before { content: none; }
  table.data:is(.ab-geo, .ab-unk) td.num { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); line-height: 1.1; text-align: right; }
  table.data.ab-unk td:last-child { grid-column: 1 / -1; display: flex; gap: 8px; font-size: var(--fs-xs); color: var(--text-muted); }
  table.data.ab-unk td:last-child::before { padding-top: 1px; }
}
/* ---- 86-faq.css ---- */
/* ======================================================================
   site/css/86-faq.css · OWNER: the design system ("Chart & Label"); the FAQ lane may extend it
   Questions as <details class="faq" id="fq-…"> (faq.html and anywhere a page lists questions): the question in
   Bodoni, a square +/– key, the answer in plain prose with its source line. Tokens only; no color literal.
   ====================================================================== */
details.faq { border-bottom: 1px solid var(--border); }
details.faq:first-of-type { border-top: var(--rule-mid) solid var(--rule-ink); }
details.faq > summary {
  gap: 14px; padding: 12px 0; list-style: none;
  font-family: var(--font-display); font-weight: var(--wght-head); font-size: var(--fs-md); line-height: var(--lh-snug); color: var(--text);
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after {
  content: "+"; flex: none; margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--border-strong); background: var(--surface);
  font-family: var(--font-label); font-weight: var(--wght-label); font-size: var(--fs-base); color: var(--text-muted);
}
details.faq[open] > summary::after { content: "–"; background: var(--primary); border-color: var(--primary); color: var(--primary-contrast); }
details.faq > summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
details.faq > .prose { padding: 0 0 var(--sp-3); max-width: var(--measure); }
details.faq > .source-line { margin: 0 0 var(--sp-4); }
details.faq:target { background: var(--accent-tint); box-shadow: 0 0 0 8px var(--accent-tint); }
details.faq:target > summary { color: var(--accent-strong); }
.faq-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4); margin: var(--sp-5) 0 var(--sp-2); padding: var(--sp-3) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-tools .field { flex: 1 1 100%; max-width: 560px; }
.faq-tools .chip-row { flex: 1 1 100%; }
.faq-topic { margin-top: var(--sp-6); }
.faq-note { margin-top: var(--sp-6); font-size: var(--fs-sm); }

/* ---------- faq.html (the Visit lane, additive): the tools, the topic chips, the topic sections ----------
   .faq-root[data-filter-root] > .faq-tools (search, chips, count) + .faq-lists[data-filter-list] > section.faq-sec per topic.
   On phones the chips scroll sideways in one row instead of stacking ten rows of 44px chips. */
.faq-root { margin-top: var(--sp-2); }
.faq-tools { position: relative; }
.faq-tools .faq-search { flex: 1 1 100%; max-width: 620px; }
.faq-chips { gap: var(--sp-2); }
.faq-chips .chip .i { color: var(--text-muted); }
.faq-chips .chip[aria-pressed="true"] .i { color: inherit; }
.faq-count { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--sp-3); flex: 1 1 100%; }
@media (max-width: 699px) {
  .faq-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: thin; scroll-padding: 0 var(--gutter); }
  .faq-chips .chip { flex: none; }
}
.faq-sec { scroll-margin-top: calc(var(--topbar-h) + var(--sp-4)); }
.faq-sec .sec-kicker .vz-ic { width: 16px; height: 16px; }
.faq-list { max-width: 78ch; }
details.faq { scroll-margin-top: calc(var(--topbar-h) + var(--sp-4)); }
details.faq > .source-line { margin-top: var(--sp-2); }
.faq-note { max-width: 70ch; color: var(--text-muted); }

/* the Visit lane's source line (srcLine in build/pages/faq.mjs, on faq.html, getting-around.html and when-to-visit.html):
   the icon in its own 14px column, the hosts beside it, "Checked …" under the hosts; the shared flex row wrapped the
   icon onto a line of its own whenever the hosts did not fit beside it */
.source-line.vz-src { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 8px; row-gap: 2px; align-items: start; }
.source-line.vz-src > .i { grid-row: 1; margin-top: 2px; align-self: start; }
.source-line.vz-src > span { grid-column: 2; min-width: 0; overflow-wrap: anywhere; }
.vz-srcnote { margin-top: 4px; font-size: var(--fs-xs); line-height: 1.5; color: var(--text-faint); max-width: 90ch; }
/* ---- 90-pages.css ---- */
/* ======================================================================
   site/css/90-pages.css · OWNER: the design system ("Chart & Label")
   The footer (a water-lining rule on top, the outlined wordmark, the tagline in Bodoni italic, the independence
   line, the sheets with their badges, the small print and the map credit) and the 404 page ("This spot isn't on
   the chart"). Tokens only; no color literal.
   ====================================================================== */
.footer { position: relative; background: var(--sidebar-bg); }
.footer::before {
  content: ""; display: block; height: var(--wl-h);
  background:
    linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--water-line) 0 0) 0 5px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 72%, transparent) 0 0) 0 9px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 46%, transparent) 0 0) 0 14px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 24%, transparent) 0 0) 0 21px / 100% 1px no-repeat,
    var(--bg);
}
@media (min-width: 1024px) { .footer { padding-left: var(--sidebar-w); } :root.rail-collapsed .footer { padding-left: 0; } }
.footer-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter) var(--sp-7); }
.footer-grid { display: grid; gap: var(--sp-6); grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); padding-top: var(--sp-6); }
@media (max-width: 859px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-wm { width: min(260px, 70%); color: var(--text); --wordmark-accent: var(--accent); }
.motto { margin-top: var(--sp-4); max-width: 36ch; font-family: var(--font-display); font-style: italic; font-weight: 520; font-size: var(--fs-md); line-height: var(--lh-snug); color: var(--text-muted); }
.footer-indep { margin-top: var(--sp-3); max-width: 48ch; font-size: var(--fs-sm); }
.footer-author { display: flex; align-items: center; gap: 12px; margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--text-muted); }
.footer-author b { color: var(--text); }
.footer-author a { display: inline-flex; align-items: center; min-height: var(--tap); margin-right: 12px; }
.footer h2 {
  margin-bottom: var(--sp-2); padding-bottom: 8px; border-bottom: 1px solid var(--border); color: var(--text-muted);
  font-family: var(--font-label); font-stretch: var(--label-stretch); font-size: var(--fs-label); font-weight: var(--wght-label); letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.3;
}
.footer ul { list-style: none; padding: 0; }
.footer li a { display: flex; align-items: center; gap: 10px; min-height: var(--tap); color: var(--text); font-size: var(--fs-sm); }
.footer li a:hover { color: var(--link-hover); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-6); padding-top: var(--sp-3);
  border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--text-muted);
}
@media (max-width: 1023px) { .footer-inner { padding-bottom: calc(var(--dock-h) + var(--sp-6)); } }

/* ---------- 404: "This spot isn't on the chart" ---------- */
.nf { position: relative; max-width: 680px; padding: var(--sp-6) 0 var(--sp-5); }
.nf::before {
  content: ""; position: absolute; right: 0; top: 0; width: min(300px, 50vw); aspect-ratio: 1; pointer-events: none; z-index: -1;
  background: var(--text); opacity: 0.07; -webkit-mask: var(--mask-rose) 0 0 / 100% 100% no-repeat; mask: var(--mask-rose) 0 0 / 100% 100% no-repeat;
}
.nf .kicker { color: var(--accent-strong); }
.nf h1 { font-size: clamp(2.375rem, 1.55rem + 3.6vw, 4rem); line-height: var(--lh-tight); max-width: 14ch; }
.nf::after {
  content: ""; display: block; height: var(--wl-h); max-width: 360px; margin-top: var(--sp-6);
  background:
    linear-gradient(var(--rule-ink) 0 0) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--water-line) 0 0) 0 5px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 60%, transparent) 0 0) 0 9px / 100% 1px no-repeat,
    linear-gradient(color-mix(in srgb, var(--water-line) 30%, transparent) 0 0) 0 14px / 100% 1px no-repeat;
}
/* ---- 99-print.css ---- */
/* ======================================================================
   site/css/99-print.css · OWNER: the design system ("Chart & Label")
   Print (the Day chart on paper: no shell, no ornament that wastes ink) and reduced motion. Kept last so it wins.
   Tokens only; no color literal.
   ====================================================================== */
@media print {
  .topbar, .sidebar, .dock, .scrim, .to-top, .toast, .star, .map-zoom, .modal, .toc, .toc-mobile, .pagenav, .js-only, .skip-link { display: none !important; }
  .layout { display: block; background: none; }
  .content { max-width: none; padding: 0; }
  body { background: none; color: var(--text); font-size: 11pt; }
  .page-head { background: none; }
  .page-head::after, .plate-type::after { display: none; }
  .ev, .card, .trip-item, details.faq { break-inside: avoid; }
  .footer { padding-left: 0; background: none; }
  a { text-decoration: none; }
}

/* ---------- reduced motion: nothing moves by itself; the live ring shows as a static ring ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .dot-live::after, .pin.is-live::after { opacity: 1; transform: none; animation: none; }
}
