@font-face {
  font-family: "Oswald";
  src: url("assets/oswald.ttf") format("truetype");
  font-weight: 200 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 {
  color-scheme: dark;
  --bg: #0c110f;
  --bg-2: #101713;
  --surface: #151e19;
  --surface-2: #1b2620;
  --text: #f4f3e8;
  --muted: #a4afa5;
  --line: #2d3931;
  --line-strong: #5b6d60;
  --accent: #d8f45b;
  --accent-ink: #111707;
  --accent-text: #d8f45b;
  --focus: #d8f45b;
  --header-bg: rgba(12, 17, 15, 0.9);
  --backdrop: rgba(3, 7, 5, 0.76);
  --img-filter: saturate(0.82) contrast(1.04) brightness(0.82);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  --shell: 1360px;
  --pad: clamp(20px, 4.7vw, 64px);
  --detail-pad: clamp(20px, 3.2vw, 44px);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f0f0e7;
  --bg-2: #f7f7ef;
  --surface: #fbfbf4;
  --surface-2: #e8e9dc;
  --text: #111610;
  --muted: #536056;
  --line: #c5c9bc;
  --line-strong: #7d887a;
  --accent: #d8f45b;
  --accent-ink: #111707;
  --accent-text: #496300;
  --focus: #3e5700;
  --header-bg: rgba(240, 240, 231, 0.92);
  --backdrop: rgba(14, 19, 15, 0.62);
  --img-filter: saturate(0.86) contrast(1.02) brightness(0.96);
  --shadow: 0 18px 48px rgba(27, 38, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

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

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
figure,
dl,
dd {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.shell {
  width: min(calc(100% - (var(--pad) * 2)), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 71px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid var(--accent);
  display: inline-block;
  transform: rotate(45deg);
}

.brand-mark span {
  position: absolute;
  inset: 5px;
  background: var(--accent);
}

.brand-word {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.header-date {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.header-date > span:first-child {
  color: var(--text);
}

.header-note {
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
}

.theme-toggle {
  justify-self: end;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 120ms ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.theme-toggle:active {
  transform: translateY(1px);
}

.hero {
  padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 6vw, 84px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}

.hero-copy {
  max-width: 740px;
}

h1 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(3.5rem, 6.35vw, 6.15rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero-line {
  display: block;
}

.hero-accent {
  color: var(--accent-text);
}

.hero-sub {
  max-width: 44ch;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 52px;
  margin-top: 32px;
  padding: 0 18px 0 22px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: background 180ms ease, color 180ms ease, transform 120ms ease;
}

.hero-cta span {
  font-size: 20px;
  line-height: 1;
}

.hero-cta:hover {
  background: transparent;
  color: var(--accent-text);
}

.hero-cta:active {
  transform: translateY(1px);
}

.hero-collage {
  display: grid;
  grid-template-columns: 1.36fr 0.94fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: clamp(360px, 34vw, 460px);
  min-width: 0;
}

.collage-frame {
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.collage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), filter 300ms ease;
}

.collage-frame:hover img {
  transform: scale(1.025);
  filter: var(--img-filter) contrast(1.04);
}

.collage-tall {
  grid-row: span 2;
}

.browse {
  padding: clamp(44px, 5vw, 72px) 0 clamp(64px, 7vw, 96px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  scroll-margin-top: 82px;
}

.browse-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.browse-heading h2 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(2.5rem, 4.2vw, 3.7rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.018em;
  text-transform: uppercase;
}

.result-count,
.field label,
.field-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
}

.result-count {
  flex: none;
  padding-bottom: 6px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 218px 212px;
  gap: 14px;
  margin-top: 30px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field label,
.field-label {
  display: block;
  padding-left: 1px;
}

input[type="search"],
select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  padding: 0 16px;
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  transition: border-color 180ms ease, background 180ms ease;
}

input[type="search"]::placeholder {
  color: var(--muted);
  opacity: 1;
}

input[type="search"]:hover,
select:hover {
  border-color: var(--text);
}

select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text) 50%),
    linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 24px,
    calc(100% - 14px) 24px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.saved-filter {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 120ms ease;
}

.saved-filter:hover {
  border-color: var(--accent);
}

.saved-filter:active {
  transform: translateY(1px);
}

.saved-filter[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.saved-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 1px solid currentColor;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1;
}

.results {
  margin-top: 46px;
}

.day-group + .day-group {
  margin-top: 54px;
}

.day-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-strong);
}

.day-head h3 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.day-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.day-count {
  margin-left: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

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

.event-open {
  width: calc(100% + 32px);
  margin-left: -16px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 94px;
  align-items: start;
  gap: 26px;
  padding: 24px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  transition: background 180ms ease;
}

.event-open:hover {
  background: var(--surface);
}

.event-open:active {
  background: var(--surface-2);
}

.event-time {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 3px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.time-start {
  font-size: 14px;
  color: var(--text);
}

.event-main {
  display: block;
  min-width: 0;
}

.event-title {
  display: block;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(1.45rem, 2vw, 1.82rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.008em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.event-open:hover .event-title {
  color: var(--accent-text);
}

.event-summary {
  display: -webkit-box;
  max-width: 68ch;
  margin-top: 8px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9.5px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.meta-sep {
  color: var(--line-strong);
}

.meta-category {
  color: var(--text);
}

.event-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  padding-top: 2px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event-price {
  font-size: 15px;
  color: var(--text);
}

.event-price.is-free {
  color: var(--accent-text);
}

.event-cue {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.event-open:hover .event-cue {
  color: var(--accent-text);
  text-decoration-color: currentColor;
}

.event-saved {
  color: var(--accent-text);
}

.empty-state,
.loading-state,
.error-state {
  min-height: 250px;
}

.empty-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding: 42px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.empty-index {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 0.8;
  color: var(--accent-text);
}

.empty-copy h3 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.empty-copy p {
  max-width: 52ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.clear-filters {
  min-height: 46px;
  margin-top: 22px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent-text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: background 180ms ease, color 180ms ease, transform 120ms ease;
}

.clear-filters:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.clear-filters:active {
  transform: translateY(1px);
}

.loading-state,
.error-state {
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.error-state {
  gap: 18px;
  padding: 32px;
}

.site-footer {
  padding: 44px 0 48px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-inner p:not(.footer-brand) {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.footer-note {
  max-width: 36ch;
  text-align: right;
}

/* Detail sheet */
dialog {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
}

dialog::backdrop {
  background: var(--backdrop);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.detail-shell {
  width: min(590px, 100vw);
  height: 100dvh;
  margin-left: auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-left: 1px solid var(--line-strong);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  animation: panel-in 340ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.detail-head {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--detail-pad);
  border-bottom: 1px solid var(--line);
}

.detail-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.close-detail {
  flex: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 120ms ease;
}

.close-detail:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.close-detail:active {
  transform: translateY(1px);
}

.detail-scroll {
  overflow-y: auto;
  padding: clamp(30px, 4vw, 46px) var(--detail-pad) 48px;
  overscroll-behavior: contain;
}

.detail-title {
  max-width: 12ch;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-size: clamp(2.7rem, 4.4vw, 4.05rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.detail-body {
  margin-top: 28px;
}

.detail-body p {
  max-width: 54ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.detail-body p + p {
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.fact {
  min-height: 88px;
  padding: 15px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact dt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.fact dd {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.35;
}

.detail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px var(--detail-pad);
  border-top: 1px solid var(--line-strong);
  background: var(--bg-2);
}

.detail-note {
  max-width: 18ch;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.save-item {
  flex: none;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 180ms ease, color 180ms ease, transform 120ms ease;
}

.save-item:hover {
  background: transparent;
  color: var(--accent-text);
}

.save-item:active {
  transform: translateY(1px);
}

.save-item[aria-pressed="true"] {
  background: transparent;
  color: var(--accent-text);
}

.save-item[aria-pressed="true"]:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: 40px;
  }

  .toolbar {
    grid-template-columns: minmax(220px, 1fr) 190px 190px;
  }

  .event-open {
    grid-template-columns: 78px minmax(0, 1fr) 82px;
    gap: 20px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-date {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-collage {
    height: clamp(240px, 44vw, 330px);
  }

  .toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .field-search {
    grid-column: 1 / -1;
  }

  .event-open {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px 20px;
  }

  .event-side {
    grid-column: 2;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 0;
    margin-top: 4px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 600px) {
  :root {
    --pad: 20px;
    --detail-pad: 20px;
  }

  .site-header,
  .header-inner {
    min-height: 64px;
  }

  .header-inner {
    min-height: 63px;
  }

  .brand-mark {
    width: 18px;
    height: 18px;
  }

  .brand-mark span {
    inset: 4px;
  }

  .brand-word {
    font-size: 20px;
  }

  .theme-toggle {
    min-height: 38px;
    padding: 0 13px;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(3.05rem, 15vw, 4.2rem);
  }

  .hero-sub {
    margin-top: 22px;
    font-size: 15.5px;
  }

  .hero-cta {
    margin-top: 26px;
    gap: 26px;
  }

  .hero-collage {
    height: 238px;
    gap: 7px;
  }

  .browse {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .browse-heading {
    align-items: flex-end;
  }

  .browse-heading h2 {
    font-size: clamp(2.4rem, 13vw, 3.1rem);
  }

  .result-count {
    padding-bottom: 2px;
    font-size: 9px;
  }

  .toolbar {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .field-search {
    grid-column: auto;
  }

  .results {
    margin-top: 38px;
  }

  .day-head {
    gap: 10px;
  }

  .day-head h3 {
    font-size: 22px;
  }

  .day-count {
    font-size: 9px;
  }

  .event-open {
    width: calc(100% + 24px);
    margin-left: -12px;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 7px 14px;
    padding: 20px 12px 19px;
  }

  .event-time {
    padding-top: 1px;
    font-size: 9px;
  }

  .time-start {
    font-size: 12px;
  }

  .event-title {
    font-size: clamp(1.35rem, 6.4vw, 1.62rem);
  }

  .event-summary {
    margin-top: 7px;
    font-size: 13.5px;
  }

  .event-meta {
    gap: 4px 6px;
    margin-top: 10px;
    font-size: 8.5px;
  }

  .event-side {
    gap: 12px;
    font-size: 9px;
  }

  .event-price {
    font-size: 13px;
  }

  .empty-state {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 0;
  }

  .empty-index {
    font-size: 5.4rem;
  }

  .detail-head {
    min-height: 68px;
    padding: 14px 20px;
  }

  .detail-kicker {
    max-width: 210px;
    font-size: 9px;
  }

  .detail-scroll {
    padding: 26px 20px 34px;
  }

  .detail-title {
    max-width: 13ch;
    font-size: clamp(2.45rem, 13.5vw, 3.2rem);
  }

  .detail-body {
    margin-top: 22px;
  }

  .detail-body p {
    font-size: 15px;
  }

  .detail-facts {
    margin-top: 28px;
  }

  .fact {
    min-height: 78px;
    padding: 12px;
  }

  .detail-foot {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 14px 20px 18px;
  }

  .detail-note {
    max-width: none;
  }

  .save-item {
    width: 100%;
    min-height: 50px;
  }

  .site-footer {
    padding-bottom: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  dialog::backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
