/* ==========================================================================
   TIEFTONTHERAPIE
   Mobile-first. Breakpoints: 720px (tablet), 1024px (desktop)
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2-variations"),
       url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono-var.woff2") format("woff2-variations"),
       url("../assets/fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #19191c;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.22);
  --text: #f3f2ee;
  --muted: #9b9994;
  --dim: #5c5b57;
  --accent: #ff4a1c;
  --accent-ink: #0a0a0b;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 16px;
  --maxw: 1240px;
  --header-h: 60px;
  --beat: calc(60s / 174);          /* one beat @ 174 BPM */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 720px)  { :root { --gutter: 32px; --header-h: 72px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; font-weight: 700;
}
.skip:focus { top: 12px; }

.dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); vertical-align: middle; margin: 0 .5em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px;
  padding: .85rem 1.3rem;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--text); }
.btn--ghost, .btn--line { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover, .btn--line:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.btn--dark { background: var(--accent-ink); color: var(--text); }
.btn--dark:hover { background: var(--text); color: var(--accent-ink); }
.cta .btn--line { border-color: rgba(10,10,11,.4); color: var(--accent-ink); }
.cta .btn--line:hover { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
.arrow { font-family: var(--font); font-size: 1.1em; line-height: 1; }

.link {
  display: inline-flex; gap: .4em; align-items: center;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.link:hover { color: var(--accent); border-color: var(--accent); }

.eyebrow, .section__num {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, body.is-locked .header {
  background: rgba(10, 10, 11, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
body.is-locked .header { background: var(--bg); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header__logo img { height: 15px; width: auto; }
@media (min-width: 720px) { .header__logo img { height: 18px; } }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 2.2rem; }
  .nav a {
    position: relative;
    font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); transition: color .2s; padding: .5rem 0;
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav a:hover, .nav a.is-current { color: var(--text); }
  .nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
  .burger { display: none !important; }
}

.burger {
  position: relative; width: 44px; height: 44px; margin-right: -10px;
  display: grid; place-items: center;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text);
  transition: transform .35s var(--ease);
}
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child  { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--bg);
  padding: calc(var(--header-h) + 2rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  visibility: hidden; opacity: 0;
  transition: opacity .3s var(--ease), visibility 0s .3s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2.4rem, 12vw, 4rem);
  font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1;
  letter-spacing: -.01em;
  transform: translateY(12px); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), color .2s;
}
.menu__nav a span { font-family: var(--mono); font-size: .75rem; font-weight: 500; color: var(--accent); letter-spacing: .1em; }
.menu__nav a:hover { color: var(--accent); }
.menu.is-open .menu__nav a { transform: none; opacity: 1; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .12s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.menu__foot a { padding: .4rem 0; }
@media (min-width: 900px) { .menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 1.5rem) 0 4.5rem;
  display: flex; align-items: center;
  isolation: isolate;
  overflow: hidden;
  --cx: 50%; --cy: 28%;
}
.hero::before, .hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
/* speaker-cone rings */
.hero::before {
  background: repeating-radial-gradient(circle at var(--cx) var(--cy), transparent 0 38px, rgba(255,255,255,.045) 38px 39px);
  -webkit-mask-image: radial-gradient(circle at var(--cx) var(--cy), #000 0, transparent 62%);
          mask-image: radial-gradient(circle at var(--cx) var(--cy), #000 0, transparent 62%);
}
/* low glow */
.hero::after {
  background: radial-gradient(circle at var(--cx) var(--cy), rgba(255, 74, 28, .16), transparent 42%);
}

.hero__inner {
  display: grid;
  gap: 2rem;
  justify-items: center;
}

.hero__mark {
  position: relative;
  width: min(72vw, 360px);
  aspect-ratio: 1;
}
.hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 80s linear infinite; }
.hero__emblem { position: absolute; inset: 18.43%; width: 63.14%; height: 63.14%; }

.pulse { position: absolute; inset: 18.43%; }
.pulse span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: pulse calc(var(--beat) * 8) var(--ease) infinite;
}
.pulse span:nth-child(2) { animation-delay: calc(var(--beat) * 2); }
.pulse span:nth-child(3) { animation-delay: calc(var(--beat) * 4); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%   { transform: scale(.85); opacity: 0; }
  10%  { opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}

.hero__copy { width: 100%; max-width: 640px; text-align: left; }
.hero__copy .eyebrow { margin-bottom: 1rem; }
.hero__title {
  font-size: clamp(2.6rem, 12.5vw, 6.6rem);
  font-weight: 800;
  font-stretch: 68%;
  line-height: .9;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__title .amp { font-weight: 300; font-stretch: 100%; color: var(--muted); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll svg { width: 10px; height: 18px; animation: nudge calc(var(--beat) * 4) ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

@media (min-width: 720px) {
  .hero__mark { width: min(56vw, 420px); }
}
@media (min-width: 1024px) {
  .hero { --cx: 76%; --cy: 52%; padding-bottom: 5rem; }
  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    grid-template-areas: "copy mark";
    align-items: center;
    gap: 3rem;
  }
  .hero__copy { grid-area: copy; max-width: none; }
  .hero__mark { grid-area: mark; width: min(38vw, 520px); justify-self: end; }
  .hero__title { font-size: clamp(4.5rem, 7.4vw, 7.6rem); }
  .session { max-width: 600px; }
  .hero__scroll { display: flex; }
}

/* ---------- Session card (hero) ---------- */
.session {
  margin-top: 1.75rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 1.25rem;
  display: grid;
  gap: .9rem;
}
.session:empty { display: none; }
.session__label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 74, 28, .6);
  animation: live calc(var(--beat) * 4) ease-out infinite;
}
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(255,74,28,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255,74,28,0); } }
.session__when { font-family: var(--mono); font-size: .85rem; color: var(--accent); letter-spacing: .04em; }
.session__title { font-size: 1.6rem; font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: 1; letter-spacing: -.005em; }
.session__text { color: var(--muted); font-size: .95rem; max-width: 52ch; }
.session__artists { font-size: 1.05rem; font-weight: 600; }
.session__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .25rem; }
.session__actions .btn { flex: 1 1 auto; }
.session__last {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding-top: .9rem; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
  transition: color .2s;
}
.session__last b { color: var(--text); font-weight: 600; }
.session__last:hover { color: var(--text); }
.session__last:hover .arrow { color: var(--accent); }
@media (min-width: 720px) {
  .session { padding: 1.5rem; }
  .session__actions .btn { flex: 0 0 auto; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 1.1rem 0;
  background: var(--bg);
}
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); padding-right: clamp(1rem, 3vw, 2rem);
  font-size: clamp(1.6rem, 6vw, 3.2rem);
  font-weight: 800; font-stretch: 70%; text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--muted); }
.marquee__item img { width: .55em; height: .55em; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
@media (min-width: 1024px) { .section { padding: 8rem 0; } }

.section__head { margin-bottom: 2.5rem; max-width: 760px; }
.section__head--row { max-width: none; display: grid; gap: 1.5rem; align-items: end; }
.section__head--row .btn { justify-self: start; }
@media (min-width: 720px) {
  .section__head--row { grid-template-columns: 1fr auto; }
  .section__head--row > div { max-width: 640px; }
}
.section__num { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.section__num::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.section__title {
  font-size: clamp(2.6rem, 11vw, 5.5rem);
  font-weight: 800; font-stretch: 68%; line-height: .92; text-transform: uppercase; letter-spacing: -.015em;
  text-wrap: balance;
}
.section__lead { margin-top: 1.1rem; color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.section__lead strong { color: var(--text); font-weight: 600; }

/* ---------- Feature (current / next event) ---------- */
.feature { display: grid; gap: 1.25rem; margin-bottom: 4rem; }
.feature:empty { display: none; }
.fcard {
  position: relative;
  display: grid;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  overflow: hidden;
}
.fcard::before {
  content: ""; position: absolute; right: -18%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 22px, rgba(255,255,255,.04) 22px 23px);
  pointer-events: none;
}
.fcard__date {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; align-items: end; gap: .25rem 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.fcard__day {
  grid-row: span 2;
  font-size: clamp(4rem, 22vw, 7.5rem); font-weight: 800; font-stretch: 62%; line-height: .8; letter-spacing: -.02em;
}
.fcard__meta { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.fcard__badge {
  justify-self: start; align-self: start;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .55rem; border: 1px solid var(--line-2); color: var(--muted);
}
.fcard__badge.is-next { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.fcard__body { position: relative; padding: 1.25rem; display: grid; gap: 1.25rem; align-content: start; }
.fcard__title { font-size: clamp(1.9rem, 8vw, 3rem); font-weight: 800; font-stretch: 72%; text-transform: uppercase; line-height: .95; }
.fcard__note { color: var(--muted); }

.floors { display: grid; gap: 1rem; }
.floor__name { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .35rem; }
.floor__genre { color: var(--muted); }
.floor__genre::before { content: "·"; margin: 0 .6em; }
.floor__artists { display: flex; flex-wrap: wrap; gap: .1rem .9rem; font-size: 1.35rem; font-weight: 700; font-stretch: 85%; line-height: 1.2; }
.floor__artists .is-support { color: var(--muted); font-weight: 500; }
.floor__artists .lbl { font-size: .62em; font-weight: 400; color: var(--muted); font-family: var(--mono); letter-spacing: 0; margin-left: .3em; }

.fcard__info {
  display: grid; gap: .25rem;
  padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--muted);
}
.fcard__info b { color: var(--text); font-weight: 600; }
.fcard__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.fcard__actions .btn { flex: 1 1 auto; }

@media (min-width: 720px) {
  .fcard { grid-template-columns: 240px 1fr; }
  .fcard__date {
    grid-template-columns: 1fr; align-content: space-between; align-items: start;
    border-bottom: 0; border-right: 1px solid var(--line);
    padding: 1.75rem;
  }
  .fcard__day { grid-row: auto; font-size: 6.5rem; }
  .fcard__body { padding: 1.75rem 2rem 2rem; }
  .fcard__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  .fcard { grid-template-columns: 300px 1fr; }
  .fcard__day { font-size: 8rem; }
  .floors { grid-template-columns: 1.6fr 1fr; gap: 2rem; }
  .floors--single { grid-template-columns: 1fr; }
  .floor__artists { font-size: 1.6rem; }
}

/* ---------- Archive ---------- */
.archive__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.archive__title { font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.year { border-top: 1px solid var(--line-2); }
.year[hidden] { display: none; }
.year__label {
  font-size: 2.6rem; font-weight: 800; font-stretch: 62%; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--dim);
  padding: 1rem 0 .25rem;
}
.row {
  display: grid;
  grid-template-columns: 3.6rem 1fr auto;
  gap: .25rem 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s, padding .3s var(--ease);
}
.row[hidden] { display: none; }
.row:last-child { border-bottom: 0; }
.row__date { font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.row__main { min-width: 0; }
.row__title { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .2rem; }
.row__artists { display: block; font-size: 1.15rem; font-weight: 700; font-stretch: 85%; line-height: 1.25; overflow-wrap: anywhere; }
.row__artists .lbl { font-size: .7em; font-weight: 400; color: var(--muted); font-family: var(--mono); margin-left: .25em; }
.sep { font-style: normal; color: var(--dim); font-weight: 400; margin: 0 .35em; }
.row__sub { display: block; margin-top: .25rem; font-size: .85rem; color: var(--muted); }
.row__venue { display: none; }
.row__arrow { color: var(--dim); transition: color .2s, transform .3s var(--ease); font-size: 1.1rem; }
.row:hover .row__arrow { color: var(--accent); transform: translate(2px, -2px); }
.row:hover .row__artists { color: var(--text); }
.archive__more { margin-top: 2rem; width: 100%; }
.archive__more[hidden] { display: none; }

@media (min-width: 720px) {
  .year { display: grid; grid-template-columns: 9rem 1fr; }
  .year__label { font-size: 4rem; padding: 1.25rem 0; position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; }
  .row { grid-template-columns: 4.5rem 1fr 9rem 1.5rem; padding: 1.25rem .5rem; }
  .row:hover { background: var(--bg-2); }
  .row__venue { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .row__sub .v { display: none; }
  .row__sub[data-empty] { display: none; }
  .row__artists { font-size: 1.35rem; }
  .archive__more { width: auto; }
}

/* ---------- Podcast rail ---------- */
.rail {
  --pad: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 280px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  padding: .25rem var(--pad) 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--dim) transparent;
  overscroll-behavior-x: contain;
}
.rail:focus-visible { outline-offset: -2px; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--dim); }
.ep {
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  min-height: 300px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color .25s, transform .35s var(--ease);
}
.ep:hover { border-color: var(--accent); transform: translateY(-4px); }
.ep__top { display: flex; justify-content: space-between; align-items: start; }
.ep__no { font-size: 4.5rem; font-weight: 800; font-stretch: 62%; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: color .25s, -webkit-text-stroke-color .25s; }
.ep:hover .ep__no { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.ep__play {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-2);
  transition: background-color .25s, border-color .25s;
}
.ep__play svg { width: 12px; height: 12px; margin-left: 2px; fill: currentColor; }
.ep:hover .ep__play { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ep__wave { display: flex; align-items: center; gap: 2px; height: 48px; }
.ep__wave i { flex: 1; background: var(--dim); border-radius: 1px; transition: background-color .25s; }
.ep:hover .ep__wave i { background: var(--text); }
.ep__series { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.ep__artist { font-size: 1.35rem; font-weight: 800; font-stretch: 80%; line-height: 1.1; text-transform: uppercase; }
.ep__title { color: var(--muted); font-size: .92rem; margin-top: .3rem; }

/* ---------- About ---------- */
.about__body { display: grid; gap: 1.25rem; max-width: 760px; color: var(--muted); font-size: 1.05rem; }
.about__big { font-size: clamp(1.35rem, 4.6vw, 2rem); line-height: 1.3; color: var(--text); font-weight: 500; letter-spacing: -.005em; }

.facts {
  margin-top: 3.5rem;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-2);
}
.facts > div { padding: 1.25rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--line); }
.facts > div:nth-child(even) { padding-left: 1rem; }
.facts dt { font-size: clamp(2.8rem, 12vw, 5rem); font-weight: 800; font-stretch: 62%; line-height: .9; }
.facts > div:last-child dt { color: var(--accent); }
.facts dd { margin-top: .4rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts > div, .facts > div:nth-child(odd), .facts > div:nth-child(even) { padding: 1.5rem 1.5rem 1.75rem; border-right: 1px solid var(--line); border-bottom: 0; }
  .facts > div:first-child { padding-left: 0; }
  .facts > div:last-child { border-right: 0; }
}

.venues { margin-top: 3.5rem; display: grid; gap: 1rem; }
@media (min-width: 720px) { .venues { grid-template-columns: 1fr 1fr; } }
.venue {
  display: grid; gap: .9rem; align-content: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.venue__tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.venue__name { font-size: 2.4rem; font-weight: 800; font-stretch: 68%; line-height: .95; text-transform: uppercase; }
.venue__name span { font-size: .45em; font-weight: 500; font-stretch: 100%; color: var(--muted); letter-spacing: .02em; margin-left: .3em; vertical-align: middle; }
.venue__text { color: var(--muted); }
.venue address { font-family: var(--mono); font-size: .85rem; line-height: 1.6; }
.venue .link { justify-self: start; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--accent); color: var(--accent-ink);
  padding: 5rem 0 5.5rem;
}
.cta__inner { position: relative; }
.cta .section__num { color: rgba(10,10,11,.7); }
.cta .section__num::before { background: var(--accent-ink); }
.cta__title {
  font-size: clamp(3rem, 15vw, 9rem);
  font-weight: 800; font-stretch: 62%; line-height: .86; text-transform: uppercase; letter-spacing: -.02em;
  max-width: 11ch;
}
.cta__text { margin-top: 1.25rem; font-size: 1.1rem; max-width: 40ch; font-weight: 500; }
.cta__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.cta__emblem {
  position: absolute; right: -28%; top: 50%; width: 80%; max-width: 640px; transform: translateY(-50%);
  filter: brightness(0); opacity: .1; pointer-events: none;
  animation: spin-c 120s linear infinite;
}
@keyframes spin-c { to { transform: translateY(-50%) rotate(-360deg); } }
@media (min-width: 1024px) {
  .cta { padding: 8rem 0; }
  .cta__emblem { right: -6%; width: 46%; }
}

/* ---------- Footer ---------- */
.footer { padding: 4rem 0 calc(2rem + env(safe-area-inset-bottom)); }
.footer__logo { width: 100%; height: auto; opacity: .95; }
.footer__cols { margin-top: 3rem; display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.footer__cols > div:first-child { grid-column: 1 / -1; }
.footer__cols h3 { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.footer__cols a { display: block; padding: .3rem 0; width: fit-content; transition: color .2s; }
.footer__cols a:hover { color: var(--accent); }
.footer__cols > div:first-child a { font-size: clamp(1.25rem, 5vw, 1.75rem); font-weight: 600; word-break: break-all; }
.footer__base {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim);
}
@media (min-width: 900px) {
  .footer__cols { grid-template-columns: 2fr 1fr 1fr; }
  .footer__cols > div:first-child { grid-column: auto; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .pulse { display: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group + .marquee__group { display: none; }
  .marquee__group { flex-wrap: wrap; padding-inline: var(--gutter); row-gap: .5rem; }
  .js .reveal { opacity: 1; transform: none; }
}
