/* Live-parity styles from https://www.ebdiepconcerten.be */

html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDFBF7; }
::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #D4AF37; }

.rich-text p, .rich-bio p { margin-bottom: 0.85em; }
.rich-text p:last-child, .rich-bio p:last-child { margin-bottom: 0; }
.rich-text, .rich-bio, .rich-text *, .rich-bio * {
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
}
.rich-text, .rich-bio {
  max-width: 100%;
  text-align: left;
  word-break: break-word !important;
}
.rich-text strong, .rich-bio strong { font-weight: 700; }
.rich-text em, .rich-bio em { font-style: italic; }
.rich-text ul, .rich-bio ul { list-style: disc; padding-left: 1.4em; margin-bottom: 0.75em; }
.rich-text ol, .rich-bio ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 0.75em; }
.rich-text li, .rich-bio li { margin-bottom: 0.3em; }
.rich-text a, .rich-bio a { color: #1B2B5E; text-decoration: underline; }
.rich-text h2, .rich-bio h2 { font-size: 1.15em; font-weight: 700; margin-bottom: 0.5em; margin-top: 1em; }
.rich-text h3, .rich-bio h3 { font-size: 1.05em; font-weight: 600; margin-bottom: 0.4em; margin-top: 0.8em; }
.rich-text p:empty, .rich-bio p:empty,
.rich-text p > br:only-child, .rich-bio p > br:only-child { display: block; height: 0.5em; }

html, body { overflow-x: hidden; max-width: 100vw; }
html { font-size: clamp(14px, 1.5vw + 10px, 16px); }
img { max-width: 100%; }

a, button, [role="button"] { min-height: 44px; display: inline-flex; align-items: center; }
span { display: revert; min-height: revert; }
nav a, footer a, .prose a, .rich-text a, .rich-bio a { display: revert; min-height: revert; }

.hero-copy {
  container-type: inline-size;
  container-name: hero-copy;
}

/* One line each: scale with the hero width. Prefer smaller type over wrapping. */
.hero-title {
  font-size: clamp(1.2rem, 6.4vw, 6.1rem);
  font-size: clamp(1.2rem, 7.1cqi, 6.1rem);
  line-height: 1.06;
  min-height: auto !important;
  white-space: nowrap;
  text-wrap: nowrap;
  letter-spacing: -0.02em;
  max-width: 100%;
  margin-bottom: 0.12em;
}
.hero-subtitle {
  font-size: clamp(0.68rem, 2.7vw, 2.05rem);
  font-size: clamp(0.68rem, 3.35cqi, 2.05rem);
  line-height: 1.18;
  white-space: nowrap;
  text-wrap: nowrap;
  max-width: 100%;
  margin-top: 0;
}

/* Slow dissolve: linear steps so opacity eases out of the backdrop, not a late snap. */
@keyframes hero-copy-in {
  0% {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  20% {
    opacity: 0.08;
    transform: translateY(0.32rem);
  }
  45% {
    opacity: 0.32;
    transform: translateY(0.18rem);
  }
  75% {
    opacity: 0.78;
    transform: translateY(0.06rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shared fade: drone-only for ~3.5s, then title emerges, then subtitle. */
.hero-copy-stack {
  opacity: 0;
  animation-name: hero-copy-in;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
.hero-badge {
  animation-duration: 2s;
  animation-delay: 3.5s;
}
.hero-title {
  animation-duration: 3.2s;
  animation-delay: 3.8s;
}
.hero-subtitle-in {
  animation-duration: 2.8s;
  animation-delay: 7.6s; /* +1.6s vs previous 6s; after title is mostly visible */
}
.hero-scarcity {
  animation-duration: 1.6s;
  animation-delay: 8.2s; /* keep ~0.6s after subtitle starts */
}
.hero-cta {
  animation-duration: 1.6s;
  animation-delay: 8.6s;
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy-stack {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

p, li {
  text-wrap: pretty;
}
.prose,
.rich-text,
.rich-bio {
  line-height: 1.75;
}
.prose p,
.prose li,
.rich-text p,
.rich-text li,
.rich-bio p,
.rich-bio li {
  text-wrap: pretty;
  line-height: 1.75;
}
h1, h2, h3,
.prose h1, .prose h2, .prose h3 {
  text-wrap: balance;
}

#hero-music-toggle {
  touch-action: manipulation;
}

.concert-card-body { padding: 1.25rem; }
@media (min-width: 768px) { .concert-card-body { padding: 2rem; } }
.concert-card-title { font-size: clamp(1.25rem, 3vw, 1.875rem); }

.scarcity-bar { flex-wrap: wrap; gap: 0.75rem; }

.sponsors-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .sponsors-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sponsors-grid { grid-template-columns: repeat(6, 1fr); } }
.sponsor-card { padding: 1.25rem; min-height: 100px; }
@media (min-width: 768px) { .sponsor-card { padding: 2rem; min-height: 160px; } }

.cal-date-badge { width: 100%; }
@media (min-width: 768px) { .cal-date-badge { width: 11rem; } }
.cal-image { width: 100%; height: 200px; }
@media (min-width: 768px) { .cal-image { width: 16rem; height: auto; } }

.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.timeline { margin-left: 1rem; }
@media (min-width: 768px) { .timeline { margin-left: 3rem; } }

.reviews-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-middle { transform: none; }
@media (min-width: 768px) { .review-middle { transform: translateY(-0.5rem); } }

nav img { max-height: 3.5rem; width: auto; }
#mobile-menu a { display: block; }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Over Ons team portraits: cream/amber matte + gold/navy glow so studio shots sit warmly. */
.team-photo-frame {
  padding: 0.7rem;
  border-radius: 0.4rem;
  background: linear-gradient(165deg, #FDFBF7 0%, #F3E4B8 100%);
  transition: box-shadow 0.5s ease;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.22),
    0 10px 26px -12px rgba(0, 59, 115, 0.26),
    0 6px 18px -8px rgba(212, 175, 55, 0.4);
}
.team-photo-frame::before {
  content: "";
  position: absolute;
  inset: -1.4rem -1.65rem -1.15rem;
  z-index: -1;
  pointer-events: none;
  border-radius: 1.35rem;
  background: radial-gradient(
    ellipse 68% 62% at 50% 42%,
    rgba(212, 175, 55, 0.2) 0%,
    rgba(253, 251, 247, 0.38) 48%,
    transparent 74%
  );
}
.team-photo-frame > div {
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.2);
}
.team-photo-frame:hover {
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.38),
    0 12px 28px -10px rgba(0, 59, 115, 0.22),
    0 8px 20px -6px rgba(212, 175, 55, 0.48);
}
