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

/* ── Design tokens ──────────────────────────────────── */
:root {
  --bg:         #111111;
  --surface:    #181818;
  --text:       #e8e6e0;
  --muted:      #5a5856;
  --dim:        #2c2b2a;
  --accent:     #b85570;
  --accent-bg:  rgba(184, 85, 112, 0.07);
  --rule:       rgba(232, 230, 224, 0.08);
  --font:       'Space Mono', monospace;
}

/* ── Base ───────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── Nav ────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(10px);
  border-color: var(--rule);
}
.nav-brand {
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--text);
  text-decoration: none;
  text-transform: lowercase;
}
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-decoration: none;
  text-transform: lowercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ── Hero ───────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 48px 60px;
  position: relative;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
  text-align: center;
}

/* ── IIA Mark SVG ───────────────────────────────────── */
.hero-mark {
  width: min(240px, 42vw);
}
.mark-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Base classes */
.ghost { stroke: #e8e6e0; stroke-width: 2.5; fill: none; opacity: 0.06; }
.i-bar { stroke: #e8e6e0; stroke-width: 6; fill: none; }
.a-line { stroke: #b85570; stroke-width: 6; fill: none; opacity: 0.88; }
.diamond { stroke: #b85570; stroke-width: 4; }
.diamond-dot { fill: #b85570; }

/* Draw-in animation setup */
.i-top, .i-spine, .i-base,
.a-left, .a-right, .a-cross {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}
.diamond      { opacity: 0; }
.diamond-dot  { opacity: 0; }

/* Staggered draw-in */
.i-top    { animation: draw 0.7s ease forwards 0.2s; }
.i-spine  { animation: draw 1.1s ease forwards 0.5s; }
.i-base   { animation: draw 0.7s ease forwards 1.4s; }
.a-left   { animation: draw 1.0s ease forwards 0.8s; }
.a-right  { animation: draw 1.0s ease forwards 0.9s; }
.a-cross  { animation: draw 0.5s ease forwards 1.7s; }
.diamond  { animation: appear 0.4s ease forwards 2.1s; }
.diamond-dot { animation: appear 0.4s ease forwards 2.3s; }

@keyframes draw   { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* Hero text */
.hero-text {
  opacity: 0;
  animation: rise 0.9s ease forwards 2.0s;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

h1 {
  font-size: clamp(22px, 3.5vw, 44px);
  letter-spacing: 0.45em;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--text);
  margin-bottom: 10px;
}
.hero-album {
  font-size: clamp(10px, 1.2vw, 13px);
  letter-spacing: 0.45em;
  color: var(--accent);
  text-transform: lowercase;
  margin-bottom: 18px;
}
.hero-tagline {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-style: italic;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  font-size: 16px;
  color: var(--muted);
  opacity: 0;
  animation: appear 0.5s ease forwards 3.2s, bob 2.4s ease-in-out infinite 3.7s;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ── Shared layout ──────────────────────────────────── */
section { padding: 96px 0; border-top: 1px solid var(--rule); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 48px; }

.section-label {
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--muted);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 56px;
}

/* ── Reveal on scroll ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── About ──────────────────────────────────────────── */
.about-body { max-width: 600px; }
.about-body p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.accent-line {
  color: var(--text) !important;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  font-style: italic;
  margin-top: 8px;
}
.artist-credit {
  font-size: 11px !important;
  letter-spacing: 0.25em;
  color: var(--muted) !important;
  margin-top: 32px !important;
  margin-bottom: 0 !important;
}

/* ── Album intro ────────────────────────────────────── */
.album-intro {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 72px;
}
.album-cover { position: relative; }
.album-cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  filter: brightness(0.88);
  transition: filter 0.35s;
}
.album-cover img:hover { filter: brightness(1); }
.album-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.album-desc h2 {
  font-size: 22px;
  letter-spacing: 0.4em;
  font-weight: 400;
  text-transform: lowercase;
  margin-bottom: 28px;
}
.album-desc p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.album-pull {
  color: var(--accent) !important;
  font-style: italic;
  margin-top: 24px;
}

/* ── Track list ─────────────────────────────────────── */
.track-list { display: flex; flex-direction: column; }

.track {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px 8px;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s, padding-left 0.2s;
  cursor: default;
}
.track:first-child { border-top: 1px solid var(--rule); }
.track:hover { background: var(--accent-bg); padding-left: 18px; }

.track-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) grayscale(0.15);
  transition: filter 0.3s;
  display: block;
}
.track:hover .track-thumb img { filter: brightness(1) grayscale(0); }

.track-thumb.no-img {
  border: 1px solid var(--rule);
  background: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
}
.track-thumb.no-img svg { width: 54%; height: 54%; }

.track-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.track-n {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--dim);
}
.track-name {
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--text);
}
.track-quote {
  font-size: 11px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ── Listen ─────────────────────────────────────────── */
.listen-title {
  font-size: 20px;
  letter-spacing: 0.35em;
  text-transform: lowercase;
  margin-bottom: 40px;
}
.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.platform-btn {
  display: inline-block;
  padding: 10px 26px;
  border: 1px solid var(--rule);
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: lowercase;
  transition: border-color 0.2s, color 0.2s;
}
.platform-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ── Footer ─────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--rule);
  padding: 64px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-mark { width: 36px; height: auto; margin-bottom: 4px; }
.footer-name {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--muted);
  text-transform: lowercase;
}
.footer-artist {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text);
}
.footer-email {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-email:hover { color: var(--accent); }
.footer-year {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--dim);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 800px) {
  #nav { padding: 20px 28px; }
  .container { padding: 0 28px; }
  section { padding: 72px 0; }

  .album-intro {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .album-cover { max-width: 260px; }
}

@media (max-width: 560px) {
  .nav-links { display: none; }
  h1 { letter-spacing: 0.25em; }
  .hero-mark { width: min(200px, 55vw); }

  .track {
    grid-template-columns: 64px 1fr;
    gap: 16px;
  }
  .track-thumb { width: 64px; height: 64px; }
}
