:root {
  --bg: #17181a;          /* anthracite */
  --bg-2: #1f2023;
  --line: #2e3034;
  --text: #d8d5cf;
  --muted: #a6a8ac;
  --accent: #c8323a;      /* the red from the stage lights */
  --sans: "Karla", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(16px, 5vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-weight: 300; letter-spacing: -0.01em; line-height: 1.05; margin: 0 0 .5em; }
h2 { font-size: clamp(32px, 5vw, 72px); }

.label {
  font: 300 11px/1.7 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 20px;
}

/* background particle field + film grain */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: -50%; z-index: 50; 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 baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-3%,2%)} 66%{transform:translate(2%,-3%)} 100%{transform:translate(0,0)} }
main, .foot { position: relative; z-index: 1; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px var(--pad); mix-blend-mode: difference;
}
.nav__mark { font-weight: 500; letter-spacing: .4em; text-decoration: none; font-size: 13px; }
.nav nav { display: flex; gap: clamp(14px, 3vw, 36px); }
.nav nav a { font: 300 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; opacity: .8; }
.nav nav a:hover { opacity: 1; }
@media (max-width: 600px) { .nav nav a:nth-child(n+3) { display: none; } }

/* hero */
.hero { position: relative; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.8) contrast(1.1); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 20%, var(--bg) 80%); }
.hero__content { position: relative; text-align: center; padding: 0 var(--pad); text-shadow: 0 0 24px rgba(0,0,0,.9); }
.hero__content .label, .hero__sub { color: #b4b2ad; }
.hero__title {
  font-size: clamp(48px, 13vw, 220px); font-weight: 200; letter-spacing: .12em;
  margin: 0; display: flex; justify-content: center; padding-left: .12em;
}
.hero__title span { display: inline-block; }
.hero__sub { font-style: italic; font-weight: 300; color: var(--muted); font-size: clamp(16px, 1.6vw, 22px); margin: 8px 0 0; }
.hero__cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  text-decoration: none; margin: 0; display: flex; gap: 10px; align-items: center;
}
.hero__cue span { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* manifest */
.manifest { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--pad); max-width: 1400px; margin: 0 auto; }
.manifest__text { font-size: clamp(26px, 4.2vw, 62px); font-weight: 300; line-height: 1.2; margin: 0; }
.manifest__text .w { opacity: .12; transition: none; }

/* latest */
.latest {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center;
  padding: 120px var(--pad); max-width: 1500px; margin: 0 auto;
}
.latest__cover img { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 40px 120px -30px rgba(200, 50, 58, .35); }
.meta { display: flex; gap: 40px; margin: 0 0 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.meta dt { font: 300 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 4px 0 0; }
.player { width: 100%; height: 300px; border: 0; margin-bottom: 28px; background: var(--bg-2); }
@media (max-width: 860px) { .latest { grid-template-columns: 1fr; } }

.btn {
  display: inline-block; padding: 14px 26px; border: 1px solid var(--accent); color: var(--text);
  font: 400 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  background: var(--accent); transition: background .3s, color .3s;
}
.btn:hover { background: transparent; }
.btn--ghost { background: transparent; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); }

/* discography */
.disco { padding: 120px 0; overflow: hidden; }
.disco__head { padding: 0 var(--pad); margin-bottom: 48px; }
.disco__track { display: flex; gap: clamp(20px, 2.5vw, 40px); padding: 0 var(--pad); width: max-content; }
.card { width: clamp(220px, 24vw, 360px); text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.card img { aspect-ratio: 1; object-fit: cover; filter: grayscale(.6) brightness(.8); transition: filter .6s, transform .6s; margin-bottom: 10px; }
.card:hover img { filter: none; transform: translateY(-6px); }
.card__year { font: 300 11px var(--mono); letter-spacing: .18em; color: var(--accent); }
.card__title { font-size: 20px; line-height: 1.2; }
.card__type { font: 300 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) {
  .disco__track { width: auto; display: grid; grid-template-columns: repeat(2, 1fr); }
  .card { width: auto; }
  .card__title { font-size: 16px; }
}

/* live */
.live { padding: 120px var(--pad); }
.live__head { max-width: 760px; margin-bottom: 80px; }
.live__head p:last-child { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 28px); grid-auto-flow: dense; }
.g { margin: 0; overflow: hidden; }
.g img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; transform: scale(1.15); }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }
.g--tall img { aspect-ratio: auto; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } .g--wide { grid-column: span 2; } }

/* about */
.about {
  display: grid; grid-template-columns: 5fr 6fr 3fr; gap: clamp(24px, 4vw, 64px); align-items: end;
  padding: 160px var(--pad); max-width: 1600px; margin: 0 auto;
}
.about__portrait, .about__hands { margin: 0; }
.about__hands { align-self: start; }
.about__text p:not(.label) { color: #b9b6b0; max-width: 560px; }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } .about__hands { max-width: 280px; } }

/* contact */
.contact { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 120px var(--pad); }
.contact__mail { font-size: clamp(26px, 6vw, 96px); word-break: break-word; }
.contact__mail a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .6s; }
.contact__mail a:hover { background-size: 100% 2px; }
.contact > p:not(.label) { color: var(--muted); margin: 0 0 40px; }
.contact__links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.foot { display: flex; justify-content: space-between; padding: 28px var(--pad); border-top: 1px solid var(--line); font: 300 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .hero__cue span { animation: none; }
  .manifest__text .w { opacity: 1 !important; }
  .g img { transform: none; }
}

/* ---------- v2: language, interaction, zoom ---------- */
.lang { background: none; border: 0; color: inherit; cursor: pointer; padding: 0; font: 300 11px var(--mono); letter-spacing: .18em; }
.lang span { opacity: .45; }
.lang span.on { opacity: 1; }
@media (max-width: 600px) { .nav nav a:nth-child(n+2) { display: none; } }

.hero { user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.hero__hint { margin: 28px 0 0; opacity: .6; }
@media (pointer: coarse) { .hero__hint { display: none; } }
.manifest__text .w { display: inline-block; }

/* custom cursor */
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor { display: none; }
.has-cursor .cursor {
  display: block; position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
  border: 1px solid var(--text); mix-blend-mode: difference;
  transition: width .3s, height .3s, margin .3s, background .3s, border-color .3s;
}
.cursor--link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(216,213,207,.15); }
.cursor--hold { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-color: var(--accent); background: var(--accent); }

/* portal */
.portal { position: relative; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.portal__media { position: absolute; inset: 0; }
.portal__media img { width: 100%; height: 100%; object-fit: cover; }
.portal__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse, transparent 40%, rgba(23,24,26,.7)); }
.portal__word {
  position: relative; margin: 0; font-size: clamp(40px, 9vw, 150px); font-weight: 200; letter-spacing: .08em;
  text-transform: lowercase; text-shadow: 0 0 40px rgba(0,0,0,.8); white-space: nowrap;
}

.zoom { overflow: hidden; }

/* card tilt + glare */
.card { transition: transform .4s cubic-bezier(.22,.61,.36,1); transform-style: preserve-3d; position: relative; }
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), transparent 55%);
  transition: opacity .4s;
}
.card:hover::after { opacity: 1; }
.btn { transition: background .3s, color .3s, translate .25s ease-out; }

@media (prefers-reduced-motion: reduce) { .portal__media { clip-path: none !important; } }
@media (max-width: 600px) { .hero__title { font-size: 17vw; letter-spacing: .05em; padding-left: .05em; } }

/* ---------- readability pass: small mono text was too thin/dim ---------- */
.label, .nav nav a, .lang, .meta dt, .card__type, .card__year, .foot { font-weight: 400; font-size: 12px; }
.hero__hint { display: block !important; opacity: 1; color: #c9c6c0; }
.hero__content .label, .hero__sub { color: #d0cdc7; }
.hero__content .label { display: inline-block; padding: 6px 12px; background: rgba(15,16,17,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__photo img { opacity: .45; }
.card__type, .meta dt { color: #9a9ca0; }
.live__head p:last-child, .contact > p:not(.label) { color: #b5b3ae; }
.about__text p:not(.label) { color: #c8c5bf; }
.card__title { color: #e4e1db; }
.btn { font-weight: 500; }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .label, .card__type, .card__year { font-size: 11.5px; letter-spacing: .14em; }
  .card__title { font-size: 17px; }
}
.hero__content .hero__hint { display: block; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }

/* ---------- v3: enter gate, sound toggle, WebGL cover stage ---------- */
.gated body { overflow: hidden; }
.gate {
  position: fixed; inset: 0; z-index: 80; background: #0e0f10;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 24px;
  transition: opacity 1.1s ease, filter 1.1s ease;
}
.gate[hidden] { display: none; }
.gate--out { opacity: 0; filter: blur(12px); pointer-events: none; }
.gate .label { margin: 0; }
.gate__name { margin: 0; font-size: clamp(36px, 8vw, 96px); font-weight: 200; letter-spacing: .3em; padding-left: .3em; }
.gate__btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 8px 0; }
.gate__core {
  width: 90px; height: 90px; border-radius: 50%; background: #000;
  box-shadow: 0 0 0 1px rgba(216,213,207,.25), 0 0 60px 10px rgba(200,50,58,.35), inset 0 0 30px rgba(200,50,58,.4);
  animation: core 4s ease-in-out infinite;
}
@keyframes core { 50% { transform: scale(1.12); box-shadow: 0 0 0 1px rgba(216,213,207,.4), 0 0 90px 20px rgba(200,50,58,.45), inset 0 0 30px rgba(200,50,58,.5); } }

.sound { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: inherit; cursor: pointer; padding: 0;
  font: 400 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.sound__bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound__bars i { width: 2px; height: 3px; background: currentColor; transition: height .3s; }
.sound.on .sound__bars i { animation: eq 1s ease-in-out infinite; }
.sound.on .sound__bars i:nth-child(2) { animation-delay: -.4s; }
.sound.on .sound__bars i:nth-child(3) { animation-delay: -.7s; }
.sound.on .sound__bars i:nth-child(4) { animation-delay: -.2s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.sound:not(.on) span:last-child { text-decoration: line-through; opacity: .7; }

/* WebGL stage replaces the card track; .grid is the fallback if textures fail */
.disco.webgl { height: 100vh; padding: 90px 0 40px; display: flex; flex-direction: column; }
.disco.webgl .disco__track { display: none; }
.disco.webgl .disco__head { margin-bottom: 24px; }
.disco.webgl .disco__head h2 { font-size: clamp(28px, 3.4vw, 52px); }
.cover-stage {
  flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 4vw, 70px);
  align-items: center; padding: 0 var(--pad);
}
.cs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; align-self: center; }
.cs-list button {
  background: none; border: 0; color: var(--muted); cursor: pointer; text-align: left; padding: 3px 0;
  font: 400 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; display: flex; gap: 12px;
  transition: color .3s, padding .4s;
}
.cs-list button span { color: #5d5f63; }
.cs-list button:hover { color: var(--text); }
.cs-list button.on { color: var(--text); padding-left: 18px; position: relative; }
.cs-list button.on::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--accent); }
.cs-list button.on span { color: var(--accent); }
.cs-view { display: block; width: min(62vh, 40vw); aspect-ratio: 1; box-shadow: 0 40px 120px -30px rgba(200,50,58,.35); }
.cs-view canvas { width: 100%; height: 100%; display: block; }
.cs-meta { align-self: end; padding-bottom: 6%; }
.cs-idx { font: 300 12px var(--mono); letter-spacing: .18em; color: var(--muted); margin: 0 0 18px; }
.cs-idx b { font: 200 clamp(56px, 7vw, 110px)/1 var(--sans); color: var(--text); letter-spacing: 0; display: block; margin-bottom: 6px; }
.cs-title { font-size: clamp(22px, 2.4vw, 36px); font-weight: 300; line-height: 1.15; margin: 0 0 10px; }
.cs-sub { margin: 0 0 22px; color: var(--accent); }
.cs-cta { margin: 0; }
.cs-view:hover ~ .cs-meta .cs-cta, .cs-cta:hover { color: var(--text); }
@media (max-width: 860px) {
  .cover-stage { grid-template-columns: 1fr; justify-items: center; align-content: center; gap: 20px; }
  .cs-list { display: none; }
  .cs-view { width: min(84vw, 52vh); }
  .cs-meta { align-self: auto; padding: 0; text-align: center; }
  .cs-idx { margin-bottom: 8px; } .cs-idx b { display: inline; font-size: 28px; margin: 0; }
}
.disco.grid .disco__track { width: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.disco.grid .card { width: auto; }
@media (prefers-reduced-motion: reduce) { .gate__core { animation: none; } }
.has-cursor .cursor { z-index: 90; } /* above the entry gate */
.manifest { user-select: none; -webkit-user-select: none; touch-action: pan-y; } /* hold-to-collapse works here without selecting text */
