/* ==========================================================================
   OXION — tokens
   Accent alternates from the design: #b56cff · #e0409a · #4fd8eb · #eceaf0
   ========================================================================== */
:root {
  --ax: #b56cff;

  --ink: #eceaf0;
  --ground: #050505;

  --ink-72: rgba(236, 234, 240, 0.72);
  --ink-70: rgba(236, 234, 240, 0.70);
  --ink-68: rgba(236, 234, 240, 0.68);
  --ink-60: rgba(236, 234, 240, 0.60);
  --ink-55: rgba(236, 234, 240, 0.55);
  --ink-50: rgba(236, 234, 240, 0.50);
  --ink-45: rgba(236, 234, 240, 0.45);
  --ink-35: rgba(236, 234, 240, 0.35);

  --rule-45: rgba(236, 234, 240, 0.45);
  --rule-40: rgba(236, 234, 240, 0.40);
  --rule-35: rgba(236, 234, 240, 0.35);
  --rule-28: rgba(236, 234, 240, 0.28);
  --rule-25: rgba(236, 234, 240, 0.25);
  --rule-18: rgba(236, 234, 240, 0.18);
  --rule-12: rgba(236, 234, 240, 0.12);
  --rule-10: rgba(236, 234, 240, 0.10);
  --rule-08: rgba(236, 234, 240, 0.08);

  --glow-strong: 0 0 30px color-mix(in oklch, var(--ax) 40%, transparent);
  --glow-mid: 0 0 26px color-mix(in oklch, var(--ax) 40%, transparent);
  --glow-soft: 0 0 18px color-mix(in oklch, var(--ax) 35%, transparent);

  --nav-h: 72px;
  --page-x: clamp(20px, 4vw, 40px);
  --measure: 1240px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ground);
}

body {
  margin: 0;
  padding-bottom: 96px;
  min-height: 100vh;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ax); }

::selection { background: var(--ax); color: var(--ground); }

:focus-visible {
  outline: 1px solid var(--ax);
  outline-offset: 3px;
}

img { max-width: 100%; }

button {
  font-family: inherit;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  height: var(--nav-h);
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-08);
}

.nav-brand {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.55em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
}
.nav-links a { color: var(--ink-72); }
.nav-links a:hover { color: var(--ax); }

.nav-cta {
  font-size: 11px;
  letter-spacing: 0.28em;
  padding: 10px 22px;
  border: 1px solid var(--rule-28);
  color: var(--ink);
  transition: all 0.4s ease;
}
.nav-cta:hover {
  border-color: var(--ax);
  color: var(--ax);
  box-shadow: var(--glow-soft);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 42%, #101014 0%, #08080a 55%, #050505 100%);
}

.hero-disc {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(46vw, 420px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--ground);
  box-shadow:
    0 -10px 60px -10px color-mix(in oklch, var(--ax) 16%, transparent),
    0 0 160px 20px color-mix(in oklch, var(--ax) 4%, transparent);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  padding: 0 20px 40px;
  text-align: center;
}

.hero-mark {
  margin: 0;
  width: min(72vw, 720px);
  line-height: 0;
}
.hero-mark img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(236, 234, 240, 0.1));
}

.hero-tagline {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--ink-70);
  /* One line as drawn; the narrow-screen block below lets it wrap instead of
     forcing the page sideways. */
  white-space: nowrap;
}

.hero-cta {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.4em;
  /* Asymmetric padding balances the trailing letter-space of the tracked label */
  padding: 16px 44px 16px 48px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-45);
  transition: all 0.5s ease;
}
.hero-cta:hover {
  border-color: var(--ax);
  color: var(--ax);
  box-shadow: var(--glow-strong), inset 0 0 18px color-mix(in oklch, var(--ax) 12%, transparent);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  max-width: var(--measure);
  margin: 0 auto;
  scroll-margin-top: var(--nav-h);
}

.section-featured { padding: clamp(72px, 10vw, 120px) var(--page-x) clamp(64px, 8vw, 100px); }
.section-releases { padding: 40px var(--page-x) clamp(80px, 10vw, 120px); }
.section-about    { padding: 0 var(--page-x) clamp(96px, 12vw, 140px); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-10);
  font-size: 11px;
  letter-spacing: 0.35em;
}
.section-featured .section-head { margin-bottom: 64px; }
.section-releases .section-head { margin-bottom: 56px; }
.section-about .section-head    { margin-bottom: 80px; }

.section-num { color: var(--ax); }
.section-label { color: var(--ink-60); }

/* --------------------------------------------------------------------------
   01 — Featured release
   -------------------------------------------------------------------------- */
.featured {
  display: grid;
  /* min() keeps the 320px track on wide screens but lets the column collapse
     below it rather than overflow the page on a small phone. */
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.featured-art { position: relative; }
.featured-art img {
  width: 100%;
  display: block;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
}

.featured-body {
  display: flex;
  flex-direction: column;
}

.featured-artist {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--ink-55);
}

.featured-title {
  margin: 0 0 20px;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 200;
  letter-spacing: 0.22em;
  line-height: 1.05;
}

.featured-meta {
  margin: 0 0 24px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-50);
}

.featured-copy {
  margin: 0 0 36px;
  max-width: 46ch;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-72);
  text-wrap: pretty;
}

.featured-play {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.play-lg {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-40);
  transition: all 0.5s ease;
}
.play-lg:hover {
  border-color: var(--ax);
  color: var(--ax);
  box-shadow: var(--glow-mid);
}

.play-lg-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-50);
}

.dsp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.dsp-links a {
  font-size: 10px;
  letter-spacing: 0.25em;
  padding: 9px 18px;
  border: 1px solid var(--rule-18);
  color: var(--ink-70);
  transition: all 0.4s ease;
}
.dsp-links a:hover {
  border-color: var(--ax);
  color: var(--ax);
}

/* --------------------------------------------------------------------------
   02 — Releases
   -------------------------------------------------------------------------- */
.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 40px;
}

.release {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.release-art {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--rule-08);
  transition: all 0.6s ease;
}
.release-art:hover {
  border-color: color-mix(in oklch, var(--ax) 45%, transparent);
  box-shadow: 0 0 40px color-mix(in oklch, var(--ax) 12%, transparent);
}

.release-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 1.2s ease, opacity 0.6s ease;
}
.release-art:hover img { transform: scale(1.04); }

.release-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.release-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3em;
}

.release-sub {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--ink-45);
}

.play-sm {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(236, 234, 240, 0.8);
  border: 1px solid var(--rule-25);
  transition: all 0.4s ease;
}
.play-sm:hover {
  border-color: var(--ax);
  color: var(--ax);
}

/* --------------------------------------------------------------------------
   03 — About
   -------------------------------------------------------------------------- */
.about-title {
  margin: 0 0 40px;
  max-width: 16ch;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 200;
  letter-spacing: 0.28em;
  line-height: 1.3;
}

.about-copy {
  margin: 0;
  max-width: 54ch;
  font-size: 16px;
  font-weight: 300;
  line-height: 2;
  color: var(--ink-68);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 40px;
  border-top: 1px solid var(--rule-08);
}

.footer-brand {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.5em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 10px;
  letter-spacing: 0.25em;
}
.footer-links a { color: var(--ink-50); }
.footer-links a:hover { color: var(--ax); }

.footer-est {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-35);
}

/* --------------------------------------------------------------------------
   Persistent player
   -------------------------------------------------------------------------- */
.player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(7, 7, 9, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--rule-10);
}

.player-track {
  position: relative;
  height: 1px;
  background: var(--rule-12);
}

.player-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: -1px;
  width: 0%;
  background: var(--ax);
  box-shadow: 0 0 8px var(--ax);
  transition: width 0.9s linear;
}

.player-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
}

.player-art {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid var(--rule-12);
}

.player-now {
  min-width: 0;
  flex: 1;
}

.player-title {
  margin: 0 0 2px;
  font-size: 12px;
  letter-spacing: 0.28em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--ink-45);
}

.player-time {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--ink-45);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-skip {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(236, 234, 240, 0.65);
  transition: color 0.3s;
}
.player-skip:hover { color: var(--ax); }

.player-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-35);
  transition: all 0.4s ease;
}
.player-toggle:hover {
  border-color: var(--ax);
  color: var(--ax);
  box-shadow: var(--glow-soft);
}

/* The play glyph is optically offset inside its square, as in the design */
.player-toggle .icon-play { margin-left: 2px; }

/* Paused shows play; playing shows pause */
.player-toggle .icon-pause { display: none; }
.player-toggle[aria-pressed="true"] .icon-pause { display: block; }
.player-toggle[aria-pressed="true"] .icon-play { display: none; }

/* --------------------------------------------------------------------------
   Narrow screens

   The design is drawn desktop-first. Two places genuinely break rather than
   just tighten, so they get a guard:

   1. The nav bar. Brand + links + CTA don't fit under ~640px, and the bar is a
      fixed 72px, so the wrapped row spills over the hero. The CTA is dropped —
      it points at #music, the same target as the MUSIC link beside it — and the
      brand steps down so the remaining row fits on one line.
   2. The player row, which has no flexible content besides the track title.
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .nav-brand { font-size: 16px; }
  .nav-cta { display: none; }
}

/* The tagline is 359px of tracked capitals and can't fit on one line under
   ~414px; let it break between words rather than overflow the document. */
@media (max-width: 480px) {
  .hero-tagline { white-space: normal; line-height: 2.2; }
}

@media (max-width: 420px) {
  .player-row { gap: 12px; padding: 12px 14px; }
  .player-time { display: none; }
}
