/* Mon petit Montréal — editorial, monochrome look (Inter Tight, near-black on off-white, mint highlight). */
:root {
  --bg: #f8f8f8;
  --surface: #ffffff;
  --soft: #efefef;
  --ink: #222222;
  --muted: #6f6f6f;
  --line: #e2e2e2;
  --mint: #c6f4d0;
  --shadow: 0 10px 30px rgba(34, 34, 34, 0.10), 0 1px 3px rgba(34, 34, 34, 0.08);
  --radius: 8px;
  --radius-lg: 14px;
  --header-h: 64px;
  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.container { width: min(1280px, 100% - 48px); margin-inline: auto; }

/* Content written in both languages: only the current one shows. */
html[lang='fr'] [data-lang='en'], html:not([lang='fr']) [data-lang='fr'] { display: none !important; }

/* Dotted rule, as used between sections. */
.rule { height: 1px; border: 0; margin: 0; background: radial-gradient(circle, var(--ink) 0.6px, transparent 0.9px) 0 0 / 5px 1px repeat-x; opacity: .55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: var(--radius);
  border: 0.5px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s;
}
.btn-small { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-dark, .btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover, .btn-primary:hover { background: #000; }
.btn-mint { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.btn-mint:hover { background: #b2eec0; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  height: var(--header-h); position: sticky; top: 0; z-index: 1500;
  display: flex; align-items: center; gap: 28px; padding: 0 24px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.logo {
  font-weight: 700; font-size: 1.2rem; letter-spacing: -0.045em; text-decoration: none;
  white-space: nowrap; line-height: 1;
}
.logo-dot { font-size: 1.4em; line-height: 0; }
.main-nav { display: flex; gap: 22px; }
.main-nav a, .site-footer .footer-cols a {
  font-size: 14px; font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .2s;
}
.main-nav a:hover, .main-nav a[aria-current='page'],
.site-footer .footer-cols a:hover { background-size: 100% 1px; }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-cta { height: 38px; }
.header-cta[aria-current='page'] { background: #000; }

.lang-switch { display: inline-flex; border: 0.5px solid var(--ink); border-radius: var(--radius); padding: 2px; height: 38px; }
.lang-switch button {
  border: 0; background: transparent; border-radius: 6px;
  padding: 0 10px; font-size: 13px; font-weight: 500; color: var(--muted);
}
.lang-switch button[aria-pressed='true'] { background: var(--ink); color: #fff; }

.menu-btn {
  display: none; width: 38px; height: 38px; border: 0; background: transparent; padding: 9px 7px;
  flex-direction: column; justify-content: space-between;
}
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded='true'] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-btn[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded='true'] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.site-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 1500; background: var(--bg);
  padding: 16px 24px 32px; overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between;
}
.site-menu-main a {
  display: block; padding: 10px 0; text-decoration: none;
  font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05;
  border-bottom: 1px solid var(--line);
}
.site-menu-main a[aria-current='page']::after { content: ' •'; color: var(--muted); }
.site-menu-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 24px; }
.site-menu-legal a { font-size: 14px; color: var(--muted); text-decoration: none; }
body.menu-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 28px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-word { margin: 0; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: .95; }
.footer-word span { color: var(--muted); }
.footer-tagline { margin: 14px 0 0; color: var(--muted); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h2 { margin: 0 0 12px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.footer-cols a { display: table; margin: 0 0 8px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 20px; font-size: 13px; color: var(--muted);
  background: radial-gradient(circle, var(--ink) 0.6px, transparent 0.9px) 0 0 / 5px 1px repeat-x;
}

/* ---------- Shared bits ---------- */
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  --c: var(--ink);
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px;
  border: 0.5px solid #bdbdbd; background: var(--surface);
  border-radius: var(--radius); padding: 0 12px; font-size: 13px; font-weight: 500;
}
.chip:hover { border-color: var(--ink); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip .count { color: var(--muted); font-size: 10px; align-self: flex-start; margin-top: 7px; }
.chip[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed='true'] .count { color: rgba(255,255,255,.7); }
.chip[aria-pressed='true'] .dot { box-shadow: 0 0 0 2px #fff; }

.type-label {
  --c: var(--muted);
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink); white-space: nowrap;
}
.type-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.badge-canceled {
  display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  background: #fde8e4; color: #a32c14; border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: middle;
}
.notice {
  margin: 0; font-size: 13px; background: #fff7dc; border: 0.5px solid #e2c766; color: #5c4a12;
  border-radius: var(--radius); padding: 8px 12px;
}

.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 500; font-size: 13px; margin-bottom: 6px; padding: 0; }
.field input, .field select, .field textarea, .date-range input {
  width: 100%; min-width: 0; font: inherit; font-size: 15px; color: var(--ink);
  height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: var(--radius); background: var(--soft);
}
.field textarea { height: auto; min-height: 160px; padding: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .date-range input:focus { outline: none; border-color: var(--ink); background: var(--surface); }

/* ---------- Map page ---------- */
.page-map { height: 100dvh; overflow: hidden; }
#map { position: absolute; inset: var(--header-h) 0 0 0; background: #ebebeb; }
.tiles { filter: grayscale(0.85) contrast(0.92) brightness(1.04); }

.map-panel {
  /* Above Leaflet's zoom buttons (z-index 1000) so an open filters panel isn't covered by them. */
  position: absolute; top: calc(var(--header-h) + 16px); left: 16px; z-index: 1001;
  width: 420px; max-width: calc(100% - 32px);
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.map-panel > * { pointer-events: auto; }
.map-title {
  margin: 0; align-self: flex-start; max-width: 100%;
  font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05;
  background: var(--surface); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow);
}

.search-row { display: flex; gap: 8px; align-items: flex-start; }
.search-wrap { position: relative; flex: 1; min-width: 0; }
.search {
  position: relative; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow);
  display: flex; align-items: center;
}
.search svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--ink); }
.search input {
  width: 100%; height: 48px; border: 0; background: transparent; font: inherit; font-size: 15px;
  padding: 0 42px; border-radius: 10px; color: var(--ink);
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search:focus-within { box-shadow: var(--shadow), 0 0 0 1px var(--ink); }
.search-clear {
  position: absolute; right: 6px; border: 0; background: transparent; width: 34px; height: 34px;
  border-radius: var(--radius); font-size: 1.2rem; color: var(--muted);
}
.search-clear:hover { background: var(--soft); }

.results {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 2;
  list-style: none; margin: 0; padding: 6px; background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); max-height: 50vh; overflow-y: auto;
}
.results button {
  width: 100%; text-align: left; border: 0; background: transparent; padding: 8px 10px;
  display: flex; gap: 12px; align-items: center; border-radius: var(--radius);
}
.results li[aria-selected='true'] button, .results button:hover { background: var(--soft); }
.r-dot {
  width: 36px; height: 36px; border-radius: var(--radius); flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 22%, white);
}
.r-name { font-weight: 600; display: block; letter-spacing: -0.01em; }
.r-meta { font-size: 13px; color: var(--muted); }
.results .empty { padding: 12px; color: var(--muted); font-size: 14px; }

.filters-btn {
  flex: none; position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 16px; border: 0; border-radius: 10px;
  background: var(--surface); box-shadow: var(--shadow); font-weight: 500; font-size: 14px;
}
.filters-btn svg { width: 18px; height: 18px; }
.filters-btn:hover, .filters-btn[aria-expanded='true'] { background: var(--ink); color: #fff; }
.filters-btn.has-filters:not([aria-expanded='true']) { box-shadow: var(--shadow), inset 0 0 0 1px var(--ink); }
.filters-badge {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--mint); color: var(--ink);
  font-size: 12px; line-height: 20px; text-align: center; font-weight: 600;
}
.filters-panel {
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 18px; display: grid; gap: 20px;
  max-height: calc(100dvh - var(--header-h) - 130px); overflow-y: auto; overscroll-behavior: contain;
}
.filters-panel h2 {
  margin: 0 0 10px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.date-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.date-range label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); min-width: 0; }
.panel-actions {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  position: sticky; bottom: -18px; margin: 0 -18px -18px; padding: 12px 18px;
  background: var(--surface); border-top: 1px solid var(--line);
}

/* Floating bar at the bottom of the map: result count + switch to the list. */
.map-bar {
  position: absolute; z-index: 1001; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px;
  background: var(--ink); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  max-width: calc(100% - 32px);
}
/* Desktop: the event count and "See the list" bar is hidden (the list is in the header). */
@media (min-width: 861px) { .map-bar { display: none; } }
.map-bar-count { margin: 0; padding: 0 12px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-bar .btn { height: 38px; }
.map-panel .notice { box-shadow: var(--shadow); }

/* Markers */
.pin {
  --c: var(--ink);
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c); border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3);
  display: grid; place-items: center; transition: transform .15s;
}
.pin span { font-size: 14px; line-height: 1; }
.leaflet-marker-icon:hover .pin { transform: scale(1.15); }
.pin-count {
  position: absolute; top: -8px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--ink); color: #fff; border: 2px solid #fff; border-radius: 6px;
  font-size: 11px; line-height: 16px; text-align: center; font-weight: 600;
}
.cluster {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px;
  box-shadow: 0 0 0 6px rgba(34,34,34,.14), 0 3px 8px rgba(0,0,0,.25);
}

/* Venue popup */
.leaflet-container { font-family: var(--font); }
.leaflet-popup-content-wrapper { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.leaflet-popup-content { margin: 16px 18px; font-size: 14px; }
.venue-popup h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em; margin: 0 24px 2px 0; line-height: 1.15; }
.venue-popup .addr { margin: 0 0 10px !important; color: var(--muted); font-size: 13px; }
.venue-popup ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.venue-popup li { border-bottom: 1px solid var(--line); }
.venue-popup li button { width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 4px; border-radius: 6px; }
.venue-popup li button:hover { background: var(--soft); }
.ev-date { display: block; font-size: 12px; color: var(--muted); }
.ev-name { display: flex; gap: 7px; align-items: baseline; font-weight: 600; line-height: 1.3; }
.ev-name i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; transform: translateY(-1px); }
.more-link { display: inline-block; margin-top: 10px; font-weight: 500; color: var(--ink) !important; text-decoration: underline !important; }
.leaflet-container a.leaflet-popup-close-button { top: 10px; right: 10px; font-size: 20px; color: var(--ink); }
.leaflet-control-attribution { font-size: 10px; }

/* ---------- Drawer (event details) ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 2000; background: rgba(34,34,34,.4);
  display: flex; justify-content: flex-end; animation: fade .15s;
}
.drawer-panel {
  position: relative; width: min(460px, 100%); height: 100%; overflow-y: auto; background: var(--surface);
  animation: slide .22s ease-out; outline: none;
}
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(30px); opacity: .5; } }
.drawer-close {
  position: absolute; top: 14px; right: 14px; z-index: 1; width: 38px; height: 38px; border-radius: var(--radius);
  border: 0; background: rgba(255,255,255,.95); font-size: 1.4rem; box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.drawer-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--soft); }
.drawer-img--empty { display: grid; place-items: center; font-size: 3rem; background: color-mix(in srgb, var(--c) 20%, white); }
.drawer-body { padding: 24px 28px 36px; }
.drawer-body h2 { font-size: 2rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; margin: 12px 0 14px; }
.drawer-when { font-weight: 600; margin: 0 0 2px; }
.drawer-where { margin: 0 0 8px; }
.drawer-meta { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 14px; }
.drawer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.drawer-links a { font-weight: 500; text-underline-offset: 3px; }
.drawer-desc { white-space: pre-line; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: #3a3a3a; }
body.drawer-open { overflow: hidden; }

/* ---------- List page ---------- */
.page-hero { padding: 56px 0 28px; }
.page-hero .eyebrow { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.display {
  margin: 0; font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 600; letter-spacing: -0.055em; line-height: .92;
}
.display sup { font-size: .22em; letter-spacing: 0; vertical-align: top; position: relative; top: .5em; margin-left: .2em; font-weight: 500; }
.lead { margin: 20px 0 0; font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 640px; color: #3a3a3a; line-height: 1.45; }

.list-layout {
  padding: 28px 0 72px;
  display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start;
}
.filters {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--surface); border-radius: var(--radius-lg); padding: 20px;
  /* Scrolls on its own so every filter stays reachable while the list scrolls. */
  max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; overscroll-behavior: contain;
}
.type-list { display: grid; gap: 2px; }
.type-option { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.type-option:hover { background: var(--soft); }
.type-option input { width: auto; height: auto; accent-color: var(--ink); margin: 0; }
.type-option .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.type-option .type-name { flex: 1; }
.type-option .count { color: var(--muted); font-size: 11px; }
.filters .date-range { grid-template-columns: 1fr; }
.filters .date-range label span { font-size: 12px; }

.results-pane { min-width: 0; display: grid; gap: 14px; }
.results-bar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
#toggle-filters { display: none; }

.events-table { width: 100%; border-collapse: collapse; }
.events-table th, .events-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.events-table thead th { padding-top: 0; }
.events-table thead button {
  border: 0; background: none; padding: 0; font-weight: 500; font-size: 12px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); display: inline-flex; gap: 4px; align-items: center;
}
.events-table th[aria-sort='ascending'] button::after { content: '↑'; }
.events-table th[aria-sort='descending'] button::after { content: '↓'; }
.events-table th[aria-sort='ascending'] button, .events-table th[aria-sort='descending'] button { color: var(--ink); }
.day-row th {
  padding: 36px 12px 10px; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.035em;
  border-bottom: 0; background: radial-gradient(circle, var(--ink) 0.6px, transparent 0.9px) 0 100% / 5px 1px repeat-x;
}
.day-row th::first-letter { text-transform: uppercase; }
.event-row { cursor: pointer; transition: background .12s; }
.event-row:hover { background: var(--surface); }
.event-row.is-canceled .link-btn { text-decoration: line-through; color: var(--muted); }
.c-date { white-space: nowrap; font-size: 14px; color: var(--muted); width: 1%; }
.c-date .tm { color: var(--ink); font-weight: 600; }
.c-venue { color: var(--muted); font-size: 14px; }
.c-type { width: 1%; }
.link-btn { border: 0; background: none; padding: 0; text-align: left; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.015em; }
.event-row:hover .link-btn { text-decoration: underline; text-underline-offset: 3px; }
.empty-state { text-align: center; color: var(--muted); padding: 48px 0; }

/* ---------- Content pages (about, contact, legal) ---------- */
.content-page main { padding-bottom: 96px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; margin: 2.4em 0 .6em; }
.prose h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; margin: 1.8em 0 .4em; }
.prose p, .prose li { font-size: 16.5px; color: #333; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { text-underline-offset: 3px; }
.prose .updated { color: var(--muted); font-size: 14px; }
.todo { background: #fff3c4; border-radius: 4px; padding: 0 4px; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; padding-top: 32px; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.legal-nav a { font-size: 14px; text-decoration: none; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--line); }
.legal-nav a[aria-current='page'] { color: var(--ink); font-weight: 600; }

.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 0; max-width: 760px;
  border: 0.5px solid var(--ink); border-radius: var(--radius); overflow: hidden;
}
.stat-grid div { border-right: 0.5px solid var(--ink); text-align: center; }
.stat-grid div:last-child { border-right: 0; }
.stat-grid dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 10px 6px; border-bottom: 0.5px solid var(--ink); }
.stat-grid dd { margin: 0; padding: 14px 6px; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.steps li { background: var(--surface); border-radius: var(--radius-lg); padding: 24px; }
.steps .num { font-size: 13px; color: var(--muted); }
.steps h3 { margin: 28px 0 8px; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.03em; }
.steps p { margin: 0; color: #444; font-size: 15px; }

.cta-band {
  margin-top: 72px; padding: 40px; border-radius: var(--radius-lg); background: var(--ink); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-band h2 { margin: 0; font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; max-width: 640px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; padding-top: 32px; }
.contact-info dl { margin: 0; display: grid; gap: 22px; }
.contact-info dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.contact-info dd { margin: 0; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
.contact-form { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr; }
  .legal-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-nav { position: static; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 20px; }
  .legal-nav a { border: 0; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-header { gap: 10px; padding: 0 16px; }
  .menu-btn { display: flex; margin-left: -6px; }
  .main-nav, .header-cta { display: none; }

  .list-layout { grid-template-columns: 1fr; gap: 16px; padding-top: 8px; }
  .filters { display: none; position: static; max-height: none; overflow: visible; }
  body.filters-open .filters { display: block; }
  .results-bar { justify-content: flex-start; }
  #toggle-filters { display: inline-flex; }

  .events-table, .events-table tbody { display: block; }
  .events-table thead { display: none; }
  .day-row { display: block; }
  .day-row th { display: block; padding: 28px 2px 10px; font-size: 1.35rem; }
  .event-row {
    display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 14px 16px;
    background: var(--surface); border-radius: var(--radius-lg); margin-top: 8px;
  }
  .event-row td { padding: 0; border: 0; width: auto; }
  .c-name { grid-column: 1 / -1; order: -1; }
  .c-date { order: 0; }
  .c-type { order: 1; justify-self: end; }
  .c-venue { grid-column: 1 / -1; order: 2; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .map-panel { left: 12px; right: 12px; width: auto; max-width: none; top: calc(var(--header-h) + 12px); }
  .map-title { font-size: 1.25rem; padding: 8px 12px; }
  .filters-panel { max-height: calc(100dvh - var(--header-h) - 150px); }
  .leaflet-control-zoom { display: none; } /* pinch to zoom on phones; keeps the bottom bar clear */
  .map-bar { bottom: 18px; }
  .page-hero { padding: 36px 0 16px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid div:nth-child(2) { border-right: 0; }
  .stat-grid div:nth-child(-n+2) { border-bottom: 0.5px solid var(--ink); }
  .contact-form { padding: 20px; }
  .contact-form .row { grid-template-columns: 1fr; gap: 0; }
  .cta-band { padding: 28px; }
  .site-footer { padding-top: 48px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .filters-btn-label { display: none; }
  .filters-btn { width: 48px; justify-content: center; padding: 0; }
  .filters-badge { position: absolute; top: -5px; right: -5px; }
  .logo { font-size: 1.05rem; }
  .lang-switch { height: 34px; }
  .lang-switch button { padding: 0 8px; font-size: 12px; }
}
@media (max-width: 360px) {
  .date-range { grid-template-columns: 1fr; }
  .logo { font-size: .95rem; }
}

/* The list title changes with the filters ("What's on in the next 30 days"), so it's a bit smaller. */
.page-list .display { font-size: clamp(2.4rem, 6vw, 5rem); }

/* ---------- Cookie consent ---------- */
/* A bar across the bottom of the page; until a choice is made, the dimmed backdrop blocks the rest of the site. */
.consent-backdrop { position: fixed; inset: 0; z-index: 2400; background: rgba(34, 34, 34, 0.35); }
.consent-banner {
  position: fixed; z-index: 2500; left: 0; right: 0; bottom: 0;
  background: var(--surface); color: var(--ink); box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
  border-top: 0.5px solid var(--line); padding: 20px max(16px, calc((100% - 1200px) / 2));
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4px 32px; align-items: center;
  max-height: 100vh; overflow-y: auto;
}
.consent-banner > h2, .consent-banner > p { grid-column: 1; }
.consent-banner > .consent-option, .consent-banner > .consent-essential { grid-column: 2; }
.consent-banner > .consent-actions { grid-column: 1 / -1; justify-content: flex-end; }
.consent-banner > .consent-actions .btn { flex: 0 0 auto; min-width: 160px; }
body.consent-open { overflow: hidden; }
.consent-banner h2 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.consent-banner p { margin: 0 0 12px; font-size: 14px; color: #3a3a3a; }
.consent-banner a { text-underline-offset: 3px; }
.consent-option {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin: 0 0 8px;
  background: var(--soft); border-radius: var(--radius); cursor: pointer; font-size: 14px;
}
.consent-option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.consent-option small, .consent-essential small { display: block; color: var(--muted); font-size: 12.5px; }
.consent-essential { font-size: 13px; margin: 0 0 12px; padding: 0 2px; }
.consent-essential small { display: inline; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.consent-actions .btn { flex: 1 1 auto; }
.consent-status { font-size: 13px; color: var(--muted); }
#cookie-settings { background: var(--surface); border-radius: var(--radius-lg); padding: 18px; margin: 12px 0 0; }
#cookie-settings .consent-actions .btn { flex: 0 0 auto; }
.footer-bottom a[data-open-consent] { color: inherit; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .consent-banner { display: block; padding: 16px 16px max(16px, env(safe-area-inset-bottom)); }
  .consent-banner > .consent-actions .btn { flex: 1 1 auto; min-width: 0; }
}
.changelog { padding-left: 1.1em; }

/* ---------- Share + event pages ---------- */
.btn-share svg { flex: none; }
.toast {
  position: fixed; z-index: 3000; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-size: 14px;
  transition: opacity .2s, transform .2s; pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.event-page { padding: 32px 0 88px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.event-page .crumbs { grid-column: 1 / -1; font-size: 14px; color: var(--muted); display: flex; gap: 14px; }
.event-page .crumbs a { color: inherit; text-underline-offset: 3px; }
.event-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); }
.event-figure img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.event-info h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; margin: 12px 0 16px; }
.event-info .when { font-size: 1.15rem; font-weight: 600; margin: 0 0 4px; }
.event-info .where, .event-info .meta { margin: 0 0 4px; color: #3a3a3a; }
.event-info .meta { color: var(--muted); font-size: 15px; }
.event-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 14px; }
.event-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.event-links a { font-weight: 500; text-underline-offset: 3px; }
.event-desc { white-space: pre-line; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: #3a3a3a; }
@media (max-width: 860px) { .event-page { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; } }
