@font-face {
  font-family: "Space Grotesk";
  src: url("./assets/space-grotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("./assets/ibm-plex-mono.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #efefe9;
  --surface: #f8f8f3;
  --surface-strong: #e5e5dd;
  --ink: #14171b;
  --muted: #565c63;
  --line: #cbccc4;
  --line-strong: #9fa2a2;
  --accent: #1f39cf;
  --accent-strong: #1629a3;
  --accent-ink: #f6f6f0;
  --tint: #e2e5f7;
  --tint-ink: #1b2fa8;
  --shadow: 0 18px 50px rgb(20 23 27 / 0.14);
  --radius-surface: 12px;
  --radius-control: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101216;
    --surface: #171a20;
    --surface-strong: #232730;
    --ink: #eff0ea;
    --muted: #a7acb4;
    --line: #2e333b;
    --line-strong: #4c535e;
    --accent: #9aabff;
    --accent-strong: #b6c2ff;
    --accent-ink: #101430;
    --tint: #1c2338;
    --tint-ink: #bcc7ff;
    --shadow: 0 20px 60px rgb(0 0 0 / 0.5);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 108px);
  scrollbar-gutter: stable;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--radius-control);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.05em;
  text-decoration: none;
  line-height: 1;
  padding-bottom: 2px;
}
.wordmark span,
.footer-brand span {
  color: var(--accent);
}

.day-nav {
  display: flex;
  gap: 20px;
  margin-left: 12px;
}
.day-nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.day-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.weekend-stamp {
  margin: 0 0 0 auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  white-space: nowrap;
}
.stamp-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
}

/* Shared layout */
.hero,
.listings,
.footer-inner {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 32px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 40px;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}

.hero-sub {
  max-width: 42ch;
  margin: 24px 0 30px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}
.primary-cta::after {
  content: "\2192";
  font-size: 17px;
  line-height: 1;
}
.primary-cta:hover {
  background: var(--accent-strong);
}
.primary-cta:active {
  transform: translateY(1px) scale(0.99);
}

.hero-visual {
  position: relative;
  padding-bottom: 26px;
}

.hero-photo {
  margin: 0;
  border-radius: var(--radius-surface);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-strong);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.hero-visual:hover .hero-photo img {
  transform: scale(1.025);
}

.hero-card {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: 208px;
  padding: 18px 20px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  box-shadow: var(--shadow);
}
.hero-card-day {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-card-count {
  margin: 2px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.hero-card-count:last-of-type {
  margin-bottom: 10px;
}
.hero-card-note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* Listings and toolbar */
.listings {
  padding-bottom: 96px;
}

.toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 190px auto auto;
  gap: 16px;
  align-items: end;
  padding-top: 14px;
  padding-bottom: 14px;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.field input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.field input:hover,
.field select:hover {
  border-color: var(--ink);
}
.field input:focus,
.field select:focus {
  border-color: var(--accent);
}

.field-select select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.saved-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding: 10px 14px 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease),
    color 160ms var(--ease), transform 120ms var(--ease);
}
.saved-toggle:hover {
  border-color: var(--ink);
  background: var(--surface);
}
.saved-toggle:active {
  transform: translateY(1px);
}
.saved-toggle[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.saved-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: var(--radius-control);
  background: var(--surface-strong);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1;
}
.saved-toggle[aria-pressed="true"] .saved-count {
  background: var(--accent-ink);
  color: var(--accent-strong);
}

.result-count {
  margin: 0;
  padding-bottom: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  justify-self: end;
}

.listings-head {
  padding-top: 38px;
  padding-bottom: 8px;
}
.listings-head h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.listings-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 64ch;
}

/* Day groups */
.day-section {
  padding-top: 32px;
}

.day-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  column-gap: 18px;
  padding-bottom: 12px;
  border-top: 2px solid var(--ink);
}
.day-heading h3 {
  margin: 14px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.day-date {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}
.day-count {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-item {
  border-bottom: 1px solid var(--line);
}
.event-item:last-child {
  border-bottom: 0;
}

.open-item {
  display: grid;
  grid-template-columns: 78px 104px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: 20px 8px;
  border: 0;
  border-radius: var(--radius-surface);
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background-color 200ms var(--ease);
}
.open-item:hover {
  background: var(--surface);
}
.open-item:active {
  transform: translateY(1px);
}

.event-time {
  align-self: start;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.event-time strong {
  font-weight: 400;
  color: var(--ink);
  font-size: 13px;
}

.event-thumb {
  width: 104px;
  height: 78px;
  border-radius: var(--radius-surface);
  overflow: hidden;
  background: var(--surface-strong);
  flex-shrink: 0;
}
.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.open-item:hover .event-thumb img {
  transform: scale(1.05);
}

.event-main {
  min-width: 0;
}
.event-title {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}
.event-summary {
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 8px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--muted);
}
.event-saved {
  color: var(--tint-ink);
  background: var(--tint);
  padding: 2px 8px;
  border-radius: var(--radius-control);
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-side {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: var(--radius-control);
  background: var(--tint);
  color: var(--tint-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.event-price {
  min-width: 46px;
  text-align: right;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  white-space: nowrap;
}

.open-cue {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.open-cue::after {
  content: "\2192";
  font-size: 14px;
  transition: transform 200ms var(--ease);
}
.open-item:hover .open-cue {
  color: var(--accent);
}
.open-item:hover .open-cue::after {
  transform: translateX(3px);
}

/* Empty state */
.empty-state {
  margin-top: 48px;
  padding-top: 40px;
  padding-bottom: 48px;
  border-top: 2px solid var(--ink);
}
.empty-state h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.empty-state p {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 48ch;
}
.secondary-cta {
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 160ms var(--ease), color 160ms var(--ease),
    transform 120ms var(--ease);
}
.secondary-cta:hover {
  background: var(--ink);
  color: var(--paper);
}
.secondary-cta:active {
  transform: translateY(1px);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-inner {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
  padding-top: 38px;
  padding-bottom: 44px;
}
.footer-brand {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.footer-note {
  margin: 0;
  max-width: 62ch;
  font-size: 13px;
  color: var(--muted);
}
.footer-assets {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  color: var(--muted);
  text-align: right;
  max-width: 32ch;
}

/* Detail panel */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgb(15 18 24 / 0.52);
  animation: fade-in 220ms var(--ease) both;
}

.detail {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 60;
  width: min(580px, 100%);
  background: var(--paper);
  box-shadow: var(--shadow);
  animation: panel-in 340ms var(--ease) both;
}

.detail-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100dvh;
  max-height: 100dvh;
}

.detail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
  flex-shrink: 0;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.detail-bar-label {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.close-detail {
  min-height: 36px;
  padding: 6px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.close-detail:hover {
  background: var(--ink);
  color: var(--paper);
}

.detail-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
}

.detail-photo {
  margin: 0;
  height: 230px;
  background: var(--surface-strong);
}
.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-content {
  padding: 26px 28px 44px;
}

.detail-category {
  margin: 0 0 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.detail-content h2 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-wrap: balance;
}

.detail-meta {
  margin: 0 0 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

.detail-save-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.save-item {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease),
    color 160ms var(--ease), transform 120ms var(--ease);
}
.save-item:hover {
  background: var(--ink);
  color: var(--paper);
}
.save-item:active {
  transform: translateY(1px);
}
.save-item[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.save-item[aria-pressed="true"]:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}
.save-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.detail-body {
  padding: 22px 0 6px;
  font-size: 16px;
  line-height: 1.65;
}
.detail-body p {
  margin: 0 0 16px;
  max-width: 58ch;
}
.detail-body p:last-child {
  margin-bottom: 0;
}

.detail-subhead {
  margin: 26px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.detail-facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.detail-facts > div {
  min-width: 0;
}
.detail-facts dt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.detail-facts dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.detail-photo-note {
  margin: 28px 0 0;
  font-size: 11px;
  color: var(--muted);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes panel-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Entry motion (gated) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise-in 620ms var(--ease) both;
  }
  .hero-copy > *:nth-child(2) {
    animation-delay: 60ms;
  }
  .hero-copy > *:nth-child(3) {
    animation-delay: 120ms;
  }
  .hero-copy > *:nth-child(4) {
    animation-delay: 180ms;
  }
  .hero-visual {
    animation: rise-in 720ms var(--ease) 120ms both;
  }
  .event-item {
    animation: fade-up 500ms var(--ease) both;
    animation-delay: calc(var(--row-index, 0) * 35ms);
  }
  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes fade-up {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .toolbar {
    grid-template-columns: minmax(200px, 1fr) 170px auto;
  }
  .result-count {
    grid-column: 1 / -1;
    justify-self: start;
    padding-bottom: 0;
    padding-top: 2px;
  }
  .open-item {
    grid-template-columns: 64px 88px minmax(0, 1fr) auto;
    gap: 18px;
  }
  .event-thumb {
    width: 88px;
    height: 66px;
  }
  .open-cue {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .footer-assets {
    grid-column: 2;
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 42px;
    padding-bottom: 34px;
  }
  .hero h1 {
    font-size: clamp(44px, 9vw, 72px);
  }
  .hero-visual {
    max-width: 640px;
  }
  .hero-card {
    right: 0;
    bottom: 0;
  }
  .hero-photo {
    aspect-ratio: 16 / 9;
  }
  .day-heading {
    grid-template-columns: auto 1fr;
  }
  .day-count {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --header-h: 60px;
  }
  html {
    scroll-padding-top: 76px;
  }
  .header-inner {
    padding-inline: 20px;
    gap: 16px;
  }
  .day-nav {
    display: none;
  }
  .weekend-stamp {
    font-size: 11px;
    gap: 8px;
  }
  .stamp-label {
    display: none;
  }
  .hero,
  .listings,
  .footer-inner {
    padding-inline: 20px;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 26px;
  }
  .eyebrow {
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }
  .hero h1 br {
    display: none;
  }
  .hero-sub {
    margin: 18px 0 24px;
    font-size: 15.5px;
  }
  .primary-cta {
    min-height: 46px;
  }
  .hero-visual {
    padding-bottom: 0;
  }
  .hero-photo {
    aspect-ratio: 16 / 10;
  }
  .hero-card {
    display: none;
  }

  .toolbar {
    position: static;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .field-search {
    grid-column: 1 / -1;
  }
  .saved-toggle {
    padding-left: 16px;
  }
  .result-count {
    grid-column: 1 / -1;
    padding-top: 2px;
  }
  .listings-head {
    padding-top: 30px;
  }
  .listings-head h2 {
    font-size: 30px;
  }
  .day-section {
    padding-top: 28px;
  }
  .day-heading {
    column-gap: 12px;
  }
  .day-heading h3 {
    font-size: 24px;
    margin-top: 12px;
  }

  .open-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 4px;
  }
  .event-time {
    grid-column: 1;
    grid-row: 1;
    gap: 2px;
    padding-top: 2px;
    align-self: start;
  }
  .event-time strong {
    font-size: 12px;
  }
  .event-thumb {
    display: none;
  }
  .event-main {
    grid-column: 2;
    grid-row: 1;
  }
  .event-side {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-top: 2px;
    gap: 10px;
  }
  .event-title {
    font-size: 20px;
    margin-bottom: 5px;
  }
  .event-summary {
    -webkit-line-clamp: 2;
    font-size: 13.5px;
    margin-bottom: 8px;
  }
  .event-meta {
    font-size: 10.5px;
  }
  .category-chip {
    min-height: 24px;
    padding: 3px 10px;
    font-size: 10px;
  }
  .event-price {
    font-size: 12px;
    text-align: left;
    min-width: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 28px;
    padding-bottom: 34px;
  }
  .footer-assets {
    grid-column: 1;
  }

  .detail {
    width: 100%;
  }
  .detail-photo {
    height: 190px;
  }
  .detail-content {
    padding: 22px 20px 38px;
  }
  .detail-facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 400px) {
  .toolbar {
    grid-template-columns: 1fr;
  }
  .field-search,
  .result-count {
    grid-column: 1;
  }
  .saved-toggle {
    justify-content: space-between;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .toolbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--paper);
  }
  .scrim {
    background: rgb(15 18 24 / 0.78);
  }
}
