/* ════════════════════════════════════════════════════════════════
   ENJOY ANTIOCH — scaffolded from the Torrington 2.0 template
   Three registers: lacquer frame · drench moments · paper
   The season is the site: html[data-season] re-tunes the drench.
   Brand values from the Phase 2 kit (computed-tokens.json); variable
   NAMES kept from the template so components need no re-thread.
   Hard brand rule: the logo never sits on black — the lacquer
   register is brand brown with a seasonal cast, per season below.
   ════════════════════════════════════════════════════════════════ */

:root{
  /* invariants — Village of Antioch Brand Guide (Sept 2021) */
  --brand:        oklch(0.639 0.116 133.8);  /* leaf green #6e9b4f */
  --brand-deep:   oklch(0.391 0.030 40.2);   /* brand brown #544039 */
  --brass:        oklch(0.773 0.058 239.7);  /* sky blue #94bbd7 — the wave; keeps the template's accent slot */
  --brass-dim:    oklch(0.773 0.058 239.7 / .45);
  --ink:          oklch(0.26 0.020 55);      /* warm brown-black text */
  --muted:        oklch(0.50 0.012 55);
  --paper:        oklch(0.968 0.012 85);     /* warm off-white */

  /* type roles — families resolve ONLY in css/fonts.css (the swap seam;
     BRAND-STANDIN faces until Tropiline / SS Nickson Two are licensed) */
  --font-display: var(--ff-display, Georgia, serif);
  --font-accent:  var(--ff-accent, Arial, sans-serif);
  --font-text:    var(--ff-text, system-ui, sans-serif);
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.1875rem;
  --text-xl: 1.625rem;
  --text-2xl: clamp(1.9rem, 1.1rem + 2vw, 2.6rem);
  --text-display: clamp(2.7rem, 1.4rem + 4.6vw, 5.4rem);

  /* space (4pt) */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --s7:48px; --s8:64px; --s9:96px; --s10:128px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(64px, 9vw, 120px);

  /* z scale */
  --z-rail:1; --z-sticky:10; --z-nav:20; --z-assistant:30; --z-veil:40; --z-modal:60;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Seasonal drench tokens (Phase 2 kit — 24 AA pairs computed) ──
   Lacquer per season = brand brown deepened + 25% season hue cast:
   always brown-family, never black (brand rule). */
html[data-season="winter"]{
  --season:       oklch(0.773 0.058 239.7);  /* sky #94bbd7 */
  --season-deep:  oklch(0.473 0.068 239.7);
  --season-bright:oklch(0.873 0.058 239.7);
  --season-hue: 239.7;
  --lacquer:   oklch(0.310 0.030 30.1);      /* #3d2a30 */
  --lacquer-2: oklch(0.360 0.030 30.1);
}
html[data-season="spring"]{
  --season:       oklch(0.639 0.116 133.8);  /* leaf green #6e9b4f */
  --season-deep:  oklch(0.459 0.126 133.8);
  --season-bright:oklch(0.867 0.047 336.1);  /* pink #e8c8df */
  --season-hue: 133.8;
  --lacquer:   oklch(0.310 0.030 63.6);      /* #3b2d20 */
  --lacquer-2: oklch(0.360 0.030 63.6);
}
html[data-season="summer"]{
  --season:       oklch(0.633 0.080 181.4);  /* teal #4c9a8d — the lake */
  --season-deep:  oklch(0.453 0.090 181.4);
  --season-bright:oklch(0.869 0.123 113.7);  /* chartreuse #d3dd7b */
  --season-hue: 181.4;
  --lacquer:   oklch(0.310 0.030 75.5);      /* #392e1f */
  --lacquer-2: oklch(0.360 0.030 75.5);
}
html[data-season="autumn"]{
  --season:       oklch(0.745 0.139 37.9);   /* coral #f68b6a */
  --season-deep:  oklch(0.465 0.129 37.9);
  --season-bright:oklch(0.845 0.119 37.9);
  --season-hue: 37.9;
  --lacquer:   oklch(0.310 0.030 39.6);      /* #3e2b25 */
  --lacquer-2: oklch(0.360 0.030 39.6);
}
:root{
  --lacquer:    oklch(0.310 0.030 40);       /* fallback: plain brand-brown chrome */
  --lacquer-2:  oklch(0.360 0.030 40);
  --on-lacquer: oklch(0.940 0.015 80);
  --on-lacquer-muted: oklch(0.800 0.015 80);
}

/* ── Base ───────────────────────────────────────────────────────── */
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--font-text);
  font-size:var(--text-base);
  line-height:1.6;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  font-kerning:normal;
  font-optical-sizing:auto;
}
img{ display:block; max-width:100%; }
h1,h2,h3{ text-wrap:balance; overflow-wrap:break-word; }
h1,h2{ font-family:var(--font-display); font-weight:740; line-height:1.07; letter-spacing:-0.008em; }
:focus-visible{ outline:2px solid var(--brand); outline-offset:3px; border-radius:1px; }

.skip-link{
  position:absolute; left:var(--s4); top:-48px; z-index:var(--z-sticky);
  background:var(--brand); color:#fff; font-weight:700;
  padding:var(--s2) var(--s4); border-radius:2px; text-decoration:none;
  transition:top .15s var(--ease-out);
}
.skip-link:focus{ top:var(--s4); }

/* ── Buttons & links ───────────────────────────────────────────── */
.btn{
  display:inline-block; background:var(--brand); color:#fff;
  font-weight:700; font-size:.9375rem; letter-spacing:.01em;
  padding:14px 24px; border:0; border-radius:2px; text-decoration:none;
  cursor:pointer;
  box-shadow:0 10px 28px oklch(0.30 0.10 34 / .35);
  transition:transform .15s var(--ease-out), box-shadow .15s var(--ease-out), background .15s;
}
.btn:hover{ transform:translateY(-1px); background:oklch(0.51 0.16 34); box-shadow:0 14px 34px oklch(0.30 0.10 34 / .45); }
.btn:active{ transform:translateY(0) scale(.985); }
.btn-quiet{ background:var(--ink); box-shadow:none; }
.btn-quiet:hover{ background:oklch(0.30 0.02 34); box-shadow:none; }
.btn-nav{ padding:11px 18px; font-size:.875rem; }
/* social icons that sit at the right of the nav (replace the old "This Weekend" CTA) — brand orange */
.nav-social{ display:inline-flex; align-items:center; gap:14px; }
.nav-social-icon{ display:inline-flex; color:var(--brass); padding:10px; margin:-10px -2px; transition:color .15s var(--ease-out), transform .15s var(--ease-out); }
.nav-social-icon svg{ width:21px; height:21px; }
.nav-social-icon:hover{ color:oklch(0.83 0.10 82); transform:translateY(-1px); }

.link-arrow{
  color:var(--brand-deep); font-weight:650; text-decoration:none; font-size:.9375rem;
  background:linear-gradient(currentColor,currentColor) no-repeat 0 100% / 0 1px;
  transition:background-size .25s var(--ease-out);
}
.link-arrow::after{ content:" →"; }
.link-arrow:hover{ background-size:calc(100% - 1.4em) 1px; } /* stop the underline before the " →" so the arrow hangs out on its own */
.link-arrow.on-dark{ color:var(--brass); }

/* ── Nav (lacquer, sticky) ─────────────────────────────────────── */
.site-nav{
  position:sticky; top:0; z-index:var(--z-nav);
  display:flex; align-items:center; gap:clamp(16px, 3vw, 44px);
  background:var(--lacquer);
  color:var(--on-lacquer);
  padding:14px var(--gutter);
  border-bottom:1px solid var(--brass-dim);
  transition:background .6s;
}
/* ── Logo wordmark: serif VISIT TORRINGTON with the brand T carrying the season ── */
/* The logo slot stays 40px so the header height never changes; the wordmark is
   drawn taller and top-anchored, so the extra size spills DOWNWARD — the brass
   "T" descender breaks into the header's bottom padding instead of growing it. */
.logotype{ display:inline-flex; align-items:flex-start; text-decoration:none; line-height:0; height:40px; }
.logo-wordmark{ display:block; height:48px; width:auto; }
.logo-wordmark path{ fill:var(--on-lacquer); }
.logo-wordmark--foot{ height:56px; }
.nav-links{ display:flex; align-items:center; gap:clamp(14px, 2.4vw, 32px); margin-left:auto; }
.nav-links a{
  color:var(--on-lacquer); opacity:.85; text-decoration:none;
  font-size:.9375rem; font-weight:500; letter-spacing:.01em;
  padding:10px 2px;
  transition:opacity .15s, color .15s;
}
.nav-links a:hover{ opacity:1; color:var(--brass); }

.season-switch{
  display:flex; border:1px solid var(--brass-dim); border-radius:2px; overflow:hidden;
}
.season-switch button{
  appearance:none; background:none; border:0; cursor:pointer;
  color:var(--on-lacquer-muted);
  font:600 .75rem/1 var(--font-text); letter-spacing:.09em; text-transform:uppercase;
  padding:11px 13px;
  transition:background .2s, color .2s;
}
.season-switch button + button{ border-left:1px solid var(--brass-dim); }
.season-switch button:hover{ color:var(--on-lacquer); }
.season-switch button[aria-pressed="true"]{ background:var(--season); color:#fff; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero{
  position:relative; min-height:min(92vh, 880px);
  display:flex; align-items:flex-end;
  background:var(--lacquer); color:var(--on-lacquer);
  overflow:hidden;
}
.hero-media{ position:absolute; inset:0; }
.hero-img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter:grayscale(.35) contrast(1.04) brightness(.96) saturate(1.08);
  opacity:0; transition:opacity .8s var(--ease-out);
}
.hero-img.is-active{ opacity:1; }
.hero-video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter:grayscale(.06) contrast(1.03) brightness(.9) saturate(1.06);
}
@media (prefers-reduced-motion: reduce){ .hero-video{ display:none; } }

.hero-tint{
  position:absolute; inset:0;
  background:
    linear-gradient(178deg,
      oklch(0.135 0.012 var(--season-hue) / .6) 0%,
      oklch(0.32 0.08 var(--season-hue) / .16) 36%,
      oklch(0.16 0.03 var(--season-hue) / .68) 66%,
      oklch(0.135 0.012 var(--season-hue) / .94) 100%),
    radial-gradient(120% 90% at 18% 88%, oklch(0.34 0.10 var(--season-hue) / .5), transparent 62%);
  transition:background 1s;
}
/* Brighter pillar hero (e.g. Find the Arts): show the image up top, darken
   only behind the text. Keeps the "not so dark" feel while staying legible. */
.hero--bright .hero-img{ filter:grayscale(.1) contrast(1.04) brightness(1.0) saturate(1.05); }
.hero--bright .hero-tint{
  background:linear-gradient(180deg,
    oklch(0.135 0.012 var(--season-hue) / .2) 0%,
    transparent 26%,
    transparent 42%,
    oklch(0.15 0.02 var(--season-hue) / .74) 80%,
    oklch(0.135 0.012 var(--season-hue) / .96) 100%);
}
.hero--bright .hero-content{
  text-shadow:
    0 1px 3px oklch(0.135 0.012 var(--season-hue) / .68),
    0 2px 28px oklch(0.135 0.012 var(--season-hue) / .6);
}
.hero-content{
  position:relative; z-index:1;
  padding:var(--s9) var(--gutter) clamp(56px, 8vw, 96px);
  max-width:880px;
  display:flex; flex-direction:column; gap:var(--s5);
  /* Baseline legibility over ANY seasonal image (text-shadow inherits to the
     eyebrow/heading/sub). A tight halo for crisp edges + a soft ambient glow —
     near-invisible over the dark lower frame, holds the text over a bright sky.
     Season-hue-tinted black so it never reads as a flat drop shadow. */
  text-shadow:
    0 1px 3px oklch(0.135 0.012 var(--season-hue) / .5),
    0 1px 22px oklch(0.135 0.012 var(--season-hue) / .45);
}
.hero-chip{
  display:inline-flex; align-items:center; gap:10px;
  color:var(--brass); font-weight:700; font-size:.8125rem;
  letter-spacing:.2em; text-transform:uppercase;
}
.hero-chip::before{ content:""; width:34px; height:1px; background:var(--brass); }

/* Hero eyebrows sit over a seasonal photo. A deco "marquee tag" pill gives a
   consistent dark substrate so the brass reads over ANY image (no fragile text
   shadow), replaces the rule line, and frames a leading season/topic icon. The
   plain .hero-chip above still serves the section-label eyebrows over solid bg. */
.hero .hero-chip{
  align-self:flex-start; gap:8px;
  padding:7px 15px 7px 13px; border-radius:999px;
  background:oklch(0.17 0.022 var(--season-hue) / .52);
  border:1px solid oklch(0.86 0.07 85 / .26);
  backdrop-filter:blur(3px) saturate(1.05); -webkit-backdrop-filter:blur(3px) saturate(1.05);
  text-shadow:none;
}
.hero .hero-chip::before{ display:none; } /* the rule line is replaced by the pill */
.hero .hero-chip svg{ width:15px; height:15px; flex:none; }
.hero h1{
  font-size:clamp(2.5rem, 1.3rem + 4.2vw, 4.9rem);
  font-weight:780;
  color:#fff;
  max-width:15ch;
}
.hero-sub{
  font-size:var(--text-lg); line-height:1.62; letter-spacing:.012em;
  font-weight:420; color:var(--on-lacquer); max-width:54ch;
}
.hero-ctas{ display:flex; align-items:center; gap:var(--s5); margin-top:var(--s2); flex-wrap:wrap; }
/* ── Playbill ──────────────────────────────────────────────────── */
.playbill{
  background:var(--paper);
  padding:var(--section) var(--gutter) calc(var(--section) * .7);
  max-width:1160px; margin-inline:auto;
}
.playbill-head{
  display:flex; align-items:baseline; gap:var(--s5); flex-wrap:wrap;
  border-bottom:2px solid var(--ink);
  padding-bottom:var(--s4); margin-bottom:var(--s2);
}
.playbill-head h2{ font-size:var(--text-2xl); font-weight:740; }
.playbill-lede{ color:var(--muted); font-weight:500; margin-left:auto; text-align:right; }
.playbill-head .link-arrow{ margin-left:auto; }
.playbill-row{
  display:grid; grid-template-columns:60px 72px 1fr auto; align-items:center;
  gap:var(--s4); padding:var(--s4) var(--s2);
  border-bottom:1px solid oklch(0.88 0.012 84);
  transition:background .15s;
}
.pb-thumb{ width:72px; height:72px; object-fit:cover; border-radius:3px; display:block; background:var(--lacquer-2); }
.pb-thumb--none{ background:oklch(0.92 0.01 84); }
.playbill-row:hover{ background:oklch(0.975 0.006 var(--season-hue)); }
.pb-date{
  display:flex; flex-direction:column; align-items:center; line-height:1.05;
  border-right:1px solid var(--brass-dim); padding-right:var(--s4);
}
.pb-day{ font-size:.75rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--brand-deep); }
.pb-num{ font-family:var(--font-display); font-size:1.75rem; font-weight:700; }
.pb-date--cont{ border-right-color:transparent; }
.pb-info h3{ font-size:var(--text-lg); font-weight:700; line-height:1.25; }
.playbill-row:hover .pb-info h3{ color:var(--brand-deep); }
.pb-venue{ color:var(--muted); font-size:var(--text-sm); margin-top:2px; }
.pb-tag{
  font-size:.71875rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--season-deep);
  border:1px solid color-mix(in oklch, var(--season) 45%, transparent);
  padding:6px 10px; border-radius:2px;
}
/* each Playbill row links to its event — display:contents keeps the row's grid */
.pb-rowlink{ display:contents; color:inherit; text-decoration:none; }
.pb-loading{ padding:var(--s4) var(--s2); color:var(--muted); font-size:var(--text-sm); }
/* Bottom of the board: an Art Deco divider with the calendar CTA centered in it — a thin
   rule on each side, capped by a brass motif (graduated "fountain" bars + a lozenge). */
.pbb-foot{ display:flex; align-items:center; gap:clamp(14px,2.6vw,32px); margin-top:clamp(30px,4.5vw,56px); }
.pbb-rule{ flex:1; min-width:30px; display:flex; align-items:center; }
.pbb-rule--r{ flex-direction:row-reverse; }
.pbb-rule::before{ content:""; flex:1; height:1px; background:oklch(0 0 0 / .2); }
.pbb-orn{ flex:none; width:40px; height:16px; color:var(--brass); margin-inline:9px; }
.pbb-rule--r .pbb-orn{ transform:scaleX(-1); }

/* ── The Playbill — Layout B (experiment): a compact, image-forward "weekend board".
   Days become columns; the big date numerals + event thumbnails carry the structure, so it
   stays line-light — no heavy column rules, no per-row dividers (just one fine rule under
   each date). Header reuses .playbill-head so the lede sits to the right of the title. ── */
.playbill--board .playbill-head{ margin-bottom:var(--s6); }
.pbb-board{ display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:clamp(22px,2.8vw,48px); }
.pbb-date{ display:flex; align-items:baseline; gap:10px;
  margin-bottom:var(--s4); padding-bottom:var(--s3); border-bottom:1px solid var(--brass-dim); }
.pbb-wkdy{ font:700 .78rem/1 var(--font-text); letter-spacing:.16em; text-transform:uppercase; color:var(--brand-deep); }
.pbb-num{ font-family:var(--font-display); font-size:1.9rem; font-weight:740; line-height:1; color:var(--ink); }
/* a little weekend forecast at the right of each date (glyph + the day's high) */
.pbb-wx{ display:inline-flex; align-items:center; gap:5px; align-self:center; margin-left:auto;
  font:600 .82rem/1 var(--font-text); color:var(--muted); font-variant-numeric:tabular-nums; white-space:nowrap; }
.pbb-wx svg{ width:16px; height:16px; flex:none; color:var(--brand-deep); }
.pbb-items{ display:flex; flex-direction:column; gap:var(--s1); }
.pbb-item{ display:grid; grid-template-columns:auto 1fr; gap:13px; align-items:center;
  padding:9px 8px; margin-inline:-8px; border-radius:9px;
  text-decoration:none; color:inherit; transition:background .16s var(--ease-out); }
.pbb-item:hover{ background:oklch(0.975 0.006 var(--season-hue)); }
.pbb-thumb{ width:64px; height:64px; flex:none; object-fit:cover; border-radius:7px; display:block;
  box-shadow:inset 0 0 0 1px oklch(0 0 0 / .06); }
.pbb-thumb--none{ background:oklch(0.91 0.014 var(--season-hue)); }
.pbb-main{ min-width:0; display:flex; flex-direction:column; gap:3px; }
.pbb-time{ font:700 .72rem/1 var(--font-text); letter-spacing:.04em; color:var(--brand-deep); }
.pbb-title{ font-family:var(--font-display); font-size:1.04rem; font-weight:700; line-height:1.16; color:var(--ink); }
.pbb-item:hover .pbb-title{ color:var(--brand-deep); }
.pbb-venue{ font-size:.8rem; line-height:1.3; color:var(--muted); }

/* ── Now Playing (drench) ──────────────────────────────────────── */
.now-playing{
  background:var(--season); color:#fff;
  padding:var(--section) 0 calc(var(--section) * .85);
  transition:background .9s;
}
.np-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:var(--s5);
  padding-inline:var(--gutter); margin-bottom:clamp(46px,5.5vw,80px);
  max-width:1480px; margin-inline:auto;
}
.np-head h2{ font-size:var(--text-2xl); font-weight:680; color:#fff; }
.season-cap{ text-transform:capitalize; } /* the season word in the heading (data-season-word renders lowercase) */
.np-lede{ margin-top:var(--s2); font-size:var(--text-base); font-weight:480; letter-spacing:.012em; line-height:1.7; color:#fff; max-width:46ch; }
.np-arrows{ display:flex; gap:var(--s2); }
.rail-arrow{
  width:46px; height:46px; cursor:pointer;
  background:none; border:1px solid oklch(1 0 0 / .55); border-radius:2px;
  color:#fff; font-size:1.05rem;
  transition:background .15s, border-color .15s, transform .15s var(--ease-out);
}
.rail-arrow:hover{ background:var(--season-deep); border-color:transparent; transform:translateY(-1px); }
.rail{
  list-style:none;
  display:flex; gap:var(--s5);
  overflow-x:hidden; /* a continuous auto-scrolling banner — not user-scrollable */
  padding:0 var(--gutter) var(--s4);
  scrollbar-width:none;
  user-select:none;
}
.rail::-webkit-scrollbar{ display:none; }
.poster{
  flex:0 0 clamp(252px, 24vw, 330px);
  background:var(--season-deep);
  clip-path:polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.poster img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.poster-body{ padding:var(--s4) var(--s4) var(--s5); display:flex; flex-direction:column; gap:var(--s2); }
.poster-kind{
  font-size:.71875rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase;
  color:var(--season-bright);
}
.poster-body h3{ font-family:var(--font-display); font-size:1.375rem; font-weight:700; line-height:1.12; color:#fff; }
/* the description IS a resident's quote — voiced, then attributed */
.poster-quote{ margin:0; font-size:var(--text-sm); line-height:1.6; letter-spacing:.01em; font-weight:440; font-style:italic; color:oklch(0.98 0.004 84 / .98); }
.poster-attr{ margin-top:var(--s2); font-size:.8rem; font-weight:600; letter-spacing:.015em; font-style:normal; color:oklch(0.95 0.004 84 / .9); }
/* only this season's experiences render (year-round = data-seasons="all"); the rest are hidden, not dimmed */
.poster.is-off{ display:none; }

/* ── Pillars ───────────────────────────────────────────────────── */
.pillars{
  max-width:1480px; margin-inline:auto;
  padding:var(--section) var(--gutter);
}
.pillars h2{ font-size:var(--text-2xl); font-weight:740; margin-bottom:var(--s6); }
.pillar-grid{
  display:grid; gap:var(--s5);
  grid-template-columns:repeat(4, 1fr);
  grid-auto-rows:minmax(260px, 1fr);
  grid-template-areas:
    "events events play  play"
    "events events savor shop"
    "stay   gems   savor shop";
}
.pillar-events{ grid-area:events; }
.pillar-play{ grid-area:play; }
.pillar-savor{ grid-area:savor; }
.pillar-shop{ grid-area:shop; }
.pillar-stay{ grid-area:stay; }
.pillar-gems{ grid-area:gems; }
.pillar{
  position:relative; overflow:hidden;
  background:var(--lacquer);
  clip-path:polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
/* per-tile photo library — images crossfade, the active one slowly Ken-Burns zooms */
.pillar-imgs{ position:absolute; inset:0; background:var(--lacquer); }
.pillar-imgs img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity 1.6s ease; filter:saturate(1.08) contrast(1.03);
  animation:kb 22s ease-in-out infinite alternate; /* always zooming — eases in/out, never snaps back */
}
.pillar-imgs img.is-active{ opacity:1; }
.pillar-imgs img:nth-child(2){ animation-delay:-5.5s; }
.pillar-imgs img:nth-child(3){ animation-delay:-11s; }
.pillar-imgs img:nth-child(4){ animation-delay:-16.5s; }
@keyframes kb{ from{ transform:scale(1.05); } to{ transform:scale(1.15); } }
.pillar:hover .pillar-imgs img.is-active{ filter:saturate(1.13) contrast(1.04) brightness(1.05); }
/* bright tiles — gradient sits only in the bottom third, behind the text */
.pillar-tint{
  position:absolute; inset:0;
  background:linear-gradient(to top, oklch(0.1 0.012 var(--season-hue) / .92) 2%, oklch(0.11 0.012 var(--season-hue) / .52) 24%, oklch(0.12 0.012 var(--season-hue) / .1) 46%, transparent 64%);
}
.pillar-text{
  position:absolute; left:var(--s5); right:var(--s5); bottom:var(--s5); z-index:2;
  display:flex; flex-direction:column; gap:7px; color:#fff; pointer-events:none;
}
.pillar-name{
  font-family:var(--font-display); font-size:clamp(1.4rem, 1.6vw, 1.85rem); font-weight:740; line-height:1.04;
  display:inline-flex; align-items:center; gap:11px; text-wrap:balance;
}
.pillar-name::after{
  content:"→"; font-family:var(--font-text); font-size:.7em; color:var(--brass);
  transform:translateX(-5px); opacity:0; transition:transform .25s var(--ease-out), opacity .25s;
}
.pillar:hover .pillar-name::after{ transform:none; opacity:1; }
.pillar-line{ font-size:var(--text-sm); line-height:1.5; letter-spacing:.01em; color:oklch(0.97 0.006 84 / .92); max-width:42ch; }
/* the big anchor tile carries larger display type */
.pillar-events .pillar-name{ font-size:clamp(1.9rem, 2.7vw, 3rem); }
.pillar-events .pillar-line{ font-size:var(--text-base); max-width:34ch; }
/* whole tile links to the page (stretched, accessible via aria-label); the map
   button sits above it as its own real link */
.pillar-link{ position:absolute; inset:0; z-index:1; }
.pillar-map{
  position:absolute; top:13px; right:13px; z-index:3;
  display:inline-flex; align-items:center; gap:6px;
  padding:7px 12px 7px 10px; border-radius:2px;
  background:oklch(0.14 0.02 var(--season-hue) / .58); backdrop-filter:blur(7px);
  border:1px solid oklch(1 0 0 / .28);
  color:#fff; font:700 .68rem/1 var(--font-text); letter-spacing:.08em; text-transform:uppercase; text-decoration:none;
  transition:background .15s, border-color .15s, transform .15s;
}
.pillar-map svg{ width:13px; height:13px; }
.pillar-map:hover{ background:var(--brand); border-color:transparent; transform:translateY(-1px); }
/* coming-soon tiles: dimmed, badged, non-interactive */
.pillar--soon .pillar-imgs img{ filter:grayscale(.55) brightness(.58); animation:none; }
.pillar--soon .pillar-name{ color:oklch(1 0 0 / .82); }
.pillar-soon{
  position:absolute; top:13px; right:13px; z-index:2;
  padding:6px 11px; border:1px solid oklch(1 0 0 / .42); border-radius:2px;
  color:#fff; font:700 .64rem/1 var(--font-text); letter-spacing:.16em; text-transform:uppercase;
}

/* pulse keyframe — retained for the live-pin marker (Atlas section retired) */
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 oklch(0.76 0.10 84 / .55); }
  70%{ box-shadow:0 0 0 22px oklch(0.76 0.10 84 / 0); }
  100%{ box-shadow:0 0 0 0 oklch(0.76 0.10 84 / 0); }
}

/* ── District + voice ──────────────────────────────────────────── */
.district{
  max-width:1480px; margin-inline:auto;
  padding:var(--section) var(--gutter) 0;
  display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(24px, 5vw, 72px);
  align-items:center;
}
.district-media{ position:relative; }
.district-media img{
  width:100%; aspect-ratio:4/3.4; object-fit:cover; object-position:42% 68%;
  filter:saturate(1.08) contrast(1.02); /* vibrant, full-colour — no duotone, no dark overlay */
  clip-path:polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.district-body h2{ font-size:var(--text-2xl); font-weight:740; margin-bottom:var(--s4); }
.district-body p{ max-width:54ch; margin-bottom:var(--s4); color:oklch(0.30 0.015 34); }
/* what's inside — surfaces the named venues so the section isn't just heading + paragraph */
.district-tags{ list-style:none; display:flex; flex-wrap:wrap; gap:9px; margin-bottom:var(--s5); }
.district-tags li{ display:inline-flex; align-items:center; gap:7px;
  font:600 .82rem/1 var(--font-text); letter-spacing:.01em; color:var(--ink);
  background:oklch(0.965 0.008 70); border:1px solid oklch(0 0 0 / .1);
  padding:8px 14px 8px 11px; border-radius:999px; }
.district-tags li svg{ width:15px; height:15px; flex:none; color:var(--brass); }
/* ── Local tips: season-specific resident pull quotes, peppered down the page (a friend who
   lives here). Centered, compact: smaller Hepta Slab, an oversized brass quote mark kicked up
   to the left of the first words, and a face + name attribution side by side (keeps it short).
   A photo loads over an initials circle, so a missing face degrades cleanly. */
.localtip{ max-width:900px; margin:clamp(44px,7vw,82px) auto; padding-inline:var(--gutter); text-align:center; }
/* the first quote sits under the board, whose own bottom padding already adds space above it —
   so pull it up (less top) and give it more room below to centre it before the green band */
.playbill--board + .localtip{ margin-top:clamp(16px,2.2vw,38px); margin-bottom:clamp(80px,10vw,128px); }
/* the second quote sits under the bento grid, whose section already has a full --section of
   bottom padding above it — pull it up harder and give it more room below to centre it */
.pillars + .localtip{ margin-top:clamp(6px,1vw,18px); margin-bottom:clamp(86px,11vw,140px); }
.localtip[hidden]{ display:none; }
.localtip-eyebrow{ margin:0 0 clamp(12px,1.6vw,18px); font:700 .7rem/1 var(--font-text);
  letter-spacing:.2em; text-transform:uppercase; color:var(--brass); }
.localtip-quote{ margin:0; font-family:var(--font-display); font-weight:600;
  font-size:clamp(1.1rem, 0.84rem + 1.05vw, 1.5rem); line-height:1.42; letter-spacing:-0.008em;
  color:var(--season-deep); text-wrap:balance; transition:color .9s; }
/* the big detached opening quote — oversized, brass, nudged up and to the left of the first word */
.localtip-bigq{ font-family:var(--font-display); font-weight:700; font-size:2.9em; line-height:0;
  color:var(--brass); opacity:.9; position:relative; top:0.26em; left:-0.05em; margin-right:-0.06em; }
.localtip-attr{ margin-top:clamp(15px,2.2vw,22px); display:inline-flex; align-items:center; gap:11px; text-align:left; }
.localtip-face{ position:relative; flex:none; width:46px; height:46px; border-radius:50%; overflow:hidden;
  display:grid; place-items:center; background:var(--season-deep);
  box-shadow:0 4px 11px oklch(0 0 0 / .2), inset 0 0 0 2px oklch(1 0 0 / .85); }
.localtip-initials{ font:700 .92rem/1 var(--font-display); color:#fff; }
.localtip-face img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.localtip-by{ display:flex; flex-direction:column; line-height:1.18; }
.localtip-name{ font:700 .9rem/1.2 var(--font-text); color:var(--ink); }
.localtip-who{ font:600 .72rem/1.2 var(--font-text); letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer{
  background:var(--lacquer); color:var(--on-lacquer);
  padding:var(--s9) var(--gutter) var(--s6);
  display:grid; gap:var(--s7);
  grid-template-columns:minmax(280px, 1.2fr) 2fr;
  transition:background .9s;
}
.foot-logotype{
  font-family:var(--font-display); font-weight:700; font-size:1.5rem; line-height:1;
  text-transform:uppercase; letter-spacing:.05em; margin-bottom:var(--s5);
}
.news-form label{ display:block; font-size:var(--text-base); font-weight:500; letter-spacing:.01em; margin-bottom:var(--s3); max-width:34ch; line-height:1.55; }
.news-row{ display:flex; gap:var(--s2); max-width:420px; }
.news-row input{
  flex:1; min-width:0;
  background:var(--lacquer-2); color:var(--on-lacquer);
  border:1px solid var(--brass-dim); border-radius:2px;
  padding:12px 14px; font:inherit;
}
.news-row input::placeholder{ color:oklch(0.72 0.012 84); }
.news-fine{ margin-top:var(--s2); font-size:.75rem; color:var(--on-lacquer-muted); }
.foot-cols{ display:grid; grid-template-columns:repeat(3, minmax(120px, 1fr)); gap:var(--s5); }
.foot-head{
  font-size:.75rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color:var(--brass); margin-bottom:var(--s3);
}
.foot-cols a{
  display:flex; align-items:center; gap:9px; color:var(--on-lacquer); opacity:.85; text-decoration:none;
  font-size:var(--text-sm); padding:6px 0;
  transition:color .3s var(--ease-out), opacity .3s var(--ease-out);
  /* default icon (chevron) so a future un-keyed link degrades to a glyph, never a blank square */
  --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
}
.foot-cols a:hover{ opacity:1; color:var(--brass); }
/* leading icon per footer link (mask = currentColor, so it follows the link color + hover) */
.foot-cols a::before{
  content:""; flex:none; width:15px; height:15px; opacity:.82;
  background-color:currentColor;
  -webkit-mask:var(--icon) center/contain no-repeat;
  mask:var(--icon) center/contain no-repeat;
}
/* Visit column icons (Explore + Cultural District reuse the shared page icons below) */
.foot-cols a[href$="events"]{ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E"); }
.foot-cols a[href$="places"]{ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.foot-cols a[href$="stories"]{ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2'/%3E%3Cpath d='M18 14h-8'/%3E%3Cpath d='M15 18h-5'/%3E%3Cpath d='M10 6h8v4h-8V6Z'/%3E%3C/svg%3E"); }
.foot-cols a[href$="landmark-walk"]{ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z'/%3E%3Cpath d='M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z'/%3E%3Cpath d='M16 17h4'/%3E%3Cpath d='M4 13h4'/%3E%3C/svg%3E"); }
/* Follow column — the social links all share href="#", so key them by position */
.foot-cols > div:last-child a:nth-of-type(1){ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E"); }
.foot-cols > div:last-child a:nth-of-type(2){ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='20' x='2' y='2' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' x2='17.51' y1='6.5' y2='6.5'/%3E%3C/svg%3E"); }
.foot-cols > div:last-child a:nth-of-type(3){ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17'/%3E%3Cpath d='m10 15 5-3-5-3z'/%3E%3C/svg%3E"); }
.foot-legal{
  grid-column:1 / -1;
  display:flex; justify-content:space-between; gap:var(--s4); flex-wrap:wrap;
  border-top:1px solid var(--brass-dim); padding-top:var(--s5);
  font-size:.8125rem; color:var(--on-lacquer-muted);
}
.foot-legal a{ color:var(--on-lacquer-muted); text-decoration:none; margin-left:var(--s4); }
.foot-legal a:hover{ color:var(--brass); }
.assistant-dock{ position:fixed; right:var(--s5); bottom:var(--s5); z-index:var(--z-assistant); }

/* ── Season veil (switch beat) ─────────────────────────────────── */
.season-veil{
  position:fixed; inset:0; z-index:var(--z-veil); pointer-events:none;
  background:linear-gradient(180deg, var(--season-deep), var(--season));
  clip-path:inset(0 0 100% 0);
}
/* season-gated content: any element with data-season-only is hidden when the active
   season isn't in its (space-separated) list. The engine toggles .season-hide. */
.season-hide{ display:none !important; }

/* ── Pillar pages ──────────────────────────────────────────────── */
.hero--pillar{ min-height:min(66vh, 660px); }
.hero--pillar .hero-content{ padding-top:var(--s6); padding-bottom:clamp(44px, 6vw, 80px); }

/* The Arts Map — full-bleed LIVE map + card carousel (comparison option C) */
.artsgl{ background:var(--lacquer); }
.artsgl-stage{ position:relative; height:clamp(560px, 92vh, 1180px); }
.artsgl-map{ position:absolute; inset:0; }
.artsgl-map canvas{ outline:none; }
/* keep Mapbox logo + attribution (ToS) but quiet them right down */
.artsgl .mapboxgl-ctrl-logo{ opacity:.3; transition:opacity .2s; }
.artsgl .mapboxgl-ctrl-logo:hover{ opacity:.7; }
.artsgl .mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib{ background:oklch(0.135 0.012 84 / .35); }
.artsgl .mapboxgl-ctrl-attrib-button{ opacity:.4; transition:opacity .2s; }
.artsgl .mapboxgl-ctrl-attrib-button:hover{ opacity:.85; }
.artsgl-vignette{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(transparent 52%, oklch(0.135 0.012 var(--season-hue) / .82) 100%),
    radial-gradient(120% 80% at 50% 30%, transparent 60%, oklch(0.135 0.012 var(--season-hue) / .4));
}
.artsgl-plate{
  position:absolute; left:var(--gutter); top:var(--s6); z-index:2;
  max-width:380px;
  background:oklch(0.135 0.012 var(--season-hue) / .92);
  backdrop-filter:blur(3px);
  border:1px solid var(--brass-dim);
  padding:var(--s5) var(--s6);
}
.artsgl-plate h2{ color:#fff; font-size:var(--text-xl); }
.artsgl-plate p{ margin-top:var(--s2); font-size:var(--text-sm); line-height:1.6; color:var(--on-lacquer); }
.artsgl-filters{ display:flex; flex-wrap:wrap; gap:6px; margin-top:var(--s4); }
.artsgl-filters button{
  appearance:none; cursor:pointer;
  background:none; border:1px solid var(--brass-dim); border-radius:2px;
  color:var(--on-lacquer-muted);
  font:700 .6875rem/1 var(--font-text); letter-spacing:.08em; text-transform:uppercase;
  padding:8px 11px;
  transition:background .15s, color .15s, border-color .15s;
}
.artsgl-filters button:hover{ color:#fff; }
.artsgl-filters button[aria-pressed="true"]{ background:var(--brand); color:#fff; border-color:transparent; }
.artsgl-dock{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  display:flex; flex-direction:column; gap:var(--s2);
  padding-top:72px;
  background:linear-gradient(transparent, oklch(0.135 0.012 var(--season-hue) / .9) 46%);
}
.artsgl-nav{
  display:flex; gap:var(--s2);
  padding:0 var(--gutter); /* flush-left, in line with the cards below */
}
.artsgl-arrow{
  width:46px; height:46px; cursor:pointer;
  background:oklch(0.135 0.012 var(--season-hue) / .92); backdrop-filter:blur(3px);
  border:1px solid var(--brass-dim); border-radius:2px;
  color:var(--brass); font-size:1.1rem; line-height:1;
  transition:background .15s, color .15s, border-color .15s, opacity .15s, transform .15s var(--ease-out);
}
.artsgl-arrow:hover:not(:disabled){ background:var(--brand); color:#fff; border-color:transparent; transform:translateY(-1px); }
.artsgl-arrow:disabled{ opacity:.28; cursor:default; }
.artsgl-showall{
  width:auto; padding:0 16px;
  font:700 .6875rem/1 var(--font-text); letter-spacing:.1em; text-transform:uppercase;
}

/* live markers */
.gl-pin{
  appearance:none; cursor:pointer;
  width:30px; height:30px; border-radius:50% 50% 50% 2px;
  transform:rotate(45deg);
  display:grid; place-items:center;
  background:oklch(0.135 0.012 84 / .9); border:1.5px solid var(--brass);
  transition:background .2s, border-color .2s, transform .2s var(--ease-out);
}
.gl-pin span{ transform:rotate(-45deg); font:700 .6875rem/1 var(--font-text); color:var(--brass); }
.gl-pin--far{ border-style:dashed; }
.gl-pin:hover, .gl-pin.is-active{ background:var(--brand); border-color:transparent; transform:rotate(45deg) scale(1.18); z-index:2; }
.gl-pin:hover span, .gl-pin.is-active span{ color:#fff; }
.gl-pin.is-related{ background:var(--brass); border-color:transparent; }
.gl-pin.is-related span{ color:var(--lacquer); }
.gl-pin.is-faded{ opacity:.32; }

/* cinematic card carousel */
.artsgl-strip{
  list-style:none; position:relative;
  display:flex; align-items:flex-end; gap:var(--s3);
  overflow-x:auto; scroll-snap-type:x proximity;
  scroll-padding-left:var(--gutter);
  /* left-anchored: rests flush-left; the big right pad lets the LAST card
     still reach the left anchor (keeps active card ↔ active pin in sync).
     small top pad gives the raised active card clearance below the arrows. */
  padding:var(--s3) max(var(--gutter), calc(100% - 252px - var(--gutter))) var(--s5) var(--gutter);
  scrollbar-width:none;
}
.artsgl-strip::-webkit-scrollbar{ display:none; }

/* ── Winter map: a master-detail rail (replaces the old plate + dock) ─────────── */
.skimap-rail{
  position:absolute; left:var(--s6); top:var(--s6); bottom:var(--s6); z-index:2;
  width:min(360px, calc(100% - var(--s6) * 2));
  display:flex; flex-direction:column;
  background:oklch(0.23 0.035 245 / 0.9); /* frosted wintry slate-blue */
  backdrop-filter:blur(5px);
  border:1px solid var(--brass-dim);
  overflow:hidden;
}
.skimap-rail-head{ padding:var(--s5) var(--s5) var(--s4); border-bottom:1px solid var(--brass-dim); }
.skimap-rail-head h2{ color:#fff; font-size:var(--text-xl); margin-top:4px; }
.skimap-rail-head p{ margin-top:var(--s2); font-size:.8125rem; line-height:1.55; color:var(--on-lacquer); }
.skimap-spots{ list-style:none; flex:1 1 auto; overflow-y:auto; padding:var(--s2); }
.skimap-spots::-webkit-scrollbar{ width:8px; }
.skimap-spots::-webkit-scrollbar-thumb{ background:var(--brass-dim); border-radius:4px; }
.skimap-spot{ border-radius:3px; transition:background .15s; }
.skimap-spot + .skimap-spot{ margin-top:4px; }
.skimap-spot.is-active{ background:oklch(0.32 0.045 245); }
.skimap-spot-btn{
  appearance:none; cursor:pointer; width:100%; text-align:left;
  display:flex; gap:var(--s3); align-items:center; padding:8px; background:none; border:0;
}
.skimap-spot-thumb{ width:62px; height:62px; border-radius:3px; object-fit:cover; flex:0 0 auto; background:var(--lacquer-2); }
.skimap-spot.is-active .skimap-spot-thumb{ display:none; } /* the active card leads with a full banner instead */
.skimap-spot-text{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.skimap-spot-acts{ display:flex; flex-wrap:wrap; gap:5px; }
.skimap-spot-acts em{ font-style:normal; font:700 .5625rem/1 var(--font-text); letter-spacing:.07em; text-transform:uppercase; color:var(--brass); }
.skimap-spot-text strong{ color:#fff; font-size:.9375rem; font-weight:700; line-height:1.15; }
.skimap-spot-meta{ font-size:.72rem; color:var(--on-lacquer-muted); }
.skimap-spot-detail{ display:none; padding:0 8px 12px; }
.skimap-spot.is-active .skimap-spot-detail{ display:block; }
.skimap-spot-banner{ width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:3px; display:block; margin:0 0 var(--s3); }
.skimap-spot-detail > p{ font-size:.8125rem; line-height:1.55; color:var(--on-lacquer); margin:0 0 var(--s3); }
.skimap-spot-links{ display:flex; align-items:center; gap:var(--s4); flex-wrap:wrap; }
.skimap-legend{ list-style:none; display:flex; flex-wrap:wrap; gap:10px; margin-bottom:var(--s3); }
.skimap-legend li{ display:flex; align-items:center; gap:6px; font-size:.625rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--on-lacquer-muted); }
.skimap-legend span{ width:16px; height:3px; border-radius:2px; background:var(--c); }
.skimap-osm{ padding:8px var(--s5) var(--s4); font-size:.5625rem; letter-spacing:.03em; color:var(--on-lacquer-muted); opacity:.8; border-top:1px solid var(--brass-dim); }
/* the winter (ski) map is light; hide its dark edge-vignette. the trail map is dark again, so its vignette stays */
#winter-map .artsgl-vignette{ display:none; }
.scene{
  position:relative; flex:0 0 252px; scroll-snap-align:start;
  background:oklch(0.165 0.013 var(--season-hue) / .97);
  border:1px solid var(--brass-dim);
  cursor:pointer; overflow:hidden;
  opacity:.72;
  transition:transform .3s var(--ease-out), opacity .3s, border-color .2s;
}
.scene:hover{ opacity:1; }
.scene.is-active{ opacity:1; transform:translateY(-10px); border-color:var(--brass); box-shadow:0 18px 44px rgba(0,0,0,.5); }
.scene:focus-visible{ outline:2px solid var(--brass); outline-offset:2px; }
.scene-pic{ position:relative; display:block; }
.scene-pic img{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block; filter:grayscale(.18) contrast(1.02); }
.scene-num{
  position:absolute; left:8px; top:8px;
  min-width:24px; height:24px; padding:0 5px;
  display:grid; place-items:center;
  background:var(--lacquer); border:1px solid var(--brass);
  font-family:var(--font-display); font-weight:740; font-size:.71875rem; color:var(--brass);
}
.scene.is-active .scene-num{ background:var(--brand); color:#fff; border-color:transparent; }
.scene-body{ padding:var(--s3) var(--s4) var(--s4); display:flex; flex-direction:column; gap:3px; }
.scene-body .org{
  color:#fff; font-weight:700; font-size:.9375rem; line-height:1.25; text-decoration:none;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  min-height:2.5em; /* reserve 2 lines so every card is the same height */
}
.scene-body .blurb{
  font-size:.78125rem; line-height:1.45; color:var(--on-lacquer-muted);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  min-height:2.9em; /* reserve 2 lines */
}
.scene-where{
  margin-top:5px; font-size:.6875rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  line-height:1.3; color:var(--brass);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  min-height:2.6em; /* reserve 2 lines so long location notes don't change card height */
}
.scene-visit{
  align-self:flex-start; margin-top:var(--s3);
  display:inline-flex; align-items:center; gap:6px;
  background:none; color:var(--brass);
  border:1px solid var(--brass); border-radius:2px;
  font:700 .71875rem/1 var(--font-text); letter-spacing:.07em; text-transform:uppercase;
  padding:9px 13px; text-decoration:none;
  transition:background .15s, color .15s, border-color .15s, transform .15s var(--ease-out);
}
.scene-visit:hover{ background:var(--brand); color:#fff; border-color:transparent; transform:translateY(-1px); }
.scene-visit span{ font-size:.9em; }
.scene-divider{
  flex:0 0 auto; align-self:center;
  writing-mode:vertical-rl; transform:rotate(180deg);
  font-family:var(--font-display); font-weight:740; font-size:.9375rem; letter-spacing:.04em;
  color:var(--brass); padding:var(--s4) var(--s2);
  border-left:1px solid var(--brass-dim); border-right:1px solid var(--brass-dim);
}

/* Trail cards (Get Outdoors) — stat-forward, no photo, difficulty-coloured head */
.scene--trail .trail-head{
  display:flex; align-items:center; gap:10px;
  padding:var(--s3) var(--s4);
  background:color-mix(in oklch, var(--diff) 20%, var(--lacquer-2));
  border-bottom:2px solid var(--diff);
}
.trail-num{ font-family:var(--font-display); font-weight:740; font-size:1.0625rem; color:#fff; }
.trail-diff{ font-size:.6875rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--diff); }
.trail-blaze{ margin-left:auto; font-size:.625rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--on-lacquer-muted); }
.scene--trail .scene-body{ gap:7px; }
.scene--trail .org{ min-height:2.5em; }
.trail-stats{ list-style:none; display:flex; flex-wrap:wrap; gap:6px; min-height:3.1em; align-content:flex-start; }
.trail-stats li{
  font-size:.71875rem; font-weight:600; color:var(--on-lacquer);
  background:var(--lacquer); border:1px solid var(--brass-dim);
  padding:4px 9px; border-radius:2px;
}
.trail-legend{ list-style:none; display:flex; flex-wrap:wrap; gap:var(--s4); margin-top:var(--s4); }
.trail-legend li{ display:flex; align-items:center; gap:7px; font-size:.6875rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--on-lacquer-muted); }
.trail-legend span{ width:18px; height:3px; border-radius:2px; background:var(--c); }

/* Trailhead markers (parking + directions) */
.th-marker{
  width:24px; height:24px; cursor:pointer;
  display:grid; place-items:center;
  background:var(--lacquer); border:1px solid var(--brass); border-radius:50%;
  color:var(--brass);
  box-shadow:0 2px 8px rgba(0,0,0,.45);
  transition:background .15s, color .15s, transform .15s var(--ease-out);
}
.th-marker:hover{ background:var(--brass); color:var(--lacquer); transform:scale(1.12); }
.th-marker svg{ width:13px; height:13px; }
.th-popup .mapboxgl-popup-content{
  background:var(--lacquer); border:1px solid var(--brass-dim);
  padding:12px 16px; border-radius:2px; box-shadow:0 14px 40px rgba(0,0,0,.5);
}
.th-popup .mapboxgl-popup-tip{ display:none; }
.th-popup strong{ display:block; font-family:var(--font-display); font-weight:740; font-size:1rem; color:#fff; margin-bottom:3px; }
.th-popup span{ font-size:.8125rem; line-height:1.5; color:var(--on-lacquer-muted); }
.th-popup a{ color:var(--brass); font-weight:600; text-decoration:none; }
.th-popup a:hover{ text-decoration:underline; }
.th-popup .mapboxgl-popup-close-button{ color:var(--on-lacquer-muted); font-size:18px; padding:2px 7px; }
.th-popup .mapboxgl-popup-close-button:hover{ background:none; color:#fff; }

/* Hike intro banner (light section) */
.hike-banner{ margin-top:var(--s6); }
.hike-banner img{
  width:100%; aspect-ratio:21/9; object-fit:cover;
  filter:grayscale(.15) contrast(1.03);
  clip-path:polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.hike-banner figcaption{ margin-top:var(--s3); font-size:var(--text-sm); color:var(--muted); font-style:italic; }

/* The Tour of the Litchfield Hills — marquee cycling event */
.biketour{
  position:relative; min-height:min(80vh, 740px);
  display:flex; align-items:flex-end; overflow:hidden;
  background:var(--lacquer);
}
.biketour-bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 42%;
}
.biketour::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(178deg,
    oklch(0.135 0.012 var(--season-hue) / .15) 0%,
    transparent 28%,
    oklch(0.16 0.02 var(--season-hue) / .5) 64%,
    oklch(0.135 0.012 var(--season-hue) / .93) 100%);
}
.biketour-panel{
  position:relative; z-index:1;
  padding:var(--s9) var(--gutter) clamp(48px, 7vw, 88px);
  max-width:700px;
  display:flex; flex-direction:column; gap:var(--s4); color:#fff;
}
.biketour-kicker{ color:var(--brass); font-weight:700; font-size:.8125rem; letter-spacing:.18em; text-transform:uppercase; }
.biketour h2{
  font-size:clamp(2.2rem, 1.3rem + 3.2vw, 3.5rem); color:#fff; line-height:1.05;
  text-shadow:0 2px 22px oklch(0.135 0.012 var(--season-hue) / .6);
}
.biketour-lede{
  font-size:var(--text-lg); line-height:1.6; max-width:54ch; font-weight:420;
  color:oklch(0.97 0.005 84 / .96); text-shadow:0 1px 14px oklch(0.135 0.012 var(--season-hue) / .6);
}
.biketour-distances{ list-style:none; display:flex; flex-wrap:wrap; gap:var(--s3); margin-top:var(--s2); }
.biketour-distances li{
  display:flex; align-items:baseline; gap:4px;
  font-family:var(--font-display); font-weight:740; font-size:1.625rem; color:#fff; line-height:1;
  background:oklch(0.135 0.012 var(--season-hue) / .55); backdrop-filter:blur(5px);
  border:1px solid var(--brass-dim); border-radius:2px; padding:10px 15px;
}
.biketour-distances li span{ font-family:var(--font-text); font-weight:600; font-size:.71875rem; letter-spacing:.07em; text-transform:uppercase; color:var(--brass); }
.biketour-distances .is-century{ border-color:var(--brass); background:oklch(0.62 0.17 34 / .32); }
.biketour-distances .is-century span{ color:#fff; }
.biketour-note{ font-size:var(--text-sm); color:oklch(0.93 0.01 84 / .92); }
.biketour-panel .btn{ align-self:flex-start; margin-top:var(--s2); }
@media (max-width: 740px){
  .biketour{ min-height:auto; }
  .biketour-distances li{ font-size:1.375rem; padding:8px 12px; }
}

/* Bring the Kids — LIGHT section (relief after the immersive map) with a drench color card.
   Subtle seasonal-tinted wash so it reads distinct from the pure-white Stories below. */
.kids{ background:oklch(0.965 0.013 var(--season-hue)); color:var(--ink); transition:background .9s; }
.kids--plain{ background:var(--paper); }   /* get-outdoors: pure white between the dark map + dark bike-tour */
.kids-inner{
  max-width:1160px; margin-inline:auto;
  padding:var(--s9) var(--gutter);
  display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(24px, 5vw, 72px); align-items:center;
}
.kids h2{ color:var(--ink); font-size:var(--text-2xl); }
.kids p{ margin-top:var(--s4); line-height:1.7; letter-spacing:.012em; color:oklch(0.30 0.015 34); max-width:50ch; }
.kids-ctas{ display:flex; gap:var(--s4); margin-top:var(--s5); flex-wrap:wrap; align-items:center; }
.kids-card{
  background:var(--season-deep);
  padding:var(--s6);
  clip-path:polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  display:flex; flex-direction:column; gap:var(--s3);
}
.kids-card strong{ font-family:var(--font-display); font-weight:740; font-size:1.375rem; line-height:1.2; color:#fff; }
.kids-card span{ font-size:var(--text-sm); line-height:1.6; color:oklch(0.97 0.005 84 / .95); }

/* Story tiles */
.stories{ max-width:1160px; margin-inline:auto; padding:var(--section) var(--gutter); }
.stories-head{ display:flex; align-items:baseline; gap:var(--s5); flex-wrap:wrap; margin-bottom:var(--s6); }
.stories-head h2{ font-size:var(--text-2xl); }
.stories-head .link-arrow{ margin-left:auto; }
.story-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(290px, 1fr)); gap:var(--s5); }
.story-tile{ display:block; text-decoration:none; color:var(--ink); }
.story-tile img{
  width:100%; aspect-ratio:16/10; object-fit:cover;
  filter:grayscale(.25) contrast(1.03);
  clip-path:polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition:filter .3s;
}
.story-tile:hover img{ filter:grayscale(0) contrast(1.03); }
.story-tile h3{ margin-top:var(--s3); font-size:1.1875rem; font-weight:700; line-height:1.3; }
.story-tile:hover h3{ color:var(--brand-deep); }
.story-tile time{ display:block; margin-top:4px; font-size:.8125rem; color:var(--muted); font-weight:500; }

/* Next-door handoff + community submit */
/* a raised, seasonally-tinted band so the hand-off reads as its OWN section, not more footer —
   a soft seasonal glow fills the gap between the title and the CTA */
.next-door{
  background:
    radial-gradient(135% 130% at 78% 50%, oklch(0.34 0.10 var(--season-hue) / .45), transparent 62%),
    oklch(0.225 0.075 var(--season-hue));
  color:var(--on-lacquer); text-decoration:none;
  display:flex; align-items:center; justify-content:space-between; gap:var(--s5); flex-wrap:wrap;
  padding:var(--s7) var(--gutter);
  transition:background .9s;
}
.next-door p{ font-size:.8125rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--brass); }
.next-door strong{ display:block; margin-top:6px; font-family:var(--font-display); font-weight:740; font-size:1.625rem; color:#fff; letter-spacing:0; text-transform:none; }
/* hovering the band lights up the "Keep exploring" CTA (not the title) + nudges its arrow out */
.next-door:hover .link-arrow{ background-size:calc(100% - 1.4em) 1px; color:oklch(0.97 0.006 84); }
.next-door .link-arrow::after{ display:inline-block; transition:transform .25s var(--ease-out); }
.next-door:hover .link-arrow::after{ transform:translateX(5px); }
/* destination pillar icon (js-injected) — small, inline before the title; bottom on the baseline */
.next-door-icon{ display:inline-block; vertical-align:baseline; margin-right:10px; color:var(--brass); }
.next-door-icon svg{ display:block; width:22px; height:22px; }
.submit-strip{
  background:var(--paper);
  max-width:1160px; margin-inline:auto;
  padding:var(--s8) var(--gutter);
  display:flex; align-items:center; justify-content:space-between; gap:var(--s5); flex-wrap:wrap;
  border-top:1px solid oklch(0.9 0.01 84);
}
.submit-strip p{ font-size:var(--text-lg); font-weight:600; max-width:44ch; }
.submit-strip small{ display:block; margin-top:4px; font-size:var(--text-sm); font-weight:400; color:var(--muted); }

/* ── Feature presentation (video facade + screen) ─────────────── */
.feature{ max-width:1160px; margin-inline:auto; padding:var(--section) var(--gutter); }
.feature--dark{ max-width:none; background:var(--lacquer); transition:background .9s; }
.feature--dark > *{ max-width:1160px; margin-inline:auto; }
.feature-head{ display:flex; align-items:last baseline; gap:var(--s5); flex-wrap:wrap; margin-bottom:var(--s6); }
.feature-head h2{ font-size:var(--text-2xl); }
.feature--dark .feature-head h2{ color:#fff; }
.feature-head p{ color:var(--muted); font-weight:500; max-width:52ch; }
.feature--dark .feature-head p{ color:var(--on-lacquer-muted); }

.film{
  position:relative; display:block; width:100%; padding:0; border:0; cursor:pointer;
  background:var(--lacquer); text-align:left;
  clip-path:polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.film img{
  display:block; width:100%; aspect-ratio:16/9; object-fit:cover;
  filter:grayscale(.35) contrast(1.04) brightness(.82);
  transition:filter .35s, transform .8s var(--ease-out);
}
.film::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(185deg, oklch(0.135 0.012 var(--season-hue) / .25), transparent 35%, oklch(0.135 0.012 var(--season-hue) / .7) 100%);
}
.film:hover img{ filter:grayscale(0) contrast(1.04) brightness(.92); transform:scale(1.015); }
.play-marquee{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:1;
  width:88px; height:88px; border-radius:50%;
  display:grid; place-items:center;
  background:oklch(0.135 0.012 84 / .68);
  border:1px solid var(--brass);
  color:#fff;
  transition:background .2s, transform .2s var(--ease-out);
}
.play-marquee svg{ margin-left:5px; }
.film:hover .play-marquee{ background:var(--brand); border-color:transparent; transform:translate(-50%,-50%) scale(1.07); }
.play-marquee::before{
  content:""; position:absolute; inset:-1px; border-radius:50%;
  box-shadow:0 0 0 0 oklch(0.76 0.10 84 / .5);
  animation:pulse 3s var(--ease-out) infinite;
}
/* Interactive-map cue (the 3D walk tile launches a map, not a video) */
.map-cue{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:1;
  display:inline-flex; align-items:center; gap:9px;
  padding:13px 20px; border-radius:99px;
  background:oklch(0.135 0.012 84 / .66); border:1px solid var(--brass);
  color:#fff; font:700 .78rem/1 var(--font-text); letter-spacing:.12em; text-transform:uppercase;
  -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
  transition:background .2s, border-color .2s, transform .2s var(--ease-out);
}
.map-cue svg{ width:19px; height:19px; }
.film:hover .map-cue{ background:var(--brand); border-color:transparent; transform:translate(-50%,-52%); }
.film-meta{
  position:absolute; left:var(--s5); bottom:var(--s4); z-index:1;
  display:flex; flex-direction:column; gap:2px; color:#fff;
  text-shadow:0 1px 12px rgba(0,0,0,.6);
}
.film-meta strong{ font-family:var(--font-display); font-weight:740; font-size:1.25rem; }
.film-meta span{ font-size:.71875rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--brass); }

.film-screen{ border:0; padding:0; background:transparent; width:min(1080px, 94vw); }
.film-screen::backdrop{ background:oklch(0.07 0.01 84 / .93); }
.screen-wrap{ position:relative; }
.screen-box{ aspect-ratio:16/9; background:#000; border:1px solid var(--brass-dim); }
.screen-box iframe{ display:block; width:100%; height:100%; border:0; }
.film-close{
  position:absolute; right:0; top:-46px;
  background:none; border:1px solid var(--brass-dim); border-radius:2px; cursor:pointer;
  color:#fff; font:700 .75rem/1 var(--font-text); letter-spacing:.12em; text-transform:uppercase;
  padding:10px 14px;
  transition:background .15s, border-color .15s;
}
.film-close:hover{ background:var(--brand); border-color:transparent; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1060px){
  .nav-links{ display:none; }
  .pillar-grid{ grid-template-columns:1fr 1fr; grid-auto-rows:288px; grid-template-areas:"events play" "savor shop" "stay gems"; }
  .pillar-events .pillar-name{ font-size:clamp(1.6rem, 4.5vw, 2.1rem); }
  .site-footer{ grid-template-columns:1fr; }
  .kids-inner{ grid-template-columns:1fr; }
}
@media (max-width: 740px){
  .artsgl-stage{ height:auto; }
  .artsgl-map{ position:relative; height:60vh; }
  .artsgl-plate{ position:static; max-width:none; border:0; background:none; backdrop-filter:none; padding:var(--s5) var(--gutter) 0; }
  .artsgl-vignette{ display:none; }
  .artsgl-dock{ position:static; background:none; padding-top:0; }
  .artsgl-nav{ display:none; } /* touch users swipe the strip */
  .artsgl-strip{ padding:var(--s4) var(--gutter) var(--s5); }

  /* Trail / Arts map → mobile bottom sheet: the map fills the section and the
     cards live in a peeking sheet over it, so the map and the selection stay
     co-visible (the old static stack scrolled the map off-screen). Scoped away
     from the winter ski map, which keeps its own stacked layout below. */
  .artsgl:not(.skimap) .artsgl-stage{ height:86svh; min-height:540px; scroll-margin-top:84px; }
  .artsgl:not(.skimap) .artsgl-map{ position:absolute; inset:0; height:auto; }
  .artsgl:not(.skimap) .artsgl-vignette{ display:block; }
  /* Title + filters stick just under the (sticky, 75px) nav so they stay reachable
     while the map scrolls beneath; the sheet at the bottom holds the cards. */
  .artsgl:not(.skimap) .artsgl-plate{ position:sticky; top:75px; left:auto; right:auto; z-index:2; max-width:none; border:0;
    padding:var(--s4) var(--gutter) var(--s5);
    background:linear-gradient(oklch(0.10 0.012 var(--season-hue)/.96) 58%, transparent 100%); backdrop-filter:none; }
  .artsgl:not(.skimap) .artsgl-plate h2{ font-size:var(--text-lg); }
  .artsgl:not(.skimap) .artsgl-plate p,
  .artsgl:not(.skimap) .trail-legend{ display:none; }
  .artsgl:not(.skimap) .artsgl-dock{ position:absolute; left:0; right:0; bottom:0; top:auto; z-index:3;
    gap:0; padding:0 0 max(6px, env(safe-area-inset-bottom));
    background:oklch(0.115 0.012 var(--season-hue)/.97); backdrop-filter:blur(8px);
    border-top:1px solid var(--brass-dim); border-radius:16px 16px 0 0;
    box-shadow:0 -14px 40px rgba(0,0,0,.5);
    max-height:46svh; transition:max-height .35s var(--ease-out); touch-action:none; }
  .artsgl:not(.skimap) .artsgl-dock::before{ content:""; display:block; flex:none; width:42px; height:4px;
    border-radius:99px; background:var(--brass-dim); margin:9px auto 4px; }
  .artsgl:not(.skimap) .artsgl-dock.is-open{ max-height:86svh; }
  .artsgl:not(.skimap) .artsgl-strip{ padding:4px var(--gutter) 10px; align-items:stretch; }
  .artsgl:not(.skimap) .artsgl-dock.is-open .artsgl-strip{ flex-direction:column; overflow-x:hidden; overflow-y:auto; gap:var(--s3); }
  .artsgl:not(.skimap) .artsgl-dock.is-open .scene{ width:100%; }
  /* Locate button: the plate occupies the top of the map on phones, so drop the
     top-right controls into the clear map band below it. */
  .artsgl:not(.skimap) .mapboxgl-ctrl-top-right{ margin-top:128px; }

  /* winter rail: stack above the map instead of overlaying it */
  .skimap .artsgl-stage{ display:flex; flex-direction:column; }
  .skimap .artsgl-map{ order:2; }
  .skimap-rail{ order:1; position:static; inset:auto; width:auto; border:0; background:none; backdrop-filter:none; }
  .skimap-rail-head{ padding:var(--s5) var(--gutter) var(--s3); }
  .skimap-spots{ overflow:visible; padding:0 var(--gutter) var(--s4); }
  .skimap-osm{ padding:var(--s2) var(--gutter) var(--s5); border:0; }
  .scene{ opacity:1; }
  .scene.is-active{ transform:none; }
  .site-nav{ flex-wrap:wrap; row-gap:var(--s3); }
  .season-switch{ order:3; width:100%; }
  .season-switch button{ flex:1; }
  .btn-nav{ margin-left:auto; }
  .hero{ min-height:88vh; }
  .playbill-row{ grid-template-columns:48px 56px 1fr; gap:var(--s3); }
  .pb-thumb{ width:56px; height:56px; }
  .pb-tag{ display:none; }
  .pillar-grid{ grid-template-columns:1fr; grid-auto-rows:270px; grid-template-areas:"events" "play" "savor" "shop" "stay" "gems"; }
  .district{ grid-template-columns:1fr; }
}

/* ── Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   EAT LOCAL — "The Bill of Fare"
   Now Serving (lacquer editorial spotlights) → faceted white directory.
   ════════════════════════════════════════════════════════════════ */

.btn-sm{ padding:9px 16px; font-size:.875rem; box-shadow:0 6px 18px oklch(0.30 0.10 34 / .3); }

/* ── Now Serving — lacquer editorial trio ─────────────────────── */
.nowserving{ background:var(--lacquer); color:var(--on-lacquer); padding:var(--section) 0; transition:background .9s; }
.nowserving-head{ max-width:1200px; margin-inline:auto; padding-inline:var(--gutter); margin-bottom:var(--s7); }
.nowserving-head h2{ font-size:var(--text-2xl); color:var(--on-lacquer); }
.nowserving-head p{ margin-top:var(--s3); color:var(--on-lacquer-muted); max-width:62ch; line-height:1.6; }
.nowserving-loading{ color:var(--on-lacquer-muted); max-width:1200px; margin-inline:auto; padding-inline:var(--gutter); }

.nowserving-grid{ max-width:1200px; margin-inline:auto; padding-inline:var(--gutter);
  display:grid; grid-template-columns:repeat(2, 1fr); gap:clamp(20px, 3vw, 40px); }

.spotlight{ display:flex; flex-direction:column; }
.spotlight-media{ overflow:hidden; background:var(--lacquer-2); border-radius:3px; }
.spotlight-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; display:block;
  transition:transform 1.1s var(--ease-out); }
.spotlight:hover .spotlight-media img{ transform:scale(1.045); }
.spotlight-body{ padding-top:var(--s4); display:flex; flex-direction:column; gap:var(--s2); }
.spotlight-kicker{ color:var(--brass); font-weight:700; font-size:.8125rem; letter-spacing:.14em; text-transform:uppercase; }
.spotlight-name{ font-family:var(--font-display); font-weight:740; font-size:var(--text-xl); line-height:1.1; color:var(--on-lacquer); }
.spotlight-blurb{ color:var(--on-lacquer-muted); line-height:1.6; font-size:var(--text-sm); }
.spotlight-actions{ margin-top:var(--s3); display:flex; align-items:center; gap:var(--s5); }
.spotlight-actions .link-arrow{ color:var(--brass); }

.spotlight--lead{ grid-column:1 / -1; display:grid; grid-template-columns:1.25fr 1fr;
  gap:clamp(24px, 3vw, 48px); align-items:center; margin-bottom:var(--s3); }
.spotlight--lead .spotlight-media img{ aspect-ratio:16/10; }
.spotlight--lead .spotlight-body{ padding-top:0; }
.spotlight--lead .spotlight-name{ font-size:var(--text-2xl); }
.spotlight--lead .spotlight-blurb{ font-size:var(--text-base); max-width:48ch; }

/* ── The Bill of Fare — playbill white directory ──────────────── */
.fare{ background:var(--paper); color:var(--ink); padding:var(--section) 0 var(--s9); }
.fare-head{ max-width:none; padding-inline:var(--gutter); margin-bottom:var(--s6); }
.fare-head h2{ font-size:var(--text-2xl); }
.fare-head p{ margin-top:var(--s3); color:var(--muted); max-width:64ch; line-height:1.6; }

/* sticky, full-bleed filter bar */
.fare-controls{ position:sticky; top:var(--nav-h, 57px); z-index:var(--z-sticky);
  background:oklch(1 0 0 / .95); backdrop-filter:blur(12px) saturate(1.08);
  border-bottom:1px solid oklch(0.88 0.01 var(--season-hue));
  padding:var(--s4) 0 var(--s3); }
.fare-courses, .fare-refine, .fare-statusrow{ padding-inline:var(--gutter); }

/* courses = menu-section tabs (single-select) */
.fare-courses{ display:flex; flex-wrap:wrap; gap:clamp(14px, 1.8vw, 32px); align-items:baseline; }
.fare-chip{ font-family:var(--font-text); cursor:pointer; background:transparent; border:0; }
.fare-courses .fare-chip{ position:relative; padding:2px 0 9px; border-radius:0;
  font-weight:650; font-size:1.0625rem; color:var(--muted); transition:color .15s; }
.fare-courses .fare-chip:hover{ color:var(--ink); }
.fare-courses .fare-chip.is-active{ color:var(--brand-deep); }
.fare-courses .fare-chip.is-active::after{ content:""; position:absolute; left:0; right:0; bottom:0;
  height:3px; background:var(--brand); border-radius:3px 3px 0 0; }
.fare-chip-n{ font-size:.7rem; font-weight:700; color:var(--muted); margin-left:4px; vertical-align:.42em; font-variant-numeric:tabular-nums; }
.fare-courses .fare-chip.is-active .fare-chip-n{ color:var(--brand); }

/* refine = quiet secondary chips (multi-select, no counts) */
.fare-refine{ display:flex; flex-wrap:wrap; align-items:center; gap:var(--s2); margin-top:var(--s4); }
.fare-tags{ display:flex; flex-wrap:wrap; gap:var(--s2); align-items:center; }
.fare-chip--refine{ display:inline-flex; align-items:center; font-weight:550; font-size:.78rem;
  color:var(--muted); letter-spacing:.01em; border:1px solid oklch(0.86 0.012 var(--season-hue));
  border-radius:999px; padding:4px 12px; transition:background .15s, border-color .15s, color .15s; }
.fare-chip--refine:hover{ color:var(--ink); border-color:var(--muted); }
.fare-chip--refine.is-active{ background:var(--brand); border-color:var(--brand); color:#fff; }
.fare-divider{ width:1px; height:18px; background:oklch(0.86 0.01 var(--season-hue)); margin-inline:var(--s2); }

.fare-statusrow{ display:flex; align-items:center; gap:var(--s4); margin-top:var(--s3); }
.fare-count{ font-size:.8125rem; color:var(--muted); font-variant-numeric:tabular-nums; letter-spacing:.01em; }

.fare-list{ min-width:0; min-height:42vh; padding-left:var(--gutter); padding-right:clamp(16px, 1.6vw, 32px); }
.fare-state{ color:var(--muted); padding:var(--s7) 0; }

.fare-course{ margin-bottom:var(--s8); }
.fare-course-title{ display:flex; align-items:baseline; gap:var(--s3);
  font-family:var(--font-display); font-weight:740; font-size:var(--text-xl); color:var(--ink);
  padding-bottom:var(--s3); border-bottom:2px solid var(--ink); margin-bottom:var(--s1); }
.fare-course-title em{ font-style:normal; font-family:var(--font-text); font-weight:600;
  font-size:.8125rem; color:var(--muted); margin-left:auto; align-self:center; font-variant-numeric:tabular-nums; }

.fare-rows{ display:flex; flex-direction:column; }
.fare-row{ display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:var(--s4);
  padding:var(--s4) var(--s2); border-bottom:1px solid oklch(0.91 0.008 var(--season-hue));
  transition:background .15s; }
.fare-row:hover, .fare-row.is-near{ background:oklch(0.96 0.016 var(--season-hue)); cursor:pointer; }
.fare-thumb{ width:62px; height:62px; flex:none; border-radius:3px; overflow:hidden;
  display:grid; place-items:center;
  background:linear-gradient(152deg, oklch(0.93 0.035 var(--season-hue)), oklch(0.87 0.055 var(--season-hue))); }
.fare-img{ width:100%; height:100%; object-fit:cover; }
/* ── Venue marks ─────────────────────────────────────────────────────────────
   The icon a place wears until it sends a real photo of itself (js/food-icons.js).
   Five course hues held at one lightness and chroma, so a 58-row directory gets
   rhythm without becoming a rainbow. A real photo always replaces the mark. */
.fare-mark{ display:grid; place-items:center; width:100%; height:100%;
  background:linear-gradient(152deg, oklch(0.955 0.030 var(--mark-hue)), oklch(0.892 0.058 var(--mark-hue)));
  color:oklch(0.455 0.085 var(--mark-hue)); }
.fare-mark[data-tone="bar"]        { --mark-hue: 40;    }
.fare-mark[data-tone="cafe"]       { --mark-hue: 133.8; }
.fare-mark[data-tone="quick"]      { --mark-hue: 181.4; }
.fare-mark[data-tone="restaurant"] { --mark-hue: 239.7; }
.fare-mark[data-tone="market"]     { --mark-hue: 113.7; }
.fare-mark svg{ width:52%; height:52%; }
.fare-mark--sm svg{ width:56%; height:56%; }
.fare-mark--lg svg{ width:38%; height:38%; }
/* On the lacquer sections a pale tile punches a bright hole in the page, so the
   mark inverts there: the tile joins the dark and the glyph carries the hue. */
.spotlight-media .fare-mark,
.fare-pop-media .fare-mark{
  background:linear-gradient(152deg, oklch(0.345 0.030 var(--mark-hue)), oklch(0.275 0.026 var(--mark-hue)));
  color:oklch(0.805 0.082 var(--mark-hue)); }
/* No <img> means no intrinsic ratio — hold the shape the photo would have had. */
.spotlight-media[data-mark]{ aspect-ratio:4/3; }
.spotlight--lead .spotlight-media[data-mark]{ aspect-ratio:16/10; }
.fare-pop-media[data-mark]{ height:120px; }
.fare-main{ min-width:0; }
.fare-name{ font-family:var(--font-display); font-weight:700; font-size:var(--text-lg); line-height:1.15; color:var(--ink); }
.fare-meta{ font-size:.82rem; color:var(--brand-deep); font-weight:600; margin-top:3px; }
.fare-blurb{ font-size:var(--text-sm); color:var(--muted); line-height:1.5; margin-top:5px; max-width:64ch;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.fare-actions{ display:flex; flex-direction:column; align-items:flex-end; gap:7px; flex:none; }
.fare-visit{ font-weight:700; font-size:.8125rem; color:#fff; background:var(--brand);
  padding:7px 13px; border-radius:2px; text-decoration:none; white-space:nowrap;
  transition:transform .15s var(--ease-out), background .15s; }
.fare-visit:hover{ transform:translateY(-1px); background:oklch(0.57 0.165 34); }
.fare-dir{ font-size:.8125rem; font-weight:600; color:var(--brand-deep); text-decoration:none; white-space:nowrap; }
.fare-dir:hover{ text-decoration:underline; }

.fare-empty{ text-align:center; padding:var(--s9) var(--gutter); }
.fare-empty-title{ font-family:var(--font-display); font-weight:740; font-size:var(--text-xl); color:var(--ink); margin-bottom:var(--s2); }
.fare-empty p{ color:var(--muted); }
.fare-empty .btn{ margin-top:var(--s5); }

@media (max-width: 880px){
  .nowserving-grid{ grid-template-columns:1fr; }
  .spotlight--lead{ grid-template-columns:1fr; gap:var(--s4); }
  .spotlight--lead .spotlight-body{ padding-top:var(--s3); }
}
@media (max-width: 720px){
  .fare-controls{ position:static; }
}
/* rows adapt to the SIDEBAR column width, not the viewport — stack the actions
   under the text when the list column gets narrow */
.fare-list{ container-type:inline-size; }
@container (max-width: 430px){
  .fare-row{ grid-template-columns:auto 1fr; row-gap:var(--s2); }
  .fare-actions{ grid-column:2; flex-direction:row; align-items:center; justify-content:flex-start; gap:var(--s4); margin-top:2px; }
}
@media (prefers-reduced-motion: reduce){
  .spotlight:hover .spotlight-media img{ transform:none; }
}

/* ── The Bill of Fare — Map view ──────────────────────────────── */
/* list (2fr) + sticky companion map (1fr) */
/* full-bleed: list sidebar (1/3, left) + dominant sticky map (2/3, right, bleeds to edge) */
.fare-split{ display:grid; grid-template-columns:minmax(300px, 1fr) 2fr; gap:0; max-width:none; align-items:start; }
.fare-mapcol{ position:sticky; top:var(--fare-map-top, 200px);
  height:calc(100vh - var(--fare-map-top, 200px) - 12px); }
.fare-map{ width:100%; height:100%; border-radius:10px 0 0 10px; overflow:hidden; background:var(--lacquer);
  border:1px solid oklch(0.86 0.012 var(--season-hue)); border-right:0;
  box-shadow:-14px 0 44px oklch(0.13 0.02 var(--season-hue) / .16); }
.fare-map .mapboxgl-ctrl-logo, .fare-map .mapboxgl-ctrl-attrib-button{ opacity:.4; }


.fare-pop .mapboxgl-popup-content{ background:var(--lacquer-2); color:var(--on-lacquer); padding:0;
  border-radius:5px; overflow:hidden; border:1px solid var(--brass-dim);
  box-shadow:0 16px 44px oklch(0.10 0.02 34 / .6); }
.fare-pop .mapboxgl-popup-close-button{ color:var(--on-lacquer-muted); font-size:18px; padding:1px 8px; z-index:2; }
.fare-pop .mapboxgl-popup-close-button:hover{ background:transparent; color:#fff; }
.fare-pop.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{ border-bottom-color:var(--lacquer-2); }
.fare-pop.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{ border-top-color:var(--lacquer-2); }
.fare-pop.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{ border-right-color:var(--lacquer-2); }
.fare-pop.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{ border-left-color:var(--lacquer-2); }
.fare-pop-in{ width:260px; }
.fare-pop-img{ width:100%; height:120px; object-fit:cover; display:block; }
.fare-pop-body{ padding:var(--s4); display:flex; flex-direction:column; gap:6px; }
.fare-pop-name{ font-family:var(--font-display); font-weight:740; font-size:1.0625rem; color:var(--on-lacquer); line-height:1.15; }
.fare-pop-meta{ font-size:.78rem; color:var(--brass); font-weight:600; }
.fare-pop-blurb{ font-size:.82rem; color:var(--on-lacquer-muted); line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.fare-pop-act{ display:flex; gap:var(--s4); margin-top:6px; align-items:center; }
.fare-pop-act a{ font-weight:700; font-size:.8125rem; text-decoration:none; white-space:nowrap; }
.fare-pop-act a:first-child{ color:#fff; background:var(--brand); padding:6px 12px; border-radius:2px; }
.fare-pop-act a:first-child:hover{ background:oklch(0.57 0.165 34); }
.fare-pop-act a:last-child{ color:var(--brass); }
.fare-pop-act a:only-child{ color:var(--brass); background:transparent; padding:0; }

@media (max-width: 900px){
  .fare-split{ grid-template-columns:1fr; }
  .fare-mapcol{ display:none; }   /* mobile: list only — Directions covers "where" */
  .fare-list{ padding-right:var(--gutter); }
}

/* ════════════════════════════════════════════════════════════════
   CULTURAL DISTRICT page — overview map (5-category) + public-art band
   ════════════════════════════════════════════════════════════════ */
.distmap{ background:var(--lacquer); }
.distmap-stage{ position:relative; height:clamp(520px, 82vh, 920px); }
.distmap-map{ position:absolute; inset:0; }
.distmap-map canvas{ outline:none; }
.distmap .mapboxgl-ctrl-logo{ opacity:.3; }
.distmap .mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib{ background:oklch(0.135 0.012 84 / .35); }
.distmap .mapboxgl-ctrl-attrib-button{ opacity:.4; }
.distmap-vignette{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(transparent 58%, oklch(0.135 0.012 var(--season-hue) / .55)),
    radial-gradient(135% 95% at 82% 26%, transparent 52%, oklch(0.135 0.012 var(--season-hue) / .34));
}
.distmap-plate{
  position:absolute; left:var(--gutter); top:var(--s6); z-index:2; max-width:400px;
  background:oklch(0.135 0.012 var(--season-hue) / .92); backdrop-filter:blur(4px);
  border:1px solid var(--brass-dim); padding:var(--s5) var(--s6);
}
.distmap-plate h2{ color:#fff; font-size:var(--text-xl); }
.distmap-plate h1{ color:#fff; font-size:var(--text-2xl); font-weight:740; line-height:1.05; letter-spacing:-0.01em; }
.distmap-plate .hero-chip{ margin-bottom:var(--s2); }
.distmap-plate p{ margin-top:var(--s2); font-size:var(--text-sm); line-height:1.6; color:var(--on-lacquer); }

/* ── Atlas search: filter the whole map by name, category, or keyword ──── */
.atlas-search{ position:relative; margin-top:var(--s4); }
.atlas-search-ico{ position:absolute; left:13px; top:50%; transform:translateY(-50%); width:16px; height:16px;
  color:var(--on-lacquer-muted); pointer-events:none; transition:color .2s var(--ease-out); }
.atlas-search:focus-within .atlas-search-ico{ color:var(--brass); }
.atlas-search-input{ width:100%; appearance:none; box-sizing:border-box;
  background:oklch(0.135 0.012 84 / .55); border:1px solid oklch(1 0 0 / .14); border-radius:10px;
  padding:11px 38px; color:#fff; font:550 .85rem/1.2 var(--font-text); letter-spacing:.005em;
  transition:border-color .2s var(--ease-out), background .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.atlas-search-input::placeholder{ color:var(--on-lacquer-muted); opacity:.9; }
.atlas-search-input:hover{ border-color:oklch(1 0 0 / .24); }
.atlas-search-input:focus{ outline:none; border-color:var(--brass);
  background:oklch(0.135 0.012 84 / .8); box-shadow:0 0 0 3px color-mix(in oklch, var(--brass) 22%, transparent); }
.atlas-search-input::-webkit-search-cancel-button,
.atlas-search-input::-webkit-search-decoration{ -webkit-appearance:none; display:none; }
.atlas-search-clear{ position:absolute; right:7px; top:50%; transform:translateY(-50%);
  display:flex; align-items:center; justify-content:center; width:26px; height:26px;
  appearance:none; cursor:pointer; border:0; background:transparent; border-radius:50%;
  color:var(--on-lacquer-muted); transition:color .15s, background .15s; }
.atlas-search-clear svg{ width:15px; height:15px; }
.atlas-search-clear:hover{ color:#fff; background:oklch(1 0 0 / .08); }
.atlas-search-clear:focus-visible{ outline:2px solid var(--brass); outline-offset:1px; }
.atlas-search-results{ position:absolute; left:0; right:0; top:calc(100% + 6px); z-index:6;
  background:oklch(0.125 0.012 var(--season-hue) / .97); backdrop-filter:blur(8px);
  border:1px solid var(--brass-dim); border-radius:11px; padding:5px; max-height:min(48vh,360px); overflow-y:auto;
  box-shadow:0 18px 40px oklch(0 0 0 / .5);
  scrollbar-width:thin; scrollbar-color:color-mix(in oklch, var(--brass) 45%, transparent) transparent; }
.atlas-search-results::-webkit-scrollbar{ width:10px; }
.atlas-search-results::-webkit-scrollbar-track{ background:transparent; }
.atlas-search-results::-webkit-scrollbar-thumb{ background:color-mix(in oklch, var(--brass) 42%, transparent);
  border:3px solid transparent; background-clip:padding-box; border-radius:99px; }
.atlas-search-results::-webkit-scrollbar-thumb:hover{ background:color-mix(in oklch, var(--brass) 70%, transparent); background-clip:padding-box; }
.atlas-res{ display:flex; align-items:center; gap:11px; width:100%; text-align:left;
  appearance:none; cursor:pointer; border:0; background:transparent; border-radius:7px; padding:8px 9px;
  transition:background .13s var(--ease-out); }
.atlas-res:hover, .atlas-res.is-active{ background:oklch(1 0 0 / .07); }
.atlas-res-dot{ width:10px; height:10px; border-radius:50%; background:var(--c); flex:none;
  box-shadow:0 0 0 1px oklch(1 0 0 / .22); }
.atlas-res-txt{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.atlas-res-name{ color:#fff; font:620 .82rem/1.15 var(--font-text); letter-spacing:.004em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.atlas-res-meta{ color:var(--on-lacquer-muted); font:560 .69rem/1.1 var(--font-text); letter-spacing:.01em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-transform:capitalize; }
.atlas-res-none{ margin:0; padding:11px 10px; color:var(--on-lacquer-muted); font:560 .78rem/1.45 var(--font-text); }

.distmap-legend{ display:flex; flex-direction:column; gap:5px; margin-top:var(--s4); transition:opacity .25s var(--ease-out); }
.distmap-legend.is-muted{ opacity:.32; } /* event mode → the Places menu reads as deactivated */
.distmap-legend.is-suspended{ opacity:.4; } /* a search drives the map → the category chips read as suspended */
.legend-chip{
  display:inline-flex; align-items:center; gap:9px; cursor:pointer; text-align:left; width:100%;
  background:none; border:0; padding:6px 4px; border-radius:2px;
  color:var(--on-lacquer-muted); font:600 .8125rem/1 var(--font-text); letter-spacing:.01em;
  transition:color .15s, opacity .15s;
}
.legend-chip:hover{ color:#fff; }
.legend-chip:not(.is-on){ opacity:.38; }
.legend-dot{ width:12px; height:12px; border-radius:50%; background:var(--c);
  box-shadow:0 0 0 1px oklch(1 0 0 / .25); flex:none; }
.legend-n{ margin-left:auto; padding-left:var(--s4); font-size:.71875rem; font-weight:700;
  color:var(--on-lacquer-muted); font-variant-numeric:tabular-nums; }

/* ── Atlas controls: view toggle + the "Happening" overlay ─────── */
.atlas-views{ display:flex; gap:2px; margin-top:var(--s4); padding:3px;
  background:oklch(0.135 0.012 84 / .55); border:1px solid oklch(1 0 0 / .08); border-radius:9px; }
.atlas-view{ flex:1; appearance:none; cursor:pointer; border:0; background:transparent; text-align:center;
  color:var(--on-lacquer-muted); font:600 .8125rem/1 var(--font-text); letter-spacing:.01em; padding:8px 10px;
  border-radius:6px; transition:color .2s var(--ease-out), background .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.atlas-view:hover{ color:#fff; }
.atlas-view[aria-pressed="true"]{ color:oklch(0.20 0.02 84); background:var(--brass); box-shadow:0 2px 12px oklch(0 0 0 / .4); }
.atlas-view:focus-visible{ outline:2px solid var(--brass); outline-offset:2px; }

/* ── Accordion: "Explore Places" (categories) ⟷ "Events Happening" (when). Single-open;
   the body height animates so the plate fills the space rather than jumping. ── */
.atlas-section{ border-top:1px solid oklch(1 0 0 / .09); }
.atlas-section:first-of-type{ margin-top:var(--s4); }
.atlas-acc-head{ display:flex; align-items:center; gap:10px; width:100%; appearance:none; cursor:pointer; border:0;
  background:transparent; padding:13px 2px; color:var(--on-lacquer); font:680 .9375rem/1 var(--font-text); letter-spacing:.005em;
  transition:color .2s var(--ease-out); }
.atlas-acc-head:hover{ color:#fff; }
.atlas-section.is-open > .atlas-acc-head{ color:#fff; }
.atlas-acc-head:focus-visible{ outline:2px solid var(--season-bright); outline-offset:2px; border-radius:4px; }
.atlas-acc-chev{ width:13px; height:13px; flex:none; color:var(--on-lacquer-muted);
  transition:transform .26s var(--ease-out), color .2s; }
.atlas-section.is-open > .atlas-acc-head .atlas-acc-chev{ transform:rotate(90deg); color:var(--season-bright); }
.atlas-acc-n{ margin-left:auto; white-space:nowrap; font:700 .7rem/1 var(--font-text); font-variant-numeric:tabular-nums;
  color:var(--season-bright); background:color-mix(in oklch, var(--season-bright) 15%, transparent); padding:4px 9px; border-radius:99px; }
.atlas-acc-n:empty{ display:none; }
.atlas-acc-body{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .28s var(--ease-out); }
.atlas-section.is-open > .atlas-acc-body{ grid-template-rows:1fr; }
.atlas-acc-inner{ overflow:hidden; min-height:0; }
.atlas-acc-inner > *{ margin:0 0 13px; }
.atlas-when{ display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; margin:0 0 10px; }
.atlas-when-btn{ appearance:none; cursor:pointer; background:oklch(1 0 0 / .03); border:1px solid oklch(1 0 0 / .12);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; text-align:center;
  color:var(--on-lacquer-muted); padding:16px 8px; border-radius:9px; min-width:0; min-height:62px;
  transition:color .18s var(--ease-out), background .18s var(--ease-out), border-color .18s var(--ease-out); }
.atlas-when-btn:hover{ color:#fff; border-color:oklch(1 0 0 / .26); background:oklch(1 0 0 / .06); }
.atlas-when-btn[aria-pressed="true"]{ color:oklch(0.20 0.03 var(--season-hue, 84)); background:var(--season-bright); border-color:transparent; }
.atlas-when-btn:focus-visible{ outline:2px solid var(--season-bright); outline-offset:2px; }
.when-lbl{ font:650 .76rem/1.1 var(--font-text); letter-spacing:-.005em; white-space:nowrap; }
.when-dt{ font:600 .66rem/1 var(--font-text); opacity:.62; font-variant-numeric:tabular-nums; letter-spacing:0; white-space:nowrap; }
.atlas-when-btn[aria-pressed="true"] .when-dt{ opacity:.8; }

/* "View the full calendar" — a plain teal text link (no button chrome), with breathing room */
.atlas-cal-btn{ display:flex; align-items:center; justify-content:center; gap:9px; width:100%; text-decoration:none;
  padding:17px 14px 6px; cursor:pointer; background:transparent; border:0;
  color:var(--season-bright); font:660 .84rem/1 var(--font-text); letter-spacing:.01em;
  transition:color .18s var(--ease-out); }
.atlas-cal-btn:hover{ color:#fff; }
.atlas-cal-btn:focus-visible{ outline:2px solid var(--season-bright); outline-offset:3px; border-radius:5px; }
.atlas-cal-btn svg{ width:15px; height:15px; flex:none; }
.atlas-cal-btn .cal-arrow{ width:14px; height:14px; transition:transform .18s var(--ease-out); }
.atlas-cal-btn:hover .cal-arrow{ transform:translateX(3px); }

/* ── Event map cards: a thumbnail + title floating over a venue with a leader line.
   (evm- prefix — NOT the .ev-card events-listing cards below.) ─── */
.evm-mk{ position:relative; width:0; height:0; pointer-events:none; }
.evm-curve{ position:absolute; left:0; top:0; width:1px; height:1px; overflow:visible; pointer-events:none; }
.evm-curve path{ fill:none; stroke:var(--season-bright); stroke-width:2; stroke-linecap:round; opacity:.82;
  filter:drop-shadow(0 1px 2px oklch(0 0 0 / .55)); }
.evm-cardblock{ position:absolute; transform:translate(-50%,-50%); display:flex; flex-direction:column; align-items:flex-start; }
.evm-card{ pointer-events:auto; cursor:pointer; appearance:none; text-align:left; display:flex; gap:9px; align-items:center;
  background:oklch(0.17 0.02 260 / .94); border:1px solid var(--season-bright); border-radius:11px; padding:6px 12px 6px 6px;
  box-shadow:0 8px 22px oklch(0 0 0 / .5); width:242px; -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
  transition:transform .15s var(--ease-out); }
.evm-card:hover{ transform:translateY(-2px); }
.evm-thumb{ width:44px; height:44px; border-radius:7px; object-fit:cover; flex:none; background:oklch(0.3 0.02 260); }
.evm-thumb--none{ display:inline-block; }
.evm-body{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.evm-when{ font:700 .6rem/1 var(--font-text); letter-spacing:.045em; text-transform:uppercase; color:var(--season-bright); white-space:nowrap; }
.evm-title{ font:650 .78rem/1.2 var(--font-text); color:#fff;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.evm-more{ font:600 .62rem/1 var(--font-text); color:var(--on-lacquer-muted); margin-top:1px; }
.evm-dot{ width:9px; height:9px; border-radius:50%; background:var(--season-bright);
  box-shadow:0 0 0 4px color-mix(in oklch, var(--season-bright) 25%, transparent); }
.evm-dot--anchor{ position:absolute; left:0; top:0; transform:translate(-50%,-50%); }
.evm-cluster{ position:absolute; left:0; top:0; transform:translate(-50%,-50%);
  pointer-events:auto; cursor:pointer; appearance:none; display:flex; flex-direction:column; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:50%; padding:0;
  background:oklch(0.16 0.02 260 / .9); border:1.5px solid var(--season-bright); color:#fff;
  box-shadow:0 0 0 4px color-mix(in oklch, var(--season-bright) 16%, transparent), 0 6px 18px oklch(0 0 0 / .5);
  -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); transition:transform .15s var(--ease-out); }
.evm-cluster:hover{ transform:translate(-50%,-50%) scale(1.08); }
.evm-cluster-n{ font:800 .95rem/1 var(--font-text); }
.evm-cluster-lbl{ font:700 .46rem/1 var(--font-text); letter-spacing:.07em; text-transform:uppercase; color:var(--season-bright); margin-top:1px; }
.evm-count{ align-self:flex-start; transform-origin:left center; margin:0 0 4px 3px; white-space:nowrap;
  font:800 .62rem/1 var(--font-text); letter-spacing:.045em; color:var(--season-bright); text-shadow:0 1px 4px oklch(0 0 0 / .7); }
.evm-count.is-now{ color:#ff6a4d; text-shadow:0 0 10px oklch(0.7 0.2 30 / .6), 0 1px 4px oklch(0 0 0 / .7);
  animation:evm-throb 1.05s ease-in-out infinite; }
@keyframes evm-throb{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.5; transform:scale(1.1); } }
@media (prefers-reduced-motion: reduce){ .evm-count.is-now{ animation:none; } }

/* events list inside a venue popup (the .fare-pop card is dark — light text) */
.atlas-ev-list{ list-style:none; margin:var(--s2) 0 0; padding:0; display:flex; flex-direction:column; }
.atlas-ev{ border-top:1px solid oklch(1 0 0 / .1); }
.atlas-ev:first-child{ border-top:0; }
.atlas-ev-link{ display:flex; align-items:center; gap:8px; margin:0 -6px; padding:8px 6px 8px 7px;
  text-decoration:none; border-radius:8px; cursor:pointer; transition:background .14s var(--ease-out); }
.atlas-ev-link.is-static{ cursor:default; }
.atlas-ev-link:hover, .atlas-ev-link:focus-visible{ background:oklch(1 0 0 / .07); outline:none; }
.atlas-ev-text{ display:flex; flex-direction:column; gap:1px; flex:1; min-width:0; }
.atlas-ev-when{ font-size:.68rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--brass); }
.atlas-ev-title{ font-size:.84rem; line-height:1.3; color:var(--on-lacquer); }
.atlas-ev-go{ flex:none; color:var(--brass); opacity:.5; font-size:.95rem; line-height:1; transition:opacity .14s; }
.atlas-ev-link:hover .atlas-ev-go, .atlas-ev-link:focus-visible .atlas-ev-go{ opacity:.95; }
.atlas-ev-link.is-static .atlas-ev-go{ display:none; }
.atlas-ev-more{ padding:7px 0 0 7px; font-size:.74rem; font-weight:600; color:var(--on-lacquer-muted); }

.pubart{ background:var(--lacquer-2); color:var(--on-lacquer); transition:background .9s; }
.pubart-inner{
  max-width:1160px; margin-inline:auto; padding:var(--section) var(--gutter);
  display:grid; grid-template-columns:1.1fr .9fr; gap:var(--s6) clamp(40px,6vw,88px); align-items:start;
}
.pubart-lead{ display:flex; flex-direction:column; align-items:flex-start; gap:var(--s3); }
.pubart h2{ color:#fff; font-size:var(--text-2xl); max-width:18ch; }
.pubart p{ max-width:52ch; line-height:1.7; color:var(--on-lacquer-muted); }
.pubart .link-arrow{ margin-top:var(--s2); }
.pubart-plan{
  background:oklch(1 0 0 / .035); border:1px solid var(--brass-dim); border-radius:5px;
  padding:var(--s5); display:flex; flex-direction:column; align-items:flex-start; gap:var(--s2);
}
.pubart-plan h3{ color:#fff; font-family:var(--font-display); font-weight:740; font-size:var(--text-lg); }
.pubart-plan p{ max-width:42ch; }
.pubart-lots{ display:flex; flex-direction:column; gap:7px; margin:6px 0 var(--s2); width:100%; }
.pubart-lots span{ font-size:.875rem; color:var(--on-lacquer-muted); padding-bottom:7px; border-bottom:1px solid oklch(1 0 0 / .06); }
.pubart-lots span:last-child{ border-bottom:0; padding-bottom:0; }
.pubart-lots b{ color:var(--on-lacquer); font-weight:700; }
@media (max-width:740px){ .pubart-inner{ grid-template-columns:1fr; } }

@media (max-width: 740px){
  /* Atlas / Cultural District → mobile bottom sheet: a full-height map with the
     controls (search, views, category filters) in a peeking, scrollable sheet,
     so the map stays visible while you filter. Tap the handle to expand. */
  .distmap-stage{ height:86svh; min-height:540px; scroll-margin-top:84px; }
  .distmap-map{ position:absolute; inset:0; height:auto; }
  .distmap-vignette{ display:block; }
  .distmap-plate{ position:absolute; left:0; right:0; bottom:0; top:auto; z-index:3; max-width:none; margin:0;
    border:0; border-top:1px solid var(--brass-dim); border-radius:16px 16px 0 0;
    background:oklch(0.115 0.012 var(--season-hue)/.98); backdrop-filter:blur(8px);
    box-shadow:0 -14px 40px rgba(0,0,0,.5);
    max-height:44svh; overflow-y:auto; overscroll-behavior:contain; touch-action:pan-y; -webkit-overflow-scrolling:touch;
    padding:0 var(--gutter) max(12px, env(safe-area-inset-bottom));
    transition:max-height .35s var(--ease-out); }
  .distmap-plate::before{ content:""; position:sticky; top:0; z-index:1; display:block; flex:none; width:42px; height:4px;
    border-radius:99px; background:var(--brass-dim); margin:9px auto 8px; }
  .distmap-plate.is-open{ max-height:88svh; }
  .distmap-plate .hero-chip{ margin-bottom:4px; }
  .distmap-plate h1{ font-size:var(--text-xl); }
  .distmap-plate > p:not(.hero-chip){ display:none; }

  /* The Atlas takes it further: the whole panel hides off the bottom and is pulled
     up by a left "file-folder" tab, so the map is unobstructed until you reach for it. */
  .placesmap .distmap-stage{ overflow:hidden; }
  .placesmap .distmap-plate{ max-width:none; max-height:none; overflow:visible; background:none; border:0;
    backdrop-filter:none; box-shadow:none; padding:0; transform:translateY(100%);
    transition:transform .42s var(--ease-out); }
  .placesmap .distmap-plate.is-open{ transform:translateY(0); }
  .placesmap .distmap-plate::before{ display:none; }
  .placesmap .distmap-sheet-body{ background:oklch(0.115 0.012 var(--season-hue)/.985); backdrop-filter:blur(8px);
    border-top:1px solid var(--brass-dim); border-radius:16px 16px 0 0; box-shadow:0 -16px 44px rgba(0,0,0,.55);
    max-height:80svh; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch;
    padding:var(--s4) var(--gutter) max(16px, env(safe-area-inset-bottom)); }
  .placesmap .distmap-sheet-body > p:not(.hero-chip){ display:none; }
  .placesmap .distmap-tab{ position:absolute; bottom:100%; left:16px; z-index:2;
    display:flex; align-items:center; gap:9px; margin:0; padding:10px 17px 12px;
    background:oklch(0.13 0.012 var(--season-hue)/.985); backdrop-filter:blur(8px);
    border:1px solid var(--brass-dim); border-bottom:0; border-radius:13px 13px 0 0;
    box-shadow:0 -10px 26px rgba(0,0,0,.4); cursor:pointer; -webkit-tap-highlight-color:transparent; touch-action:none;
    color:var(--on-lacquer); font-family:var(--font-text); font-size:.84rem; font-weight:600; letter-spacing:.01em; }
  .placesmap .distmap-tab-grip{ position:relative; flex:none; width:20px; height:9px; }
  .placesmap .distmap-tab-grip::before, .placesmap .distmap-tab-grip::after{ content:""; position:absolute; left:0; right:0;
    height:2px; border-radius:2px; background:var(--brass); }
  .placesmap .distmap-tab-grip::before{ top:1px; }
  .placesmap .distmap-tab-grip::after{ bottom:1px; }
  .placesmap .distmap-tab-chev{ flex:none; width:15px; height:15px; color:var(--brass);
    transition:transform .3s var(--ease-out); }
  .placesmap .distmap-plate.is-open .distmap-tab-chev{ transform:rotate(180deg); }
}

/* Atlas folder-tab is mobile-only — on desktop the panel is the static control plate. */
@media (min-width: 741px){
  .placesmap .distmap-tab{ display:none; }
  .placesmap .distmap-sheet-body{ display:contents; }
}

/* ── Explore dropdown (desktop nav) ────────────────────────────── */
.nav-drop{ position:relative; }
.nav-drop::after{ content:""; position:absolute; top:100%; left:0; right:0; height:10px; } /* hover bridge */
.nav-drop-btn{
  display:inline-flex; align-items:center; gap:5px;
  background:none; border:0; cursor:pointer;
  color:var(--on-lacquer); opacity:.85;
  font-family:var(--font-text); font-size:.9375rem; font-weight:500; letter-spacing:.01em;
  padding:10px 2px;
  transition:opacity .15s, color .15s;
}
.nav-drop:hover .nav-drop-btn, .nav-drop:focus-within .nav-drop-btn, .nav-drop.is-open .nav-drop-btn{ opacity:1; color:var(--brass); }
.nav-chev{ width:13px; height:13px; transition:transform .2s var(--ease-out); }
.nav-drop:hover .nav-chev, .nav-drop:focus-within .nav-chev, .nav-drop.is-open .nav-chev{ transform:rotate(180deg); }
.nav-menu{
  position:absolute; top:calc(100% + 10px); left:50%;
  transform:translateX(-50%) translateY(-8px);
  min-width:266px;
  background:var(--lacquer-2); border:1px solid var(--brass-dim); border-radius:7px;
  padding:9px;
  box-shadow:0 22px 52px oklch(0.07 0.01 84 / .66);
  opacity:0; pointer-events:none;
  transition:opacity .18s var(--ease-out), transform .22s var(--ease-out);
  z-index:var(--z-sticky);
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.is-open .nav-menu{
  opacity:1; pointer-events:auto; transform:translateX(-50%) translateY(0);
}
.nav-menu a, .nav-menu-soon{
  display:flex; align-items:center; gap:11px;
  padding:11px 14px; border-radius:5px; text-decoration:none;
  font-size:.9rem; font-weight:500; letter-spacing:.01em; color:var(--on-lacquer);
  white-space:nowrap;
  /* each item trickles in on open (entrance delay = --d); hover colour stays snappy (no delay) */
  opacity:0; transform:translateY(6px);
  transition:opacity .24s var(--ease-out) var(--d,0s), transform .28s var(--ease-out) var(--d,0s),
    background .15s var(--ease-out), color .15s var(--ease-out);
}
.nav-drop:hover .nav-menu a, .nav-drop:hover .nav-menu-soon,
.nav-drop:focus-within .nav-menu a, .nav-drop:focus-within .nav-menu-soon, .nav-drop.is-open .nav-menu a{ opacity:1; transform:translateY(0); }
.nav-menu a:nth-child(1){ --d:.02s } .nav-menu a:nth-child(2){ --d:.05s }
.nav-menu a:nth-child(3){ --d:.08s } .nav-menu a:nth-child(4){ --d:.11s }
.nav-menu a:nth-child(5){ --d:.14s } .nav-menu a:nth-child(6){ --d:.17s }
.nav-menu a:hover, .nav-menu a:focus-visible{ background:oklch(1 0 0 / .08); color:var(--brass); outline:none; }
.nav-menu a[aria-current="page"]{ color:var(--brass); }
@media (prefers-reduced-motion: reduce){
  .nav-menu a{ transform:none; transition:opacity .12s var(--ease-out), background .12s, color .12s; }
}
.nav-menu-soon{ color:var(--on-lacquer-muted); opacity:.55; cursor:default; }
.nav-menu-soon em{
  margin-left:auto;
  font-style:normal; font-size:.6rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--on-lacquer-muted); border:1px solid var(--brass-dim); border-radius:99px; padding:2px 7px;
}
/* leading icon per item (mask = currentColor, so it follows hover/active color) */
.nav-menu a::before, .nav-menu-soon::before{
  content:""; flex:none; width:18px; height:18px; opacity:.92;
  background-color:currentColor;
  -webkit-mask:var(--icon, none) center/contain no-repeat;
  mask:var(--icon, none) center/contain no-repeat;
}
/* Page icons — shared by the Explore dropdown AND the footer link columns (keyed by href) */
.nav-menu a[href$="find-the-arts"], .foot-cols a[href$="find-the-arts"]{ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E"); }
.nav-menu a[href$="eat-local"], .foot-cols a[href$="eat-local"]{ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 2v7a2 2 0 0 0 2 2 2 2 0 0 0 2-2V2'/%3E%3Cpath d='M7 2v20'/%3E%3Cpath d='M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7'/%3E%3C/svg%3E"); }
.nav-menu a[href$="get-outdoors"], .foot-cols a[href$="get-outdoors"]{ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 3 4 8 5-5 5 15H2z'/%3E%3C/svg%3E"); }
.nav-menu a[href$="cultural-district"], .foot-cols a[href$="cultural-district"]{ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' x2='21' y1='22' y2='22'/%3E%3Cline x1='6' x2='6' y1='18' y2='11'/%3E%3Cline x1='10' x2='10' y1='18' y2='11'/%3E%3Cline x1='14' x2='14' y1='18' y2='11'/%3E%3Cline x1='18' x2='18' y1='18' y2='11'/%3E%3Cpolygon points='12 2 20 7 4 7'/%3E%3C/svg%3E"); }
.nav-menu a[href$="spend-the-night"], .foot-cols a[href$="spend-the-night"]{ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E"); }
.nav-menu a[href$="hidden-gems"], .foot-cols a[href$="hidden-gems"]{ --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12l4 6-10 13L2 9Z'/%3E%3Cpath d='M11 3 8 9l4 13 4-13-3-6'/%3E%3Cpath d='M2 9h20'/%3E%3C/svg%3E"); }

/* ── Events page: the "What's On" agenda ───────────────────────── */
.agenda{ background:var(--paper); max-width:1416px; margin-inline:auto; padding:0 var(--gutter) var(--section); scroll-margin-top:var(--nav-h, 57px); }
/* compact full-bleed image header — short (≈320–400px), so it never buries the list */
.ev-head{ position:relative; width:100vw; margin-left:calc(-50vw + 50%); min-height:320px; height:36vh; max-height:400px;
  display:flex; align-items:flex-end; overflow:hidden; background:var(--lacquer); }
.ev-head-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 54%; }
.ev-head-tint{ position:absolute; inset:0; background:linear-gradient(180deg, oklch(0.16 0.02 60 / .3) 0%, oklch(0.12 0.02 60 / .16) 40%, oklch(0.1 0.02 55 / .84) 100%); }
.ev-head-inner{ position:relative; z-index:1; width:100%; max-width:1416px; margin:0 auto; padding:0 var(--gutter) clamp(var(--s5), 4vw, var(--s7)); color:#fff; }
.ev-head-kicker{ display:inline-flex; align-items:center; gap:11px; margin:0 0 var(--s3); font-size:.72rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:oklch(1 0 0 / .82); }
.ev-head-kicker::before{ content:""; width:30px; height:2px; border-radius:2px; background:var(--brand); }
.ev-head-title{ font-family:var(--font-display); font-weight:760; font-size:clamp(2.6rem, 6vw, 4.6rem); line-height:1; letter-spacing:-0.02em; text-wrap:balance; margin:0; color:#fff; }
/* search lives in the sticky toolbar (light) — filters every view by event or venue */
.ev-search{ position:relative; display:flex; align-items:center; flex:0 1 280px; min-width:170px; }
.ev-search-ico{ position:absolute; left:14px; width:17px; height:17px; color:var(--muted); pointer-events:none; }
.ev-search-input{ width:100%; appearance:none; border:1px solid oklch(0.85 0.01 84); background:var(--paper);
  color:var(--ink); font:500 .9rem/1 var(--font-text); padding:15px 16px 15px 40px; border-radius:4px; transition:border-color .15s, background .15s; }
.ev-search-input::placeholder{ color:var(--muted); }
.ev-search-input:focus{ outline:none; border-color:var(--brass); background:#fff; }
.ev-head-meta{ display:flex; align-items:center; gap:var(--s4); flex-wrap:wrap; margin-top:var(--s4); }
.ev-head-meta .agenda-count{ font-size:.95rem; color:oklch(1 0 0 / .92); }
.ev-head-meta .agenda-count b{ color:#fff; }
/* sticky toolbar: tabs + submit + filters follow you down the page. Full-bleed bg
   (like the map) so the full-width map scrolls cleanly beneath it. */
.agenda-sticky{ position:sticky; top:var(--nav-h, 57px); z-index:var(--z-sticky);
  width:100vw; margin-left:calc(-50vw + 50%); margin-bottom:clamp(44px,4.6vw,60px);
  background:oklch(1 0 0 / .94); backdrop-filter:blur(12px) saturate(1.06);
  border-top:1px solid oklch(0.93 0.01 84); border-bottom:1px solid oklch(0.88 0.01 84); box-shadow:0 8px 24px oklch(0.3 0.04 84 / .07); padding:var(--s4) 0; }
/* control strip: tabs + filters + search at the left, submit at the right (its own
   margin-left:auto). Content capped to the event-list column so its edges align with
   the list below; the .agenda-sticky background still bleeds full-width. */
.agenda-bar{ max-width:1416px; margin:0 auto; padding:0 var(--gutter); display:flex; align-items:center; gap:var(--s4); }
/* filter button + popover panel (categories now, communities/towns when feeds span more) */
.ev-filterwrap{ position:relative; }
.ev-filterbtn{ appearance:none; cursor:pointer; display:inline-flex; align-items:center; gap:8px; border:1px solid oklch(0.85 0.01 84); background:var(--paper); color:var(--ink);
  font:650 .9rem/1 var(--font-text); padding:15px 16px; border-radius:4px; transition:border-color .15s, background .15s, color .15s; }
.ev-filterbtn svg{ width:17px; height:17px; }
.ev-filterbtn:hover{ border-color:var(--brass); }
.ev-filterbtn.is-on{ border-color:var(--brass); color:var(--brand-deep); }
.ev-filterbtn-dot{ width:7px; height:7px; border-radius:50%; background:var(--brand); }
.ev-filterpanel{ position:absolute; top:calc(100% + 11px); left:0; z-index:40; width:min(340px, 86vw);
  background:var(--paper); border:1px solid oklch(0.88 0.01 84); border-radius:14px; box-shadow:0 22px 54px oklch(0.3 0.04 84 / .26); padding:var(--s4); }
.ev-filterpanel[hidden]{ display:none; }
.ev-fp-group + .ev-fp-group{ margin-top:var(--s4); padding-top:var(--s4); border-top:1px solid oklch(0.93 0.008 84); }
.ev-fp-label{ font-size:.66rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.ev-fp-chips{ display:flex; flex-wrap:wrap; gap:7px; }
.ev-fp-note{ margin-top:10px; font-size:.74rem; line-height:1.45; color:var(--muted); }
.ev-chip.is-locked{ cursor:default; background:var(--brand); border-color:transparent; color:#fff; }
.ev-chip.is-locked .n{ color:oklch(1 0 0 / .65); }
.ev-activechip{ appearance:none; cursor:pointer; display:inline-flex; align-items:center; gap:6px; border:1px solid var(--brass);
  background:oklch(0.62 0.17 34 / .1); color:var(--brand-deep); font:700 .8rem/1 var(--font-text); padding:8px 9px 8px 13px; border-radius:99px; transition:background .15s; white-space:nowrap; }
.ev-activechip:hover{ background:oklch(0.62 0.17 34 / .18); }
.ev-activechip svg{ width:14px; height:14px; opacity:.8; }
/* tight: drop the "powered by" words, leaving just the CivicLift mark beside Submit */
@media (max-width:1200px){ .tb-powered .cl-by{ display:none; } }
/* narrower screens: let the strip wrap, dropping search to its own full-width row */
@media (max-width:1080px){ .agenda-bar{ flex-wrap:wrap; row-gap:var(--s3); } .ev-search{ order:6; flex:1 1 100%; } }
@media (max-width:620px){ .ev-filterbtn span{ display:none; } .ev-activewrap{ display:none; } }
.agenda-count{ font-size:var(--text-sm); font-weight:600; color:var(--muted); white-space:nowrap; }
.agenda-count b{ color:var(--ink); font-variant-numeric:tabular-nums; }

.ev-chip{
  appearance:none; cursor:pointer; border:1px solid oklch(0.88 0.01 84);
  background:var(--paper); color:var(--ink);
  font:600 .8125rem/1 var(--font-text); letter-spacing:.01em;
  padding:9px 14px; border-radius:99px;
  display:inline-flex; align-items:center; gap:7px;
  transition:background .15s, border-color .15s, color .15s;
}
.ev-chip:hover{ border-color:var(--brass); }
.ev-chip .n{ font-size:.72rem; font-weight:700; color:var(--muted); font-variant-numeric:tabular-nums; }
.ev-chip[aria-pressed="true"]{ background:var(--ink); border-color:var(--ink); color:#fff; }
.ev-chip[aria-pressed="true"] .n{ color:oklch(1 0 0 / .6); }

.ev-month{ margin:var(--s7) 0 var(--s4); display:flex; align-items:baseline; gap:var(--s4); }
.ev-month:first-of-type{ margin-top:0; }
.ev-month h3{ font-family:var(--font-display); font-weight:740; font-size:1.5rem; letter-spacing:-.01em; white-space:nowrap; }
.ev-month::after{ content:""; flex:1; height:1px; background:oklch(0.9 0.01 84); }

.ev-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:var(--s5); }
.ev-card{
  display:flex; flex-direction:column; background:var(--paper);
  border:1px solid oklch(0.9 0.01 84); border-radius:4px; overflow:hidden;
  text-decoration:none; color:inherit;
  transition:transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color .2s;
}
a.ev-card:hover{ transform:translateY(-3px); box-shadow:0 18px 40px oklch(0.3 0.04 84 / .16); border-color:var(--brass); }
.ev-card-media{ position:relative; aspect-ratio:16/10; background:var(--lacquer-2); overflow:hidden; }
.ev-card-media img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s var(--ease-out); }
a.ev-card:hover .ev-card-media img{ transform:scale(1.04); }
.ev-card-media::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, oklch(0.12 0.01 84 / .45), transparent 46%); }
.ev-date{
  position:absolute; left:12px; top:12px; z-index:1;
  background:oklch(0.135 0.012 var(--season-hue) / .92); color:#fff;
  border:1px solid var(--brass-dim); border-radius:3px;
  padding:6px 9px 7px; text-align:center; line-height:1; min-width:50px;
  -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px);
}
.ev-date .wd{ display:block; font-size:.6rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--brass); }
.ev-date .d{ display:block; font-family:var(--font-display); font-weight:800; font-size:1.4rem; margin-top:2px; }
.ev-date .mo{ display:block; font-size:.6rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:oklch(1 0 0 / .7); }
.ev-cat{
  position:absolute; right:12px; bottom:12px; z-index:1;
  font-size:.625rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:#fff; background:oklch(0.135 0.012 84 / .58); border:1px solid oklch(1 0 0 / .25);
  padding:4px 9px; border-radius:99px; -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
}
.ev-body{ padding:14px 16px 17px; display:flex; flex-direction:column; gap:6px; flex:1; }
.ev-meta{ font-size:.75rem; font-weight:600; color:var(--muted); display:flex; flex-wrap:wrap; gap:5px 8px; }
.ev-meta .t{ color:var(--brand-deep); }
.ev-title{ font-family:var(--font-display); font-weight:740; font-size:1.0625rem; line-height:1.18; letter-spacing:-.005em;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ev-blurb{ font-size:.8125rem; line-height:1.5; color:var(--muted);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ev-recur{ margin-top:auto; padding-top:9px; font-size:.6875rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--brass); display:inline-flex; align-items:center; gap:6px; }
.ev-recur svg{ width:13px; height:13px; flex:none; }
.ev-empty{ padding:var(--s8) 0; text-align:center; color:var(--muted); font-weight:500; }

@media (max-width:560px){ .ev-grid{ grid-template-columns:1fr; } }

/* ── Event detail page ─────────────────────────────────────────── */
.evd-loading, .evd-missing{ max-width:680px; margin:0 auto; padding:var(--s9) var(--gutter); text-align:center; color:var(--muted); }
.evd-missing h1{ font-size:var(--text-2xl); color:var(--ink); margin-bottom:var(--s3); }

.evd-hero{ position:relative; background:var(--lacquer); color:#fff; overflow:hidden; }
.evd-hero-media{ position:absolute; inset:0; }
.evd-hero-media img{ width:100%; height:100%; object-fit:cover; }
.evd-hero-scrim{ position:absolute; inset:0; background:
  linear-gradient(180deg, oklch(0.12 0.01 var(--season-hue) / .35) 0%, transparent 30%, oklch(0.1 0.01 var(--season-hue) / .55) 62%, oklch(0.1 0.01 var(--season-hue) / .92) 100%); }
.evd-hero-inner{ position:relative; max-width:1160px; margin-inline:auto; padding:clamp(120px,22vh,240px) var(--gutter) var(--s7); display:flex; flex-direction:column; align-items:flex-start; gap:var(--s3); }
.evd-pills{ display:flex; flex-wrap:wrap; gap:8px; }
.evd-pill{ font-size:.6875rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:5px 11px; border-radius:99px;
  background:oklch(1 0 0 / .12); border:1px solid oklch(1 0 0 / .26); color:#fff; -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); display:inline-flex; align-items:center; gap:6px; }
.evd-pill.is-accent{ background:var(--brand); border-color:transparent; }
.evd-pill svg{ width:13px; height:13px; }
.evd-h1{ font-family:var(--font-display); font-weight:780; font-size:clamp(2rem,5.2vw,3.5rem); line-height:1.02; letter-spacing:-.02em; text-wrap:balance; max-width:18ch; }
.evd-tagline{ font-size:var(--text-lg); font-weight:600; color:oklch(1 0 0 / .9); display:flex; flex-wrap:wrap; gap:6px 14px; }
.evd-tagline .sep{ opacity:.45; }
.evd-back{ display:inline-flex; align-items:center; gap:8px; color:oklch(1 0 0 / .8); text-decoration:none; font-size:.8125rem; font-weight:600; letter-spacing:.02em;
  position:absolute; top:calc(var(--nav-h, 64px) + 18px); left:50%; transform:translateX(-580px); z-index:2; transition:color .15s; }
.evd-back:hover{ color:#fff; }
.evd-back svg{ width:16px; height:16px; }
@media (max-width:1240px){ .evd-back{ left:var(--gutter); transform:none; } }

.evd-body{ max-width:1160px; margin-inline:auto; padding:var(--s8) var(--gutter) var(--s9);
  display:grid; grid-template-columns:minmax(0,1.55fr) minmax(280px,.95fr); gap:clamp(40px,6vw,80px); align-items:start; }
.evd-main{ min-width:0; }
.evd-section-label{ font-size:.6875rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--brass-deep, var(--brand-deep)); margin-bottom:var(--s3); }
.evd-desc p{ font-size:1.0625rem; line-height:1.72; color:var(--ink); margin-bottom:var(--s3); max-width:68ch; }
.evd-desc p:last-child{ margin-bottom:0; }
.evd-recur-note{ margin-top:var(--s5); padding:var(--s4) var(--s5); background:oklch(0.97 0.008 84); border:1px solid oklch(0.9 0.01 84); border-radius:4px; }
.evd-recur-note strong{ font-family:var(--font-display); font-weight:740; display:flex; align-items:center; gap:8px; }
.evd-recur-note strong svg{ width:16px; height:16px; color:var(--brand-deep); }
.evd-dates{ list-style:none; margin:var(--s3) 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:6px; }
.evd-dates li{ font-size:.85rem; color:var(--muted); }
.evd-dates b{ color:var(--ink); font-weight:600; }
.evd-tags{ margin-top:var(--s6); display:flex; flex-wrap:wrap; gap:7px; }
.evd-tag{ font-size:.75rem; font-weight:600; color:var(--ink); background:oklch(0.95 0.01 84); border:1px solid oklch(0.89 0.01 84); border-radius:99px; padding:5px 12px; }

/* sidebar rail */
.evd-rail{ position:sticky; top:calc(var(--nav-h, 64px) + 18px); display:flex; flex-direction:column; gap:var(--s4); }
.evd-card{ background:var(--paper); border:1px solid oklch(0.9 0.01 84); border-radius:5px; padding:var(--s5); }
.evd-info{ display:flex; gap:13px; padding:13px 0; border-bottom:1px solid oklch(0.93 0.008 84); }
.evd-info:first-child{ padding-top:0; }
.evd-info:last-child{ padding-bottom:0; border-bottom:0; }
.evd-info-ico{ flex:none; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:oklch(0.135 0.012 var(--season-hue)); color:var(--brass); }
.evd-info-ico svg{ width:17px; height:17px; }
.evd-info-body{ min-width:0; }
.evd-info-label{ font-size:.625rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:3px; }
.evd-info-val{ font-size:.95rem; font-weight:600; color:var(--ink); line-height:1.35; }
.evd-info-sub{ font-size:.8125rem; color:var(--muted); margin-top:2px; line-height:1.4; }
.evd-info-link{ display:inline-flex; align-items:center; gap:5px; margin-top:7px; font-size:.8125rem; font-weight:700; color:var(--brand-deep); text-decoration:none; }
.evd-info-link:hover{ text-decoration:underline; }
.evd-info-link svg{ width:13px; height:13px; }

/* venue map bleeds to the full width of the sidebar card */
.evd-info--where{ border-bottom:0; padding-bottom:11px; }
.evd-map{ height:240px; margin:0 calc(-1 * var(--s5)); overflow:hidden; background:var(--lacquer-2);
  border-radius:0; border-left:0; border-right:0; border-top:1px solid oklch(0.92 0.008 84); border-bottom:1px solid oklch(0.92 0.008 84); }
.evd-maplinks{ display:flex; flex-wrap:wrap; gap:18px; padding:13px 0; border-bottom:1px solid oklch(0.93 0.008 84); }
.evd-maplinks .evd-info-link{ margin-top:0; }

.evd-cta{ display:inline-flex; align-items:center; justify-content:center; gap:9px; width:100%; margin-top:3px;
  background:var(--brand); color:#fff; font-weight:700; font-size:.9375rem; padding:14px 20px; border-radius:2px; text-decoration:none;
  box-shadow:0 10px 28px oklch(0.30 0.10 34 / .3); transition:transform .15s var(--ease-out), background .15s; }
.evd-cta:hover{ transform:translateY(-1px); background:oklch(0.57 0.165 34); }
.evd-cta svg{ width:17px; height:17px; }

.evd-actions{ display:flex; flex-direction:column; gap:8px; }
.evd-act-row{ display:flex; gap:8px; flex-wrap:wrap; }
.evd-act{ flex:1 1 auto; display:inline-flex; align-items:center; justify-content:center; gap:7px; cursor:pointer;
  background:var(--paper); border:1px solid oklch(0.88 0.01 84); border-radius:3px; color:var(--ink);
  font:600 .8125rem/1 var(--font-text); padding:11px 12px; text-decoration:none; transition:border-color .15s, background .15s; }
.evd-act:hover{ border-color:var(--brass); background:oklch(0.98 0.006 84); }
.evd-act svg{ width:15px; height:15px; }
.evd-rail-title{ font-size:.625rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }

.evd-more{ background:var(--lacquer-2); }
.evd-more-inner{ max-width:1160px; margin-inline:auto; padding:var(--section) var(--gutter); }
.evd-more h2{ color:#fff; font-size:var(--text-xl); margin-bottom:var(--s5); }
.evd-more-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:var(--s4); }

@media (max-width:860px){
  .evd-body{ grid-template-columns:1fr; }
  .evd-rail{ position:static; }
}

/* ── Events view switcher ──────────────────────────────────────── */
.ev-switcher{ display:inline-flex; gap:2px; padding:3px; background:oklch(0.967 0.005 84); border:1px solid oklch(0.93 0.007 84); border-radius:9px; }
.ev-vbtn{ appearance:none; cursor:pointer; border:0; background:transparent; color:var(--muted);
  font:650 .88rem/1 var(--font-text); letter-spacing:.01em; padding:10px 14px; border-radius:6px;
  display:inline-flex; align-items:center; gap:8px; transition:background .15s, color .15s, box-shadow .15s; }
.ev-vbtn svg{ width:17px; height:17px; }
.ev-vbtn:hover{ color:var(--ink); }
/* active = a light "floating" white pill (neutral soft shadow); the brand colour is just the icon */
.ev-vbtn[aria-selected="true"]{ background:#fff; color:var(--ink); box-shadow:0 1px 3px oklch(0 0 0 / .16), 0 0 0 1px oklch(0 0 0 / .05); }
.ev-vbtn[aria-selected="true"] svg{ color:var(--brand); }
@media (max-width:560px){ .ev-vbtn span{ display:none; } .ev-vbtn{ padding:9px 12px; } }

/* ── List view ─────────────────────────────────────────────────── */
.ev-listwrap{ display:grid; grid-template-columns:minmax(0,1fr) 296px; gap:clamp(28px,4vw,56px); align-items:start; }
.ev-days{ min-width:0; }
.ev-day{ display:grid; grid-template-columns:84px minmax(0,1fr); gap:clamp(14px,2vw,26px); padding:var(--s5) 0; border-top:1px solid oklch(0.92 0.008 84); scroll-margin-top:calc(var(--ev-chrome, 196px) + 16px); }
.ev-day:first-child{ border-top:0; padding-top:var(--s1); }
.ev-day-rail{ position:relative; }
.ev-daybadge{ position:sticky; top:calc(var(--ev-chrome, 196px) + 30px); display:flex; flex-direction:column; align-items:center; text-align:center;
  background:var(--lacquer); color:#fff; border-radius:4px; padding:9px 6px 10px; line-height:1; }
.ev-daybadge .wd{ font-size:.6rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--brass); }
.ev-daybadge .d{ font-family:var(--font-display); font-weight:800; font-size:1.75rem; margin:3px 0; }
.ev-daybadge .mo{ font-size:.6rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:oklch(1 0 0 / .7); }
.ev-daybadge.is-today{ background:var(--brand); }
.ev-daybadge.is-today .wd, .ev-daybadge.is-today .mo{ color:oklch(1 0 0 / .88); }
.ev-daybadge.is-range{ background:var(--lacquer-2); }
.ev-daybadge.is-range .d{ font-size:1rem; margin:4px 0 3px; }
.ev-day-events{ min-width:0; display:flex; flex-direction:column; gap:var(--s4); }

.ev-row{ display:grid; grid-template-columns:minmax(0,1fr) 232px; gap:var(--s5); align-items:start;
  text-decoration:none; color:inherit; padding-bottom:var(--s5); border-bottom:1px solid oklch(0.93 0.008 84); }
.ev-day-events > .ev-row:last-child{ border-bottom:0; padding-bottom:0; }
/* Looser than the inherited values (7/6/9) on purpose. .ev-row-title runs at
   line-height 1.12, so its box hugs the glyphs and leaves almost no optical leading —
   which made the chip, title and description read as one compressed block even though
   the margins were "correct". These add ~11px per row and only affect the elements
   INSIDE a row; the row-to-row rhythm is untouched. */
.ev-row-tags{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:11px; }
.ev-row-cat{ font-size:.625rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase; color:var(--brand-deep);
  background:oklch(0.62 0.17 34 / .09); padding:4px 9px; border-radius:99px; }
.ev-row-through{ display:inline-flex; align-items:center; gap:5px; font-size:.6875rem; font-weight:700; color:var(--muted); }
.ev-row-through svg{ width:12px; height:12px; }
.ev-row-title{ font-family:var(--font-display); font-weight:740; font-size:1.3rem; line-height:1.12; letter-spacing:-.01em; }
.ev-row:hover .ev-row-title{ color:var(--brand-deep); }
.ev-row-blurb{ margin-top:9px; font-size:.9rem; line-height:1.55; color:var(--muted);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ev-row-meta{ margin-top:13px; display:flex; flex-wrap:wrap; gap:6px 16px; font-size:.8125rem; font-weight:600; color:var(--ink); }
.ev-row-meta span{ display:inline-flex; align-items:center; gap:6px; }
.ev-row-meta svg{ width:14px; height:14px; color:var(--brand-deep); flex:none; }
.ev-row-media{ overflow:hidden; border-radius:4px; }
.ev-row-media img{ width:100%; aspect-ratio:16/11; object-fit:cover; display:block; transition:transform .5s var(--ease-out); }
.ev-row:hover .ev-row-media img{ transform:scale(1.04); }
@media (max-width:600px){ .ev-row{ grid-template-columns:1fr; } .ev-row-media{ order:-1; } .ev-day{ grid-template-columns:64px minmax(0,1fr); } .ev-daybadge .d{ font-size:1.4rem; } }

.ev-also{ background:oklch(0.97 0.008 84); border:1px solid oklch(0.92 0.01 84); border-radius:5px; padding:var(--s3) var(--s4); }
.ev-also-label{ font-size:.625rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.ev-also-item{ display:flex; align-items:center; gap:11px; padding:7px 0; text-decoration:none; color:inherit; border-top:1px solid oklch(0.93 0.008 84); }
.ev-also-item:first-of-type{ border-top:0; }
.ev-also-thumb{ width:46px; height:35px; border-radius:3px; object-fit:cover; flex:none; background:var(--lacquer-2); }
.ev-also-tx{ min-width:0; display:flex; flex-direction:column; gap:1px; }
.ev-also-title{ font-weight:650; font-size:.9rem; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ev-also-item:hover .ev-also-title{ color:var(--brand-deep); }
.ev-also-meta{ font-size:.75rem; color:var(--muted); }

.ev-cal{ position:sticky; top:calc(var(--ev-chrome, 196px) + 30px); background:var(--paper); border:1px solid oklch(0.9 0.01 84); border-radius:6px; padding:var(--s4); }
.ev-cal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:var(--s3); }
.ev-cal-title{ font-family:var(--font-display); font-weight:740; font-size:1.05rem; }
.ev-cal-head button{ appearance:none; cursor:pointer; border:1px solid oklch(0.9 0.01 84); background:var(--paper); border-radius:5px;
  width:30px; height:30px; display:grid; place-items:center; color:var(--ink); transition:border-color .15s; }
.ev-cal-head button:hover{ border-color:var(--brass); }
.ev-cal-head button svg{ width:15px; height:15px; }
.ev-cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:2px; }
.ev-cal-grid > .dow{ font-size:.58rem; font-weight:700; letter-spacing:.02em; text-transform:uppercase; color:var(--muted); text-align:center; padding-bottom:5px; }
.ev-cal-cell{ aspect-ratio:1; display:grid; place-items:center; font-size:.8rem; font-weight:500; border-radius:5px; text-decoration:none; color:oklch(0.72 0.01 84); }
.ev-cal-cell.is-empty{ color:transparent; }
a.ev-cal-cell.has-ev{ font-weight:700; color:var(--ink); background:oklch(0.62 0.17 34 / .1); }
a.ev-cal-cell.has-ev:hover{ background:var(--brand); color:#fff; }
.ev-cal-cell.is-today{ outline:2px solid var(--brass); outline-offset:-2px; }
a.ev-cal-cell.has-ev.is-today{ background:var(--brand); color:#fff; outline-color:transparent; }
.ev-cal-today{ appearance:none; cursor:pointer; width:100%; margin-top:var(--s3); padding:9px; border:1px solid oklch(0.9 0.01 84);
  background:var(--paper); border-radius:5px; font:700 .72rem/1 var(--font-text); letter-spacing:.07em; text-transform:uppercase; color:var(--brand-deep); transition:border-color .15s; }
.ev-cal-today:hover{ border-color:var(--brass); }
@media (max-width:820px){ .ev-listwrap{ grid-template-columns:1fr; } .ev-cal{ display:none; } }

/* ── Calendar view (full month grid) ───────────────────────────── */
.cv{ position:relative; }
.cv-head{ display:flex; align-items:center; justify-content:space-between; gap:var(--s4); flex-wrap:wrap; margin-bottom:var(--s4); }
.cv-nav{ display:flex; align-items:center; gap:var(--s3); }
.cv-nav button{ appearance:none; cursor:pointer; border:1px solid oklch(0.88 0.01 84); background:var(--paper); border-radius:9px; width:38px; height:38px; display:grid; place-items:center; color:var(--ink); transition:border-color .15s, background .15s; }
.cv-nav button:hover{ border-color:var(--brass); background:oklch(0.97 0.008 84); }
.cv-nav button svg{ width:18px; height:18px; }
.cv-title{ font-family:var(--font-display); font-weight:740; font-size:clamp(1.3rem, 2.6vw, 1.8rem); min-width:8.5ch; }
.cv-head-r{ display:flex; align-items:center; gap:var(--s4); }
.cv-count{ font-size:.8rem; font-weight:600; color:var(--muted); font-variant-numeric:tabular-nums; white-space:nowrap; }
.cv-today{ appearance:none; cursor:pointer; border:1px solid oklch(0.88 0.01 84); background:var(--paper); border-radius:9px; padding:9px 17px; font:700 .8rem/1 var(--font-text); color:var(--brand-deep); transition:border-color .15s; }
.cv-today:hover{ border-color:var(--brass); }
/* minmax(0,1fr) forces 7 EQUAL columns — plain 1fr (= minmax(auto,1fr)) lets the
   no-wrap chip titles blow columns out and push later days off-screen */
.cv-grid{ display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); gap:1px; background:oklch(0.9 0.01 84); border:1px solid oklch(0.9 0.01 84); border-radius:11px; overflow:hidden; box-shadow:0 16px 40px oklch(0.3 0.04 84 / .08); }
.cv-dow{ background:var(--paper); padding:9px 9px; font-size:.62rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); text-align:right; }
.cv-cell{ background:var(--paper); min-width:0; min-height:128px; padding:5px 7px 8px; display:flex; flex-direction:column; gap:5px;
  appearance:none; border:0; width:100%; font:inherit; color:inherit; text-align:left; }
.cv-cell.is-other{ background:oklch(0.975 0.004 84); }
.cv-cell.is-other .cv-num{ color:oklch(0.74 0.01 84); font-weight:500; }
.cv-cell.has-ev{ cursor:pointer; }
.cv-cell.has-ev:hover{ background:oklch(0.985 0.005 84); }
.cv-cell.has-ev:focus-visible{ outline:2px solid var(--brand); outline-offset:-2px; }
.cv-num{ align-self:flex-end; font-size:.84rem; font-weight:700; color:var(--ink); line-height:1; padding:1px 1px 2px; }
.cv-cell.is-today .cv-num{ display:grid; place-items:center; width:25px; height:25px; border-radius:50%; background:var(--brand); color:#fff; padding:0; }
/* mini thumbnail "cards" — event image + category-colour ring; the whole day is the
   click target → the readable day popover → the event page */
.cv-tiles{ display:flex; flex-wrap:wrap; gap:5px; align-content:flex-start; min-width:0; }
.cv-tile{ flex:none; display:block; box-sizing:border-box; width:38px; height:38px; border-radius:7px; overflow:hidden; cursor:pointer;
  appearance:none; text-decoration:none; border:2px solid var(--c);
  background:oklch(0.92 0.02 84); background:color-mix(in oklch, var(--c) 32%, var(--paper)); transition:transform .12s, box-shadow .12s; }
.cv-tile:hover{ transform:translateY(-1px) scale(1.06); z-index:1; box-shadow:0 4px 10px oklch(0.3 0.04 60 / .28); }
.cv-tile:focus-visible{ outline:2px solid var(--ink); outline-offset:1px; }
.cv-tile img{ width:100%; height:100%; object-fit:cover; display:block; }
.cv-tile.no-img{ background:color-mix(in oklch, var(--c) 60%, var(--paper)); }
.cv-tile-more{ appearance:none; cursor:pointer; border:0; background:oklch(0.93 0.008 84); color:var(--brand-deep); display:grid; place-items:center; font:800 .72rem/1 var(--font-text); }
.cv-tile-more:hover{ background:oklch(0.89 0.01 84); transform:none; box-shadow:none; }
/* per-thumbnail hover tip (title + time) */
.cv-tip{ position:fixed; z-index:58; pointer-events:none; display:flex; flex-direction:column; gap:1px; max-width:240px;
  background:var(--ink); color:#fff; border-radius:8px; padding:7px 11px; box-shadow:0 8px 22px oklch(0.2 0.03 60 / .38); }
.cv-tip[hidden]{ display:none; }
.cv-tip-t{ font-weight:700; font-size:.8rem; line-height:1.25; }
.cv-tip-w{ font-size:.7rem; color:oklch(1 0 0 / .72); font-variant-numeric:tabular-nums; }
/* day popover */
.cv-pop{ position:fixed; inset:0; z-index:60; background:oklch(0.2 0.03 60 / .42); display:grid; place-items:center; padding:var(--s5); }
.cv-pop[hidden]{ display:none; }
.cv-pop-card{ width:min(440px,100%); max-height:74vh; overflow-y:auto; background:var(--paper); border-radius:13px; box-shadow:0 26px 64px oklch(0.2 0.03 60 / .4); }
.cv-pop-head{ position:sticky; top:0; display:flex; align-items:center; justify-content:space-between; gap:var(--s3); padding:14px 17px; border-bottom:1px solid oklch(0.92 0.01 84); background:var(--paper); font-family:var(--font-display); font-weight:740; font-size:1.02rem; }
.cv-pop-x{ appearance:none; cursor:pointer; border:0; background:transparent; color:var(--muted); font-size:1.1rem; line-height:1; padding:2px 5px; border-radius:6px; }
.cv-pop-x:hover{ color:var(--ink); background:oklch(0.95 0.008 84); }
.cv-pop-list{ padding:7px; }
.cv-pop-row{ display:flex; align-items:center; gap:11px; padding:10px; border-radius:9px; text-decoration:none; color:inherit; }
.cv-pop-row:hover{ background:oklch(0.97 0.008 84); }
.cv-pop-thumb{ flex:none; width:50px; height:50px; border-radius:8px; object-fit:cover; border:2px solid var(--c); background:color-mix(in oklch, var(--c) 30%, var(--paper)); }
.cv-pop-thumb.no-img{ background:color-mix(in oklch, var(--c) 55%, var(--paper)); }
.cv-pop-tx{ flex:1; min-width:0; }
.cv-pop-t{ display:block; font-weight:650; font-size:.94rem; line-height:1.25; color:var(--ink); }
.cv-pop-row:hover .cv-pop-t{ color:var(--brand-deep); }
.cv-pop-m{ display:block; font-size:.76rem; color:var(--muted); margin-top:1px; }
.cv-pop-arr{ flex:none; color:var(--muted); display:grid; place-items:center; }
.cv-pop-arr svg{ width:16px; height:16px; }
@media (max-width:720px){
  .cv-cell{ min-height:66px; padding:4px 3px 5px; gap:3px; }
  .cv-dow{ text-align:center; font-size:.5rem; padding:6px 3px; }
  .cv-tiles{ gap:3px; }
  .cv-tile{ width:18px; height:18px; border-width:1.5px; border-radius:4px; }
  .cv-tile-more{ font-size:.5rem; }
}


/* ── Events chrome: submit button + powered-by ─────────────────── */
/* match the rounded-rect height of the tabs + filter button (not the tall, squared .btn) */
.agenda-submit{ display:inline-flex; align-items:center; gap:7px; white-space:nowrap; padding:17px 22px; border-radius:4px; font-size:.9rem; line-height:1; box-shadow:none; }

/* submit-event explainer modal — context before we ask anyone to create / sign in */
.ev-modal{ position:fixed; inset:0; z-index:60; background:oklch(0.18 0.02 60 / .5); display:grid; place-items:center; padding:var(--s5); }
.ev-modal[hidden]{ display:none; }
.ev-modal-card{ position:relative; width:min(440px, 100%); background:var(--paper); border-radius:18px; padding:clamp(var(--s5), 4vw, var(--s7)); text-align:center; box-shadow:0 30px 70px oklch(0.2 0.03 60 / .45); }
.ev-modal-x{ position:absolute; top:14px; right:14px; appearance:none; cursor:pointer; border:0; background:transparent; color:var(--muted); width:34px; height:34px; border-radius:50%; display:grid; place-items:center; transition:background .15s, color .15s; }
.ev-modal-x:hover{ background:oklch(0.94 0.01 84); color:var(--ink); }
.ev-modal-x svg{ width:18px; height:18px; }
.ev-modal-ico{ display:inline-grid; place-items:center; width:56px; height:56px; border-radius:15px; background:color-mix(in oklch, var(--brand) 14%, var(--paper)); color:var(--brand-deep); margin-bottom:var(--s3); }
.ev-modal-ico svg{ width:28px; height:28px; }
.ev-modal-card h2{ font-family:var(--font-display); font-weight:760; font-size:1.5rem; margin-bottom:var(--s2); }
.ev-modal-lede{ font-size:.92rem; line-height:1.55; color:oklch(0.42 0.02 70); margin-bottom:var(--s4); }
.ev-modal-lede strong{ color:var(--brand-deep); font-weight:700; }
.ev-modal-primary{ display:block; width:100%; padding:14px; border-radius:11px; font-size:.95rem; box-shadow:none; }
.ev-modal-secondary{ display:inline-block; margin-top:var(--s3); font-size:.9rem; font-weight:650; color:var(--ink); text-decoration:none; border-bottom:1.5px solid var(--brass); padding-bottom:1px; }
.ev-modal-secondary:hover{ color:var(--brand-deep); }
@media (prefers-reduced-motion: no-preference){ .ev-modal:not([hidden]) .ev-modal-card{ animation:ev-modal-in .26s cubic-bezier(.2,.7,.2,1) both; } }
@keyframes ev-modal-in{ from{ opacity:0; transform:translateY(14px) scale(.97); } }

/* view-change motion — crossfade between List / Calendar / Cards / Map */
@media (prefers-reduced-motion: no-preference){
  ::view-transition-old(root){ animation:ev-vt-out .2s ease both; }
  ::view-transition-new(root){ animation:ev-vt-in .34s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes ev-vt-out{ to{ opacity:0; } }
@keyframes ev-vt-in{ from{ opacity:0; } }
.agenda-powered{ display:inline-flex; align-items:center; gap:6px; margin-top:6px; font-size:.75rem; font-weight:600; color:var(--muted); text-decoration:none; }
.agenda-powered:hover{ color:var(--ink); }
.agenda-powered strong{ color:var(--brand-deep); font-weight:800; }
.agenda-powered svg{ width:14px; height:14px; color:var(--brand); }
.cl-logo{ height:16px; width:auto; display:block; flex:none; }
/* right-side group (credit + submit) travels as a unit so they wrap together */
.agenda-actions{ margin-left:auto; display:flex; align-items:center; gap:var(--s4); }
/* small persistent credit in the sticky toolbar — visible on every view, tucked
   just left of Submit. Deliberately subtle; collapses to logo-only when tight. */
.tb-powered{ margin-top:0; flex:none; gap:5px; font-size:.66rem; font-weight:500; opacity:.72; transition:opacity .15s; }
.tb-powered:hover{ opacity:1; }
.tb-powered .cl-logo{ height:12px; }

/* ── Map view (light, full-bleed, list + map) ─────────────────── */
.ev-map-stage{ width:100vw; margin-left:calc(-50vw + 50%); margin-right:calc(-50vw + 50%); margin-top:0;
  height:max(560px, calc(100vh - var(--ev-chrome, 190px))); display:grid; grid-template-columns:372px 1fr; background:var(--paper);
  border-top:1px solid oklch(0.9 0.01 84); border-bottom:1px solid oklch(0.9 0.01 84); }
/* Map view is a flush full-height panel: drop the toolbar's bottom gap so the day
   strip lands flush at the viewport bottom (stage height already = 100vh − chrome). */
body[data-view="map"] .agenda-sticky{ margin-bottom:0; }
.ev-map-side{ display:flex; flex-direction:column; min-height:0; border-right:1px solid oklch(0.91 0.01 84); }
.ev-map-side-head{ padding:var(--s4) var(--s5); border-bottom:1px solid oklch(0.93 0.008 84); }
.ev-msh-day{ font-family:var(--font-display); font-weight:740; font-size:1.2rem; line-height:1.1; }
.ev-msh-n{ font-size:.78rem; font-weight:600; color:var(--muted); margin-top:3px; }
.ev-map-list{ flex:1; overflow-y:auto; padding:var(--s3) var(--s4) var(--s4); display:flex; flex-direction:column; gap:5px; scrollbar-width:thin; }
.ev-ml-empty{ margin:auto 0; padding:18px 4px; text-align:center; font-size:.84rem; line-height:1.5; color:var(--muted); }
.ev-mlrow{ display:flex; align-items:stretch; gap:2px; border-radius:8px; border:1px solid transparent; transition:background .12s, border-color .12s; }
.ev-mlrow:hover, .ev-mlrow.is-active{ background:oklch(0.97 0.008 84); border-color:oklch(0.9 0.01 84); }
.ev-mlrow-main{ flex:1; min-width:0; display:flex; gap:11px; padding:9px; border-radius:7px 0 0 7px; text-decoration:none; color:inherit; cursor:pointer; text-align:left; background:none; border:0; font:inherit; }
.ev-mlrow-thumb{ width:60px; height:60px; border-radius:6px; object-fit:cover; flex:none; background:var(--lacquer-2); }
.ev-mlrow-tx{ min-width:0; flex:1; }
.ev-mlrow-cat{ font-size:.6rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); display:inline-flex; align-items:center; gap:5px; }
.ev-mlrow-cat i{ width:7px; height:7px; border-radius:50%; flex:none; }
.ev-mlrow-title{ font-family:var(--font-display); font-weight:700; font-size:1rem; line-height:1.13; margin:3px 0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ev-mlrow:hover .ev-mlrow-title, .ev-mlrow.is-active .ev-mlrow-title{ color:var(--brand-deep); }
.ev-mlrow-meta{ font-size:.76rem; color:var(--muted); }
.ev-mlrow-go{ flex:none; width:40px; display:grid; place-items:center; color:var(--muted); border-radius:0 7px 7px 0; align-self:stretch; transition:background .12s, color .12s; }
.ev-mlrow-go svg{ width:18px; height:18px; }
.ev-mlrow-go:hover{ background:var(--brand); color:#fff; }

.ev-map-main{ position:relative; min-width:0; }
#ev-map{ position:absolute; inset:0; }
/* subdue the required Mapbox logo + info button so they don't compete with the map */
.ev-map-main .mapboxgl-ctrl-logo{ opacity:.32; transition:opacity .2s; }
.ev-map-main .mapboxgl-ctrl-logo:hover{ opacity:.72; }
.ev-map-main .mapboxgl-ctrl-attrib-button{ opacity:.36; transition:opacity .2s; }
.ev-map-main .mapboxgl-ctrl-attrib-button:hover{ opacity:.85; }
.ev-map-main .mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib{ background:oklch(1 0 0 / .5); }

/* no fade gradient — the cards and chips carry their own backgrounds; the empty
   bar passes pointer events through so the map stays draggable between controls */
.ev-map-bar{ position:absolute; left:0; right:0; bottom:0; z-index:2; padding:14px 14px 13px; }
.ev-map-bar, .ev-map-chips, .ev-map-strip{ pointer-events:none; }
.ev-mchip, .ev-mpage, .ev-tick{ pointer-events:auto; }
.ev-map-chips{ display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.ev-mchip{ appearance:none; cursor:pointer; border:1px solid oklch(0.85 0.01 84); background:var(--paper); color:var(--ink);
  font:700 .72rem/1 var(--font-text); letter-spacing:.05em; text-transform:uppercase; padding:9px 14px; border-radius:99px;
  box-shadow:0 2px 8px oklch(0.3 0.03 84 / .16); transition:background .15s, border-color .15s, color .15s; }
.ev-mchip:hover{ background:var(--brand); border-color:transparent; color:#fff; }
/* advance the 10-day window forward/back */
.ev-mpage{ margin-left:auto; display:inline-flex; align-items:center; gap:2px; background:var(--paper); border:1px solid oklch(0.85 0.01 84);
  border-radius:99px; padding:3px; box-shadow:0 2px 8px oklch(0.3 0.03 84 / .16); }
.ev-mnav{ appearance:none; cursor:pointer; width:30px; height:30px; border-radius:50%; flex:none; border:0; background:transparent;
  color:var(--brand-deep); display:grid; place-items:center; transition:background .15s, color .15s; }
.ev-mnav:hover:not(:disabled){ background:var(--brand); color:#fff; }
.ev-mnav:disabled{ color:oklch(0.8 0.01 84); cursor:default; }
.ev-mnav svg{ width:16px; height:16px; }
.ev-mpage-label{ font:800 .68rem/1 var(--font-text); color:var(--ink); letter-spacing:.01em; padding:0 5px; min-width:84px;
  text-align:center; font-variant-numeric:tabular-nums; white-space:nowrap; }
/* 10-day strip — ten cards across, no scroll; the day/date and event count lead,
   weather is a small accent beneath */
.ev-map-strip{ display:grid; grid-template-columns:repeat(10, 1fr); gap:7px; }
.ev-tick{ appearance:none; cursor:pointer; min-width:0; border:1px solid oklch(0.88 0.01 84 / .85); background:oklch(1 0 0 / .92); color:var(--muted);
  display:flex; flex-direction:column; align-items:center; gap:2px; padding:9px 4px 8px; border-radius:13px;
  box-shadow:0 3px 11px oklch(0.3 0.03 84 / .13); transition:transform .15s, border-color .15s, box-shadow .15s; }
.ev-tick:hover{ border-color:var(--brass); transform:translateY(-1px); box-shadow:0 7px 16px oklch(0.3 0.03 84 / .18); }
.ev-tick-wd{ font-size:.58rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.ev-tick-d{ font-size:1.22rem; font-weight:800; line-height:1.02; color:var(--ink); font-variant-numeric:tabular-nums; }
.ev-tick-evs{ font-size:.64rem; font-weight:800; letter-spacing:.01em; color:var(--brand-deep); margin-top:2px; }
.ev-tick-wx{ display:inline-flex; align-items:center; gap:3px; margin-top:4px; color:var(--muted); }
.ev-tick-ico{ display:inline-flex; }
.ev-tick-ico svg{ width:15px; height:15px; }
.ev-tick-ico.is-load{ opacity:.3; }
.ev-tick-temp{ font-size:.7rem; font-weight:700; color:var(--muted); }
.ev-tick.is-empty{ opacity:.62; }
.ev-tick.is-empty .ev-tick-evs{ color:var(--muted); font-weight:700; }
.ev-tick.is-active{ background:#fff; border-color:var(--brand); box-shadow:0 0 0 1.5px var(--brand), 0 8px 22px oklch(0.62 0.17 34 / .22); }
.ev-tick.is-active .ev-tick-wd, .ev-tick.is-active .ev-tick-evs{ color:var(--brand); }
.ev-tick.is-today .ev-tick-d{ color:var(--brand-deep); }
.ev-tick.is-active.is-today .ev-tick-d{ color:var(--brand); }

/* thumbnail pins — .ev-pin-wrap is what Mapbox positions (no transform/transition
   of its own); the visual .ev-pin nests inside and owns the hover/active scale */
.ev-pin-wrap{ cursor:pointer; line-height:0; will-change:transform; }
.ev-pin-wrap:hover, .ev-pin-wrap.is-active{ z-index:6; }
@keyframes ev-pin-in{ from{ opacity:0; transform:scale(.35) translateY(7px); } to{ opacity:1; transform:scale(1) translateY(0); } }
.ev-pin{ appearance:none; cursor:pointer; width:44px; height:44px; border-radius:50%; padding:0; border:3px solid var(--c,#c89a4a);
  background:var(--c,#c89a4a); box-shadow:0 3px 10px oklch(0 0 0 / .32); position:relative; display:block; transition:transform .15s, box-shadow .15s;
  animation:ev-pin-in .42s cubic-bezier(.34,1.5,.5,1) backwards; }
.ev-pin img{ width:100%; height:100%; border-radius:50%; object-fit:cover; display:block; }
.ev-pin.is-dot{ width:20px; height:20px; border-width:2px; }
.ev-pin-wrap:hover .ev-pin, .ev-pin-wrap.is-active .ev-pin{ transform:scale(1.14); }
.ev-pin-wrap.is-active .ev-pin{ box-shadow:0 0 0 4px oklch(0.62 0.17 34 / .3), 0 3px 10px oklch(0 0 0 / .35); }
@media (prefers-reduced-motion: reduce){ .ev-pin{ animation:none; } }
.ev-pin-n{ position:absolute; top:-6px; right:-6px; min-width:19px; height:19px; border-radius:10px; background:var(--ink); color:#fff;
  font:800 .62rem/19px var(--font-text); text-align:center; border:2px solid #fff; padding:0 4px; }

/* refined illustrated greenery in the dim ring — decorative, never interactive */
.ev-decor{ pointer-events:none; }
/* full opacity + a soft cast shadow so the illustrations clearly sit ON TOP of the
   muted overlay rather than blending into it */
.ev-decor-art{ display:block; opacity:1; transform-origin:bottom center; filter:drop-shadow(0 2px 2px oklch(0.25 0.03 60 / .32)); }

.mapboxgl-popup.ev-mappop .mapboxgl-popup-content{ background:var(--paper); color:var(--ink); border:1px solid oklch(0.88 0.01 84); border-radius:8px; padding:12px 13px; box-shadow:0 16px 40px oklch(0.3 0.04 84 / .22); }
.mapboxgl-popup.ev-mappop.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{ border-top-color:var(--paper); }
.mapboxgl-popup.ev-mappop.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{ border-bottom-color:var(--paper); }
.mapboxgl-popup.ev-mappop .mapboxgl-popup-close-button{ color:var(--muted); font-size:18px; padding-right:7px; }
.ev-pop-venue{ font-size:.64rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--brand-deep); margin-bottom:7px; padding-right:14px; }
.ev-pop-ev{ display:flex; gap:8px; align-items:flex-start; padding:2px 0 9px; color:inherit; }
.ev-pop-dot{ flex:none; width:8px; height:8px; border-radius:50%; margin-top:5px; }
.ev-pop-t{ display:block; font-weight:650; font-size:.88rem; line-height:1.25; color:var(--ink); }
.ev-pop-m{ display:block; font-size:.72rem; color:var(--muted); margin-top:1px; }
.ev-pop-go{ display:inline-flex; align-items:center; gap:6px; font:700 .76rem/1 var(--font-text); color:#fff; background:var(--brand);
  border-radius:99px; padding:9px 14px; text-decoration:none; transition:background .15s; }
.ev-pop-go:hover{ background:var(--brand-deep); }
.ev-pop-go svg{ width:15px; height:15px; }
/* multi-event venue popup (all-days location pin) */
.ev-pop-list{ display:flex; flex-direction:column; max-height:230px; overflow-y:auto; margin:0 -3px; }
.ev-pop-row{ display:flex; gap:8px; align-items:center; padding:7px 5px; text-decoration:none; color:inherit; border-top:1px solid oklch(0.93 0.008 84); }
.ev-pop-row:first-child{ border-top:0; }
.ev-pop-rtx{ flex:1; min-width:0; }
.ev-pop-row:hover .ev-pop-t{ color:var(--brand-deep); }
.ev-pop-arr{ flex:none; color:var(--muted); display:grid; place-items:center; }
.ev-pop-arr svg{ width:15px; height:15px; }
.ev-pop-row:hover .ev-pop-arr{ color:var(--brand); }

@media (max-width:760px){
  .ev-map-stage{ grid-template-columns:1fr; grid-template-rows:54vh auto; height:auto; }
  .ev-map-main{ grid-row:1; min-height:54vh; }
  .ev-map-side{ grid-row:2; border-right:0; border-top:1px solid oklch(0.91 0.01 84); }
  .ev-map-list{ overflow:visible; }
  /* ten cards won't fit a phone — fall back to a compact horizontal scroll here */
  .ev-map-strip{ display:flex; grid-template-columns:none; gap:6px; overflow-x:auto; scrollbar-width:thin; scroll-behavior:smooth; padding-bottom:3px; }
  .ev-tick{ flex:0 0 66px; }
}

/* ══ Stories — editorial index (stories.html) + article reader (story.html) ══
   Migrated out of the Torrington Webflow CMS; rendered from assets/torrington-stories.json. */
.stories-masthead{ background:var(--lacquer); color:var(--on-lacquer);
  padding:clamp(56px,9vw,112px) var(--gutter) clamp(40px,6vw,72px); border-bottom:1px solid var(--brass-dim); }
.stories-masthead .hero-chip{ margin-bottom:var(--s3); }
.stories-masthead h1{ color:#fff; font-size:var(--text-display); line-height:1; letter-spacing:-0.012em; }
.stories-lede{ margin-top:var(--s4); max-width:54ch; font-size:var(--text-lg); line-height:1.55; color:var(--on-lacquer-muted); }

.stories-wrap{ max-width:1240px; margin:0 auto; padding:clamp(44px,6.5vw,84px) var(--gutter) clamp(20px,3vw,40px); }
.stories-state{ color:var(--muted); font-size:var(--text-lg); padding:var(--s8) 0; text-align:center; }

/* theme chip — colored dot + uppercase pillar name */
.story-tag{ display:inline-flex; align-items:center; align-self:flex-start; gap:7px;
  font:700 .6875rem/1 var(--font-text); letter-spacing:.1em; text-transform:uppercase; color:var(--tc, var(--brand)); }
.story-tag::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--tc, var(--brand)); flex:none; }

/* featured lead */
.stories-lead{ display:grid; grid-template-columns:1.12fr .88fr; gap:0; align-items:stretch;
  text-decoration:none; color:var(--ink); border:1px solid oklch(0 0 0 / .1); border-radius:14px; overflow:hidden;
  background:var(--paper); transition:box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.stories-lead:hover{ box-shadow:0 22px 52px oklch(0 0 0 / .15); transform:translateY(-3px); }
.stories-lead-media{ position:relative; min-height:360px; background:var(--lacquer-2); overflow:hidden; }
.stories-lead-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease-out); }
.stories-lead:hover .stories-lead-media img{ transform:scale(1.035); }
.stories-lead-body{ padding:clamp(26px,3vw,48px); display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.stories-lead-tags{ display:flex; align-items:center; gap:14px; margin-bottom:var(--s4); }
.stories-featured{ font:700 .625rem/1 var(--font-text); letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.stories-lead-title{ font-family:var(--font-display); font-weight:760; font-size:clamp(1.65rem, 1rem + 1.9vw, 2.45rem); line-height:1.08; letter-spacing:-0.012em; color:var(--ink); }
.stories-lead-sum{ margin-top:var(--s4); font-size:var(--text-lg); line-height:1.55; color:var(--muted); max-width:48ch; }
.stories-readmore{ margin-top:var(--s5); display:flex; align-items:center; gap:16px; }
.stories-readmore span:first-child{ font-weight:700; color:var(--brand);
  background:linear-gradient(currentColor,currentColor) 0 100%/0 1.5px no-repeat; padding-bottom:2px; transition:background-size .3s var(--ease-out); }
.stories-readmore span:first-child::after{ content:" →"; }
.stories-lead:hover .stories-readmore span:first-child{ background-size:100% 1.5px; }
.stories-readtime{ font-size:var(--text-sm); color:var(--muted); font-weight:600; }

/* card grid */
.stories-grid{ margin-top:clamp(26px,3.5vw,46px); display:grid; grid-template-columns:repeat(auto-fill, minmax(288px, 1fr)); gap:clamp(20px,2.4vw,30px); }
.stories-card{ display:flex; flex-direction:column; text-decoration:none; color:var(--ink);
  border:1px solid oklch(0 0 0 / .1); border-radius:12px; overflow:hidden; background:var(--paper);
  transition:box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.stories-card:hover{ box-shadow:0 18px 42px oklch(0 0 0 / .14); transform:translateY(-3px); }
.stories-card-media{ position:relative; aspect-ratio:3/2; background:var(--lacquer-2); overflow:hidden; }
.stories-card-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .45s var(--ease-out); }
.stories-card:hover .stories-card-media img{ transform:scale(1.045); }
.stories-card-media--none{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px;
  background:radial-gradient(125% 120% at 30% 0%, color-mix(in oklch, var(--tc) 40%, var(--lacquer)) 0%, var(--lacquer) 72%); }
.stories-nophoto-glyph{ width:44px; height:44px; color:var(--tc); opacity:.95; }
.stories-nophoto-theme{ font-family:var(--font-display); font-weight:740; font-size:1.05rem; letter-spacing:.01em; color:oklch(0.96 0.01 84); }
.stories-card-body{ padding:17px 19px 21px; display:flex; flex-direction:column; gap:9px; flex:1; }
.stories-card-title{ font-family:var(--font-display); font-weight:740; font-size:1.17rem; line-height:1.18; letter-spacing:-0.006em; color:var(--ink); }
.stories-card-sum{ font-size:.9375rem; line-height:1.5; color:var(--muted); }
.stories-card-meta{ margin-top:auto; padding-top:6px; font-size:.8125rem; color:var(--muted); font-weight:600; }

/* ── Reader (story.html) ── */
.story{ background:var(--paper); }
.story-inner{ max-width:760px; margin:0 auto; padding:clamp(28px,5vw,60px) var(--gutter) clamp(40px,6vw,72px); }
.story-back{ display:inline-flex; align-items:center; gap:6px; text-decoration:none; color:var(--muted);
  font-weight:650; font-size:.9375rem; margin-bottom:var(--s5); transition:color .15s; }
.story-back:hover{ color:var(--brand); }
.story-head{ margin-bottom:clamp(22px,3vw,38px); }
.story-head .story-tag{ margin-bottom:var(--s4); }
.story-title{ font-family:var(--font-display); font-weight:780; font-size:clamp(2rem, 1.2rem + 2.6vw, 3rem); line-height:1.06; letter-spacing:-0.014em; color:var(--ink); }
.story-meta{ margin-top:var(--s4); font-size:.9375rem; color:var(--muted); font-weight:600; }
.story-hero{ margin:0 0 clamp(22px,3vw,38px); border-radius:12px; overflow:hidden; }
.story-hero img{ width:100%; height:auto; }

.story-body{ font-size:1.125rem; line-height:1.72; color:oklch(0.29 0.012 34); }
.story-body > * + *{ margin-top:1.1em; }
.story-body h2{ font-family:var(--font-display); font-weight:760; font-size:1.6rem; line-height:1.2; letter-spacing:-0.008em; color:var(--ink); margin-top:1.9em; }
.story-body h3{ font-family:var(--font-display); font-weight:740; font-size:1.3rem; line-height:1.26; color:var(--ink); margin-top:1.7em; }
.story-body h4{ font-weight:700; font-size:1.06rem; color:var(--ink); margin-top:1.4em; }
.story-body a{ color:var(--brand); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:2px; }
.story-body a:hover{ color:var(--brand-deep); }
.story-body ul, .story-body ol{ padding-left:1.4em; }
.story-body li{ margin-top:.5em; }
.story-body li::marker{ color:var(--brass); }
.story-body strong{ font-weight:700; color:var(--ink); }
.story-body blockquote{ margin:1.6em 0; padding:.2em 0 .2em 1.3em; border-left:3px solid var(--brass);
  font-family:var(--font-accent); font-style:italic; font-size:1.22rem; line-height:1.5; color:oklch(0.32 0.02 34); }
.story-body blockquote a{ font-style:normal; }

.story-more{ border-top:1px solid oklch(0 0 0 / .1); max-width:1240px; margin:0 auto; padding:clamp(38px,5.5vw,68px) var(--gutter) clamp(56px,8vw,96px); }
.story-more-head{ font-family:var(--font-display); font-weight:740; font-size:1.5rem; margin-bottom:var(--s5); color:var(--ink); }
.stories-grid--more{ margin-top:0; }
.story-missing{ max-width:600px; margin:0 auto; padding:clamp(60px,10vw,140px) var(--gutter); text-align:center; }
.story-missing h1{ font-family:var(--font-display); font-size:var(--text-2xl); color:var(--ink); margin-bottom:var(--s3); }
.story-missing p{ color:var(--muted); margin-bottom:var(--s5); }

@media (max-width:760px){
  .stories-lead{ grid-template-columns:1fr; }
  .stories-lead-media{ min-height:0; aspect-ratio:16/10; }
}

/* ══ Spend the Night — curated lodging guide (spend-the-night.html) ══
   Text-forward by design (the Places lodging records carry no photos). */
/* No vertical padding: the sticky map spine runs flush — its top touches the hero above
   and its bottom touches the rentals band below. The right-hand steps carry their own
   breathing room (see .stay-step padding) so only the content, not the map, is inset. */
.stays{ max-width:none; margin:0; padding:0; }
.stays-state{ color:var(--muted); font-size:var(--text-lg); padding:var(--s8) var(--gutter); text-align:center; }

/* ONE sticky map is the left spine for the whole guide; the section "steps" scroll past
   it on the RIGHT. The map persists across the scroll and changes state per step
   (scrollytelling) — a single stable canvas instead of a map per section. It sticks
   inside its grid cell, which spans the full (tall) row, so it travels the whole scroll. */
.stays-atlas{ display:grid; grid-template-columns:minmax(0,0.92fr) minmax(0,1.08fr); align-items:start; }
.stay-map{ position:sticky; top:74px; align-self:start; height:calc(100svh - 74px); overflow:hidden; background:oklch(0.93 0.006 84);
  border:0; border-radius:0; box-shadow:1px 0 0 oklch(0 0 0 / .08), 12px 0 30px -16px oklch(0 0 0 / .3); }
.stay-map .mapboxgl-ctrl-bottom-left, .stay-map .mapboxgl-ctrl-bottom-right{ display:none; }
.stay-steps{ min-width:0; }
.stay-step{ min-height:calc(100svh - 94px); display:flex; flex-direction:column;
  padding:clamp(8px,1.6vw,26px) clamp(28px,4.5vw,84px) clamp(40px,6vw,96px) clamp(26px,3.4vw,60px); }
.stay-step + .stay-step{ margin-top:clamp(48px,8vw,110px); }
/* extra air above the first section's title — the map (left column) stays flush to the hero */
.stay-step:first-child{ padding-top:clamp(48px,6vw,100px); }

.stay-section-head{ max-width:46ch; margin-bottom:clamp(30px,4.2vw,54px); }
.stay-section-head h2{ font-family:var(--font-display); font-weight:760; font-size:var(--text-2xl); color:var(--ink); letter-spacing:-0.01em; line-height:1.04; text-wrap:balance; }
.stay-section-head p{ margin-top:var(--s4); font-size:var(--text-lg); line-height:1.55; color:var(--muted); }

/* ── Marquee stays: two image-topped cards side by side, then the list ── */
.stay-features{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:clamp(20px,2vw,30px) clamp(18px,1.8vw,28px); margin-bottom:clamp(34px,4.6vw,58px); }
.stay-feature{ --tc:var(--brand); display:flex; flex-direction:column; }
.stay-feature-media{ position:relative; aspect-ratio:4 / 3; border-radius:14px; overflow:hidden;
  background:oklch(0.92 0.012 60); box-shadow:0 14px 32px oklch(0 0 0 / .15); }
.stay-feature-media::after{ content:""; position:absolute; inset:0; border-radius:14px; box-shadow:inset 0 0 0 1px oklch(0 0 0 / .08); pointer-events:none; }
.stay-feature-media img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .9s var(--ease-out); }
.stay-feature:hover .stay-feature-media img{ transform:scale(1.05); }
/* No photo of the property yet: its type's mark on its type colour, as the list rows do. */
.stay-feature-media--mark{ display:grid; place-items:center; box-shadow:none;
  background:color-mix(in oklch, var(--tc) 16%, oklch(0.97 0.006 84)); }
.stay-feature-glyph{ width:clamp(56px, 7vw, 84px); height:auto; color:var(--tc); }
.stay-thumb--photo{ overflow:hidden; }
.stay-thumb--photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.stay-feature-body{ padding-top:clamp(11px,1.2vw,15px); flex:1; display:flex; flex-direction:column; align-items:flex-start; }
.stay-feature-kicker{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; font:800 .66rem/1 var(--font-text); letter-spacing:.09em; text-transform:uppercase; color:var(--ink); }
.stay-dot{ width:8px; height:8px; flex:none; border-radius:50%; background:var(--tc); box-shadow:0 0 0 3px color-mix(in oklch, var(--tc) 22%, transparent); }
.stay-feature-town{ color:var(--muted); font-weight:700; letter-spacing:.03em; }
.stay-feature-name{ margin-top:var(--s2); font-family:var(--font-display); font-weight:750; font-size:clamp(1.24rem, 1rem + 0.7vw, 1.6rem); line-height:1.1; letter-spacing:-0.014em; color:var(--ink); text-wrap:balance; }
.stay-feature-blurb{ margin-top:var(--s2); margin-bottom:var(--s3); font-size:.93rem; line-height:1.55; color:var(--muted); }
.stay-feature-link{ margin-top:auto; display:inline-flex; align-items:center; gap:8px; text-decoration:none; font-weight:750; font-size:.88rem; color:var(--brand);
  background:linear-gradient(currentColor,currentColor) 0 100%/0 1.5px no-repeat; padding-bottom:3px; transition:background-size .3s var(--ease-out); }
.stay-feature-link:hover{ background-size:100% 1.5px; }
.stay-feature-link svg{ transition:transform .25s var(--ease-out); }
.stay-feature-link:hover svg{ transform:translateX(3px); }

/* ── The practical stays — a compact numbered list under a small label ── */
.stay-list-head{ font:800 .72rem/1 var(--font-text); letter-spacing:.14em; text-transform:uppercase; color:var(--muted);
  margin-bottom:var(--s4); padding-bottom:var(--s3); border-bottom:1px solid oklch(0 0 0 / .1); }
.stay-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.stay-row{ --tc:var(--brand); position:relative; display:grid; grid-template-columns:auto 1fr; gap:15px; scroll-margin-top:88px;
  padding:clamp(16px,1.8vw,22px) clamp(8px,1vw,14px);
  border-radius:12px; transition:background .18s var(--ease-out); }
/* Dividers are straight full-width hairlines drawn as a pseudo-element — NOT a border —
   so the row's border-radius (the hover/active pill) can't round or taper the line. */
.stay-row + .stay-row::before{ content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background:oklch(0 0 0 / .09); transition:opacity .18s var(--ease-out); }
.stay-row.is-active{ background:color-mix(in oklch, var(--tc) 7%, transparent); }
/* tuck the dividers above and below an active row so its rounded pill reads cleanly */
.stay-row.is-active::before, .stay-row.is-active + .stay-row::before{ opacity:0; }
.stay-thumb{ position:relative; width:54px; height:54px; flex:none; align-self:start; margin-top:2px; border-radius:13px;
  background:linear-gradient(145deg, color-mix(in oklch, var(--tc) 80%, white), var(--tc));
  display:grid; place-items:center; box-shadow:0 5px 14px color-mix(in oklch, var(--tc) 32%, transparent);
  transition:transform .18s var(--ease-out); }
.stay-row.is-active .stay-thumb{ transform:scale(1.07); }
.stay-thumb-glyph{ width:25px; height:25px; color:#fff; }
.stay-thumb-num{ position:absolute; top:-7px; left:-7px; min-width:20px; height:20px; padding:0 4px; border-radius:99px;
  display:grid; place-items:center; background:var(--paper); color:var(--ink); font:800 .66rem/1 var(--font-text);
  box-shadow:0 1px 4px oklch(0 0 0 / .28); border:1px solid oklch(0 0 0 / .06); }
.stay-row-top{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; font:800 .66rem/1.1 var(--font-text); letter-spacing:.09em; text-transform:uppercase; }
.stay-row-type{ color:var(--ink); }
.stay-row-where{ color:var(--muted); font-weight:700; letter-spacing:.03em; }
.stay-row-where::before{ content:"·"; margin-right:8px; color:oklch(0 0 0 / .32); }
.stay-row-name{ margin-top:5px; font-family:var(--font-display); font-weight:740; font-size:1.16rem; line-height:1.18; letter-spacing:-0.008em; color:var(--ink); }
.stay-row-blurb{ margin-top:6px; font-size:.9rem; line-height:1.5; color:var(--muted); }
.stay-row-link{ margin-top:10px; display:inline-flex; align-items:center; gap:6px; text-decoration:none; font-weight:700; font-size:.82rem; color:var(--brand); }
/* The whole row IS this link: a transparent overlay stretches the real <a> across the row,
   so a click anywhere opens it AND hovering anywhere counts as hovering the link — driving
   its underline + arrow. Keeps one semantic link (with its aria-label); the row is the hit area. */
.stay-row-link::after{ content:""; position:absolute; inset:0; z-index:1; }
.stay-row-link svg{ transition:transform .25s var(--ease-out); }
/* fire the link's animation whenever the row is highlighted — hovering the row (via the
   overlay) or its map pin (.is-active) — so the link always matches the background pill */
.stay-row-link:hover, .stay-row.is-active .stay-row-link{ text-decoration:underline; text-underline-offset:3px; }
.stay-row-link:hover svg, .stay-row.is-active .stay-row-link svg{ transform:translateX(3px); }

/* locator markers — numbered dots, marquee star pins, a brass Downtown anchor */
.staymk-wrap{ line-height:0; }
.staymk-wrap:has(.staymk.is-active){ z-index:7; }
.staymk-reveal{ line-height:0; transform-origin:center; transition:opacity .45s var(--ease-out); } /* entrance + section-crossfade layer (JS-driven) */
@media (prefers-reduced-motion: reduce){ .staymk-reveal{ transition:none; } }
.staymk{ width:25px; height:25px; border-radius:50%; border:2px solid #fff; background:var(--tc,#999); color:#fff;
  font:800 .72rem/1 var(--font-text); display:grid; place-items:center; cursor:pointer; padding:0;
  box-shadow:0 1px 5px oklch(0 0 0 / .5); transition:transform .16s var(--ease-out), box-shadow .16s var(--ease-out); }
.staymk-star{ width:30px; height:30px; box-shadow:0 2px 8px oklch(0 0 0 / .55); }
.staymk-star svg{ width:14px; height:14px; }
.staymk:hover, .staymk.is-active{ transform:scale(1.5);
  box-shadow:0 0 0 5px color-mix(in oklch, var(--tc,#999) 32%, transparent), 0 5px 14px oklch(0 0 0 / .5); }
.staymk-dt{ display:inline-flex; align-items:center; gap:5px; padding:4px 9px 4px 7px; border-radius:99px;
  background:var(--brass); color:oklch(0.22 0.03 84); font:800 .64rem/1 var(--font-text); letter-spacing:.06em; text-transform:uppercase;
  box-shadow:0 2px 8px oklch(0 0 0 / .5); white-space:nowrap; }

/* Looking for a rental? — a season drench band (turns with the site), not cream */
.rentals{ background:var(--season); color:#fff; }
.rentals-in{ max-width:1240px; margin:0 auto; padding:clamp(48px,6vw,80px) var(--gutter); }
.rentals-in h2{ color:#fff; font-size:var(--text-xl); font-family:var(--font-display); font-weight:740; letter-spacing:-0.008em; }
.rentals-in p{ margin-top:var(--s3); max-width:62ch; font-size:var(--text-base); line-height:1.6; color:oklch(0.97 0.012 var(--season-hue) / .9); }
.rentals-links{ margin-top:var(--s5); display:flex; flex-wrap:wrap; gap:12px; }
.rentals-btn{ display:inline-flex; align-items:center; gap:9px; text-decoration:none;
  padding:12px 20px; border-radius:99px; border:1px solid transparent; background:var(--paper);
  color:var(--ink); font:650 .9375rem/1 var(--font-text); transition:background .18s var(--ease-out), box-shadow .18s var(--ease-out), transform .18s var(--ease-out); }
.rentals-btn:hover{ background:color-mix(in oklch, var(--bc, #888) 10%, var(--paper));
  box-shadow:0 9px 24px oklch(0 0 0 / .32); transform:translateY(-2px); }
.rentals-logo{ width:18px; height:18px; flex:none; }
.rentals-ext{ opacity:.5; margin-left:1px; }
.rentals-btn:hover .rentals-ext{ opacity:.85; }
@media (max-width:900px){
  /* Stack: the map pins to the top of the viewport (just under the sticky nav) as a band
     while the steps scroll beneath it — same "follows you down, switches state" behavior.
     Block (not grid) flow so the sticky map travels the whole region, not just its cell. */
  .stays-atlas{ display:block; }
  .stay-map{ position:sticky; top:calc(var(--nav-h, 57px) + 8px); z-index:var(--z-sticky);
    height:38vh; min-height:240px; max-height:380px; margin:0 var(--gutter) clamp(18px,4vw,26px);
    border:1px solid oklch(0 0 0 / .12); border-radius:16px; box-shadow:0 14px 34px oklch(0 0 0 / .14); }
  .stay-step{ min-height:0; padding:0 var(--gutter) clamp(32px,7vw,52px); }
  .stay-step + .stay-step{ margin-top:clamp(30px,7vw,46px); }
}
@media (max-width:600px){
  .stay-features{ grid-template-columns:1fr; }
  .stay-feature-media{ aspect-ratio:16 / 10; }
}

/* ══ Hidden Gems — a video-forward discovery gazetteer (hidden-gems.html) ══
   Ten full-viewport gem "reels": no map; each comes into focus on scroll-in and
   the one centered in the viewport autoplays muted. */

/* ── Hero: a slow-drifting mosaic of the real gem photos behind the title ── */
.hero-gems{ position:relative; min-height:100svh; display:flex; align-items:center; overflow:hidden; isolation:isolate; background:oklch(0.08 0.01 var(--season-hue)); }
.hero-gems-mosaic{ position:absolute; inset:0; z-index:-2; display:flex; gap:clamp(8px,0.9vw,15px); padding:clamp(8px,0.9vw,15px); overflow:hidden; }
.hgm-col{ flex:1; min-width:0; display:flex; flex-direction:column; gap:clamp(8px,0.9vw,15px); animation:hgm-up 70s linear infinite; will-change:transform; }
.hgm-col--down{ animation-name:hgm-down; }
.hgm-tile{ flex:none; aspect-ratio:4 / 3; border-radius:9px; overflow:hidden; }
.hgm-tile img{ width:100%; height:100%; object-fit:cover; display:block; }
@keyframes hgm-up{ from{ transform:translateY(0); } to{ transform:translateY(-50%); } }
@keyframes hgm-down{ from{ transform:translateY(-50%); } to{ transform:translateY(0); } }
.hero-gems-scrim{ position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(102deg, oklch(0.07 0.01 var(--season-hue) / .82) 0%, oklch(0.07 0.01 var(--season-hue) / .58) 38%, oklch(0.08 0.012 var(--season-hue) / .28) 72%, oklch(0.08 0.012 var(--season-hue) / .16) 100%),
    linear-gradient(to top, oklch(0.07 0.01 var(--season-hue) / .58), transparent 44%); }
.hero-gems-inner{ max-width:1240px; width:100%; margin:0 auto; padding:clamp(96px,16vh,180px) var(--gutter) clamp(48px,8vh,90px); }
.hero-gems-kicker{ font:800 .8rem/1 var(--font-text); letter-spacing:.34em; text-transform:uppercase; color:var(--brass); margin-bottom:clamp(14px,2vh,22px); }
.hero-gems-title{ font-family:var(--font-display); font-weight:800; font-size:clamp(3.3rem, 1.5rem + 5.4vw, 5.4rem); line-height:.92; letter-spacing:-0.032em; color:#fff; text-wrap:balance; text-shadow:0 4px 40px oklch(0.04 0.01 var(--season-hue) / .65); }
.hero-gems-sub{ margin-top:clamp(20px,3vh,30px); max-width:58ch; font-size:clamp(1.06rem, 0.98rem + 0.5vw, 1.32rem); line-height:1.55; color:oklch(0.96 0.01 var(--season-hue) / .92); text-shadow:0 2px 22px oklch(0.04 0.01 var(--season-hue) / .6); }
.hero-gems-cue{ margin-top:clamp(30px,5vh,52px); display:inline-flex; align-items:center; gap:10px; text-decoration:none;
  font:800 .78rem/1 var(--font-text); letter-spacing:.16em; text-transform:uppercase; color:#fff; }
.hero-gems-cue svg{ color:var(--brass); animation:gem-bob 1.8s var(--ease-out) infinite; }
/* gentle bob, centred on the word — rests a touch high, dips a touch below (shared: hero + gem cues) */
@keyframes gem-bob{ 0%,100%{ transform:translateY(-2px); } 50%{ transform:translateY(1px); } }

/* ── Reading room: a sticky index rail + contained, framed gem spreads ── */
.gems{ position:relative; background:oklch(0.10 0.012 var(--season-hue));
  display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; }
.gems-state{ grid-column:1 / -1; color:oklch(0.85 0.01 84 / .7); text-align:center; padding:clamp(60px,12vh,140px) var(--gutter); font-size:var(--text-lg); }

/* the sticky sidebar: the index rail + a mini-map locator below it */
.gem-sidebar{ position:sticky; top:0; height:100vh; align-self:start; display:flex; flex-direction:column; justify-content:center; gap:clamp(18px,3vh,38px);
  padding:clamp(20px,4vh,52px) clamp(16px,1.6vw,26px) clamp(20px,4vh,52px) clamp(22px,2.6vw,48px); }
.gem-minimap{ position:relative; align-self:stretch; aspect-ratio:1 / 1; margin-left:1px; border-radius:10px; overflow:hidden;
  border:1px solid oklch(1 0 0 / .12); box-shadow:0 16px 36px oklch(0.02 0.01 var(--season-hue) / .5); }
.gem-minimap .mapboxgl-canvas{ filter:url(#gx-rough); } /* map elements look slightly hand-drawn */
.gem-minimap .mapboxgl-ctrl-bottom-left, .gem-minimap .mapboxgl-ctrl-bottom-right{ display:none; }
/* slightly deteriorated, worn edges */
.gem-minimap::after{ content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit;
  box-shadow:inset 0 0 20px oklch(0.04 0.01 var(--season-hue) / .9), inset 0 0 4px oklch(0.04 0.01 var(--season-hue) / .7); }
/* hand-drawn "X marks the spot" — pen-and-ink, inked in once the map arrives (Zorro flourish) */
.gem-map-x{ color:#d4452f; line-height:0; }
.gem-map-x svg{ filter:url(#gx-ink) drop-shadow(0 1px 2px oklch(0 0 0 / .7)); transform-origin:center; }
.gem-map-x .gx-ma, .gem-map-x .gx-mb{ stroke-dasharray:24; stroke-dashoffset:24; } /* hidden until inked */
.gem-map-x.is-draw svg{ animation:gx-pop .7s var(--ease-out); }
.gem-map-x.is-draw .gx-ma{ animation:gx-draw .62s cubic-bezier(.5,.02,.36,1) forwards; }
.gem-map-x.is-draw .gx-mb{ animation:gx-draw .62s cubic-bezier(.5,.02,.36,1) .42s forwards; }
@keyframes gx-draw{ from{ stroke-dashoffset:24; } to{ stroke-dashoffset:0; } }
@keyframes gx-pop{ 0%{ transform:scale(.86); } 60%{ transform:scale(1.06); } 100%{ transform:scale(1); } }
@media (prefers-reduced-motion: reduce){ .gem-map-x svg, .gem-map-x.is-draw svg, .gem-map-x.is-draw .gx-ma, .gem-map-x.is-draw .gx-mb{ animation:none; } .gem-map-x .gx-ma, .gem-map-x .gx-mb{ stroke-dashoffset:0; } }
/* the index rail — where you are, click to jump */
.gem-rail{ }
/* the rail is a live progress TIMELINE: a faint full-height track (the ol border) with a brass
   fill (ol::before) that grows top→bottom as you scroll — js sets --railp (0→1 overall progress).
   Always-moving feedback, even while a gem sits composed. */
.gem-rail ol{ position:relative; list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:1px; border-left:1.5px solid oklch(1 0 0 / .14); --railp:0; }
.gem-rail ol::before{ content:""; position:absolute; left:-1.5px; top:0; width:3px; height:calc(var(--railp) * 100%); border-radius:3px; z-index:1; pointer-events:none;
  background:linear-gradient(to bottom, color-mix(in oklch, var(--brass) 70%, transparent), var(--brass));
  box-shadow:0 5px 12px -3px color-mix(in oklch, var(--brass) 70%, transparent); }
.gem-rail-item{ position:relative; display:flex; align-items:center; gap:11px; width:100%; background:none; border:0; cursor:pointer;
  padding:7px 4px 7px 16px; color:oklch(0.97 0.006 84 / .4); font:700 .8rem/1.15 var(--font-text); text-align:left;
  transition:color .2s var(--ease-out); }
.gem-rail-dot{ width:8px; height:8px; flex:none; border-radius:50%; background:var(--tc); opacity:.5; transition:opacity .2s, transform .2s var(--ease-out); }
.gem-rail-num{ font-family:var(--font-display); font-weight:800; font-size:.76rem; opacity:.7; }
.gem-rail-name{ white-space:nowrap; } /* always visible — no layout jump */
.gem-rail-item:hover{ color:oklch(0.97 0.006 84 / .86); }
.gem-rail-item.is-active{ color:#fff; }
.gem-rail-item.is-active .gem-rail-dot{ opacity:1; transform:scale(1.35); }

/* the track of contained spreads */
.gem-track{ min-width:0; }
.gem{ position:relative; min-height:92vh; display:flex; align-items:center; justify-content:center;
  padding:clamp(40px,7vh,84px) clamp(20px,3.2vw,56px); }
.gem-inner{ width:100%; max-width:1200px; display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:clamp(24px,3vw,46px); align-items:start; }

/* ── Video-centric: a big video on the left, text + photos on the right ── */
.gem-media{ min-width:0; }
/* "Explore Next" cue under the video — label + bobbing arrow, then the next gem's name */
.gem-cue{ margin-top:clamp(22px,3.6vh,42px); display:inline-flex; flex-direction:column; align-items:flex-start; gap:5px; background:none; border:0; padding:4px 2px; cursor:pointer; text-align:left; }
.gem-cue-head{ display:inline-flex; align-items:center; gap:8px; font:800 .72rem/1 var(--font-text); letter-spacing:.18em; text-transform:uppercase; color:var(--brass); }
.gem-cue-arrow{ flex:none; color:var(--brass); animation:gem-bob 1.8s var(--ease-out) infinite; }
.gem-cue-next{ font-family:var(--font-display); font-weight:700; font-size:1.02rem; line-height:1.1; color:oklch(0.97 0.006 84 / .72); transition:color .2s var(--ease-out); }
.gem-cue:hover .gem-cue-next{ color:#fff; }
@media (prefers-reduced-motion: reduce){ .gem-cue-arrow{ animation:none; } }
@media (max-width:900px){ .gem-cue{ display:none; } } /* mobile is a normal scroll list — cue not needed */
.gem-video-tile{ position:relative; aspect-ratio:16 / 9; overflow:hidden; border-radius:14px;
  background:oklch(0.14 0.012 var(--season-hue)); box-shadow:0 30px 64px oklch(0.03 0.01 var(--season-hue) / .5), 0 0 0 1px oklch(1 0 0 / .09); }
.gem-yt{ position:absolute; inset:0; }
.gem-yt iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; pointer-events:auto; } /* the loaded film is interactive (native controls) */
.gem-poster{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:opacity .55s var(--ease-out); }
.gem.is-playing .gem-poster{ opacity:0; } /* poster crossfades out once the film is actually playing */

/* photos — small prints in the text column (the source photo + any gallery) */
.gem-photos{ margin-top:clamp(15px,2.2vh,22px); display:flex; flex-wrap:wrap; gap:9px; }
.gem-photo-card{ width:clamp(84px,27%,112px); margin:0; padding:5px; border-radius:6px; background:#fff;
  box-shadow:0 10px 24px oklch(0.03 0.01 var(--season-hue) / .4); }
.gem-photo-card img{ display:block; width:100%; aspect-ratio:4 / 3; object-fit:cover; border-radius:2px; }

/* story panel — the type treatment (kept) */
.gem-panel{ min-width:0; color:#fff; }
.gem-index{ display:flex; align-items:baseline; gap:13px; margin-bottom:clamp(8px,1.4vh,14px); }
.gem-num{ font-family:var(--font-display); font-weight:800; font-size:clamp(1.5rem, 1rem + 1.4vw, 2.1rem); line-height:1; color:var(--tc); letter-spacing:-0.02em; }
.gem-tag{ font:800 .68rem/1 var(--font-text); letter-spacing:.2em; text-transform:uppercase; color:#fff;
  padding:6px 11px; border-radius:99px; background:color-mix(in oklch, var(--tc) 26%, transparent); box-shadow:inset 0 0 0 1px color-mix(in oklch, var(--tc) 55%, transparent); }
.gem-name{ font-family:var(--font-display); font-weight:780; font-size:clamp(1.7rem, 1.15rem + 1.35vw, 2.35rem); line-height:1.05; letter-spacing:-0.02em; color:#fff; text-wrap:balance; }
.gem-story{ margin-top:clamp(11px,1.8vh,18px); font-size:clamp(.98rem, 0.94rem + 0.2vw, 1.1rem); line-height:1.58; color:oklch(0.97 0.006 84 / .8); }
/* the brass location line — the address, linked to driving directions */
.gem-find{ margin-top:clamp(13px,2vh,20px); display:inline-flex; align-items:flex-start; gap:8px; font-size:.9rem; font-weight:600; line-height:1.4; color:var(--brass); text-decoration:none; transition:color .18s var(--ease-out); }
.gem-find svg{ flex:none; margin-top:2px; color:currentColor; }
.gem-find span{ text-decoration:underline; text-decoration-color:transparent; text-underline-offset:3px; transition:text-decoration-color .25s var(--ease-out); }
/* arrow draws in left→right on hover (clip-path wipe) — the line extends toward the
   destination, instead of a stark pop */
.gem-find-go{ clip-path:inset(0 100% 0 0); transition:clip-path .34s var(--ease-out); }
.gem-find:hover{ color:color-mix(in oklch, var(--brass) 78%, #fff); }
.gem-find:hover span{ text-decoration-color:currentColor; }
.gem-find:hover .gem-find-go{ clip-path:inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce){ .gem-find-go{ transition-duration:.01ms; } }
.gem-find:focus-visible{ outline:2px solid var(--brass); outline-offset:3px; border-radius:3px; }
/* the friendly "where to look" aside — a friend tipping you off; flush-left with the rest */
.gem-aside{ margin-top:8px; max-width:52ch; font-size:.875rem; font-style:italic; line-height:1.52; color:oklch(0.97 0.006 84 / .6); }
.gem-actions{ margin-top:clamp(16px,2.4vh,24px); display:flex; flex-wrap:wrap; align-items:center; gap:9px; }
.gem-cta{ display:inline-flex; align-items:center; gap:7px; text-decoration:none; padding:10px 14px 10px 12px; border-radius:99px;
  background:oklch(1 0 0 / .08); color:#fff; font:650 .84rem/1 var(--font-text); border:1px solid oklch(1 0 0 / .16);
  transition:background .18s var(--ease-out), border-color .18s var(--ease-out); }
.gem-cta:hover{ background:oklch(1 0 0 / .18); border-color:oklch(1 0 0 / .34); }

/* the click-to-play affordance — a glass play button + label, centred on the poster.
   It rides the gem's own opacity, so in the pinned stage only the centred gem shows it. */
.gem-play{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:3; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; gap:14px; padding:0; background:none; border:0; color:#fff;
  transition:transform .25s var(--ease-out), opacity .2s var(--ease-out); }
.gem-play > svg{ box-sizing:content-box; width:28px; height:28px; padding:22px; border-radius:50%; transform:translateX(2px);
  background:oklch(0.08 0.01 var(--season-hue) / .5); border:1.5px solid oklch(1 0 0 / .55); backdrop-filter:blur(7px);
  box-shadow:0 10px 30px oklch(0.03 0.01 var(--season-hue) / .5); transition:background .2s var(--ease-out), border-color .2s var(--ease-out); }
.gem-play:hover{ transform:translate(-50%,-50%) scale(1.05); }
.gem-play:hover > svg{ background:var(--brand); border-color:transparent; }
.gem-play-label{ font:750 .82rem/1 var(--font-text); letter-spacing:.03em; text-shadow:0 2px 14px oklch(0 0 0 / .7); }
.gem.is-loading .gem-play, .gem.is-playing .gem-play{ opacity:0; pointer-events:none; }
/* loading spinner — shown while the film loads, before the poster crossfades out */
.gem-spinner{ position:absolute; left:50%; top:50%; width:46px; height:46px; margin:-23px 0 0 -23px; z-index:3;
  border-radius:50%; border:3px solid oklch(1 0 0 / .25); border-top-color:#fff; opacity:0; pointer-events:none;
  box-shadow:0 6px 20px oklch(0.03 0.01 var(--season-hue) / .5); transition:opacity .2s var(--ease-out); }
.gem.is-loading .gem-spinner{ opacity:1; animation:gem-spin .8s linear infinite; }
@keyframes gem-spin{ to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .gem.is-loading .gem-spinner{ animation:none; } }

/* ── pinned stage, scroll-TRIGGERED transitions ──────────────────────
   The gems are STACKED and PINNED at viewport centre. Scroll only flips which gem
   is `.is-on` (js, at a threshold); the fade-through-black is a self-contained TIME
   transition: the shown gem sits forward & full, the rest sit faded & slightly back.
   A SHALLOW translateZ keeps the zoom subtle/classy. */
@media (min-width:901px){
  .gems--stage .gem-track{ position:relative; }
  .gems--stage .gem-stage{ position:sticky; top:0; height:100vh; height:100svh;
    display:grid; perspective:1700px; perspective-origin:50% 47%; }
  .gems--stage .gem{ grid-area:1 / 1; position:relative; min-height:0;
    padding:clamp(32px,6vh,76px) clamp(20px,3.2vw,56px);
    opacity:0; transform:translateZ(-70px); pointer-events:none; will-change:opacity, transform; backface-visibility:hidden;
    transition:opacity .52s var(--ease-out), transform .62s var(--ease-out); }
  .gems--stage .gem.is-on{ opacity:1; transform:translateZ(0); pointer-events:auto; }
}
@media (prefers-reduced-motion: reduce){ .gems--stage .gem{ transition-duration:.01ms; } }
.gem-photo-card.is-zoomable{ cursor:zoom-in; }
.gem-photo-card.is-zoomable:focus-visible{ outline:2px solid var(--brass); outline-offset:2px; }

/* photo lightbox */
.gem-lightbox{ position:fixed; inset:0; z-index:200; display:grid; place-items:center; padding:clamp(20px,5vh,56px);
  background:oklch(0.05 0.008 var(--season-hue) / .92); backdrop-filter:blur(10px); opacity:0; transition:opacity .25s var(--ease-out); }
.gem-lightbox.is-open{ opacity:1; }
.gem-lightbox[hidden]{ display:none; }
.glb-fig{ margin:0; display:flex; flex-direction:column; align-items:center; gap:13px; max-width:min(1100px,92vw); }
.glb-fig img{ max-width:100%; max-height:80vh; object-fit:contain; border-radius:8px; box-shadow:0 40px 110px oklch(0 0 0 / .6); background:#000;
  animation:glb-pop .3s var(--ease-out); }
@keyframes glb-pop{ from{ opacity:0; transform:scale(.96); } to{ opacity:1; transform:none; } }
.glb-cap{ color:oklch(0.95 0.006 84 / .78); font-size:.9rem; text-align:center; max-width:60ch; }
.glb-close, .glb-nav{ position:absolute; display:grid; place-items:center; cursor:pointer; color:#fff;
  background:oklch(1 0 0 / .1); border:1px solid oklch(1 0 0 / .22); border-radius:50%; backdrop-filter:blur(6px);
  transition:background .18s var(--ease-out), transform .18s var(--ease-out); }
.glb-close:hover, .glb-nav:hover{ background:oklch(1 0 0 / .22); }
.glb-close{ top:clamp(14px,3vh,26px); right:clamp(14px,3vw,30px); width:46px; height:46px; font-size:1.7rem; line-height:1; }
.glb-nav{ top:50%; transform:translateY(-50%); width:52px; height:52px; font-size:2rem; line-height:1; padding-bottom:4px; }
.glb-nav:hover{ transform:translateY(-50%) scale(1.06); }
.glb-prev{ left:clamp(12px,3vw,32px); }
.glb-next{ right:clamp(12px,3vw,32px); }
.glb-nav[hidden]{ display:none; }
@media (prefers-reduced-motion: reduce){ .glb-fig img{ animation:none; } .gem-lightbox{ transition:none; } }

@media (max-width:900px){
  .gems{ grid-template-columns:1fr; }
  .gem-sidebar{ display:none; }
  .gem{ min-height:auto; padding:clamp(34px,7vh,60px) var(--gutter); }
  .gem-inner{ grid-template-columns:1fr; gap:clamp(16px,4vw,24px); max-width:560px; margin:0 auto; }
}
@media (prefers-reduced-motion: reduce){
  .hero-gems-cue svg{ animation:none; }
  .hgm-col{ animation:none; }
}


/* ════════ Mobile navigation: hamburger + full-screen overlay (≤1060px) ════════ */
.nav-toggle{ display:none; }
.nav-toggle-box{ position:relative; width:24px; height:16px; pointer-events:none; }
.nav-toggle-bar{ position:absolute; left:0; width:100%; height:2px; border-radius:2px; background:currentColor; transition:background .2s var(--ease-out); }
.nav-toggle-bar:nth-child(1){ top:0; }
.nav-toggle-bar:nth-child(2){ top:7px; }
.nav-toggle-bar:nth-child(3){ top:14px; }
@media (max-width:1060px){
  .site-nav{ flex-wrap:nowrap; }
  .site-nav .season-switch, .site-nav .nav-social{ display:none; }
  .nav-toggle{
    display:inline-flex; align-items:center; justify-content:center;
    width:46px; height:46px; margin-left:auto; padding:0;
    background:none; border:0; cursor:pointer; color:var(--on-lacquer);
    -webkit-tap-highlight-color:transparent; transition:color .15s;
  }
  .nav-toggle:hover{ color:var(--brass); }
}
.mobile-menu{
  position:fixed; inset:0; z-index:var(--z-modal);
  display:flex; flex-direction:column;
  background:var(--lacquer); color:var(--on-lacquer);
  padding:max(14px, env(safe-area-inset-top)) var(--gutter) max(22px, env(safe-area-inset-bottom));
  overflow-y:auto; overscroll-behavior:contain;
  opacity:0; visibility:hidden; transform:translateY(-10px);
  transition:opacity .3s var(--ease-out), transform .42s var(--ease-out), visibility .3s;
}
.mobile-menu.is-open{ opacity:1; visibility:visible; transform:none; }
html.nav-open, html.nav-open body{ overflow:hidden; }
.mm-top{ display:flex; align-items:center; justify-content:space-between; gap:var(--s4); margin-bottom:var(--s5); }
.mm-logo .logo-wordmark{ height:34px; }
.mm-close{
  flex:none; width:46px; height:46px; margin-right:-8px;
  display:inline-flex; align-items:center; justify-content:center;
  background:none; border:0; cursor:pointer; color:var(--on-lacquer); transition:color .15s;
}
.mm-close svg{ width:26px; height:26px; }
.mm-close:hover{ color:var(--brass); }
.mm-nav{ display:flex; flex-direction:column; }
.mm-link{
  display:block; padding:14px 0; text-decoration:none; color:var(--on-lacquer);
  font-family:var(--font-display); font-weight:600; line-height:1.08; letter-spacing:-0.01em;
  font-size:clamp(1.55rem, 6.4vw, 2.05rem);
  border-bottom:1px solid oklch(1 0 0 / .08); transition:color .15s;
}
.mm-link:hover, .mm-link[aria-current="page"]{ color:var(--brass); }
.mm-label{ margin:var(--s6) 0 2px; font-size:.7rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--brass); }
.mm-sub{
  font-family:var(--font-text); font-weight:500; letter-spacing:0; line-height:1.2;
  font-size:clamp(1.05rem, 4.6vw, 1.25rem); color:var(--on-lacquer-muted); padding:12px 0 12px 20px;
}
.mm-sub:hover, .mm-sub[aria-current="page"]{ color:var(--brass); }
.mm-foot{ margin-top:auto; padding-top:var(--s7); display:flex; flex-direction:column; gap:var(--s5); }
.mm-seasons{ display:flex; border:1px solid var(--brass-dim); border-radius:3px; overflow:hidden; }
.mm-season{
  flex:1; appearance:none; background:none; border:0; cursor:pointer; color:var(--on-lacquer-muted);
  padding:16px 8px; font:700 .72rem/1 var(--font-text); letter-spacing:.1em; text-transform:uppercase;
  transition:background .2s, color .2s;
}
.mm-season + .mm-season{ border-left:1px solid var(--brass-dim); }
.mm-season:hover{ color:var(--on-lacquer); }
.mm-season[aria-pressed="true"]{ background:var(--season); color:#fff; }
.mm-social{ display:flex; gap:var(--s3); }
.mm-social a{ color:var(--brand); display:inline-flex; padding:10px; margin:-10px -2px; transition:color .15s, transform .15s; }
.mm-social svg{ width:26px; height:26px; }
.mm-social a:hover{ color:var(--brand-deep); transform:translateY(-1px); }
@media (prefers-reduced-motion: reduce){
  .mobile-menu{ transition:opacity .12s, visibility .12s; transform:none; }
  .mobile-menu.is-open{ transform:none; }
}


/* ── A11y + responsive polish ── */
body{ overflow-x:clip; }                 /* contain any stray horizontal overflow (clip keeps sticky working) */
@media (max-width:640px){ .foot-cols{ grid-template-columns:1fr 1fr; } }
@media (max-width:400px){ .foot-cols{ grid-template-columns:1fr; } }

/* ── Pillar prose ────────────────────────────────────────────────
   Long-form editorial body for the pillar/landing pages. */
.pillar-prose{ max-width:1160px; margin-inline:auto; padding:var(--section) var(--gutter); }
.pillar-prose h2{ font-family:var(--font-display); font-size:var(--text-2xl); font-weight:740; margin:var(--s8) 0 var(--s4); letter-spacing:-0.01em; }
.pillar-prose h2:first-child{ margin-top:0; }
.pillar-prose p{ max-width:64ch; margin-bottom:var(--s4); color:oklch(0.30 0.015 40); font-size:var(--text-lg); line-height:1.75; }
.pillar-prose p.lede{ font-size:var(--text-xl); color:var(--ink); max-width:60ch; }

/* Dropdown item icons (the menu row is already flex with a gap). */
.nav-ico{ width:17px; height:17px; flex:0 0 auto; color:var(--brass); opacity:.9; }
.nav-menu a:hover .nav-ico, .nav-menu a:focus-visible .nav-ico{ opacity:1; }

/* Menu items with an inline .nav-ico don't need the mask-based ::before
   (an unset --icon leaves mask:none, which paints the box solid). */
.nav-menu a:has(.nav-ico)::before{ display:none; }

/* ── Pillar guide: the Village-curated directory (Savor / Shop / Play / Stay) ──
   Cards + facet chips + a sticky mini-map. Entries without coordinates still
   list; they just do not get a pin. */
.guide{ max-width:1160px; margin-inline:auto; padding:0 var(--gutter) var(--section); }
.guide-head{ margin-bottom:var(--s5); }
.guide-head h2{ font-family:var(--font-display); font-size:var(--text-2xl); font-weight:740; }
.guide-lede{ color:var(--muted); max-width:56ch; margin-top:var(--s2); }

.guide-chips{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:var(--s6); }
.guide-chip{ display:inline-flex; align-items:center; gap:7px; padding:8px 14px; border-radius:999px;
  border:1px solid oklch(0.39 0.03 40 / .28); background:transparent; cursor:pointer;
  font:600 .875rem/1 var(--font-text); color:var(--ink); transition:background .18s var(--ease-out), border-color .18s var(--ease-out); }
.guide-chip:hover{ border-color:var(--brand); }
.guide-chip.is-on{ background:var(--brand-deep); border-color:var(--brand-deep); color:#fff; }
.guide-chip-n{ font-variant-numeric:tabular-nums; opacity:.6; font-weight:500; }

.guide-split{ display:grid; grid-template-columns:1fr; gap:var(--s6); }
@media (min-width:1000px){ .guide-split{ grid-template-columns:1.35fr .95fr; align-items:start; } }
.guide-map{ position:sticky; top:88px; height:min(74vh, 620px); border-radius:14px; overflow:hidden;
  border:1px solid oklch(0.39 0.03 40 / .22); background:var(--lacquer); }
@media (max-width:999px){ .guide-map{ position:static; height:340px; order:-1; } }

.guide-sec + .guide-sec{ margin-top:var(--s7); }
.guide-sec-head{ display:flex; align-items:baseline; gap:10px; font-family:var(--font-display);
  font-size:var(--text-xl); font-weight:740; margin-bottom:var(--s4);
  padding-bottom:var(--s2); border-bottom:1px solid oklch(0.39 0.03 40 / .18); }
.guide-sec-n{ font:600 .8125rem/1 var(--font-text); color:var(--muted); font-variant-numeric:tabular-nums; }

.guide-grid{ display:grid; grid-template-columns:1fr; gap:var(--s3); list-style:none; }
@media (min-width:640px){ .guide-grid{ grid-template-columns:1fr 1fr; } }
.guide-card{ border:1px solid oklch(0.39 0.03 40 / .18); border-radius:12px; background:oklch(1 0 0 / .5);
  transition:border-color .18s var(--ease-out), transform .18s var(--ease-out); }
.guide-card:hover{ border-color:var(--brand); transform:translateY(-2px); }
.guide-card-body{ padding:var(--s4); }
.guide-card h3{ font-family:var(--font-display); font-size:1.0625rem; font-weight:740; line-height:1.25; }
.guide-blurb{ margin-top:6px; font-size:.875rem; line-height:1.55; color:oklch(0.36 0.015 40); }
.guide-meta{ margin-top:8px; font-size:.8125rem; color:var(--muted); }
.guide-dot{ margin:0 7px; opacity:.5; }
.guide-tel{ color:var(--muted); text-decoration:none; }
.guide-tel:hover{ color:var(--brand); }
.guide-links{ margin-top:10px; display:flex; gap:14px; }
.guide-link{ font:600 .8125rem/1 var(--font-text); color:var(--brand); text-decoration:none; }
.guide-link:hover{ text-decoration:underline; }
.guide-link--quiet{ color:var(--muted); }
.guide-empty{ color:var(--muted); }

.guide-pin{ width:13px; height:13px; border-radius:50%; background:var(--brand);
  border:2px solid oklch(0.968 0.012 85); box-shadow:0 2px 6px rgba(0,0,0,.45); cursor:pointer; }
.guide-map .mapboxgl-popup-content{ background:var(--lacquer); color:var(--on-lacquer);
  font:500 .8125rem/1.45 var(--font-text); border-radius:9px; padding:9px 12px; }
.guide-map .mapboxgl-popup-tip{ border-top-color:var(--lacquer); border-bottom-color:var(--lacquer); }

/* Events bento card — a live count of what's on, filled by the homepage
   playbill loader. Hidden until the feed answers, so a failed fetch degrades
   to a plain card rather than an empty pill. */
.pillar-count{
  display:inline-flex; align-items:center; gap:.42em; align-self:flex-start;
  margin-bottom:.55rem; padding:.3em .7em .32em;
  font:600 var(--text-xs)/1 var(--font-ui); letter-spacing:.06em; text-transform:uppercase;
  color:var(--paper); background:oklch(0.62 0.11 var(--season-hue) / .92);
  border-radius:999px; backdrop-filter:blur(3px);
}
.pillar-count::before{
  content:""; width:.5em; height:.5em; border-radius:50%;
  background:currentColor; box-shadow:0 0 0 .22em oklch(1 0 0 / .32);
}

/* Only the CONDENSED card is tightened. A venue with a dozen events in a day was
   listing them at nearly 40px per line, which made one card taller than the rest of
   the day put together — so its rows run at ~30px pitch and its member titles take
   the size and colour of .ev-row-blurb, reading as the supporting list they are.
   Normal event rows keep the page's standard rhythm; they are the primary items and
   were never the problem. */

/* ── Condensed institution card (List view) ──────────────────────────────────
   One card standing in for an institution's whole day — the library books its
   programming under a dozen room names, so listing each event separately buried
   everything else on the calendar. Members link out individually: condensing
   changes how an event is surfaced, never where it lives. */
.ev-row--group{ grid-template-columns:minmax(0,1fr); }
.ev-row--group .ev-row-cat{ background:oklch(0.55 0.09 150 / .12); color:var(--brand-deep); }
.ev-grp-list{ margin-top:var(--s2); border-top:1px solid oklch(0.93 0.008 84); }
.ev-grp-item{
  display:grid; grid-template-columns:5.5rem minmax(0,1fr); gap:var(--s3); align-items:baseline;
  padding:5px 0; border-bottom:1px solid oklch(0.95 0.006 84);
  text-decoration:none; color:inherit;
}
.ev-grp-item:last-child{ border-bottom:0; padding-bottom:0; }
.ev-grp-item:hover .ev-grp-title{ text-decoration:underline; }
.ev-grp-time{
  font-size:.75rem; font-weight:700; letter-spacing:.03em; color:var(--muted);
  font-variant-numeric:tabular-nums; white-space:nowrap;
}
.ev-grp-title{ font-size:.9rem; line-height:1.55; color:var(--muted); }
@media (max-width: 640px){
  .ev-grp-item{ grid-template-columns:minmax(0,1fr); gap:2px; padding:7px 0; }
  .ev-grp-time{ font-size:.6875rem; }
}

/* Retail marks. The five shopping aisles get their own hues, held at the same
   lightness and chroma as the food set so a shop tile and a venue tile read as
   one family rather than two. Appended rather than folded into the block above,
   which is keyed to the savor courses. */
.fare-mark[data-tone="antiques"] { --mark-hue: 62;    }
.fare-mark[data-tone="style"]    { --mark-hue: 342.5; }
.fare-mark[data-tone="home"]     { --mark-hue: 22.8;  }
.fare-mark[data-tone="hobby"]    { --mark-hue: 262.4; }
.fare-mark[data-tone="makers"]   { --mark-hue: 158.2; }
.fare-mark[data-tone="store"]    { --mark-hue: 96;    }

/* Signature Experiences: the named person a card's line is from. Cards published
   from the content page carry one; our placeholder cards do not, so the rule only
   applies where there is a name to show. */
.poster-by { margin: 0.5rem 0 0; font-size: 0.8rem; letter-spacing: 0.02em; opacity: 0.85; }
/* A signature card's optional link, set from the content page. */
.poster-link { align-self: flex-start; margin-top: auto; padding-top: var(--s2); font-size: 0.85rem; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.poster-link:hover { text-decoration-thickness: 2px; }
