/* =====================================================
   TOKENS
===================================================== */
:root {
  --bg-top: #14100a;
  --bg-mid: #0d0b08;
  --bg-bottom: #060504;
  --gold: #d4af37;
  --gold-soft: #f4e4b8;
  --gold-muted: #8a7a5c;
  --ink: #e8e6e1;
  --ink-dim: #a89f8f;
  --line: rgba(212, 175, 55, 0.22);
  --font-display: "Playfair Display", serif;
  --font-body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 60% at 50% -10%, rgba(212, 175, 55, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold-soft);
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

section {
  padding: 6rem 8vw;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

section:last-of-type {
  border-bottom: none;
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--gold-muted);
  margin: 0 0 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--gold-soft);
  margin: 0 0 2rem;
}

/* =====================================================
   NAV
===================================================== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 8vw;
  background: rgba(6, 5, 4, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* =====================================================
   HERO
===================================================== */
#hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-size: 0.8rem;
  color: var(--gold-muted);
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin: 0 0 1.25rem;
  color: var(--gold-soft);
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}

.hero-tagline {
  color: var(--ink-dim);
  max-width: 42ch;
  font-size: 1.05rem;
  margin: 0 0 2.25rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border: 1px solid var(--gold-muted);
  color: var(--ink);
  border-radius: 2px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-accent {
  background: var(--gold);
  border-color: var(--gold);
  color: #0d0b08;
  font-weight: 500;
}

.btn-accent:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: #0d0b08;
}

.hero-image {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gold-muted);
  background: rgba(212, 175, 55, 0.03);
}

.hero-image svg {
  width: 3rem;
  height: 3rem;
  fill: none;
  stroke: var(--gold-muted);
  stroke-width: 1.2;
}

.hero-image small {
  color: var(--ink-dim);
  font-size: 0.75rem;
}

/* =====================================================
   MUSIC GRID
===================================================== */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.music-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.music-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.cover-art {
  aspect-ratio: 1;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--line);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.track-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}

.track-meta {
  color: var(--ink-dim);
  font-size: 0.85rem;
  margin: 0.25rem 0 0.75rem;
}

.track-link {
  font-size: 0.9rem;
  color: var(--gold);
}

.track-link:hover {
  color: var(--gold-soft);
}

/* =====================================================
   AVAILABILITY CALENDAR
===================================================== */
.cal-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.cal-nav {
  background: none;
  border: 1px solid var(--gold-muted);
  color: var(--ink);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cal-nav:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

#cal-month-label {
  font-family: var(--font-display);
  color: var(--gold-soft);
  min-width: 10ch;
  text-align: center;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto;
}

.cal-day-name {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gold-muted);
  padding-bottom: 0.5rem;
}

.cal-grid .cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.cal-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.legend-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
}

.legend-dot.available {
  background: var(--gold);
}

.legend-dot.booked {
  background: var(--ink-dim);
  opacity: 0.4;
}

/* =====================================================
   CONTACT
===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info p {
  color: var(--ink-dim);
}

.contact-info a {
  color: var(--gold);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hidden {
  position: absolute;
  left: -9999px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--gold-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.75rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  outline: none;
}

form .btn-accent {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 8vw;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--ink-dim);
}

.footer-links a:hover {
  color: var(--gold);
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 820px) {
  #hero {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 1.25rem;
  }

  section {
    padding: 4rem 6vw;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}