@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: "Oswald";
  src: url("assets/oswald.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("assets/literata.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0c0d;
  --surface: #121416;
  --surface-2: #191c1f;
  --paper: #f3f0e7;
  --muted: #aaa79d;
  --muted-strong: #c9c5b9;
  --line: rgba(243, 240, 231, 0.17);
  --line-soft: rgba(243, 240, 231, 0.09);
  --acid: #d7ff3f;
  --acid-ink: #121500;
  --lavender: #b9afff;
  --coral: #ff9875;
  --amber: #ffd166;
  --teal: #8be0cc;
  --sky: #91caff;
  --pink: #f2a9d8;
  --header-height: 76px;
  --page-gutter: clamp(20px, 4.2vw, 64px);
  --max-width: 1400px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-ui: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Literata", Georgia, serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 100px);
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 88% -6%, rgba(215, 255, 63, 0.08), transparent 34%),
    radial-gradient(ellipse at -10% 40%, rgba(185, 175, 255, 0.055), transparent 35%),
    var(--ink);
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button,
select {
  touch-action: manipulation;
}

button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.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: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--acid);
  color: var(--acid-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

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

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-height: var(--header-height);
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 12, 13, 0.9);
  backdrop-filter: blur(18px) saturate(120%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
}

.brand-mark {
  width: 14px;
  height: 14px;
  background: var(--acid);
  box-shadow: 4px 4px 0 rgba(215, 255, 63, 0.22);
  transition: transform 220ms var(--ease-out);
}

.brand:hover .brand-mark {
  transform: translate(-2px, -2px);
}

.brand-word {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.header-rule {
  width: clamp(30px, 7vw, 96px);
  height: 1px;
  background: var(--line);
}

.shortlist-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.shortlist-link:hover {
  border-color: var(--acid);
  color: var(--paper);
  background: rgba(215, 255, 63, 0.06);
}

.shortlist-link svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.5;
}

.shortlist-count {
  min-width: 20px;
  padding: 2px 5px;
  background: var(--acid);
  color: var(--acid-ink);
  font-weight: 600;
  text-align: center;
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-small {
  font-size: 10.5px;
}

.eyebrow-dot {
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--acid);
  border-radius: 50%;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(34px, 3.8vw, 56px) var(--page-gutter) clamp(36px, 4.2vw, 62px);
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: clamp(62px, 7.7vw, 110px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 0.87;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 em {
  display: block;
  margin-top: 0.04em;
  color: var(--acid);
  font-family: var(--font-body);
  font-size: 0.89em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: none;
}

.hero-intro {
  max-width: 49ch;
  margin: 30px 0 0;
  color: var(--muted-strong);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 52px;
  padding: 0 20px;
  background: var(--acid);
  color: var(--acid-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms var(--ease-out);
}

.primary-link svg {
  width: 19px;
  height: 19px;
  transition: transform 220ms var(--ease-out);
}

.primary-link:hover {
  background: var(--paper);
}

.primary-link:hover svg {
  transform: translateX(4px);
}

.primary-link:active {
  transform: translateY(1px);
}

.hero-footnote {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.65;
  text-transform: uppercase;
}

.hero-footnote > span {
  color: var(--paper);
}

.hero-collage {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(140px, 0.78fr);
  grid-template-rows: minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 12px;
  height: clamp(380px, 30vw, 430px);
  min-width: 0;
}

.hero-photo {
  position: relative;
  grid-row: 1 / -1;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--surface-2);
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 13, 0) 52%, rgba(11, 12, 13, 0.78) 100%);
  content: "";
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.88) contrast(1.05) brightness(0.82);
  transition:
    filter 500ms ease,
    transform 800ms var(--ease-out);
}

.hero-photo:hover img {
  filter: grayscale(0.2) contrast(1.02) brightness(0.92);
  transform: scale(1.025);
}

.hero-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  left: 22px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-photo figcaption span {
  margin: 0 5px;
  color: var(--acid);
}

.hero-stat,
.hero-date {
  position: relative;
  min-height: 0;
  padding: 22px;
  overflow: hidden;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--acid);
  color: var(--acid-ink);
}

.tile-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stat-number {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(58px, 6vw, 86px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

.hero-stat-caption {
  max-width: 15ch;
  margin: 10px 0 0;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.tile-cross {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
}

.hero-date {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(185, 175, 255, 0.06), transparent 60%),
    var(--surface);
}

.hero-date .tile-label {
  color: var(--muted);
}

.hero-date-number {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.5vw, 66px);
  font-weight: 500;
  line-height: 0.9;
}

.hero-date-number .date-dash {
  color: var(--acid);
  font-family: var(--font-body);
  font-size: 0.65em;
}

.hero-date-month {
  max-width: 18ch;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.date-orbit {
  position: absolute;
  top: -28px;
  right: -30px;
  width: 120px;
  height: 120px;
  color: rgba(215, 255, 63, 0.22);
  stroke-width: 0.8;
  pointer-events: none;
}

/* ---------- Controls ---------- */

.controls {
  position: sticky;
  z-index: 40;
  top: var(--header-height);
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) minmax(170px, 0.7fr) minmax(160px, auto);
  gap: 16px;
  align-items: end;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 18px var(--page-gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 12, 13, 0.94);
  backdrop-filter: blur(16px) saturate(120%);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.control {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.control label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.search-wrap,
.select-wrap {
  position: relative;
}

.search-wrap svg,
.select-wrap svg {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.search-icon {
  left: 15px;
}

.select-icon {
  right: 14px;
}

#search,
#category-filter {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 15px;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

#search {
  padding: 0 16px 0 44px;
}

#search::placeholder {
  color: #8b897f;
  opacity: 1;
}

#search::-webkit-search-cancel-button {
  cursor: pointer;
  filter: invert(1) grayscale(1) brightness(1.5);
}

#category-filter {
  appearance: none;
  padding: 0 44px 0 15px;
  cursor: pointer;
}

#search:hover,
#category-filter:hover {
  border-color: rgba(243, 240, 231, 0.34);
}

#search:focus,
#category-filter:focus {
  border-color: var(--acid);
  background: var(--surface-2);
  outline: none;
}

#search:focus-visible,
#category-filter:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 2px;
}

.saved-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.saved-filter svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.6;
  transition: fill 180ms ease;
}

.saved-filter:hover {
  border-color: rgba(215, 255, 63, 0.6);
  color: var(--paper);
  background: rgba(215, 255, 63, 0.05);
}

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

.saved-filter[aria-pressed="true"] svg {
  fill: currentColor;
}

.saved-filter-label[aria-hidden="true"] {
  display: inline;
}

.saved-filter-count {
  min-width: 20px;
  padding: 2px 5px;
  background: rgba(243, 240, 231, 0.12);
  color: inherit;
  font-weight: 600;
  text-align: center;
}

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

/* ---------- Index ---------- */

.index-section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(36px, 4vw, 54px) var(--page-gutter) clamp(50px, 6vw, 84px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 22px;
}

.section-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 4.8vw, 66px);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 0.95;
  text-transform: uppercase;
}

.result-status {
  margin: 0 0 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.column-head {
  display: grid;
  grid-template-columns: 56px 128px minmax(0, 1fr) 180px 40px;
  gap: 24px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #85837a;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.event-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px 128px minmax(0, 1fr) 180px 40px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 220ms ease;
}

.event-row:last-child {
  border-bottom: 0;
}

.event-row::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--page-gutter) * -1);
  width: 3px;
  background: var(--acid);
  content: "";
  opacity: 0;
  transform: scaleY(0.35);
  transition:
    opacity 200ms ease,
    transform 240ms var(--ease-out);
}

.event-row:hover,
.event-row:focus-within {
  background: rgba(243, 240, 231, 0.028);
}

.event-row:hover::before,
.event-row:focus-within::before {
  opacity: 1;
  transform: scaleY(1);
}

.event-row:focus-within {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

.row-index {
  align-self: start;
  padding-top: 3px;
  color: #75736b;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.row-when {
  display: flex;
  align-self: start;
  flex-direction: column;
  gap: 3px;
  padding-top: 1px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.row-day {
  color: var(--acid);
  font-weight: 500;
}

.row-date {
  color: var(--paper);
}

.row-time {
  color: var(--muted);
}

.row-main {
  min-width: 0;
}

.row-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 23px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.category-chip::before {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--cat, var(--acid));
  border-radius: 50%;
  content: "";
}

.row-price {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.row-price.is-free {
  color: var(--acid);
}

.row-saved {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.row-saved[hidden] {
  display: none;
}

.row-saved svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  stroke-width: 1.5;
}

.row-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.3vw, 32px);
  font-weight: 500;
  letter-spacing: 0.002em;
  line-height: 1.1;
}

.open-item {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease;
}

.open-item::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  cursor: pointer;
}

.open-item:hover {
  color: var(--acid);
}

.open-item:focus {
  outline: none;
}

.row-summary {
  display: -webkit-box;
  max-width: 63ch;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.row-venue {
  margin: 9px 0 0;
  color: #89877e;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.row-thumb {
  position: relative;
  width: 180px;
  height: 120px;
  overflow: hidden;
  background: var(--surface-2);
}

.row-thumb::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(243, 240, 231, 0.1);
  content: "";
  pointer-events: none;
}

.row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.8);
  transition:
    filter 420ms ease,
    transform 600ms var(--ease-out);
}

.event-row:hover .row-thumb img,
.event-row:focus-within .row-thumb img {
  filter: grayscale(0.15) contrast(1.02) brightness(0.94);
  transform: scale(1.045);
}

.row-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    transform 240ms var(--ease-out);
}

.row-arrow svg {
  width: 17px;
  height: 17px;
}

.event-row:hover .row-arrow,
.event-row:focus-within .row-arrow {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--acid-ink);
  transform: translateX(3px);
}

/* ---------- Empty state ---------- */

.empty-state {
  padding: clamp(48px, 7vw, 86px) 24px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--acid);
}

.empty-mark svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.3;
}

.empty-state .eyebrow {
  justify-content: center;
}

.empty-state h3 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.empty-state > p:not(.eyebrow) {
  max-width: 48ch;
  margin: 16px auto 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

.reset-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  margin-top: 26px;
  padding: 0 18px;
  border: 1px solid var(--acid);
  background: transparent;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.reset-button svg {
  width: 17px;
  height: 17px;
}

.reset-button:hover {
  background: var(--acid);
  color: var(--acid-ink);
}

/* ---------- Closing note ---------- */

.weekend-note {
  display: grid;
  grid-template-columns: 100px minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(46px, 6vw, 82px) var(--page-gutter);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(215, 255, 63, 0.035), transparent 42%),
    transparent;
}

.note-index {
  margin: 0;
  color: rgba(243, 240, 231, 0.12);
  font-family: var(--font-display);
  font-size: clamp(54px, 6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.8;
}

.weekend-note h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 0.98;
  text-transform: uppercase;
}

.weekend-note h2 em {
  color: var(--acid);
  font-family: var(--font-body);
  font-size: 0.84em;
  font-style: italic;
  letter-spacing: -0.04em;
  text-transform: none;
}

.note-copy {
  max-width: 43ch;
  margin: 0;
  color: var(--muted-strong);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Footer ---------- */

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1.3fr) auto;
  gap: 32px;
  align-items: start;
  padding: 28px var(--page-gutter) 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
}

.footer-brand span {
  margin-left: 3px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 8px;
  vertical-align: top;
}

.footer-credit {
  text-align: right;
}

.footer-credit a {
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  color: var(--acid);
}

/* ---------- Detail dialog ---------- */

.detail {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(720px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--surface);
  color: var(--paper);
}

.detail:not([open]) {
  display: none;
}

.detail::backdrop {
  background: rgba(3, 4, 5, 0.72);
  backdrop-filter: blur(5px);
}

.detail[open] {
  animation: sheet-in 340ms var(--ease-out) both;
}

.detail[open]::backdrop {
  animation: fade-in 260ms ease both;
}

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

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.detail-shell {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.detail-bar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.detail-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.close-detail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.close-detail svg {
  width: 15px;
  height: 15px;
}

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

.detail-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(243, 240, 231, 0.25) transparent;
}

.detail-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--surface-2);
}

.detail-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 20, 22, 0.84));
  content: "";
  pointer-events: none;
}

.detail-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(0.7) contrast(1.04) brightness(0.85);
}

.detail-media figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 16px;
  left: 22px;
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.detail-content {
  padding: 28px clamp(22px, 5vw, 48px) 36px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.detail-price {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail h2 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.006em;
  line-height: 1.02;
}

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-meta div {
  padding: 14px 18px 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.detail-meta div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.detail-meta div:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--line-soft);
}

.detail-meta dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-meta dd {
  margin: 5px 0 0;
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.45;
}

.detail-copy {
  margin-top: 30px;
}

.detail-copy h3 {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.detail-copy p {
  max-width: 60ch;
  margin: 0 0 1em;
  color: var(--muted-strong);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
}

.detail-copy p:last-child {
  margin-bottom: 0;
}

.detail-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: #8f8d84;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  line-height: 1.65;
  text-transform: uppercase;
}

.detail-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 1px;
  stroke-width: 1.4;
}

.detail-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.save-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: var(--acid-ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.save-item svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
  transition: fill 180ms ease;
}

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

.save-item[aria-pressed="true"] svg {
  fill: var(--acid);
}

.save-item:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--acid-ink);
}

.save-item[aria-pressed="true"]:hover {
  background: rgba(215, 255, 63, 0.09);
  color: var(--acid);
}

.save-status {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */

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

  .hero h1 {
    font-size: clamp(62px, 8.6vw, 96px);
  }

  .hero-collage {
    height: 420px;
  }

  .event-row,
  .column-head {
    grid-template-columns: 44px 108px minmax(0, 1fr) 150px 40px;
    gap: 18px;
  }

  .row-thumb {
    width: 150px;
    height: 104px;
  }

  .weekend-note {
    grid-template-columns: 70px minmax(0, 1fr) minmax(260px, 0.85fr);
  }
}

@media (max-width: 880px) {
  .header-meta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 44px;
  }

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

  .hero h1 {
    font-size: clamp(64px, 12vw, 108px);
  }

  .hero-collage {
    grid-template-columns: minmax(0, 1.45fr) minmax(160px, 0.55fr);
    height: 372px;
  }

  .controls {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.45fr) auto;
  }

  .column-head {
    display: none;
  }

  .event-row {
    grid-template-columns: 48px 100px minmax(0, 1fr) 140px;
    gap: 16px;
  }

  .row-arrow {
    display: none;
  }

  .row-thumb {
    width: 140px;
    height: 100px;
  }

  .row-title {
    font-size: clamp(24px, 3.2vw, 29px);
  }

  .weekend-note {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .note-index {
    font-size: 50px;
  }

  .note-copy {
    max-width: 55ch;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-credit {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 62px;
    --page-gutter: 18px;
  }

  .site-header {
    min-height: var(--header-height);
    gap: 12px;
  }

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

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

  .shortlist-link {
    min-height: 44px;
    padding: 0 10px;
    font-size: 9.5px;
  }

  .shortlist-link span:not(.shortlist-count) {
    display: none;
  }

  .hero {
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .hero .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.075em;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(53px, 15vw, 82px);
    line-height: 0.9;
  }

  .hero-intro {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 26px;
  }

  .primary-link {
    width: 100%;
    min-height: 50px;
  }

  .hero-footnote {
    font-size: 9px;
  }

  .hero-collage {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-rows: 190px 146px;
    gap: 8px;
    height: auto;
  }

  .hero-photo {
    grid-row: 1 / 2;
    grid-column: 1 / -1;
  }

  .hero-stat,
  .hero-date {
    padding: 15px;
  }

  .hero-stat-number {
    font-size: 48px;
  }

  .hero-stat-caption {
    font-size: 10.5px;
  }

  .hero-date-number {
    font-size: 34px;
  }

  .hero-date-month {
    font-size: 8.5px;
  }

  .date-orbit {
    top: -38px;
    right: -40px;
    width: 105px;
    height: 105px;
  }

  .controls {
    position: static;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

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

  .saved-filter {
    height: 46px;
    padding: 0 10px;
    font-size: 9px;
  }

  #search,
  #category-filter {
    height: 46px;
    font-size: 16px;
  }

  .index-section {
    padding-top: 38px;
    padding-bottom: 60px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
  }

  .section-head h2 {
    font-size: 46px;
  }

  .result-status {
    text-align: left;
  }

  .event-row {
    grid-template-columns: minmax(0, 1fr) 96px;
    grid-template-areas:
      "main thumb"
      "when thumb";
    gap: 8px 16px;
    padding: 20px 0;
  }

  .row-index {
    display: none;
  }

  .row-main {
    grid-area: main;
  }

  .row-when {
    grid-area: when;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 9px;
    padding-top: 0;
    font-size: 9px;
  }

  .row-time::before {
    margin-right: 8px;
    color: #6f6d65;
    content: "/";
  }

  .row-thumb {
    grid-area: thumb;
    width: 96px;
    height: 96px;
  }

  .row-title {
    font-size: 25px;
  }

  .row-summary {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }

  .row-venue {
    margin-top: 7px;
    font-size: 8.5px;
  }

  .row-tags {
    margin-bottom: 7px;
  }

  .category-chip {
    min-height: 21px;
    font-size: 8.5px;
  }

  .row-saved {
    font-size: 8px;
  }

  .weekend-note {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .weekend-note h2 {
    font-size: 43px;
  }

  .note-copy {
    font-size: 15px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    font-size: 9px;
  }

  .footer-credit {
    grid-column: auto;
  }

  .detail {
    width: 100vw;
    border-left: 0;
  }

  .detail-bar {
    min-height: 62px;
    padding: 10px 16px;
  }

  .detail-content {
    padding: 24px 18px 30px;
  }

  .detail h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }

  .detail-meta div,
  .detail-meta div:nth-child(even) {
    padding: 12px 0;
    border-left: 0;
  }

  .detail-meta div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .detail-meta div:last-child {
    border-bottom: 0;
  }

  .detail-copy p {
    font-size: 16px;
  }

  .detail-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }

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

  .save-status {
    min-height: 14px;
    text-align: center;
  }

  .detail-media img {
    aspect-ratio: 4 / 3;
  }

  .detail-media figcaption {
    font-size: 8px;
  }
}

@media (max-width: 380px) {
  .hero-collage {
    grid-template-columns: 1fr;
    grid-template-rows: 180px 130px 130px;
  }

  .hero-photo {
    grid-column: 1;
  }

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

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

  .saved-filter {
    justify-content: flex-start;
  }

  .event-row {
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .row-thumb {
    width: 82px;
    height: 82px;
  }
}

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

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