/* =========================================================
   NIK NOIR — Melodic Techno
   ========================================================= */
:root {
  --bg: #070606;
  --bg-2: #0e0c0b;
  --ink: #ece4d8;
  --ink-2: #b9b0a4;
  --muted: #7c746b;
  --line: rgba(236, 228, 216, .12);
  --accent: #ec8a3c;
  --accent-2: #f6b46e;
  --glow: rgba(236, 138, 60, .45);
  --font: "Jost", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(16px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
em { font-style: normal; color: var(--accent-2); }

@media (pointer: fine) {
  body, a, button, input { cursor: none; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: grid; place-items: center;
  clip-path: inset(0 0 0 0);
}
.pre-inner { width: min(520px, 76vw); text-align: center; }
.pre-logo { width: 100%; opacity: 0; filter: blur(12px); clip-path: inset(0 50% 0 50%); }
.pre-bar { margin: 36px auto 18px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.pre-bar span { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(0); }
.pre-count { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; color: var(--muted); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 900; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
  will-change: transform;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 3%); }
  40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 7%); }
  80% { transform: translate(6%, -2%); }
}

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none; display: none; }
@media (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid rgba(236, 228, 216, .45);
  display: grid; place-items: center;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), background .3s, border-color .3s;
}
.cursor-label { font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; border-color: var(--accent); }
.cursor.has-label .cursor-ring { width: 84px; height: 84px; background: var(--accent); border-color: var(--accent); }
.cursor.has-label .cursor-label { opacity: 1; }
.cursor.has-label .cursor-dot { opacity: 0; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; right: 14px; top: 50%; height: 120px; width: 1px; background: var(--line); transform: translateY(-50%); z-index: 90; }
.scroll-progress span { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
@media (max-width: 760px) { .scroll-progress { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  transition: transform .6s var(--ease), background .4s, padding .4s;
}
.nav.scrolled { background: linear-gradient(to bottom, rgba(7, 6, 6, .85), rgba(7, 6, 6, 0)); padding-top: 14px; padding-bottom: 14px; }
.nav.hidden { transform: translateY(-110%); }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 3vw, 44px); }
.nav-links a {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 400;
  position: relative; overflow: hidden; display: inline-block; height: 1.6em; line-height: 1.6em;
}
.nav-links a span { display: inline-block; transition: transform .5s var(--ease); }
.nav-links a span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--accent); }
.nav-links a:hover span { transform: translateY(-100%); }
.nav-links a::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a.active::before { transform: scaleX(1); transform-origin: left; }
.nav-play { display: flex; align-items: center; gap: 12px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transition: border-color .3s, background .3s; }
.nav-play:hover { border-color: var(--accent); }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 100%; background: var(--accent); transform-origin: bottom; transform: scaleY(.25); }
.is-playing .eq i { animation: eq .9s ease-in-out infinite; }
.is-playing .eq i:nth-child(2) { animation-delay: -.3s; }
.is-playing .eq i:nth-child(3) { animation-delay: -.6s; }
.is-playing .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

.burger { display: none; width: 40px; height: 40px; position: relative; z-index: 120; }
.burger span { position: absolute; left: 8px; right: 8px; height: 1px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: grid; place-items: center;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .9s var(--ease);
  pointer-events: none;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); pointer-events: auto; }
.menu nav { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.menu a { font-size: clamp(36px, 10vw, 64px); font-weight: 200; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease-out), color .3s; }
.menu a:hover { color: var(--accent); }
.menu-open .menu a { opacity: 1; transform: none; }
.menu-open .menu a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu a:nth-child(3) { transition-delay: .35s; }
.menu-open .menu a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu a:nth-child(5) { transition-delay: .45s; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-play-label { display: none; }
  .nav { gap: 12px; }
  .nav-play { margin-left: auto; }
}

/* ---------- Common ---------- */
.section { position: relative; padding: clamp(100px, 16vw, 200px) var(--pad); }
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--accent);
}
.label i { width: 34px; height: 1px; background: currentColor; display: inline-block; }
.h2 {
  font-size: clamp(40px, 6.4vw, 104px); line-height: 1; font-weight: 200;
  letter-spacing: -.01em; text-transform: uppercase; margin: 26px 0 0;
}
.section-head { max-width: 1400px; margin: 0 auto clamp(48px, 7vw, 96px); }

/* split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display: grid; place-items: center; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: -6%; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.9) contrast(1.05); animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1%); } }
.hero-vignette { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse at 50% 45%, rgba(7, 6, 6, .1) 0%, rgba(7, 6, 6, .75) 60%, var(--bg) 100%),
  linear-gradient(to bottom, rgba(7, 6, 6, .6), transparent 30%, transparent 70%, var(--bg)); }
#particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }

.eclipse {
  position: absolute; inset: 0; margin: auto;
  width: min(68vh, 76vw); height: min(68vh, 76vw); z-index: -1;
}
.eclipse-glow {
  position: absolute; inset: -18%; border-radius: 50%;
  background: radial-gradient(circle, transparent 42%, rgba(236, 138, 60, .5) 50%, transparent 68%);
  filter: blur(20px);
  opacity: .36; will-change: opacity;
}
.eclipse-disc { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #15110f, #050404 70%); box-shadow: inset 0 0 60px rgba(0, 0, 0, .9); opacity: .92; }
.eclipse-ring {
  position: absolute; inset: -2px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 45%, rgba(246, 180, 110, .15) 60%, rgba(255, 196, 130, 1) 78%, rgba(236, 138, 60, .6) 84%, transparent 92%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: spin 14s linear infinite;
  filter: drop-shadow(0 0 8px rgba(246, 160, 90, .9));
}
.eclipse-ring.r2 { inset: -14px; opacity: .35; animation-duration: 26s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-line { position: absolute; left: 50%; width: 1px; background: linear-gradient(to bottom, transparent, var(--ink), transparent); transform: translateX(-50%) scaleY(0); }
.hero-line.top { top: 0; height: 22vh; transform-origin: top; }
.hero-line.bottom { bottom: 0; height: 22vh; transform-origin: bottom; }

.hero-content { text-align: center; position: relative; z-index: 2; width: 100%; padding: 0 var(--pad); }
.hero-logo { margin: 0 auto; width: min(1080px, 86vw); }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .8)); }
.hero-sub {
  margin-top: clamp(14px, 2.5vw, 30px);
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-size: clamp(11px, 1.1vw, 14px); letter-spacing: .5em; text-transform: uppercase; color: var(--ink-2);
}
.hero-sub i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero-cta {
  margin-top: clamp(28px, 4vw, 48px);
  display: inline-flex; align-items: center; gap: 16px;
  padding: 10px 26px 10px 10px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(7, 6, 6, .55);
  transition: border-color .4s, background .4s;
}
.hero-cta strong { font-weight: 500; color: var(--accent-2); }
.hero-cta:hover { border-color: var(--accent); background: rgba(236, 138, 60, .08); }
.cta-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; position: relative; }
.cta-icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent); animation: pulse 2s var(--ease-out) infinite; }
.cta-icon svg { width: 18px; fill: var(--bg); margin-left: 2px; }
@keyframes pulse { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.hero-meta { position: absolute; bottom: 38px; font-size: 13px; color: var(--ink-2); display: flex; gap: 14px; align-items: center; letter-spacing: .04em; }
.hero-meta .mono { color: var(--accent); }
.hero-meta.left { left: var(--pad); }
.hero-meta.right { right: var(--pad); }
.scroll-ind { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-ind i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-ind i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--accent); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
@media (max-width: 760px) { .hero-meta { display: none; } .hero-sub { letter-spacing: .3em; gap: 10px; } }

/* ---------- Marquee ---------- */
.marquee { padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.marquee-track { display: flex; width: max-content; }
.marquee-inner { display: flex; align-items: center; gap: clamp(24px, 3vw, 56px); padding-right: clamp(24px, 3vw, 56px); white-space: nowrap; will-change: transform; }
.marquee span { font-size: clamp(44px, 8vw, 128px); font-weight: 200; text-transform: uppercase; line-height: 1; letter-spacing: .02em; }
.marquee .outline { color: transparent; -webkit-text-stroke: 1px var(--ink-2); }
.marquee b { color: var(--accent); font-size: clamp(20px, 3vw, 44px); font-weight: 300; }

/* ---------- About ---------- */
.about-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 8vw, 140px); align-items: center; }
.about-media { position: relative; }
.about-img { aspect-ratio: 1; overflow: hidden; border-radius: 2px; position: relative; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-tag { position: absolute; left: 0; bottom: -32px; color: var(--muted); }
.about-circle { position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; display: grid; place-items: center; }
.about-circle svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.about-circle text { font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; fill: var(--ink-2); }
.about-circle > span { color: var(--accent); font-size: 26px; }
.about-text .lead { font-size: clamp(19px, 1.6vw, 24px); color: var(--ink); margin: 36px 0 22px; font-weight: 300; line-height: 1.5; }
.about-text p { color: var(--ink-2); max-width: 56ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(36px, 4vw, 60px); font-weight: 200; line-height: 1; color: var(--ink); }
.stat > span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-circle { right: -10px; top: -50px; width: 120px; height: 120px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

/* ---------- Music / Player ---------- */
.music { overflow: hidden; background: linear-gradient(to bottom, var(--bg), var(--bg-2) 40%, var(--bg)); }
.music-bg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none; z-index: 0; }
.music-bg span { font-size: clamp(120px, 26vw, 420px); font-weight: 500; line-height: .85; color: transparent; -webkit-text-stroke: 1px rgba(236, 228, 216, .05); white-space: nowrap; }
.music-bg span:last-child { align-self: flex-end; }
.music .section-head, .player, .platforms { position: relative; z-index: 1; }

.player {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(260px, 440px) 1fr; gap: clamp(36px, 6vw, 96px); align-items: center;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(135deg, rgba(24, 20, 18, .92), rgba(14, 12, 11, .88));
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55);
}
.player-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
#ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-disc {
  width: 64%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative;
  box-shadow: 0 0 0 1px rgba(236, 228, 216, .15);
  will-change: transform;
}
.art-disc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.art-hole { position: absolute; left: 50%; top: 50%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: var(--bg); transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(236, 228, 216, .15); }
.art-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 3px, rgba(0, 0, 0, .12) 3px 4px), radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .15), transparent 50%); pointer-events: none; }

.player-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px; font-size: 10px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.is-playing .live-dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.track-title { font-size: clamp(48px, 7vw, 108px); font-weight: 200; text-transform: uppercase; line-height: .95; margin-top: 24px; letter-spacing: -.01em; }
.track-artist { margin-top: 10px; letter-spacing: .3em; text-transform: uppercase; font-size: 13px; color: var(--ink-2); }
.track-artist span { color: var(--muted); }

.wave-wrap { position: relative; height: 84px; margin-top: 40px; touch-action: none; }
#wave { width: 100%; height: 100%; display: block; }
.wave-hover { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .2s; }
.wave-wrap:hover .wave-hover { opacity: .6; }
.sr-range { position: absolute; inset: 0; opacity: 0; width: 100%; pointer-events: none; }
.times { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); }

.controls { display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); margin-top: 28px; }
.ctrl { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.ctrl:hover { border-color: var(--accent); }
.ctrl svg { width: 22px; fill: var(--ink); }
.ctrl text { font-family: var(--mono); font-size: 6px; fill: var(--ink); }
.ctrl.small { width: 38px; height: 38px; border: 0; }
.ctrl.small svg { width: 20px; }
.play-btn {
  width: 76px; height: 76px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; position: relative;
  box-shadow: 0 10px 40px rgba(236, 138, 60, .35);
}
.play-ring { position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(236, 138, 60, .4); will-change: transform; pointer-events: none; }
.art-glow { position: absolute; width: 64%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 70px 10px rgba(236, 138, 60, .55); opacity: .25; will-change: opacity; pointer-events: none; }
.play-btn svg, .mini-play svg { width: 28px; fill: var(--bg); }
.i-pause { display: none; }
.is-playing .i-play { display: none; }
.is-playing .i-pause { display: block; }
.i-mute { display: none; }
.is-muted .i-vol { display: none; }
.is-muted .i-mute { display: block; }
.vol { display: flex; align-items: center; gap: 6px; margin-left: auto; }
#volume { -webkit-appearance: none; appearance: none; width: 110px; height: 2px; background: linear-gradient(to right, var(--ink) var(--v, 80%), var(--line) var(--v, 80%)); border-radius: 2px; outline: none; }
#volume::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 0; }
#volume::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 0; }

.platforms { max-width: 1200px; margin: 40px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.platforms .mono { color: var(--muted); margin-right: 8px; }
.pill { padding: 10px 20px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; position: relative; overflow: hidden; transition: color .4s, border-color .4s; isolation: isolate; }
.pill::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; border-radius: inherit; }
.pill:hover { color: var(--bg); border-color: var(--ink); }
.pill:hover::before { transform: none; }

@media (max-width: 900px) {
  .player { grid-template-columns: 1fr; }
  .player-art { max-width: 380px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) {
  .vol input { display: none; }
  .play-btn { width: 66px; height: 66px; }
}

/* ---------- Live ---------- */
.live { position: relative; }
.live-pin { height: 100vh; height: 100svh; position: relative; display: grid; place-items: center; overflow: hidden; }
.live-media { position: absolute; left: 50%; top: 50%; width: 34vw; height: 46vh; transform: translate(-50%, -50%); overflow: hidden; border-radius: 6px; z-index: 1; }
.live-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.live-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 6, 6, .9), rgba(7, 6, 6, .1) 55%, rgba(7, 6, 6, .3)); opacity: 0; }
.live-word { position: absolute; top: 50%; transform: translateY(-50%); font-size: clamp(48px, 10vw, 180px); font-weight: 200; text-transform: uppercase; line-height: 1; z-index: 2; white-space: nowrap; pointer-events: none; mix-blend-mode: difference; }
.live-word.left { right: calc(50% + 17vw + 2vw); }
.live-word.right { left: calc(50% + 17vw + 2vw); }
.live-caption { position: absolute; left: var(--pad); bottom: clamp(40px, 8vh, 90px); z-index: 3; max-width: 760px; opacity: 0; }
.live-caption p { margin-top: 20px; color: var(--ink-2); max-width: 48ch; }
@media (max-width: 760px) {
  .live-media { width: 60vw; height: 40vh; }
  .live-word { top: auto; transform: none; }
  .live-word.left { right: auto; left: var(--pad); top: 12vh; }
  .live-word.right { left: auto; right: var(--pad); bottom: 12vh; }
}

/* ---------- Tracklist ---------- */
.tracklist { list-style: none; max-width: 1200px; margin: 28px auto 0; position: relative; z-index: 1; border-top: 1px solid var(--line); }
.track {
  width: 100%; display: grid; grid-template-columns: 34px 56px 1fr auto 56px; gap: 18px; align-items: center;
  padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; position: relative; isolation: isolate;
  transition: padding .5s var(--ease), color .3s;
}
.track::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(236, 138, 60, .1), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.track:hover::before, .track.is-active::before { transform: none; }
@media (hover: hover) { .track:hover { padding-left: 22px; } }
.t-no { color: var(--muted); }
.track.is-active .t-no { color: var(--accent); }
.t-cover { width: 56px; height: 56px; border-radius: 3px; overflow: hidden; }
.t-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.track:hover .t-cover img { transform: scale(1.12); }
.t-name { font-size: clamp(17px, 1.8vw, 24px); font-weight: 300; text-transform: uppercase; letter-spacing: .06em; line-height: 1.2; }
.t-name small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--muted); margin-top: 4px; }
.track.is-active .t-name { color: var(--accent-2); }
.track .eq { opacity: 0; transition: opacity .3s; }
.track.is-active .eq { opacity: 1; }
.player.is-playing ~ .tracklist .track.is-active .eq i { animation: eq .9s ease-in-out infinite; }
.player.is-playing ~ .tracklist .track.is-active .eq i:nth-child(2) { animation-delay: -.3s; }
.player.is-playing ~ .tracklist .track.is-active .eq i:nth-child(3) { animation-delay: -.6s; }
.player.is-playing ~ .tracklist .track.is-active .eq i:nth-child(4) { animation-delay: -.15s; }
.t-dur { color: var(--muted); text-align: right; }
@media (max-width: 520px) {
  .track { grid-template-columns: 44px 1fr auto; gap: 14px; padding: 12px 4px; }
  .t-no, .track .eq { display: none; }
  .t-cover { width: 44px; height: 44px; }
}
.art-disc img { transition: opacity .4s; }
.track-title.swap, .art-disc img.swap { opacity: 0; }
.track-title { transition: opacity .35s; }

/* ---------- Contact ---------- */
.contact-form {
  width: 100%; max-width: 820px; margin: 48px auto 0; text-align: left;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px;
}
.field { position: relative; }
.field.full, .form-foot.full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font: inherit; font-size: 18px; padding: 26px 0 10px; outline: none; resize: vertical;
  transition: border-color .3s;
}
.field label {
  position: absolute; left: 0; top: 26px; color: var(--muted); pointer-events: none;
  font-size: 18px; transform-origin: left; transition: transform .4s var(--ease-out), color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.7); color: var(--accent); }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field.error input, .field.error textarea { border-color: #c4553a; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-note { color: var(--muted); }
.form-note.ok { color: var(--accent); }
.contact-form .mail-btn { margin-top: 0; color: var(--ink); }
@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .contact-form .mail-btn { justify-content: center; }
}

/* ---------- Booking ---------- */
.booking { text-align: center; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.booking-eclipse {
  position: absolute; left: 50%; top: 50%; width: min(90vw, 900px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--bg) 58%, rgba(236, 138, 60, .22) 66%, transparent 72%);
  filter: blur(4px);
}
.booking-title { font-size: clamp(56px, 12vw, 210px); line-height: .92; font-weight: 200; text-transform: uppercase; margin: 30px 0; letter-spacing: -.02em; }
.bt-line { display: block; overflow: hidden; }
.bt-inner { display: inline-block; }
.booking-text { color: var(--ink-2); max-width: 44ch; margin: 0 auto; }
.mail-btn {
  margin-top: 48px; display: inline-flex; align-items: center; gap: 18px;
  padding: 24px 40px; border: 1px solid var(--ink); border-radius: 100px;
  font-size: clamp(16px, 2vw, 24px); letter-spacing: .06em; position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s;
}
.mail-fill { position: absolute; inset: 0; background: var(--accent); border-radius: 50%; transform: translateY(100%) scale(1.4); transition: transform .7s var(--ease), border-radius .7s var(--ease); z-index: -1; }
.mail-btn:hover { color: var(--bg); border-color: var(--accent); }
.mail-btn:hover .mail-fill { transform: none; border-radius: 0; }
.mail-btn svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .5s var(--ease); }
.mail-btn:hover svg { transform: rotate(45deg); }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 56px; }
.social { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); position: relative; padding-bottom: 4px; transition: color .3s; }
.social::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.social:hover { color: var(--ink); }
.social:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Footer ---------- */
.footer { padding: 80px var(--pad) 40px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-logo { max-width: 1400px; margin: 0 auto; opacity: .9; }
.footer-logo img { width: 100%; }
.footer-row { max-width: 1400px; margin: 48px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--muted); }
.to-top:hover { color: var(--accent); }
.legal-links { display: flex; gap: 24px; }
.legal-links a, .form-note a { transition: color .3s; }
.legal-links a:hover, .form-note a:hover { color: var(--accent); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Legal pages ---------- */
.legal-page { cursor: auto; }
.legal-page a, .legal-page button { cursor: pointer; }
.legal-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--pad); background: linear-gradient(to bottom, rgba(7, 6, 6, .92), rgba(7, 6, 6, 0)); }
.legal-nav img { height: 22px; width: auto; }
.legal-back { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; transition: color .3s; }
.legal-back:hover { color: var(--accent); }
.legal { max-width: 860px; margin: 0 auto; padding: 170px var(--pad) 120px; animation: legalIn 1.2s var(--ease-out) both; }
@keyframes legalIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.legal h1 { font-size: clamp(44px, 8vw, 110px); font-weight: 200; text-transform: uppercase; line-height: 1; margin: 22px 0 56px; }
.legal h2 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 300; text-transform: uppercase; letter-spacing: .08em; margin: 52px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 17px; font-weight: 400; margin: 26px 0 8px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 20px; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.legal address { font-style: normal; color: var(--ink); font-size: 19px; line-height: 1.7; }
.legal .muted { color: var(--muted); font-size: 14px; margin-top: 56px; }
.legal-page .footer { padding-top: 40px; }

/* ---------- Mini player ---------- */
.mini {
  position: fixed; left: 50%; bottom: 20px; z-index: 110;
  display: flex; align-items: center; gap: 16px;
  padding: 8px 22px 8px 8px; border-radius: 100px;
  background: rgba(20, 17, 15, .96); border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  transform: translate(-50%, 160%); transition: transform .7s var(--ease);
  overflow: hidden; max-width: calc(100vw - 32px);
}
.mini.show { transform: translate(-50%, 0); }
.mini-play { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.mini-play svg { width: 18px; }
.mini-info { display: flex; flex-direction: column; line-height: 1.2; }
.mini-info strong { font-weight: 400; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.mini-info span { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.mini-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.mini-bar span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- Fallbacks ---------- */
.no-js [data-reveal], .no-gsap [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
}
