/* =========================================================
   DEDPXL — one artist, different worlds
   World colors live in --c1 / --c2 and are swapped by main.js
   ========================================================= */

@property --c1 { syntax: "<color>"; inherits: true; initial-value: #ff2e88; }
@property --c2 { syntax: "<color>"; inherits: true; initial-value: #29e3ff; }

:root {
  --bg: #050505;
  --ink: #f2f2f2;
  --mute: #8a8a8a;
  --line: rgba(255, 255, 255, 0.12);
  --c1: #ff2e88;
  --c2: #29e3ff;
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --drip: "Rubik Wet Paint", "Anton", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --logo: url("assets/logo.png");
  transition: --c1 0.9s ease, --c2 0.9s ease;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--c1); color: #000; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }

/* logo used as a tintable mask everywhere */
.logo-glyph, .portal-mask, .boot-mask {
  -webkit-mask: var(--logo) center / contain no-repeat;
          mask: var(--logo) center / contain no-repeat;
}

/* ---------------- BOOT ---------------- */
#boot {
  position: fixed; inset: 0; z-index: 100;
  background: #000;
  display: grid; place-content: center; justify-items: center; gap: 28px;
  transition: opacity 0.7s ease, visibility 0.7s;
}
#boot.done { opacity: 0; visibility: hidden; }
.boot-mask { width: min(42vw, 220px); aspect-ratio: 1; background: rgba(255,255,255,0.08); position: relative; overflow: hidden; }
.boot-fill { position: absolute; inset: auto 0 0 0; height: var(--p, 0%); background: linear-gradient(0deg, var(--c1), #fff); transition: height 0.15s linear; }
.boot-text { display: flex; gap: 16px; font-size: 12px; letter-spacing: 0.3em; color: var(--mute); }
.boot-count { color: var(--ink); }

/* ---------------- BACKGROUND FX ---------------- */
#world-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.fx-scan {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.22) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
.fx-grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.6s 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%)} 100%{transform:translate(1%,3%)} }
.fx-vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.85) 100%); }

main, .foot, .hud, .hud-bottom { position: relative; z-index: 2; }

/* ---------------- CURSOR ---------------- */
#cursor { position: fixed; z-index: 90; left: 0; top: 0; pointer-events: none; display: none; opacity: 0; transition: opacity .3s; }
#cursor.on { opacity: 1; }
#cursor span {
  display: block; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid var(--c1); border-radius: 50%;
  transition: width .25s, height .25s, margin .25s, background-color .25s, border-color .9s;
}
#cursor.hot span { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: color-mix(in srgb, var(--c1) 18%, transparent); }
@media (hover: hover) and (pointer: fine) {
  #cursor { display: block; }
}

/* ---------------- HUD ---------------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(0,0,0,0.75), transparent);
}
.hud-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 20px; letter-spacing: 0.08em; }
.hud-brand .logo-glyph { width: 30px; height: 30px; background: #fff; transition: background-color .3s; }
.hud-brand:hover .logo-glyph { background: var(--c1); }
.hud-world { margin-left: auto; transition: opacity .3s; }
.hud.menu-open .hud-world { opacity: 0; pointer-events: none; }
.hud-nav { position: relative; display: flex; align-items: center; }
.nav-links { position: absolute; right: 100%; top: 50%; translate: 0 -50%; padding-right: clamp(16px, 2.4vw, 32px); display: flex; gap: clamp(16px, 2.6vw, 34px); white-space: nowrap; visibility: hidden; transition: visibility 0s .6s; }
.nav-links a {
  position: relative; padding: 4px 0;
  opacity: 0; transform: translateX(48px);
  transition: opacity .3s ease, transform .5s cubic-bezier(.2,.8,.1,1);
  transition-delay: calc(var(--i) * 40ms);
}
.hud.menu-open .nav-links { visibility: visible; transition-delay: 0s; }
.hud.menu-open .nav-links a { opacity: 1; transform: none; transition-delay: calc((4 - var(--i)) * 60ms); }
.menu-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 0 8px 14px;
  background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer;
}
.menu-label { min-width: 5ch; text-align: right; }
.menu-icon { position: relative; width: 22px; height: 10px; }
.menu-icon i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .4s cubic-bezier(.2,.8,.1,1), top .4s, background-color .3s; }
.menu-icon i:first-child { top: 0; }
.menu-icon i:last-child { top: 8px; width: 60%; left: auto; }
.menu-btn:hover .menu-icon i { background: var(--c1); }
.hud.menu-open .menu-icon i:first-child { top: 4px; transform: rotate(45deg); }
.hud.menu-open .menu-icon i:last-child { top: 4px; width: 100%; transform: rotate(-45deg); }
.menu-scrim { display: none; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--c1); transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.hud-world { display: flex; align-items: center; gap: 10px; color: var(--mute); }
.hud-world b { color: var(--ink); font-weight: 700; }
.hud-world .hud-name { color: var(--c1); }
.hud-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 12px var(--c1); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.hud-bottom {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; padding: 14px var(--gutter);
  font-size: 11px; letter-spacing: 0.2em; color: var(--mute); pointer-events: none;
}
.hud-sig { display: flex; align-items: flex-end; gap: 3px; }
.hud-sig i { display: inline-block; width: 3px; background: var(--c1); animation: sig 1s ease-in-out infinite; }
.hud-sig i:nth-child(1){ height: 5px; margin-left: 8px; } .hud-sig i:nth-child(2){ height: 8px; animation-delay: .1s }
.hud-sig i:nth-child(3){ height: 11px; animation-delay: .2s } .hud-sig i:nth-child(4){ height: 8px; animation-delay: .3s } .hud-sig i:nth-child(5){ height: 13px; animation-delay: .4s }
@keyframes sig { 50% { transform: scaleY(0.35); } }
kbd { font-family: var(--mono); border: 1px solid var(--line); padding: 1px 6px; color: var(--ink); }

/* ---------------- HERO ---------------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: end;
  padding: 0 var(--gutter);
}
.tag { font-size: 11px; letter-spacing: 0.25em; color: var(--mute); }
.tag-live { display: inline-flex; align-items: center; gap: 8px; }
.tag-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff2a2a; animation: blink 1s infinite; }
.tag-live b { color: var(--c1); font-weight: 700; }

/* giant name behind him */
.hero-giant {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: flex; justify-content: center; align-items: center; gap: 0.06em;
  font-family: var(--display); font-size: clamp(120px, 27vw, 460px); line-height: 0.8; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c1) 55%, transparent);
  transform: translateY(-6%);
}
.hero-giant span:last-child { color: color-mix(in srgb, var(--c1) 14%, transparent); }

/* the man himself */
.hero-figure { grid-column: 2; grid-row: 1; position: relative; z-index: 2; align-self: end; justify-self: center; }
.hero-halo {
  position: absolute; left: 50%; top: 42%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--c1) 40%, transparent) 0%, color-mix(in srgb, var(--c2) 14%, transparent) 38%, transparent 66%);
  filter: blur(20px); animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.92); } }
.hero-img {
  position: relative; height: min(96svh, 1100px); aspect-ratio: 2 / 3;
  will-change: transform;
}
.hero-img img { width: 100%; height: 100%; object-fit: contain; filter: contrast(1.08) saturate(1.12) drop-shadow(0 0 28px color-mix(in srgb, var(--c1) 30%, transparent)); }
.hero-img::after { /* world tint on clothes/shadows */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("assets/dedpxl-cutout.webp") center / contain no-repeat;
          mask: url("assets/dedpxl-cutout.webp") center / contain no-repeat;
  background: linear-gradient(0deg, color-mix(in srgb, var(--c1) 45%, transparent), transparent 45%), radial-gradient(circle at 70% 35%, color-mix(in srgb, var(--c2) 35%, transparent), transparent 45%);
  mix-blend-mode: soft-light; opacity: 0.9;
}
body[data-world="4"] .hero-img::after { opacity: 0.35; }

.glitch-slice {
  position: absolute; inset: 0;
  background: url("assets/dedpxl-cutout.webp") center / 100% 100% no-repeat;
  clip-path: inset(var(--y) 0 calc(100% - var(--y) - var(--h)) 0);
  opacity: 0; pointer-events: none;
}
.glitching .glitch-slice { animation: slice 0.32s steps(2) 1; }
.glitching .glitch-slice:nth-child(3) { animation-delay: .05s; }
.glitching .glitch-slice:nth-child(4) { animation-delay: .1s; }
@keyframes slice {
  0%   { opacity: 1; transform: translateX(-6%); filter: drop-shadow(6px 0 var(--c1)); }
  50%  { opacity: 1; transform: translateX(4%);  filter: drop-shadow(-6px 0 var(--c2)); }
  100% { opacity: 0; transform: none; }
}
.glitching img { animation: rgb 0.32s steps(3) 1; }
@keyframes rgb {
  0% { filter: drop-shadow(5px 0 var(--c1)) drop-shadow(-5px 0 var(--c2)); transform: translateX(3px); }
  100% { filter: none; transform: none; }
}

.hero-left, .hero-right { grid-row: 1; position: relative; z-index: 3; padding-bottom: clamp(60px, 12svh, 140px); }
.hero-left { grid-column: 1; align-self: end; }
.hero-right { grid-column: 3; justify-self: end; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }

.hero-title {
  margin: 14px 0 0; font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(48px, 7.4vw, 132px); line-height: 0.86; letter-spacing: -0.01em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .word { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2,.8,.1,1); }
.ready .hero-title .word { transform: none; }
.hero-title.settled .line { overflow: visible; }
.ready .hero-title .line:nth-child(2) .word { transition-delay: .08s; }
.ready .hero-title .line:nth-child(3) .word { transition-delay: .16s; }
.ready .hero-title .line:nth-child(4) .word { transition-delay: .24s; }
.hero-title .drip {
  font-family: var(--drip); font-size: 0.66em; line-height: 1.08;
  color: var(--c1); text-shadow: 0 0 18px color-mix(in srgb, var(--c1) 28%, transparent);
}
.hero-cta { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--c1); overflow: hidden; isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: color .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c1); transform: translateX(-101%); transition: transform .4s cubic-bezier(.7,0,.2,1); }
.btn-solid { background: var(--c1); color: #000; }
.btn-solid::before { background: #fff; }
.btn:hover::before { transform: none; }
.btn-ghost:hover { color: #000; }
.btn-play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------------- MARQUEE ---------------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  background: var(--c1); color: #000;
  transform: rotate(-2.5deg) scale(1.05); margin: 40px 0 80px;
  box-shadow: 0 0 60px color-mix(in srgb, var(--c1) 45%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 14px 0; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: clamp(28px, 4vw, 54px); white-space: nowrap; letter-spacing: 0.02em; }
.marquee-track .logo-glyph { width: clamp(30px, 4vw, 52px); aspect-ratio: 1; background: #000; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- SECTIONS ---------------- */
section { padding: clamp(70px, 10vw, 140px) var(--gutter); }
.section-head { max-width: 1400px; margin: 0 auto clamp(36px, 5vw, 64px); }
.section-head.center { text-align: center; }
.section-head h2 {
  margin: 14px 0 0; font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(48px, 8vw, 128px); line-height: 0.9;
}
.section-head h2 em { font-style: normal; font-family: var(--drip); color: var(--c1); font-size: 0.9em; }
.lede { max-width: 46ch; color: var(--mute); margin: 22px 0 0; }

/* ---------------- WORLDS ---------------- */
.worlds-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.world-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: w; }
.world-list li { border-bottom: 1px solid var(--line); }
.world-btn {
  width: 100%; display: grid; grid-template-columns: 3.2em 1fr auto; align-items: center; gap: 12px 18px;
  padding: clamp(14px, 2vw, 22px) 6px; text-align: left; background: none; border: 0; color: inherit; font: inherit; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
}
.world-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--wc), transparent 85%); opacity: 0;
  transform: scaleX(0.2); transform-origin: left; transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.1,1);
}
.world-btn.active::before { opacity: 0.22; transform: none; }
.w-num { font-size: 12px; letter-spacing: 0.2em; color: var(--mute); }
.w-name {
  font-family: var(--display); font-size: clamp(38px, 6vw, 88px); line-height: 0.95; letter-spacing: 0.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.55);
  transition: color .35s, -webkit-text-stroke-color .35s, transform .5s cubic-bezier(.2,.8,.1,1);
}
.world-btn.active .w-name, .world-btn:hover .w-name { color: var(--wc); -webkit-text-stroke-color: var(--wc); transform: translateX(10px); }
.w-genre { font-size: 11px; letter-spacing: 0.18em; color: var(--mute); text-transform: uppercase; text-align: right; }
.w-line { grid-column: 2 / -1; max-height: 0; overflow: hidden; opacity: 0; color: #cfcfcf; transition: max-height .5s, opacity .5s; font-size: 14px; }
.world-btn.active .w-line { max-height: 8em; opacity: 1; }
.world-btn:focus-visible { outline: 1px dashed var(--wc); outline-offset: -4px; }

.portal { position: sticky; top: 110px; aspect-ratio: 1; display: grid; place-items: center; }
.portal-ring {
  position: absolute; inset: 4%; border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--c1) 70%, transparent);
  animation: spin 30s linear infinite;
}
.portal-ring.r2 { inset: 13%; border: 2px solid transparent; border-top-color: var(--c2); border-bottom-color: var(--c1); animation-duration: 6s; animation-direction: reverse; filter: drop-shadow(0 0 10px var(--c2)); }
@keyframes spin { to { transform: rotate(360deg); } }
.portal .portal-mask {
  width: 62%; aspect-ratio: 1;
  background: linear-gradient(160deg, #fff 10%, var(--c1) 55%, var(--c2));
  filter: drop-shadow(0 0 30px color-mix(in srgb, var(--c1) 60%, transparent));
  transition: transform .6s cubic-bezier(.2,.8,.1,1);
}
.portal.pulse .portal-mask { animation: pulse .6s ease; }
@keyframes pulse { 0% { transform: scale(0.86) rotate(-4deg); filter: drop-shadow(8px 0 var(--c2)) drop-shadow(-8px 0 var(--c1)); } 100% { transform: none; } }
.portal-meta { position: absolute; left: 0; right: 0; bottom: -4%; display: flex; justify-content: space-between; align-items: baseline; }
.portal-num { font-family: var(--display); font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--c1); }
.portal-name { font-family: var(--display); font-size: 28px; letter-spacing: 0.1em; color: var(--c1); }

/* ---------------- LISTEN ---------------- */
.tracklist { list-style: none; margin: 0 auto; padding: 0; max-width: 1400px; border-top: 1px solid var(--line); }
.tracklist li { border-bottom: 1px solid var(--line); }
.tracklist a {
  display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 18px;
  padding: clamp(16px, 2.4vw, 28px) 6px; position: relative; overflow: hidden; isolation: isolate;
}
.tracklist a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c1);
  clip-path: inset(0 100% 0 0); transition: clip-path .5s cubic-bezier(.7,0,.2,1);
}
.tracklist a:hover::before, .tracklist a:focus-visible::before { clip-path: inset(0 0 0 0); }
.tracklist a:hover, .tracklist a:focus-visible { color: #000; }
.t-ico { width: 34px; height: 34px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.t-name { font-family: var(--display); font-size: clamp(32px, 5.4vw, 76px); line-height: 1; text-transform: uppercase; transition: letter-spacing .5s; }
.tracklist a:hover .t-name { letter-spacing: 0.04em; }
.t-eq { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.t-eq i { width: 4px; height: 20%; background: currentColor; opacity: .35; }
.tracklist a:hover .t-eq i { opacity: 1; animation: eq .7s ease-in-out infinite alternate; }
.t-eq i:nth-child(2){animation-delay:-.2s} .t-eq i:nth-child(3){animation-delay:-.45s} .t-eq i:nth-child(4){animation-delay:-.1s}
.t-eq i:nth-child(5){animation-delay:-.6s} .t-eq i:nth-child(6){animation-delay:-.3s} .t-eq i:nth-child(7){animation-delay:-.5s}
@keyframes eq { 0% { height: 15%; } 100% { height: 100%; } }
.t-act { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }

/* ---------------- FOLLOW / ORBIT ---------------- */
.orbit { --size: min(78vw, 560px); position: relative; width: var(--size); height: var(--size); margin: 0 auto; }
.orbit-path { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.orbit-path::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--c2) 50%, transparent); }
.orbit-core { position: absolute; inset: 27%; display: grid; place-items: center; }
.orbit-core .portal-mask { width: 100%; aspect-ratio: 1; background: #fff; filter: drop-shadow(0 0 40px color-mix(in srgb, var(--c1) 70%, transparent)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(2deg); } }
.orbit-spin { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbit:hover .orbit-spin, .orbit:focus-within .orbit-spin { animation-play-state: paused; }
.sat {
  --r: calc(var(--size) / 2);
  position: absolute; left: 50%; top: 50%;
  width: clamp(54px, 13vw, 84px); aspect-ratio: 1; margin: calc(clamp(54px, 13vw, 84px) / -2) 0 0 calc(clamp(54px, 13vw, 84px) / -2);
  transform: rotate(calc(var(--a) * 360deg / var(--n, 6))) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -360deg / var(--n, 6)));
}
.sat-in { position: absolute; inset: 0; animation: spin 40s linear infinite reverse; }
.orbit:hover .sat-in, .orbit:focus-within .sat-in { animation-play-state: paused; }
.sat-ico {
  position: absolute; inset: 0; border-radius: 50%;
  background: #0b0b0b; border: 1px solid var(--line);
  transition: background-color .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.sat-ico::after { content: ""; position: absolute; inset: 30%; background: #fff; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; transition: background-color .3s; }
.sat:hover .sat-ico, .sat:focus-visible .sat-ico { background: var(--c1); border-color: var(--c1); transform: scale(1.15); box-shadow: 0 0 40px var(--c1); }
.sat:hover .sat-ico::after, .sat:focus-visible .sat-ico::after { background: #000; }
.sat-label {
  position: absolute; left: 50%; top: 100%; margin-top: 10px; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transition: opacity .3s;
}
.sat:hover .sat-label, .sat:focus-visible .sat-label { opacity: 1; }
.sat:focus-visible { outline: none; }

.booking { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: clamp(70px, 9vw, 120px) auto 0; text-align: center; }
.booking-mail {
  font-family: var(--display); font-size: clamp(26px, 5.5vw, 72px); line-height: 1; text-transform: uppercase;
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c1)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 5s linear infinite; overflow-wrap: anywhere;
}
@keyframes sheen { to { background-position: -200% 0; } }

/* ---------------- SHARED: store bits ---------------- */
.btn-sm { padding: 12px 16px; font-size: 11px; letter-spacing: 0.16em; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.is-soon { border-color: var(--line); color: var(--mute); cursor: not-allowed; }
.is-soon::before { display: none; }
.record-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.record-row h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.record-price { font-family: var(--display); font-size: 22px; color: var(--c1); }

/* ---------------- VAULT ---------------- */
.vault-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.crate {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 23vw, 310px); gap: clamp(20px, 2.4vw, 36px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; scrollbar-width: none;
}
.crate::-webkit-scrollbar { display: none; }
.record { scroll-snap-align: start; }

/* sideways scroller with left/right arrows */
.scroller { position: relative; max-width: 1400px; margin: 0 auto; }
.scroller::before, .scroller::after { /* edge fades hint there's more */
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 8vw, 120px); z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
.scroller::before { left: calc(var(--gutter) * -1); background: linear-gradient(90deg, var(--bg), transparent); }
.scroller::after { right: calc(var(--gutter) * -1); background: linear-gradient(-90deg, var(--bg), transparent); }
.scroller.can-left::before, .scroller.can-right::after { opacity: 1; }
.arrow {
  position: absolute; top: var(--arrow-top, 45%); z-index: 3; translate: 0 -50%;
  width: clamp(44px, 4.4vw, 60px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: rgba(5,5,5,0.75); color: var(--ink); border: 1px solid var(--c1); backdrop-filter: blur(6px);
  font: 700 clamp(18px, 1.8vw, 24px) var(--mono); cursor: pointer;
  box-shadow: 0 0 24px color-mix(in srgb, var(--c1) 35%, transparent);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background-color .25s, color .25s, scale .25s;
}
.arrow-prev { left: calc(var(--gutter) * -0.5); }
.arrow-next { right: calc(var(--gutter) * -0.5); }
.arrow:hover, .arrow:focus-visible { background: var(--c1); color: #000; scale: 1.08; }
.scroller.can-left .arrow-prev, .scroller.can-right .arrow-next { opacity: 1; visibility: visible; }
.scroller.hint .arrow-next span { display: inline-block; animation: nudge 1.1s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.scroller:has(.crate) { --arrow-top: 52%; }
.record { position: relative; }
.record-stage { position: relative; aspect-ratio: 1; margin-top: 46%; }
.vinyl {
  position: absolute; inset: 3%; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 31%, rgba(255,255,255,0.06) 31.5%, transparent 32%),
    repeating-radial-gradient(circle, #0d0d0d 0 1.5px, #1b1b1b 1.5px 3px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 10px 40px rgba(0,0,0,0.6);
  transform: translateY(-14%);
  transition: transform .8s cubic-bezier(.2,.8,.1,1);
}
.vinyl::after { /* light sheen */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 10%, rgba(255,255,255,0.12) 14%, transparent 20% 60%, rgba(255,255,255,0.08) 64%, transparent 70%);
}
.vinyl-label {
  position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, #050505 0 6%, var(--rc1) 7%, var(--rc2) 100%);
  animation: spin 2.4s linear infinite; animation-play-state: paused;
}
.vinyl-label i { width: 55%; aspect-ratio: 1; background: #050505; }
.sleeve {
  container-type: inline-size;
  position: absolute; inset: 0; overflow: hidden; z-index: 1;
  background:
    radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--rc2) 55%, transparent), transparent 55%),
    linear-gradient(150deg, var(--rc1), #070707 75%);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform .6s cubic-bezier(.2,.8,.1,1);
}
.sleeve::after { /* worn print texture */
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.25) 0 1px, transparent 1px 3px);
}
.sleeve img { width: 100%; height: 100%; object-fit: cover; }
.cov-name {
  position: absolute; left: 7%; bottom: 4%; z-index: 1;
  font-family: var(--display); font-size: min(32cqw, calc(165cqw / var(--len, 6))); line-height: 0.82; color: #050505;
  mix-blend-mode: hard-light;
}
.cov-logo { position: absolute; right: -12%; top: -6%; width: 72%; aspect-ratio: 1; background: rgba(255,255,255,0.9); transform: rotate(-12deg); }
.cov-meta { position: absolute; left: 7%; top: 7%; font-size: 10px; letter-spacing: 0.25em; color: rgba(255,255,255,0.85); }
.record:hover .vinyl, .record:focus-within .vinyl { transform: translateY(-44%); }
.record:hover .vinyl-label, .record:focus-within .vinyl-label { animation-play-state: running; }
.record:hover .sleeve { transform: translateY(4%); }
.record-info { padding-top: 18px; display: grid; gap: 8px; }
.record-info .mono { margin: 0; font-size: 10px; }
.record-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.record-stream { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); transition: color .25s; }
.record-stream:hover { color: var(--c1); }

/* ---------------- MERCH ---------------- */
.rack { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.product {
  border: 1px solid var(--line); background: rgba(10,10,10,0.72); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; transition: border-color .3s;
}
.product:hover { border-color: color-mix(in srgb, var(--c1) 60%, transparent); }
.product-stage {
  position: relative; aspect-ratio: 1 / 1.05; perspective: 900px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 62%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 28px);
  border-bottom: 1px solid var(--line);
}
.product-tag { position: absolute; left: 14px; top: 12px; font-size: 10px; z-index: 2; }
.product-tilt {
  position: absolute; inset: 10% 12% 6%; transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.1,1);
}
.product:hover .product-tilt { transition-duration: .12s; }
.garment { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 24px rgba(0,0,0,0.6)); }
.garment > * { fill: var(--g); stroke: rgba(255,255,255,0.14); stroke-width: 1; transition: fill .4s; }
.garment .g-shade { fill: color-mix(in srgb, var(--g) 72%, #000); }
.kind-stickers > *:nth-child(2) { fill: var(--c1); }
.kind-stickers > *:nth-child(3) { fill: #0c0c0c; }
.print { position: absolute; aspect-ratio: 1; background: var(--p); transform: translateZ(18px); transition: background-color .4s; }
.print-2 { left: 60%; top: 52%; width: 26%; background: #050505; transform: translateZ(18px) rotate(10deg); }
.print-3 { left: 21%; top: 72%; width: 18%; background: #fff; }
.product-info { padding: 16px; display: grid; gap: 14px; }
.product-info .btn { justify-content: center; }
.swatches { display: flex; gap: 10px; }
.swatch {
  width: 22px; height: 22px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--s); border: 1px solid rgba(255,255,255,0.3); outline-offset: 3px;
}
.swatch.on { outline: 2px solid var(--c1); }
.merch-foot { display: flex; justify-content: center; margin-top: clamp(32px, 5vw, 56px); }

@media (max-width: 900px) {
  .crate { grid-auto-columns: min(72vw, 300px); }
  .arrow-prev { left: 0; }
  .arrow-next { right: 0; }
  .rack {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(72vw, 300px);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; scrollbar-width: none;
  }
  .rack::-webkit-scrollbar { display: none; }
  .product { scroll-snap-align: start; }
  .vinyl { transform: translateY(-24%); }
}

/* ---------------- FOOTER ---------------- */
.foot { padding: 40px var(--gutter) 64px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-giant {
  font-family: var(--display); font-size: 25.5vw; line-height: 0.8; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.18);
  background: linear-gradient(0deg, var(--c1) 0 var(--fill, 0%), transparent var(--fill, 0%));
  -webkit-background-clip: text; background-clip: text;
  margin: 0 calc(var(--gutter) * -1) 28px; user-select: none;
}
.foot-row { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 11px; }
.foot-row a { color: var(--ink); }
.foot-row a:hover { color: var(--c1); }

/* ---------------- REVEAL ---------------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.1,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); align-items: end; padding-top: 70px; }
  .hero-figure { grid-column: 1; grid-row: 1; align-self: start; width: 100%; display: flex; justify-content: center; }
  .hero-img { flex: none; }
  .hero-img { height: min(78svh, 150vw); }
  .hero-giant { align-items: flex-start; padding-top: 22svh; font-size: 31vw; }
  .hero-left, .hero-right { grid-column: 1; grid-row: 1; padding-bottom: 0; }
  .hero-left { align-self: end; padding-bottom: 112px; text-align: left; }
  .hero-left .tag { display: none; }
  .hero-right { align-self: end; justify-self: stretch; padding-bottom: 28px; flex-direction: column; align-items: stretch; gap: 14px; text-align: left; }
  .hero-right .tag-live { display: none; }
  .hero-cta { flex-direction: row; }
  .hero-cta .btn { flex: 1; justify-content: center; padding: 15px 12px; font-size: 11px; letter-spacing: 0.14em; white-space: nowrap; }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; z-index: 2; pointer-events: none; background: linear-gradient(0deg, rgba(5,5,5,0.95) 15%, transparent); }
  .hero-title { font-size: clamp(44px, 13vw, 96px); }
  .worlds-grid { grid-template-columns: 1fr; }
  .portal { display: none; }
  .hud-world { display: none; }
  /* phone: links stack and slide in from the right, over a dimmed page */
  .nav-links {
    position: fixed; top: 64px; right: var(--gutter); z-index: 51; translate: none; padding-right: 0;
    flex-direction: column; align-items: flex-end; gap: 4px;
    font-family: var(--display); font-size: 44px; letter-spacing: 0.02em; line-height: 1.1;
  }
  .menu-scrim {
    display: block; position: fixed; inset: 0; z-index: 49;
    background: rgba(5,5,5,0.88); backdrop-filter: blur(8px);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  body.menu-open .menu-scrim { opacity: 1; pointer-events: auto; }
  .hud-hint { display: none; }
  .tracklist a { grid-template-columns: 30px 1fr auto; gap: 12px; }
  .t-eq { display: none; }
  .t-ico { width: 26px; height: 26px; }
}
@media (max-width: 560px) {
  .hud-brand span:last-child { display: none; }
  .w-genre { display: none; }
  .world-btn { grid-template-columns: 2.4em 1fr; }
  .t-act { display: none; }
  .tracklist a { grid-template-columns: 26px 1fr; }
  .marquee { margin: 20px 0 40px; }
  .portal-meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
