/* self-hosted faces — no external request */
@font-face{font-family:'Anton';src:url('fonts/Anton-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('fonts/BarlowCondensed-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('fonts/BarlowCondensed-SemiBold.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('fonts/BarlowCondensed-Bold.ttf') format('truetype');font-weight:700;font-display:swap}

/* ============================================================
   THE READOUT — ink on paper. Cream, near-black, one gold.
   ============================================================ */

:root {
  --paper:      #F4F1E8;
  --paper-2:    #EFEBE0;
  --ink:        #1A1A1A;
  --ink-2:      #4A4843;
  --ink-3:      #8A877E;
  --gold:       #C89A3C;
  --gold-soft:  #E3C883;
  --pencil:     #CFC9BA;

  --display: 'Anton', Impact, sans-serif;
  --cond:    'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body:    'Inter', system-ui, sans-serif;

  color-scheme: light;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection { background: var(--gold-soft); color: var(--ink); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 1px;
}

/* ---------- layout primitives ---------- */
.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.measure { max-width: 68ch; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 50;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: top 160ms ease;
}
.skip-link:focus-visible { top: 12px; }

/* ---------- rules & hairlines ---------- */
.hairline-gold {
  height: 1px;
  background: var(--gold);
  width: 100%;
}

.rule-gold {
  height: 3px;
  width: 72px;
  background: var(--gold);
}

.rule-gold-full { width: 100%; height: 2px; }

/* ---------- masthead ---------- */
.masthead {
  padding-top: clamp(20px, 4vw, 36px);
}

.kicker {
  font-family: var(--cond);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(56px, 11vw, 130px);
  padding-bottom: clamp(48px, 9vw, 110px);
}

.hero-number {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(100px, 21vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.hero-sub {
  font-family: var(--cond);
  font-weight: 500;
  font-size: clamp(19px, 3vw, 28px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: clamp(14px, 2.4vw, 26px);
}

.hero-tag {
  font-size: 16px;
  font-style: italic;
  color: var(--ink-3);
  margin-top: 8px;
}

.hero .rule-gold { margin-top: clamp(28px, 4.5vw, 48px); }

/* ---------- essay ---------- */
.essay {
  padding-top: clamp(24px, 5vw, 56px);
  padding-bottom: clamp(64px, 10vw, 120px);
}

.essay p { margin-bottom: 1.4em; }

.essay-subhead {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 2.2em 0 0.7em;
}

.essay-subhead:first-of-type { margin-top: 0; }

.pull-quote {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 1.5em 0 1.1em !important;
  max-width: 16ch;
}

.essay-continued {
  font-family: var(--cond);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* ---------- section heads ---------- */
.section-head {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.section-note {
  font-family: var(--cond);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-top: 10px;
  max-width: 72ch;
}

/* ---------- map ---------- */
.map-section {
  padding-bottom: clamp(28px, 4vw, 44px);
}

.map-wrap {
  position: relative;
  margin-top: clamp(20px, 3.5vw, 36px);
}

#map-svg {
  display: block;
  width: 100%;
  height: auto;
}

.pr-label {
  font-family: var(--cond);
  font-size: 11px;
  letter-spacing: 0.12em;
  fill: var(--ink-3);
}

/* state paths — JS toggles .has-venues */
.state-path {
  fill: transparent;
  stroke: var(--pencil);
  stroke-width: 1;
  transition: stroke 200ms ease;
}
.state-path.has-venues {
  stroke: var(--ink);
  stroke-width: 1.6;
}

/* venue circles */
.venue-dot {
  fill: var(--gold);
  fill-opacity: 0.55;
  stroke: var(--ink);
  stroke-width: 0.8;
  cursor: pointer;
  transition: fill-opacity 160ms ease, stroke-width 160ms ease;
}
.venue-dot:hover,
.venue-dot:focus-visible {
  fill-opacity: 1;
  stroke-width: 1.6;
}
.venue-dot:focus-visible {
  outline: none; /* SVG elements: signal focus through the lift instead */
}

/* tooltip */
.map-tooltip {
  position: absolute;
  left: 0; top: 0;
  transform: translate(-50%, calc(-100% - 12px));
  min-width: 140px;
  max-width: 240px;
  padding: 10px 12px 9px;
  background: var(--paper);
  border: 1px solid var(--ink);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 140ms ease;
  z-index: 5;
}
.map-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}
.map-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px; height: 8px;
  background: var(--paper);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: translateX(-50%) rotate(45deg);
}

.tip-value {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.tip-name {
  font-family: var(--cond);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 6px;
}
.tip-place {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* ---------- filter bar ---------- */
.filter-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--pencil);
  padding-block: 14px 12px;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 28px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.filter-label {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* segmented surface control */
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.seg-btn {
  font-family: var(--cond);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 2px 0 4px;
  border-bottom: 3px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.seg-btn:hover { color: var(--ink); }
.seg-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* selects */
.select-wrap {
  position: relative;
  display: inline-block;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--cond);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-3);
  border-radius: 0;
  padding: 2px 22px 4px 0;
  max-width: 220px;
  cursor: pointer;
}
.select-wrap select:hover { border-bottom-color: var(--ink); }

/* dual-handle range */
.filter-group-range { min-width: 220px; flex: 0 1 240px; }

.range-wrap {
  position: relative;
  height: 26px;
}

.range-track {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: var(--pencil);
}

.range-fill {
  position: absolute;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: var(--gold);
  left: var(--lo, 0%);
  right: calc(100% - var(--hi, 100%));
}

.range-wrap input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
}

.range-wrap input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  height: 26px;
}
.range-wrap input[type="range"]::-moz-range-track {
  background: transparent;
  height: 26px;
}

.range-wrap input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 15px; height: 15px;
  margin-top: 5.5px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  cursor: grab;
  pointer-events: auto;
}
.range-wrap input[type="range"]::-moz-range-thumb {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  cursor: grab;
  pointer-events: auto;
}

.range-readout {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

#courts-range-label {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.range-note {
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink-3);
  max-width: 220px;
}

/* search */
.filter-group-search { flex: 1 1 180px; min-width: 160px; }

#filter-search {
  font-family: var(--cond);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-3);
  border-radius: 0;
  padding: 2px 0 4px;
  width: 100%;
}
#filter-search::placeholder { color: var(--ink-3); }
#filter-search:hover,
#filter-search:focus { border-bottom-color: var(--ink); }
#filter-search::-webkit-search-cancel-button { -webkit-appearance: none; }

/* reset */
.filter-group-reset { justify-content: flex-end; }

.reset-btn {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 2px 0 4px;
  border-bottom: 3px solid var(--gold);
}
.reset-btn:hover { color: var(--ink-3); }

/* ---------- live stat line ---------- */
.stats {
  padding-top: clamp(28px, 5vw, 52px);
  padding-bottom: clamp(8px, 2vw, 16px);
}

.stat-line {
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(24px, 4.4vw, 40px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-line .stat-dim { color: var(--ink-3); }

/* ---------- bar chart ---------- */
.chart-section {
  padding-top: clamp(24px, 4vw, 44px);
  padding-bottom: clamp(56px, 9vw, 110px);
}

.chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 28px;
  margin-bottom: clamp(20px, 3.5vw, 34px);
}

.toggle {
  display: flex;
  gap: 18px;
}

.toggle-btn {
  font-family: var(--cond);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 2px 0 4px;
  border-bottom: 3px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.toggle-btn:hover { color: var(--ink); }
.toggle-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* rows injected by app.js:
   <button class="bar-row"> (.is-mode on the 4-court distribution row)
     <span class="bar-label">
     <span class="bar-track"><span class="bar-fill" style="--w:NN%"></span></span>
     <span class="bar-value">
     <span class="bar-note">            (optional, mode annotation)
   */
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 860px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(96px, 180px) 1fr minmax(44px, auto);
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 1px 0;
}

.bar-label {
  font-family: var(--cond);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-track {
  position: relative;
  height: 16px;
  background: transparent;
}

.bar-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--w, 0%);
  background: var(--ink);
  transition: background 140ms ease;
}

.bar-row:hover .bar-fill,
.bar-row:focus-visible .bar-fill { background: var(--gold); }

.bar-row.is-mode .bar-fill { background: var(--gold); }

.bar-value {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.bar-note {
  grid-column: 2 / 4;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: -2px;
}

/* clickable affordance only where JS marks rows as filters */
.bar-row.is-clickable { cursor: pointer; }
.bar-row.is-clickable:hover .bar-label { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- table ---------- */
.table-section {
  padding-bottom: clamp(64px, 10vw, 120px);
}

.table-scroll {
  overflow-x: auto;
  /* 387 rows inline made the document 21,900px tall and buried the footer.
     Cap it and let the head stay put; the table is the completeness fallback,
     not the centrepiece. */
  overflow-y: auto;
  max-height: min(70vh, 640px);
  margin-top: clamp(18px, 3vw, 30px);
  border-top: 1px solid var(--pencil);
  border-bottom: 1px solid var(--pencil);
  overscroll-behavior: contain;
}
.venue-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--paper);
}

.venue-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.venue-table thead th {
  border-bottom: 1.5px solid var(--ink);
  padding: 0;
  text-align: left;
}

.th-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 12px 8px 0;
  text-align: left;
}
.th-btn:hover { color: var(--gold); }

.th-num .th-btn { justify-content: flex-end; text-align: right; padding-right: 0; }

.sort-ind {
  font-size: 10px;
  line-height: 1;
  color: var(--gold);
  min-width: 10px;
}

.venue-table td {
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 7px 14px 7px 0;
  border-bottom: 1px solid var(--pencil);
  vertical-align: top;
}

.venue-table td.cell-club {
  font-family: var(--cond);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.venue-table td.cell-num {
  text-align: right;
  /* was padding-right:0 — the count butted straight into the Surface column */
  padding-right: 22px;
  min-width: 76px;
  color: var(--ink);
  font-weight: 500;
}
.venue-table th.th-sort[data-sort="courts"] .th-btn { padding-right: 22px; }

.venue-table td.cell-null { color: var(--ink-3); font-style: italic; font-weight: 400; }

.venue-table tbody tr:nth-child(even) { background: var(--paper-2); }

.venue-table tbody tr:hover { background: var(--gold-soft); }

/* ---------- soft section band ---------- */
.band {
  background: var(--paper-2);
}

.soft-section {
  padding-top: clamp(48px, 8vw, 90px);
  padding-bottom: clamp(56px, 9vw, 100px);
}

.soft-section .section-head { margin-bottom: 0.9em; }

/* ---------- footer ---------- */
.footer {
  padding-top: clamp(56px, 9vw, 110px);
  padding-bottom: clamp(40px, 7vw, 80px);
}

.footer-line {
  font-family: var(--display);
  font-size: clamp(30px, 6vw, 62px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.footer-note {
  font-family: var(--cond);
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-top: 18px;
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .filters-row { gap: 14px 20px; }
  .filter-group-range { flex: 1 1 100%; min-width: 0; }
  .filter-group-search { flex: 1 1 100%; }
  .select-wrap select { max-width: 100%; }
  .bar-row { grid-template-columns: minmax(84px, 128px) 1fr minmax(38px, auto); gap: 8px; }
  .bar-label { font-size: 14px; }
  .map-tooltip { max-width: 190px; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* The filter bar is sticky only while the map, stats and chart are on screen.
   Constraining it to this wrapper releases it before the table, which it was
   otherwise scrolling over and occluding. */
.sticky-scope { position: relative; }


/* `.wrap.measure` centred a 68ch column inside the page, so the essay floated
   ~230px right of the rail the hero, map and charts all sit on. Keep the standard
   wrap for alignment and constrain the measure on the children instead. */
.essay .wrap.measure { max-width: 1120px; }
.essay .wrap.measure > * { max-width: 68ch; }
.essay .wrap.measure > .pull-quote { max-width: 20ch; }
.soft-section .wrap.measure { max-width: 1120px; }
.soft-section .wrap.measure > * { max-width: 68ch; }

/* --- Pat copy v2 additions (3 Aug) --- */
.hero-deck {
  font-family: var(--display);
  font-size: clamp(28px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-top: clamp(18px, 2.5vw, 30px);
}
.essay-lede {
  font-family: var(--cond);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 1.1em;
}
.essay-kicker {
  font-family: var(--cond);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  margin-block: 1.6em;
  max-width: 40ch;
}
.caption-scope { color: var(--ink-3); }

/* --- email gate --- */
.is-locked {
  max-height: 340px;
  overflow: hidden;
  position: relative;
  filter: blur(5px) saturate(0.55);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.is-locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(244,241,232,0) 0%, var(--paper) 92%);
}
.gate {
  padding-block: clamp(40px, 7vw, 76px);
  border-top: 1px solid var(--pencil);
  border-bottom: 1px solid var(--pencil);
  background: var(--paper-2);
}
.gate-inner { max-width: 1120px; }
.gate-eyebrow {
  font-family: var(--cond);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.gate-head {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 16px;
}
.gate-sub {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 26px;
}
.gate-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.gate-form input[type=email] {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 14px 16px;
  min-width: 280px;
  flex: 0 1 360px;
}
.gate-form input[type=email]::placeholder { color: var(--ink-3); }
.gate-btn {
  font-family: var(--cond);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 14px 26px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.gate-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.gate-btn:disabled { opacity: 0.6; cursor: default; }
.gate-msg { font-family: var(--body); font-size: 14px; margin-top: 12px; min-height: 1.2em; color: var(--ink-2); }
.gate-msg.is-error { color: #B3341F; }
.gate-fine {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 18px;
  max-width: 52ch;
}
@media (prefers-reduced-motion: reduce) { .is-locked { filter: none; opacity: 0.28; } }
@media (max-width: 560px) { .gate-form input[type=email] { flex: 1 1 100%; } }
/* consent notice: legible but clearly secondary to the ask */
.gate-fine {
  font-size: 12px;
  line-height: 1.55;
  max-width: 62ch;
  margin-top: 16px;
}

/* --- map zoom --- */
#map-wrap { position: relative; }
#map-svg { touch-action: none; cursor: grab; outline: none; }
#map-svg.is-panning { cursor: grabbing; }
#map-svg:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* Counter-scale linework so borders and dot rings stay hairlines when zoomed. */
#map-svg path { stroke-width: calc(1px / var(--mapz, 1)); }
#map-svg path.has-venues { stroke-width: calc(1.6px / var(--mapz, 1)); }
#map-svg circle.venue-dot { stroke-width: calc(0.8px / var(--mapz, 1)); }
.map-zoom {
  position: absolute;
  top: 10px; right: 10px;
  display: flex; gap: 6px; align-items: center;
  z-index: 3;
}
.mapz-btn {
  font-family: var(--cond);
  font-size: 17px; font-weight: 700; line-height: 1;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--axis); border-radius: 0;
  width: 32px; height: 32px; padding: 0; cursor: pointer;
}
.mapz-btn.mapz-reset {
  width: auto; padding: 0 11px; font-size: 12px; letter-spacing: 0.09em;
}
.mapz-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); }
.mapz-btn:disabled { opacity: 0.35; cursor: default; }
.map-hint {
  font-family: var(--cond);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 8px;
}
