:root {
  --ink: #18211d;
  --muted: #66706b;
  --paper: #f7f5ef;
  --surface: #fffefa;
  --line: #dfded6;
  --brand: #e84a24;
  --brand-dark: #cf3818;
  --green: #14775b;
  --soft-green: #dcefe7;
  --yellow: #f5cf59;
  --shadow: 0 18px 55px rgba(24, 33, 29, .09);
  --radius: 18px;
  --shell: min(1180px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .17em; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 7vw, 5.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 10000; top: 8px; left: 8px; padding: 10px 14px;
  transform: translateY(-150%); background: var(--ink); color: white; border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #207bff; outline-offset: 3px; }

.site-header {
  position: sticky; z-index: 1000; top: 0;
  border-bottom: 1px solid rgba(24, 33, 29, .1);
  background: rgba(247, 245, 239, .93);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 850; text-decoration: none; letter-spacing: -.03em; }
.brand-logo { display: block; width: clamp(132px, 12vw, 168px); height: auto; }
.primary-nav { display: flex; align-items: center; gap: 24px; margin-inline: auto; }
.primary-nav a { position: relative; color: #37423c; font-weight: 650; text-decoration: none; }
.primary-nav a[aria-current="page"]::after {
  position: absolute; right: 0; bottom: -12px; left: 0; height: 3px;
  border-radius: 5px; background: var(--brand); content: "";
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.compact-form { margin: 0; }
.text-button { border: 0; background: none; color: var(--ink); font-weight: 700; text-decoration: none; }
.language-picker { position: relative; }
.language-picker summary {
  display: flex; min-height: 38px; align-items: center; gap: 7px; padding: 6px 9px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: .85rem; font-weight: 750;
  list-style: none; cursor: pointer;
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-menu {
  position: absolute; z-index: 10; top: calc(100% + 8px); right: 0; width: 185px; padding: 6px;
  border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow);
}
.language-menu form { margin: 0; }
.language-menu button, .language-menu a {
  display: grid; width: 100%; grid-template-columns: 25px 1fr 18px; align-items: center; gap: 8px;
  padding: 9px 10px; border: 0; border-radius: 9px; background: transparent; color: inherit; text-align: left; text-decoration: none;
}
.language-menu button:hover, .language-menu button.selected, .language-menu a:hover, .language-menu a.selected { background: #f0eee8; }
.flag { display: inline-grid; width: 24px; height: 17px; flex: 0 0 24px; place-items: center; overflow: hidden; border-radius: 2px; font-size: 18px; line-height: 1; }
.flag-ca {
  border: 1px solid rgba(0, 0, 0, .12);
  background: repeating-linear-gradient(to bottom, #f6d447 0 2px, #b9212e 2px 4px);
}

.button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border: 1px solid var(--brand-dark); border-radius: 12px;
  background: var(--brand-dark); color: white; font-weight: 800; text-decoration: none;
  box-shadow: 0 5px 0 rgba(160, 48, 21, .18); transition: transform .15s, background .15s;
}
.button:hover { background: #a92a0f; transform: translateY(-1px); }
.button-small { min-height: 40px; padding: 7px 13px; }
.button-wide { width: 100%; }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--ink); box-shadow: none; }
.button-secondary:hover { background: #f0eee8; }
.danger-button { border-color: #b52626; background: #b52626; }
.danger { color: #a32020; }

.messages { position: relative; z-index: 20; }
.message { margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: #e7f5ed; }
.message.error { background: #fde8e8; }

.hero {
  position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 30px;
  background: linear-gradient(145deg, #e5f0e8, #f7f5ef 68%);
}
.hero-art {
  position: absolute; z-index: 0; top: -30px;
  right: max(calc((100vw - 1180px) / 2 - 155px), -38px);
  width: min(48vw, 660px); height: calc(100% + 42px);
  object-fit: contain; object-position: right top;
  pointer-events: none; user-select: none;
}
.hero-art-title {
  position: absolute; z-index: 2; top: 332px;
  right: max(calc((100vw - 1180px) / 2 + 16px), 28px);
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 13px;
  border: 1px solid rgba(255, 254, 248, .14); border-radius: 6px;
  background: rgba(31, 50, 42, .86); box-shadow: 0 5px 18px rgba(13, 28, 20, .2);
  color: #fffef8; font-family: Georgia, serif; font-size: .95rem; font-style: italic;
  text-shadow: 0 1px 2px rgba(13, 28, 20, .72);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  pointer-events: none;
}
.hero-art-title::before { width: 36px; height: 1px; background: rgba(255, 254, 248, .82); content: ""; }
.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 720px; }
.kicker { margin-bottom: 13px; color: var(--green); font-size: .78rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { margin-bottom: 22px; max-width: 680px; font-weight: 900; }
.hero h1 em, .sports-hero h1 em { color: var(--brand); font-family: Georgia, serif; font-weight: 500; }
.hero-copy > p:last-child { max-width: 570px; color: #4f5a54; font-size: 1.14rem; }
.hero-search {
  display: grid; grid-template-columns: 1.65fr 1fr 1fr auto; gap: 0; align-items: end;
  margin-top: 38px; padding: 9px; border: 1px solid rgba(24, 33, 29, .12);
  border-radius: 17px; background: var(--surface); box-shadow: var(--shadow);
}
.hero-search label { padding: 4px 16px; border-right: 1px solid var(--line); }
.field-label { display: block; margin-bottom: 2px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hero-search input, .hero-search select {
  width: 100%; min-height: 32px; border: 0; background: transparent; outline: 0;
}
.search-input-wrap { display: flex; align-items: center; gap: 8px; }
.search-button { min-width: 126px; }
.category-strip { display: flex; gap: 9px; padding-top: 24px; overflow-x: auto; scrollbar-width: none; }
.category-strip a {
  display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 8px 13px;
  border: 1px solid rgba(24, 33, 29, .12); border-radius: 999px; background: rgba(255, 255, 255, .64);
  font-size: .86rem; font-weight: 700; text-decoration: none;
}
.category-strip a:hover { border-color: var(--green); background: white; }

.catalog { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; padding-block: 52px 80px; }
.filter-panel { position: sticky; top: 96px; display: grid; gap: 17px; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; }
.filter-heading h2 { margin: 0; font-size: 1.15rem; }
.filter-heading a { color: var(--brand-dark); font-size: .85rem; font-weight: 700; }
.filter-panel label { display: block; }
.filter-panel select {
  width: 100%; min-height: 44px; padding: 8px 34px 8px 11px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
}
.checkbox-row { display: flex !important; align-items: center; gap: 9px; font-weight: 650; }
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--brand); }
.results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.results-heading h2 { margin: 0; }
.results-heading > span { color: var(--muted); white-space: nowrap; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.event-card {
  min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 10px 30px rgba(24, 33, 29, .05);
  transition: transform .18s, box-shadow .18s;
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { position: relative; display: grid; height: 168px; place-items: center; overflow: hidden; text-decoration: none; }
.card-media img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
.event-image-fallback { grid-area: 1 / 1; }
.category-glyph { font-size: 4rem; color: rgba(255, 255, 255, .85); text-shadow: 0 4px 20px rgba(0, 0, 0, .16); }
.category-general { background: linear-gradient(135deg, #64748b, #334155); }
.category-music { background: linear-gradient(135deg, #7c3aed, #db2777); }
.category-nightlife { background: linear-gradient(135deg, #111827, #7c3aed); }
.category-performing-arts { background: linear-gradient(135deg, #d97706, #dc2626); }
.category-exhibitions { background: linear-gradient(135deg, #0f766e, #06b6d4); }
.category-cinema { background: linear-gradient(135deg, #1f2937, #b45309); }
.category-food { background: linear-gradient(135deg, #dc5f37, #eab308); }
.category-sport { background: linear-gradient(135deg, #0f766e, #65a30d); }
.category-wellness { background: linear-gradient(135deg, #0d9488, #84cc16); }
.category-learning { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.category-technology { background: linear-gradient(135deg, #334155, #0891b2); }
.category-community { background: linear-gradient(135deg, #be123c, #f97316); }
.category-tourism { background: linear-gradient(135deg, #0284c7, #22c55e); }
.image-credit {
  position: absolute; right: 6px; bottom: 5px; max-width: calc(100% - 12px); padding: 3px 6px;
  border-radius: 5px; background: rgba(0, 0, 0, .62); color: white; font-size: .58rem;
}
.status-badge { position: absolute; top: 10px; left: 10px; padding: 5px 8px; border-radius: 7px; background: var(--ink); color: white; font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.status-cancelled { background: #ae2424 !important; }
.status-sold_out { background: #5a3c75 !important; }
.status-changed { background: #a25300 !important; }
.card-body { padding: 17px; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; color: var(--brand-dark); font-size: .73rem; font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.eyebrow > * + *::before { margin-right: 8px; color: #a7aba8; content: "•"; }
.card-body h3 { margin-bottom: 9px; }
.card-body h3 a { text-decoration: none; }
.location-line, .card-summary { margin-bottom: 10px; color: var(--muted); font-size: .88rem; }
.card-summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; padding: 0; list-style: none; }
.chips li { padding: 4px 8px; border: 1px solid #cde0d7; border-radius: 999px; background: #eff8f3; color: #225843; font-size: .68rem; font-weight: 750; }
.chips.large li { padding: 6px 10px; font-size: .78rem; }
.card-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.card-actions form { margin: 0; }
.card-link { font-size: .86rem; font-weight: 800; text-decoration: none; }
.icon-button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--brand-dark); font-size: 1.3rem; text-decoration: none; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 34px; }
.pagination a { font-weight: 750; }
.empty-state { padding: 65px 24px; border: 1px dashed #c9c9bf; border-radius: var(--radius); text-align: center; }
.empty-state > span { display: block; color: var(--brand); font-size: 4rem; }
.report-dashboard { padding-block: 52px 80px; }
.report-dashboard > h2 { margin-bottom: 22px; }
.table-scroll { overflow-x: auto; }
.table-scroll table { width: 100%; border-collapse: collapse; }
.table-scroll th,
.table-scroll td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.table-scroll thead th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; }
.report-grid > div { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.report-grid dt { color: var(--muted); font-size: .78rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.report-grid dd { margin: 8px 0 4px; color: var(--brand-dark); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; line-height: 1; }
.report-grid small { color: var(--muted); }

.page-banner, .sports-hero { padding: 65px 0; background: linear-gradient(135deg, #dfece4, #f7f5ef); }
.page-banner h1 { margin-bottom: 10px; }
.page-banner p:last-child { color: var(--muted); font-size: 1.08rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 28px 0; color: var(--muted); font-size: .83rem; }
.event-detail { padding-bottom: 80px; }
.detail-hero { display: grid; grid-template-columns: 42% 1fr; gap: 45px; align-items: center; }
.detail-art { position: relative; display: grid; min-height: 360px; place-items: center; overflow: hidden; border-radius: 26px; }
.detail-art > span:not(.image-credit) { color: rgba(255, 255, 255, .87); font-size: 8rem; }
.detail-art img { grid-area: 1 / 1; width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.detail-title h1 { margin-bottom: 20px; font-size: clamp(2.5rem, 5vw, 4.7rem); }
.detail-lead { max-width: 60ch; margin-bottom: 0; color: #4e5a54; font-size: clamp(1.08rem, 1.5vw, 1.2rem); line-height: 1.65; }
.status-pill { padding: 4px 8px; border-radius: 999px; background: var(--soft-green); color: var(--green); font-size: .69rem; font-weight: 850; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; margin-top: 60px; }
.detail-main > section { padding: 6px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.detail-main h2 { margin-bottom: 18px; font-size: 1.65rem; }
.prose { max-width: 72ch; color: #3f4944; font-size: 1.05rem; line-height: 1.72; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.6rem; }
.prose li { padding-left: .15rem; }
.prose li + li { margin-top: .42rem; }
.booking-card { position: sticky; top: 98px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.fact-row { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid #ebeae4; font-size: .9rem; }
.fact-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #f0eee8; color: var(--green); font-weight: 800; }
.booking-card > .button-wide { margin-top: 18px; }
.booking-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.booking-actions form, .booking-actions button { width: 100%; }
.calendar-link { display: block; margin: 15px 0; text-align: center; font-size: .87rem; font-weight: 750; }
.reliability { display: flex; gap: 9px; margin-top: 18px; padding: 12px; border-radius: 10px; background: #ebf6f0; color: #246248; font-size: .8rem; }
.reliability.outdated { background: #fff3d6; color: #805000; }
.reliability small { display: block; }
.source-note { margin: 13px 0 0; color: var(--muted); font-size: .75rem; }
.venue-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border-radius: 14px; background: #efeee8; }
.venue-panel h3 { margin-bottom: 7px; }
.venue-panel p { margin: 0; color: var(--muted); }
.attribute-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.attribute-grid > div { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.attribute-grid dt { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.attribute-grid dd { margin: 4px 0 0; font-weight: 750; }
.section-heading { display: flex; align-items: center; justify-content: space-between; }
.correction { margin-top: 30px; }
.correction summary { color: var(--muted); font-weight: 750; cursor: pointer; }
.related { margin-top: 75px; }

.map-page { padding-block: 55px 80px; }
.map-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.map-heading h1 { margin: 0; }
.map-heading > p { max-width: 500px; color: var(--muted); }
.map-filters { display: flex; align-items: end; gap: 12px; margin-bottom: 15px; }
.map-filters label { min-width: 190px; }
.map-filters select { width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.map-shell { position: relative; min-height: 620px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #e6ebe5; }
.map-consent { position: absolute; inset: 0; z-index: 2; display: grid; max-width: 520px; align-content: center; justify-items: center; margin: auto; padding: 32px; text-align: center; }
.map-symbol { color: var(--green); font-size: 5rem; }
.leaflet-map { width: 100%; height: 620px; }
.map-status { position: absolute; z-index: 500; bottom: 12px; left: 12px; padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, .93); font-size: .75rem; }
.osm-note { margin-top: 8px; color: var(--muted); font-size: .72rem; }
.map-popup a { display: block; font-weight: 800; }
.map-popup p { margin: 5px 0; }

.sports-hero { background: radial-gradient(circle at 82% 50%, rgba(255, 92, 53, .25), transparent 21%), linear-gradient(135deg, #d9eee6, #f7f5ef); }
.sports-hero h1 { max-width: 850px; }
.sports-hero > .shell > p:not(.kicker) { max-width: 740px; color: var(--muted); font-size: 1.1rem; }
.intent-switch { display: inline-flex; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.intent-switch a { padding: 9px 13px; border-radius: 9px; font-weight: 750; text-decoration: none; }
.intent-switch a[aria-current="page"] { background: var(--ink); color: white; }
.discipline-list { margin-top: 30px; }
.discipline-list h2 { font-size: 1rem; }
.discipline-list a { display: block; padding: 5px 0; color: var(--muted); font-size: .88rem; }

.form-page { min-height: 65vh; padding-block: 70px; }
.form-page h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.form-page .lead { color: var(--muted); font-size: 1.08rem; }
.stack-form { display: grid; gap: 17px; margin: 30px 0; }
.stack-form > div, .form-field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.stack-form label, .form-field legend { font-size: .82rem; font-weight: 800; }
.stack-form input:not([type="checkbox"]), .stack-form select, .stack-form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: white;
}
.stack-form > div:has(> input[type="checkbox"]) {
  grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 12px;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: white;
}
.stack-form > div:has(> input[type="checkbox"]) > label { grid-column: 1; grid-row: 1; }
.stack-form input[type="checkbox"] {
  width: 20px; height: 20px; grid-column: 2; grid-row: 1; justify-self: end; margin: 0;
  accent-color: var(--brand-dark);
}
.stack-form .helptext { color: var(--muted); font-size: .72rem; }
.stack-form ul.errorlist { margin: 0; padding: 0; color: #ad2525; font-size: .78rem; list-style: none; }
.preference-form ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 0; list-style: none; }
.preference-form li label { display: flex; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.unsubscribe-inline { margin-top: 35px; }
.centered { text-align: center; }
.success-symbol { display: grid; width: 70px; height: 70px; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: var(--soft-green); color: var(--green); font-size: 2.5rem; }

.site-footer { padding: 55px 0; border-top: 1px solid var(--line); background: #ebe9e2; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; }
.footer-brand { margin-bottom: 17px; }
.footer-brand .brand-logo { width: 152px; }
.site-footer h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer p { max-width: 360px; font-size: .83rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 16px; }
.footer-links a { color: var(--muted); font-size: .82rem; text-decoration: none; }

@media (max-width: 1020px) {
  .hero-art { right: -120px; width: 590px; opacity: .64; }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 35px; }
  .hero-search { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-search label { border-right: 0; }
  .primary-nav { gap: 15px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 24px, 1180px); }
  .site-header {
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand-logo { width: 128px; }
  .primary-nav {
    position: fixed; z-index: 900; right: 0; bottom: 0; left: 0; justify-content: space-around;
    gap: 0; padding: 6px 8px max(6px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
    background: rgba(255, 254, 250, .96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .primary-nav a {
    display: flex; min-height: 44px; flex: 1; align-items: center; justify-content: center;
    padding-inline: 8px; font-size: .77rem;
  }
  .primary-nav a[aria-current="page"]::after { bottom: -4px; }
  .desktop-only, .header-actions > .button { display: none; }
  .brand { margin-right: auto; }
  .hero { padding-top: 48px; }
  .hero-art { top: -12px; right: -205px; width: 480px; height: 480px; opacity: .34; }
  .hero-art-title { display: none; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .hero-search { grid-template-columns: 1fr; }
  .hero-search label { padding: 8px 11px; border-bottom: 1px solid var(--line); }
  .hero-search input, .hero-search select { min-height: 40px; }
  .catalog { grid-template-columns: 1fr; padding-top: 30px; }
  .filter-panel { position: static; grid-template-columns: 1fr 1fr; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .55); }
  .filter-heading, .filter-panel .button, .filter-panel .checkbox-row { grid-column: 1 / -1; }
  .event-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr 1fr; }
  .card-media { height: 190px; }
  .detail-hero { grid-template-columns: 1fr; gap: 25px; }
  .detail-art, .detail-art img { min-height: 250px; }
  .detail-title h1 { font-size: 2.75rem; }
  .detail-layout { grid-template-columns: 1fr; margin-top: 35px; }
  .booking-card { position: static; grid-row: 1; }
  .attribute-grid { grid-template-columns: 1fr; }
  .venue-panel { align-items: flex-start; flex-direction: column; }
  .map-heading { align-items: flex-start; flex-direction: column; }
  .map-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .map-filters label { min-width: 0; }
  .map-shell, .leaflet-map { min-height: 540px; height: 540px; }
  .preference-form ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 65px; }
}

@media (max-width: 480px) {
  :root { --shell: min(100% - 20px, 1180px); }
  .brand-logo { width: 118px; }
  .language-picker summary { min-height: 44px; }
  .hero { padding-top: 38px; }
  .hero-art { right: -245px; width: 430px; opacity: .26; }
  .hero h1 { font-size: clamp(2.65rem, 15vw, 3.6rem); }
  .filter-panel, .map-filters { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .filter-panel > *, .map-filters > * { grid-column: 1; }
  .results-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .detail-title h1 { font-size: clamp(2.25rem, 12vw, 2.75rem); overflow-wrap: anywhere; }
  .booking-actions { grid-template-columns: 1fr; }
  .venue-panel .button { width: 100%; }
  .map-page { padding-top: 38px; }
  .map-heading { gap: 10px; margin-bottom: 20px; }
  .map-consent { padding: 22px; }
  .intent-switch {
    display: grid; width: 100%; grid-template-columns: .7fr 1fr 1.15fr;
  }
  .intent-switch a {
    display: flex; min-width: 0; min-height: 44px; align-items: center; justify-content: center;
    padding: 8px 5px; font-size: .82rem; text-align: center;
  }
  .footer-links { grid-template-columns: 1fr; }
}

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