/* Higher Powers — single page
   Palette: #0D0D0D / #F2EFE9 / rust chrome #B83A2D
   Text rust on dark: #E85C4A (5.61:1). Text rust on paper: #A83228 (5.08:1).
   Type: Anton (masthead, headings), IBM Plex Mono (dates, credits, metadata),
         Source Serif 4 (longer prose). Latin subsets, self-hosted.
*/

@font-face {
  font-family: "Anton Fallback";
  src: local("Arial Black"), local("Impact"), local("Arial");
  size-adjust: 118%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Plex Mono Fallback";
  src: local("ui-monospace"), local("Cascadia Mono"), local("Menlo"), local("Consolas"), local("Courier New");
  size-adjust: 90%;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Anton";
  src: url("assets/fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0D0D0D;
  --fg: #F2EFE9;
  --rust: #B83A2D;
  --rust-text: #E85C4A; /* 5.61:1 on #0D0D0D, AA for body-size text */
  --rust-ink: #A83228;  /* 5.08:1 on paper #E8E0D0 */
  --steel: #8C8C8C;
  --paper: #E8E0D0;
  --ink: #161412;
  --line: rgba(242, 239, 233, 0.12);
  --header-h: 3.5rem;
  --font-display: "Anton", "Anton Fallback", "Arial Black", Impact, sans-serif;
  --font-mono: "IBM Plex Mono", "Plex Mono Fallback", ui-monospace, "Cascadia Mono", monospace;
  --font-text: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
  --gutter: clamp(1rem, 4vw, 2.75rem);
  /* Breakpoints (media queries cannot use custom properties — keep in sync):
     --bp-sm: 480px;
     --bp-md: 720px;
     --bp-lg: 900px; */
  --tap: 2.75rem; /* 44px */
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: break-word;
}

a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

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

:focus {
  outline: none;
}

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

/* Keep keyboard focus visible over photography and sleeve art. */
.hero :focus-visible,
.releases a:focus-visible,
.merch__products a:focus-visible,
.merch__shop a:focus-visible,
.epk__press a:focus-visible,
.catalog-links a:focus-visible,
.hero__listen a:focus-visible,
.preview-player__error a:focus-visible {
  outline: 2px solid var(--rust-text);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--bg);
  background-color: rgba(13, 13, 13, 0.92);
  color: var(--fg);
}

.preview-player__play:focus-visible {
  outline: 2px solid var(--rust-text);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--bg);
}

.visually-hidden {
  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: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  min-height: var(--tap);
  padding: 0.65rem 1rem;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--bg);
  outline-color: var(--bg);
}

/* Static film grain — below player controls and the sticky header. */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("assets/grain.png");
  background-repeat: repeat;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  min-height: var(--header-h);
  max-width: 100%;
  padding: 0 var(--gutter);
  background: rgba(13, 13, 13, 0.96);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  line-height: 1;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - var(--tap) - 0.5rem);
  overflow-wrap: anywhere;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}

.wordmark:hover {
  color: var(--fg);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: var(--tap);
  height: var(--tap);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: relative;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 4px; }

body.nav-open .nav-toggle__bars { background: transparent; }
body.nav-open .nav-toggle__bars::before {
  top: 0;
  transform: translateY(0) rotate(45deg);
}
body.nav-open .nav-toggle__bars::after {
  top: -2px;
  transform: translateY(0) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links,
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.footer__links a,
.footer__legal a,
.live-empty a,
.epk a,
.catalog-links a,
.merch__shop a,
.hero__listen a,
.about-copy a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}

.nav-links a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--rust-text);
}

.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  color: var(--fg);
}

.nav-social a:hover {
  color: var(--rust-text);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - var(--header-h));
  padding: 1.5rem var(--gutter) 1.5rem;
  overflow: hidden;
}

.hero__media,
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media picture,
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__vignette {
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.72) 0%, rgba(13, 13, 13, 0.38) 44%, rgba(13, 13, 13, 0.08) 100%),
    linear-gradient(to top, rgba(13, 13, 13, 0.80), transparent 60%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

/* Desktop: stacked masthead. Mobile compactness is width-based, not height-based. */
.hero__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.25rem, 10vw, 7.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.86;
}

.hero__title span {
  display: block;
}

.now-playing {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 32rem;
  margin: 0 0 0.5rem;
}

.featured {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
  margin: 0 0 0.4rem;
  padding: 0.3rem 0.6rem 0.3rem 0.3rem;
  background: rgba(13, 13, 13, 0.78);
}

.featured__art {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: cover;
  flex: 0 0 auto;
  background: #111;
}

.featured__copy {
  min-width: 0;
}

.featured__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
}

.featured__title {
  margin: 0.1rem 0 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
  color: var(--fg);
}

.preview-player {
  --seek-pct: 0%;
  display: grid;
  grid-template-columns: var(--tap) minmax(0, 1fr);
  column-gap: 0.7rem;
  row-gap: 0.35rem;
  align-items: center;
  width: 100%;
  margin: 0 0 0.35rem;
  padding: 0.4rem 0.7rem 0.4rem 0.4rem;
  background: rgba(13, 13, 13, 0.86);
  border: 1px solid var(--line);
}

.preview-player__play {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  margin: 0;
  padding: 0;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  cursor: pointer;
}

.preview-player__play:hover,
.preview-player__play[aria-pressed="true"] {
  background: var(--rust-text);
  border-color: var(--rust-text);
  color: var(--bg);
}

.preview-player__icon {
  display: block;
}

.preview-player__icon--pause,
.preview-player__icon[hidden],
.preview-player__play[aria-pressed="true"] .preview-player__icon--play {
  display: none;
}

.preview-player__play[aria-pressed="true"] .preview-player__icon--pause {
  display: block;
}

.preview-player__body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.preview-player__name {
  margin: 0;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--fg);
}

.preview-player__time {
  margin: 0;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  white-space: nowrap;
}

.preview-player__seek-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--tap);
  margin-top: 0.05rem;
}

.preview-player__seek {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: var(--tap);
  margin: 0;
  padding: 0;
  border: 0;
  background:
    linear-gradient(var(--rust-text), var(--rust-text)) no-repeat left center / var(--seek-pct, 0%) 4px,
    linear-gradient(rgba(242, 239, 233, 0.22), rgba(242, 239, 233, 0.22)) no-repeat left center / 100% 4px;
  cursor: pointer;
}

.preview-player__seek::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border: 0;
}

.preview-player__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 0;
  border-radius: 0;
  background: var(--fg);
}

.preview-player__seek::-moz-range-track {
  height: 4px;
  background: rgba(242, 239, 233, 0.22);
  border: 0;
}

.preview-player__seek::-moz-range-progress {
  height: 4px;
  background: var(--rust-text);
  border: 0;
}

.preview-player__seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 0;
  background: var(--fg);
}

.preview-player__seek:focus-visible {
  outline: none;
}

.preview-player__seek:focus-visible::-webkit-slider-thumb,
.preview-player__seek:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--rust-text);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--bg);
}

.preview-player__error {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--fg);
}

.preview-player__error[hidden] {
  display: none;
}

.hero__listen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  margin: 0.15rem 0 0;
}

.hero__listen a {
  color: var(--fg);
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.hero__subhead {
  margin: 0;
  max-width: 44rem;
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.45;
  color: var(--fg);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

@media (min-width: 1024px) {
  .now-playing {
    max-width: 36rem; /* 576px — slightly wider primary action on desktop */
  }
}

/* Mobile: compact one-line masthead (width-based, not height-based).
   Shorten the hero so "Selected singles" peeks under the copy. */
@media (max-width: 720px) {
  .hero {
    align-items: flex-end;
    min-height: calc(100svh - var(--header-h) - 5.75rem);
    padding: 0.75rem var(--gutter) 0.85rem;
  }

  .hero__title {
    display: block;
    font-size: clamp(2rem, 9.5vw, 3.2rem);
    line-height: 1.05;
    margin-bottom: 0.3rem;
  }

  .hero__title span {
    display: inline;
  }

  .hero__image {
    object-position: center 20%;
  }

  .hero__subhead {
    font-size: 0.85rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  }

  .featured {
    margin-bottom: 0.3rem;
  }

  .featured__art {
    width: 2.75rem;
    height: 2.75rem;
  }

  .hero__listen {
    column-gap: 1.25rem;
    row-gap: 0.5rem;
    margin: 0.15rem 0 0;
  }

  .hero__listen a {
    font-size: 0.8rem;
  }

  .section.section--listen {
    padding-top: 1.75rem;
  }
}

/* Sections */
.section {
  padding: 3.5rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  min-width: 0;
}

.section__head {
  margin-bottom: 1.5rem;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.55rem); /* medium — About, Press */
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}

.section--listen .section__title {
  font-size: clamp(1.9rem, 4.4vw, 2.75rem); /* primary section */
}

.section--live .section__title,
.footer__title {
  font-size: clamp(1.2rem, 2.6vw, 1.65rem); /* utility */
}

.releases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 0.9rem;
}

.releases > * {
  min-width: 0;
}

.releases a {
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.releases picture,
.releases img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
}

.releases figcaption {
  margin-top: 0.55rem;
  min-width: 0;
}

.releases__title {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.releases a:hover .releases__title {
  color: var(--rust-text);
}

.releases__meta {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel);
}

@media (min-width: 721px) {
  .releases {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem 1.25rem;
  }

  .releases__meta {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
}

.catalog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 1.75rem 0 0;
}

.catalog-links a {
  color: var(--fg);
  font-size: 0.9rem;
  flex: 0 0 auto;
  overflow-wrap: normal;
}


/* Merch is hidden until MERCH.shopUrl is a valid https:// URL and at least two complete products are set in script.js. */
.section--merch[hidden] {
  display: none;
}

.merch__products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 0.9rem;
  max-width: 32rem;
}

.merch__products > * {
  min-width: 0;
}

.merch__products a {
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.merch__products img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
}

.merch__products figcaption {
  margin-top: 0.55rem;
  min-width: 0;
}

.merch__name {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.merch__products a:hover .merch__name {
  color: var(--rust-text);
}

.merch__shop {
  margin: 1.25rem 0 0;
}

.merch__shop a {
  color: var(--fg);
  font-size: 0.9rem;
}

@media (min-width: 721px) {
  .merch__products {
    gap: 1.6rem 1.25rem;
  }
}

/* About + liner notes */
.about-copy {
  font-family: var(--font-text);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 60ch;
  text-align: left;
}

.about-copy p {
  margin: 0 0 1em;
}

.section--about .section__title::before,
.epk__main .section__title::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  background: var(--rust);
  margin-bottom: 0.7rem;
}

.about-pull {
  margin: 0 0 1.25rem;
  padding: 0 0 0 0.9rem;
  border-left: 2px solid var(--rust);
  max-width: 38ch;
}

.about-pull p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.45;
}

.liner {
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
  padding-top: 0.35rem;
}

.liner summary {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  min-height: var(--tap);
  display: flex;
  align-items: center;
  list-style: none;
}

.liner summary::-webkit-details-marker {
  display: none;
}

.liner summary::after {
  content: "+";
  margin-left: 0.75rem;
  color: var(--steel);
}

.liner[open] summary::after {
  content: "–";
}

.liner__body {
  font-family: var(--font-text);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 60ch;
  text-align: left;
  margin-top: 0.75rem;
}

.liner__body p {
  margin: 0 0 1em;
}

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

/* EPK — same outer width as the singles grid (.section max-width). */
.epk {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 3rem;
  align-items: start;
}

.epk__main .section__title {
  margin-bottom: 1.1rem;
}

.epk__bio {
  font-family: var(--font-text);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 60ch;
  margin: 0 0 1.15rem;
}

.epk__bio p {
  margin: 0;
}

.epk__email {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.epk__copy {
  margin: 0 0 1.35rem;
}

.epk__copy .btn {
  min-height: var(--tap);
}

.epk__copy-status {
  margin: 0.4rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg);
}

.epk__copy-status[data-state="ok"] {
  color: var(--fg);
}

.epk__press {
  margin: 0;
  max-width: 22rem;
}

.epk__press img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
}

.epk__press p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.epk__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.epk__list li + li {
  margin-top: 0.15rem;
}

@media (min-width: 721px) {
  .epk {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 22rem);
  }
}

/* Shows */
.live-panel__head {
  margin-bottom: 1.25rem;
}

.live-empty {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.table-wrap {
  overflow-x: auto;
}

.dates {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.dates th,
.dates td {
  text-align: left;
  padding: 0.85rem 0.75rem 0.85rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.dates th {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--steel);
}

.dates a {
  color: var(--fg);
}

@media (max-width: 720px) {
  .dates thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .dates tr {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .dates td {
    display: block;
    padding: 0.15rem 0;
    border: 0;
  }

  .dates td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--steel);
    margin-bottom: 0.1rem;
  }
}

/* Footer */
.site-footer {
  padding: 3rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: 0 auto;
}

.footer__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer__lede {
  margin: 0 0 1rem;
  font-family: var(--font-text);
  max-width: 40ch;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  min-width: 0;
  max-width: 100%;
}

.footer__links li,
.footer__links a,
.epk a,
.legal-note a {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer__legal-mark,
.footer__legal {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer__legal {
  display: flex;
  gap: 1rem;
}

.legal-note {
  display: none;
  margin-top: 1.5rem;
  max-width: 60ch;
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
}

.legal-note:target {
  display: block;
}

.legal-note h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.legal-note p {
  margin: 0 0 0.75rem;
}

/* Mailing list styles kept so the commented form can be restored as-is. */
.subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 28rem;
}

.subscribe input {
  flex: 1 1 12rem;
  min-height: var(--tap);
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 1rem;
}

.subscribe input:focus-visible {
  outline: 2px solid var(--rust-text);
  outline-offset: 2px;
}

.subscribe input[aria-invalid="true"] {
  border-color: var(--rust-text);
}

.subscribe__status {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
}

.subscribe__status[data-state="err"] {
  color: var(--rust-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0 1.15rem;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn--solid {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.btn--solid:hover {
  background: var(--rust-text);
  border-color: var(--rust-text);
  color: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after,
  .preview-player__seek {
    transition: none;
  }
}

/* Mobile navigation (disclosure, not a modal) */
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 250;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.75rem var(--gutter) 1rem;
    background: rgba(13, 13, 13, 0.98);
    border-bottom: 1px solid var(--line);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-0.35rem);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0s linear 180ms;
  }

  body.nav-open .site-nav {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: none;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0s linear 0s;
  }

  .nav-links,
  .nav-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-links a {
    font-size: 1.15rem;
    width: 100%;
  }

  .nav-social {
    flex-direction: row;
    gap: 0.25rem;
    padding-top: 0.5rem;
  }
}

@media (min-width: 721px) {
  body.nav-open {
    overflow: visible;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: none;
    background: transparent;
    padding: 0;
  }
}
