/* ==========================================================================
   KAMIKAZE — CORE
   Concept: the whole site is one building. Every page is a different room,
   lit by a single hard source. Light = --k-light, shadow bounce = --k-shadow.
   ========================================================================== */

/* --- Reset ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

/* --- Store shutdown ------------------------------------------------------ */

.store-closed {
  position: relative;
  min-height: calc(100svh - 68px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 26%, color-mix(in srgb, var(--k-shadow) 22%, transparent), transparent 30rem),
    linear-gradient(135deg, var(--k-void) 0%, var(--k-surface) 100%);
}

.store-closed__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .14;
  background-image: radial-gradient(circle at 20% 30%, var(--k-light) 0 1px, transparent 1px);
  background-size: 9px 9px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.store-closed__rule {
  position: absolute;
  top: 12%;
  right: -8rem;
  width: min(62vw, 54rem);
  height: min(62vw, 54rem);
  border: 1px solid color-mix(in srgb, var(--k-light) 18%, transparent);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}

.store-closed__content {
  width: min(100% - (var(--gutter) * 2), 48rem);
  margin-block: var(--space-4xl);
  position: relative;
}

.store-closed .h-display { max-width: 10ch; }
.store-closed__lede {
  max-width: 34ch;
  margin-top: var(--space-l);
  color: var(--color-text-muted);
  font-size: var(--step-1);
}
.store-closed__cta { margin-top: var(--space-xl); }
.store-closed__note {
  position: absolute;
  left: var(--gutter);
  bottom: var(--space-l);
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.home .site-nav,
.home .site-header__actions,
.home .site-footer__sky,
.home .site-footer .footer-cta,
.home .site-footer__grid,
.home .site-footer__colophon { display: none; }
.home .site-footer { padding-block: var(--space-m); }

@media (max-width: 640px) {
  .store-closed { min-height: calc(100svh - 60px); place-items: start center; }
  .store-closed__content { margin-top: 22svh; }
  .store-closed__rule { top: 22%; right: -18rem; width: 36rem; height: 36rem; }
}

/* --- Accessibility -------------------------------------------------------- */

/* One visible focus treatment everywhere. Never removed, only restyled. */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  top: 0; left: 0;
  z-index: var(--z-toast);
  padding: var(--space-xs) var(--space-m);
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --- Layout --------------------------------------------------------------- */

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.container--wide { width: min(100% - (var(--gutter) * 2), var(--container-wide)); }
.container--text { width: min(100% - (var(--gutter) * 2), var(--container-text)); }

.section { padding-block: var(--section-y); position: relative; }

/* --- Type ----------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-s);
}

.h-display,
.h-section {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--color-text);
}
.h-display { font-size: var(--step-6); }
.h-section { font-size: var(--step-4); }
.h-card    {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lede {
  font-size: var(--step-1);
  color: var(--color-text-muted);
  max-width: 46ch;
  text-wrap: pretty;
}

.prose { max-width: 68ch; color: var(--color-text-muted); }
.prose p + p { margin-top: var(--space-s); }

/* Paint-drip divider — the tan drips off the album wordmark, abstracted. */
.drip {
  height: 14px;
  border: 0;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0, var(--k-light) 0 3px, transparent 3.5px) 0 0 / 60px 14px repeat-x,
    radial-gradient(circle at 32% 0, var(--k-light) 0 2px, transparent 2.5px) 0 0 / 37px 10px repeat-x,
    linear-gradient(var(--k-light) 0 0) 0 0 / 100% 1px no-repeat;
  opacity: 0.35;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  --btn-bg: var(--color-accent);
  --btn-fg: var(--color-on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  min-height: 48px;               /* ≥44px touch target with room to spare */
  padding: var(--space-xs) var(--space-l);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.btn:hover { box-shadow: var(--glow-accent); }
/* Scale only — never changes layout bounds, so nothing around it jitters. */
.btn:active { transform: scale(0.98); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn--ghost:hover {
  --btn-fg: var(--color-on-accent);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--k-void) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  width: min(100% - (var(--gutter) * 2), var(--container-wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--space-m);
  min-height: 68px;
}

.wordmark { text-decoration: none; color: var(--color-text); margin-right: auto; }
.wordmark__text {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--k-light);
}
.wordmark__text--lg { font-size: var(--step-4); }

.site-nav__list { display: flex; gap: var(--space-m); align-items: center; }
.site-nav__list a {
  display: block;
  padding: var(--space-2xs) 0;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: color var(--dur-fast) var(--ease-out);
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.site-nav__list a:hover { color: var(--color-text); }
.site-nav__list a:hover::after { transform: scaleX(1); }

/* Current page is marked by colour AND a persistent rule — never colour alone. */
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a { color: var(--k-light); }
.site-nav__list .current-menu-item > a::after,
.site-nav__list .current_page_item > a::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: var(--space-2xs); }

.cart-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.cart-link:hover { color: var(--color-accent); }

.cart-badge {
  position: absolute;
  top: 6px; right: 4px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  background: var(--color-accent);
  color: var(--color-on-accent);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.cart-badge.is-filled { opacity: 1; transform: scale(1); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  place-items: center;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

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

.hero {
  position: relative;
  min-height: min(92svh, 900px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scrim: darkens the lower half so the headline always clears 4.5:1,
   regardless of which video frame is showing behind it. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--k-void) 4%, color-mix(in srgb, var(--k-void) 55%, transparent) 42%, transparent 78%),
    radial-gradient(120% 90% at 50% 20%, transparent 40%, color-mix(in srgb, var(--k-void) 78%, transparent) 100%);
}

.hero__inner {
  width: min(100% - (var(--gutter) * 2), var(--container-wide));
  margin-inline: auto;
  padding-block: var(--space-3xl) var(--space-2xl);
}

.hero__title { max-width: 16ch; }

.hero__lede {
  margin-top: var(--space-m);
  font-size: var(--step-1);
  color: var(--k-light);
  max-width: 42ch;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  margin-top: var(--space-xl);
}

/* --- Room sections -------------------------------------------------------- */
/* A full-bleed plate of one of the generated rooms, with content over it. */

.room {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-y);
  overflow: hidden;
}
.room__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.room__bg img { width: 100%; height: 100%; object-fit: cover; }
.room__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--k-void) 0%,
    color-mix(in srgb, var(--k-void) 88%, transparent) 38%,
    color-mix(in srgb, var(--k-void) 30%, transparent) 100%
  );
}
.room--right .room__bg::after { transform: scaleX(-1); }

/* --- Global film grain ---------------------------------------------------- */
/* One dust plate over everything at low opacity so AI plates, real photos and
   flat UI all sit on the same film stock. Screen blend drops the black. */

.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.07;
  background-size: cover;
  background-position: center;
}

/* --- Cards ---------------------------------------------------------------- */

.card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    border-color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.card:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface-raised);
}

.grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

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

.site-footer {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-2xl) var(--space-l);
  margin-top: var(--space-2xl);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-s);
}

.site-footer__list li + li,
.social-list li + li { margin-top: var(--space-2xs); }

.site-footer__list a,
.social-list a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-height: 44px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.site-footer__list a:hover,
.social-list a:hover { color: var(--color-accent); }

.site-footer__tag { color: var(--color-text-muted); margin-top: var(--space-2xs); }

.site-footer__legal {
  margin-top: var(--space-xl);
  padding-top: var(--space-m);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-s);
  color: var(--color-text-muted);
  font-size: var(--step--1);
}
.site-footer__colophon { opacity: 0.7; }

/* --- Scroll reveal -------------------------------------------------------- */
/* Elements start hidden ONLY when JS is present to reveal them, so a JS
   failure leaves content visible rather than permanently invisible. */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 60rem) {
  .nav-toggle { display: grid; }

  .site-nav {
    position: fixed;
    inset: 68px 0 0 0;
    height: calc(100dvh - 68px);
    z-index: var(--z-sticky);
    background: var(--k-void);
    padding: var(--space-xl) var(--gutter);
    transform: translateX(100%);
    visibility: hidden;
    /* Visibility is stepped, not interpolated: it flips to visible instantly on
       open, and is held until after the panel has slid away on close. Putting
       it inside the transition instead would make the menu's appearance depend
       on the transition actually running — which it may not in a throttled or
       background tab, leaving the panel permanently invisible. */
    transition:
      transform var(--dur-base) var(--ease-out),
      visibility 0s linear var(--dur-base);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition:
      transform var(--dur-base) var(--ease-out),
      visibility 0s linear 0s;
  }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a {
    padding: var(--space-s) 0;
    font-size: var(--step-2);
    border-bottom: 1px solid var(--color-border);
  }
  .site-nav__list a::after { display: none; }

  .hero { min-height: 88svh; }
  .room__bg::after {
    background: linear-gradient(
      to top,
      var(--k-void) 12%,
      color-mix(in srgb, var(--k-void) 82%, transparent) 55%,
      color-mix(in srgb, var(--k-void) 45%, transparent) 100%
    );
  }
  .room--right .room__bg::after { transform: none; }
}

/* Lock body scroll behind the mobile nav overlay. */
body.nav-open { overflow: hidden; }

/* --- Reduced motion ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Reveal animations resolve immediately rather than never running. */
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   GARMENT MOCKUPS
   Blank AI plate + live-type print. Sized in container query units so the
   print scales with the card rather than the viewport — a product card and a
   full-width hero mockup then use the identical markup.
   ========================================================================== */

.mockup {
  container-type: inline-size;
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  /* Explicit isolation gives the skyline's screen blend a well-defined
     backdrop. Without it some compositors drop the garment plate entirely. */
  isolation: isolate;
}

.mockup__blank { width: 100%; height: auto; }

.print {
  --print-scale: 1;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--k-light);
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.25;
  /* No blend mode here. The type is already glyphs on transparency, so it has
     no black ground to knock out — and blending the whole container suppressed
     the garment plate underneath it. Only the skyline image, which really does
     carry a black ground, is blended. */
  opacity: 0.94;
  text-shadow: 0 0 2cqw rgb(0 0 0 / 0.35);
}

/* Left-chest block, matching the supplied concept.
   Placement measured off the plates: the garment body spans roughly 21%–78%
   of the frame width and its shoulder line sits at ~23% height, so the block
   is inset to 46%–70% to stay clear of the sleeve edge. */
.print--front {
  --print-scale: 1;
  top: 33%;
  left: 46%;
  width: 24%;
  gap: 0.5cqw;
}

/* Full back panel. Top edge sits below the shoulder seam, and the width is
   held inside the panel so the print never bleeds over a sleeve. */
.print--back {
  --print-scale: 1;
  top: 31%;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  gap: 0.6cqw;
}

/* Hoodie geometry, measured off the plate: hood bottom ~30%, drawstrings down
   the centre to ~47%, kangaroo pocket at 59%, hem at 78%. The back panel is
   therefore a shorter canvas than the tee's, so the block is scaled down to
   sit entirely between hood and hem, and the chest block is pushed right of
   the drawstrings. */
.mockup--hoodie .print--back {
  --print-scale: 0.78;
  top: 36%;
  width: 44%;
}
.mockup--hoodie .print--front {
  --print-scale: 0.9;
  top: 34%;
  left: 54%;
  width: 22%;
}

.print__wordmark {
  font-weight: 900;
  font-size: calc(4.4cqw * var(--print-scale));
  letter-spacing: 0.04em;
}
.print__wordmark--xl { font-size: calc(9cqw * var(--print-scale)); line-height: 1; }

.print__skyline {
  width: 100%;
  height: auto;
  /* Capped so the engraving cannot dominate the block and push the lower
     lines past the garment hem. */
  max-height: calc(34cqw * var(--print-scale));
  object-fit: contain;
  margin-block: calc(0.8cqw * var(--print-scale));
  /* No blend mode: the asset has a real alpha channel. */
}

.print__line--title    { font-size: calc(2.6cqw * var(--print-scale)); font-weight: 700; letter-spacing: 0.12em; }
.print__line--sub      { font-size: calc(1.7cqw * var(--print-scale)); font-weight: 400; letter-spacing: 0.34em; }
.print__line--date     { font-size: calc(1.9cqw * var(--print-scale)); font-weight: 600; letter-spacing: 0.1em; }
.print__line--venue    { font-size: calc(2.1cqw * var(--print-scale)); font-weight: 700; letter-spacing: 0.1em; color: #C4553F; }
.print__line--venue-xl { font-size: calc(5cqw * var(--print-scale)); font-weight: 900; letter-spacing: 0.05em; }
.print__line--tag      { font-size: calc(2.3cqw * var(--print-scale)); font-weight: 600; letter-spacing: 0.08em; }
.print__line--tag-sm   { font-size: calc(1.9cqw * var(--print-scale)); font-weight: 400; letter-spacing: 0.08em; }

.print__stars   { font-size: calc(1.9cqw * var(--print-scale)); color: #C4553F; letter-spacing: 0.2em; }
.print--back .print__stars { font-size: calc(1.9cqw * var(--print-scale)); }

.print__rule {
  display: block;
  width: 76%;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  margin-block: 0.6cqw;
}

/* Container queries are near-universal now, but where they are missing the
   cqw sizes collapse. Fall back to a plain blank garment rather than a broken
   print — the product photography still reads correctly. */
@supports not (container-type: inline-size) {
  .print { display: none; }
}

/* --- Front page components ------------------------------------------------ */

.section__head { margin-bottom: var(--space-xl); }
.section--cta { background: var(--color-surface); border-block: 1px solid var(--color-border); }

.grid--merch { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.grid--media { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin-top: var(--space-xl); }

.product-teaser { display: flex; flex-direction: column; }
.product-teaser__body,
.media-card__body { padding: var(--space-s) var(--space-m) var(--space-m); }
.product-teaser__meta { color: var(--color-text-muted); font-size: var(--step--1); margin-top: var(--space-3xs); }

.price { color: var(--k-light); font-variant-numeric: tabular-nums; font-weight: 600; }

/* Whole-card hit area without nesting interactive elements. */
.stretched-link::after { content: ""; position: absolute; inset: 0; }

.media-card img { width: 100%; height: auto; }

.room__content { max-width: 46ch; }
.room--right .room__content { margin-left: auto; text-align: right; }
.room--right .room__content .lede { margin-left: auto; }
.room__cta { margin-top: var(--space-l); }

@media (max-width: 60rem) {
  .room--right .room__content { margin-left: 0; text-align: left; }
  .room--right .room__content .lede { margin-left: 0; }
}

/* --- Section furniture ---------------------------------------------------- */

.section__foot { margin-top: var(--space-xl); }
.section__note { margin-top: var(--space-l); color: var(--color-text-muted); font-size: var(--step--1); }

/* --- Release list (Music) ------------------------------------------------- */

.release-list { counter-reset: none; }
.release {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  align-items: baseline;
  gap: var(--space-s);
  padding: var(--space-m) 0;
  border-bottom: 1px solid var(--color-border);
}
.release__year {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-variant-numeric: tabular-nums;
  color: var(--color-text-muted);
}
.release__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.release__note { color: var(--color-text-muted); font-size: var(--step--1); }
.release--featured .release__title { color: var(--k-light); }
.release--featured .release__year { color: var(--color-accent); }
.release__badge {
  grid-column: 2 / -1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
  margin-top: var(--space-2xs);
  color: var(--color-accent);
  font-size: var(--step--1);
}

@media (max-width: 40rem) {
  .release { grid-template-columns: 4rem 1fr; }
  .release__note { grid-column: 2; }
}

/* --- Date list (Tour) ----------------------------------------------------- */

.date-row {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: center;
  gap: var(--space-m);
  padding: var(--space-m) 0;
  border-bottom: 1px solid var(--color-border);
}
.date-row__when { display: grid; text-align: center; line-height: 1.1; }
.date-row__month {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.date-row__day {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.date-row__year { font-size: var(--step--1); color: var(--color-text-muted); font-variant-numeric: tabular-nums; }

.date-row__city {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.date-row__venue { color: var(--color-text-muted); }
.date-row__note { color: var(--color-accent); font-size: var(--step--1); }

.date-row__action { display: flex; align-items: center; gap: var(--space-s); }

/* Status is carried by a word, never by colour alone. */
.ticket-state {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.ticket-state.is-low { color: var(--color-accent); }
.ticket-state.is-soldout {
  padding: var(--space-2xs) var(--space-s);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
}

@media (max-width: 48rem) {
  .date-row { grid-template-columns: 4.5rem 1fr; }
  .date-row__action { grid-column: 1 / -1; }
}

/* --- Video cards ---------------------------------------------------------- */

.grid--videos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

.video-card__link { display: block; color: inherit; text-decoration: none; }
.video-card__frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(80% 70% at 50% 50%, color-mix(in srgb, var(--k-shadow) 35%, transparent), transparent 70%),
    var(--color-surface-raised);
  border-bottom: 1px solid var(--color-border);
}
.video-card__play {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  color: var(--k-light);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.video-card:hover .video-card__play {
  background: var(--color-accent);
  color: var(--color-on-accent);
  transform: scale(1.06);
}
.video-card__body { display: grid; gap: var(--space-3xs); padding: var(--space-m); }
.video-card__meta { color: var(--color-text-muted); font-size: var(--step--1); }

/* --- Post cards ----------------------------------------------------------- */

.post-card__body { display: grid; gap: var(--space-2xs); padding: var(--space-m); }
.post-card__meta { color: var(--color-text-muted); font-size: var(--step--1); }
.post-card__body a { color: var(--color-text); text-decoration: none; }
.post-card__body a:hover { color: var(--color-accent); }

.pagination, .navigation.pagination { margin-top: var(--space-2xl); }
.page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px; min-height: 44px;
  padding: 0 var(--space-2xs);
  color: var(--color-text-muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
}
.page-numbers:hover { color: var(--color-text); border-color: var(--color-border); }
.page-numbers.current { color: var(--k-light); border-color: var(--color-accent); }
.nav-links { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }

/* --- Forms ---------------------------------------------------------------- */

.form { margin-top: var(--space-xl); display: grid; gap: var(--space-m); }
.form__row { display: grid; gap: var(--space-m); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.field { display: grid; gap: var(--space-3xs); }
.field label {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field .req { color: var(--color-danger); }

.field input,
.field select,
.field textarea {
  min-height: 48px;                 /* comfortable touch target */
  padding: var(--space-2xs) var(--space-s);
  background: var(--color-surface-raised);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;                  /* ≥16px: stops iOS zooming on focus */
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field textarea { min-height: 8rem; padding-top: var(--space-2xs); resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-accent); }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--color-danger); }

.field__help { color: var(--color-text-muted); font-size: var(--step--1); margin: 0; }
.field__error {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  color: var(--color-danger);
  font-size: var(--step--1);
  margin: 0;
}
/* A mark as well as colour, so the error is not colour-only. */
.field__error::before { content: "!"; font-weight: 800; }

.form__submit { justify-self: start; }

/* Honeypot: removed from view and from the a11y tree, never display:none —
   some bots skip hidden fields, and this one should look fillable. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --- Notices -------------------------------------------------------------- */

.notice {
  display: grid;
  gap: var(--space-2xs);
  padding: var(--space-m);
  margin-bottom: var(--space-l);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-left-width: 3px;
  border-radius: var(--radius-sm);
}
.notice--success { border-left-color: var(--color-success); }
.notice--error   { border-left-color: var(--color-danger); }
.notice ul { padding-left: var(--space-m); list-style: disc; }
.notice a { color: var(--color-accent); }

/* --- Page hero ------------------------------------------------------------ */

.page-hero {
  padding-block: var(--space-4xl) var(--space-3xl);
  min-height: min(62svh, 620px);
  display: grid;
  align-items: center;
}
.page-hero .room__content { max-width: 52ch; }

/* The section scrim is tuned for text over a backdrop. A page hero's plate is
   the page's main visual, so it gets a lighter, directional scrim: heavy behind
   the copy on the left, clearing toward the right so the scene stays readable. */
.page-hero .room__bg::after {
  background:
    linear-gradient(
      to right,
      var(--k-void) 0%,
      color-mix(in srgb, var(--k-void) 74%, transparent) 42%,
      color-mix(in srgb, var(--k-void) 18%, transparent) 100%
    ),
    linear-gradient(to bottom, color-mix(in srgb, var(--k-void) 60%, transparent) 0%, transparent 26%);
}

@media (max-width: 60rem) {
  .page-hero .room__bg::after {
    background: linear-gradient(
      to top,
      var(--k-void) 8%,
      color-mix(in srgb, var(--k-void) 68%, transparent) 58%,
      color-mix(in srgb, var(--k-void) 28%, transparent) 100%
    );
  }
}

/* --- Social & platform links ---------------------------------------------- */

.header-social { display: flex; align-items: center; gap: var(--space-3xs); }
.header-social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  color: var(--color-text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.header-social a:hover { color: var(--color-accent); }

/* Below the nav breakpoint these move into the overlay, where they get
   full-size targets and visible labels. */
@media (max-width: 60rem) {
  .header-social { display: none; }
}

/* Listen/Follow live inside the mobile overlay only. Above the nav breakpoint
   the header already carries the social row, so this would duplicate it. */
.site-nav__extra { display: none; }

@media (max-width: 60rem) {
  .site-nav__extra { display: block; }
}

.site-nav__extra {
  margin-top: var(--space-xl);
  padding-top: var(--space-l);
  border-top: 1px solid var(--color-border);
}
.site-nav__label {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: var(--space-m) 0 var(--space-2xs);
}
.site-nav__extra .social-list a { font-size: var(--step-0); }

.social-list--row { display: flex; flex-wrap: wrap; gap: var(--space-s) var(--space-m); }
.social-list--row li + li { margin-top: 0; }

.hero__social {
  display: flex;
  gap: var(--space-2xs);
  margin-top: var(--space-l);
}
.hero__social a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  color: var(--k-light);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.hero__social a:hover {
  color: var(--color-on-accent);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.section--listen { padding-bottom: 0; }
.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  margin-top: var(--space-l);
}

/* ==========================================================================
   HERO FEATURE MODULES
   Every sub-page hero carries something actionable rather than only setting
   mood — a featured release, the next show, a featured video, quick-buy.
   ========================================================================== */

.page-hero__grid { display: grid; gap: var(--space-2xl); align-items: center; }

@media (min-width: 60.0625rem) {
  .page-hero--split .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    gap: var(--space-3xl);
  }
}

.page-hero__feature { min-width: 0; }

.feature {
  background: color-mix(in srgb, var(--k-surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-m);
  box-shadow: var(--shadow-lg);
}

.feature__kicker {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2xs);
}

.feature__title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: var(--leading-tight);
  color: var(--k-light);
}

.feature__meta { color: var(--color-text-muted); font-size: var(--step--1); margin-top: var(--space-3xs); }

/* The feature card is a narrow column, so actions stack full width rather than
   sharing a row — side by side they wrapped mid-phrase ("SIGNED / CD"). Label
   left, price right reads as a deliberate price row. */
.feature__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2xs);
  margin-top: var(--space-m);
}
.feature__actions .btn {
  flex: none;
  justify-content: center;
  gap: var(--space-2xs);
  text-align: left;
}
/* Only buttons that carry a price split label-left / price-right; the rest
   keep their icon and label together in the centre. */
.feature__actions .btn:has(.feature__price) {
  justify-content: space-between;
  gap: var(--space-s);
}
/* Icon + label group left, price pushed right. */
.feature__actions .btn .icon { flex: none; }
.feature__price { opacity: 0.85; font-variant-numeric: tabular-nums; }
.feature__price .woocommerce-Price-amount { font-family: var(--font-body); }

/* --- Featured album ------------------------------------------------------- */

.feature--album { display: grid; gap: var(--space-m); }
@media (min-width: 26rem) {
  .feature--album { grid-template-columns: 7rem minmax(0, 1fr); align-items: start; }
}
.feature__art img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

/* --- Next show ------------------------------------------------------------ */

.feature--show .feature__show {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-m);
  align-items: center;
}
.feature__date {
  display: grid;
  place-items: center;
  padding: var(--space-2xs) var(--space-xs);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  line-height: 1.05;
}
.feature__month {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.feature__day {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.feature--show .ticket-state { margin-top: var(--space-3xs); }
.feature__then {
  margin-top: var(--space-s);
  padding-top: var(--space-s);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--step--1);
}
.feature__then strong { color: var(--color-text); font-weight: 600; }

/* --- Featured video ------------------------------------------------------- */

.feature--video { display: grid; gap: var(--space-s); }

.videoframe {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-surface-raised);
  text-decoration: none;
}
.videoframe__poster { width: 100%; height: 100%; object-fit: cover; }

.videoframe__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px; height: 68px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--k-void) 55%, transparent);
  border: 1px solid var(--k-light);
  border-radius: 999px;
  color: var(--k-light);
  cursor: pointer;
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.videoframe:hover .videoframe__play {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-on-accent);
  transform: scale(1.06);
}
.videoframe iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- Quick buy ------------------------------------------------------------ */

.feature--quickbuy { padding: var(--space-m); }
.quickbuy { display: grid; gap: var(--space-s); margin-top: var(--space-s); }

.quickbuy__item {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: var(--space-s);
  align-items: center;
  padding-bottom: var(--space-s);
  border-bottom: 1px solid var(--color-border);
}
.quickbuy__item:last-child { border-bottom: 0; padding-bottom: 0; }

.quickbuy__thumb { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.quickbuy__thumb .mockup { border-radius: var(--radius-sm); }

.quickbuy__name {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-2xs);
}
.quickbuy__name a { color: var(--color-text); text-decoration: none; }
.quickbuy__name a:hover { color: var(--color-accent); }

.quickbuy__form { display: flex; flex-wrap: wrap; gap: var(--space-2xs); align-items: end; }
.quickbuy__field { display: grid; gap: 2px; }
.quickbuy__field label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.quickbuy__field select {
  min-height: 44px;
  padding: 0 var(--space-2xs);
  background: var(--color-surface-raised);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}
.quickbuy__submit { min-height: 44px; padding-inline: var(--space-m); gap: var(--space-3xs); }
.quickbuy__price { font-variant-numeric: tabular-nums; opacity: 0.85; }
.quickbuy__price .woocommerce-Price-amount { font-family: var(--font-body); }
.quickbuy__soldout { color: var(--color-text-muted); font-size: var(--step--1); }

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

.empty-state {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-l);
}
.empty-state .prose { margin-top: var(--space-2xs); }

/* ==========================================================================
   FOOTER — Chicago plate + live next-show strip
   ========================================================================== */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-2xl) var(--space-l);
  margin-top: var(--space-2xl);
}

.site-footer__sky {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.site-footer__sky img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
/* The skyline is a floor for the content, not a backdrop competing with it:
   near-opaque at the top where the columns sit, clearing toward the bottom. */
.site-footer__sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--k-void) 0%,
    color-mix(in srgb, var(--k-void) 92%, transparent) 34%,
    color-mix(in srgb, var(--k-void) 74%, transparent) 68%,
    color-mix(in srgb, var(--k-void) 58%, transparent) 100%
  );
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding: var(--space-m) var(--space-l);
  margin-bottom: var(--space-2xl);
  background: color-mix(in srgb, var(--k-surface) 82%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
}
.footer-cta .eyebrow { margin-bottom: var(--space-3xs); }
.footer-cta__line { color: var(--color-text-muted); }
.footer-cta__line strong {
  color: var(--k-light);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer__brand .wordmark__text--lg { display: block; }
.site-footer__shop { margin-top: var(--space-m); }

/* ==========================================================================
   VIDEO TILES — real artwork behind the play control
   ========================================================================== */

.video-card__frame {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-raised);
}
.video-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-base) var(--ease-out);
  opacity: 0.82;
}
.video-card:hover .video-card__img,
.video-card:focus-within .video-card__img { transform: scale(1.04); opacity: 1; }

.video-card__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--k-void) 72%, transparent), transparent 62%);
}
.video-card__play { position: relative; z-index: 1; }

/* ==========================================================================
   LANDER — booking section gets the office plate on larger screens
   ========================================================================== */

.section--cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid var(--color-border);
  background: var(--color-surface);
}
.section--cta .section__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.section--cta .section__bg img { width: 100%; height: 100%; object-fit: cover; }
.section--cta .section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 120% at 50% 50%, transparent 12%, color-mix(in srgb, var(--k-void) 88%, transparent) 78%),
    linear-gradient(to bottom, color-mix(in srgb, var(--k-void) 62%, transparent), color-mix(in srgb, var(--k-void) 82%, transparent));
}

/* ==========================================================================
   SMALL-SCREEN TYPE
   ========================================================================== */

@media (max-width: 30rem) {
  /* Cinzel's display tracking is generous by design; at phone widths it is
     what pushes a long headline past the viewport edge. */
  .h-display { letter-spacing: 0.03em; }
  .hero__title { max-width: none; }
  .footer-cta { padding: var(--space-m); }
}

/* ==========================================================================
   WAVEFORM DIVIDER
   Replaces the paint-drip rule between the hero and the capsule. Samples come
   from PHP; JS drives bar height and a playhead from scroll position.

   Style notes: density is what makes this read as audio rather than as a bar
   chart — many thin bars with a tight gap, one flat colour, and brightness
   (not hue) carrying the played/unplayed state, the way an audio player does.
   ========================================================================== */

.waveform {
  position: relative;
  isolation: isolate;
  width: 100%;
  /* Full bleed: the waveform runs edge to edge rather than sitting inside the
     content gutter. */
  padding-inline: 0;
  padding-block: var(--space-l);
  border-block: 1px solid var(--color-border);
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--k-surface) 55%, transparent), transparent);
  overflow: hidden;
}

/* Playhead glow — follows scroll progress across the divider. */
.waveform::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    18% 130% at var(--playhead, 0%) 50%,
    color-mix(in srgb, var(--k-accent) 30%, transparent),
    transparent 72%
  );
}

/* Dot-matrix display. Canvas rather than elements: the grid is ~150 columns
   by 11 rows, which is thousands of dots — far past what the DOM should be
   asked to animate at 60fps. */
.waveform__canvas {
  display: none;
  width: 100%;
  /* JS sets the exact height from rows x pitch; this avoids a reflow jump
     before the first paint. */
  height: 204px;
}
.js .waveform__canvas { display: block; }

.waveform__track {
  display: flex;
  align-items: center;
  gap: 1px;
  height: 96px;
  /* No max-width — the track spans the viewport at every size. */
}
/* Once JS is up the canvas replaces the static bars. */
.js .waveform__track { display: none; }

.waveform__bar {
  /* flex-grow with no cap is what makes the row span exactly: a max-width
     stops the bars growing on wide screens and leaves them bunched at one end
     with dead space beside them. Width is simply (track - gaps) / bar count. */
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  /* Fully rounded caps — the signature of audio UI, and what stops the bars
     reading as rectangles. */
  border-radius: 999px;
  /* One flat colour. The previous vertical blue-to-tan gradient made every
     bar look like a separate object instead of one continuous waveform. */
  background: var(--k-light);
  transform: scaleY(var(--h, 0.3));
  transform-origin: center;
  /* Played bars sit bright, unplayed recede — brightness, not hue. */
  opacity: calc(0.16 + 0.84 * var(--lit, 0));
  /* No will-change here: at 300 bars it would promote 300 compositor layers.
     Transform and opacity are already cheap to animate. */
}

@media (max-width: 48rem) {
  .waveform__canvas { height: 104px; }
  .waveform__track { height: 62px; gap: 1px; }
  .waveform { padding-block: var(--space-m); }
  /* 300 bars render as hairlines on a phone; keeping every third holds the
     bar width near 3px while preserving the overall shape. */
  .waveform__bar:nth-child(3n+2),
  .waveform__bar:nth-child(3n+3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  /* Static waveform: the server-rendered shape stands on its own. */
  .waveform__bar { opacity: 0.6; }
  .waveform::after { opacity: 0; }
}
