:root {
  --bg: #0a0a0a;
  --bg-soft: #111110;
  --bg-section: #0d0d0c;
  --text: #f5f0e8;
  --text-muted: rgba(245, 240, 232, 0.55);
  --text-faint: rgba(245, 240, 232, 0.3);
  --accent: #c9a66b;
  --border: rgba(245, 240, 232, 0.08);
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========  NAV  ========= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 40px;
  background: transparent;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.005em;
  line-height: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* =========  HERO  ========= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 100px 40px 80px;
  contain: paint;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform-origin: center center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.15) 0%,
    rgba(10, 10, 10, 0.05) 30%,
    rgba(10, 10, 10, 0.55) 75%,
    rgba(10, 10, 10, 0.95) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 9.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.hero-tag {
  font-size: 0.82rem;
  text-transform: lowercase;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  font-weight: 300;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 1px;
  height: 44px;
  overflow: hidden;
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(245, 240, 232, 0.4);
  animation: scroll-line 2.2s var(--ease) infinite;
}

@keyframes scroll-line {
  0%   { transform: translateY(-100%); }
  50%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* =========  SECTIONS  ========= */
.section {
  padding: clamp(100px, 16vh, 180px) 40px;
  position: relative;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.section-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--accent);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.25rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 900px;
}

.section-subtitle {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* =========  ABOUT  ========= */
.about {
  background: var(--bg);
}

.about .lead {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 920px;
  margin-bottom: 2.5rem;
}

.about p:not(.lead):not(.about-footer):not(.section-label) {
  max-width: 680px;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1.75rem;
}

.about-footer {
  margin-top: 4rem !important;
  font-size: 0.75rem !important;
  text-transform: lowercase;
  letter-spacing: 0.25em;
  color: var(--accent) !important;
}

/* =========  ALBUM  ========= */
.album {
  background: var(--bg-soft);
}

.tracklist {
  list-style: none;
  margin-top: 4rem;
  max-width: 780px;
  counter-reset: track;
}

.tracklist li {
  counter-increment: track;
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
  font-size: 1.1rem;
  font-weight: 300;
  display: flex;
  align-items: baseline;
  gap: 2rem;
  transition: color 0.4s var(--ease), padding-left 0.5s var(--ease);
  cursor: default;
}

.tracklist li:last-child {
  border-bottom: 1px solid var(--border);
}

.tracklist li::before {
  content: counter(track, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent);
  min-width: 2rem;
  font-variant-numeric: tabular-nums;
  font-style: italic;
}

.tracklist li:hover {
  color: var(--accent);
  padding-left: 0.75rem;
}

/* =========  LISTEN  ========= */
.listen {
  background: var(--bg);
}

.listen-buttons {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-weight: 400;
  transition: all 0.35s var(--ease);
  background: transparent;
}

.btn-disabled {
  color: var(--text-faint);
  cursor: not-allowed;
}

.btn:not(.btn-disabled):hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* =========  CONTACT  ========= */
.contact {
  background: var(--bg-soft);
}

.contact-email {
  display: inline-block;
  margin-top: 3rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.4s var(--ease);
}

.contact-email:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  transform: translateY(-1px);
}

/* =========  FOOTER  ========= */
footer {
  padding: 60px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* =========  RESPONSIVE  ========= */
@media (max-width: 768px) {
  nav {
    padding: 18px 24px;
  }
  .nav-links {
    gap: 1.4rem;
    font-size: 0.78rem;
  }
  .nav-name {
    font-size: 1.2rem;
  }
  .section {
    padding: 90px 24px;
  }
  .hero {
    padding: 90px 24px 70px;
    min-height: 640px;
  }
  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }
  .tracklist li {
    font-size: 1rem;
    padding: 1.35rem 0;
    gap: 1.25rem;
  }
  .contact-form {
    gap: 1.6rem;
  }
  .listen-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-links li:first-child {
    display: none;
  }
  .section-label {
    margin-bottom: 1.75rem;
  }
  .tracklist {
    margin-top: 3rem;
  }
}

/* =========  REDUCED MOTION  ========= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .section-inner {
    opacity: 1;
    transform: none;
  }
}
