:root {
  color-scheme: dark;
  --ink: #ece8dd;
  --paper: #e5ded1;
  --muted: #aaa59b;
  --dim: #77746c;
  --void: #050606;
  --panel: #090b0b;
  --panel-2: #101312;
  --line: #3a3d3b;
  --acid: #36c7e7;
  --ember: #ff552f;
  --cyan: #36c7e7;
  --gold: #d7a928;
  --rose: #ff5b75;
  --ok: #36c7e7;
  --warn: #d7a928;
  --radius: 2px;
  --shadow: 0 18px 52px rgba(0, 0, 0, .46);
  --font-display: "Barlow Condensed", "Impact", "Haettenschweiler", sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(244, 240, 231, .035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(244, 240, 231, .026) 1px, transparent 1px) 0 0 / 72px 72px,
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .026) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 22% 8%, rgba(53, 200, 230, .12), transparent 30%),
    radial-gradient(circle at 84% 0, rgba(255, 100, 47, .14), transparent 28%),
    #050605;
  color: var(--ink);
  font-family: var(--font-mono);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-nav,
.nav-group,
.action-row,
.stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.site-nav {
  justify-content: space-between;
  margin-bottom: 20px;
  color: var(--muted);
}

.nav-link,
.button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(7, 8, 7, .82);
  padding: 7px 11px;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .36);
}

.nav-link:hover,
.nav-link.active,
.button.primary {
  color: var(--void);
  background: var(--acid);
  border-color: var(--acid);
}

.nav-beta {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  color: inherit;
  font-family: var(--font-mono);
  font-size: .62em;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
  opacity: .72;
}

.button.secondary:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.button.live-room-return {
  color: var(--cyan);
  border-color: rgba(54, 199, 231, .62);
}

.button.live-room-return:hover {
  color: var(--void);
  border-color: var(--cyan);
  background: var(--cyan);
}

.hero,
.event-detail {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  color: var(--paper);
  font-size: clamp(58px, 8.7vw, 124px);
  line-height: .82;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .88);
}

h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.lede {
  max-width: 850px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.stat-grid {
  margin-top: 22px;
}

.stat,
.fact,
.event-card,
.copy-block {
  border: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(0, 0, 0, .08)),
    rgba(9, 11, 10, .88);
  padding: 14px;
}

.stat b {
  display: block;
  color: var(--acid);
  font-size: 28px;
}

.stat span,
.fact span,
.event-meta,
.source-list,
.lineup-list span,
figcaption,
.watch-note {
  color: var(--muted);
}

.event-section {
  margin-top: 34px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 12px;
}

.event-card {
  display: grid;
  gap: 10px;
  text-decoration: none;
}

.event-card:hover {
  border-color: var(--acid);
}

.event-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.event-meta {
  font-size: 13px;
  line-height: 1.4;
}

.event-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.event-hero > * {
  min-width: 0;
  max-width: 100%;
}

figure {
  margin: 0;
  min-width: 0;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  object-fit: cover;
}

figcaption {
  margin-top: 8px;
  font-size: 12px;
}

.kicker,
h1,
.lede,
.action-row,
figcaption {
  overflow-wrap: anywhere;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.fact b {
  display: block;
  margin-top: 5px;
  font-size: 15px;
}

.copy-block {
  margin-top: 18px;
}

.decision-block p {
  color: var(--muted);
  line-height: 1.6;
}

.decision-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.decision-tags span {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .045);
  color: var(--paper);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.lineup-list,
.source-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lineup-list li {
  display: grid;
  gap: 4px;
}

.source-list .social-source a {
  color: var(--rose);
}

.source-list .social-source span {
  color: var(--dim);
}

.source-list a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(229, 222, 209, .18);
  background: rgba(5, 6, 6, .5);
  color: var(--paper);
  padding: 8px 10px;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  text-decoration: none;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.source-list a:hover {
  border-color: var(--acid);
  color: var(--void);
  background: var(--acid);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.crumbs a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.watch-detail {
  border-color: rgba(255, 209, 102, .35);
}

.festival-detail {
  border-color: rgba(215, 169, 40, .42);
}

.festival-detail .kicker {
  color: var(--gold);
}

.program-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.program-summary p {
  display: grid;
  gap: 4px;
  margin: 0;
  border: 1px solid rgba(215, 169, 40, .22);
  background: rgba(215, 169, 40, .055);
  padding: 10px;
}

.program-summary b {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
}

.program-summary span {
  color: var(--muted);
  line-height: 1.45;
}

.program-list li {
  border-left: 2px solid rgba(215, 169, 40, .7);
  padding-left: 10px;
}

@media (max-width: 780px) {
  .event-hero {
    grid-template-columns: 1fr;
  }

  .site-nav {
    align-items: flex-start;
  }

  h1 {
    font-size: clamp(46px, 17vw, 72px);
  }
}
