/* ============================================================
   REWIND // REPEAT — Phase 1 home page (design direction)
   Palette from Moodboard V.1.1: Signal-Neongelb, Night-Black,
   Graphit-Grau, Silber-Chrom (accent).
   ============================================================ */

@font-face { font-family: "Space Grotesk"; src: url("fonts/Space_Grotesk/SpaceGrotesk-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/Space_Grotesk/SpaceGrotesk-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/Space_Grotesk/SpaceGrotesk-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/Space_Grotesk/SpaceGrotesk-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/Space_Grotesk/SpaceGrotesk-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "RR Text"; src: url("fonts/R6R_Font/RR_Text_Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --neon: #dcf02c;
  --neon-hot: #e8ff3a;
  --neon-dim: rgba(220, 240, 44, .16);
  --black: #050505;
  --ink: #0b0b0c;
  --graphite: #202224;
  --graphite-2: #2e3033;
  --line: rgba(200, 203, 208, .14);
  --chrome: #c8cbd0;
  --white: #ecece8;
  --dim: #85888d;

  --display: "Space Grotesk", system-ui, sans-serif;
  --text: "RR Text", "Space Grotesk", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, canvas, svg { display: block; }
::selection { background: var(--neon); color: var(--black); }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 4px; }

.label {
  font-family: var(--text);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--dim);
}
.label b { color: var(--neon); font-weight: 400; }
.tnum { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- atmosphere: grain + scanlines + VHS rewind ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 90;
  background-image: var(--noise);
  opacity: .085;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); }
  40% { transform: translate(5%, -7%); } 60% { transform: translate(-3%, 8%); }
  80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); }
}
.scan {
  position: fixed; inset: 0; pointer-events: none; z-index: 89;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.018) 0 1px, transparent 1px 3px);
}
.vhs {
  position: fixed; inset: 0; pointer-events: none; z-index: 88;
  opacity: 0; transition: opacity .25s;
  overflow: hidden;
}
.vhs::before, .vhs::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14vh;
  background: linear-gradient(to bottom, transparent, rgba(220,240,44,.05) 30%, rgba(255,255,255,.08) 50%, rgba(220,240,44,.04) 70%, transparent);
  mix-blend-mode: screen;
  animation: track 1.1s linear infinite;
}
.vhs::after { height: 4vh; animation-duration: .7s; animation-delay: -.3s; background: rgba(255,255,255,.05); }
@keyframes track { from { transform: translateY(110vh); } to { transform: translateY(-20vh); } }
body.rew .vhs { opacity: 1; }
body.rew .echo-rgb { text-shadow: -3px 0 rgba(255, 0, 90, .45), 3px 0 rgba(0, 220, 255, .35); }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}
.cursor-dot {
  position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: var(--neon);
}
.cursor-ring {
  position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border-radius: 50%; border: 1px solid rgba(200, 203, 208, .5);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s;
}
.cursor-ring span {
  font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--black); opacity: 0; transition: opacity .2s;
}
.cursor.is-label .cursor-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--neon); border-color: var(--neon); }
.cursor.is-label .cursor-ring span { opacity: 1; }
.cursor.is-label .cursor-dot { opacity: 0; }
.cursor.is-down .cursor-ring { transform: scale(.85); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  pointer-events: none;
}
.loader-half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--black); }
.loader-half.top { top: 0; } .loader-half.bot { bottom: 0; }
.loader-inner { position: relative; text-align: center; display: grid; gap: 18px; justify-items: center; }
.loader-tc {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, 9vw, 120px); letter-spacing: -.02em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.loader-tc .lff { display: inline-block; width: .56em; height: .47em; margin-right: .3em; vertical-align: .04em; fill: var(--neon); }
.loader-bar { width: min(420px, 70vw); height: 1px; background: var(--graphite-2); position: relative; overflow: hidden; }
.loader-bar i { position: absolute; inset: 0; background: var(--neon); transform-origin: right; transform: scaleX(0); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  mix-blend-mode: difference;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand .brand-mark { width: auto; height: 22px; color: var(--white); }
.nav { display: flex; gap: 34px; }
.nav a { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; position: relative; padding: 4px 0; overflow: hidden; display: inline-block; }
.nav a span { display: block; transition: transform .5s var(--ease); }
.nav a span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--neon); }
.nav a:hover span { transform: translateY(-100%); }
.head-right { display: flex; align-items: center; gap: 22px; }
.snd {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
}
.snd-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.snd-bars i { width: 2px; height: 3px; background: currentColor; transition: height .2s; }
.snd.on { color: var(--neon); }
.snd.on .snd-bars i { animation: eq .9s ease-in-out infinite alternate; }
.snd.on .snd-bars i:nth-child(2) { animation-delay: -.3s; } .snd.on .snd-bars i:nth-child(3) { animation-delay: -.6s; } .snd.on .snd-bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }
.menu-btn { display: none; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 79; background: var(--black);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io);
}
.mobile-menu.open { clip-path: inset(0 0 0 0); }
.mobile-menu a { font-family: var(--display); font-weight: 700; font-size: 15vw; line-height: .95; letter-spacing: -.04em; }
.mobile-menu a:hover { color: var(--neon); }

/* ---------- HUD (tape deck status) ---------- */
.hud {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 18px var(--gutter);
  pointer-events: none;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--dim);
  mix-blend-mode: difference;
}
.hud-state { display: flex; align-items: center; gap: 14px; }
.hud-mode { color: var(--white); display: inline-flex; gap: 8px; align-items: center; min-width: 76px; }
.hud-mode svg { width: 14px; height: 10px; }
body.rew .hud-mode { color: var(--neon); }
.hud-tc { font-family: var(--display); font-size: 13px; letter-spacing: .12em; color: var(--white); font-variant-numeric: tabular-nums; }
.hud-right { text-align: right; display: grid; gap: 4px; }
.hud-keys { opacity: .7; }
.hud-keys kbd { font-family: var(--display); border: 1px solid currentColor; padding: 1px 5px; margin-right: 4px; letter-spacing: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  overflow: hidden;
  display: grid; place-items: center;
}
.hero-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-center { position: relative; z-index: 2; font-size: clamp(84px, 23vw, 340px); }
/* lockup geometry = the board's (844 × 246 units): ◀◀ 0–184, R&R 252–844, subtitle below */
.lockup { position: relative; width: 3.6em; aspect-ratio: 844 / 246; }
.ff { position: absolute; left: 0; top: 2.846%; width: 21.8%; height: 62.6%; }
.ff svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 .06em rgba(220, 240, 44, .45)); }
.ff .ff-glitch { position: absolute; inset: 0; mix-blend-mode: screen; opacity: .9; }
.streaks { position: absolute; top: -8%; bottom: -8%; right: 8%; width: 170%; pointer-events: none; }
.streaks i { position: absolute; right: 0; height: 2px; background: var(--neon); border-radius: 2px; box-shadow: 0 0 8px rgba(220,240,44,.6); transform-origin: right; }
.tapeline {
  position: absolute; left: 30%; right: -60%; top: 50%; height: 1px; z-index: -1;
  background: linear-gradient(to right, transparent, var(--neon) 20%, rgba(220,240,44,.2) 70%, transparent);
  box-shadow: 0 0 10px rgba(220,240,44,.7);
}
.rr { position: absolute; left: 29.858%; top: 0; width: 70.142%; height: 68.293%; }
.rr-main, .rr-ghost {
  position: absolute; inset: 0;
  -webkit-mask: url("assets/rr-word.svg") center / 100% 100% no-repeat;
  mask: url("assets/rr-word.svg") center / 100% 100% no-repeat;
}
.rr-main {
  z-index: 10;
  background-color: #e4e4e0;
  background-image: var(--concrete), linear-gradient(180deg, #f6f6f2 0%, #d9dad6 45%, #b9bcc0 100%);
  background-size: 360px, 100% 100%;
  background-blend-mode: multiply;
}
.rr-ghost { will-change: transform; pointer-events: none; }
.rr-sub { position: absolute; left: 22.393%; top: 90.244%; width: 69.668%; height: 8.943%; overflow: visible; }
.hero-foot {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 70px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.hero-genres { display: grid; gap: 6px; }
.hero-genres .label { color: var(--chrome); }
.play-loop {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 22px 14px 14px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  transition: border-color .3s, background .3s, color .3s;
  backdrop-filter: blur(6px);
}
.play-loop .pl-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--neon); color: var(--black); display: grid; place-items: center; transition: transform .5s var(--ease); }
.play-loop .pl-ico svg { width: 12px; height: 12px; }
.play-loop:hover { border-color: var(--neon); }
.play-loop:hover .pl-ico { transform: rotate(-180deg); }
.play-loop .pl-pause { display: none; }
.play-loop.on .pl-play { display: none; } .play-loop.on .pl-pause { display: block; }
.scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 46px; background: var(--graphite-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--neon); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 4; padding: 60px 0; overflow: hidden; }
.mq-row { display: flex; white-space: nowrap; will-change: transform; }
.mq-row span { display: inline-flex; align-items: center; gap: .45em; padding-right: .45em; font-family: var(--display); font-weight: 700; letter-spacing: -.03em; text-transform: uppercase; }
.mq-a { background: var(--neon); color: var(--black); transform: rotate(-2.2deg); margin: 0 -2vw; padding: .1em 0; font-size: clamp(34px, 6.4vw, 96px); line-height: 1; }
.mq-b { margin: -.12em -2vw 0; transform: rotate(1.6deg); font-size: clamp(34px, 6.4vw, 96px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(200, 203, 208, .55); }
.mq-row svg { width: .6em; height: .45em; flex: none; }
.mq-a svg path { fill: var(--black); } .mq-b svg path { fill: var(--neon); }

/* ---------- shared section chrome ---------- */
.section { position: relative; overflow-x: clip; padding: clamp(100px, 16vh, 180px) var(--gutter); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(40px, 7vh, 80px); flex-wrap: wrap; }
.sec-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(48px, 9vw, 150px); line-height: .88; letter-spacing: -.05em;
  margin: 14px 0 0;
}
.sec-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.sec-title .ln > span { display: block; }
.sec-title em { font-style: normal; color: var(--neon); }
.sec-note { max-width: 360px; color: var(--dim); font-size: 15px; }

/* ---------- manifesto ---------- */
.manifesto { padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(40px, 6vh, 80px); }
.manifesto-text {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 4.6vw, 72px); line-height: 1.06; letter-spacing: -.035em;
  max-width: 17em; margin: 28px 0 0;
}
.manifesto-text .w { display: inline-block; opacity: .12; transition: color .3s; }
.manifesto-text .hl { color: var(--neon); }
.manifesto-text .ico { display: inline-block; width: .8em; vertical-align: -.02em; }
.manifesto-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(60px, 10vh, 120px); border-top: 1px solid var(--line); padding-top: 26px; max-width: 1100px; }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 88px); letter-spacing: -.05em; line-height: 1; color: var(--white); }
.stat b sup { font-size: .35em; color: var(--neon); vertical-align: top; margin-left: .15em; letter-spacing: 0; }

/* ---------- releases (pinned horizontal) ---------- */
.releases { padding-left: 0; padding-right: 0; overflow: hidden; }
.releases .sec-head { padding: 0 var(--gutter); }
.track { display: flex; gap: clamp(20px, 3vw, 44px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.rel { position: relative; width: clamp(260px, 30vw, 460px); flex: none; }
.rel-art { position: relative; aspect-ratio: 1; }
.rel-disc {
  position: absolute; inset: 3%; border-radius: 50%;
  background:
    radial-gradient(circle, var(--neon) 0 15%, #111 15.2% 16%, transparent 16.2%),
    repeating-radial-gradient(circle, #0d0d0d 0 1.1px, #1c1c1d 1.4px 2.4px),
    #0d0d0d;
  box-shadow: 0 0 0 1px #222, inset 0 0 40px rgba(0,0,0,.8);
  transition: transform .9s var(--ease);
}
.rel-disc::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 10%, rgba(255,255,255,.08) 14%, transparent 20% 60%, rgba(255,255,255,.06) 64%, transparent 70%); }
.rel-disc::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3%; height: 3%; margin: -1.5% 0 0 -1.5%; border-radius: 50%; background: var(--black); }
.rel-disc .spin { position: absolute; inset: 0; border-radius: 50%; animation: spin 1.8s linear infinite; animation-play-state: paused; background: conic-gradient(from 0deg, transparent 0 46%, rgba(220,240,44,.12) 50%, transparent 54%); }
.rel-sleeve { position: absolute; inset: 0; z-index: 2; overflow: hidden; background: var(--graphite); box-shadow: 0 30px 60px rgba(0,0,0,.5); transition: transform .9s var(--ease); }
.rel-sleeve canvas { width: 100%; height: 100%; }
.rel:hover .rel-disc, .rel:focus-within .rel-disc { transform: translateX(42%); }
.rel:hover .rel-disc .spin, .rel:focus-within .rel-disc .spin { animation-play-state: running; }
.rel:hover .rel-sleeve { transform: translateX(-4%) rotate(-1.5deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.rel-meta { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin-top: 22px; align-items: baseline; }
.rel-title { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -.03em; line-height: 1.05; }
.rel-cat { font-family: var(--display); color: var(--neon); font-size: 13px; letter-spacing: .1em; }
.rel-artist { color: var(--chrome); font-size: 14px; }
.rel-tags { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); text-align: right; }
.rel-end { display: grid; place-items: center; width: clamp(240px, 24vw, 360px); aspect-ratio: 1; flex: none; border: 1px solid var(--line); border-radius: 50%; align-self: flex-start; transition: background .5s, color .5s, border-color .5s; }
.rel-end span { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -.03em; text-align: center; line-height: 1.05; }
.rel-end:hover { background: var(--neon); color: var(--black); border-color: var(--neon); }

/* ---------- sound lab (genre sequencer) ---------- */
.sound { border-top: 1px solid var(--line); }
.lab { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.genres { display: grid; border-top: 1px solid var(--line); }
.genre {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 18px;
  padding: 24px 0; border-bottom: 1px solid var(--line); text-align: left;
  color: var(--dim); transition: color .4s;
  position: relative;
}
.genre::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.genre .gi { font-size: 12px; letter-spacing: .2em; }
.genre .gn { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 52px); letter-spacing: -.04em; line-height: 1; }
.genre .gb { font-family: var(--display); font-size: 13px; letter-spacing: .12em; }
.genre:hover { color: var(--chrome); }
.genre.active { color: var(--white); }
.genre.active::before { transform: scaleX(1); }
.genre.active .gb { color: var(--neon); }
.genre-desc { margin-top: 28px; max-width: 30em; color: var(--chrome); min-height: 5.5em; }

.deck { background: linear-gradient(180deg, #0d0d0e, #080808); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 2.4vw, 34px); position: relative; overflow: hidden; }
.deck-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.bpm { font-family: var(--display); font-weight: 700; font-size: clamp(72px, 9vw, 140px); letter-spacing: -.06em; line-height: .8; font-variant-numeric: tabular-nums; }
.bpm small { font-size: 14px; letter-spacing: .3em; color: var(--neon); margin-left: 10px; font-weight: 500; vertical-align: top; }
.deck-info { display: grid; gap: 6px; text-align: right; }
.seq { display: grid; gap: 8px; }
.seq-row { display: grid; grid-template-columns: 52px repeat(16, minmax(0, 1fr)); gap: 5px; align-items: center; }
.seq-row .rn { font-size: 10px; letter-spacing: .22em; color: var(--dim); }
.cell { aspect-ratio: 1; border-radius: 3px; background: #161718; position: relative; transition: background .25s, box-shadow .25s; }
.cell:nth-child(4n + 2) { margin-left: 0; }
.seq-row .cell:nth-of-type(4n + 1):not(:first-of-type) { margin-left: 5px; }
.cell.on { background: var(--graphite-2); box-shadow: inset 0 0 0 1px rgba(220,240,44,.5); }
.cell.now { background: #242628; }
.cell.on.now { background: var(--neon); box-shadow: 0 0 18px rgba(220,240,44,.7); }
.seq-steps { display: grid; grid-template-columns: 52px repeat(16, minmax(0, 1fr)); gap: 5px; margin-top: 4px; }
.seq-steps span { font-size: 9px; text-align: center; color: #45474b; font-family: var(--display); }
.seq-steps span:nth-of-type(4n + 1):not(:first-of-type) { margin-left: 5px; }
.seq-steps span.now { color: var(--neon); }
.deck-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 20px; flex-wrap: wrap; }
.scope { flex: 1; min-width: 160px; height: 44px; }

/* ---------- artists ---------- */
.artists { border-top: 1px solid var(--line); }
.a-list { border-top: 1px solid var(--line); }
.a-row {
  position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px;
  padding: clamp(14px, 2vh, 22px) 0; border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.a-row::before { content: ""; position: absolute; inset: 0; background: var(--neon); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.a-row > * { position: relative; z-index: 1; transition: color .4s; }
.a-idx { font-family: var(--display); font-size: 13px; color: var(--dim); letter-spacing: .1em; }
.a-name { position: relative; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 7.4vw, 124px); letter-spacing: -.05em; line-height: .95; white-space: nowrap; }
.a-name .g { position: absolute; left: 0; top: 0; color: transparent; -webkit-text-stroke: 1px rgba(5,5,5,.5); opacity: 0; transition: transform .7s var(--ease), opacity .4s; }
.a-meta { text-align: right; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.a-row:hover::before { transform: scaleY(1); }
.a-row:hover > * { color: var(--black); }
.a-row:hover .a-name .g { opacity: 1; }
.a-row:hover .a-name .g1 { transform: translateX(.08em); }
.a-row:hover .a-name .g2 { transform: translateX(.16em); opacity: .6; }
.a-row:hover .a-name .g3 { transform: translateX(.24em); opacity: .3; }
.a-float {
  position: fixed; left: 0; top: 0; z-index: 70; width: 280px; aspect-ratio: 4/5; pointer-events: none;
  overflow: hidden; border-radius: 4px; opacity: 0; transform: scale(.6);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.a-float canvas { width: 100%; height: 100%; position: absolute; inset: 0; transition: opacity .35s; }

/* ---------- the loop (scratch deck + newsletter) ---------- */
.loop { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.tt { position: relative; width: min(88%, 540px); aspect-ratio: 1; justify-self: center; touch-action: none; user-select: none; }
.tt-base { position: absolute; inset: -5%; border-radius: 22px; background: linear-gradient(145deg, #151617, #0a0a0b); border: 1px solid var(--line); }
.tt-platter { position: absolute; inset: 4%; border-radius: 50%; will-change: transform; }
.tt-platter .vinyl {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-radial-gradient(circle, #0c0c0c 0 1px, #1a1a1b 1.3px 2.3px),
    #0c0c0c;
  box-shadow: 0 0 0 1px #1f1f20, 0 20px 60px rgba(0,0,0,.8);
}
.tt-platter .shine { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 8%, rgba(255,255,255,.1) 12%, transparent 17% 55%, rgba(255,255,255,.07) 60%, transparent 65%); }
.tt-label { position: absolute; inset: 31%; border-radius: 50%; background: radial-gradient(circle, #111 0 60%, #070707 100%); box-shadow: 0 0 0 1px rgba(220,240,44,.25); color: var(--neon); display: grid; place-items: center; }
.tt-label svg { width: 100%; height: 100%; }
.tt-hole { position: absolute; left: 50%; top: 50%; width: 2.4%; height: 2.4%; transform: translate(-50%, -50%); background: #999; border-radius: 50%; }
.tt-arm { position: absolute; right: -2%; top: -2%; width: 14%; height: 70%; transform-origin: 50% 8%; transform: rotate(24deg); pointer-events: none; transition: transform 1s var(--ease); }
.tt-arm::before { content: ""; position: absolute; left: 50%; top: 0; width: 34%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #2a2b2d; border: 1px solid #3a3b3e; }
.tt-arm::after { content: ""; position: absolute; left: 50%; top: 6%; width: 5%; height: 88%; transform: translateX(-50%); background: linear-gradient(to right, #8d9095, #d6d8dc, #8d9095); border-radius: 4px; }
.tt-arm i { position: absolute; left: 50%; bottom: -2%; width: 28%; height: 11%; transform: translateX(-50%); background: #c8cbd0; border-radius: 3px; }
.tt-hint { position: absolute; left: 50%; bottom: -14%; transform: translateX(-50%); white-space: nowrap; }
.tt-dir { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; pointer-events: none; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 7vw, 90px); color: var(--neon); opacity: 0; text-shadow: 0 0 30px rgba(220,240,44,.6); }
.loop-copy .sec-title { font-size: clamp(48px, 7vw, 116px); }
.loop-copy p { color: var(--chrome); max-width: 28em; margin: 26px 0 36px; }
.signup { display: flex; border-bottom: 1px solid var(--chrome); max-width: 520px; transition: border-color .3s; }
.signup:focus-within { border-color: var(--neon); }
.signup input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--white); font: 500 clamp(18px, 2vw, 26px)/1 var(--display); padding: 16px 0; letter-spacing: -.02em; }
.signup input::placeholder { color: #55585c; }
.signup button { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--neon); padding-left: 16px; }
.signup-msg { margin-top: 14px; min-height: 1.5em; font-size: 13px; color: var(--neon); letter-spacing: .1em; }
.rewind-btn { margin-top: 44px; display: inline-flex; gap: 12px; align-items: center; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 100px; padding: 12px 20px; transition: border-color .3s, color .3s; }
.rewind-btn:hover { border-color: var(--neon); color: var(--neon); }
.rewind-btn svg { width: 16px; height: 12px; }

/* ---------- pull-up flash ---------- */
.pullup { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; pointer-events: none; visibility: hidden; }
.pullup-bg { position: absolute; inset: 0; background: var(--neon); transform: scaleY(0); }
.pullup-t { position: relative; font-family: var(--display); font-weight: 700; font-size: clamp(60px, 16vw, 260px); letter-spacing: -.06em; color: var(--black); line-height: .8; white-space: nowrap; }
.pullup-t .g { position: absolute; left: 0; top: 0; color: transparent; -webkit-text-stroke: 2px rgba(5,5,5,.45); }

/* ---------- footer ---------- */
.foot { position: relative; padding: clamp(80px, 12vh, 140px) var(--gutter) 90px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.badge { width: clamp(130px, 14vw, 190px); aspect-ratio: 1; position: relative; }
.badge svg { width: 100%; height: 100%; }
.badge svg { filter: drop-shadow(0 0 10px rgba(220,240,44,.35)); }
.badge .ring-in { animation: spin 26s linear infinite; transform-origin: 100px 100px; }
.foot-cols { display: flex; gap: clamp(40px, 7vw, 120px); flex-wrap: wrap; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col a { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; width: fit-content; background: linear-gradient(var(--neon), var(--neon)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.foot-col a:hover { background-size: 100% 1px; color: var(--neon); }
.foot-big { position: relative; margin-top: clamp(60px, 10vh, 120px); width: min(100%, 1400px); }
.foot-big svg { width: 100%; height: auto; overflow: visible; }
.foot-big .fb-g { will-change: transform; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .lab, .loop { grid-template-columns: 1fr; }
  .loop .tt { width: min(100%, 440px); margin-bottom: 40px; }
  .releases .track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; }
  .releases .track::-webkit-scrollbar { display: none; }
  .rel, .rel-end { scroll-snap-align: start; }
  .rel { width: 74vw; }
  .rel-end { width: 60vw; }
  .hud-keys { display: none; }
  .a-float { display: none; }
}
@media (max-width: 640px) {
  .snd-label { display: none; }
  .hero-foot { flex-direction: column; align-items: flex-start; bottom: 64px; }
  .scroll-cue { display: none; }
  .manifesto-meta { grid-template-columns: 1fr 1fr; }
  .a-row { grid-template-columns: 34px 1fr; }
  .a-meta { grid-column: 2; text-align: left; }
  .seq-row, .seq-steps { grid-template-columns: 38px repeat(16, minmax(0, 1fr)); gap: 3px; }
  .seq-row .cell:nth-of-type(4n + 1):not(:first-of-type), .seq-steps span:nth-of-type(4n + 1):not(:first-of-type) { margin-left: 2px; }
  .seq-row .rn { font-size: 8px; letter-spacing: .1em; }
  .hud { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .vhs::before, .vhs::after, .badge .ring-in, .scroll-cue i::after { animation: none; }
  .manifesto-text .w { opacity: 1; }
}
