:root {
  --bg: #07070a;
  --bg-2: #101016;
  --line: #24242e;
  --text: #f2f2f5;
  --muted: #8b8b98;
  --accent: #2b74ff;
  --accent-2: #ff2d55;
  --radius: 4px;
  --gutter: clamp(16px, 4vw, 48px);
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .3s, padding .3s;
}
.nav.is-scrolled {
  background: rgba(7, 7, 10, .85);
  backdrop-filter: blur(10px);
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.nav__logo { font-weight: 900; letter-spacing: .14em; font-size: 15px; }
.nav__links { display: flex; gap: 36px; }
.nav__links a {
  font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.nav__links a:hover { color: var(--text); }
.nav__toggle { display: none; }
.nav__ig { display: grid; place-items: center; width: 36px; height: 36px; margin-left: 28px; color: var(--text); transition: color .2s, transform .2s; }
.nav__ig svg { width: 20px; height: 20px; fill: currentColor; }
.nav__ig:hover { color: var(--accent); transform: scale(1.08); }
.nav__links { margin-left: auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px;
  font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 0 0 0 rgba(43, 116, 255, .5); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -10px rgba(43, 116, 255, .8); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--block { width: 100%; margin-top: 28px; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: end center; text-align: center;
  padding: 120px var(--gutter) 90px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
  will-change: opacity, transform;
}
.hero__slide.is-active { opacity: 1; animation: kenburns 7s ease-out forwards; }
.hero__slide:nth-child(even).is-active { animation-name: kenburns-alt; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1%, -1%); } }
@keyframes kenburns-alt { from { transform: scale(1.14) translate(1%, 0); } to { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-active { animation: none; } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(7,7,10,.5), transparent 18%, transparent 55%, rgba(7,7,10,.75) 85%, var(--bg));
}
.hero__title { text-shadow: 0 4px 24px rgba(0,0,0,.6); }
.hero__content { position: relative; max-width: 900px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 16px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .22em; color: #fff;
  background: var(--accent); border-radius: 999px;
  box-shadow: 0 8px 30px -8px rgba(43, 116, 255, .8);
}
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero__title {
  margin: 0;
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 900; line-height: 1; letter-spacing: -.03em;
}

/* glitch */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  opacity: .7; pointer-events: none;
}
.glitch::before { color: var(--accent); animation: glitch-a 3.2s infinite steps(1); }
.glitch::after { color: var(--accent-2); animation: glitch-b 2.7s infinite steps(1); }
@keyframes glitch-a {
  0%, 88%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  90% { transform: translate(-4px, 2px); clip-path: inset(20% 0 55% 0); }
  94% { transform: translate(3px, -1px); clip-path: inset(62% 0 12% 0); }
}
@keyframes glitch-b {
  0%, 84%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  86% { transform: translate(4px, -2px); clip-path: inset(40% 0 35% 0); }
  91% { transform: translate(-3px, 1px); clip-path: inset(5% 0 80% 0); }
}
@media (prefers-reduced-motion: reduce) {
  .glitch::before, .glitch::after { animation: none; display: none; }
}

/* fake installer bar */
.loader {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 14px auto 24px; font-size: 11px; color: rgba(255,255,255,.7); letter-spacing: .08em;
}
.loader__bar { width: min(240px, 40vw); height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .08s linear; }
.loader__pct { min-width: 4ch; text-align: left; color: var(--text); }

.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__stream { display: flex; gap: 14px; }
.btn--icon { gap: 10px; background: rgba(7, 7, 10, .45); backdrop-filter: blur(6px); }
.btn--icon-solid { gap: 12px; }
.btn--icon-solid svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn--icon svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .3em; color: var(--muted);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(80px, 12vw, 150px) var(--gutter); max-width: 1280px; margin: 0 auto; }
.section__head { margin-bottom: 36px; }
.kicker { font-size: 12px; letter-spacing: .2em; color: var(--accent); margin: 0 0 10px; }
.section__title {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 900; line-height: .95; letter-spacing: -.035em; text-transform: uppercase;
}

/* ---------- ALBUM ---------- */
/* "Download" in the hero jumps here: leave the cover just below the fixed menu */
#album { scroll-margin-top: calc(76px - clamp(80px, 12vw, 150px)); }
.album__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.album__cover { position: sticky; top: 100px; }
.album__cover img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: 0 40px 120px -40px rgba(43, 116, 255, .45); }
.album__lead { color: var(--muted); margin: 20px 0 36px; max-width: 46ch; }

.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: t; }
.track {
  display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.track__play {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s;
}
.track__play:hover { border-color: var(--accent); }
.track.is-playing .track__play { background: var(--accent); border-color: var(--accent); }
.track__play svg { width: 12px; height: 12px; fill: currentColor; }
.track__name { font-weight: 600; line-height: 1.3; }
.track__name small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: .05em; }
.track.is-playing .track__name { color: var(--accent); }
.track__time { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.track__dl {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, color .2s;
}
.track__dl:hover { border-color: var(--accent); color: var(--accent); }
.track__progress { grid-column: 2 / -1; height: 2px; background: var(--line); display: none; }
.track.is-playing .track__progress { display: block; }
.track__progress span { display: block; height: 100%; width: 0; background: var(--accent); }

/* ---------- DISCOGRAPHY ---------- */
.disco { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px 24px; }
@media (max-width: 560px) {
  .disco { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .release__title { font-size: 15px; }
  .release__artist { font-size: 12px; }
}
.release { display: block; }
.release__art {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-2);
  margin-bottom: 14px;
}
.release__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.release:hover .release__art img { transform: scale(1.05); }
.release__title { font-weight: 800; font-size: 18px; line-height: 1.25; }
.release__art { display: block; }
.release__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.release__links a {
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted);
  transition: border-color .2s, color .2s;
}
.release__links a:hover { border-color: var(--accent); color: var(--text); }
.release__artist { font-size: 14px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.release__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; letter-spacing: .04em; }

/* ---------- ABOUT ME (collage) ---------- */
.about {
  border-top: 1px solid var(--line);
  padding: clamp(80px, 12vw, 150px) var(--gutter);
  max-width: 1440px; margin: 0 auto;
  overflow: hidden;
}
.about__head { max-width: 1280px; margin-inline: auto; }

/* 12-column board; each tile picks its cells and they overlap like the reference */
.collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  /* 13 fixed rows for the videos + one last row that grows as tall as the text needs */
  grid-template-rows: repeat(13, clamp(34px, 4.6vw, 68px)) auto;
  gap: 0;
}
.tile { margin: 0; overflow: hidden; background: var(--bg-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.tile video, .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile--sky  { grid-column: 5 / 9;  grid-row: 1 / 5;  z-index: 1; }
.tile--dj   { grid-column: 1 / 4;  grid-row: 3 / 10; z-index: 2; }
.tile--foil { grid-column: 8 / 13; grid-row: 4 / 9;  z-index: 3; }
.tile--tube { grid-column: 3 / 8;  grid-row: 8 / 13; z-index: 4; }

/* giant outlined words that run over the photos */
.collage__word {
  position: absolute; left: 0; right: 0; margin: 0; z-index: 6; pointer-events: none;
  font-family: "DM Serif Display", Georgia, serif; font-weight: 400;
  font-size: clamp(90px, 17vw, 250px); line-height: .8; letter-spacing: -.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85);
  mix-blend-mode: difference;
  will-change: transform;
}
.collage__word--1 { top: 0; text-align: left; }
.collage__word--2 { top: clamp(170px, 24vw, 360px); text-align: right; padding-right: 2%; }

/* text block, sitting under the wakefoil video */
.about__body { grid-column: 8 / 13; grid-row: 10 / 15; align-self: start; padding: clamp(20px, 3vw, 44px) 0 0 clamp(20px, 3vw, 44px); z-index: 5; }
.about__body p { color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; margin: 0 0 18px; }
.about__body .about__hi {
  color: var(--text); font-family: "DM Serif Display", Georgia, serif; font-weight: 400;
  font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 22px;
}

@media (max-width: 760px) {
  .collage { grid-template-rows: repeat(20, 9vw) auto; }
  .tile--sky  { grid-column: 3 / 13; grid-row: 1 / 7; }
  .tile--dj   { grid-column: 1 / 7;  grid-row: 5 / 15; }
  .tile--foil { grid-column: 6 / 13; grid-row: 10 / 16; }
  .tile--tube { grid-column: 2 / 11; grid-row: 15 / 21; }
  .about__body { grid-column: 1 / 13; grid-row: 21 / 22; padding: 32px 0 0; }
  .collage__word { font-size: 25vw; -webkit-text-stroke-width: 1.5px; }
  .collage__word--2 { top: 62vw; }
}
.about__body .about__sign {
  margin-top: 34px; color: var(--accent);
  font-family: var(--mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- BIO ---------- */
.bio { border-top: 1px solid var(--line); }
.bio__grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 0 clamp(32px, 6vw, 90px);
  grid-template-areas: "head text" "photo text";
  grid-template-rows: auto 1fr;
}
.bio__grid > .section__head { grid-area: head; }
.bio__text { grid-area: text; }
.bio__photo { grid-area: photo; margin: 0; align-self: start; position: sticky; top: 90px; }
.bio__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border-radius: var(--radius); }
.bio__text p { color: var(--muted); margin: 0 0 20px; max-width: 60ch; }
.bio__text .bio__lead { color: var(--text); font-size: clamp(21px, 2.3vw, 27px); font-weight: 600; line-height: 1.35; }
.bio__link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.bio__link:hover { color: var(--text); }
.bio__text em { color: var(--text); font-style: normal; font-weight: 600; }
.bio__stats {
  list-style: none; padding: 0; margin: 8px 0 36px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.bio__stats li { background: var(--bg); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 4px; }
.bio__stats strong { font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; color: var(--accent); line-height: 1.1; }
.bio__stats span { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .03em; line-height: 1.4; }
@media (max-width: 560px) { .bio__stats { grid-template-columns: 1fr; } }

/* ---------- CONTACT ---------- */
.contact { text-align: center; border-top: 1px solid var(--line); }
.contact__lead { color: var(--muted); max-width: 56ch; margin: 22px auto 48px; }
.contact__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.contact__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
  transition: border-color .25s, transform .25s;
}
.contact__card:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact__tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.contact__title { font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.contact__mail { font-family: var(--mono); font-size: 14px; color: var(--muted); word-break: break-all; }

/* ---------- FOOTER ---------- */
.footer { padding: 60px var(--gutter); border-top: 1px solid var(--line); text-align: center; }
.footer__socials { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.footer__socials a { font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer__socials a:hover { color: var(--accent); }
.footer__copy { font-size: 12px; color: var(--muted); margin: 0; }

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

/* ---------- MOBILE ---------- */
@media (max-width: 860px) {
  .album__grid { grid-template-columns: 1fr; }
  .bio__grid { grid-template-columns: 1fr; grid-template-areas: "head" "text" "photo"; grid-template-rows: auto; }
  .bio__photo { position: static; margin-top: 12px; }
  .album__cover { position: static; max-width: 420px; }
  .contact__cards { grid-template-columns: 1fr; }
  .contact__card { padding: 24px; }
}
@media (max-width: 720px) {
  .nav__ig { margin-left: auto; margin-right: 14px; }
  .nav__toggle {
    order: 3;
    display: grid; gap: 6px; width: 32px; padding: 6px 0; background: none; border: 0; cursor: pointer;
  }
  .nav__toggle span { height: 2px; background: var(--text); transition: transform .3s; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background: var(--bg);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__links a { font-size: 26px; font-weight: 900; color: var(--text); }
  .track { grid-template-columns: 40px 1fr auto; }
  .track__time { display: none; }
  .loader__label { display: none; }
  .hero__ctas > .btn { width: 100%; }
  .hero__stream { width: 100%; }
  .hero__stream .btn { flex: 1; padding-inline: 12px; }
  .hero__ctas .btn { white-space: nowrap; letter-spacing: .1em; padding-block: 14px; }
  .hero__kicker { font-size: 11px; letter-spacing: .18em; }
}
