:root {
  --bg: #07090f;
  --bg-2: #0b0e16;
  --text: #f0f0f0;
  --muted: rgba(240, 240, 240, 0.55);
  --dim: rgba(240, 240, 240, 0.25);
  --accent: #00e5c0;
  --accent-rgb: 0, 229, 192;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.35);
  --font-mono: 'JetBrains Mono', 'Courier New', ui-monospace, monospace;
  --scanline-opacity: 0.04;
  --glitch-intensity: 1;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; font-family: inherit; }

/* ─────────────────────────────────────────  CURSOR */
#cursor-dot, #cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
}
#cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.18s, height 0.18s, background 0.18s;
}
#cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(var(--accent-rgb), 0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s, opacity 0.2s;
}
body.cursor-hover #cursor-dot { width: 10px; height: 10px; }
body.cursor-hover #cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--accent);
  border-style: dashed;
  animation: ring-spin 4s linear infinite;
}
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }
}

/* ─────────────────────────────────────────  GLOBAL OVERLAYS */
#scanlines {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 80;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(255, 255, 255, var(--scanline-opacity)) 3px,
    transparent 4px
  );
  mix-blend-mode: overlay;
}
#grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 81;
  opacity: 0.05;
  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>");
  mix-blend-mode: overlay;
}

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

/* ─────────────────────────────────────────  CHROME */
.chrome-top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 70;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.chrome-top .left, .chrome-top .right {
  display: flex; align-items: center; gap: 14px;
}
.chrome-top .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

.chrome-side {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dim);
  z-index: 60;
  pointer-events: none;
  white-space: nowrap;
}
.chrome-side-r {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dim);
  z-index: 60;
  pointer-events: none;
  white-space: nowrap;
}

/* nav dots */
.nav-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 65;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: auto;
}
.nav-dots a {
  width: 10px; height: 10px;
  border: 1px solid var(--line-strong);
  display: block;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.nav-dots a::after {
  content: attr(data-label);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
  pointer-events: none;
}
.nav-dots a:hover::after { opacity: 1; }
.nav-dots a.active { background: var(--accent); border-color: var(--accent); }

@media (max-width: 768px) {
  .chrome-side, .chrome-side-r, .nav-dots { display: none; }
}

/* ─────────────────────────────────────────  HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -5%;
  z-index: 0;
  background-size: cover;
  background-position: center 20%;
  filter: contrast(1.05) saturate(1.05) brightness(0.85);
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.85), transparent 70%),
    radial-gradient(ellipse at 50% 30%, transparent, rgba(7,9,15,0.6) 80%),
    linear-gradient(180deg, rgba(7,9,15,0.45) 0%, transparent 25%, transparent 60%, rgba(7,9,15,0.95) 100%);
}
.hero-bg-glitch-r,
.hero-bg-glitch-c {
  position: absolute;
  inset: -5%;
  z-index: 1;
  background-size: cover;
  background-position: center 30%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  width: 100%;
  padding: 0 24px 14vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* Logo container */
.hero-logo {
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 0 24px rgba(0,0,0,0.6));
}

.hero-tagline {
  max-width: 760px;
  font-size: clamp(13px, 1.4vw, 17px);
  line-height: 1.6;
  color: rgba(240,240,240,0.85);
  letter-spacing: 0.04em;
  text-wrap: balance;
}
.hero-tagline .em { color: var(--accent); }

.hero-meta {
  display: flex;
  gap: 32px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  align-items: center;
}
.hero-meta .sep { color: var(--accent); }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 6;
  pointer-events: none;
}
.hero-scroll .line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Glitch entry animation */
@keyframes glitch-entry {
  0%   { opacity: 0; transform: translate(0, 0) skewX(0); filter: blur(0); clip-path: inset(0 0 0 0); }
  6%   { opacity: 1; transform: translate(calc(-12px * var(--glitch-intensity)), 0) skewX(-3deg); filter: hue-rotate(80deg) blur(2px); clip-path: inset(0 70% 0 0); }
  10%  { transform: translate(calc(8px * var(--glitch-intensity)), 0) skewX(2deg); clip-path: inset(40% 0 30% 0); }
  18%  { transform: translate(calc(-4px * var(--glitch-intensity)), 2px) skewX(0); clip-path: inset(10% 0 60% 0); filter: hue-rotate(-40deg); }
  26%  { transform: translate(0, 0) skewX(-1deg); clip-path: inset(70% 0 5% 0); filter: none; }
  35%  { transform: translate(calc(3px * var(--glitch-intensity)), 0); clip-path: inset(0 0 0 0); }
  100% { transform: translate(0,0) skewX(0); filter: none; clip-path: inset(0 0 0 0); }
}
.hero-logo.entering > * { animation: glitch-entry 1.6s steps(24) forwards; }

/* RGB split slices (stacked copies of the logo in red/blue) */
.hero-logo .rgb-slice {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-logo .rgb-slice.r { color: rgba(255, 60, 90, 0.7); }
.hero-logo .rgb-slice.b { color: rgba(90, 200, 255, 0.7); }
.hero-logo.entering .rgb-slice {
  animation: rgb-jitter 1.4s steps(20) forwards;
}
.hero-logo .rgb-slice.r { animation-delay: 0s; }
.hero-logo .rgb-slice.b { animation-delay: 0.05s; }
@keyframes rgb-jitter {
  0% { transform: translate(0,0); opacity: 0.6; }
  20% { transform: translate(calc(-6px * var(--glitch-intensity)), 1px); opacity: 0.8; }
  40% { transform: translate(calc(8px * var(--glitch-intensity)), -1px); opacity: 0.5; }
  60% { transform: translate(calc(-3px * var(--glitch-intensity)), 0); opacity: 0.6; }
  80% { transform: translate(calc(2px * var(--glitch-intensity)), 1px); opacity: 0.3; }
  100% { transform: translate(0,0); opacity: 0; }
}

/* idle subtle drift */
@keyframes idle-drift {
  0%, 90%, 100% { transform: translate(0, 0); opacity: 0; }
  92% { transform: translate(-2px, 0); opacity: 0.4; }
  94% { transform: translate(2px, 0); opacity: 0.3; }
  96% { transform: translate(-1px, 1px); opacity: 0.4; }
}
.hero-logo:not(.entering) .rgb-slice { animation: idle-drift 6s steps(8) infinite; }
.hero-logo:not(.entering) .rgb-slice.b { animation-delay: 3s; }

/* ─────────────────────────────────────────  SECTION shell */
.section {
  position: relative;
  padding: 14vh 6vw 14vh;
  max-width: 1480px;
  margin: 0 auto;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}
.section-label .num {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.section-label .bar {
  flex: 0 0 60px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

/* ─────────────────────────────────────────  BIO */
.bio {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6vw;
  align-items: stretch;
}
.bio-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0c14;
  align-self: start;
  margin-top: 4vh;
  will-change: transform;
}
.bio-photo .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  filter: contrast(1.05) saturate(1.05);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bio-photo:hover .img { transform: scale(1.04); }
.bio-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,9,15,0.7) 100%);
  pointer-events: none;
}

/* Bio placeholder label */
.bio-placeholder-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
  width: 80%;
}
.bio-placeholder-label .glyph {
  font-size: 24px;
  color: var(--accent);
  letter-spacing: 0;
  margin-bottom: 8px;
  opacity: 0.6;
}
.bio-placeholder-label .dim {
  color: rgba(255, 255, 255, 0.18);
  font-size: 8px;
  margin-top: 8px;
  text-wrap: balance;
  white-space: normal;
}
.bio-photo .corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--accent);
}
.bio-photo .corner.tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.bio-photo .corner.tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.bio-photo .corner.bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.bio-photo .corner.br { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.bio-photo .stamp {
  position: absolute;
  bottom: 14px; left: 14px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 2;
}

.bio-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8vh;
}
.bio-text .heading {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.bio-text .heading .accent { color: var(--accent); }
.bio-text .body {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(240,240,240,0.78);
  max-width: 56ch;
  text-wrap: pretty;
}
.bio-text .body strong { color: var(--text); font-weight: 500; }
.bio-text .venues {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.bio-text .venues span {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.bio-text .venues span:hover { border-color: var(--accent); color: var(--accent); }

.bio-buttons {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.btn-pixel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(0,0,0,0.4);
  border: 1px dashed var(--line-strong);
  position: relative;
  transition: all 0.2s ease;
  overflow: hidden;
}
.btn-pixel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-pixel:hover { border-color: var(--accent); color: var(--accent); border-style: solid; }
.btn-pixel:hover::before { transform: translateX(100%); }
.btn-pixel .play {
  width: 0; height: 0;
  border-left: 8px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

@media (max-width: 900px) {
  .bio { grid-template-columns: 1fr; gap: 40px; }
  .bio-photo { aspect-ratio: 4 / 3; margin-top: 0; }
  .bio-text { padding-top: 0; }
}

/* ─────────────────────────────────────────  MUSIC GRID */
.music {
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
}
.music::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.02' numOctaves='1'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0.9  0 0 0 0 0.75  0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* waveform canvas behind grid */
.music .wave {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

.music-inner { position: relative; z-index: 2; }

.music-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 50px;
}
.music-title {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.05;
}
.music-title .accent { color: var(--accent); }

.bpm-display {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.bpm-display .num {
  font-size: 32px;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.bpm-display .num span {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--accent);
}

.platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.platform {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border: 1px dashed var(--line-strong);
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.platform::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(var(--accent-rgb), 0.08) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.platform::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
  opacity: 0;
  transition: opacity 0.3s, width 0.3s, height 0.3s;
}
.platform:hover {
  border-color: var(--accent);
  border-style: solid;
  transform: translateY(-4px);
}
.platform:hover::before { opacity: 1; }
.platform:hover::after { opacity: 1; width: 24px; height: 24px; }

.platform-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.platform-name {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}
.platform-meta {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.platform .arrow {
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s;
}
.platform .arrow::after {
  content: '→';
  font-size: 12px;
  line-height: 1;
}
.platform:hover .arrow {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.platform-glyph {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}
.platform:hover .platform-glyph { opacity: 1; transform: scale(1.05); }

@media (max-width: 900px) {
  .platforms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .platforms { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────  CONTACT */
.contact {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 14vh 6vw;
  background: linear-gradient(180deg, #050710 0%, #02030a 100%);
}
.contact-bg-fade {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 60% at 25% 50%, rgba(var(--accent-rgb), 0.08), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0, transparent 60px, rgba(255,255,255,0.02) 60px, rgba(255,255,255,0.02) 61px),
    repeating-linear-gradient(90deg, transparent 0, transparent 60px, rgba(255,255,255,0.02) 60px, rgba(255,255,255,0.02) 61px);
}
.contact-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  min-width: 0;
  width: 100%;
}
.contact-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.05) saturate(1.05);
}
.contact-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(2,3,10,0.6) 100%);
  pointer-events: none;
}
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-photo { max-width: 420px; aspect-ratio: 4 / 5; }
  .contact-title h2 { font-size: clamp(56px, 14vw, 120px); }
}
.contact-title {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-title h2,
.contact-title .heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-wrap: balance;
}
.contact-title .heading .accent { color: var(--accent); }
@media (max-width: 900px) {
  .contact-title h2,
  .contact-title .heading { font-size: clamp(28px, 7vw, 48px); }
}
.contact-title .sub {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.7;
}

.email-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.email-card .label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.email-card .label .badge {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent);
}
.email-card .label .badge::before {
  content: ''; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.email-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border: 1px dashed var(--line-strong);
  background: rgba(0,0,0,0.55);
  font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: 0.04em;
  color: var(--text);
  position: relative;
  transition: all 0.25s;
  font-family: var(--font-mono);
  width: 100%;
  text-align: left;
}
.email-btn:hover {
  border-color: var(--accent);
  border-style: solid;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}
.email-btn .copy-action {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.email-btn:hover .copy-action { color: var(--accent); }
.email-btn .copy-icon {
  display: inline-block;
  width: 12px; height: 12px;
  border: 1px solid currentColor;
  position: relative;
}
.email-btn .copy-icon::after {
  content: '';
  position: absolute;
  top: -3px; left: -3px;
  width: 10px; height: 10px;
  border: 1px solid currentColor;
  background: var(--bg);
}
.email-btn.copied { border-color: var(--accent); border-style: solid; color: var(--accent); }
.email-btn.copied .copy-action::before { content: 'Copied ✓'; }
.email-btn:not(.copied) .copy-action::before { content: 'Copy'; }
.email-btn .copy-action::before { transition: content 0.2s; }

.contact-platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 6vh;
}
.contact-platforms a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}
.contact-platforms a:hover { border-color: var(--accent); color: var(--accent); }
.contact-platforms a span:last-child { font-size: 14px; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────  FOOTER */
.footer {
  position: relative;
  padding: 32px 6vw;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
}

/* ─────────────────────────────────────────  REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

/* ─────────────────────────────────────────  TWEAKS PANEL OVERRIDES */
.tweaks-panel {
  font-family: var(--font-mono) !important;
}

/* ─────────────────────────────────────────  TOAST */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--accent);
  color: #000;
  padding: 12px 20px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 9000;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 30px rgba(var(--accent-rgb), 0.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Chrome */
  .chrome-top { padding: 12px 16px; font-size: 8px; letter-spacing: 0.18em; }
  .chrome-top .left, .chrome-top .right { gap: 8px; }
  .chrome-top .clock { display: none; }
  .chrome-top .right span:nth-child(2) { display: none; }

  /* Hero */
  .hero { padding: 0 20px; }
  .hero-content { padding: 0; gap: 28px; }
  .hero-logo { transform: scale(0.55); transform-origin: center; }
  .hero-tagline { font-size: 14px; padding: 0 8px; }
  .hero-meta {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    font-size: 9px;
    letter-spacing: 0.2em;
  }
  .hero-meta .sep { display: none; }
  .hero-scroll { bottom: 32px; font-size: 8px; }
  .rgb-slice { display: none; }

  /* Section padding */
  .section { padding: 12vh 20px !important; }
  .section-label {
    font-size: 9px;
    margin-bottom: 24px;
    gap: 12px;
  }
  .section-label .bar { flex: 0 0 30px; }

  /* Bio */
  .bio { padding: 12vh 20px; gap: 32px; }
  .bio-photo { aspect-ratio: 4 / 5; max-height: 60vh; margin-top: 0; }
  .bio-text { padding-top: 0; gap: 20px; }
  .bio-text .heading { font-size: clamp(28px, 8vw, 42px); }
  .bio-text .body { font-size: 13px; line-height: 1.75; }
  .bio-buttons { flex-direction: column; gap: 10px; }
  .bio-buttons .btn-pixel { width: 100%; justify-content: center; }
  .bio-text .venues span {
    font-size: 8px;
    padding: 6px 10px;
    letter-spacing: 0.2em;
  }
  .stamp { font-size: 8px; padding: 4px 8px; }

  /* Music */
  .music { padding: 12vh 20px; }
  .music-title { font-size: clamp(28px, 8vw, 42px); }
  .platforms { grid-template-columns: 1fr; gap: 14px; }
  .platform { padding: 24px 20px; min-height: auto; }
  .bpm-display { font-size: 10px; }

  /* Contact */
  .contact { padding: 12vh 20px; min-height: auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-photo {
    max-width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 50vh;
  }
  .contact-content { gap: 24px; }
  .contact-title { gap: 16px; }
  .contact-title h2,
  .contact-title .heading {
    font-size: clamp(28px, 8vw, 42px) !important;
    line-height: 1.1;
  }
  .contact-title .sub { font-size: 11px; line-height: 1.6; }
  .email-card { gap: 8px; }
  .email-card .label { font-size: 8px; letter-spacing: 0.22em; }
  .email-btn {
    padding: 16px 14px;
    font-size: 12px;
    word-break: break-all;
    text-align: left;
    flex-wrap: wrap;
    gap: 8px;
  }
  .contact-platforms {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .contact-platforms a {
    padding: 14px 12px;
    font-size: 9px;
    letter-spacing: 0.18em;
  }
  .contact-platforms a span:last-child { font-size: 12px; }

  /* Footer */
  footer {
    padding: 24px 20px !important;
    flex-direction: column;
    align-items: flex-start;
    font-size: 8px;
    letter-spacing: 0.2em;
  }

  /* Hide nav dots, side chrome, custom cursor on mobile */
  .nav-dots,
  .chrome-side,
  .chrome-side-r,
  #cursor-dot,
  #cursor-ring { display: none !important; }
  body { cursor: auto !important; }

  /* Tweaks panel — keep usable but smaller */
  .tweaks-panel {
    width: calc(100vw - 24px) !important;
    max-width: 360px !important;
    right: 12px !important;
    bottom: 12px !important;
  }

  /* Video modal */
  .video-modal iframe { max-width: 100%; }
}

/* Extra small phones */
@media (max-width: 380px) {
  .hero-logo { transform: scale(0.45); }
  .hero-tagline { font-size: 12px; }
  .bio-text .heading,
  .music-title,
  .contact-title .heading,
  .contact-title h2 { font-size: clamp(24px, 9vw, 36px) !important; }
  .platform { padding: 20px 16px; }
}


/* ─────────────────────────────────────────  PLAY THE LATE GAME */
.play-game { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), 0.16), transparent 42%), linear-gradient(180deg, var(--bg-2), var(--bg)); }
.play-game::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(var(--accent-rgb), 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), 0.035) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); pointer-events: none; }
.play-game-head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 28px; }
.play-game-title { font-size: clamp(28px, 4vw, 56px); font-weight: 300; line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; }
.play-game-title .accent { color: var(--accent); }
.play-game-head p { max-width: 420px; color: rgba(240,240,240,0.72); font-size: 13px; line-height: 1.7; text-align: right; }
.game-hud { position: relative; z-index: 2; display: grid; gap: 10px; margin-bottom: 14px; }
.game-hud-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.energy-wrap { width: 100%; height: 18px; border: 1px solid var(--accent); background: rgba(255,255,255,0.05); padding: 2px; }
.energy-bar { height: 100%; background: var(--accent); box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.65); transition: width 0.1s linear, background 0.12s ease; }
.game-box { position: relative; z-index: 2; width: 100%; aspect-ratio: 16 / 9; max-height: 560px; min-height: 360px; border: 1px solid var(--accent); background: #05070d; overflow: hidden; box-shadow: 0 0 50px rgba(var(--accent-rgb), 0.16); touch-action: manipulation; outline: none; }
.game-box.shake { animation: game-shake 0.18s linear; }
.game-box.flash { animation: game-flash 0.18s linear; }
@keyframes game-shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
@keyframes game-flash { 50% { box-shadow: 0 0 80px rgba(0,255,240,0.75); } }
.game-canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.game-overlay { position: absolute; inset: 0; background: rgba(7,9,15,0.84); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 4; backdrop-filter: blur(4px); }
.game-panel { width: min(620px, 100%); border: 1px dashed var(--accent); padding: 26px; background: rgba(7,9,15,0.94); text-align: center; }
.game-panel h3 { color: var(--accent); font-size: clamp(22px, 4vw, 42px); line-height: 1.05; margin-bottom: 14px; }
.game-panel p { color: var(--muted); font-size: 13px; line-height: 1.7; margin-bottom: 10px; }
.game-start-btn { margin-top: 12px; }
.feedback { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font-size: clamp(28px, 8vw, 76px); font-weight: 700; letter-spacing: 0.1em; opacity: 0; pointer-events: none; z-index: 5; text-shadow: 3px 0 #ff3e6c, -3px 0 var(--accent); text-transform: uppercase; }
.feedback.show { animation: feedback-pop 0.45s ease; }
.feedback.perfect { color: #00fff0; }
.feedback.good { color: var(--accent); }
.feedback.miss { color: #ff3e6c; }
.feedback.level { color: #ffffff; }
@keyframes feedback-pop { 0% { opacity: 0; transform: translate(-50%, -40%) scale(0.8); } 20% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -65%) scale(1); } }
.mobile-tap { display: none; position: relative; z-index: 2; width: 100%; margin-top: 14px; padding: 16px; border: 1px dashed var(--accent); background: rgba(0,0,0,0.3); color: var(--accent); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; }
.mobile-tap:active { background: var(--accent); color: #000; }
@media (max-width: 900px) { .play-game-head { flex-direction: column; align-items: flex-start; gap: 16px; } .play-game-head p { text-align: left; max-width: 100%; } .game-box { min-height: 320px; } }
@media (max-width: 768px) { .play-game { padding: 12vh 20px !important; } .play-game-title { font-size: clamp(28px, 8vw, 42px); } .game-hud-row { display: grid; grid-template-columns: 1fr 1fr; font-size: 8px; letter-spacing: 0.16em; } .game-box { aspect-ratio: 4 / 3; min-height: 300px; } .game-panel { padding: 20px 16px; } .game-panel p { font-size: 12px; } .mobile-tap { display: block; } }
@media (max-width: 420px) { .game-box { min-height: 270px; } .game-hud-row { grid-template-columns: 1fr; gap: 6px; } .energy-wrap { height: 16px; } }
