/* ===== Tokens ===== */
:root {
  --color-bg: #1A0707;
  --color-bg-alt: #220A0A;
  --color-sand: #C9A96E;
  --color-mauve: #C23B3B;
  --color-cream: #EDE8DC;
  --color-terracotta: #7A4A3A;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;

  --container-w: 1100px;
}

/* ===== Custom font: Vantage (logo/wordmark) ===== */
@font-face {
  font-family: 'Vantage';
  src: url('../fonts/VantageRegular-L3xY5.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ===== Layout helpers ===== */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 640px; }

.section { padding: 64px 0; position: relative; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-sand);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 28px;
}
.section-title em {
  font-style: italic;
  color: var(--color-sand);
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  background: linear-gradient(to bottom, rgba(26,7,7,0.85), transparent);
  backdrop-filter: blur(2px);
}
.nav-logo {
  font-family: 'Vantage', var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--color-cream);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cream);
  opacity: 0.8;
  transition: opacity 0.25s ease, color 0.25s ease;
  position: relative;
}
.nav-links a:hover { opacity: 1; color: var(--color-sand); }
.nav-links a:focus-visible {
  outline: 1px solid var(--color-sand);
  outline-offset: 4px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-cream);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-tile-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tile-pattern { width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-sand);
  opacity: 0.85;
  margin-bottom: 28px;
}
.hero-title {
  font-family: 'Vantage', var(--font-display);
  font-weight: 400;
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--color-cream);
}
.hero-title em {
  font-style: normal;
  color: var(--color-sand);
}
.hero-sub {
  margin-top: 28px;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--color-mauve);
  font-weight: 400;
}
.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--color-sand);
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-primary {
  background: var(--color-sand);
  color: var(--color-bg);
}
.btn-primary:hover { background: transparent; color: var(--color-sand); }
.btn-ghost {
  background: transparent;
  color: var(--color-cream);
  border-color: rgba(237,232,220,0.4);
}
.btn-ghost:hover { border-color: var(--color-sand); color: var(--color-sand); }
.btn-sm { padding: 10px 22px; font-size: 0.72rem; }
.btn:focus-visible { outline: 2px solid var(--color-sand); outline-offset: 3px; }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-sand), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.9; }
}

/* ===== Divider ===== */
.divider {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 32px;
}
.divider svg { width: 100%; height: 20px; display: block; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: var(--color-cream);
  max-width: 50ch;
  text-align: justify;
  font-style: normal;
}
.about-photo {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: block;
  border: 1px solid rgba(201,169,110,0.3);
  filter: grayscale(15%) sepia(8%);
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(201,169,110,0.2);
  background: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
}
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: grayscale(10%);
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10,3,3,0.94);
}
.lightbox.open { display: flex; }
.lightbox-image {
  max-width: 84vw;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(201,169,110,0.3);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--color-cream);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}
.lightbox-close:hover { color: var(--color-sand); }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-cream);
  font-size: 3.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 12px 18px;
  transition: color 0.2s ease;
}
.lightbox-arrow:hover { color: var(--color-sand); }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-download {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 28px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--color-sand);
  color: var(--color-sand);
  background: rgba(26,7,7,0.6);
  transition: background 0.25s ease, color 0.25s ease;
}
.lightbox-download:hover {
  background: var(--color-sand);
  color: var(--color-bg);
}

@media (max-width: 700px) {
  .lightbox-arrow { font-size: 2.4rem; padding: 8px 12px; }
  .lightbox-image { max-width: 90vw; max-height: 70vh; }
  .lightbox-download { bottom: 18px; }
}

/* ===== Music ===== */
.embed-block { margin-bottom: 56px; }
.embed-block:last-child { margin-bottom: 0; }
.embed-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-mauve);
  margin-bottom: 16px;
}
.embed-block iframe {
  border-radius: 0;
  display: block;
}

.youtube-grid {
  display: grid;
  gap: 16px;
}
.yt-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(237,232,220,0.75);
  transition: color 0.25s ease;
}
.yt-channel-link:hover { color: var(--color-sand); }
.yt-channel-link .yt-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Optional: grid for individual embedded videos once added */
.youtube-grid.has-videos {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.youtube-grid.has-videos iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
}

/* ===== Gigs ===== */
.gigs-list { display: flex; flex-direction: column; }
.gig-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(201,169,110,0.15);
}
.gig-item:first-child { border-top: 1px solid rgba(201,169,110,0.15); }
.gig-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-sand);
}
.gig-day { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.gig-month { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 4px; }
.gig-venue { font-size: 1.1rem; color: var(--color-cream); }
.gig-location { font-size: 0.85rem; color: rgba(237,232,220,0.55); margin-top: 2px; }
.gig-item.sold-out .gig-action::after {
  content: "Sold out";
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mauve);
}

/* ===== Past concerts ===== */
.past-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--color-sand);
  margin-top: 52px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.past-list { display: flex; flex-direction: column; }
.past-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201,169,110,0.1);
}
.past-item:first-child { border-top: 1px solid rgba(201,169,110,0.1); }
.past-venue {
  font-size: 0.95rem;
  color: rgba(237,232,220,0.75);
}
.past-meta {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(237,232,220,0.4);
  white-space: nowrap;
}

/* ===== Footer legal ===== */
.footer-legal {
  margin-top: 10px;
  font-size: 0.72rem;
  opacity: 0.5;
}
.contact-intro {
  color: rgba(237,232,220,0.75);
  font-size: 1.05rem;
  margin-bottom: 44px;
  max-width: 50ch;
}
.contact-links {
  display: flex;
  flex-direction: column;
}
.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(201,169,110,0.15);
  transition: padding-left 0.25s ease;
}
.contact-item:first-child { border-top: 1px solid rgba(201,169,110,0.15); }
.contact-item:hover { padding-left: 12px; color: var(--color-sand); }
.contact-type {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-mauve);
}
.contact-value { font-size: 1.05rem; }

/* ===== Footer ===== */
.footer {
  padding: 48px 0 36px;
  text-align: center;
  border-top: 1px solid rgba(201,169,110,0.1);
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-sand);
  margin-bottom: 6px;
}
.footer-name--vantage {
  font-family: 'Vantage', var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(237,232,220,0.45);
  letter-spacing: 0.05em;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-tile { order: -1; max-width: 220px; margin: 0 auto; }
}

@media (max-width: 700px) {
  .nav { padding: 18px 22px; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 220px;
    background: var(--color-bg-alt);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 36px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; z-index: 101; }
  .section { padding: 48px 0; }
  .gig-item { grid-template-columns: 70px 1fr; }
  .gig-action { grid-column: 1 / -1; }
}
