@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/Fraunces-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/Fraunces-Italic-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --dusk:       #1A0F0C;
  --dusk-2:     #241510;
  --ember:      #2E1A12;
  --amber:      #E8A04C;
  --amber-soft: #D98841;
  --rust:       #B85C38;
  --terra:      #C97A54;
  --haze:       #F2E4D4;
  --haze-dim:   #C4A98F;
  --haze-faint: #8A7257;
  --line:       rgba(232, 160, 76, 0.15);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--dusk);
  color: var(--haze);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Ambient warm haze that sits over everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 160, 76, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 110%, rgba(184, 92, 56, 0.08), transparent 60%);
}

/* film grain texture for haze */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  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='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { position: relative; z-index: 2; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  background: linear-gradient(to bottom, rgba(26, 15, 12, 0.92), transparent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nav-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--haze);
  text-decoration: none;
  font-variation-settings: 'opsz' 40;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--haze-dim);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: rise 1s ease 0.2s forwards;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--haze);
  font-variation-settings: 'opsz' 144;
  margin-bottom: 2rem;
}

.hero-name .first,
.hero-name .last {
  display: block;
  opacity: 0;
  animation: rise 1.1s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}
.hero-name .first { animation-delay: 0.35s; }
.hero-name .last {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-soft);
  animation-delay: 0.5s;
}

.hero-desc {
  max-width: 540px;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.7;
  color: var(--haze-dim);
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0;
  animation: rise 1.1s ease 0.7s forwards;
}

.hero-desc em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--terra);
  font-variation-settings: 'opsz' 40;
}

.hero-scroll {
  opacity: 0;
  animation: fade 1.5s ease 1.2s forwards;
}

.hero-scroll a {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--haze-faint);
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  transition: color 0.3s;
}

.hero-scroll a:hover { color: var(--amber); }

.hero-scroll .line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: drip 2.4s ease-in-out infinite;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes drip {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%      { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ── RELEASE ROOMS ── */
.room {
  padding: 7rem 2rem;
  position: relative;
}

.room-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.room.reverse .room-art { order: 2; }

.room-art {
  position: relative;
  aspect-ratio: 1;
  border-radius: 3px;
  overflow: hidden;
  box-shadow:
    0 2px 1px rgba(232, 160, 76, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.55);
}

.room-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(232, 160, 76, 0.06), transparent 50%);
  pointer-events: none;
}

.room-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--amber);
  font-variation-settings: 'opsz' 30;
  letter-spacing: 0.05em;
  margin-bottom: 1.4rem;
  display: block;
}

.room-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--haze);
  font-variation-settings: 'opsz' 80;
  margin-bottom: 0.5rem;
}

.room-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--terra);
  font-variation-settings: 'opsz' 30;
  margin-bottom: 1.8rem;
}

.room-body {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--haze-dim);
  font-weight: 300;
  margin-bottom: 1.3rem;
}

.room-body:last-of-type { margin-bottom: 2.2rem; }

.room-body .name {
  color: var(--haze);
  font-style: italic;
}

/* streaming links */
.listen-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--haze-faint);
  margin-bottom: 1rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.links a {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--haze-dim);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.links a:hover {
  color: var(--dusk);
  background: var(--amber);
  border-color: var(--amber);
}

/* divider between rooms */
.room-divide {
  max-width: 1040px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
}

/* ── COLLABORATIONS ── */
.collab {
  padding: 7rem 2rem;
}

.collab-intro {
  max-width: 1040px;
  margin: 0 auto 4rem;
  text-align: center;
}

.collab-head {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--haze);
  font-variation-settings: 'opsz' 80;
  margin-top: 1.2rem;
}

.collab-head em {
  font-style: italic;
  color: var(--amber-soft);
}

.collab-project {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 0;
}

.collab .room-divide {
  margin: 3.5rem auto;
  max-width: 760px;
}

.collab-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--haze);
  font-variation-settings: 'opsz' 72;
  margin-bottom: 0.5rem;
}

.collab-meta {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--terra);
  font-variation-settings: 'opsz' 28;
  margin-bottom: 1.6rem;
}

.collab-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--haze-dim);
  font-weight: 300;
  margin-bottom: 2rem;
}

.collab-body .inline-em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--haze);
  font-variation-settings: 'opsz' 28;
}

.collab-note {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--haze-faint);
  font-weight: 300;
  font-style: italic;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  margin-bottom: 2.2rem;
}

/* band-name era progression */
.collab-eras {
  list-style: none;
  margin: 0 0 2.2rem;
  border-left: 1px solid var(--line);
}

.collab-eras li {
  position: relative;
  padding: 0 0 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.collab-eras li:last-child { padding-bottom: 0; }

.collab-eras li::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.collab-eras li:last-child::before {
  background: var(--haze);
  box-shadow: 0 0 0 4px rgba(242, 228, 212, 0.08);
}

.era-years {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--haze-faint);
}

.era-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--haze);
  font-variation-settings: 'opsz' 32;
  line-height: 1.3;
}

.era-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.era-links a {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--haze-dim);
  text-decoration: none;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.era-links a:hover {
  color: var(--dusk);
  background: var(--amber);
  border-color: var(--amber);
}

/* ── MUSIC / ALL STREAMING ── */
#music {
  padding: 7rem 2rem;
  text-align: center;
}

.music-inner { max-width: 720px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.4rem;
}

.music-head {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.15;
  color: var(--haze);
  font-variation-settings: 'opsz' 72;
  margin-bottom: 2.5rem;
}

.music-head em {
  font-style: italic;
  color: var(--amber-soft);
}

.music-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.music-links a {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--haze-dim);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.music-links a:hover {
  color: var(--dusk);
  background: var(--amber);
  border-color: var(--amber);
}

/* ── ECHOGEIST STUDIO ── */
#studio {
  padding: 7rem 2rem;
  position: relative;
  background:
    radial-gradient(ellipse 70% 90% at 50% 50%, rgba(232, 160, 76, 0.07), transparent 70%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.studio-head {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--haze);
  font-variation-settings: 'opsz' 90;
  margin-bottom: 1.8rem;
}

.studio-head em {
  font-style: italic;
  color: var(--amber);
}

.studio-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--haze-dim);
  font-weight: 300;
  margin-bottom: 1.3rem;
}

.studio-body:last-of-type { margin-bottom: 2.6rem; }

.studio-name {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--terra);
  font-variation-settings: 'opsz' 30;
}

.studio-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dusk);
  background: var(--amber);
  text-decoration: none;
  padding: 1.05rem 2.2rem;
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 40px rgba(232, 160, 76, 0.18);
}

.studio-cta:hover {
  background: var(--haze);
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(232, 160, 76, 0.28);
}

.studio-arrow {
  transition: transform 0.3s;
}

.studio-cta:hover .studio-arrow {
  transform: translateX(4px);
}

/* ── CONTACT ── */
#contact {
  padding: 8rem 2rem 6rem;
  text-align: center;
}

.contact-inner { max-width: 600px; margin: 0 auto; }

.contact-head {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: var(--haze);
  font-variation-settings: 'opsz' 90;
  margin-bottom: 1.5rem;
}

.contact-text {
  font-size: 1rem;
  color: var(--haze-dim);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-mail {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-style: italic;
  color: var(--amber);
  text-decoration: none;
  font-variation-settings: 'opsz' 40;
  border-bottom: 1px solid rgba(232, 160, 76, 0.3);
  padding-bottom: 0.2rem;
  transition: color 0.3s, border-color 0.3s;
}

.contact-mail:hover {
  color: var(--haze);
  border-color: var(--haze);
}

/* ── FOOTER ── */
footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  list-style: none;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--haze-faint);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--amber); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--haze-faint);
  font-weight: 300;
}

.footer-copy em {
  font-family: var(--font-display);
  font-style: italic;
}

/* ── REVEAL ON SCROLL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .room-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .room.reverse .room-art { order: 0; }
  .room-art { max-width: 380px; margin: 0 auto; }
  .room { padding: 4.5rem 1.5rem; }
  #music, #contact, #studio, .collab { padding: 4.5rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-eyebrow, .hero-name .first, .hero-name .last, .hero-desc, .hero-scroll {
    opacity: 1;
  }
}
