@import url('https://fonts.googleapis.com/css2?family=Anton&family=Antonio:wght@400;700&family=Kumbh+Sans:wght@400;600;700&family=Open+Sans:ital,wght@1,500&display=swap');

:root {
  --teal: #63e6b6;
  --maroon: #620109;
  --maroon-light: #7a0f18;
  --cream: #eef1e1;
  --black: #0a0a0a;
  --max-width: 1440px;
  /* Logo width and the gap after it decide where the menu starts; the contact
     page uses the same two numbers to line its left block up with the menu. */
  --logo-w: clamp(96px, 11.5vw, 168px);
  --nav-gap: 40px;
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  /* iOS Safari sizes the page (and lets you pan sideways) based on the
     widest descendant unless overflow-x is also hidden here, not just on
     body — this is what stops that on things like the off-screen honeypot
     field and the cover-fit video background. */
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: 'Kumbh Sans', sans-serif;
  /* "hidden" would turn body into a scroll container and silently break the
     sticky header; "clip" cuts off the overflow without doing that. The
     "hidden" line is only a fallback for browsers that lack "clip". */
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, .display {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  color: var(--teal);
  margin: 0;
  text-transform: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 100px;
}

.navbar {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
  padding: 8px 0;
}

/* The logo sits inside the bar and never overflows it: the bar's height
   simply follows the logo size. */
.navbar .logo {
  flex-shrink: 0;
}

.navbar .logo img {
  display: block;
  width: var(--logo-w);
  height: auto;
  /* the picture has ~17% empty space above and below the ring: trim most of
     it so the bar gets lower while the logo keeps its size */
  margin: calc(var(--logo-w) * -0.13) 0;
  /* No animation here on purpose: it rests plain. main.js sets this inline,
     only when you hover "Schrijf je in!", so it never plays on its own. */
}

/* The logo rests plain, without any glow. Only on hover over "Schrijf je
   in!" does the neon switch on: a single flicker, then it glows steadily and
   fades back to plain. main.js plays it. */
@keyframes logo-neon {
  0%, 100% {
    opacity: 1;
    filter: none;
  }
  8% {
    opacity: 0.4;
    filter: drop-shadow(0 0 2px rgba(99, 230, 182, 0.3));
  }
  14%, 72% {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(99, 230, 182, 0.85)) drop-shadow(0 0 16px rgba(99, 230, 182, 0.5));
  }
}

/* Neon-sign flicker: a couple of quick dips near the start of the cycle,
   then it stays fully lit and glowing for the rest of the loop. */
@keyframes logo-flicker {
  0%, 3%, 5.5%, 7%, 9%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(99, 230, 182, 0.85)) drop-shadow(0 0 16px rgba(99, 230, 182, 0.5));
  }
  3.5%, 6%, 8% {
    opacity: 0.4;
    filter: drop-shadow(0 0 2px rgba(99, 230, 182, 0.3));
  }
}

/* Desktop: less side padding, and a wider bar (the footer uses the same
   numbers so their left and right edges line up). */
@media (min-width: 900px) {
  .site-header {
    padding: 0 60px;
  }

  .navbar {
    max-width: 1400px;
  }
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: 18px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--cream);
  opacity: 0.8;
  padding-bottom: 6px;
  transition: opacity 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--teal);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  animation: logo-flicker 7s linear infinite;
}

.nav-links a {
  white-space: nowrap;
}

/* Between the hamburger breakpoint and a comfortable desktop width the
   longer "Onze Community" label would otherwise wrap onto two lines. */
@media (min-width: 901px) and (max-width: 1100px) {
  :root {
    --nav-gap: 24px;
  }

  .nav-links {
    gap: 22px;
    font-size: 16px;
  }
}

.nav-cta-group {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Sits in .nav-links, right after "Boek ons" — override the plain nav-link
   look (underline, bottom padding) with its own small bordered flag button. */
.lang-switch {
  display: flex;
  align-items: center;
  opacity: 0.75;
  border: 1px solid rgba(238, 241, 225, 0.35);
  border-radius: 6px;
  padding: 4px;
  line-height: 0;
  transition: opacity 0.2s, border-color 0.2s;
}

.lang-switch::after {
  display: none;
}

.lang-switch:hover {
  opacity: 1;
  border-color: var(--teal);
}

.lang-switch-flag {
  display: block;
  width: 22px;
  height: auto;
  border-radius: 2px;
}

.nav-cta {
  background: var(--teal);
  color: #000;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: transform 0.15s ease;
}

.nav-cta:active {
  transform: scale(0.92);
}

.nav-cta.bounce {
  animation-name: cta-bounce;
  animation-duration: 0.6s;
  animation-timing-function: ease;
  animation-iteration-count: var(--bounce-count, 1);
}

@keyframes cta-bounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
  50% { transform: translateY(0); }
  70% { transform: translateY(-3px); }
  85% { transform: translateY(0); }
}

.newsletter-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Kumbh Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  color: var(--teal);
  white-space: nowrap;
  pointer-events: none;
}

/* Two different sentences: the long welcome line by default, falling back
   to the short one once JS (fitHintText) finds it no longer fits the bar. */
.hint-text-mobile {
  display: none;
}

.hint-text-desktop {
  display: inline;
}

.newsletter-hint.compact .hint-text-mobile {
  display: inline;
}

.newsletter-hint.compact .hint-text-desktop {
  display: none;
}

.newsletter-hint.hide {
  display: none;
}

.newsletter-hint .hint-arrow {
  font-size: 16px;
  font-weight: 700;
  filter: drop-shadow(0 0 6px rgba(99, 230, 182, 0.6));
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  display: block;
}

/* Sections shared */
.section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Portrait source photo (video preview) inside a landscape band - show it whole instead of cropping. */
.section-bg-contain {
  object-fit: contain;
  background: #000;
}

.section-bg-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: var(--black);
}

.section-bg-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* Extra bottom-weighted scrim so YouTube's title chip fades into the frame
   instead of floating on top of it (autoplay with no interaction never
   lets it auto-hide the way it does during normal playback). */
.video-preview-block .section-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.88) 100%);
}

.section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}

.section-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
}

.section-title {
  position: relative;
  font-size: clamp(48px, 8vw, 128px);
  text-align: center;
  text-shadow: 0 0 20px rgba(99, 230, 182, 0.4);
  padding-bottom: 0;
  /* Anton's default line box leaves a big gap under the capitals. With
     line-height 1 the baseline sits at ~0.93em, so the hover line at 1.02em
     ends up just below the letters. */
  line-height: 1;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 1.02em;
  height: 4px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.section-title:hover::after {
  transform: scaleX(1);
  animation: logo-flicker 7s linear infinite;
}

.section-link {
  text-decoration: none;
  display: block;
}

/* Hero */
.hero {
  background: var(--black);
  aspect-ratio: 3 / 2;
  min-height: 480px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 40px;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.hero .section-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.4) 100%);
}

.hero-text-stack {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  margin-bottom: 24px;
}

.hero-text-stack > * {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
}

.hero-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: auto;
  max-width: calc(100% - 40px);
}

.hero-title {
  text-align: left;
  font-size: clamp(40px, 8vw, 128px);
  margin: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-title.visible {
  opacity: 1;
}

.hero-subtitle {
  text-align: left;
  font-family: 'Antonio', sans-serif;
  text-transform: uppercase;
  font-size: clamp(24px, 3.6vw, 42px);
  letter-spacing: 0.03em;
  color: var(--cream);
  margin: -6px 0 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-subtitle.visible {
  opacity: 1;
}

.hero-quote {
  align-self: end;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 2.8vw, 46px);
  line-height: 1.35;
  color: var(--cream);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  max-width: 90%;
  padding: 0 20px;
  margin: 0 0 -20px;
  opacity: 0;
}

.hero-quote.visible {
  opacity: 1;
}

.hero-dots {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 20px;
}

.hero-dots .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(238, 241, 225, 0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.hero-dots .dot:hover {
  transform: scale(1.15);
}

@media (max-width: 560px) {
  .hero-dots {
    gap: 8px;
    padding: 20px 12px;
  }
  .hero-dots .dot {
    width: 10px;
    height: 10px;
  }
}

.hero-dots .dot.active {
  background: var(--teal);
  border-color: var(--teal);
}

/* Community */
.community {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

@media (min-width: 900px) {
  .community {
    min-height: 100vh;
  }
}

.community .section-content,
.newsletter .section-content {
  padding: 100px 60px;
}

/* The intro title floats centered over the whole photo, independent of
   the text flow below, then shrinks + cross-fades into the small
   permanent title before the body text fades in underneath it. */
.community-intro-title {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 60px;
  margin: 0;
  font-size: clamp(48px, 8vw, 128px);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.community-intro-title.visible {
  opacity: 1;
}

.community-intro-title.shrink {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
}

.community-title {
  font-size: clamp(40px, 6vw, 96px);
  margin: 0 0 32px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.community-title.visible {
  opacity: 1;
}

.community-body {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.community-body.visible {
  opacity: 1;
  transform: translateY(0);
}

.community p {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.6;
  max-width: 900px;
  margin: 0 0 24px;
}

.community p:last-child {
  margin-bottom: 0;
}

/* Events / Video / Contact preview blocks (home) */
.preview-block {
  aspect-ratio: 3 / 2;
  min-height: 360px;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 3px solid var(--maroon);
}

.preview-block .section-content {
  padding: 60px 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact preview (home) */
.contact-preview {
  aspect-ratio: 3 / 2;
  min-height: 360px;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 3px solid var(--maroon);
}

/* Newsletter */
.newsletter {
  aspect-ratio: 3 / 2;
  min-height: 480px;
  max-height: 85vh;
  display: flex;
  align-items: center;
  border-top: 3px solid var(--maroon);
}

/* Static title (no intro animation) with the same hover line as the big
   home page titles; inline-block so the line is only as wide as the text. */
.newsletter-title {
  position: relative;
  display: inline-block;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  margin: 0 0 32px;
}

.newsletter-text {
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 600px;
  margin: 0 0 24px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  max-width: 420px;
  background: var(--teal);
  border-radius: 8px;
  overflow: hidden;
  padding: 4px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 16px;
  color: #333;
  outline: none;
}

.newsletter-form button {
  border: none;
  background: #000;
  width: 32px;
  height: 32px;
  margin: auto 4px auto 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.newsletter-form button img {
  width: 18px;
  height: 18px;
}

.newsletter-success {
  color: var(--teal);
  font-weight: 600;
  font-size: 18px;
}

/* Contact */
.contact-hero {
  background: var(--cream);
  min-height: 70vh;
  display: flex;
  align-items: center;
  border-top: 3px solid var(--maroon);
}

.contact-hero .section-bg,
.contact-hero .section-overlay {
  display: none;
}

/* Same box as the navbar (1400px of content between 60px side paddings), so
   the left block and the form line up with the logo/menu and the button. */
.contact-hero .section-content {
  max-width: 1520px;
  padding: 80px 60px;
  width: 100%;
}

/* Form on the left (starting where the menu starts), downloads and press on
   the right. */
.contact-details-inner {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 60px 96px;
  align-items: start;
}

/* From here the menu is comfortably wide: start the form exactly where
   "Onze community" starts. */
@media (min-width: 1280px) {
  .contact-details-inner {
    padding-left: calc(var(--logo-w) + var(--nav-gap));
  }
}

.contact-column-info {
  max-width: 560px;
}

/* main.js sets --info-shift so the right column starts under the first letter
   of the "Welkom in onze..." hint in the nav bar. */
@media (min-width: 1100px) {
  .contact-column-info {
    margin-left: var(--info-shift, 0px);
  }
}

/* Not enough room for two comfortable columns: stack them. */
@media (max-width: 1099px) {
  .contact-details-inner {
    grid-template-columns: 1fr;
  }
}

.contact-column h1,
.contact-column h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: #000;
}

.contact-column h3 {
  font-size: 32px;
  color: #000;
  margin: 0 0 16px;
}

.contact-column-info h3:not(:first-child) {
  margin-top: 48px;
}

.contact-intro {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0 0 24px;
  color: #000;
}

.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-list a {
  color: #000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.download-list a::before {
  content: '↓';
  color: #000;
  font-weight: 700;
  transition: color 0.2s;
}

.download-list a:hover,
.download-list a:hover::before {
  color: var(--maroon);
}

.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.press-list a {
  color: #000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.press-list a::before {
  content: '↗';
  color: #000;
  font-weight: 700;
  transition: color 0.2s;
}

.press-list a:hover,
.press-list a:hover::before {
  color: var(--maroon);
}

.contact-form {
  max-width: 480px;
  background: var(--maroon);
  border: 1px solid rgba(238, 241, 225, 0.15);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  opacity: 0.85;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 15px;
  color: #000;
  background: var(--cream);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.contact-form .form-row-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.contact-form .form-row-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.contact-form .form-row-checkbox label {
  font-weight: 400;
  opacity: 1;
  font-size: 14px;
}

.contact-form .cf-honeypot {
  position: absolute;
  left: -5000px;
}

.contact-form button {
  background: var(--teal);
  color: #000;
  border: none;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form button:hover {
  filter: brightness(1.05);
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form-status {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.contact-form-status.success {
  color: var(--teal);
}

.contact-form-status.error {
  color: #ff8a8a;
}

/* Video grid page */
.video-grid-section {
  background: var(--cream);
  padding: 60px 100px 100px;
}

.video-intro {
  max-width: 1200px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.video-grid-title {
  flex-shrink: 0;
  margin: 0;
  color: #000;
  font-size: clamp(40px, 6vw, 96px);
}

.video-intro-text {
  flex: 1;
  margin: 0;
  color: #000;
  font-size: 17px;
  line-height: 1.5;
}

.video-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}

/* Repeating rhythm of small/wide/medium/medium, like the Figma masonry layout */
.video-card:nth-child(8n+1) { grid-column: span 2; }
.video-card:nth-child(8n+2) { grid-column: span 4; }
.video-card:nth-child(8n+3) { grid-column: span 3; }
.video-card:nth-child(8n+4) { grid-column: span 3; }
.video-card:nth-child(8n+5) { grid-column: span 4; }
.video-card:nth-child(8n+6) { grid-column: span 2; }
.video-card:nth-child(8n+7) { grid-column: span 3; }
.video-card:nth-child(8n+8) { grid-column: span 3; }

/* Avoid a lone card leaving empty space in its row */
.video-card:last-child:nth-child(odd) { grid-column: span 6; }

@media (max-width: 900px) {
  .video-grid-section {
    padding: 60px 20px 80px;
  }
  .video-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .video-card {
    grid-column: 1 / -1 !important;
  }
  .video-card:nth-child(8n+1),
  .video-card:nth-child(8n+6) {
    aspect-ratio: 550/309;
  }
}

.video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 550/309;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  font-family: inherit;
  text-decoration: none;
}

/* The wide (span-4) card in a row is naturally taller at the same aspect-ratio
   than the narrow (span-2) card next to it. Give the narrow card a shorter
   aspect-ratio so both cards in the row end up the same height and the grid
   row doesn't leave empty space under the shorter one. */
.video-card:nth-child(8n+1),
.video-card:nth-child(8n+6) {
  aspect-ratio: 427/498;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover img {
  transform: scale(1.05);
}

.video-card .video-card-title {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: #fff;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 24px);
  text-shadow: -1px 1px 3px rgba(0, 0, 0, 0.4);
  line-height: 1.3;
}

.video-card .video-card-title small {
  font-size: 0.65em;
  font-weight: 400;
  opacity: 0.9;
}

.video-card::after {
  content: '▶';
  position: absolute;
  bottom: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.video-modal-content {
  position: relative;
  width: min(960px, 100%);
  z-index: 1;
}

.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}

/* Events list page */
.events-list-section {
  background: var(--cream);
  padding: 80px 100px 100px;
}

.events-list-title {
  font-size: clamp(48px, 10vw, 128px);
  text-align: center;
  margin-bottom: 32px;
  color: #000;
}

.events-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 60px;
}

.events-list-subtitle {
  max-width: 1200px;
  margin: 96px auto 12px;
  padding-top: 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  font-size: clamp(28px, 4vw, 44px);
  color: #000;
}

.events-list-intro {
  max-width: 1200px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  opacity: 0.75;
}

@media (max-width: 800px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

.events-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #000;
  font-size: 18px;
  margin: 0;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.events-grid .event-card:nth-child(n+3) {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding-top: 40px;
}

.event-card h2 {
  font-size: clamp(22px, 2.2vw, 32px);
  color: #000;
  transition: color 0.2s;
}

.event-card:hover h2 {
  color: var(--maroon);
}

.event-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
}

.event-photo-wrap {
  position: relative;
}

.event-photo-wrap img.sold-out-stamp {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 100px;
  height: auto;
  aspect-ratio: auto;
  border-radius: 0;
  transform: rotate(-16deg);
}

.event-when {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  margin: 0;
  color: #000;
}

.event-desc {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.85;
  margin: 0;
  color: #000;
}

.event-desc a,
.event-links a {
  color: var(--maroon);
  text-decoration: underline;
}

.event-links {
  font-size: 15px;
  margin: 0;
  color: #000;
}

/* Footer */
.site-footer {
  background: var(--maroon);
  padding: 50px 60px;
}

/* Same width and side padding as the navbar, so the brand text lines up with
   the logo and the social icons with the newsletter button. */
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

/* The logo picture has a transparent margin (~18% of its width) around the
   ring, so on desktop the footer text starts where the ring itself starts. */
@media (min-width: 901px) {
  .footer-brand {
    margin-left: calc(var(--logo-w) * 0.18);
  }
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.brand-name {
  font-size: 44px;
  margin: 0 0 10px;
  white-space: nowrap;
  color: var(--teal);
}

.brand-tagline {
  opacity: 0.85;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 300px;
}

.footer-credits {
  font-size: 15px;
  opacity: 0.75;
  line-height: 1.6;
  text-align: center;
}

.footer-credits p {
  margin: 0;
}

.footer-credits a {
  color: inherit;
  text-decoration: none;
}

.footer-credits a:hover {
  color: var(--teal);
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #621009;
  border: 1px solid rgba(0, 255, 127, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons img {
  width: 20px;
  height: 20px;
}

/* Mobile nav */
@media (max-width: 900px) {
  .site-header {
    padding: 0 20px;
  }
  .navbar {
    gap: 14px;
  }
  .events-list-section {
    padding: 60px 20px 80px;
  }
  .contact-hero .section-content {
    padding: 60px 20px;
  }
  .community .section-content,
  .newsletter .section-content {
    padding: 60px 20px;
  }
  .community-intro-title {
    padding: 0 20px;
    font-size: clamp(36px, 10vw, 64px);
  }
  .community-title,
  .newsletter-title {
    font-size: clamp(32px, 8vw, 56px);
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--black);
    padding: 20px 40px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-cta {
    font-size: 0;
    padding: 10px;
    line-height: 0;
  }
  .nav-cta::after {
    content: '✉';
    font-size: 18px;
    line-height: 1;
  }
  .site-footer {
    padding: 50px 20px;
  }
  .footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }
  .footer-right {
    align-items: center;
  }
  .footer-credits {
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
  .brand-name {
    font-size: clamp(32px, 11vw, 44px);
  }
}
