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

:root {
  --bg:        #07070f;
  --bg2:       #0e0e1c;
  --bg3:       #141428;
  --text:      #ddd6c8;
  --text-dim:  #8a8070;
  --toffee:    #c8a55a;
  --toffee-lt: #e8c880;
  --purple:    #7c5cbf;
  --blue:      #4a8fcf;
  --cream:     #f5edd8;
  --border:    rgba(200,165,90,0.15);
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

/* ─── Stars ──────────────────────────────────────────────────────── */
#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── Nav ────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(to bottom, rgba(7,7,15,0.95) 0%, transparent 100%);
  transition: background 0.3s;
}

nav.scrolled { background: rgba(7,7,15,0.96); }

.nav-logo {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--toffee);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s;
}

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

.nav-social-icon {
  display: flex;
  align-items: center;
  color: var(--text-dim);
  transition: color 0.25s;
  position: relative;
  top: 1px;
}

.nav-social-icon:hover { color: var(--toffee-lt); }

/* ─── Hero ───────────────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('toffeenutorion-background-1200.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.4) saturate(0.8);
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero-bg.loaded { transform: scale(1); }

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7,7,15,1) 0%, rgba(7,7,15,0.6) 30%, transparent 70%),
    linear-gradient(to right, rgba(7,7,15,0.7) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5vw 8vh;
  max-width: 700px;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--toffee);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.5s forwards;
}

.hero-title span { color: var(--toffee); }

.hero-tagline {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--text-dim);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.75s forwards;
}

.hero-cta {
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 1s forwards;
}

.btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  border: 1px solid var(--toffee);
  color: var(--toffee);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}

.btn:hover {
  background: var(--toffee);
  color: var(--bg);
}

/* ─── Sections ───────────────────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: 7rem 5vw;
}

.section-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--toffee);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 2.5rem;
}

.divider {
  width: 3rem;
  height: 1px;
  background: var(--toffee);
  margin-bottom: 2.5rem;
  opacity: 0.5;
}

/* ─── About ──────────────────────────────────────────────────────── */
#about {
  background: var(--bg2);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6vw;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.9);
  border: 1px solid var(--border);
}

.about-img-frame {
  position: relative;
}


.about-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.about-text p:last-child { margin-bottom: 0; }

.about-meta {
  margin-top: 2rem;
  display: flex;
  gap: 3rem;
}

.about-meta-item span {
  display: block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--toffee);
  margin-bottom: 0.3rem;
}

.about-meta-item strong {
  font-weight: 400;
  color: var(--cream);
  font-size: 0.95rem;
}

/* ─── Music ──────────────────────────────────────────────────────── */
#music {
  background: var(--bg);
}

.music-intro {
  max-width: 540px;
  margin-bottom: 4rem;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.album-card {
  position: relative;
}

.album-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.album-cover-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 1rem;
}

.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0, 0, 1), filter 0.4s;
  filter: saturate(0.9) brightness(0.9);
}

.album-card-link:hover .album-cover {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1);
}

.album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,15,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}

.album-card-link:hover .album-overlay { opacity: 1; }

.album-listen-link {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--toffee);
  text-decoration: none;
  border-bottom: 1px solid var(--toffee);
  padding-bottom: 2px;
}

.album-num {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--toffee);
  margin-bottom: 0.4rem;
  display: block;
}

.album-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.album-year {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}

/* ─── Contact ────────────────────────────────────────────────────── */
#contact {
  background: var(--bg2);
  text-align: center;
}

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

.contact-inner .section-label,
.contact-inner .section-title,
.contact-inner .divider {
  margin-left: auto;
  margin-right: auto;
}

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

.contact-email {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--toffee);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}

.contact-email:hover {
  color: var(--toffee-lt);
  border-color: var(--toffee-lt);
}

/* ─── Footer ─────────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 5vw;
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--toffee);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  color: var(--text-dim);
  transition: color 0.25s;
}

.footer-social-icon:hover { color: var(--toffee-lt); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-location {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* ─── Animations ─────────────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .albums-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }

  #about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img-frame::after { display: none; }

  .about-meta { flex-wrap: wrap; gap: 1.5rem; }

  section { padding: 5rem 6vw; }

  .hero-content { padding: 0 6vw 6vh; }
}

@media (max-width: 480px) {
  .albums-grid { grid-template-columns: 1fr; }
}
