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

:root {
  --warm-deep:    #110a04;
  --warm-mid:     #2c1a0a;
  --warm-accent:  #c49a3c;
  --warm-muted:   #8b6520;
  --warm-light:   #f5e6c8;
  --cool-deep:    #04090f;
  --cool-mid:     #0e1e35;
  --cool-accent:  #4a8fd4;
  --cool-light:   #e8eeff;
  --red-deep:     #120608;
  --red-accent:   #c44a2a;
  --neutral:      #0d0d0d;
  --white:        #ffffff;
  --serif:        'Playfair Display', Georgia, serif;
  --sans:         'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ── TOP NAV BAR ── */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 20px;
  position: relative;
  z-index: 310;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 3px; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 15px; }
.nav-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
  .top-nav:has(.nav-links.open) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
  }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 305;
    background: rgba(10, 10, 10, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    padding: 0.75rem 0;
  }
  .nav-toggle {
    display: block;
  }
}

/* ── LOGO (top-right on inner pages) ── */
.site-logo {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 300;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
}

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--warm-deep);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.75;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(17,10,4,0.85) 0%, rgba(17,10,4,0.4) 45%, transparent 70%),
    linear-gradient(to bottom, transparent 40%, rgba(17,10,4,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem 5rem;
  max-width: 900px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-accent);
  margin-bottom: 1rem;
}
.hero-name {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
}
.hero-tagline a {
  text-decoration: none;
  transition: opacity 0.2s;
}
.hero-tagline a:hover { opacity: 0.8; }
.hero-tagline a.warm {
  color: var(--warm-accent);
  font-style: italic;
  font-family: var(--serif);
}
.hero-tagline a.light {
  color: var(--white);
  font-style: italic;
  font-family: var(--serif);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 3rem;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ── SECTION BASE ── */
section { padding: 7rem 3rem; }
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 2rem;
}

/* ── PAGE TOP SPACER (for sub-pages without hero) ── */
.page-spacer {
  height: 6rem;
  background: var(--neutral);
}

/* ── BIO ── */
#bio {
  background: var(--warm-mid);
  max-width: 100%;
}
.bio-intro {
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.bio-intro h2 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  color: var(--warm-light);
  line-height: 1.05;
  margin-bottom: 2rem;
}
.bio-intro p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  max-width: 72ch;
}
.bio-intro a {
  color: var(--warm-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bio-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}
.bio-aside .section-label { color: var(--warm-accent); }
.bio-aside .section-title { color: var(--warm-light); }
.bio-text {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.9;
}
.bio-text p + p { margin-top: 1.25rem; }

/* ── MUSIC ── */
#music {
  background: var(--warm-deep);
  border-top: 1px solid rgba(196, 154, 60, 0.15);
}
.music-inner { max-width: 1200px; margin: 0 auto; }
.music-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(196,154,60,0.2);
}
.music-header .section-label { color: var(--warm-accent); }
.music-header .section-title { color: var(--warm-light); margin-bottom: 0; }
.music-press {
  text-align: right;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.music-press strong {
  display: block;
  color: var(--warm-accent);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.music-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.roles-section h3 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-accent);
  margin-bottom: 1.25rem;
}
.role-list { list-style: none; }
.role-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.9rem;
}
.role-list li:last-child { border-bottom: none; }
.role-name { color: rgba(255,255,255,0.85); }
.role-detail { font-size: 0.75rem; color: rgba(255,255,255,0.4); letter-spacing: 0.05em; text-align: right; }
.give-bach {
  margin-top: 4rem;
  padding: 2.5rem;
  background: rgba(196,154,60,0.07);
  border: 1px solid rgba(196,154,60,0.2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
.give-bach-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--warm-accent);
  line-height: 1;
  white-space: nowrap;
}
.give-bach h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--warm-light);
  margin-bottom: 0.5rem;
}
.give-bach p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.give-bach p + p { margin-top: 0.75rem; }

/* ── TECH / PRODUCT ── */
#tech {
  background: var(--cool-deep);
  border-top: 1px solid rgba(74, 143, 212, 0.15);
}
.tech-inner { max-width: 1200px; margin: 0 auto; }
.tech-header .section-label { color: var(--cool-accent); }
.tech-header .section-title { color: var(--cool-light); margin-bottom: 3rem; }
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}
.tech-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(74,143,212,0.12);
  padding: 2.5rem;
  transition: border-color 0.3s, background 0.3s;
}
.tech-card:hover {
  border-color: rgba(74,143,212,0.35);
  background: rgba(74,143,212,0.05);
}
.tech-card-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cool-accent);
  margin-bottom: 0.75rem;
}
.tech-card-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--cool-light);
  margin-bottom: 0.5rem;
}
.tech-card-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}
.tech-card-body {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}
.tech-photo-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}
.tech-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
.tech-aside h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--cool-light);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.tech-aside p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.skill-tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(74,143,212,0.3);
  color: rgba(74,143,212,0.8);
}

/* ── LISTEN ── */
#listen {
  background: var(--warm-mid);
  border-top: 1px solid rgba(196,154,60,0.15);
}
.listen-inner { max-width: 1200px; margin: 0 auto; }
.listen-header .section-label { color: var(--warm-accent); }
.listen-header .section-title { color: var(--warm-light); margin-bottom: 3rem; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── GALLERY ── */
#gallery {
  background: #080808;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.gallery-inner { max-width: 1200px; margin: 0 auto; }
.gallery-header .section-label { color: rgba(255,255,255,0.4); }
.gallery-header .section-title { color: var(--white); margin-bottom: 3rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s;
  aspect-ratio: 3/4;
}
.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-height: 92vh;
  max-width: 90vw;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 1rem;
  transition: color 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover { color: var(--white); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ── CONTACT ── */
#contact {
  background: var(--red-deep);
  position: relative;
  overflow: hidden;
}
.contact-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.25;
}
.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner .section-label { color: rgba(196,68,42,0.9); }
.contact-inner .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}
.contact-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.contact-link {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.contact-link:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.contact-link.primary {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.contact-link.primary:hover { background: rgba(255,255,255,0.18); }

/* ── CONTACT FORM ── */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: left;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.contact-form-group {
  display: flex;
  flex-direction: column;
}
.contact-form-group.full {
  grid-column: 1 / -1;
}
.contact-form-group label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.contact-form-group input,
.contact-form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.9rem 1rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.contact-form-group input:focus,
.contact-form-group textarea:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
}
.contact-form-group textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-form-submit {
  display: block;
  margin: 2rem auto 0;
  padding: 0.9rem 2.5rem;
  background: var(--red-accent);
  color: var(--white);
  border: none;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.contact-form-submit:hover {
  background: #d4553a;
}
.contact-form-submit:active {
  transform: scale(0.98);
}

/* ── SCROLL ANIMATIONS ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
[data-reveal="left"] {
  transform: translateX(-28px);
}
[data-reveal="right"] {
  transform: translateX(28px);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translate(0);
}

/* ── FOOTER ── */
footer {
  background: var(--neutral);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
footer p { font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  section { padding: 5rem 1.5rem; }
  .hero-content { padding: 0 1.5rem 4rem; }
  .bio-inner { grid-template-columns: 1fr; gap: 3rem; }
  .music-roles { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-photo-row { grid-template-columns: 1fr; }
  .tech-photo { aspect-ratio: 16/9; object-position: center 20%; }
  .hero-img { object-position: 15% center; }
  .give-bach { grid-template-columns: 1fr; }
  .music-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .music-press { text-align: left; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
  .contact-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-name { font-size: 3rem; }
  .hero-scroll { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .repertoire-grid { grid-template-columns: 1fr !important; }
  .top-nav { padding: 0.8rem 1.25rem; }
  .site-logo { top: 1rem; right: 1.25rem; }
}

@media (max-width: 768px) {
  .home-nav .nav-brand { display: none; }
  .home-nav { justify-content: flex-end; }
}

.home-nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}
