/* fonts: Bodoni Moda and Inter Tight (SIL Open Font License), served from this site instead of Google */
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/bodoni-moda-italic-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/bodoni-moda-italic-latin.woff2") format('woff2'); 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: 'Bodoni Moda'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/bodoni-moda-normal-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/bodoni-moda-normal-latin.woff2") format('woff2'); 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: 'Inter Tight'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../assets/fonts/inter-tight-normal-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../assets/fonts/inter-tight-normal-latin.woff2") format('woff2'); 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; }

/* =========================================================
   Brandon Parrell — site styles
   Palette and type come from the BP logo: marble-white serif, black, neon red.

   Performance rules this file follows:
   - animate only transform and opacity, so motion runs on the GPU compositor
   - no blend modes, no backdrop/blur filters around video, one <video> on the page
   - scroll-linked motion uses CSS scroll timelines where supported (zero JS, no lag)
   ========================================================= */

:root {
  --bg: #060607;
  --bg-2: #0c0c0e;
  --bg-3: #141417;
  --line: rgba(236, 231, 223, .09);
  --line-2: rgba(236, 231, 223, .18);
  --text: #ece7df;
  --text-2: #a8a39c;
  --text-3: #837e78;
  --red: #ff2436;
  --red-2: #d9142a;
  --red-rgb: 255, 36, 54;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", "Bodoni MT", Georgia, serif;
  --sans: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --pad: clamp(16px, 4vw, 56px);
  --max: clamp(1440px, 76vw, 1800px); /* grows a little on big monitors, so 27-inch screens don't get a narrow column */
  --nav-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  /* glows use modest blur radii: big blurs are slow to paint the first time they scroll into view */
  --glow: 0 0 4px rgba(var(--red-rgb), .85), 0 0 14px rgba(var(--red-rgb), .5), 0 0 30px rgba(var(--red-rgb), .3);
  --glow-lg: 0 0 8px rgba(var(--red-rgb), .85), 0 0 34px rgba(var(--red-rgb), .42);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scrollbar-gutter: stable;
  scrollbar-color: #2c2c31 var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
/* mobile browsers ignore overflow on body, so clip sideways overflow (spinning vinyl, glows) here too */
main { overflow-x: hidden; }
@supports (overflow: clip) { main { overflow-x: clip; } }

img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ol, ul { padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }
.lock { overflow: hidden; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  padding: 10px 16px; border-radius: 8px;
  background: var(--text); color: var(--bg); font-weight: 600;
  transition: top .25s var(--ease);
}
.skip:focus { top: 12px; }

/* images fade in when they arrive instead of popping in */
.js img[loading="lazy"] { opacity: 0; transition: opacity .7s var(--ease); }
.js img[loading="lazy"].is-loaded { opacity: 1; }

/* ---------- small type ---------- */
.label {
  display: inline-flex; align-items: center; gap: .65em;
  font-size: .72rem; font-weight: 500; line-height: 1.3;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-2);
}
.label--dim { color: var(--text-3); }
[hidden] { display: none !important; }
.label--red { color: var(--red); }
/* text only screen readers read (the player's "now playing" announcements) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.dot {
  position: relative; flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(var(--red-rgb), .9);
}
.dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(var(--red-rgb), .55);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping {
  from { transform: scale(1); opacity: .7; }
  to { transform: scale(3.4); opacity: 0; }
}
/* the never-ending loops stop while their part of the page is off screen (the script marks it .is-offscreen):
   unseen, they still made the browser redo their styles on every frame (e.g. all the while you hover the songs) and
   kept a layer each. Stopped, not paused: a paused animation keeps its layer. They restart unseen, off screen. */
.is-offscreen .dot::after, .is-offscreen .neon, .is-offscreen .marquee__star,
.is-offscreen .hero__ambient, .is-offscreen .hero__scroll i::after { animation: none; }

.link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
@media (hover: hover) { .link:hover { color: var(--red); background-size: 0 1px; background-position: 100% 100%; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; z-index: 0; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform .5s var(--ease), scale .25s var(--ease), color .45s var(--ease), border-color .45s, box-shadow .45s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; background: var(--text);
  transform: translateY(102%);
  transition: transform .55s var(--ease);
}
@media (hover: hover) { .btn:hover::before { transform: none; } }
.btn:active { scale: .97; }
.btn .arrow { transition: transform .45s var(--ease); }
@media (hover: hover) { .btn:hover .arrow { transform: translate(3px, -3px); } }

.btn--red {
  background: var(--red); color: #fff;
  box-shadow: 0 0 0 1px rgba(var(--red-rgb), .6), 0 12px 36px -12px rgba(var(--red-rgb), .8);
}
@media (hover: hover) { .btn--red:hover { color: var(--bg); box-shadow: 0 0 0 1px var(--text), 0 14px 40px -12px rgba(var(--red-rgb), .9); } }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
@media (hover: hover) { .btn--ghost:hover { color: var(--bg); border-color: var(--text); } }
.btn--sm { height: 40px; padding: 0 20px; font-size: .7rem; }

[data-magnetic]:not(.btn) {
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform .6s var(--ease);
}

/* ---------- loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
  transition: transform 1.05s var(--ease-io);
}
.loader.is-done { transform: translateY(-100%); }
.loader__inner { display: grid; justify-items: center; gap: 28px; transition: transform 1.05s var(--ease-io), opacity .5s; }
.loader.is-done .loader__inner { transform: translateY(40vh); opacity: 0; }
/* phones and tablets (the script adds this): a shorter intro that lifts faster */
.js .loader--quick { transition-duration: .7s; }
.loader--quick .loader__inner { transition-duration: .7s, .35s; }
.loader--quick .loader__logo { animation-duration: .8s; animation-delay: 0s; }
.loader__logo {
  width: clamp(120px, 16vw, 176px); height: auto; aspect-ratio: 1; border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 40px rgba(var(--red-rgb), .35);
  animation: neon-on 1.5s steps(1, end) .15s forwards;
}
@keyframes neon-on {
  0% { opacity: 0; }
  8% { opacity: .85; }
  11% { opacity: .1; }
  19% { opacity: .7; }
  22% { opacity: .15; }
  30% { opacity: 1; }
  34% { opacity: .35; }
  40%, 100% { opacity: 1; }
}
.loader__bar { position: relative; width: 168px; height: 1px; background: var(--line-2); overflow: hidden; }
.loader__bar span {
  position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--red); box-shadow: 0 0 12px var(--red);
}
.loader__meta {
  display: flex; justify-content: space-between; width: 168px;
  font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-3);
}
.loader__count { font-variant-numeric: tabular-nums; color: var(--text-2); }

/* ---------- global overlays ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 2px; pointer-events: none; }
.progress span {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--red); box-shadow: 0 0 10px rgba(var(--red-rgb), .8);
}

/* film grain: painted once, then jittered on the compositor */
.grain {
  position: fixed; inset: -64px; z-index: 80; pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  will-change: transform;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  17% { transform: translate(-26px, 18px); }
  33% { transform: translate(20px, -30px); }
  50% { transform: translate(-12px, -8px); }
  67% { transform: translate(32px, 24px); }
  83% { transform: translate(-30px, 12px); }
  100% { transform: translate(0, 0); }
}

/* action button that follows the mouse: "Play preview" / "Now playing" over songs, "Seek" over waveforms, "Open" over links */
.cursor { display: none; }
.has-cursor .cursor {
  display: block; position: fixed; left: 0; top: 0; z-index: 150;
  pointer-events: none; will-change: transform;
}
/* over a song the button takes the place of the arrow; over waveforms and links the arrow stays for precision */
.has-cursor [data-cursor="play"], .has-cursor [data-cursor="pause"] { cursor: none; }
.cursor__btn {
  position: absolute; left: -60px; top: -60px; width: 120px; height: 120px;
  display: grid; place-items: center;
  opacity: 0; transform: scale(.35) rotate(-40deg);
  transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), opacity .25s;
}
.cursor.is-on .cursor__btn { opacity: 1; transform: none; }
.cursor.is-on[data-mode="seek"] .cursor__btn { transform: translateY(-78px) scale(.62); }
.cursor__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 6, 7, .18) 0 52%, rgba(6, 6, 7, .66) 53%);
  box-shadow: inset 0 0 0 1px rgba(236, 231, 223, .14), 0 18px 40px -16px rgba(0, 0, 0, .8);
}
.cursor__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: opacity .14s; }
.cursor__ring.is-swap { opacity: 0; }
.cursor__ring text { font: 600 9.5px/1 var(--sans); fill: var(--text); letter-spacing: .12em; }
/* one ring of words per mode; switching only changes which one shows (laying out curved text again is slow) */
.cursor__ring text:not(.is-on) { opacity: 0; }
.cursor__progress { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); opacity: 0; transition: opacity .3s; }
.cursor__progress circle { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.cursor[data-mode="pause"] .cursor__progress { opacity: 1; }
.cursor__core {
  position: relative; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--red); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 24px rgba(var(--red-rgb), .6);
  will-change: transform;
  transition: scale .25s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.cursor.is-down .cursor__core { scale: .86; }
.cursor__icon { grid-area: 1 / 1; width: 22px; height: 22px; opacity: 0; transform: scale(.4) rotate(-30deg); transition: opacity .2s, transform .45s var(--ease); }
.cursor__time { grid-area: 1 / 1; font: 600 .82rem/1 var(--sans); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .2s; }
.cursor[data-mode="play"] .cursor__icon--play,
.cursor[data-mode="pause"] .cursor__icon--pause,
.cursor[data-mode="open"] .cursor__icon--arrow,
.cursor[data-mode="presave"] .cursor__icon--arrow { opacity: 1; transform: none; }
.cursor[data-mode="seek"] .cursor__time { opacity: 1; }
.cursor[data-mode="seek"] .cursor__core,
.cursor[data-mode="open"] .cursor__core { background: var(--text); color: var(--bg); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 0 24px rgba(236, 231, 223, .22); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), background-color .4s, border-color .4s;
}
.nav.is-scrolled {
  background: rgba(6, 6, 7, .7);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-101%); }
.js .nav { opacity: 0; transition: opacity 1s var(--ease) .5s, transform .6s var(--ease), background-color .4s, border-color .4s; }
.is-ready .nav { opacity: 1; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { position: relative; flex: none; width: 38px; height: 38px; transition: transform .6s var(--ease); }
.brand__mark img { position: relative; width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(var(--red-rgb), .25), 0 0 12px rgba(var(--red-rgb), .25); }
.brand__glow {
  position: absolute; inset: -4px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 22px 4px rgba(var(--red-rgb), .8);
  opacity: 0;
}
@media (hover: hover) { .brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); } }
.brand__name { font-family: var(--serif); font-size: 1.12rem; letter-spacing: .01em; line-height: 1; }

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav__link {
  position: relative; display: block;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  line-height: 1.4; color: var(--text-2);
  transition: color .3s;
}
.nav__link .roll { display: block; overflow: hidden; }
/* a class, not "> span": a hover rule ending in a tag name makes every hover anywhere restyle every span inside it
   (the song titles alone are hundreds of letter spans) */
.nav__link .roll__t { position: relative; display: block; transition: transform .5s var(--ease); }
.nav__link .roll__t::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--text); }
@media (hover: hover) { .nav__link:hover .roll__t { transform: translateY(-100%); } }
.nav__link.is-active { color: var(--text); }
.nav__link::before {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--red); box-shadow: 0 0 6px var(--red);
  transform: scale(0); transition: transform .4s var(--ease);
}
.nav__link.is-active::before { transform: scale(1); }

.nav__toggle {
  display: none; position: relative;
  width: 46px; height: 46px; margin-right: -8px; border-radius: 50%;
}
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 19px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.menu-open .nav__toggle span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }
.menu-open .nav { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--nav-h) + 6vh) var(--pad) max(32px, env(safe-area-inset-bottom));
  background:
    radial-gradient(80% 50% at 100% 100%, rgba(var(--red-rgb), .16), transparent 70%),
    var(--bg);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .8s var(--ease-io), visibility 0s linear .8s;
}
.menu.is-open { transform: none; visibility: visible; transition: transform .8s var(--ease-io), visibility 0s; }
.menu__links a { display: block; overflow: hidden; font-family: var(--serif); font-size: clamp(2.8rem, 13vw, 5rem); line-height: 1.08; }
.menu__links a span { display: block; transform: translateY(110%); transition: transform .9s var(--ease) calc(.2s + var(--i) * .07s); }
.menu.is-open .menu__links a span { transform: none; }
.menu__links a:nth-child(even) span { font-style: italic; }
.menu__foot { display: grid; gap: 22px; opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .8s var(--ease); }
.menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: .5s; }
.menu__social { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }

/* ---------- hero ---------- */
.hero {
  position: relative; z-index: 0; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 620px;
  display: grid; place-items: center;
}
/* the red haze: a pre-blurred image, so there is no live blur and no second video. It is stretched to about 1.4× the
   screen width, so it is 960px and smooth (a 360px JPEG showed blocky squares on desktop screens) */
.hero__ambient {
  position: absolute; left: 50%; top: 46%; z-index: -3;
  width: 40%; aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(3.4);
  background: url("../assets/hero-ambient.webp") center / cover no-repeat;
  /* soft round edges: on tall phone screens the square's bottom edge used to show as a band across the hero */
  -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 52%, transparent 100%);
  animation: breathe 5.5s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .78; } 45% { opacity: 1; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 62% at 50% 45%, rgba(6, 6, 7, 0) 0%, rgba(6, 6, 7, .55) 62%, rgba(6, 6, 7, .96) 100%),
    linear-gradient(to bottom, rgba(6, 6, 7, .55) 0%, rgba(6, 6, 7, 0) 22%, rgba(6, 6, 7, 0) 62%, var(--bg) 100%);
}
.hero__light {
  position: absolute; left: 0; top: 0; z-index: -2; pointer-events: none;
  width: 70vmax; height: 70vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--red-rgb), .11) 0%, rgba(var(--red-rgb), 0) 60%);
  transform: translate(50vw, 45vh) translate(-50%, -50%);
  will-change: transform;
}

.hero__stage { position: relative; z-index: 1; perspective: 1200px; margin-top: -4vh; }
.js .hero__stage { opacity: 0; transform: scale(.88); }
.is-ready .hero__stage {
  opacity: 1; transform: none;
  transition: opacity 1.6s var(--ease) .15s, transform 2s var(--ease) .15s;
}
.hero__emblem {
  position: relative;
  width: min(58vh, 74vw, 640px); aspect-ratio: 1;
  will-change: transform;
}
.hero__glow {
  position: absolute; inset: -8%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--red-rgb), .42), rgba(var(--red-rgb), .1) 58%, rgba(var(--red-rgb), 0) 78%);
  opacity: .3;
  transform: scale(.94);
}
.hero__video::-webkit-media-controls, .hero__video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, #000 84%, rgba(0, 0, 0, .55) 93%, transparent 100%);
  mask-image: radial-gradient(circle closest-side at 50% 50%, #000 84%, rgba(0, 0, 0, .55) 93%, transparent 100%);
}

.hero__rain { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }

.hero__side {
  position: absolute; top: 0; bottom: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  pointer-events: none;
}
.hero__side--l { left: var(--pad); }
.hero__side--r { right: var(--pad); align-items: flex-end; text-align: right; }
.hero__meta { display: flex; flex-direction: column; gap: 10px; pointer-events: auto; }
.hero__side--r .hero__meta { align-items: flex-end; }
.js .hero__meta { opacity: 0; translate: 0 18px; }
.is-ready .hero__meta {
  opacity: 1; translate: 0 0;
  transition: opacity 1.2s var(--ease) calc(1s + var(--d) * .15s), translate 1.4s var(--ease) calc(1s + var(--d) * .15s), transform .6s var(--ease);
}
.hero__next-title {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.05;
  transition: color .3s, text-shadow .3s;
}
@media (hover: hover) { .hero__next:hover .hero__next-title { color: #fff; text-shadow: var(--glow); } }
.hero__amp { color: var(--red); }
.hero__l2 { display: block; } /* "& Berserk" on its own line beside the logo */
.hero__next .arrow { transition: transform .45s var(--ease); }
@media (hover: hover) { .hero__next:hover .arrow { transform: translate(3px, -3px); } }

.hero__scroll { flex-direction: row; align-items: center; gap: 14px; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--text-3); }
.hero__scroll i { position: relative; width: 1px; height: 54px; background: var(--line-2); overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%;
  background: var(--red); box-shadow: 0 0 6px var(--red);
  animation: scroll-line 2.2s var(--ease-io) infinite;
}
@keyframes scroll-line { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* the first-screen button, on phones and tablets only (computers have the "Pre-save" button in the menu bar and the
   pill beside the logo) */
.hero__cta { display: none; }
.js .hero__cta { opacity: 0; translate: 0 14px; }
.is-ready .hero__cta {
  opacity: 1; translate: 0 0;
  transition: opacity .9s var(--ease) .35s, translate 1.1s var(--ease) .35s, transform .5s var(--ease), scale .25s var(--ease), color .45s var(--ease), box-shadow .45s;
}

.hero__title {
  position: absolute; left: 0; right: 0; bottom: clamp(14px, 4vh, 44px); z-index: 3;
  margin: 0; padding: 0 var(--pad);
  text-align: center;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.2rem, 10.4vw, 12rem); line-height: .9; letter-spacing: -.02em;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 10px 50px rgba(0, 0, 0, .55);
}
.hero__title .w {
  display: inline-block; vertical-align: bottom;
  padding: 0 .04em .1em; margin-bottom: -.1em;
  clip-path: inset(-40% -10% 0 -10%);
}
.hero__title .w--i { font-style: italic; }
.char { display: inline-block; }
.js .char { transform: translateY(108%) rotate(6deg); transform-origin: 0 100%; }
.is-ready .char { transform: none; transition: transform 1.3s var(--ease) calc(.45s + var(--ci) * 45ms); }

/* ---------- marquee ---------- */
.marquee {
  position: relative; overflow: hidden;
  padding: clamp(16px, 2.2vw, 28px) 0;
  border-block: 1px solid var(--line);
  background: var(--bg);
  user-select: none; -webkit-user-select: none;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; gap: clamp(22px, 3vw, 48px); padding-right: clamp(22px, 3vw, 48px); }
.marquee__item { font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 5.6rem); line-height: 1.05; white-space: nowrap; }
.marquee__item--outline { font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(236, 231, 223, .55); }
.marquee__star {
  position: relative; flex: none; display: block; width: clamp(18px, 2.2vw, 34px);
  animation: spin 9s linear infinite;
}
/* glow is a gradient (cheap) instead of a drop-shadow filter */
.marquee__star::before {
  content: ""; position: absolute; inset: -55%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--red-rgb), .5), rgba(var(--red-rgb), 0));
}
.marquee__star svg { position: relative; width: 100%; height: auto; fill: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- sections ---------- */
.section {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  /* the space between sections: about 260px on a laptop (it was 375, almost half the screen of empty black) */
  padding: clamp(88px, 9vw, 130px) var(--pad);
}
.section-head { display: grid; gap: 20px; justify-items: start; margin-bottom: clamp(44px, 6vw, 88px); }
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.8rem, 7.4vw, 7rem); line-height: .96; letter-spacing: -.022em;
}
.section-note { max-width: 46ch; color: var(--text-2); }

.mask { display: block; overflow: hidden; padding: 0 .06em .12em; margin: 0 -.06em -.12em; }
.mask > span { display: block; }
.is-revealed .mask { overflow: visible; }
.js [data-reveal="mask"] .mask > span { transform: translateY(110%); }
.js [data-reveal="mask"].is-in .mask > span {
  transform: none;
  transition: transform 1.3s var(--ease) calc(var(--m, 0) * .09s);
}

.js [data-reveal]:not([data-reveal="mask"]):not([data-reveal="clip"]) { opacity: 0; transform: translateY(36px); }
.js [data-reveal]:not([data-reveal="mask"]):not([data-reveal="clip"]).is-in {
  opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease) calc(var(--i, 0) * .08s), transform 1.3s var(--ease) calc(var(--i, 0) * .08s);
}

/* ---------- new singles ---------- */
.releases { display: grid; gap: clamp(110px, 15vw, 230px); }
/* three or more: the next single stays big, the rest line up as cards (rows on phones) */
.releases__more { display: grid; gap: clamp(26px, 3vw, 40px); margin-top: calc(clamp(110px, 15vw, 230px) * -.45); }
.releases__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(44px, 5vw, 64px) clamp(24px, 3vw, 44px);
}
.releases .release--card { grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: start; align-items: start; }
.releases .release--card .release__card { width: min(84%, 300px); }
.releases .release--card .release__art.is-in .vinyl { transform: translateX(15%); }
@media (hover: hover) { .releases .release--card .release__art.is-in .release__card:hover .vinyl { transform: translateX(22%); } }
.releases .release--card .release__info > .label { font-size: .64rem; }
.releases .release--card .release__title { margin: 12px 0 0; font-size: clamp(2.1rem, 3.1vw, 2.9rem); }
.releases .release--card :is(.release__by, .release__copy, .btn--ghost) { display: none; }
.releases .release--card .countdown { margin-top: 14px; gap: 6px; }
.releases .release--card .countdown__unit { min-width: 50px; padding: 9px 6px 8px; gap: 4px; border-radius: 11px; }
.releases .release--card .countdown__unit b { font-size: 1.3rem; }
.releases .release--card .countdown__unit small { font-size: .5rem; letter-spacing: .18em; }
.releases .release--card .release__actions { margin-top: 18px; }
.releases .release--card .btn { height: 44px; padding: 0 20px; font-size: .68rem; }
/* big screens: each card sets its cover beside its details, so two cards fill the row (with the details under the
   cover, half of each column sat empty). The gap leaves room for the record sliding out of the sleeve. */
@media (min-width: 1101px) {
  .releases__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
  .releases .release--card {
    grid-template-columns: clamp(200px, 17vw, 300px) minmax(0, 1fr);
    column-gap: clamp(56px, 4.6vw, 80px); align-items: start; /* covers line up across the row */
  }
  .releases .release--card .release__card { width: 100%; }
  .releases .release--card .release__title { margin-top: 10px; }
}
/* Share + Remind me */
.release__extras { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
  transition: color .3s, border-color .3s, background-color .3s;
}
.chip-btn svg { width: 15px; height: 15px; flex: none; }
@media (hover: hover) { .chip-btn:hover { color: var(--text); border-color: var(--red); background: rgba(var(--red-rgb), .08); } }
.chip-btn:active { scale: .96; }
.chip-btn.is-done { color: var(--text); border-color: rgba(var(--red-rgb), .7); }
.releases .release--card .release__extras { margin-top: 10px; gap: 6px; }
.releases .release--card .chip-btn { height: 34px; padding: 0 13px; font-size: .64rem; }

/* ---------- a single's visualizer video, opened over the page ("Watch") ---------- */
.vid {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  padding: max(20px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
  background: rgba(4, 4, 5, .95);
  opacity: 0; transition: opacity .3s;
}
.vid.is-open { opacity: 1; }
.vid__video {
  /* a 9:16 video, as tall as the screen allows */
  width: min(100%, (100vh - 40px) * 9 / 16, 500px); width: min(100%, (100svh - 40px) * 9 / 16, 500px);
  height: auto; aspect-ratio: 9 / 16;
  border-radius: 18px; background: #000;
  box-shadow: 0 30px 90px -20px #000, 0 0 0 1px var(--line-2), 0 0 70px -18px rgba(var(--red-rgb), .6);
  transform: scale(.96); transition: transform .45s var(--ease);
}
.vid.is-open .vid__video { transform: none; }
.vid__close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 1; width: 44px; height: 44px; background: rgba(12, 12, 14, .82); }

/* only the first big single offers "Hear the catalog" */
.release--flip .btn--ghost { display: none; }
.release {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(56px, 8vw, 140px); align-items: center;
}
.release__art { position: relative; perspective: 1400px; }
.release__card {
  position: relative; width: 76%;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease);
}
.release__card.is-tilting { transition: transform .15s linear; }
/* red underglow as a gradient instead of a huge blurred shadow */
.release__card::before {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -16%; height: 46%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--red-rgb), .34), rgba(var(--red-rgb), 0));
}
.release__cover {
  position: relative; z-index: 2;
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 4px; background: var(--bg-3);
  box-shadow: 0 0 0 1px var(--line), 0 30px 50px -28px rgba(0, 0, 0, .95);
}
.release__glare {
  position: absolute; inset: 0; z-index: 3; border-radius: 4px; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%);
  opacity: 0; transition: opacity .5s;
}
@media (hover: hover) { .release__card:hover .release__glare { opacity: 1; } }

.vinyl {
  position: absolute; z-index: 1; top: 3.5%; left: 3.5%; width: 93%; aspect-ratio: 1;
  border-radius: 50%;
  /* shadows live on the still wrapper, so they don't orbit while the disc spins */
  box-shadow: 0 0 0 1px rgba(var(--red-rgb), .18), 0 24px 44px -20px rgba(0, 0, 0, .9);
  transform: translate(0, 0);
  transition: transform 1.6s var(--ease) .35s;
}
.release__art.is-in .vinyl { transform: translateX(38%); }
@media (hover: hover) { .release__art.is-in .release__card:hover .vinyl { transform: translateX(46%); transition-delay: 0s; transition-duration: .9s; } }
/* grooves are a pre-rendered texture: a 200-ring CSS gradient is very slow to paint */
.vinyl__disc {
  position: relative; width: 100%; height: 100%; border-radius: 50%;
  background: url("../assets/vinyl.webp") center / 100% 100% no-repeat;
  animation: spin 3.6s linear infinite;
  animation-play-state: paused;
}
.release__art.is-in .vinyl__disc { animation-play-state: running; }
.vinyl::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(255, 255, 255, .14) 13%, transparent 20% 50%, rgba(255, 255, 255, .1) 63%, transparent 70%);
}
.vinyl__label {
  position: absolute; inset: 34%; border-radius: 50%;
  background: var(--cover) center / cover, var(--bg-3);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .55);
}
.vinyl__label::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9%; height: 9%;
  border-radius: 50%; background: var(--bg); transform: translate(-50%, -50%);
}

.release__info { display: grid; justify-items: start; }
.release__title {
  margin: 22px 0 18px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.6rem, 9.6vw, 9.2rem); line-height: .9; letter-spacing: -.03em;
}
/* a version tag at the end of a title, like "(Cover)": smaller and quieter than the title itself */
.release__tag { font-size: max(.38em, .8rem); letter-spacing: 0; color: var(--text-2); white-space: nowrap; }
/* neon word: the glow is painted once; the flicker only changes opacity */
.neon { display: inline-block; color: #ffe9eb; text-shadow: var(--glow-lg); animation: flicker 7s infinite; }
@keyframes flicker {
  0%, 19%, 21%, 23%, 55%, 57%, 100% { opacity: 1; }
  20%, 22%, 56% { opacity: .5; }
}
.release__by { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.release__copy { max-width: 42ch; margin-top: 26px; font-size: 1.06rem; color: var(--text-2); }
.release__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* the second single mirrors the first: words on the left, the sleeve on the right with its record sliding out leftwards */
.release--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.release--flip .release__art { order: 2; }
.release--flip .release__card { margin-left: auto; }
.release--flip .release__art.is-in .vinyl { transform: translateX(-38%); }
@media (hover: hover) { .release--flip .release__art.is-in .release__card:hover .vinyl { transform: translateX(-46%); } }

/* countdown to the release (filled in and shown by JavaScript; hidden once it's out) */
.countdown { display: flex; flex-wrap: wrap; gap: clamp(8px, 1.2vw, 12px); margin-top: 28px; }
.countdown[hidden] { display: none; }
.countdown__unit {
  display: grid; justify-items: center; gap: 7px; min-width: clamp(62px, 6vw, 78px); padding: 13px 10px 11px;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: linear-gradient(180deg, rgba(236, 231, 223, .045), rgba(236, 231, 223, .01));
}
.countdown__unit b {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.5vw, 2.35rem); line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.countdown__unit small { font-size: .56rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--text-3); }
.countdown__unit:last-child b { color: #ffe9eb; text-shadow: var(--glow); }

/* ---------- music ---------- */
.music { padding-top: clamp(52px, 6.5vw, 94px); }
.tracks { position: relative; z-index: 2; border-top: 1px solid var(--line); }
.track {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center;
  column-gap: clamp(16px, 2.4vw, 40px);
  border-bottom: 1px solid var(--line);
}
/* red wash + a hot neon line along the bottom of the row */
.track::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--red-rgb), .18), rgba(var(--red-rgb), .04) 55%, rgba(var(--red-rgb), 0));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .8s var(--ease);
}
.track::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, var(--red), rgba(var(--red-rgb), .45) 40%, rgba(var(--red-rgb), 0));
  box-shadow: 0 0 10px rgba(var(--red-rgb), .7);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1s var(--ease);
}
.track:is(:focus-within, .is-current)::before,
.track:is(:focus-within, .is-current)::after { transform: scaleX(1); }
@media (hover: hover) { .track:hover::before, .track:hover::after { transform: scaleX(1); } }

.track__play {
  min-width: 0;
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); align-items: center;
  column-gap: clamp(12px, 2vw, 30px);
  padding: clamp(16px, 2.1vw, 28px) 0;
  text-align: left;
}
.track__num { display: grid; align-items: center; justify-items: start; height: 1.4rem; font-size: .74rem; letter-spacing: .14em; color: var(--text-3); font-variant-numeric: tabular-nums; }
.track__num > * { grid-area: 1 / 1; transition: opacity .3s, transform .4s var(--ease); }
.track__num .i-play { width: 15px; height: 15px; color: var(--red); opacity: 0; transform: scale(.5); filter: drop-shadow(0 0 6px rgba(var(--red-rgb), .8)); }
.track.is-playing .track__num .n { opacity: 0; transform: translateY(-6px); }
@media (hover: hover) { .track:hover .track__num .n { opacity: 0; transform: translateY(-6px); } }
@media (hover: hover) { .track:hover .track__num .i-play { opacity: 1; transform: none; } }
.track.is-playing .track__num .i-play { opacity: 0; transform: scale(.5); }
.track.is-current:not(.is-playing) .track__num .n { color: var(--red); }

.track__eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; opacity: 0; }
.track__eq i {
  width: 3px; height: 100%; background: var(--red); box-shadow: 0 0 6px rgba(var(--red-rgb), .8);
  transform-origin: 50% 100%; transform: scaleY(.3);
  animation: eq .9s ease-in-out infinite; animation-play-state: paused;
}
.track__eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; }
.track__eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.6s; }
.track__eq i:nth-child(4) { animation-duration: .8s; animation-delay: -.15s; }
.track.is-playing .track__eq { opacity: 1; }
.track.is-playing .track__eq i { animation-play-state: running; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
/* while a song plays, its real low / low-mid / mid / high levels drive the bars from JavaScript */
.track__eq.is-live i { animation: none; }

/* phone thumbnails: grayscale until played, then they become a spinning record */
.track__thumb {
  display: none; position: relative; width: 48px; height: 48px; overflow: hidden;
  border-radius: 4px; background: var(--bg-3);
  transition: border-radius .5s var(--ease);
}
.track__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.8); }
.js .track__thumb img[loading="lazy"] { transition: opacity .7s var(--ease), filter .5s; }
.track.is-current .track__thumb img { filter: none; }
.track.is-current .track__thumb { border-radius: 50%; animation: spin 3s linear infinite; animation-play-state: paused; }
.track.is-playing .track__thumb { animation-play-state: running; }
.track__thumb::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px rgba(0, 0, 0, .35);
  transform: scale(0); transition: transform .45s var(--ease);
}
.track.is-current .track__thumb::after { transform: scale(1); }

/* title: on hover the letters roll up one by one into an italic, glowing copy */
.track__title {
  position: relative; display: block; min-width: 0; overflow: hidden;
  padding: .08em .35em .16em 0; margin: -.08em -.35em -.16em 0;
  font-family: var(--serif); font-size: clamp(1.9rem, 4.6vw, 4.3rem); line-height: 1.04; letter-spacing: -.015em;
  white-space: nowrap;
  transition: transform .8s var(--ease), opacity .45s;
}
.tt { display: block; }
/* the glow scales with the text (em), so the hidden copy's glow can't leak above it on small phone-size titles */
.tt--b { position: absolute; left: 0; top: .08em; font-style: italic; color: #fff; text-shadow: 0 0 .26em rgba(var(--red-rgb), .6); }
.tt .c { display: inline-block; white-space: pre; transition: transform .7s var(--ease) calc(var(--c) * 22ms); }
.tt--b .c { transform: translateY(132%); }
.track:is(:focus-within, .is-current) .tt--a .c { transform: translateY(-118%); }
@media (hover: hover) { .track:hover .tt--a .c { transform: translateY(-118%); } }
.track:is(:focus-within, .is-current) .tt--b .c { transform: none; }
@media (hover: hover) { .track:hover .tt--b .c { transform: none; } }
@media (hover: hover) { .track:hover .track__title { transform: translateX(12px); } }
@media (hover: hover) { .tracks:hover .track:not(:hover):not(.is-current) .track__title { opacity: .3; } }

/* each song's real waveform: rises on hover, fills red as it plays, click to jump.
   Drawn as two SVG images (dim + red, the red one revealed up to the playhead): 4 elements instead of 40. */
.track__wave { position: relative; width: clamp(130px, 21vw, 360px); height: 36px; cursor: pointer; } /* about 300px on a laptop: the row reads as a song, not a title with a gap */
.wv { position: absolute; inset: 0; background: center / 100% 100% no-repeat; pointer-events: none; }
.track__wave .wv { transform: scaleY(.42); opacity: .5; transition: transform .7s var(--ease), opacity .4s; } /* clearly a waveform at rest, still with room to rise on hover */
.track__wave .wv--played { opacity: 0; }
.track:is(:focus-within, .is-current) .track__wave .wv { transform: none; opacity: .9; }
@media (hover: hover) { .track:hover .track__wave .wv { transform: none; opacity: .9; } }
.track:is(:focus-within, .is-current) .track__wave .wv--played { opacity: 1; }
@media (hover: hover) { .track:hover .track__wave .wv--played { opacity: 1; } }
.track__head, .track__ghost {
  position: absolute; left: 0; top: -6px; bottom: -6px; width: 100%; pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
.track__head::before, .track__ghost::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: #fff;
}
.track__head::before { box-shadow: 0 0 10px rgba(var(--red-rgb), .95), 0 0 2px #fff; }
.track__ghost::before { background: rgba(236, 231, 223, .55); }
.track.is-current .track__head { opacity: 1; }
@media (hover: hover) { .track__wave:hover .track__ghost { opacity: 1; } }

.track__year { font-size: .74rem; letter-spacing: .14em; color: var(--text-3); font-variant-numeric: tabular-nums; }

.track__links { display: flex; gap: 8px; flex: none; }
.track__links a {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .64rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
  transition: color .3s, border-color .3s, background-color .3s;
}
@media (hover: hover) { .track__links a:hover { color: var(--text); border-color: var(--red); background: rgba(var(--red-rgb), .1); } }
/* share a song: a round button after its links; "Link copied" floats above it on computers */
.track__share {
  position: relative; display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none;
  border: 1px solid var(--line); border-radius: 50%; color: var(--text-3);
  transition: color .3s, border-color .3s, background-color .3s;
}
.track__share svg { width: 14px; height: 14px; }
@media (hover: hover) { .track__share:hover { color: var(--text); border-color: var(--red); background: rgba(var(--red-rgb), .1); } }
.track__share.is-done { color: var(--text); border-color: rgba(var(--red-rgb), .7); }
.track__share::after {
  content: "Link copied"; position: absolute; right: -4px; bottom: calc(100% + 8px); white-space: nowrap;
  padding: 7px 11px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg-3);
  font-size: .6rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
  opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.track__share.is-done::after { opacity: 1; transform: none; }
/* a song opened from its link: the play button pulses where the number was, until it plays */
.track.is-linked:not(.is-playing) .track__num .n { opacity: 0; }
.track.is-linked:not(.is-playing) .track__num .i-play { opacity: 1; transform: none; animation: linked 1.3s ease-in-out infinite; }
@keyframes linked { 50% { transform: scale(1.4); } }

/* the record sleeve that follows the cursor over the songs (desktop); it floats above or below the row you're on and
   sits over the other rows, so neither the song you point at nor the cover has text running through it */
.cover-float {
  --s: clamp(210px, 18vw, 280px);
  position: fixed; left: 0; top: 0; z-index: 3;
  width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  perspective: 900px; pointer-events: none;
  opacity: 0; will-change: transform, opacity;
}
.cover-float__tilt { position: absolute; inset: 0; will-change: transform; }
.cover-float__glow {
  position: absolute; left: -12%; right: -46%; top: 6%; bottom: -26%;
  background: radial-gradient(closest-side, rgba(var(--red-rgb), .4), rgba(var(--red-rgb), 0));
}
.cover-float__vinyl {
  position: absolute; top: 5%; left: 5%; width: 90%; height: 90%; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(var(--red-rgb), .22), 0 18px 36px -16px rgba(0, 0, 0, .9);
  transform: translate(0, 0);
  transition: transform .85s var(--ease);
}
.cover-float.is-open .cover-float__vinyl { transform: translateX(40%); transition-delay: .1s; }
.cover-float.is-open.is-playing .cover-float__vinyl { transform: translateX(54%); transition-delay: 0s; }
.cover-float__disc {
  position: absolute; inset: 0; border-radius: 50%;
  background: url("../assets/vinyl.webp") center / 100% 100% no-repeat;
  animation: spin 2.4s linear infinite; animation-play-state: paused;
}
.cover-float.is-open .cover-float__disc { animation-play-state: running; }
.cover-float__label {
  position: absolute; inset: 33%; border-radius: 50%;
  background: var(--bg-3) center / cover no-repeat;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .55);
}
.cover-float__label::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11%; height: 11%;
  border-radius: 50%; background: var(--bg); transform: translate(-50%, -50%);
}
.cover-float__sleeve {
  position: absolute; inset: 0; overflow: hidden; border-radius: 4px; background: var(--bg-3);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 26px 50px -22px rgba(0, 0, 0, .95);
}
.cover-float__slot { position: absolute; inset: 0; }
.cover-float__slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateY(101%); }
.cover-float__shine {
  position: absolute; top: -25%; bottom: -25%; left: 0; width: 40%; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .24) 50%, rgba(255, 255, 255, 0));
  transform: translateX(-180%) skewX(-14deg);
}

/* ---------- about ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 120px); align-items: center;
}
.about__media {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; background: var(--bg-3);
}
.about__media img {
  position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; object-position: 50% 60%;
  transform: translateY(var(--py, 0px));
}
.about__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(6, 6, 7, .7), transparent 45%), radial-gradient(60% 40% at 100% 30%, rgba(var(--red-rgb), .18), transparent 70%);
}
.about__curtain { display: none; }
.js .about__curtain {
  display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: var(--bg); transform-origin: 50% 0;
}
.js .about__media.is-in .about__curtain { transform: scaleY(0); transition: transform 1.5s var(--ease-io); }
.js .about__media img { scale: 1.22; }
.js .about__media.is-in img { scale: 1; transition: scale 2.2s var(--ease), opacity .7s var(--ease); }

.about__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; justify-items: start; }
.about__statement { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5.8vw, 5.4rem); line-height: 1; letter-spacing: -.02em; }
.about__statement em { color: #ffe9eb; text-shadow: var(--glow-lg); }
.about__text { max-width: 50ch; color: var(--text-2); font-size: 1.06rem; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin-top: 12px; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; gap: 8px; padding: 24px 16px 0 0; }
.stat[hidden] { display: none; }
.about__contact { display: grid; justify-items: start; gap: 8px; margin-top: 30px; }
.about__mail {
  font-family: var(--serif); font-size: min(clamp(1.45rem, 2.6vw, 2.1rem), 6.4vw); line-height: 1.15; letter-spacing: -.01em;
  max-width: 100%; overflow-wrap: anywhere;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
@media (hover: hover) { .about__mail:hover { color: #fff; background-size: 100% 1px; } }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat__n { font-family: var(--serif); font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__n--red { color: var(--red); text-shadow: var(--glow); }

/* ---------- listen ---------- */
.links { border-top: 1px solid var(--line); }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(28px, 3.4vw, 44px); }
.also .label { margin-right: 8px; }
.also__link {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
  transition: color .3s, border-color .3s, background-color .3s;
}
.also__link svg { opacity: .7; }
@media (hover: hover) { .also__link:hover { color: var(--text); border-color: var(--red); background: rgba(var(--red-rgb), .08); } }
@media (max-width: 560px) { .also .label { flex-basis: 100%; margin: 0 0 2px; } }
.link-row {
  position: relative; z-index: 0; overflow: hidden;
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto auto; align-items: center;
  column-gap: clamp(12px, 2.4vw, 36px);
  padding: clamp(20px, 2.8vw, 38px) clamp(0px, 1.2vw, 18px);
  border-bottom: 1px solid var(--line);
}
.link-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  transform: translateY(101%);
  transition: transform .65s var(--ease);
}
.link-row:focus-visible::before { transform: none; }
@media (hover: hover) { .link-row:hover::before { transform: none; } }
.link-row__idx { font-size: .74rem; letter-spacing: .14em; color: var(--text-3); transition: color .4s; }
.link-row__name { font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 5.6rem); line-height: 1.02; letter-spacing: -.02em; transition: transform .7s var(--ease); }
.link-row__desc { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); transition: color .4s; }
.link-row__arrow {
  display: grid; place-items: center;
  width: clamp(46px, 5vw, 66px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: transform .7s var(--ease), background-color .4s, color .4s, border-color .4s;
}
@media (hover: hover) { .link-row:hover .link-row__name { transform: translateX(16px); } }
@media (hover: hover) { .link-row:hover .link-row__idx, .link-row:hover .link-row__desc { color: #fff; } }
@media (hover: hover) { .link-row:hover .link-row__arrow { transform: rotate(45deg); background: #fff; color: var(--red); border-color: #fff; } }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; padding: clamp(64px, 7.5vw, 104px) var(--pad) 28px; border-top: 1px solid var(--line); transition: padding-bottom .6s var(--ease); }
.player-open .footer { padding-bottom: 132px; }
.footer::before {
  content: ""; position: absolute; left: 50%; bottom: -30%; z-index: -1; width: 90vw; height: 60%;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--red-rgb), .16), transparent);
  pointer-events: none;
}
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; max-width: var(--max); margin: 0 auto; }
.footer__cta { display: flex; flex-wrap: wrap; gap: 10px; }
/* fan list sign-up: the copy on the left, the field on the right (stacked on phones) */
.signup {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 16px clamp(24px, 4vw, 64px);
  max-width: var(--max); margin: clamp(40px, 5vw, 64px) auto 0; padding: clamp(26px, 3vw, 40px) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.signup__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.02; letter-spacing: -.02em; }
.signup__note { margin: 10px 0 0; max-width: 46ch; font-size: .95rem; color: var(--text-2); }
.signup__row { position: relative; display: flex; gap: 10px; }
.signup__input {
  flex: 1; min-width: 0; height: 54px; padding: 0 22px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(236, 231, 223, .03);
  font: inherit; font-size: 1rem; color: var(--text); /* 16px: phones don't zoom in on it */
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.signup__input::placeholder { color: var(--text-3); }
.signup__input:focus { outline: none; border-color: var(--red); background: rgba(var(--red-rgb), .05); box-shadow: 0 0 0 3px rgba(var(--red-rgb), .22); }
.signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.signup__btn { flex: none; }
.signup__btn:disabled { opacity: .6; cursor: progress; }
.signup__msg { grid-column: 2; min-height: 1.4em; margin: -4px 0 0 22px; font-size: .86rem; color: var(--text-2); }
.signup__msg.is-error { color: var(--red); }
.signup.is-done .signup__msg { color: var(--text); }
@media (max-width: 860px) {
  .signup { grid-template-columns: minmax(0, 1fr); }
  .signup__msg { grid-column: 1; margin-left: 4px; }
}
@media (max-width: 420px) {
  .signup__row { flex-direction: column; }
  .signup__input { flex: none; } /* stacked, "flex: 1" would squash it to a sliver */
  .signup__btn { width: 100%; }
}
/* the same box under the song list: a band between the Music and About sections */
.fanlist { padding: 0 var(--pad); }
.signup--mid { margin-top: 0; }
.signup--mid .signup__title { font-size: clamp(1.7rem, 2.9vw, 2.6rem); }
.wordmark-wrap { max-width: var(--max); margin: clamp(40px, 6vw, 80px) auto clamp(28px, 4vw, 48px); text-align: center; }
.wordmark {
  display: inline-block; white-space: nowrap;
  font-family: var(--serif); font-weight: 400; font-size: 11vw; line-height: .9; letter-spacing: -.035em;
  user-select: none; -webkit-user-select: none;
}
.wordmark .ch {
  position: relative; display: inline-block; color: transparent;
  -webkit-text-stroke: 1px rgba(236, 231, 223, .3);
}
/* a pre-lit copy of each letter fades in on top: opacity only, so lighting letters never repaints */
.wordmark .ch::after {
  content: attr(data-ch); position: absolute; left: 0; top: 0;
  color: #ffe9eb; -webkit-text-stroke: 0; text-shadow: var(--glow-lg);
  opacity: 0; transition: opacity 1.2s var(--ease);
}
/* kept ready (a layer each) only while the footer is on screen: off screen, those ~27 layers slowed every frame */
.footer:not(.is-offscreen) .wordmark .ch::after { will-change: opacity; }
.wordmark .ch.is-lit::after { opacity: 1; transition-duration: .06s; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  max-width: var(--max); margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a, .footer__totop { transition: color .3s; }
@media (hover: hover) { .footer__links a:hover, .footer__totop:hover { color: var(--text); } }

/* ---------- preview player: a little record deck ---------- */
.player {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 65;
  width: min(900px, calc(100% - 24px));
  transform: translate(-50%, 160%);
  transition: transform .9s cubic-bezier(.34, 1.22, .64, 1);
}
.player.is-visible { transform: translateX(-50%); }
/* live spectrum rising out of the top edge (bass in the middle) */
.player__viz { position: absolute; left: 32px; bottom: calc(100% - 1px); width: calc(100% - 64px); height: 40px; pointer-events: none; }
.player__deck {
  position: relative; overflow: hidden;
  display: grid; align-items: center; gap: 18px;
  grid-template-columns: auto minmax(110px, .9fr) minmax(0, 1.7fr) auto auto;
  grid-template-areas: "disc meta scrub controls close";
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--line-2); border-radius: 22px;
  background: linear-gradient(180deg, #19191c, #0b0b0d);
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.player__glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 40px rgba(var(--red-rgb), .42), inset 0 0 0 1px rgba(var(--red-rgb), .55);
  opacity: 0;
}

/* spinning record with the song's cover as the label, and a tonearm that drops on play */
.player__disc { --d: 58px; grid-area: disc; position: relative; width: var(--d); height: var(--d); margin-right: 6px; }
.js .player__disc { transform: translateX(-24px) rotate(-120deg); opacity: 0; transition: transform 1s var(--ease) .2s, opacity .6s .2s; }
.player.is-visible .player__disc { transform: none; opacity: 1; }
.player__vinyl {
  position: absolute; inset: 0; border-radius: 50%;
  background: url("../assets/vinyl.webp") center / 100% 100% no-repeat;
  box-shadow: 0 0 0 1px rgba(var(--red-rgb), .25), 0 6px 16px -6px rgba(0, 0, 0, .9);
  animation: spin 1.8s linear infinite; animation-play-state: paused;
}
.player.is-playing .player__vinyl { animation-play-state: running; }
.player__label {
  position: absolute; inset: 30%; border-radius: 50%;
  background: var(--bg-3) center / cover no-repeat;
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .6);
}
.player__label::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14%; height: 14%;
  border-radius: 50%; background: var(--bg); transform: translate(-50%, -50%);
}
.player__arm {
  position: absolute; right: -9px; top: -7px; z-index: 2; width: 14px; height: 14px;
  transform: rotate(-12deg); transform-origin: 7px 7px; /* at rest: beside the record, clear of the title */
  transition: transform .9s var(--ease);
}
.player__arm::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, #e6e1d9 0 28%, #6b6762 31% 58%, #29292d 61%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .8);
}
.player__arm::after {
  content: ""; position: absolute; left: 5.5px; top: 7px; width: 3px; height: calc(var(--d) * .6);
  border-radius: 2px 2px 3px 3px;
  background: linear-gradient(#d9d4cc, #8f8b86 80%, #f4efe7 80%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .6);
}
/* playing: the stylus on the record, creeping inward as the song plays (--p, 0 to 1, is set by the script) */
.player.is-playing .player__arm { transform: rotate(calc(14deg + var(--p, 0) * 12deg)); }
/* the phone menu is a full screen of its own: the mini player steps aside while it's open */
.menu-open .player.is-visible { transform: translate(-50%, 160%); }

/* the record + title are one big button that opens the full-screen player (links stay clickable on top) */
.player__open {
  grid-area: disc-start / disc-start / disc-end / meta-end; position: relative; z-index: 1;
  align-self: stretch; margin: -6px; border-radius: 16px;
  touch-action: none; /* swipe up here to open the full-screen player */
  transition: background-color .3s;
}
@media (hover: hover) { .player__open:hover { background: rgba(236, 231, 223, .035); } }
.player__open:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.player__top { display: flex; align-items: center; gap: 6px; }
.player__expand { width: 14px; height: 14px; color: var(--text-3); transition: transform .4s var(--ease), color .3s; }
@media (hover: hover) { .player__open:hover ~ .player__meta .player__expand { color: var(--text); transform: translateY(-2px); } }
.player__links { position: relative; z-index: 2; }
.player__meta { grid-area: meta; display: grid; gap: 3px; min-width: 0; }
.player__count { font-size: .6rem; font-weight: 600; letter-spacing: .22em; color: var(--red); font-variant-numeric: tabular-nums; }
.player.is-unavailable .player__count { letter-spacing: .1em; white-space: nowrap; }

/* the new-single card: slides up above the player once a visit, after someone has listened for a bit */
.nudge {
  position: fixed; left: 50%; z-index: 66;
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
  width: min(440px, calc(100% - 24px)); padding: 10px;
  border: 1px solid var(--line-2); border-radius: 18px;
  background: linear-gradient(180deg, #1b1b1f, #0d0d10);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--red-rgb), .16), inset 0 1px 0 rgba(255, 255, 255, .05);
  transform: translate(-50%, 14px); opacity: 0;
  transition: transform .6s var(--ease), opacity .4s;
}
.nudge.is-in { transform: translate(-50%, 0); opacity: 1; }
.menu-open .nudge { opacity: 0; pointer-events: none; }
.nudge__art { width: 46px; height: 46px; border-radius: 8px; background: var(--bg-3) center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.nudge__text { display: grid; gap: 4px; min-width: 0; }
.nudge__label { display: flex; align-items: center; gap: .6em; min-width: 0; overflow: hidden; font-size: .58rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.nudge__label > span { overflow: hidden; text-overflow: ellipsis; }
.nudge__label .dot { width: 6px; height: 6px; }
.nudge__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; }
.nudge__go {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 999px;
  background: var(--red); color: #fff;
  font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(var(--red-rgb), .9);
  transition: background-color .3s, color .3s;
}
@media (hover: hover) { .nudge__go:hover { background: var(--text); color: var(--bg); } }
.nudge__x { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--text-3); transition: color .3s, background-color .3s; }
@media (hover: hover) { .nudge__x:hover { color: var(--text); background: rgba(236, 231, 223, .06); } }
/* small phones: a tighter card, so the single's name has room */
@media (max-width: 420px) {
  .nudge { grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 10px; padding: 9px; border-radius: 16px; }
  .nudge__art { width: 40px; height: 40px; }
  .nudge__title { font-size: 1.05rem; }
  .nudge__go { gap: 6px; padding: 0 13px; }
  .nudge__go .arrow { display: none; }
  .nudge__x { width: 26px; }
}
@media (max-width: 340px) {
  .nudge { grid-template-columns: minmax(0, 1fr) auto auto; padding-left: 14px; }
  .nudge__art { display: none; }
}
/* "Hear the full song": slides up above the player when a 30-second preview ends, with the song's Spotify and
   Apple Music links. A thin line under "Next preview" counts down to the next one starting by itself. */
.handoff {
  position: fixed; left: 50%; z-index: 66;
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  width: min(440px, calc(100% - 24px)); padding: 12px;
  border: 1px solid rgba(var(--red-rgb), .45); border-radius: 18px;
  background: linear-gradient(180deg, #1b1b1f, #0d0d10);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9), 0 0 40px -12px rgba(var(--red-rgb), .55), inset 0 1px 0 rgba(255, 255, 255, .05);
  transform: translate(-50%, 14px); opacity: 0;
  transition: transform .6s var(--ease), opacity .4s;
}
.handoff.is-in { transform: translate(-50%, 0); opacity: 1; }
.menu-open .handoff { opacity: 0; pointer-events: none; }
.handoff__art { width: 46px; height: 46px; border-radius: 8px; background: var(--bg-3) center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.handoff__text { display: grid; gap: 4px; min-width: 0; }
.handoff__label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .58rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }
.handoff__title { font-family: var(--serif); font-size: 1.3rem; line-height: 1.15; }
.handoff__x { align-self: start; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--text-3); transition: color .3s, background-color .3s; }
@media (hover: hover) { .handoff__x:hover { color: var(--text); background: rgba(236, 231, 223, .06); } }
.handoff__go { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.handoff__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s;
}
.handoff__btn--red { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(var(--red-rgb), .9); }
@media (hover: hover) {
  .handoff__btn:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
}
.handoff__btn:active { scale: .97; }
.handoff__foot {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 14px;
  font-size: .62rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
}
.handoff__next, .handoff__mail { position: relative; padding: 7px 2px; letter-spacing: inherit; text-transform: inherit; transition: color .3s; }
.handoff__next { color: var(--text-2); }
@media (hover: hover) { .handoff__next:hover, .handoff__mail:hover { color: var(--text); } }
.handoff__bar { position: absolute; left: 2px; right: 2px; bottom: 2px; height: 1px; overflow: hidden; background: var(--line-2); }
.handoff__bar b { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.handoff.is-counting .handoff__bar b { animation: handoff-count 9s linear forwards; }
@keyframes handoff-count { to { transform: scaleX(1); } }
.handoff__mail { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
@media (max-width: 420px) {
  .handoff { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; padding: 10px; border-radius: 16px; }
  .handoff__art { width: 40px; height: 40px; }
  .handoff__title { font-size: 1.15rem; }
  .handoff__btn { height: 44px; letter-spacing: .12em; }
}

.player__title { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--serif); font-size: 1.28rem; line-height: 1.2; }
.player__title span { display: block; overflow: hidden; text-overflow: ellipsis; } /* block, so long titles end in … */
.player__links { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; }
.player__link { color: var(--text-3); transition: color .3s; }
@media (hover: hover) { .player__link:hover { color: var(--red); } }

/* scrubber: the song's real waveform; click, drag or use the arrow keys to seek */
.player__scrub { grid-area: scrub; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; }
.player__time { min-width: 2.4em; font-size: .7rem; letter-spacing: .04em; color: var(--text-3); font-variant-numeric: tabular-nums; }
.player__time[data-now] { color: var(--text); text-align: right; }
.player__wave { position: relative; height: 34px; cursor: pointer; touch-action: none; border-radius: 6px; outline-offset: 6px; }
.player__wave .wv--base, .np__wave .wv--base { opacity: .3; }
.player__wave .ph, .player__wave .pg, .np__wave .ph, .np__wave .pg { position: absolute; left: 0; top: -5px; bottom: -5px; width: 100%; pointer-events: none; }
.player__wave .ph::before, .player__wave .pg::before, .np__wave .ph::before, .np__wave .pg::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: #fff;
}
.player__wave .ph::before, .np__wave .ph::before { box-shadow: 0 0 10px rgba(var(--red-rgb), .95), 0 0 2px #fff; }
.player__wave .pg, .np__wave .pg { opacity: 0; transition: opacity .25s; }
.player__wave .pg::before, .np__wave .pg::before { background: rgba(236, 231, 223, .5); }
@media (hover: hover) { .player__wave:hover .pg, .np__wave:hover .pg { opacity: 1; } }

.player__controls { grid-area: controls; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color .3s, border-color .3s, color .3s, scale .25s var(--ease);
}
@media (hover: hover) { .icon-btn:hover { border-color: var(--red); color: var(--red); } }
.icon-btn:active { scale: .9; }
.player__toggle {
  position: relative; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 8px 26px -8px rgba(var(--red-rgb), .95);
  transition: scale .25s var(--ease), background-color .3s;
}
@media (hover: hover) { .player__toggle:hover { background: #ff3b4b; } }
.player__toggle:active { scale: .92; }
.player__toggle svg { grid-area: 1 / 1; transition: opacity .2s, transform .4s var(--ease); }
.player__toggle .i-pause { opacity: 0; transform: scale(.4) rotate(-90deg); }
.player__toggle.is-playing .i-play { opacity: 0; transform: scale(.4) rotate(90deg); }
.player__toggle.is-playing .i-pause { opacity: 1; transform: none; }
.player__pulse {
  position: absolute; inset: -5px; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(var(--red-rgb), .75); opacity: 0;
}
.player__close { grid-area: close; align-self: start; width: 30px; height: 30px; border-color: transparent; color: var(--text-3); }
@media (hover: hover) { .player__close:hover { color: var(--text); border-color: var(--line-2); } }

/* ---------- full-screen "now playing" ---------- */
.np {
  position: fixed; inset: 0; z-index: 75; overflow: hidden; /* above the nav and player, under the film grain */
  background: #070708; color: var(--text);
  transform: translateY(100%);
  transition: transform .75s cubic-bezier(.16, 1, .3, 1);
  overscroll-behavior: contain;
}
.np[hidden] { display: none; }
.np.is-open { transform: none; }
.np.is-dragging { transition: none; }
.np__bg { position: absolute; inset: 0; pointer-events: none; }
.np__bg-img {
  position: absolute; left: -15%; top: -15%; width: 130%; height: 90%; object-fit: cover;
  filter: blur(46px) saturate(1.35); opacity: 0; transition: opacity 1s;
}
.np__bg-img.is-in { opacity: .5; }
.np__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(130% 75% at 50% 28%, rgba(7, 7, 8, .2), rgba(7, 7, 8, .78) 55%, #070708 88%);
}
.np__sheet {
  position: relative; z-index: 1;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto auto; justify-items: center; align-items: center;
  gap: clamp(10px, 2.4dvh, 26px);
  width: min(100%, 560px); height: 100%; margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 22px max(22px, env(safe-area-inset-bottom));
  touch-action: none; /* drag down to close */
  user-select: none; -webkit-user-select: none;
}
.np__top { justify-self: stretch; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; text-align: center; }
.np__close { width: 46px; height: 46px; border-color: transparent; color: var(--text-2); }
.np__label { display: grid; justify-items: center; gap: 8px; font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--text-2); }
.np__grab { width: 38px; height: 4px; border-radius: 2px; background: rgba(236, 231, 223, .22); }
.np__count { justify-self: end; font-size: .64rem; font-weight: 600; letter-spacing: .16em; color: var(--red); font-variant-numeric: tabular-nums; }

/* the record, its glow and a ring of the song's spectrum (bass at the bottom, treble at the top) */
.np__stage { --disc: min(60vw, 37dvh, 360px); position: relative; width: var(--disc); height: var(--disc); }
.np__halo {
  position: absolute; inset: -22%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--red-rgb), .5), rgba(var(--red-rgb), .16) 52%, rgba(var(--red-rgb), 0) 74%);
  opacity: .28; transform: scale(.92);
}
.np__ring { position: absolute; left: -35%; top: -35%; width: 170%; height: 170%; max-width: none; pointer-events: none; }
.np__disc { position: absolute; inset: 0; transform: scale(.82) rotate(-60deg); opacity: 0; transition: transform 1.1s var(--ease) .12s, opacity .6s .12s; }
.np.is-open .np__disc { transform: none; opacity: 1; }
.np__vinyl {
  position: absolute; inset: 0; border-radius: 50%;
  background: url("../assets/vinyl.webp") center / 100% 100% no-repeat;
  box-shadow: 0 0 0 1px rgba(var(--red-rgb), .3), 0 30px 70px -24px rgba(0, 0, 0, .95);
  animation: spin 2.4s linear infinite; animation-play-state: paused;
}
.np.is-playing .np__vinyl { animation-play-state: running; }
.np__cover {
  position: absolute; inset: 31%; border-radius: 50%;
  background: var(--bg-3) center / cover no-repeat;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .6);
}
.np__cover::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9%; height: 9%;
  border-radius: 50%; background: #070708; transform: translate(-50%, -50%);
}

/* the tonearm, like the mini player's: it rests beside the record, outside the ring, and while the song plays it sits
   on the record and creeps from the outer grooves toward the label (--p, 0 to 1, is set by the script) */
.np__arm {
  position: absolute; left: calc(var(--disc) * 1.1); top: 0; z-index: 2;
  width: calc(var(--disc) * .09); aspect-ratio: 1;
  translate: -50% -50%; transform: rotate(-4deg);
  opacity: 0; transition: transform 1s var(--ease), opacity .6s .35s;
}
.np.is-open .np__arm { opacity: 1; }
.np.is-playing .np__arm { transform: rotate(calc(15deg + var(--p, 0) * 19deg)); }
.np__arm::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, #e6e1d9 0 26%, #6b6762 30% 56%, #29292d 60%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .8);
}
.np__arm::after {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1;
  width: calc(var(--disc) * .022); height: calc(var(--disc) * .62);
  translate: -50% 0; border-radius: 3px 3px 5px 5px;
  background: linear-gradient(#d9d4cc, #8f8b86 84%, #f4efe7 84%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .6);
}
.np__meta { display: grid; justify-items: center; gap: 10px; max-width: 100%; text-align: center; }
.np__title {
  max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  padding: .04em .12em .08em;
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 10vw, 3.4rem); line-height: 1.02; letter-spacing: -.02em;
}
.np__sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); }
.np__bpm { color: var(--text-2); font-variant-numeric: tabular-nums; }
/* four dots that light up with each beat of the bar */
.np__beats { display: inline-flex; gap: 6px; }
.np__beats i { width: 6px; height: 6px; border-radius: 50%; background: rgba(236, 231, 223, .18); transition: background-color .35s, box-shadow .35s; }
.np__beats i.is-on { background: var(--red); box-shadow: 0 0 10px rgba(var(--red-rgb), .95); transition-duration: 0s; }

.np__scrub { justify-self: stretch; display: grid; gap: 10px; }
.np__wave { position: relative; height: 48px; cursor: pointer; touch-action: none; border-radius: 6px; outline-offset: 6px; }
.np__times { display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .04em; color: var(--text-3); font-variant-numeric: tabular-nums; }
.np__times [data-np-now] { color: var(--text); }

.np__controls { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 9vw, 44px); }
.np__controls .icon-btn { width: 56px; height: 56px; border-color: transparent; color: var(--text); }
.np__toggle {
  position: relative; display: grid; place-items: center;
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--red); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 14px 40px -12px rgba(var(--red-rgb), .95);
  transition: scale .25s var(--ease), background-color .3s;
}
@media (hover: hover) { .np__toggle:hover { background: #ff3b4b; } }
.np__toggle:active { scale: .93; }
.np__toggle svg { grid-area: 1 / 1; transition: opacity .2s, transform .4s var(--ease); }
.np__toggle .i-pause { opacity: 0; transform: scale(.4) rotate(-90deg); }
.np__toggle.is-playing .i-play { opacity: 0; transform: scale(.4) rotate(90deg); }
.np__toggle.is-playing .i-pause { opacity: 1; transform: none; }
.np__pulse {
  position: absolute; inset: -6px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(var(--red-rgb), .75); opacity: 0;
}
.np__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* the new single, under Spotify / Apple Music, on screens tall enough for one more line (the record keeps its size) */
.np__new {
  display: none; align-items: center; gap: 9px; height: 36px; padding: 0 16px;
  border: 1px solid rgba(var(--red-rgb), .5); border-radius: 999px;
  font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  transition: color .3s, background-color .3s, border-color .3s;
}
.np__new .dot { width: 6px; height: 6px; }
@media (hover: hover) { .np__new:hover { color: #fff; background: rgba(var(--red-rgb), .14); border-color: var(--red); } }
@media (min-height: 800px) { .np__new { display: inline-flex; } }
/* a preview that can't load: said under the title */
.np.is-unavailable .np__sub > * { display: none; }
.np.is-unavailable .np__sub::before { content: "Preview unavailable · it's on Spotify and Apple Music"; color: var(--red); }
/* a preview that just ended: said under the title, and the song's two links light up (a thin line under them counts
   down to the next preview) */
.np.is-ended .np__sub > * { display: none; }
.np.is-ended .np__sub::before { content: "That was the preview · hear the full song"; color: var(--red); }
.np.is-ended [data-np-spotify] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 26px -10px rgba(var(--red-rgb), .9); }
.np.is-ended [data-np-apple] { border-color: var(--text-2); color: var(--text); }
.np__links { position: relative; }
.np.is-ended.is-counting .np__links::after {
  content: ""; position: absolute; left: 30%; right: 30%; bottom: -7px; height: 2px; border-radius: 2px;
  background: rgba(var(--red-rgb), .85); transform: scaleX(0); transform-origin: 0 50%;
  animation: handoff-count 9s linear forwards;
}
.np__link {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
  transition: color .3s, border-color .3s, background-color .3s;
}
@media (hover: hover) { .np__link:hover { color: var(--text); border-color: var(--red); background: rgba(var(--red-rgb), .1); } }

/* phones held sideways: record on the left, everything else on the right */
/* big monitors (27-inch and up): everything sized in rem (type, most spacing) grows by an eighth */
@media (min-width: 2200px) { html { font-size: 112.5%; } }

/* shorter screens (laptops, small phones): a slightly smaller record and tighter spacing, so the spectrum ring around
   the record has room and doesn't run into the title or "Now playing" */
@media (max-height: 820px) {
  .np__sheet { gap: clamp(8px, 1.6dvh, 16px); }
  .np__stage { --disc: min(60vw, 30dvh, 360px); }
  .np__title { font-size: clamp(1.9rem, 8vw, 2.7rem); }
  .np__wave { height: 40px; }
  .np__toggle { width: 64px; height: 64px; }
  .np__controls .icon-btn { width: 48px; height: 48px; }
}
@media (orientation: landscape) and (max-height: 560px) {
  .np__sheet {
    width: min(100%, 920px); grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto repeat(4, auto) 1fr;
    column-gap: clamp(28px, 6vw, 70px); row-gap: 12px; align-content: start;
    padding-inline: max(22px, env(safe-area-inset-left)) max(22px, env(safe-area-inset-right));
  }
  .np__top { grid-column: 1 / -1; }
  .np__stage {
    --disc: min(44dvh, 28vw); grid-column: 1; grid-row: 2 / span 5; align-self: center;
    margin-inline: calc(var(--disc) * .32) calc(var(--disc) * .1); /* room for the spectrum ring */
  }
  .np__meta, .np__scrub, .np__controls, .np__links { grid-column: 2; }
  .np__meta { justify-items: start; text-align: left; }
  .np__title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
}

/* ---------- scroll-linked motion, run by the browser (Chrome/Edge 115+, Safari 26+) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero { view-timeline: --hero block; }
    .hero__exit { animation: hero-exit linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
    .hero__title { animation: hero-title linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
    .hero__side { animation: hero-fade linear both; animation-timeline: --hero; animation-range: exit 0% exit 45%; }
    .progress span { animation: progress-grow linear both; animation-timeline: scroll(root block); }
    .about__media { view-timeline: --about block; }
    .about__media img { animation: about-parallax linear both; animation-timeline: --about; animation-range: cover 0% cover 100%; }
  }
}
@keyframes hero-exit { to { transform: translateY(70px) scale(.84); opacity: .1; } }
@keyframes hero-title { to { transform: translateY(-110px); } }
@keyframes hero-fade { to { opacity: 0; } }
@keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes about-parallax { from { transform: translateY(-7%); } to { transform: translateY(7%); } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero__side { gap: 28px; }
  .track__links a { padding: 0 10px; }
  .track__wave { width: clamp(110px, 15vw, 165px); } /* the titles keep their room on small laptops and tablets */
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }

  .release, .about { grid-template-columns: minmax(0, 1fr); }
  .release--flip .release__art { order: 0; justify-self: end; }
  .release__art { width: 100%; max-width: 560px; }
  .about__media { max-width: 560px; width: 100%; aspect-ratio: 5 / 4; }
}

@media (max-width: 860px) {
  .hero__side--l { display: none; }
  .hero__side--r {
    left: 0; right: 0; top: calc(var(--nav-h) + 10px); bottom: auto;
    align-items: center; text-align: center;
  }
  .hero__side--r .hero__meta { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 12px; }
  .hero__next {
    padding: 9px 22px 10px; border: 1px solid var(--line-2); border-radius: 22px;
    background: rgba(12, 12, 14, .72);
  }
  .hero__side--r .hero__next { flex-direction: column; flex-wrap: nowrap; gap: 3px; }
  .hero__l2 { display: inline; }
  .hero__next-title { font-size: 1.05rem; }
  .hero__next .label--red { display: none; }
  .hero__emblem { width: min(86vw, 50vh); }
  .hero__stage { margin-top: 0; }
  .hero__title { white-space: normal; font-size: clamp(3.2rem, 19vw, 7.6rem); line-height: .88; }
  .hero__title .w { display: block; width: fit-content; margin-inline: auto; }
  /* the first-screen button sits between the logo and the name; the logo keeps to the room between the pill at the
     top and the button (--ht is the name's letter size: two lines of it stand below the button) */
  .hero--cta {
    --ht: clamp(3.2rem, 19vw, 7.6rem);
    --hero-top: calc(var(--nav-h) + 78px);
    --hero-bot: calc(clamp(14px, 4vh, 44px) + var(--ht) * 1.76 + 88px);
    padding: var(--hero-top) 0 var(--hero-bot);
  }
  .hero--cta .hero__emblem { width: min(86vw, 50vh, 100vh - var(--hero-top) - var(--hero-bot)); width: min(86vw, 50vh, 100svh - var(--hero-top) - var(--hero-bot)); }
  .hero--cta .hero__cta {
    display: inline-flex; position: absolute; left: 0; right: 0; z-index: 4;
    bottom: calc(clamp(14px, 4vh, 44px) + var(--ht) * 1.76 + 22px);
    width: fit-content; max-width: calc(100% - 2 * var(--pad)); margin-inline: auto; height: 52px;
  }
  /* the pill and the button show up right after the intro, not a second later */
  .is-ready .hero__meta { transition-delay: .3s, .3s, 0s; }

  .track { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
  .track__play { grid-template-columns: 2rem 48px minmax(0, 1fr); column-gap: 12px; }
  .track__thumb { display: block; }
  .track__year { grid-column: 2; grid-row: 1; }
  .track__links { display: none; }
  .track__wave { display: none; grid-column: 1 / -1; grid-row: 2; width: auto; height: 28px; margin: -6px clamp(16px, 4vw, 32px) 16px calc(2rem + 48px + 24px); }
  .track.is-current .track__wave { display: block; }
  .track__title { font-size: clamp(1.5rem, 6.4vw, 2.6rem); }
  .track:hover .track__title { transform: none; }
  .tracks:hover .track:not(:hover):not(.is-current) .track__title { opacity: 1; }
  .track__play:active .track__title { opacity: .6; }

  .player-open .footer { padding-bottom: 180px; }
  .player__deck {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "disc meta controls close" "scrub scrub scrub scrub";
    gap: 10px 12px; padding: 10px 10px 12px 12px; border-radius: 20px;
  }
  .player__disc { --d: 48px; margin-right: 4px; }
  .player__prev { display: none; }
  .player__toggle { width: 46px; height: 46px; }
  .player__title { font-size: 1.1rem; }
  /* the song's Spotify / Apple Music links: small pills, easier to see and to hit with a thumb than plain words */
  .player__links { gap: 6px; margin-top: 2px; letter-spacing: .08em; }
  .player__link { position: relative; display: inline-block; height: 24px; padding: 0 8px; line-height: 22px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); }
  .player__link::after { content: ""; position: absolute; inset: -8px -3px; } /* the touch target reaches past the pill */
  .player__link .ar { display: none; }
  .player__wave { height: 28px; }
  .player__viz { left: 24px; width: calc(100% - 48px); height: 30px; }

  .link-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; padding-inline: 0; }
  .link-row__idx { display: none; }
  .link-row__desc { grid-row: 2; grid-column: 1; }
  .link-row__arrow { grid-row: 1 / span 2; grid-column: 2; }
}

/* short screens (phones held sideways): the hero fits the screen instead of running past it */
@media (max-height: 520px) {
  .hero { min-height: 0; }
  .hero__emblem { width: min(46vh, 74vw, 640px); }
  .hero__title { font-size: min(clamp(3.2rem, 10.4vw, 12rem), 20vh); }
}
/* ...and the menu: its links on the left, the button and links on the right, sized to the height */
@media (max-height: 520px) and (orientation: landscape) {
  .menu { flex-direction: row; align-items: flex-end; overflow-y: auto; padding-top: calc(var(--nav-h) + 8px); }
  .menu__links { align-self: flex-start; }
  .menu__links a { font-size: min(clamp(2.8rem, 13vw, 5rem), 13vh); }
  .menu__foot { width: min(44%, 380px); }
}
@media (max-width: 860px) and (max-height: 520px) {
  .hero__title { white-space: nowrap; font-size: min(10vw, 20vh); }
  .hero__title .w { display: inline-block; }
  .hero__side--r { display: none; }
  /* a phone held sideways: no room for the button either (the menu has one) */
  .hero--cta { padding: 0; }
  .hero--cta .hero__emblem { width: min(46vh, 74vw, 640px); }
  .hero--cta .hero__cta { display: none; }
}

@media (max-width: 520px) {
  .btn { height: 50px; padding: 0 22px; }
  .release__actions { justify-self: stretch; }
  .release__actions .btn { flex: 1 1 auto; }
  .stat dt { white-space: nowrap; letter-spacing: .16em; }
  .stats .stat + .stat { padding-left: 12px; }
  .stat { padding-right: 8px; }
  .icon-btn { width: 38px; height: 38px; }
  .player__link .lg { display: none; }
  .footer__bottom { justify-content: center; text-align: center; }
  .footer__links { justify-content: center; gap: 0 22px; }
  .footer__links a, .footer__totop { padding: 10px 0; }
  .menu__social { gap: 0 24px; }
  .menu__social a { padding: 10px 0; }
}

/* small phones: the mini player keeps title + controls; the song's links live in the full-screen player */
@media (max-width: 380px) {
  .player__links { display: none; }
  .player.is-unavailable .player__links { display: flex; } /* the message points to them */
  .stat { padding-right: 4px; }
  .stats .stat + .stat { padding-left: 10px; }
  .stat__n { font-size: min(2.4rem, 10vw); }
  .stat dt { font-size: min(.72rem, 3.5vw); letter-spacing: .1em; }
}

/* phones: cards become rows (cover on the left) */
@media (max-width: 560px) {
  .releases__grid { gap: 0; }
  .releases .release--card {
    grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px;
    padding: 22px 0; border-top: 1px solid var(--line);
  }
  .releases .release--card .release__art { order: 0; justify-self: start; }
  .releases .release--card .release__card { width: 100%; }
  .releases .release--card .vinyl { display: none; }
  .releases .release--card .release__title { margin-top: 8px; font-size: 1.85rem; }
  .releases .release--card .countdown__unit { min-width: 44px; padding: 7px 4px 6px; }
  .releases .release--card .countdown__unit b { font-size: 1.08rem; }
  .releases .release--card .release__actions { justify-self: start; margin-top: 14px; }
  .releases .release--card .release__actions .btn { flex: none; }
  .releases .release--card .chip-btn { position: relative; width: 34px; padding: 0; justify-content: center; }
  .releases .release--card .chip-btn::after { content: ""; position: absolute; inset: -5px -3px; }
  .releases .release--card .release__info > .label { font-size: .7rem; }
  .releases .release--card .chip-btn span { display: none; }
  /* "Watch" and "Use this sound" keep their words: their icons alone wouldn't say enough */
  .releases .release--card .chip-btn--label { width: auto; padding: 0 12px; gap: 7px; }
  .releases .release--card .chip-btn--label span { display: inline; }
}

@media (hover: none) {
  .cover-float { display: 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;
    transition-delay: 0s !important;
  }
  .grain, .hero__rain { display: none; }
  .js [data-reveal], .js .hero__meta, .js .hero__stage, .js .hero__cta { opacity: 1 !important; transform: none !important; translate: none !important; }
  .js .char, .js [data-reveal="mask"] .mask > span { transform: none !important; }
  .js .about__curtain { display: none; }
  .js .about__media img { scale: 1; }
  .release__art .vinyl { transform: translateX(38%); }
  .release--flip .release__art .vinyl { transform: translateX(-38%); }
  .np__disc { transform: none; opacity: 1; }
}

/* older iPhones (iOS 15.0-15.3) don't know dvh units: the full-screen player's sizes fall back to vh there */
@supports not (height: 1dvh) {
  .np__sheet { gap: clamp(10px, 2.4vh, 26px); }
  .np__stage { --disc: min(60vw, 37vh, 360px); }
  @media (max-height: 820px) {
    .np__sheet { gap: clamp(8px, 1.6vh, 16px); }
    .np__stage { --disc: min(60vw, 30vh, 360px); }
  }
  @media (orientation: landscape) and (max-height: 560px) {
    .np__sheet { row-gap: 12px; column-gap: clamp(28px, 6vw, 70px); }
    .np__stage { --disc: min(44vh, 28vw); }
  }
}
