:root {
  --bg: #07070a;
  --fg: #e9e9ee;
  --dim: #8a8a96;
  --line: #1f1f27;
  --card: rgba(18, 18, 24, 0.72);
  --accent: #e6ff3a;   /* acid yellow-green */
  --glitch-a: #ff2a6d; /* magenta */
  --glitch-b: #05d9e8; /* cyan */
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.mono { font-family: var(--mono); }

/* Background */
#field {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
}
.grain {
  position: fixed; inset: -50%;
  z-index: -1; pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -1%); }
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(16px, 4vw, 48px);
  z-index: 10;
  background: linear-gradient(var(--bg), transparent);
}
.nav-logo {
  font-family: var(--mono); font-weight: 500;
  letter-spacing: .3em; text-decoration: none; font-size: 14px;
}
.nav nav { display: flex; gap: clamp(12px, 3vw, 32px); }
.nav nav a {
  font-family: var(--mono); font-size: 12px;
  text-decoration: none; color: var(--dim);
  text-transform: uppercase; letter-spacing: .12em;
  transition: color .2s;
}
.nav nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 100px 16px 60px;
  position: relative;
}
.kicker { color: var(--dim); font-size: 12px; letter-spacing: .1em; margin-bottom: 20px; }
.tagline { color: var(--dim); font-size: clamp(16px, 2vw, 20px); margin-top: 12px; }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.btn {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  text-decoration: none;
  padding: 11px 18px;
  border: 1px solid var(--line);
  background: rgba(7, 7, 10, .5);
  backdrop-filter: blur(6px);
  transition: border-color .2s, color .2s, transform .2s;
}
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.scroll {
  position: absolute; bottom: 28px;
  font-size: 11px; color: var(--dim); text-decoration: none; letter-spacing: .2em;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* Glitch title */
.glitch {
  position: relative;
  font-size: clamp(56px, 15vw, 200px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: .9;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  overflow: hidden;
}
.glitch::before {
  color: var(--glitch-a);
  mix-blend-mode: screen;
  animation: glitch-a 3.2s infinite steps(1);
}
.glitch::after {
  color: var(--glitch-b);
  mix-blend-mode: screen;
  animation: glitch-b 2.7s infinite steps(1);
}
@keyframes glitch-a {
  0%, 88%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  89% { clip-path: inset(10% 0 60% 0); transform: translate(-6px, 0); }
  91% { clip-path: inset(55% 0 20% 0); transform: translate(5px, 0); }
  93% { clip-path: inset(30% 0 45% 0); transform: translate(-3px, 0); }
  95% { clip-path: inset(80% 0 5% 0);  transform: translate(4px, 0); }
}
@keyframes glitch-b {
  0%, 84%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  85% { clip-path: inset(65% 0 10% 0); transform: translate(6px, 0); }
  87% { clip-path: inset(5% 0 75% 0);  transform: translate(-5px, 0); }
  90% { clip-path: inset(40% 0 35% 0); transform: translate(3px, 0); }
}

/* Sections */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) clamp(16px, 4vw, 48px);
}
.label {
  font-size: 12px; font-weight: 400; color: var(--dim);
  text-transform: uppercase; letter-spacing: .2em;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 48px;
}
.label span { color: var(--accent); }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.portrait {
  width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  border: 1px solid var(--line);
}
.portrait.placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.025) 3px 4px),
    radial-gradient(circle at 50% 50%, #15151d, var(--bg));
  color: var(--dim); font-size: 13px; letter-spacing: .3em;
}
.about-text p { color: var(--dim); margin-bottom: 18px; font-size: 17px; }
.about-text .lead { color: var(--fg); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; font-weight: 400; }

/* Listen */
.players { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.player iframe {
  width: 100%; border: 0; display: block;
  border-radius: 12px;
  background: var(--card);
}
.platforms, .socials {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 32px;
  font-size: 13px;
}
.platforms a, .socials a {
  text-decoration: none; color: var(--dim);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.platforms a:hover, .socials a:hover { color: var(--accent); border-color: var(--accent); }

/* Works */
.works {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.work {
  background: var(--bg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 240px;
  transition: background .25s;
}
.work:hover { background: #0e0e14; }
.work img {
  width: calc(100% + 56px); margin: -32px -28px 12px;
  aspect-ratio: 16 / 10; object-fit: cover;
  filter: grayscale(.4);
  transition: filter .3s;
}
.work:hover img { filter: none; }
.work .meta { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; }
.work h3 { font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.work p { color: var(--dim); font-size: 15px; }
.work a { margin-top: auto; font-size: 12px; text-decoration: none; color: var(--fg); }
.work a:hover { color: var(--accent); }
.work.more { background: #0b0b10; }

/* Contact */
.contact .big { font-size: clamp(28px, 4.5vw, 52px); line-height: 1.15; font-weight: 400; max-width: 16ch; }
.email {
  display: inline-block; margin-top: 24px;
  font-family: var(--mono); font-size: clamp(16px, 2.2vw, 22px);
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

/* Footer */
footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 28px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
  font-size: 11px; color: var(--dim); letter-spacing: .1em;
}

/* Mobile */
@media (max-width: 760px) {
  .nav nav a:not(:last-child) { display: none; }
  .about-grid, .players { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .scroll, .glitch::before, .glitch::after { animation: none; }
}

/* Releases */
.sublabel {
  font-size: 12px; font-weight: 400; color: var(--dim);
  text-transform: uppercase; letter-spacing: .2em;
  margin: 72px 0 16px;
}
.releases { list-style: none; border-top: 1px solid var(--line); }
.releases li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 16px; align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s, padding .2s;
}
.releases li:hover { background: #0e0e14; padding-left: 10px; }
.releases .yr { color: var(--accent); font-size: 12px; }
.releases .t { font-size: 20px; font-weight: 500; }
.releases .c { color: var(--dim); font-size: 14px; }
.work .credit { font-size: 11px; color: var(--fg); opacity: .7; letter-spacing: .04em; }
.more-link { margin-top: 28px; font-size: 13px; }
.more-link a { color: var(--dim); text-decoration: none; }
.more-link a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .releases li { grid-template-columns: 52px minmax(0, 1fr); }
  .releases .c { grid-column: 2; }
}

/* Covers */
.releases .t { display: flex; align-items: center; gap: 14px; }
.releases .cover { width: 48px; height: 48px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.releases li { align-items: center; }

/* Gallery */
.sublabel.first { margin-top: 0; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 8px;
}
.shot { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #0e0e14; }
.shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(.5) brightness(.85);
  transition: filter .35s, transform .5s;
}
.shot:hover img { filter: none; transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(4, 4, 6, .94);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 56px 16px 24px; gap: 14px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; }
.lb-cap { color: var(--dim); font-size: 12px; text-align: center; }
.lb-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: 1px solid var(--line); color: var(--fg);
  padding: 8px 12px; font-size: 12px; cursor: pointer;
}
.lb-close:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 760px) {
  .nav nav a:not(:last-child) { display: none; }
}
