/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

:root {
  --bg: #08080c;
  --bg-soft: #0f0f16;
  --surface: rgba(255,255,255,0.045);
  --surface-strong: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.09);
  --text: #f5f5f7;
  --text-dim: #9a9aa8;
  --accent: #ff4d29;
  --accent-2: #7b5cff;
  --accent-3: #21e6c1;
  --gradient: linear-gradient(120deg, var(--accent), var(--accent-2));
  --font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1180px;
}

html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #08080c; padding: 12px 18px;
  z-index: 999; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Texture / cursor ---------- */
.noise {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%;
  pointer-events: none; z-index: 1; top: 0; left: 0;
  background: radial-gradient(circle, rgba(255,77,41,0.14), transparent 70%);
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity 0.3s ease;
  opacity: 0;
}
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8,8,12,0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo {
  font-size: 1.25rem; font-weight: 700; letter-spacing: 0.04em;
}
.logo-sm { font-size: 1.05rem; }

.nav { display: flex; gap: 32px; }
.nav-link {
  font-size: 0.92rem; color: var(--text-dim); position: relative; padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gradient); transition: width 0.25s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.icon { width: 18px; height: 18px; fill: currentColor; }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.menu-toggle span {
  width: 22px; height: 2px; background: var(--text); transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 8px 24px -8px rgba(255,77,41,0.55);
}
.btn-primary:hover { box-shadow: 0 12px 30px -8px rgba(255,77,41,0.7); }
.btn-outline {
  border-color: var(--border); color: var(--text); background: transparent;
}
.btn-outline:hover { border-color: var(--surface-strong); background: var(--surface); }
.btn-ghost {
  border-color: var(--border); color: var(--text-dim); padding: 9px 18px; font-size: 0.85rem;
}
.btn-ghost:hover { color: var(--text); border-color: var(--surface-strong); }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 76px; overflow: hidden;
}
.hero-blobs { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob-a { width: 480px; height: 480px; background: var(--accent); top: -120px; left: -100px; }
.blob-b { width: 420px; height: 420px; background: var(--accent-2); bottom: -140px; right: -80px; animation-delay: -6s; }
.blob-c { width: 300px; height: 300px; background: var(--accent-3); top: 40%; left: 55%; opacity: 0.28; animation-delay: -11s; }

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.12); }
}

.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.78rem;
  color: var(--text-dim); margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(3.2rem, 12vw, 9rem); line-height: 0.95; font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff 40%, var(--accent) 75%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 560px; margin-top: 26px; font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim);
  z-index: 2;
}
.scroll-cue span {
  width: 1px; height: 36px; background: linear-gradient(var(--text-dim), transparent);
  animation: cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; background: var(--bg-soft); padding: 16px 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: scroll 22s linear infinite;
}
.marquee-track span {
  font-size: 0.85rem; letter-spacing: 0.15em; font-weight: 600;
  color: var(--text-dim); white-space: nowrap; padding-right: 0;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-soft); }

.section-head { margin-bottom: 48px; max-width: 640px; }
.section-num {
  display: inline-block; font-size: 0.8rem; color: var(--accent);
  font-weight: 700; letter-spacing: 0.15em; margin-bottom: 14px;
}
.section-head h2, .cta-title {
  font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px;
}
.section-lead { color: var(--text-dim); font-size: 1.05rem; }

/* Featured album */
.featured-grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center;
}
.featured-cover {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7);
}
.cover-art { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.featured-content .section-head { margin-bottom: 24px; }
.featured-content p { color: var(--text-dim); max-width: 520px; margin: 0 0 20px; font-size: 1.05rem; }
.night-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--accent-3); margin: 0 0 28px;
}
.night-note .icon { width: 15px; height: 15px; fill: currentColor; }

@media (max-width: 860px) {
  .featured-grid { grid-template-columns: 1fr; gap: 32px; }
  .featured-cover { max-width: 420px; margin-inline: auto; }
}

/* Tracklist */
.tracklist { display: flex; flex-direction: column; margin-bottom: 32px; border-top: 1px solid var(--border); }
.track-row {
  display: flex; align-items: center; gap: 16px; padding: 16px 4px;
  border-bottom: 1px solid var(--border); color: var(--text);
  transition: padding-left 0.2s ease, background 0.2s ease;
}
.track-row:hover { padding-left: 12px; background: var(--surface); }
.track-play {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface-strong); color: var(--accent);
}
.track-play .icon { width: 14px; height: 14px; }
.track-name { font-weight: 500; font-size: 1.05rem; flex: 1; }
.track-name em { color: var(--text-dim); font-style: normal; font-size: 0.9rem; }
.track-arrow { color: var(--text-dim); transition: transform 0.2s ease, color 0.2s ease; }
.track-row:hover .track-arrow { transform: translateX(4px); color: var(--accent); }

.music-actions { margin-top: 24px; }

/* Player */
.player-card {
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  background: var(--surface); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.sc-embed { display: block; border: none; }
.player-fallback { margin-top: 20px; color: var(--text-dim); font-size: 0.9rem; }
.player-fallback a { color: var(--accent); font-weight: 600; }
.player-fallback a:hover { text-decoration: underline; }

/* About */
.about-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: center;
}
.about-content p { color: var(--text-dim); max-width: 560px; margin: 0 0 16px; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.tag {
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px;
  font-size: 0.8rem; color: var(--text-dim);
}

.pull-quote {
  margin: 28px 0 12px; padding-left: 22px; border-left: 2px solid var(--accent);
  font-size: 1.3rem; font-weight: 500; font-style: italic; color: var(--text);
  max-width: 520px;
}
.quote-caption { font-size: 0.9rem; }

.lexical-fields { margin-top: 32px; }
.lexical-label {
  display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.lexical-chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.lexical-chips span {
  border: 1px solid var(--border); border-radius: 8px; padding: 5px 12px;
  font-size: 0.78rem; color: var(--text-dim); background: var(--surface);
}

.about-visual { display: flex; justify-content: center; }
.avatar-frame {
  position: relative; width: 280px; border-radius: 28px; padding: 3px;
  background: var(--gradient);
  box-shadow: 0 30px 60px -25px rgba(255,77,41,0.35);
}
.avatar-img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 26px; background: var(--bg-soft);
}

/* CTA */
.cta-section { text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner .section-lead { margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-dim);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-socials a:hover { color: var(--accent); border-color: var(--accent); }
.footer-copy { color: var(--text-dim); font-size: 0.85rem; margin: 0; }
.to-top {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  background: transparent; color: var(--text); cursor: pointer; font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.to-top:hover { background: var(--surface); transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--d, 0) * 0.08s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: rgba(8,8,12,0.97); backdrop-filter: blur(14px);
    flex-direction: column; align-items: center; justify-content: center; gap: 36px;
    transform: translateX(100%); transition: transform 0.35s ease;
  }
  .nav.open { transform: translateX(0); }
  .nav-link { font-size: 1.4rem; }
  .menu-toggle { display: flex; }
  .header-sc { display: none; }
  .section { padding: 84px 0; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 20px; font-size: 0.85rem; }
  .player-card iframe { height: 320px; }
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 90; display: flex; align-items: center; gap: 8px;
  max-width: calc(100% - 32px);
  padding: 8px 8px 8px 8px; border-radius: 999px;
  background: rgba(15,15,22,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.7);
  animation: stickyIn 0.3s ease;
}
.sticky-cta[hidden] { display: none; }
.sticky-cta .btn { padding: 10px 20px; font-size: 0.85rem; white-space: nowrap; }
.sticky-cta-close {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: none;
  background: transparent; color: var(--text-dim); cursor: pointer; font-size: 0.8rem;
}
.sticky-cta-close:hover { color: var(--text); }
@keyframes stickyIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%);
  background: var(--text); color: var(--bg); padding: 10px 20px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; z-index: 95; animation: toastIn 0.25s ease;
}
.toast[hidden] { display: none; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
