/* ZERØNE: Zero to One
   Palette: near-black stage, blue = 0, red = 1 (taken from the 2026 gel portrait). */
:root {
  --bg: #07080b;
  --bg-2: #0d0f14;
  --line: #1c1f27;
  --ink: #eceae6;
  --muted: #8b909a;
  --zero: #2f6bff;
  --one: #ff4a2a;
  --signal: linear-gradient(90deg, var(--zero), var(--one));
  --display: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(16px, 5vw, 72px);
  --max: 1320px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
h3 { font-size: 1.15rem; }
.o { background: var(--signal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--zero); outline-offset: 3px; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad); transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 8, 11, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.wordmark { font-family: var(--display); font-size: 1.15rem; letter-spacing: .14em; text-decoration: none; }
.wordmark.small { font-size: .95rem; }.nav-links { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; font-size: .9rem; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { color: var(--ink); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; }
.nav-links .nav-cta:hover { border-color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.nav-toggle span:first-child { top: 15px; } .nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; font-weight: 500; font-size: .95rem; transition: transform .2s, border-color .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { background: #fff; }
.btn-small { padding: 9px 16px; font-size: .85rem; }

/* HERO */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: min(62vw, 980px); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(7,8,11,.55) 28%, rgba(7,8,11,0) 55%),
              linear-gradient(0deg, var(--bg) 0%, rgba(7,8,11,0) 35%);
}
.hero-copy { position: relative; padding: 0 var(--pad) 120px; max-width: var(--max); }
.kicker { color: var(--muted); display: flex; align-items: center; gap: 8px; margin: 0 0 22px; }
.bit { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .7rem; color: var(--ink); }
.bit.zero { background: var(--zero); } .bit.one { background: var(--one); }
.arrow { color: var(--muted); }
.hero-title { font-size: clamp(3.6rem, 15vw, 13rem); letter-spacing: .04em; line-height: .9; margin-left: -.04em; }
.hero-sub { max-width: 34ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #cfd2d8; margin: 26px 0 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line); overflow: hidden; background: rgba(7,8,11,.6); }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 16px 28px; white-space: nowrap; }
.ticker span::after { content: "◦"; margin-left: 28px; color: var(--one); }
@keyframes tick { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: clamp(80px, 12vw, 160px) var(--pad); max-width: var(--max); margin: 0 auto; position: relative; }
.section + .section::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: var(--line); }
.eyebrow { color: var(--muted); margin: 0 0 16px; }
.section-head { margin-bottom: 56px; }
.section-note { color: var(--muted); margin: 18px 0 0; }
.lede { font-size: 1.2rem; color: var(--ink); }

/* RELEASE */
.release { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.release-art { position: relative; }
.release-art img { border-radius: 4px; box-shadow: 0 40px 120px -30px rgba(47,107,255,.45); }
.release-copy h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 18px; }
.release-copy h2 .demo-tag { font-family: var(--mono); font-size: .32em; letter-spacing: .12em; color: var(--muted); vertical-align: middle; white-space: nowrap; }
.release-copy .lede { color: #cfd2d8; max-width: 40ch; }
.release-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 48px; }
.next { border-top: 1px solid var(--line); padding-top: 28px; }
.next h3 { font-size: 1.6rem; margin-bottom: 10px; }
.next p:last-child { color: var(--muted); max-width: 46ch; margin: 0; }

/* TRACKLIST */
.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track {
  display: grid; grid-template-columns: 48px 56px 1fr auto; gap: 18px; align-items: center;
  padding: 14px 8px; border-bottom: 1px solid var(--line); transition: background .2s;
}
.track:hover { background: var(--bg-2); }
.track > img, .track-thumb { width: 56px; height: 56px; border-radius: 3px; object-fit: cover; }
.track-thumb { display: grid; place-items: center; font-family: var(--display); font-size: .7rem; letter-spacing: .1em; }
.gradient-a { background: linear-gradient(135deg, #1a1d26, var(--zero)); }
.gradient-b { background: linear-gradient(135deg, #1a1d26, #7b2fff); }
.gradient-c { background: linear-gradient(135deg, #1a1d26, var(--one)); }
.track-play {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none;
  display: grid; place-items: center; text-decoration: none; transition: border-color .2s, background .2s;
}
.track-play:hover { border-color: var(--ink); }
.track.playing .track-play { background: var(--ink); border-color: var(--ink); }
.track.playing .track-play .i-play { border-left-color: var(--bg); }
.i-play { width: 0; height: 0; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.i-pause { width: 11px; height: 13px; border-left: 3.5px solid currentColor; border-right: 3.5px solid currentColor; }
.track.playing.is-playing .track-play .i-play { width: 11px; height: 13px; border: 0; border-left: 3.5px solid var(--bg); border-right: 3.5px solid var(--bg); margin: 0; }
.i-ext { font-size: 1rem; color: var(--muted); }
.track-meta { display: flex; flex-direction: column; min-width: 0; }
.track-meta strong { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-meta span { color: var(--muted); font-size: .88rem; }
.track-tag { color: var(--muted); }
.track.playing .track-tag { color: var(--one); }

/* BIO */
.bio-main { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.bio-photo { position: sticky; top: 100px; }
.bio-photo img { border-radius: 4px; filter: contrast(1.05); }
.bio-copy h2 { margin-bottom: 32px; }
.bio-text p { color: #c4c7ce; margin: 0 0 18px; }
.bio-text .lede { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 48px 0 0; }
.stats div { background: var(--bg); padding: 22px; }
.stats dt { color: var(--muted); }
.stats dd { margin: 8px 0 0; font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.stats div:nth-child(odd) dd { color: var(--ink); }
.timeline { list-style: none; margin: 80px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--signal); opacity: .8; }
.timeline li { position: relative; padding: 30px 14px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 2px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.timeline li.now::before { background: var(--one); border-color: var(--one); box-shadow: 0 0 0 6px rgba(255,74,42,.18); }
.timeline .year { color: var(--ink); font-size: .8rem; }
.timeline p { color: var(--muted); font-size: .88rem; line-height: 1.5; margin: 8px 0 0; }
.quote { margin: 64px 0 0; padding: 40px 0 0; border-top: 1px solid var(--line); }
.quote p { font-family: var(--display); font-size: clamp(1.1rem, 2.2vw, 1.7rem); line-height: 1.45; max-width: 40ch; margin: 0; }

/* GALLERY */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 12px; }
.g { padding: 0; border: 0; background: var(--bg-2); overflow: hidden; border-radius: 3px; }
.g img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(1) contrast(1.05); transition: filter .5s, transform .8s cubic-bezier(.2,.7,.2,1); }
.g:hover img, .g:focus-visible img { filter: none; transform: scale(1.04); }
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-wide img { object-position: 50% 40%; }

/* BOOKINGS */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--bg); padding: 36px 30px 40px; transition: background .3s; }
.card:hover { background: var(--bg-2); }
.card-n { display: inline-block; margin-bottom: 40px; color: var(--muted); }
.card:nth-child(1) .card-n { color: var(--zero); } .card:nth-child(2) .card-n { color: var(--one); }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.downloads { margin-top: 56px; }
.downloads ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.downloads a { display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s, color .2s; }
.downloads a:hover { padding-left: 14px; }
.downloads a .mono { color: var(--muted); }
.downloads a::after { content: "↓"; margin-left: 16px; color: var(--muted); }

/* CONTACT */
.contact { text-align: left; }
.contact-title { font-size: clamp(2.6rem, 9vw, 7.5rem); line-height: .98; margin-bottom: 40px; }
.contact-mail {
  display: inline-block; font-family: var(--display); font-size: clamp(1.1rem, 3.6vw, 2.4rem); text-decoration: none;
  background: var(--signal); background-size: 100% 2px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 8px;
  transition: background-size .3s;
}
.contact-mail:hover { background-size: 100% 4px; }
.contact-links { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-links a { display: flex; flex-direction: column; gap: 8px; background: var(--bg); padding: 24px; text-decoration: none; transition: background .2s; }
.contact-links a:hover { background: var(--bg-2); }
.contact-links .mono { color: var(--muted); }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px var(--pad) 110px; border-top: 1px solid var(--line); color: var(--muted); }

/* PLAYER */
.player {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60;
  width: min(560px, calc(100vw - 32px)); display: grid; grid-template-columns: 44px 1fr auto 28px; gap: 14px; align-items: center;
  padding: 10px 14px 10px 10px; border-radius: 999px; background: rgba(18, 20, 27, .92); backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: 0 20px 60px -20px #000;
}
.player[hidden] { display: none; }
.player-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
.player-btn .i-play { border-left-color: var(--bg); }
.player-info { min-width: 0; }
.player-info strong { display: block; font-weight: 500; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-bar { height: 4px; background: var(--line); border-radius: 4px; margin-top: 8px; cursor: pointer; position: relative; }
.player-bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--signal); border-radius: 4px; }
.player-time { color: var(--muted); }
.player-close { background: none; border: 0; font-size: 1.4rem; color: var(--muted); line-height: 1; }

/* LIGHTBOX */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(4,5,7,.92); }
.lb-body img, .lb-body video { max-width: 92vw; max-height: 86vh; border-radius: 3px; display: block; }
.lb-close { position: fixed; top: 16px; right: 20px; background: none; border: 0; font-size: 2rem; color: var(--ink); z-index: 2; }

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

/* RESPONSIVE */
@media (max-width: 1000px) {
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .timeline::before { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(7,8,11,.97); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px;
    transform: translateY(-120%); transition: transform .3s;
  }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.05rem; color: var(--ink); }
  .nav-links .nav-cta { border: 0; padding: 14px 0; }
  .hero-photo { width: 100%; }
  .hero-photo::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(7,8,11,.35) 55%, rgba(7,8,11,.2) 100%); }
  .hero-copy { padding-bottom: 96px; }
  .release, .bio-main { grid-template-columns: 1fr; }
  .bio-photo { position: static; max-width: 460px; }
  .cards, .contact-links { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .track { grid-template-columns: 44px 48px 1fr; gap: 12px; padding: 12px 0; }
  .track > img, .track-thumb { width: 48px; height: 48px; }
  .track-tag { display: none; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; grid-auto-rows: 360px; }
  .g-wide { grid-column: auto; grid-row: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
