/* ============================================================
   Davis Family Band - Custom Stylesheet
   No frameworks. No utilities. Every line from scratch.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Nunito+Sans:wght@400;600;700&display=swap');

/* --- Reset ------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{min-height:100vh;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding-bottom:2.25rem;}
img,picture,video,svg{display:block;max-width:100%}
input,button,textarea,select{font:inherit}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{cursor:pointer;background:none;border:none}

/* --- Design Tokens ----------------------------------------- */
:root {
  --coral: #E8604C;
  --coral-hover: #D14E3B;
  --coral-soft: rgba(232,96,76,0.1);
  --coral-glow: rgba(232,96,76,0.25);

  --navy: #1B2838;
  --navy-mid: #243446;
  --teal: #4ECDC4;
  --teal-soft: rgba(78,205,196,0.12);
  --gold: #F2B134;

  --bg: #FFF8F0;
  --bg-raised: #FFF1E6;
  --bg-inset: #FFE8D6;
  --bg-dark: #1B2838;

  --text: #2D2D2D;
  --text-muted: #6B6B6B;
  --text-faint: #9A9A9A;
  --text-on-dark: #FFF8F0;

  --border: #E8D5C4;
  --border-subtle: #F0E0D0;
  --border-strong: #C8B0A0;

  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;

  --h1: clamp(2.75rem, 2rem + 3vw, 4.25rem);
  --h2: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
  --h3: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
  --body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);

  --max-width: 1200px;
  --prose-width: 640px;
  --section-pad: clamp(4rem, 3rem + 4vw, 7rem);
  --gutter: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);

  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

html.dark {
  --coral: #F07060;
  --coral-hover: #FF8474;
  --coral-soft: rgba(240,112,96,0.1);
  --coral-glow: rgba(240,112,96,0.2);

  --bg: #141E2B;
  --bg-raised: #1B2838;
  --bg-inset: #0F1820;
  --bg-dark: #FFF8F0;

  --text: #E8E0D8;
  --text-muted: #A0A8B0;
  --text-faint: #687078;
  --text-on-dark: #141E2B;

  --border: #2A3A4A;
  --border-subtle: #1E2E3E;
  --border-strong: #3A4A5A;
}

/* --- Base --------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 { font-size: var(--h1); font-weight: 800; }
h2 { font-size: var(--h2); font-weight: 700; }
h3 { font-size: var(--h3); font-weight: 700; }

p + p { margin-top: 1.25em; }

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
}

/* --- Container --------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.prose-container {
  max-width: var(--prose-width);
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section--dark {
  background: var(--navy);
  color: var(--text-on-dark);
}

html.dark .section--dark {
  background: var(--bg-inset);
}

.section--dark h2,
.section--dark h3 {
  color: var(--text-on-dark);
}

html.dark .section--dark h2,
html.dark .section--dark h3 {
  color: var(--text);
}

.section--tinted {
  background: var(--bg-raised);
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--coral-glow);
}

.btn-outline {
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
}

.btn-outline:hover {
  background: var(--coral-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--coral);
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Sound Wave Divider ------------------------------------ */
.wave-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 1.5rem 0;
}

.wave-divider span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--coral);
  opacity: 0.4;
}

.wave-divider span:nth-child(1) { height: 8px; }
.wave-divider span:nth-child(2) { height: 16px; }
.wave-divider span:nth-child(3) { height: 24px; }
.wave-divider span:nth-child(4) { height: 32px; }
.wave-divider span:nth-child(5) { height: 24px; }
.wave-divider span:nth-child(6) { height: 16px; }
.wave-divider span:nth-child(7) { height: 8px; }

.wave-divider.visible span {
  animation: wavePulse 1.2s ease-in-out infinite alternate;
}

.wave-divider.visible span:nth-child(1) { animation-delay: 0s; }
.wave-divider.visible span:nth-child(2) { animation-delay: 0.1s; }
.wave-divider.visible span:nth-child(3) { animation-delay: 0.2s; }
.wave-divider.visible span:nth-child(4) { animation-delay: 0.3s; }
.wave-divider.visible span:nth-child(5) { animation-delay: 0.4s; }
.wave-divider.visible span:nth-child(6) { animation-delay: 0.5s; }
.wave-divider.visible span:nth-child(7) { animation-delay: 0.6s; }

@keyframes wavePulse {
  0% { transform: scaleY(1); opacity: 0.3; }
  100% { transform: scaleY(1.6); opacity: 0.7; }
}

/* --- Header / Navigation ----------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: var(--bg);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

html.dark .site-header.scrolled {
  background: var(--bg-raised);
  box-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--text);
  transition: color var(--transition);
}

.nav__logo span {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--coral);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active {
  color: var(--coral);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__cta {
  margin-left: 0.5rem;
}

/* Dark hero overrides */
.has-dark-hero .site-header:not(.scrolled) .nav__logo,
.has-dark-hero .site-header:not(.scrolled) .nav__link,
.has-dark-hero .site-header:not(.scrolled) .nav__hamburger span {
  color: #fff;
}

.has-dark-hero .site-header:not(.scrolled) .nav__link:hover,
.has-dark-hero .site-header:not(.scrolled) .nav__link.active {
  color: var(--coral);
}

.has-dark-hero .site-header:not(.scrolled) .nav__logo span {
  color: var(--coral);
}

/* Dark mode toggle */
.dark-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
  color: var(--text);
}

.has-dark-hero .site-header:not(.scrolled) .dark-toggle {
  color: #fff;
}

.dark-toggle:hover {
  background: var(--coral-soft);
}

.dark-toggle svg {
  width: 20px;
  height: 20px;
}

html:not(.dark) .icon-sun { display: none; }
html.dark .icon-moon { display: none; }

/* Hamburger */
.nav__hamburger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

html.dark .nav__mobile {
  background: var(--bg-raised);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile .nav__link {
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }
}

/* --- Hero -------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27,40,56,0.65) 0%,
    rgba(27,40,56,0.5) 40%,
    rgba(27,40,56,0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero__content h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero__eyebrow {
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-primary {
  font-size: 1.0625rem;
  padding: 1rem 2.5rem;
}

/* Setlist ticker */
.ticker-wrap {
  margin-top: 2.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.ticker {
  display: flex;
  gap: 1.5rem;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
}

.ticker__item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.ticker__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.6;
  align-self: center;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Page Hero (inner pages) ------------------------------- */
.page-hero {
  padding-top: calc(72px + var(--section-pad));
  padding-bottom: calc(var(--section-pad) * 0.6);
  background: var(--bg-raised);
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero__intro {
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  color: var(--text-muted);
  max-width: var(--prose-width);
}

/* --- Two Column Layout ------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.two-col--40-60 {
  grid-template-columns: 1fr 1.2fr;
}

.two-col--60-40 {
  grid-template-columns: 1.2fr 1fr;
}

.two-col__sticky {
  position: sticky;
  top: 100px;
}

.two-col__sticky img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 768px) {
  .two-col,
  .two-col--40-60,
  .two-col--60-40 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-col__sticky {
    position: static;
  }
}

/* --- Event Cards ------------------------------------------- */
.event-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.event-card:last-child {
  border-bottom: none;
}

.event-card h3 {
  margin-bottom: 0.5rem;
}

.event-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Services Grid ----------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--bg-raised);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

html.dark .service-card {
  background: var(--bg-raised);
  border-color: var(--border);
}

html.dark .service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--coral-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--coral);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* --- Genre Tags -------------------------------------------- */
.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.genre-tag {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--coral-soft);
  color: var(--coral);
  border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.genre-tag:hover {
  border-color: var(--coral);
}

.section--dark .genre-tag {
  background: rgba(232,96,76,0.15);
  color: var(--coral);
}

/* --- Repertoire Grid --------------------------------------- */
.repertoire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.repertoire-grid li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

html.dark .repertoire-grid li {
  border-bottom-color: var(--border-subtle);
}

.repertoire-intro {
  font-style: italic;
  font-size: 1.125rem;
  opacity: 0.8;
  margin-top: 0.75rem;
}

.repertoire-note {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  opacity: 0.7;
}

/* --- Testimonials ------------------------------------------ */
.testimonials {
  text-align: center;
}

.testimonial-slider {
  max-width: var(--prose-width);
  margin: 0 auto;
  position: relative;
  min-height: 200px;
}

.testimonial-slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity 0.6s ease;
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.testimonial-attr {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  background: transparent;
  transition: background var(--transition);
  padding: 0;
}

.testimonial-dot.active {
  background: var(--coral);
}

/* --- Pull Quote -------------------------------------------- */
.pull-quote {
  border-left: 3px solid var(--coral);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.pull-quote p {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

/* --- About Section ----------------------------------------- */
.about-photo {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.family-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.family-member {
  text-align: center;
}

.family-member__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  border: 3px solid var(--coral-soft);
}

.family-member h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.family-member p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- FAQ --------------------------------------------------- */
.faq-list {
  max-width: 720px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--coral);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Contact ----------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--coral);
}

.contact-detail a {
  color: var(--text);
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--coral);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- Form -------------------------------------------------- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-soft);
}

.form-group textarea {
  resize: vertical;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(78,205,196,0.12);
  color: #2A9D8F;
  border: 1px solid rgba(78,205,196,0.3);
}

.form-status.error {
  display: block;
  background: rgba(232,96,76,0.1);
  color: var(--coral);
  border: 1px solid rgba(232,96,76,0.3);
}

/* --- Footer ------------------------------------------------ */
.site-footer {
  background: var(--navy);
  color: var(--text-on-dark);
  padding: calc(var(--section-pad) * 0.75) 0;
}

html.dark .site-footer {
  background: var(--bg-inset);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-brand span {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--coral);
}

.footer-contact {
  font-size: 0.9375rem;
}

.footer-contact a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--coral);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-credit a {
  color: var(--coral);
  transition: opacity var(--transition);
}

.footer-credit a:hover {
  opacity: 0.8;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Reveal Animation -------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .wave-divider.visible span {
    animation: none;
  }
}

/* --- Stats ------------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  color: var(--coral);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
  font-weight: 600;
}

@media (max-width: 600px) {
  .stats-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Disclaimer Bar ---------------------------------------- */
.disclaimer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-family: var(--font-body);
}

html.dark .disclaimer-bar {
  background: var(--bg-inset);
  border-top: 1px solid var(--border-subtle);
}

/* --- 404 --------------------------------------------------- */
.four-oh-four {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.four-oh-four h1 {
  font-size: clamp(6rem, 5rem + 5vw, 10rem);
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.four-oh-four p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* --- Music Note Decorative Border -------------------------- */
.note-border {
  position: relative;
  padding-left: 1.5rem;
}

.note-border::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--coral), var(--teal));
  border-radius: 2px;
}

/* --- CTA Banner -------------------------------------------- */
.cta-banner {
  text-align: center;
  background: linear-gradient(135deg, var(--coral) 0%, #D14E3B 100%);
  color: #fff;
  padding: var(--section-pad) var(--gutter);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: #fff;
  color: var(--coral);
  font-weight: 700;
}

.cta-banner .btn:hover {
  background: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* --- Events List ------------------------------------------- */
.event-type-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.event-type-item {
  background: var(--bg-raised);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition), box-shadow var(--transition);
}

.event-type-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

html.dark .event-type-item {
  background: var(--bg-raised);
  border-color: var(--border);
}

.event-type-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.event-type-item__body {
  padding: 1.5rem;
}

.event-type-item__body h3 {
  margin-bottom: 0.5rem;
}

.event-type-item__body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .event-type-list {
    grid-template-columns: 1fr;
  }
}

/* --- Setlist Categories ------------------------------------ */
.setlist-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.setlist-category h3 {
  color: var(--coral);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--coral);
  display: inline-block;
}

.setlist-category ul {
  list-style: none;
}

.setlist-category li {
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border-subtle);
}

.section--dark .setlist-category li {
  border-bottom-color: rgba(255,255,255,0.08);
}

html.dark .section--dark .setlist-category li {
  border-bottom-color: var(--border-subtle);
}

/* --- Timeline --------------------------------------------- */
.timeline {
  position: relative;
  max-width: 600px;
  margin: 2rem auto 0;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--bg);
  transform: translateX(-5px);
}

.timeline-item h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8125rem;
  color: var(--coral);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
