/* ============================================================
   THE ARTFUL DODGER — dark DnB / techno aesthetic
   ============================================================ */
:root {
  --bg: #08080b;
  --bg-2: #0d0d13;
  --bg-3: #121218;
  --ink: #ececf1;
  --ink-dim: #a7a7b3;
  --ink-faint: #6b6b76;
  --cyan: #00e5ff;
  --magenta: #ff2d78;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.025);
  --font-display: 'Anton', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--cyan); color: #000; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Film grain overlay */
.grain {
  position: fixed; inset: -50%; z-index: 2000; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  background: rgba(8, 8, 11, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s ease;
}
.nav-logo {
  font-family: var(--font-display); font-size: 19px; letter-spacing: 0.14em;
  text-decoration: none; color: var(--ink);
}
.nav-logo:hover { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  text-decoration: none; font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  border: 1px solid var(--cyan); color: var(--cyan) !important;
  padding: 8px 16px; border-radius: 3px;
}
.nav-cta:hover { background: var(--cyan); color: #000 !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
#spectrum { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.85; }
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(8,8,11,0.75) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 120px 24px 80px; max-width: 1000px; }
.hero-kicker {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 26px;
}
.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(64px, 13vw, 168px); line-height: 0.94;
  letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 0 60px rgba(0, 229, 255, 0.25);
  margin-bottom: 28px;
}
/* Glitch */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(50% 0 50% 0); opacity: 0;
}
.glitch::before { color: var(--cyan); transform: translate(-4px, -2px); }
.glitch::after { color: var(--magenta); transform: translate(4px, 2px); }
.glitch.glitching::before { opacity: 0.85; animation: glitch-a 0.45s steps(2) both; }
.glitch.glitching::after { opacity: 0.85; animation: glitch-b 0.45s steps(2) both; }
@keyframes glitch-a {
  0% { clip-path: inset(10% 0 78% 0); } 50% { clip-path: inset(58% 0 22% 0); }
  100% { clip-path: inset(30% 0 55% 0); }
}
@keyframes glitch-b {
  0% { clip-path: inset(72% 0 8% 0); } 50% { clip-path: inset(18% 0 66% 0); }
  100% { clip-path: inset(48% 0 32% 0); }
}
.hero-sub { font-size: clamp(18px, 2.4vw, 24px); color: var(--ink-dim); font-weight: 300; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.hero-drop {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em;
  color: var(--ink-dim); display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.hero-drop strong { color: var(--ink); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }

.btn {
  display: inline-block; text-decoration: none; font-family: var(--font-mono);
  font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 34px; border-radius: 3px; transition: all 0.22s ease; cursor: pointer;
}
.btn-primary { background: var(--cyan); color: #000; font-weight: 600; border: 1px solid var(--cyan); }
.btn-primary:hover { background: transparent; color: var(--cyan); box-shadow: 0 0 24px rgba(0, 229, 255, 0.35); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.25); color: var(--ink); }
.btn-ghost:hover { border-color: var(--magenta); color: var(--magenta); }
.btn-big { font-size: 15px; padding: 18px 44px; }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; opacity: 0.6; }
.scroll-cue span { display: block; width: 22px; height: 36px; border: 2px solid var(--ink-dim); border-radius: 12px; position: relative; }
.scroll-cue span::after {
  content: ''; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--cyan); animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ============ MARQUEE ============ */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.marquee-track {
  display: flex; gap: 34px; white-space: nowrap; padding: 14px 0;
  font-family: var(--font-display); font-size: 20px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint); animation: marquee 28s linear infinite; width: max-content;
}
.marquee-track i { color: var(--cyan); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-kicker {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--magenta); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(44px, 6vw, 76px);
  text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 56px; line-height: 1;
}

/* ============ RELEASES ============ */
.release {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.release:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, 0.4); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.release-featured { display: grid; grid-template-columns: 380px 1fr; margin-bottom: 32px; }
.release-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.release-grid .release { display: flex; flex-direction: column; }
.release-art { position: relative; overflow: hidden; background: #000; min-height: 280px; }
.release-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.release:hover .release-art img { transform: scale(1.04); }
.release-featured .release-art { min-height: 100%; }
.cover-placeholder {
  width: 100%; height: 100%; min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 229, 255, 0.14), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(255, 45, 120, 0.14), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 4px),
    #0a0a0f;
  padding: 40px 24px; text-align: center;
}
.cover-title { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: 0.04em; }
.cover-sub { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.28em; color: var(--cyan); }
.cover-alt { background:
    radial-gradient(circle at 70% 25%, rgba(255, 45, 120, 0.12), transparent 55%),
    radial-gradient(circle at 25% 75%, rgba(0, 229, 255, 0.1), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 4px),
    #0b0a0e; }
.release-body { padding: 40px; }
.release-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--cyan); color: var(--cyan); padding: 5px 12px; border-radius: 2px;
}
.tag-hot { border-color: var(--magenta); color: var(--magenta); animation: pulse 2s ease-in-out infinite; }
.tag-dim { border-color: var(--ink-faint); color: var(--ink-faint); }
.release-date { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); letter-spacing: 0.08em; }
.release-body h3 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); text-transform: uppercase; margin-bottom: 14px; line-height: 1.05; }
.release-desc { color: var(--ink-dim); margin-bottom: 28px; max-width: 56ch; }
.tracklist { list-style: none; border-top: 1px solid var(--line); margin-bottom: 30px; font-family: var(--font-mono); font-size: 14px; }
.tracklist li {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: baseline;
  padding: 11px 4px; border-bottom: 1px solid var(--line); transition: background 0.2s, padding-left 0.2s;
}
.tracklist li:hover { background: rgba(0, 229, 255, 0.05); padding-left: 12px; }
.t-num { color: var(--ink-faint); }
.t-name { color: var(--ink); letter-spacing: 0.02em; }
li:hover .t-name { color: var(--cyan); }
.t-time { color: var(--ink-faint); }
.fact-list { list-style: none; font-family: var(--font-mono); font-size: 13px; border-top: 1px solid var(--line); }
.fact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.fact-list li span:first-child { color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; }
.fact-list li span:last-child { color: var(--ink); text-align: right; }
.release-actions { margin-top: 6px; }
.bc-embed { width: 100%; height: 420px; border: 0; margin-bottom: 26px; border-radius: 4px; background: var(--bg-3); }

/* ============ TIMELINE ============ */
.timeline { position: relative; max-width: 760px; }
.timeline::before {
  content: ''; position: absolute; left: 118px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--cyan), var(--magenta));
  opacity: 0.5;
}
.t-item { display: grid; grid-template-columns: 88px 1fr; gap: 60px; margin-bottom: 44px; position: relative; }
.t-item::before {
  content: ''; position: absolute; left: 111px; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.6);
}
.t-year { font-family: var(--font-mono); font-size: 14px; color: var(--cyan); letter-spacing: 0.06em; padding-top: 4px; text-align: right; }
.t-year.t-now { color: var(--magenta); font-weight: 600; }
.t-year.t-next { color: var(--ink-faint); }
.t-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 26px 30px; transition: border-color 0.3s, transform 0.3s ease; }
.t-card:hover { border-color: rgba(0, 229, 255, 0.35); transform: translateY(-2px); }
.t-card h4 { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.t-card p { color: var(--ink-dim); font-size: 16px; }
.t-card strong { color: var(--ink); }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: start; }
.about-grid p { color: var(--ink-dim); margin-bottom: 20px; font-size: 18px; }
.about-grid strong { color: var(--ink); }
.stats { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.stat { background: var(--card); padding: 30px 34px; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: 0; }
.stat-num { font-family: var(--font-display); font-size: 54px; color: var(--cyan); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }

/* ============ CTA ============ */
.cta { text-align: center; background:
    radial-gradient(ellipse at 50% 120%, rgba(0, 229, 255, 0.1), transparent 60%),
    radial-gradient(ellipse at 50% -20%, rgba(255, 45, 120, 0.08), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-title { font-family: var(--font-display); font-size: clamp(56px, 9vw, 120px); text-transform: uppercase; line-height: 1; margin-bottom: 18px; }
.cta-sub { color: var(--ink-dim); font-size: 19px; margin-bottom: 36px; }
.cta-note { margin-top: 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--ink-faint); text-transform: uppercase; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 28px 0; background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--ink-faint); text-transform: uppercase; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .grain { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ ARTIST AVATAR ============ */
.artist { margin-bottom: 34px; }
.artist img {
  width: 200px; height: 200px; object-fit: cover; border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.55);
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.35), 0 0 90px rgba(0, 229, 255, 0.14);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.artist img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 48px rgba(0, 229, 255, 0.55), 0 0 120px rgba(0, 229, 255, 0.22);
}
.artist figcaption {
  margin-top: 18px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint);
}

/* ============ FANCY TOUCHES ============ */
section[id] { scroll-margin-top: 84px; }
#metastability { border-color: rgba(0, 229, 255, 0.28); }
#metastability:hover { border-color: rgba(0, 229, 255, 0.55); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 44px rgba(0, 229, 255, 0.12); }
.hero-drop { transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.hero-drop:hover { border-color: rgba(0, 229, 255, 0.45); box-shadow: 0 0 28px rgba(0, 229, 255, 0.16); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .release-featured { grid-template-columns: 1fr; }
  .release-featured .release-art { min-height: 300px; }
  .release-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .nav { padding: 14px 18px; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(78vw, 320px);
    background: #0c0c11; flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 40px; gap: 26px; transform: translateX(100%); transition: transform 0.35s ease;
    border-left: 1px solid var(--line);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 16px; }
  .nav-toggle { display: block; z-index: 1001; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .timeline::before { left: 14px; }
  .t-item { grid-template-columns: 1fr; gap: 10px; padding-left: 40px; }
  .t-item::before { left: 7px; }
  .t-year { text-align: left; }
  .release-body { padding: 28px 22px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-actions { flex-direction: column; }
}
