@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("/fonts/space-mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 100%;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: var(--size-body);
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: var(--grain);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--highlight);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--text);
}

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

h1,
h2,
h3 {
  line-height: 1.05;
  font-weight: 700;
}

h1,
h2 {
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--size-display);
}

h2 {
  font-size: var(--size-h2);
  margin-bottom: 1rem;
}

h3 {
  font-size: var(--size-h3);
}

.wrap {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.label,
.meta,
.ep-number {
  font-family: var(--mono);
  font-size: var(--size-label);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.label {
  color: var(--highlight);
  margin-bottom: 0.75rem;
}

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

.muted {
  color: var(--text-muted);
}

.lead {
  color: var(--text-muted);
  font-size: var(--size-lead);
  max-width: 40rem;
}

.plain {
  list-style: none;
  padding: 0;
}

section {
  padding-block: clamp(4rem, 10vw, 6.5rem);
}

.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header.over-hero {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 0;
  background: linear-gradient(to bottom, rgb(15 7 6 / 0.75), transparent);
}

.over-hero nav a {
  color: #f4e6c8;
}

.over-hero .brand span {
  color: #f4e6c8;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.9375rem;
}

.eye-mark {
  width: 1.75rem;
  height: 1.75rem;
}

.site-header ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.site-header nav a {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--text);
}

.site-header nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --eye-w: min(92vw, 46rem);
  --eye-top: calc(4.5rem + clamp(0.5rem, 3vw, 2rem));
  padding-block: calc(var(--eye-top) + var(--eye-w) * 0.457 + clamp(7rem, 14vw, 12rem)) 4.5rem;
  text-align: center;
  background: #0f0706;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  isolation: isolate;
}

.hero-tex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tile {
  background-repeat: repeat;
  background-size: 22rem;
}

.hero-watcher {
  position: absolute;
  z-index: 2;
  top: var(--eye-top);
  left: 50%;
  width: var(--eye-w);
  aspect-ratio: 1400 / 640;
  transform: translateX(-50%);
}

.hero-eye {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-beam {
  position: absolute;
  z-index: 6;
  top: calc(var(--eye-top) + var(--eye-w) * 0.443);
  left: calc(50% - var(--eye-w) * 0.307);
  width: calc(var(--eye-w) * 0.614);
  height: calc(100% - var(--eye-top) - var(--eye-w) * 0.443);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.hero-crowd {
  position: absolute;
  z-index: 5;
  inset: auto 0 0;
  height: clamp(18rem, 58%, 34rem);
  background: url(/images/hero/crowd.svg) repeat-x 50% 0 / auto 100%;
}

.hero-floor {
  position: absolute;
  z-index: 8;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 60%, transparent) 35%, color-mix(in srgb, var(--bg) 88%, transparent) 70%, var(--bg));
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.display {
  font-size: var(--size-hero);
  line-height: 0.9;
  position: relative;
  text-shadow: 0 6px 40px var(--shadow);
  overflow-wrap: anywhere;
}

.tagline {
  margin-top: 0.75rem;
  color: var(--highlight);
  font-family: var(--mono);
  font-size: clamp(0.8125rem, 2.5vw, 1rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero .lead {
  margin: 1.75rem auto 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero .actions {
  justify-content: center;
}

.button {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--accent-strong);
  border-radius: var(--radius);
  background: var(--accent-strong);
  color: var(--on-accent);
  font-size: var(--size-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.button.ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.button.ghost:hover {
  border-color: var(--text);
  background: color-mix(in srgb, var(--text) 6%, transparent);
}

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.intro {
  max-width: 44rem;
  text-align: center;
}

.intro .topics {
  justify-items: center;
}

.topics {
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.topics li {
  padding-left: 1.5rem;
  position: relative;
}

.topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--accent);
}

.poster {
  border-radius: var(--radius);
  box-shadow: 0 30px 80px var(--shadow);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin-bottom: 0;
}

.more {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note {
  margin-top: 2rem;
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.25rem;
}

.card-body .meta {
  margin-bottom: 0.5rem;
}

.card h3 a {
  color: var(--text);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--highlight);
}

.page-head {
  padding-block: clamp(3rem, 8vw, 5rem) 0;
}

.page-head h1 {
  margin-bottom: 1.25rem;
}

.events {
  display: grid;
  gap: 4rem;
}

.event {
  display: grid;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.event > img {
  width: min(100%, 18rem);
  border-radius: var(--radius);
}

.event h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

.sessions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.sessions a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid color-mix(in srgb, var(--highlight) 35%, transparent);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  text-decoration: none;
}

.sessions a:hover {
  border-color: var(--highlight);
}

.photos {
  margin-top: 1.5rem;
  border-radius: var(--radius);
}

.episodes {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}

.episodes li {
  border-bottom: 1px solid var(--line);
}

.episodes a {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 0;
  color: var(--text);
  text-decoration: none;
}

.episodes audio {
  display: block;
  width: 100%;
  max-width: 32rem;
  margin: -0.25rem 0 1.25rem;
}

.episodes a:hover .ep-title {
  color: var(--highlight);
}

.ep-number {
  color: var(--accent);
}

.ep-title {
  font-size: 1.375rem;
  font-weight: 700;
}

.ep-topics {
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-grid .brand {
  margin-bottom: 0.75rem;
}

.footer-grid li + li {
  margin-top: 0.375rem;
}

@media (min-width: 48rem) {
  .split {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }

  .event {
    grid-template-columns: 18rem 1fr;
    gap: 2.5rem;
  }

  .episodes a {
    grid-template-columns: 8rem 1fr;
    column-gap: 1.5rem;
  }

  .episodes audio {
    margin-left: 9.5rem;
  }

  .ep-number {
    grid-row: span 2;
    padding-top: 0.4rem;
  }

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

.theme-lab {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: var(--size-label);
}

.theme-lab a {
  color: var(--text-muted);
}

.theme-lab a[aria-current] {
  color: var(--highlight);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
