/* ============ Tokens ============ */
:root {
  --bg: #0d0b0a;
  --bg-alt: #151210;
  --surface: #1c1815;
  --surface-2: #241f1b;
  --border: rgba(245, 241, 236, 0.1);
  --text: #f5f1ec;
  --text-muted: #a89f95;
  --accent: #e2a24d;
  --accent-2: #c97b84;
  --accent-contrast: #17120c;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select, button { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.9em;
}

.section { padding: 108px 0; position: relative; }
.section-lede { color: var(--text-muted); max-width: 56ch; font-size: 1.05rem; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: var(--accent-contrast);
  padding: 12px 18px; z-index: 999; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent); color: var(--accent-contrast);
  box-shadow: 0 8px 24px -8px rgba(226, 162, 77, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(226, 162, 77, 0.65); }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--border);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ============ Header ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(13, 11, 10, 0.86);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.6);
}
.header-inner {
  height: var(--header-h);
  max-width: 1160px; margin-inline: auto; padding-inline: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.primary-nav { display: flex; align-items: center; gap: 32px; }
.primary-nav a:not(.nav-cta) {
  font-size: 0.92rem; font-weight: 500; color: var(--text);
  position: relative; padding-bottom: 4px;
}
.primary-nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width 0.35s var(--ease);
}
.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a:not(.nav-cta).active::after { width: 100%; }
.nav-cta {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--accent);
  color: var(--accent) !important; font-weight: 600; font-size: 0.88rem;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.nav-cta:hover { background: var(--accent); color: var(--accent-contrast) !important; }

.nav-toggle {
  display: none; background: none; border: none; padding: 8px;
  flex-direction: column; gap: 5px; z-index: 110;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 26% 48%;
  transform: scale(1.06);
  animation: hero-in 1.6s var(--ease) forwards;
}
@keyframes hero-in { to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(0deg, rgba(10,9,8,0.97) 0%, rgba(10,9,8,0.6) 40%, rgba(10,9,8,0.32) 66%, rgba(10,9,8,0.5) 100%),
    linear-gradient(90deg, rgba(10,9,8,0.5) 0%, rgba(10,9,8,0.08) 48%),
    linear-gradient(180deg, rgba(10,9,8,0.65) 0%, rgba(10,9,8,0.2) 16%, rgba(10,9,8,0) 32%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 24px 100px;
  max-width: 780px;
  margin-inline: auto;
  width: 100%;
  text-align: left;
}
.hero-title {
  font-size: clamp(3rem, 9vw, 6rem);
  margin-bottom: 0.15em;
}
.hero-tagline {
  font-size: clamp(1.02rem, 2.2vw, 1.25rem);
  color: var(--text);
  opacity: 0.88;
  max-width: 46ch;
  margin-bottom: 1.8em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 42px; border: 1.5px solid rgba(245,241,236,0.5);
  border-radius: 999px; display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px; border-radius: 999px; background: var(--accent);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0);} 30%{opacity:1;} 100% { opacity: 0; transform: translateY(14px);} }

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(1) { transition-delay: 0.02s; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.14s; }
.reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal:nth-child(5) { transition-delay: 0.26s; }
.hero-content .reveal { transition-delay: 0.15s; }
.hero-content .reveal:nth-child(1) { transition-delay: 0s; }
.hero-content .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero-content .reveal:nth-child(3) { transition-delay: 0.24s; }
.hero-content .reveal:nth-child(4) { transition-delay: 0.36s; }

/* ============ About ============ */
.about-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center;
}
.about-media img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 3/4; object-fit: cover; width: 100%;
  transition: transform 0.6s var(--ease);
}
.about-media:hover img { transform: scale(1.02); }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.about-copy p { color: var(--text-muted); max-width: 52ch; }
.stat-row { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--accent); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============ Music ============ */
.music { background: var(--bg-alt); }
.track-list { margin-top: 40px; border-top: 1px solid var(--border); }
.track {
  display: flex; align-items: center; gap: 20px; padding: 20px 12px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s var(--ease), padding-left 0.3s var(--ease);
  border-radius: var(--radius-sm);
}
.track:hover { background: rgba(245,241,236,0.03); padding-left: 20px; }
.track-play {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--border); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.track-play svg { width: 18px; height: 18px; fill: var(--text-muted); }
.track-play:not(:disabled):hover { border-color: var(--accent); transform: scale(1.06); }
.track-play:not(:disabled):hover svg { fill: var(--accent); }
.track-play:disabled { opacity: 0.5; cursor: not-allowed; }
.track-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.track-title { font-weight: 600; font-size: 1.05rem; }
.track-meta { font-size: 0.85rem; color: var(--text-muted); }
.track-status {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); border: 1px solid var(--border); padding: 6px 14px;
  border-radius: 999px; flex-shrink: 0;
}
.music-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 48px; }
.platform-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 500;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.platform-link svg { width: 18px; height: 18px; fill: currentColor; }
.platform-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ============ Shows ============ */
.show-list { margin-top: 40px; }
.show-item {
  display: flex; align-items: center; gap: 24px; padding: 20px 12px;
  border-bottom: 1px solid var(--border);
  transition: background-color .3s var(--ease), padding-left .3s var(--ease);
  border-radius: var(--radius-sm);
}
.show-item:first-child { border-top: 1px solid var(--border); }
.show-item:hover { background: rgba(245,241,236,0.03); padding-left: 20px; }
.show-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: var(--radius-sm);
  background: var(--surface); flex-shrink: 0;
}
.show-date .d { font-family: 'Fraunces', serif; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.show-date .m { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.show-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.show-venue { font-weight: 600; font-size: 1.05rem; }
.show-loc { font-size: 0.85rem; color: var(--text-muted); }
.show-tag {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent-2); border: 1px solid var(--border); padding: 6px 14px;
  border-radius: 999px; flex-shrink: 0;
}
.shows-cta { margin-top: 44px; }

/* ============ Collaborate ============ */
.collaborate { background: var(--bg-alt); }
.collab-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.collab-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.collab-copy p { color: var(--text-muted); max-width: 52ch; }
.collab-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.collab-tags li {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 0.86rem; color: var(--text);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.collab-tags li:hover { border-color: var(--accent-2); color: var(--accent-2); }
.collab-media img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4/5; object-fit: cover; width: 100%;
  transition: transform 0.6s var(--ease);
}
.collab-media:hover img { transform: scale(1.02); }

/* ============ Gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.gallery-item {
  position: relative; border: none; padding: 0; background: none;
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 5;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0; background: rgba(13,11,10,0);
  transition: background-color 0.3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { background: rgba(13,11,10,0.12); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(9,8,7,0.94);
  display: flex; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  transform: scale(0.96); transition: transform 0.35s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: env(safe-area-inset-top, 20px); right: 20px;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 1.6rem; line-height: 1;
}

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
.contact-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.contact-copy p { color: var(--text-muted); max-width: 46ch; }
.contact-socials { display: flex; gap: 12px; margin-top: 28px; }
.social-icon {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.85rem; color: var(--text-muted); }
.form-row input, .form-row select, .form-row textarea {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; color: var(--text); resize: vertical;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(226,162,77,0.18);
}
.form-submit { align-self: flex-start; margin-top: 4px; position: relative; }
.form-status { font-size: 0.9rem; min-height: 1.4em; color: var(--accent); }

/* ============ Support / Donate ============ */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.support-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 32px 26px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.support-card:hover { transform: translateY(-6px); border-color: var(--accent); background: var(--surface-2); }
.support-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.support-icon svg { width: 22px; height: 22px; fill: var(--accent); }
.support-name { font-family: 'Fraunces', serif; font-size: 1.15rem; }
.support-desc { font-size: 0.88rem; color: var(--text-muted); }
.support-note { margin-top: 32px; color: var(--text-muted); font-size: 0.9rem; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-size: 1.1rem; }
.footer-socials { display: flex; gap: 12px; }
.footer-note { color: var(--text-muted); font-size: 0.85rem; margin: 0; width: 100%; text-align: center; order: 3; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .about-grid, .collab-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .collab-media, .about-media { order: -1; max-width: 420px; }
  .support-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 0 0 0 30%; z-index: 105;
    background: var(--bg-alt); border-left: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 28px; padding: 32px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav a:not(.nav-cta) { font-size: 1.15rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-content { padding-bottom: 80px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .stat-row { gap: 24px; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .section { padding: 64px 0; }
  .track, .show-item { flex-wrap: wrap; }
  .track-status, .show-tag { margin-left: 66px; }
}
