:root {
  --bg: #fffaf2;
  --bg-tint: #fff1dc;
  --surface: #ffffff;
  --ink: #1c2230;
  --ink-soft: #4a5263;
  --muted: #5f6778; /* 4.5:1 or better on every background, including --bg-tint */
  --line: #ecdfc9;
  --redwood: #b4472b;
  --redwood-dark: #8e3420;
  --forest: #2f6b4f;
  --sun: #f6c343;
  --sky: #3b82c4;
  --plum: #8a4fa3;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(60, 40, 10, .06), 0 8px 24px rgba(60, 40, 10, .07);
  --shadow-lift: 0 2px 4px rgba(60, 40, 10, .08), 0 16px 36px rgba(60, 40, 10, .12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* category colors */
  --c-music: #d94f2a;
  --c-trivia: #3b82c4;
  --c-karaoke: #c2408a;
  --c-comedy: #e39b12;
  --c-games: #6a52c9;
  --c-theater: #8a3a4f;
  --c-festival: #2f8a5a;
  --c-market: #5f8f2a;
  --c-family: #1e9aa0;
  --c-film: #45506a;
  --c-other: #7a6a55;
}

* { box-sizing: border-box; }
/* The hidden attribute always wins, even on elements that set their own display (cards are flex),
   so filters like "Open now" can hide them. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
/* The footer sits at the bottom of the window even on short pages. */
body {
  min-height: 100vh; display: flex; flex-direction: column;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--redwood-dark); }
a:hover { color: var(--redwood); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
main { flex: 1 0 auto; }


/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 242, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; white-space: nowrap; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.2rem; }
.brand strong { color: var(--forest); font-weight: 800; }
.brand-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .93rem;
  padding: 8px 12px; border-radius: 999px; white-space: nowrap;
}
.site-nav a:hover { background: var(--bg-tint); color: var(--ink); }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; cursor: pointer; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--bg); padding: 8px 16px 16px; border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  isolation: isolate;
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, #ffe3a3 0%, transparent 60%),
    radial-gradient(800px 420px at -10% 110%, #ffd9c8 0%, transparent 60%),
    var(--bg);
  padding: clamp(28px, 3.5vw, 48px) 0 clamp(32px, 4vw, 52px);
}
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 800; color: var(--ink); }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); margin-top: .9rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--redwood); color: #fff; box-shadow: 0 6px 18px rgba(180, 71, 43, .3); }
.btn-primary:hover { background: var(--redwood-dark); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--forest); }
.ico { width: 20px; height: 20px; color: var(--forest); }

.now-card {
  background: var(--surface); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-lift);
  border: 1px solid var(--line); position: relative;
}
.now-date { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; }
.now-season { color: var(--muted); font-size: .93rem; }
.now-list { list-style: none; padding: 0; margin: 16px 0 12px; display: grid; gap: 10px; }
.now-list li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: baseline; font-size: .94rem; }
.now-list .t { font-weight: 700; color: var(--redwood); font-variant-numeric: tabular-nums; font-size: .85rem; }
.now-list .v { color: var(--muted); font-size: .85rem; }
.now-more { font-weight: 700; text-decoration: none; }


@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}
/* On phones the headline gives way so today's lineup shows on the first screen. */
@media (max-width: 600px) {
  .hero { padding: 18px 0 24px; }
  .hero h1 { font-size: 1.85rem; }
  .hero .lede { font-size: 1rem; margin-top: .6rem; }
  .hero-actions { margin-top: 1rem; }
  .hero-actions .btn { padding: 10px 16px; }
  .now-card { padding: 18px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(32px, 4.5vw, 56px) 0; }
.section-tint { background: var(--bg-tint); }
#happening { padding-top: clamp(28px, 3vw, 40px); }
/* Home page section heads: the heading, then its description below it across the full width. */
.section-head { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 18px; }
.section-note { color: var(--ink-soft); max-width: none; }
.linkish { background: none; border: 0; padding: 0; color: var(--redwood-dark); font-weight: 700; text-decoration: underline; cursor: pointer; }
.empty { color: var(--muted); padding: 24px 0; }

/* Day strip */
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: thin; }
.day-btn {
  flex: 0 0 auto; min-width: 84px; text-align: center; cursor: pointer;
  background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px;
}
.day-btn .dow { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.day-btn .dom { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.day-btn .cnt { display: block; font-size: .72rem; color: var(--muted); }
.day-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day-btn[aria-pressed="true"] .dow, .day-btn[aria-pressed="true"] .cnt { color: #ffd98a; }
/* All 14 days fit on one row on a desktop; narrower screens scroll the strip. */
@media (min-width: 1100px) {
  .day-strip { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); overflow: visible; }
  .day-btn { min-width: 0; padding: 10px 4px; }
}

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip-row.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
.chip {
  flex: 0 0 auto; cursor: pointer; border: 1.5px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .88rem; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { border-color: var(--ink-soft); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip .n { font-size: .75rem; opacity: .7; }

/* Tier toggle */
.tier-toggle { display: inline-flex; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; }
.tier-toggle button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink-soft); white-space: nowrap; }
.tier-toggle button[aria-pressed="true"] { background: var(--redwood); color: #fff; }
#shop-toggle { margin-bottom: 18px; }

.toolbar { margin-bottom: 14px; }
.search input {
  width: 100%; max-width: 440px; padding: 12px 16px 12px 42px; font: inherit; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3a7 7 0 1 0 4.2 12.6l4.6 4.6 1.4-1.4-4.6-4.6A7 7 0 0 0 10 3Zm0 2a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z' fill='%236b7385'/%3E%3C/svg%3E") no-repeat 14px center / 18px;
}
.search input:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 4px rgba(47, 107, 79, .15); }

/* ---------- Event cards ---------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; align-items: start; }
/* The home page shows the first six of a day's events until "Show all" is pressed. */
.event-grid.collapsed > .event:nth-child(n+7) { display: none; }
.show-all { margin-top: 18px; }
.event {
  --cat: var(--c-other);
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line);
  padding: 18px 18px 16px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .15s;
}
.event::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--cat); }
.event:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.event-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 8px; }
.cat-badge, .event-time { white-space: nowrap; }
.cat-badge {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  /* Text is a darker shade of the category colour so it passes 4.5:1 on the tinted badge. */
  color: color-mix(in srgb, var(--cat) 50%, var(--ink)); background: color-mix(in srgb, var(--cat) 12%, white); padding: 4px 9px; border-radius: 999px;
}
/* Kid tags sit right after the category badge (auto margin pushes the time or links to the right). */
.kid-badge { font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; margin-right: auto; align-self: flex-start; }
.kid-badge.kid-focused { background: #e3f4f4; color: #145f63; }
.kid-badge.kid-friendly { background: #eef6e6; color: #3d5f1a; }
.event-time { font-weight: 700; font-size: .88rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.event h3 { font-size: 1.15rem; }
.event .venue { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.event .blurb { font-size: .92rem; color: var(--ink-soft); }
.event .meta { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); padding-top: 4px; }
.event .meta a { font-weight: 700; text-decoration: none; }
.freq { display: inline-flex; align-items: center; gap: 4px; }
.event.featured { grid-column: span 2; background: linear-gradient(135deg, #fff 0%, #fff6e3 100%); }
.event.featured h3 { font-size: 1.5rem; }
@media (max-width: 640px) { .event.featured { grid-column: auto; } }

.ext-ico { display: inline-block; width: .8em; height: .8em; margin-left: .25em; vertical-align: -.05em; opacity: .65; }
a.ext:hover .ext-ico { opacity: 1; }
a.ext.plain { color: inherit; text-decoration: none; }
a.ext.plain:hover { text-decoration: underline; }
.confirm { font-size: .78rem; color: #8a5a00; background: #fff4d6; border-radius: 8px; padding: 5px 9px; }
.cat-music { --cat: var(--c-music); }
.cat-concert { --cat: var(--c-music); }
.cat-trivia { --cat: var(--c-trivia); }
.cat-karaoke { --cat: var(--c-karaoke); }
.cat-comedy { --cat: var(--c-comedy); }
.cat-games { --cat: var(--c-games); }
.cat-theater { --cat: var(--c-theater); }
.cat-festival, .cat-holiday, .cat-community { --cat: var(--c-festival); }
.cat-market { --cat: var(--c-market); }
.cat-family { --cat: var(--c-family); }
.cat-film { --cat: var(--c-film); }
.cat-open-mic { --cat: #b0581c; }
.cat-dance { --cat: #d1366b; }
.cat-fitness { --cat: #1f8a70; }
.cat-art { --cat: var(--plum); }
.cat-sports { --cat: #2b6cb0; }

/* ---------- Season ---------- */
.season-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.season-card {
  background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
}
.season-card .when { font-size: .82rem; font-weight: 700; color: var(--forest); }
.season-card p { font-size: .92rem; color: var(--ink-soft); }
.year-cal { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; }
.year-cal summary { cursor: pointer; font-weight: 700; }
.kid-year { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px 24px; font-size: .92rem; }
.kid-year .kid-badge { margin-left: 6px; }
.year-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 24px; }
.year-cal .year-grid { margin-top: 16px; }
.year-grid h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.05rem; }
.year-grid h3.current { color: var(--redwood); }
.year-grid ul { margin: 0; padding-left: 18px; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Picks ---------- */
.picks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pick {
  border-radius: 22px; padding: 22px; color: var(--ink); position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px; min-height: 220px; border: 1px solid var(--line);
}
.pick:nth-child(1) { background: #ffe9dc; }
.pick:nth-child(2) { background: #e6f1ea; }
.pick:nth-child(3) { background: #e7eefb; }
.pick h3 { font-size: 1.5rem; font-weight: 800; }
.pick .pick-meta { font-size: .85rem; font-weight: 700; color: var(--ink); }
.pick p { color: var(--ink-soft); font-size: .95rem; }
.pick .addr { font-size: .85rem; color: var(--muted); margin-top: auto; }
@media (max-width: 820px) { .picks-grid { grid-template-columns: 1fr; } }

/* ---------- Directory cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; align-items: start; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow);
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card h2, .card h3 { font-size: 1.12rem; font-weight: 600; overflow-wrap: anywhere; }
.card :is(h2, h3) a { color: var(--ink); text-decoration: none; }
.card :is(h2, h3) a:hover { color: var(--redwood); text-decoration: underline; }
.price { font-weight: 700; color: var(--forest); font-size: .9rem; white-space: nowrap; }
.card .sub { font-size: .82rem; font-weight: 700; color: var(--redwood-dark); }
.card .blurb { font-size: .92rem; color: var(--ink-soft); }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: .82rem; }
.card-foot .addr { color: var(--muted); }
.card-links { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; font-weight: 700; }
.card-links a { text-decoration: none; white-space: nowrap; }
.card-links a:hover { text-decoration: underline; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.tag { font-size: .72rem; font-weight: 600; background: var(--bg-tint); color: var(--ink-soft); padding: 3px 8px; border-radius: 999px; }
.tag.diet-tag { background: #e7f3ea; color: #24603f; }
a.tag.diet-tag { text-decoration: none; }
a.tag.diet-tag:hover { text-decoration: underline; }
.diet-notes { margin-top: 8px; color: var(--ink-soft); }
.detail-main .fine { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.card .weekly { font-size: .8rem; background: #eef4ff; color: #22508a; padding: 6px 10px; border-radius: 10px; font-weight: 600; }
.card-grid.compact .card { padding: 14px 16px; }
.cuisine-group { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin-top: 18px; border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.cuisine-group:first-child { margin-top: 0; }
.cuisine-group h2 { font-size: 1.4rem; }
.cuisine-group h2 a { color: inherit; text-decoration: none; }
.cuisine-group h2 a:hover { color: var(--redwood); }
.cuisine-group span { color: var(--muted); font-size: .88rem; }

/* ---------- Eat teaser (home) ---------- */
.cuisine-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.cuisine-tile {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px;
  color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .15s, transform .15s;
}
.cuisine-tile:hover { border-color: var(--redwood); color: var(--ink); transform: translateY(-1px); }
.cuisine-tile .n { font-size: .8rem; font-weight: 700; color: var(--forest); background: #e6f1ea; border-radius: 999px; padding: 2px 9px; }
.teaser-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- Restaurants page ---------- */
.site-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.page-hero {
  background: radial-gradient(900px 360px at 90% -20%, #ffe3a3 0%, transparent 60%), var(--bg);
  padding: clamp(28px, 4vw, 52px) 0 clamp(20px, 3vw, 32px);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.page-hero .lede { color: var(--ink-soft); font-size: 1.1rem; margin-top: .8rem; max-width: 52ch; }
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line); }
.crumbs a { color: var(--muted); }
.eat-page { padding-top: 36px; }
.eat-controls { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.eat-controls .search { flex: 1 1 280px; }

/* ---------- Getting here ---------- */
.getting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.info-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.info-card p + p { margin-top: .7rem; }
.info-card p { color: var(--ink-soft); font-size: .95rem; }
.info-card.train { border-top: 6px solid var(--redwood); }
.parking-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.parking-list strong { display: block; }
.parking-list span { color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .getting-grid { grid-template-columns: 1fr; } }

/* ---------- Facts ---------- */
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; counter-reset: f; }
.facts li {
  counter-increment: f; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 18px 58px; position: relative; color: var(--ink-soft); font-size: .95rem; box-shadow: var(--shadow);
}
.facts li::before {
  content: counter(f); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sun); color: var(--ink); font-weight: 800; display: grid; place-items: center; font-size: .9rem;
}

/* ---------- Footer ---------- */
.site-footer { background: #213b30; color: #e8efe9; padding: 56px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { color: #fff; margin-bottom: 6px; font-family: var(--font-display); font-size: 1.2rem; }
.footer-brand strong { color: var(--sun); }
.footer-about p + p { margin-top: .6rem; }
.site-footer h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--sun); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #e8efe9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.cookie-notice {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 640px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px 16px; padding: 12px 14px 12px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  font-size: .9rem; color: var(--ink);
}
.cookie-notice p { flex: 1; margin: 0; }
.cookie-notice .btn { flex: 0 0 auto; padding: 8px 18px; }
.site-footer .fine { font-size: .85rem; color: #b9c9be; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- On-now highlights (tonight / this week) ---------- */
.on-now { list-style: none; margin: 4px 0 2px; padding: 8px 10px; background: #fff0e6; border-radius: 10px; display: grid; gap: 3px; font-size: .85rem; color: var(--ink); }
.on-now strong { color: var(--redwood); font-weight: 800; margin-right: 4px; }
.on-now .more { color: var(--muted); font-size: .8rem; }
.see-all { margin-top: 22px; }
.list-page { padding-top: 36px; }

/* ---------- Hero illustration (Courthouse Square) ----------
   A perspective scene filling the hero behind the text. .hero-art copies the hero's grid so the
   courthouse dome (at x=-32 in the SVG's -1300..2300 viewBox, so 35.2% across) sits behind the
   centre of the headline column, with the right wing receding toward the "right now" card. A soft
   wash (.hero::after) keeps the headline readable over it. */
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; z-index: 0;
  background: linear-gradient(180deg, #f3d7a8, #ecc68f);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 62% 78% at 26% 42%, rgb(255 250 242 / .86) 0%, rgb(255 250 242 / .62) 50%, rgb(255 250 242 / 0) 100%),
    linear-gradient(180deg, rgb(255 250 242 / .5), rgb(255 250 242 / 0) 70%);
}
.hero-art {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 5vw, 64px);
}
.hero-art-col { position: relative; height: 100%; }
.hero-art img {
  position: absolute; bottom: 0; left: 50%; height: min(94%, 680px); width: auto; max-width: none;
  transform: translateX(-35.2%);
}
@media (max-width: 860px) {
  .hero-art { grid-template-columns: 1fr; }
  .hero-art img { height: min(100%, 560px); }
}
.hero-inner, .now-card { z-index: 2; }

/* ---------- Detail pages (places, events) ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 28px; align-items: start; }
.detail-main, .detail-more { display: grid; gap: 16px; }
.detail-blurb { font-size: 1.15rem; color: var(--ink); max-width: 60ch; }
.facts-list { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 16px; font-size: .95rem; }
.facts-list dt { font-weight: 700; color: var(--ink-soft); }
.facts-list dd { margin: 0; }
.visit-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.info-card h2 { font-size: 1.35rem; margin-bottom: 12px; }
.info-card .fine { font-size: .85rem; }
.block-title { font-size: 1.5rem; margin: 0 0 14px; }
/* A heading that follows a grid or list starts a new block, so it gets clear space above. */
* + .block-title { margin-top: 36px; }
.block-title + .section-note { margin: -6px 0 18px; }
.weekly-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.event.weekly-card { padding-top: 14px; padding-bottom: 14px; gap: 6px; }
.event.weekly-card h3 { font-size: 1.05rem; }
.event.weekly-card .when { font-weight: 700; font-size: .88rem; color: var(--ink); }
.event.weekly-card .blurb { font-size: .88rem; }
.event.weekly-card .card-links { font-size: .8rem; }
.event.weekly-card .card-links a { font-weight: 700; text-decoration: none; }
.place-upcoming { margin-top: 32px; }
.place-upcoming .event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.place-page .page-hero { padding-top: clamp(10px, 1.5vw, 18px); }
.place-page .list-page { padding-top: 28px; }
/* Place and event pages: subheads sit close to what they introduce, with a little more space above. */
.detail-main .block-title { margin-top: 18px; margin-bottom: 4px; }
.place-upcoming .block-title { margin-top: 0; }
.muted { color: var(--muted); }
.result-count { color: var(--muted); font-size: .9rem; margin: -8px 0 14px; }
@media (max-width: 960px) { .place-upcoming .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .detail-grid { grid-template-columns: 1fr; }
  /* On phones the Visit panel comes right after the intro, before weekly nights and stops. */
  .place-page .detail-grid { gap: 16px; }
  .place-page .detail-main { display: contents; }
  .place-page .info-card { order: 1; }
  .place-page .detail-more { order: 2; }
}
@media (max-width: 600px) { .place-upcoming .event-grid { grid-template-columns: 1fr; } }

/* ---------- Events page ---------- */
/* Events page: the month calendar and event types stay in view beside the day-by-day list. */
.events-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.events-side { position: sticky; top: 84px; display: grid; gap: 16px; }
.events-side .chip-row { margin-bottom: 0; }
.side-links { font-size: .9rem; font-weight: 600; }
.events-main .block-title { margin-top: 0; }
@media (max-width: 860px) { .events-layout { grid-template-columns: 1fr; } .events-side { position: static; } }
.month-cal { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); }
.mcal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mcal-head strong { font-family: var(--font-display); font-size: 1.05rem; }
.mcal-head button { width: 32px; height: 32px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--ink); }
.mcal-head button:hover:not([disabled]) { border-color: var(--ink-soft); }
.mcal-head button[disabled] { opacity: .35; cursor: default; }
.mcal table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; font-size: .88rem; }
.mcal th { font-size: .72rem; font-weight: 700; color: var(--muted); padding: 4px 0; }
.mcal td { padding: 2px; }
.mcal td a, .mcal td span { display: block; width: 32px; height: 32px; line-height: 32px; margin: 0 auto; border-radius: 999px; }
.mcal td span { color: var(--muted); opacity: .6; }
.mcal td a { background: var(--bg-tint); color: var(--redwood-dark); font-weight: 700; text-decoration: none; }
.mcal td a:hover { background: var(--redwood); color: #fff; }
.mcal td.today a, .mcal td.today span { box-shadow: inset 0 0 0 2px var(--forest); opacity: 1; }
@media (max-width: 860px) { .month-cal { max-width: 320px; } }
.cal-day { margin-bottom: 28px; }
.cal-day:target h3 { color: var(--redwood); }
.cal-day h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--ink); }
.week-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.week-day { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.week-day h3 { font-size: 1.2rem; margin-bottom: 8px; }
.week-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.week-day li { display: grid; grid-template-columns: 70px 1fr; gap: 8px; }
.week-day .t { font-weight: 700; color: var(--redwood); font-size: .85rem; }
a.chip { text-decoration: none; }

/* ---------- Prose (About) ---------- */
/* The wrapper stays full width so text lines up with the page title; each block keeps a readable line length. */
.prose > * { max-width: 70ch; }
.prose > .facts { max-width: none; }
.prose h2 { font-size: 1.5rem; margin: 28px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose p + p { margin-top: .8rem; }

/* ---------- About ---------- */
.stat-row { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 36px; }
.stat-row a { display: flex; align-items: baseline; gap: 8px; color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.stat-row strong { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--redwood); }
.stat-row a:hover span { color: var(--ink); text-decoration: underline; }
.about-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #ffe6b8 0%, #ffd9c8 100%);
  padding-bottom: clamp(120px, 14vw, 180px);
}
.about-band .prose { position: relative; z-index: 1; }
.about-band .prose p { color: var(--ink); }
/* The courthouse art from the home hero, faded along the bottom of the band with the dome under its right side. */
.about-band-art { position: absolute; inset: auto 0 0 0; height: clamp(160px, 22vw, 300px); z-index: 0; pointer-events: none; opacity: .35; }
.about-band-art img { position: absolute; bottom: 0; left: 72%; height: 100%; width: auto; max-width: none; transform: translateX(-35.2%); }
@media (max-width: 860px) {
  .about-band-art img { left: 50%; }
}
@media (max-width: 600px) {
  .stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 16px; }
  .stat-row strong { font-size: 1.7rem; }
  .stat-row a { flex-direction: column; gap: 2px; font-size: .9rem; }
}

@media (max-width: 420px) {
  .brand { font-size: 1.02rem; gap: 6px; }
  .brand-mark { width: 28px; height: 28px; }
  .nav-toggle { padding: 7px 12px; }
}

/* Titles that link to their own page read as headings, with an underline on hover. */
.event h3 a, .pick h3 a, .now-list strong a, .on-now a, .week-day a { color: inherit; text-decoration: none; }
.event h3 a:hover, .pick h3 a:hover, .now-list strong a:hover, .on-now a:hover, .week-day a:hover { color: var(--redwood); text-decoration: underline; }
.event .venue a { color: inherit; font-weight: 700; }

/* ---------- Contact form ---------- */
.contact-wrap { max-width: 720px; }
.contact-form { display: grid; gap: 16px; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-weight: 700; font-size: .95rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 4px rgba(47, 107, 79, .15); }
.contact-form [aria-invalid="true"] { border-color: #b4472b; }
.contact-form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.contact-form .status { font-weight: 600; }
.contact-form .status[data-state="success"] { color: var(--forest); }
.contact-form .status[data-state="error"] { color: #b4472b; }
.contact-form .fine { font-size: .85rem; color: var(--muted); }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .contact-form .field-row { grid-template-columns: 1fr; } }

/* A mobile vendor's posted stops, on its place page */
.stop-list { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; gap: 8px; }
.stop-list li { padding: 10px 12px; background: #fff; border: 1px solid var(--line, #eadfd3); border-radius: 10px; line-height: 1.45; }
.stop-list strong { color: var(--redwood); }

/* ---------- Phones: filter rows scroll sideways so the listings start on the first screen ---------- */
@media (max-width: 700px) {
  #cuisine-filters, #diet-filters, #drink-filters, #do-filters, #event-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: thin; }
  .tier-toggle button { padding: 7px 11px; font-size: .9rem; }
  .eat-controls { margin-bottom: 12px; }
}

/* ---------- Maps (street map from scripts/street-map.mjs, pins from build.mjs) ---------- */
.map { margin: 16px 0 0; }
.map svg { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #f6eedf; }
.map figcaption { font-size: .72rem; color: var(--muted); margin-top: 4px; }
.pin { fill: var(--redwood); stroke: #fff; stroke-width: 2px; vector-effect: non-scaling-stroke; }
.pin-near { fill: #8a92a3; opacity: .75; }
.pin-focus { stroke-width: 3px; }
a:hover > .pin, a:focus-visible > .pin { fill: var(--forest); opacity: 1; }
.map-panel { margin: 0 0 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; }
.map-panel summary { cursor: pointer; font-weight: 700; }
.map-panel .map { margin-top: 12px; }

/* ---------- Opening hours (place pages) ---------- */
.info-card .hours-title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 4px 0 6px; }
.hours { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.hours th { text-align: left; font-weight: 600; color: var(--ink-soft); padding: 3px 12px 3px 0; white-space: nowrap; vertical-align: top; }
.hours td { padding: 3px 0; }
.hours tr.today th, .hours tr.today td { color: var(--ink); font-weight: 700; }
.open-status { font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.open-status.open { color: var(--forest); }
.open-status.closed { color: var(--redwood-dark); }
.card .open-status { font-size: .8rem; margin: 0; }
.plain-list { margin: 0; padding-left: 18px; color: var(--ink-soft); display: grid; gap: 4px; }
.plain-list.showtimes { padding-left: 0; list-style: none; gap: 2px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; }
.filter-bar .chip-row { flex: 1 1 400px; }
@media (max-width: 700px) { .filter-bar { flex-wrap: nowrap; } .filter-bar .chip-row { flex: 1 1 auto; min-width: 0; } }
@media (max-width: 600px) {
  .page-hero { padding: 16px 0 14px; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero .lede { font-size: 1rem; margin-top: .5rem; }
  .list-page { padding-top: 20px; }
}
/* Place pages: a full-width strip under "Coming up here", so the map never makes either column taller. */
.place-map { margin-top: 32px; }
@media (max-width: 600px) { .place-map svg { aspect-ratio: 1.6 !important; } }

/* ---------- Banner ad (site.config.mjs "ad") ----------
   A 728x90 leaderboard (320x100 on phones) with a small "Sponsored" label above its top-left
   corner and a thin warm border in the site's palette. */
.ad-slot { padding: 22px 16px 6px; }
.ad-inner { width: fit-content; max-width: 100%; margin-inline: auto; }
.ad-link { display: block; color: inherit; text-decoration: none; }
.ad-label {
  display: block; margin: 0 0 5px 2px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.ad-frame {
  display: block; line-height: 0; border: 1px solid color-mix(in srgb, var(--redwood) 30%, var(--line));
  border-radius: 6px; overflow: hidden; background: var(--surface);
}
.ad-frame img { display: block; width: 728px; max-width: 100%; height: auto; }
.ad-link:hover .ad-frame, .ad-link:focus-visible .ad-frame { border-color: var(--redwood); }
.ad-link:hover .ad-label { color: var(--redwood); }
@media (max-width: 760px) {
  .ad-frame img { width: 320px; }
}
