/* ============================================
   Beyond the Black Box — Enhanced Styles
   Vibrant · Lively · Mobile-first
   ============================================ */

/* --- 1. Design Tokens --- */
:root {
  --canvas: #fbfdf6;
  --ink: #0a1d08;
  --moss: #e0e5d5;
  --mist: #c5ccb6;
  --earth: #31200b;
  --green: #203b14;
  --amber: #4a3212;
  --dew: #d7e8b5;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(10, 29, 8, 0.14);
  --shadow-hover: 0 28px 60px rgba(10, 29, 8, 0.18);
  --font-primary: 'DM Sans', 'akkurat', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'Fragment Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --radius-sm: 8px;
  --radius-lg: 20px;
}

/* --- 2. Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
.cms-preview-bar { position: sticky; top: 0; z-index: 100; display: flex; justify-content: center; gap: 10px; padding: 9px 16px; background: #d39b45; color: #11130f; font-size: 12px; line-height: 1.3; text-align: center; }
.cms-preview-bar strong { font-weight: 900; text-transform: uppercase; }
html[data-inline-preview="true"] [data-bbb-inline-field].is-inline-editable {
  outline: 2px dashed rgba(215, 232, 181, 0.82);
  outline-offset: 5px;
  cursor: text;
}
html[data-inline-preview="true"] [data-bbb-inline-field].is-inline-editable:focus {
  outline-style: solid;
  background: rgba(5, 7, 4, 0.22);
}
html[data-inline-preview="true"] [data-bbb-inline-image-field].is-inline-image-editable {
  cursor: pointer;
  box-shadow: inset 0 0 0 3px rgba(215, 232, 181, 0.72);
}
html[data-inline-preview="true"] .hero-loading-screen {
  display: none;
}
html[data-inline-preview="true"] .hero-animate .eyebrow,
html[data-inline-preview="true"] .hero-animate h1,
html[data-inline-preview="true"] .hero-animate > p,
html[data-inline-preview="true"] .hero-animate .hero-actions,
html[data-inline-preview="true"] .hero-animate .scroll-indicator,
html[data-inline-preview="true"] .page-hero .eyebrow,
html[data-inline-preview="true"] .page-hero h1,
html[data-inline-preview="true"] .page-hero > p {
  animation: none;
  opacity: 1;
  transform: none;
}
html[data-inline-preview="true"] .reveal,
html[data-inline-preview="true"] .reveal-left,
html[data-inline-preview="true"] .reveal-right,
html[data-inline-preview="true"] .reveal-scale {
  opacity: 1;
  transform: none;
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: #050704;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

#app {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: #050704;
}

#app:empty {
  background: #050704;
}
.no-script-site {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #050704;
  color: #fbfdf6;
}
.no-script-site header,
.no-script-site main,
.no-script-site footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.no-script-site header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid rgba(251, 253, 246, 0.22);
}
.no-script-brand { font-weight: 900; text-decoration: none; }
.no-script-site nav { display: flex; flex-wrap: wrap; gap: 16px; }
.no-script-site nav a,
.no-script-site footer a { text-underline-offset: 4px; }
.no-script-site main { align-self: center; padding-block: 64px; }
.no-script-site main h1 { max-width: 900px; margin: 12px 0 20px; font-size: 7rem; line-height: 0.95; }
.no-script-site main > p:not(.eyebrow) { max-width: 760px; font-size: 1.1rem; line-height: 1.7; }
.no-script-site footer { padding-block: 24px; border-top: 1px solid rgba(251, 253, 246, 0.22); }
@media (max-width: 1000px) {
  .no-script-site main h1 { font-size: 4.5rem; }
}
@media (max-width: 700px) {
  .no-script-site header { align-items: flex-start; flex-direction: column; }
  .no-script-site main { padding-block: 48px; }
  .no-script-site main h1 { font-size: 2.75rem; }
}
.framer-import-page {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--canvas);
  color: var(--ink);
}
.framer-import-page > .page-content { flex: 1 0 auto; }
img { display: block; max-width: 100%; }

/* Background-image divs (silent fallback for missing photos) */
.bg-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

a { color: inherit; }
h1, h2, h3 { overflow-wrap: anywhere; text-wrap: balance; }
p, a, span { overflow-wrap: break-word; }

/* --- 3. Custom Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--moss); }
::-webkit-scrollbar-thumb { background: var(--mist); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* --- 4. Focus & Skip Link --- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--dew);
  outline-offset: 3px;
}
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  transform: translateY(-140%);
  background: var(--ink); color: var(--canvas);
  padding: 10px 14px; border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* --- 5. Header & Navigation --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(251, 253, 246, 0.85);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled {
  background: rgba(251, 253, 246, 0.96);
  border-bottom-color: rgba(10, 29, 8, 0.1);
  box-shadow: 0 4px 30px rgba(10, 29, 8, 0.06);
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-weight: 800;
  flex: 1 1 auto; min-width: 0;
}
.brand span { min-width: 0; white-space: normal; }
.brand img, .site-footer img { width: 42px; height: 42px; object-fit: contain; }
.brand-svg { width: 42px; height: 42px; flex-shrink: 0; }

.site-nav {
  display: flex; align-items: center; gap: 6px;
}
.site-nav a, .button, .menu-button {
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 700; font-size: 14px;
  transition: background 0.3s var(--ease-out), color 0.3s, transform 0.2s;
}
.site-nav a {
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute; bottom: 6px; left: 18px; right: 18px;
  height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a:hover { background: rgba(10, 29, 8, 0.04); }

.nav-donate, .button.primary {
  background: var(--amber); color: var(--canvas);
  box-shadow: 0 2px 8px rgba(74, 50, 18, 0.25);
}
.nav-donate:hover, .button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 50, 18, 0.35);
}
.nav-donate::after { display: none; }

.button.secondary {
  border: 1.5px solid var(--ink); background: transparent;
}
.button.secondary:hover {
  background: var(--ink); color: var(--canvas);
  transform: translateY(-2px);
}
.button.light {
  background: var(--canvas); color: var(--ink);
  box-shadow: 0 2px 8px rgba(10, 29, 8, 0.12);
}
.button.light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 29, 8, 0.18);
}
.button:active { transform: translateY(0) scale(0.97) !important; }

.menu-button {
  display: none;
  border: 1.5px solid var(--ink); background: transparent;
  color: var(--ink); flex: 0 0 auto; cursor: pointer;
  font-family: var(--font-primary);
}

/* --- 6. Mobile Nav Overlay --- */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: rgba(10, 29, 8, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}
.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }
body.menu-open .framer-import-page { overflow: hidden; }

.mobile-overlay a {
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 800; color: var(--canvas);
  text-decoration: none; padding: 8px 24px;
  border-radius: var(--radius-lg);
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), background 0.3s;
}
.mobile-overlay.is-open a {
  opacity: 1; transform: translateY(0);
}
.mobile-overlay a:hover { background: rgba(251, 253, 246, 0.08); }
.mobile-overlay.is-open a:nth-child(1) { transition-delay: 0.06s; }
.mobile-overlay.is-open a:nth-child(2) { transition-delay: 0.10s; }
.mobile-overlay.is-open a:nth-child(3) { transition-delay: 0.14s; }
.mobile-overlay.is-open a:nth-child(4) { transition-delay: 0.18s; }
.mobile-overlay.is-open a:nth-child(5) { transition-delay: 0.22s; }
.mobile-overlay.is-open a:nth-child(6) { transition-delay: 0.26s; }
.mobile-overlay.is-open a:nth-child(7) { transition-delay: 0.30s; }

.mobile-overlay .overlay-close {
  position: absolute; top: 18px; right: clamp(20px, 4vw, 56px);
  font-size: 14px; min-height: 44px; padding: 11px 18px;
  border: 1.5px solid rgba(251, 253, 246, 0.3);
  color: var(--canvas); background: transparent;
  border-radius: 9999px; cursor: pointer;
  font-family: var(--font-primary); font-weight: 700;
  transition: border-color 0.3s, background 0.3s;
}
.mobile-overlay .overlay-close:hover {
  border-color: var(--canvas); background: rgba(251, 253, 246, 0.1);
}

/* --- 7. Hero Sections --- */
.hero, .page-hero, .event-detail-hero, .donate-hero, .watch-hero, .contact-hero { margin: 0; }

.photo-hero {
  min-height: 90vh; position: relative;
  display: grid; align-items: end;
  overflow: hidden;
}
.photo-hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--hero-bg, none) var(--hero-pos, center)/cover no-repeat;
  z-index: 0;
  transition: transform 8s linear;
}
.photo-hero:hover::before { transform: scale(1.03); }
.photo-hero::after {
  content: ''; position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(10, 29, 8, 0.85) 0%,
    rgba(10, 29, 8, 0.55) 40%,
    rgba(10, 29, 8, 0.15) 100%
  );
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: -2%;
  z-index: 0;
  width: 104%;
  height: 104%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05) brightness(.88);
  pointer-events: none;
}

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

.hero-loading-screen {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: #030303;
  opacity: 1;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

.hero-loader-complete .hero-loading-screen {
  visibility: hidden;
  opacity: 0;
}

.hero-loading-lockup {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.hero-loading-lockup img {
  width: clamp(72px, 10vw, 112px);
  height: clamp(72px, 10vw, 112px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 20px 60px rgba(0,0,0,.38);
}

.hero-loading-bar {
  position: relative;
  width: 124px;
  height: 2px;
  overflow: hidden;
  background: rgba(255,255,255,.22);
}

.hero-loading-bar span {
  position: absolute;
  inset: 0;
  width: 42%;
  background: var(--gold);
  animation: bbbHeroLoad 1s cubic-bezier(.65,0,.35,1) infinite;
}

@keyframes bbbHeroLoad {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}

.hero-slide {
  position: absolute;
  inset: -2%;
  background: var(--slide-image) var(--slide-position, center)/cover no-repeat;
  filter: saturate(1.1) contrast(1.05) brightness(0.88);
  opacity: 0;
  transform: scale(1.04);
  animation: heroSlide 18s ease-in-out infinite;
  animation-delay: calc(var(--slide-index) * 6s);
}

@keyframes heroSlide {
  0%, 28% { opacity: 1; transform: scale(1.04); }
  36%, 100% { opacity: 0; transform: scale(1.09); }
}

.hero-copy {
  position: relative; z-index: 2;
  width: 100%; max-width: 760px;
  padding: clamp(90px, 10vw, 150px) clamp(20px, 6vw, 80px);
  color: var(--canvas);
}
.hero-copy h1, .page-hero h1, .event-detail-hero h1,
.donate-hero h1, .watch-hero h1, .contact-hero h1 {
  margin: 0; max-width: 980px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1.02; letter-spacing: 0;
  font-weight: 800;
  white-space: pre-line;
}
.hero-copy p, .page-hero p, .event-detail-hero p,
.donate-hero p, .watch-hero p, .contact-hero p {
  max-width: 760px; font-size: clamp(18px, 2vw, 24px);
}

/* CMS-controlled page composition presets. These stay tokenized so edits cannot inject arbitrary CSS. */
.page-content.layout-hero-top .photo-hero,
.page-content.layout-hero-top .watch-hero { align-items: start; }
.page-content.layout-hero-center .photo-hero,
.page-content.layout-hero-center .watch-hero { align-items: center; }
.page-content.layout-hero-bottom .photo-hero,
.page-content.layout-hero-bottom .watch-hero { align-items: end; }
.page-content.layout-hero-top .page-hero.image-hero { align-content: start; }
.page-content.layout-hero-center .page-hero.image-hero { align-content: center; }
.page-content.layout-hero-bottom .page-hero.image-hero { align-content: end; }
.page-content.layout-hero-top .event-hero-copy,
.page-content.layout-hero-top .donate-copy,
.page-content.layout-hero-top .contact-copy { align-content: start; }
.page-content.layout-hero-bottom .event-hero-copy,
.page-content.layout-hero-bottom .donate-copy,
.page-content.layout-hero-bottom .contact-copy { align-content: end; }
.page-content.layout-align-center .hero-copy,
.page-content.layout-align-center .watch-hero .hero-copy,
.page-content.layout-align-center .page-hero.image-hero > *,
.page-content.layout-align-center .event-hero-copy,
.page-content.layout-align-center .donate-copy,
.page-content.layout-align-center .contact-copy { justify-self: center; text-align: center; }
.page-content.layout-align-right .hero-copy,
.page-content.layout-align-right .watch-hero .hero-copy,
.page-content.layout-align-right .page-hero.image-hero > *,
.page-content.layout-align-right .event-hero-copy,
.page-content.layout-align-right .donate-copy,
.page-content.layout-align-right .contact-copy { justify-self: end; text-align: right; }
.page-content.layout-align-center .hero-actions { justify-content: center; }
.page-content.layout-align-right .hero-actions { justify-content: flex-end; }
.page-content.layout-width-narrow .hero-copy,
.page-content.layout-width-narrow .watch-hero .hero-copy,
.page-content.layout-width-narrow .page-hero.image-hero > *,
.page-content.layout-width-narrow .event-hero-copy,
.page-content.layout-width-narrow .donate-copy,
.page-content.layout-width-narrow .contact-copy { max-width: 560px; }
.page-content.layout-width-full .hero-copy,
.page-content.layout-width-full .watch-hero .hero-copy,
.page-content.layout-width-full .page-hero.image-hero > *,
.page-content.layout-width-full .event-hero-copy,
.page-content.layout-width-full .donate-copy,
.page-content.layout-width-full .contact-copy { max-width: 980px; }
.page-content.layout-title-line-tight h1 { line-height: .98; }
.page-content.layout-title-line-standard h1 { line-height: 1.04; }
.page-content.layout-title-line-airy h1 { line-height: 1.16; }
.page-content.layout-body-line-tight .hero-copy p,
.page-content.layout-body-line-tight .page-hero p,
.page-content.layout-body-line-tight .event-hero-copy p,
.page-content.layout-body-line-tight .donate-copy p,
.page-content.layout-body-line-tight .contact-copy p,
.page-content.layout-body-line-tight .copy-stack p { line-height: 1.35; }
.page-content.layout-body-line-standard .hero-copy p,
.page-content.layout-body-line-standard .page-hero p,
.page-content.layout-body-line-standard .event-hero-copy p,
.page-content.layout-body-line-standard .donate-copy p,
.page-content.layout-body-line-standard .contact-copy p,
.page-content.layout-body-line-standard .copy-stack p { line-height: 1.55; }
.page-content.layout-body-line-airy .hero-copy p,
.page-content.layout-body-line-airy .page-hero p,
.page-content.layout-body-line-airy .event-hero-copy p,
.page-content.layout-body-line-airy .donate-copy p,
.page-content.layout-body-line-airy .contact-copy p,
.page-content.layout-body-line-airy .copy-stack p { line-height: 1.8; }
.page-content.layout-sections-compact .section { padding-block: clamp(36px, 5vw, 64px); }
.page-content.layout-sections-airy .section { padding-block: clamp(78px, 10vw, 128px); }

.eyebrow {
  margin: 0 0 14px; color: inherit;
  font-family: var(--font-mono); font-size: 13px;
  font-weight: 400; letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-actions, .cta-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px;
}

/* Scroll indicator removed */

/* --- 8. Sections & Layout --- */
.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.mission-grid, .split-band, .featured-event, .watch-panel,
.cta-band, .event-detail-hero, .donate-hero, .watch-hero, .contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.mission-grid > *, .split-band > *, .featured-event > *,
.watch-panel > *, .cta-band > *, .event-detail-hero > *,
.donate-hero > *, .watch-hero > *, .contact-hero > * { min-width: 0; }

.mission-grid h2, .split-band h2, .featured-event h2,
.watch-panel h2, .cta-band h2, .section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05; letter-spacing: 0;
  font-weight: 800;
}
.mission-grid p, .split-band p, .featured-event p,
.watch-panel p, .cta-band p { font-size: 19px; }

/* Image strip */
.image-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px; padding: 6px;
  background: var(--earth);
  overflow: hidden;
}
.image-strip .bg-img {
  width: 100%;
  height: 36vw; max-height: 430px; min-height: 230px;
  transition: transform 0.6s var(--ease-out), filter 0.6s;
  filter: brightness(0.9);
}
.strip-photo {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 36vw;
  max-height: 430px;
  min-height: 230px;
  overflow: hidden;
  background: var(--surface-3);
}
.strip-photo-blur,
.strip-photo-contain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: var(--strip-position, center);
}
.strip-photo-blur {
  z-index: 0;
  object-fit: cover;
  filter: blur(20px) saturate(1.12) brightness(0.62);
  transform: scale(1.12);
}
.strip-photo-contain {
  z-index: 1;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.02) brightness(0.95);
}
.team-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: none !important;
}
.team-photo-blur,
.team-photo-contain {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-position: var(--team-position, center);
}
.team-photo-blur {
  z-index: 0;
  object-fit: cover;
  filter: blur(22px) saturate(1.12) brightness(.58);
  transform: scale(1.12);
}
.team-photo-contain {
  z-index: 1;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.02) brightness(.95);
}
.image-strip .bg-img:hover {
  transform: scale(1.06);
  filter: brightness(1);
  z-index: 1;
}
.strip-photo:hover .strip-photo-contain {
  transform: scale(1.025);
  filter: saturate(1.14) contrast(1.03) brightness(1);
}

/* Split & CTA bands */
.split-band, .cta-band, .watch-panel {
  width: min(1160px, calc(100% - 40px));
  margin: clamp(56px, 8vw, 96px) auto;
  padding: clamp(36px, 5vw, 64px);
  background: var(--moss);
  border-radius: var(--radius-sm);
  position: relative; overflow: hidden;
}

.cta-band {
  width: min(760px, calc(100% - 40px));
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.cta-band .cta-actions {
  justify-content: center;
  margin-top: 0;
}

/* Stacked links */
.stacked-links { display: grid; gap: 12px; }
.stacked-links a, .contact-grid a, .involvement-grid a,
.media-cards a, .detail-notes a {
  color: var(--green); font-weight: 700;
  text-decoration-thickness: 2px; text-underline-offset: 4px;
  transition: color 0.3s, text-underline-offset 0.3s;
}
.stacked-links a:hover, .contact-grid a:hover,
.involvement-grid a:hover, .media-cards a:hover {
  text-underline-offset: 6px;
}

/* Featured event */
.featured-event { background: var(--canvas); }
.featured-event .bg-img, .event-detail-hero .bg-img, .donate-hero .bg-img,
.watch-hero .bg-img, .contact-hero .bg-img {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
}
.featured-event .bg-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Page hero */
.page-hero {
  padding: clamp(86px, 12vw, 150px) clamp(20px, 7vw, 90px);
}
.page-hero.warm { background: var(--moss); }
.page-hero.dark { background: var(--earth); color: var(--canvas); }

/* --- 9. Grids & Cards --- */
.pillars, .trust-grid, .contact-grid,
.involvement-grid, .media-cards, .detail-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pillars article, .trust-grid article, .contact-grid article,
.involvement-grid article, .detail-notes article, .media-cards a {
  min-height: 210px; padding: 24px;
  border: 1px solid rgba(10, 29, 8, 0.08);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.pillars article:hover, .trust-grid article:hover,
.contact-grid article:hover, .involvement-grid article:hover,
.detail-notes article:hover, .media-cards a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(10, 29, 8, 0.15);
}

.pillars span, .event-card span, .media-cards span {
  font-family: var(--font-mono); font-size: 12px;
  font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--green);
}

/* Team & event grids */
.team-grid, .event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.person-card, .event-card {
  overflow: hidden;
  border: 1px solid rgba(10, 29, 8, 0.08);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.person-card:hover, .event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.person-card .team-photo, .person-card .bg-img, .event-card .bg-img {
  width: 100%; aspect-ratio: 4/3;
  transition: transform 0.6s var(--ease-out);
}
.person-card:hover .team-photo, .person-card:hover .bg-img, .event-card:hover .bg-img {
  transform: scale(1.05);
}

.event-card-flyer {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-3);
  isolation: isolate;
}

.event-card-flyer-blur,
.event-card-flyer-contain {
  position: absolute;
  object-position: var(--card-image-position, center);
}

.event-card-flyer-blur {
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  z-index: 0;
  object-fit: cover;
  filter: blur(18px) saturate(1.1) contrast(1.04) brightness(0.72);
  opacity: 0.9;
  transform: scale(1.08);
}

.event-card-flyer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 7, 4, 0.22), transparent 22%, transparent 78%, rgba(5, 7, 4, 0.22)),
    linear-gradient(180deg, rgba(5, 7, 4, 0.08), rgba(5, 7, 4, 0.2));
}

.event-card-flyer-contain {
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  z-index: 2;
  object-fit: contain;
  filter: saturate(1.06) contrast(1.02) brightness(0.96);
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}

.event-card:hover .event-card-flyer-contain {
  transform: scale(1.025);
  filter: saturate(1.12) contrast(1.04) brightness(1.02);
}

.person-card h3, .person-card p,
.event-card span, .event-card h3, .event-card p, .event-card strong {
  margin-left: 20px; margin-right: 20px;
}
.person-card h3, .event-card h3 {
  margin-top: 18px; margin-bottom: 8px;
  font-size: 24px; line-height: 1.12; font-weight: 700;
}
.person-card p, .event-card p { margin-bottom: 20px; }

.event-card a {
  display: block; min-height: 100%;
  color: inherit; text-decoration: none;
}
.event-card a:hover h3, .event-card a:focus-visible h3 {
  text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.event-card strong {
  display: inline-flex; min-height: 44px;
  align-items: center; color: var(--green);
  font-weight: 700;
  transition: transform 0.3s var(--ease-out);
}
.event-card:hover strong { transform: translateX(4px); }

.archive-event-grid {
  grid-template-columns: 1fr;
}

.archive-event-grid .event-card a {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 0;
}

.archive-event-grid .event-card .bg-img {
  height: 100%;
  min-height: 220px;
  aspect-ratio: auto;
}

.archive-event-grid .event-card .event-card-flyer {
  height: 100%;
  min-height: 220px;
  aspect-ratio: auto;
}

.archive-event-grid .event-card-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(18px, 3vw, 32px);
}

.archive-event-grid .event-card span,
.archive-event-grid .event-card h3,
.archive-event-grid .event-card p,
.archive-event-grid .event-card strong {
  margin-left: 0;
  margin-right: 0;
}

.archive-event-grid .event-card h3 {
  margin-top: 0;
  margin-bottom: 0;
}

.archive-event-grid .event-card p {
  margin-bottom: 0;
  -webkit-line-clamp: 4;
}

.archive-year { border-bottom: 1px solid rgba(10, 29, 8, 0.08); }
.section-heading { margin-bottom: 28px; }
.section-heading.compact {
  display: flex; align-items: end;
  justify-content: space-between; gap: 20px;
}

/* Detail heroes */
.event-detail-hero, .donate-hero, .watch-hero, .contact-hero {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) 0;
}
.approval-note {
  padding: 16px; border-left: 4px solid var(--amber);
  background: var(--moss); font-size: 16px !important;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.donate-hero { align-items: stretch; }
.donate-hero > div {
  display: grid; align-content: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-sm);
  background: var(--earth); color: var(--canvas);
}
.watch-hero, .contact-hero { align-items: center; }

/* --- 10. Footer --- */
.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding: clamp(40px, 6vw, 70px) clamp(20px, 6vw, 80px);
  background: var(--ink); color: var(--canvas);
}
.site-footer h2 { margin: 0 0 12px; font-size: 16px; }
.site-footer a {
  display: block; min-height: 32px;
  color: var(--canvas);
  text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: opacity 0.3s, transform 0.3s;
}
.site-footer a:hover { opacity: 0.75; transform: translateX(3px); }
.footer-brand { display: grid; gap: 12px; align-content: start; }

/* --- 11. Image Fallbacks: atmospheric backgrounds when photos do not load --- */
.photo-hero {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(180, 130, 40, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(74, 50, 18, 0.5) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 30%, rgba(32, 59, 20, 0.25) 0%, transparent 50%),
    linear-gradient(175deg, #1a0f04 0%, #31200b 35%, #0a1d08 100%);
}

.event-card .bg-img, .person-card .team-photo, .person-card .bg-img {
  background-color: #31200b;
}

.featured-event .bg-img, .event-detail-hero .bg-img,
.donate-hero .bg-img, .watch-hero .bg-img, .contact-hero .bg-img {
  background-color: #31200b;
}

.image-strip .bg-img {
  background-color: #1a0f04;
}

.image-strip {
  background:
    radial-gradient(ellipse at 25% 50%, rgba(74, 50, 18, 0.6), transparent 50%),
    radial-gradient(ellipse at 75% 50%, rgba(32, 59, 20, 0.4), transparent 50%),
    var(--earth);
}

/* --- 12. Animation Keyframes --- */
@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(10px); opacity: 0.3; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroWordReveal {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(74, 50, 18, 0.25); }
  50% { box-shadow: 0 2px 20px rgba(74, 50, 18, 0.4); }
}

/* Hero entrance */
.hero-animate .eyebrow {
  animation: fadeInUp 0.7s var(--ease-out) 0.2s both;
}
.hero-animate h1 {
  animation: fadeInUp 0.8s var(--ease-out) 0.35s both;
}
.hero-animate > p {
  animation: fadeInUp 0.7s var(--ease-out) 0.55s both;
}
.hero-animate .hero-actions {
  animation: fadeInUp 0.7s var(--ease-out) 0.7s both;
}
.hero-animate .scroll-indicator {
  animation: fadeIn 1s var(--ease-out) 1.2s both;
}

/* Page hero entrance */
.page-hero .eyebrow { animation: fadeInUp 0.6s var(--ease-out) 0.1s both; }
.page-hero h1 { animation: fadeInUp 0.7s var(--ease-out) 0.25s both; }
.page-hero > p { animation: fadeInUp 0.6s var(--ease-out) 0.4s both; }

/* --- 13. Scroll Reveal System --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 0.08s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 0.08s);
}
.reveal-left.is-visible {
  opacity: 1; transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 0.08s);
}
.reveal-right.is-visible {
  opacity: 1; transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 0.08s);
}
.reveal-scale.is-visible {
  opacity: 1; transform: scale(1);
}

/* --- 14. Page Transition --- */
.page-content {
  animation: fadeInUp 0.45s var(--ease-out) both;
}
.page-content.is-exiting {
  animation: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
}

/* --- 15. Responsive: 1024px --- */
@media (max-width: 1024px) {
  .hero-copy h1, .page-hero h1, .event-detail-hero h1,
  .donate-hero h1, .watch-hero h1, .contact-hero h1 {
    font-size: clamp(38px, 7vw, 72px);
  }
  .pillars, .trust-grid, .contact-grid,
  .involvement-grid, .media-cards, .detail-notes {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- 16. Responsive: 860px --- */
@media (max-width: 860px) {
  .site-header { padding: 14px 16px; gap: 12px; }
  .menu-button { display: inline-flex; }
  .site-nav { display: none; }

  .brand span { max-width: 180px; font-size: 14px; line-height: 1.1; }
  .brand img, .site-footer img { width: 36px; height: 36px; }
  .brand-svg { width: 36px; height: 36px; }

  .hero-copy {
    max-width: 100%; padding: 64px 20px 90px;
  }
  .hero-copy h1, .page-hero h1, .event-detail-hero h1,
  .donate-hero h1, .watch-hero h1, .contact-hero h1 {
    font-size: clamp(34px, 9vw, 52px);
  }
  .hero-copy p, .page-hero p, .event-detail-hero p,
  .donate-hero p, .watch-hero p, .contact-hero p { font-size: 17px; }

  .page-hero { padding: 64px 20px; }

  .section, .split-band, .cta-band, .watch-panel,
  .event-detail-hero, .donate-hero, .watch-hero, .contact-hero {
    width: calc(100% - 40px);
  }

  .mission-grid, .split-band, .featured-event,
  .watch-panel, .cta-band, .event-detail-hero,
  .donate-hero, .watch-hero, .contact-hero, .site-footer {
    grid-template-columns: 1fr;
  }

  .team-grid, .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars, .trust-grid, .contact-grid,
  .involvement-grid, .media-cards, .detail-notes {
    grid-template-columns: 1fr;
  }

  .image-strip {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
    gap: 4px; padding: 4px;
    scrollbar-width: none;
  }
  .image-strip::-webkit-scrollbar { display: none; }
  .image-strip .bg-img {
    flex: 0 0 78vw; height: 55vw;
    min-height: 220px; max-height: 360px;
    scroll-snap-align: center;
    border-radius: 4px;
  }
  .image-strip .strip-photo {
    flex: 0 0 78vw;
    height: auto;
    min-height: 220px;
    max-height: 360px;
    aspect-ratio: 4 / 5;
    scroll-snap-align: center;
    border-radius: 4px;
  }

  .photo-hero { min-height: 80vh; }
  .scroll-indicator { bottom: 20px; }
}

/* --- 17. Responsive: 640px --- */
@media (max-width: 640px) {
  .team-grid, .event-grid {
    grid-template-columns: 1fr;
  }
  .archive-event-grid .event-card a {
    grid-template-columns: 1fr;
  }
  .archive-event-grid .event-card .bg-img {
    min-height: clamp(220px, 58vw, 340px);
    aspect-ratio: 4/3;
  }
  .archive-event-grid .event-card .event-card-flyer {
    min-height: clamp(220px, 58vw, 340px);
    aspect-ratio: 4/3;
  }
  .mission-grid h2, .split-band h2, .featured-event h2,
  .watch-panel h2, .cta-band h2, .section-heading h2 {
    font-size: clamp(26px, 6vw, 36px);
  }
  .hero-actions, .cta-actions {
    flex-direction: column;
  }
  .hero-actions .button, .cta-actions .button {
    width: 100%; justify-content: center;
  }
  .section { padding: clamp(40px, 6vw, 56px) 0; }
  .section.split-band { padding: clamp(36px, 5vw, 64px); }
  .split-band, .cta-band, .watch-panel {
    margin-top: clamp(40px, 6vw, 56px);
    margin-bottom: clamp(40px, 6vw, 56px);
  }
  .photo-hero { min-height: 75vh; }
}

/* --- 18. Responsive: 480px --- */
@media (max-width: 480px) {
  .hero-copy h1, .page-hero h1, .event-detail-hero h1,
  .donate-hero h1, .watch-hero h1, .contact-hero h1 {
    font-size: 32px; line-height: 1.08;
  }
  .person-card h3, .event-card h3 { font-size: 20px; }
  .image-strip .bg-img,
  .image-strip .strip-photo { flex: 0 0 85vw; }
  .pillars article, .trust-grid article, .contact-grid article,
  .involvement-grid article, .detail-notes article, .media-cards a {
    min-height: 160px; padding: 20px;
  }
  .site-header {
    padding: 12px 14px;
  }
  .section, .split-band, .cta-band, .watch-panel,
  .event-detail-hero, .donate-hero, .watch-hero, .contact-hero {
    width: calc(100% - 28px);
  }
}

/* --- 19. Responsive: 360px --- */
@media (max-width: 360px) {
  .hero-copy h1, .page-hero h1 { font-size: 28px; }
  .brand span { max-width: 120px; font-size: 13px; }
  .section.split-band,
  .split-band, .cta-band, .watch-panel { padding: 24px 18px; }
}

/* --- 20. Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1; transform: none;
  }
  .photo-hero > img { transition: none; }
}

/* --- 21. BBB Dark Rebuild Overrides --- */
:root {
  --canvas: #050704;
  --ink: #f4efe4;
  --moss: #142014;
  --mist: #b9c3a8;
  --earth: #211408;
  --green: #b4cc83;
  --amber: #9a6327;
  --dew: #d8f0a5;
  --white: #10150d;
  --surface: #0d120a;
  --surface-2: #161f12;
  --surface-3: #23180d;
  --line: rgba(244, 239, 228, 0.14);
  --line-strong: rgba(216, 240, 165, 0.32);
  --muted: #c1c8b3;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --shadow-hover: 0 34px 90px rgba(0, 0, 0, 0.52);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(154, 99, 39, 0.18), transparent 28rem),
    radial-gradient(circle at 78% 18%, rgba(180, 204, 131, 0.12), transparent 24rem),
    linear-gradient(180deg, #080b06 0%, var(--canvas) 26rem);
  color: var(--ink);
  letter-spacing: 0;
}

h1, h2, h3, p, a, span, button {
  letter-spacing: 0;
}

::-webkit-scrollbar-track { background: #080b06; }
::-webkit-scrollbar-thumb { background: rgba(185, 195, 168, 0.42); }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

.skip-link {
  background: var(--dew);
  color: #071006;
}

.site-header {
  background: rgba(5, 7, 4, 0.82);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.2);
}

.site-header.is-scrolled {
  background: rgba(5, 7, 4, 0.94);
  border-bottom-color: rgba(216, 240, 165, 0.18);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
}

.brand,
.site-nav a,
.menu-button {
  color: var(--ink);
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: invert(1) brightness(1.18) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}

.site-nav a::after {
  background: var(--dew);
}

.site-nav a:hover {
  background: rgba(244, 239, 228, 0.08);
}

.nav-donate,
.button.primary {
  background: linear-gradient(135deg, #b5722d, #7e4618);
  color: #fff8eb;
  box-shadow: 0 12px 28px rgba(154, 99, 39, 0.28);
}

.nav-donate:hover,
.button.primary:hover {
  box-shadow: 0 18px 36px rgba(154, 99, 39, 0.42);
}

.button.secondary {
  border-color: rgba(244, 239, 228, 0.58);
  color: var(--ink);
  background: rgba(244, 239, 228, 0.03);
}

.button.secondary:hover {
  background: var(--ink);
  color: #071006;
}

.button.light {
  background: rgba(244, 239, 228, 0.94);
  color: #071006;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.menu-button {
  border-color: rgba(244, 239, 228, 0.5);
  background: rgba(244, 239, 228, 0.04);
}

.mobile-overlay {
  background: rgba(5, 7, 4, 0.98);
}

.mobile-overlay a,
.mobile-overlay .overlay-close {
  color: var(--ink);
}

.photo-hero::after {
  background:
    linear-gradient(95deg, rgba(5, 7, 4, 0.76) 0%, rgba(5, 7, 4, 0.42) 48%, rgba(5, 7, 4, 0.12) 100%),
    radial-gradient(circle at 15% 82%, rgba(154, 99, 39, 0.28), transparent 28rem);
}

.photo-hero::before {
  filter: brightness(1.18) saturate(1.12);
}

.photo-hero {
  min-height: clamp(620px, 82vh, 760px);
  align-items: start;
}

.hero-copy {
  color: var(--ink);
  max-width: min(720px, calc(100% - 40px));
  padding-top: clamp(112px, 13vw, 156px);
  padding-bottom: clamp(56px, 8vw, 88px);
}

.hero-copy p {
  color: rgba(244, 239, 228, 0.9) !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.hero-copy h1,
.page-hero h1,
.event-detail-hero h1,
.donate-hero h1,
.watch-hero h1,
.contact-hero h1,
.mission-grid h2,
.split-band h2,
.featured-event h2,
.watch-panel h2,
.cta-band h2,
.section-heading h2 {
  letter-spacing: 0;
}

.hero-copy p,
.page-hero p,
.event-detail-hero p,
.donate-hero p,
.watch-hero p,
.contact-hero p,
.mission-grid p,
.split-band p,
.featured-event p,
.watch-panel p,
.cta-band p,
.copy-stack p,
.person-bio p,
.info-panel p,
.partner-card p {
  color: var(--muted);
}

.eyebrow,
.pillars span,
.event-card span,
.media-cards span,
.year-heading span {
  color: var(--dew);
}

.mission-grid,
.featured-event,
.editorial-grid,
.event-story,
.related-events,
.partnerships {
  background: transparent;
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.copy-stack p,
.person-bio p {
  margin-top: 0;
}

.text-link,
.stacked-links a,
.contact-grid a,
.involvement-grid a,
.media-cards a,
.media-grid a,
.detail-notes a {
  color: var(--dew);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover,
.stacked-links a:hover,
.media-grid a:hover {
  color: var(--ink);
}

.image-strip {
  background:
    linear-gradient(135deg, rgba(154, 99, 39, 0.28), rgba(20, 32, 20, 0.82)),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.image-strip .bg-img,
.featured-event .bg-img,
.event-detail-hero .bg-img,
.donate-hero .bg-img,
.watch-hero .bg-img,
.contact-hero .bg-img,
.person-card .team-photo,
.person-card .bg-img,
.event-card .bg-img {
  background-color: var(--surface-3);
  filter: saturate(1.08) contrast(1.02) brightness(0.86);
}

.image-strip .bg-img:hover,
.featured-event .bg-img:hover,
.person-card:hover .team-photo,
.person-card:hover .bg-img,
.event-card:hover .bg-img {
  filter: saturate(1.16) contrast(1.04) brightness(0.98);
}

.split-band,
.cta-band,
.watch-panel {
  background:
    linear-gradient(135deg, rgba(180, 204, 131, 0.12), rgba(154, 99, 39, 0.12)),
    var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
}

.page-hero {
  border-bottom: 1px solid var(--line);
}

.page-hero.warm {
  background:
    radial-gradient(circle at 20% 20%, rgba(154, 99, 39, 0.22), transparent 28rem),
    linear-gradient(135deg, var(--surface-3), var(--surface));
}

.page-hero.dark {
  background:
    radial-gradient(circle at 80% 0%, rgba(180, 204, 131, 0.14), transparent 24rem),
    linear-gradient(135deg, #050704, var(--earth));
  color: var(--ink);
}

.about-approach-section {
  grid-template-areas:
    "media copy";
  padding-bottom: clamp(18px, 2vw, 28px);
}

.about-approach-copy { grid-area: copy; }
.about-approach-media { grid-area: media; }

.about-mission-section {
  padding-top: clamp(24px, 3.5vw, 44px);
  padding-bottom: clamp(26px, 3vw, 40px);
}

.about-photo-band .bg-img {
  min-height: 520px;
}

.about-team-section {
  padding-top: clamp(26px, 3vw, 44px);
}

.team-grid,
.events-grid,
.partnership-grid,
.donation-panels,
.involvement-grid,
.media-grid {
  display: grid;
  gap: 18px;
}

.team-grid,
.events-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-section .archive-event-grid {
  grid-template-columns: 1fr;
}

.archive-section {
  padding-top: clamp(26px, 3.5vw, 44px);
}

.partnership-grid,
.donation-panels,
.involvement-grid,
.media-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.person-card,
.event-card,
.partner-card,
.info-panel,
.pillars article,
.trust-grid article,
.contact-grid article,
.involvement-grid article,
.detail-notes article,
.media-cards a {
  background:
    linear-gradient(180deg, rgba(244, 239, 228, 0.035), rgba(244, 239, 228, 0.012)),
    var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.person-card:hover,
.event-card:hover,
.partner-card:hover,
.info-panel:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.person-card h3,
.event-card h3,
.partner-card h3,
.info-panel h2 {
  color: var(--ink);
}

.person-card .role {
  color: var(--dew);
  font-weight: 800;
  margin-bottom: 8px;
}

.person-bio {
  max-height: clamp(220px, 24vw, 320px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 20px 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.person-bio:focus-visible,
.event-hero-intro:focus-visible,
.image-carousel:focus-visible,
.image-strip:focus-visible {
  outline: 3px solid var(--dew);
  outline-offset: 3px;
}

.person-bio::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.person-bio p {
  margin-left: 0;
  margin-right: 0;
  font-size: 15px;
}

.event-card p {
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card strong {
  letter-spacing: 0;
}

.year-group {
  display: grid;
  gap: 18px;
  padding: 0 0 clamp(44px, 6vw, 76px);
}

.year-heading {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  text-align: center;
}

.year-heading span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(216, 240, 165, 0.08);
  font-family: var(--font-mono);
}

.archive-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: clamp(22px, 3vw, 34px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.archive-controls .eyebrow { margin: 0; }

.archive-toggle-list {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(244, 239, 228, 0.035);
}

.archive-toggle {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.archive-toggle:hover,
.archive-toggle:focus-visible,
.archive-toggle.is-active {
  border-color: var(--line-strong);
  background: var(--moss);
  color: var(--ink);
}

.archive-view[hidden] { display: none; }

.video-embed {
  width: min(980px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.video-embed video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #000;
}

.drive-video-frame {
  width: 100%;
}

.video-mobile-open,
.video-source-note-mobile {
  display: none;
}

.video-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.video-source-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.video-source-link {
  display: inline-block;
  margin-left: 6px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.partnerships {
  border-top: 1px solid var(--line);
}

.partner-card,
.info-panel {
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius-sm);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.partner-card:hover,
.info-panel:hover {
  transform: translateY(-4px);
}

.event-detail-hero,
.donate-hero,
.contact-hero {
  min-height: calc(100vh - 84px);
}

.watch-hero {
  min-height: calc(100vh - 84px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  width: 100%;
  padding: 0;
}

.watch-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-bg, none) var(--hero-pos, center)/cover no-repeat;
}

.watch-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(5, 7, 4, 0.9), rgba(5, 7, 4, 0.42)),
    radial-gradient(circle at 78% 20%, rgba(154, 99, 39, 0.25), transparent 22rem);
}

.watch-hero .hero-copy {
  max-width: 850px;
}

.event-detail-hero {
  align-items: stretch;
}

.event-hero-image,
.event-hero-copy,
.donate-copy,
.contact-copy,
.donate-photo,
.contact-photo {
  min-width: 0;
}

.event-hero-image .bg-img {
  min-height: 620px;
  height: 100%;
}

.event-hero-copy,
.donate-copy,
.contact-copy {
  display: grid;
  align-content: center;
  padding: clamp(30px, 5vw, 58px);
  background:
    linear-gradient(180deg, rgba(244, 239, 228, 0.04), rgba(244, 239, 228, 0.016)),
    var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.back-link {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(216, 240, 165, 0.08);
  color: var(--dew);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  margin-bottom: 20px;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.back-link::before {
  content: "←";
  font-family: var(--font-mono);
  font-weight: 400;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: var(--line-strong);
  background: rgba(216, 240, 165, 0.15);
  transform: translateX(-2px);
}

.event-story .copy-stack {
  max-width: 860px;
  margin: 0 auto;
  font-size: 19px;
}

.event-story p {
  color: var(--ink);
}

.related-events {
  border-top: 1px solid var(--line);
}

.related-event-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.related-event-grid .event-card {
  background:
    linear-gradient(180deg, rgba(244, 239, 228, 0.045), rgba(244, 239, 228, 0.016)),
    var(--surface);
}

.related-event-grid .event-card a {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  align-items: stretch;
}

.related-event-grid .event-card .bg-img {
  height: 100%;
  min-height: 190px;
  aspect-ratio: auto;
}

.related-event-grid .event-card .event-card-flyer {
  height: 100%;
  min-height: 190px;
  aspect-ratio: auto;
}

.related-event-grid .event-card-copy {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: clamp(18px, 2.6vw, 30px);
}

.related-event-grid .event-card span,
.related-event-grid .event-card h3,
.related-event-grid .event-card p,
.related-event-grid .event-card strong {
  margin-left: 0;
  margin-right: 0;
}

.related-event-grid .event-card h3 {
  margin-top: 0;
  margin-bottom: 0;
}

.related-event-grid .event-card p {
  margin-bottom: 0;
  -webkit-line-clamp: 3;
}

.related-event-grid .event-card strong {
  min-height: auto;
  margin-top: 3px;
}

.donate-hero > div {
  background:
    linear-gradient(180deg, rgba(244, 239, 228, 0.04), rgba(244, 239, 228, 0.015)),
    var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line);
}

.contact-hero a {
  color: var(--dew);
}

.site-footer {
  background:
    linear-gradient(180deg, #050704, #020302);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--ink);
}

.site-footer p {
  color: var(--muted);
}

.button.primary,
.nav-donate {
  color: #fff8eb !important;
}

@media (max-width: 980px) {
  .mission-grid,
  .split-band,
  .featured-event,
  .cta-band,
  .event-detail-hero,
  .donate-hero,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .team-grid,
  .events-grid,
  .partnership-grid,
  .donation-panels,
  .involvement-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .event-hero-image .bg-img,
  .about-photo-band .bg-img {
    min-height: 430px;
  }

  .about-approach-section {
    grid-template-areas:
      "copy"
      "media";
  }
}

@media (max-width: 760px) {
  .brand span {
    max-width: 190px;
    line-height: 1.05;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero-copy {
    padding: 106px 20px 48px;
  }

  .hero-copy h1,
  .page-hero h1,
  .event-detail-hero h1,
  .donate-hero h1,
  .watch-hero h1,
  .contact-hero h1 {
    font-size: clamp(40px, 13vw, 64px);
  }

  .image-strip {
    grid-template-columns: none;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
    scrollbar-width: none;
  }
  .image-strip .bg-img,
  .image-strip .strip-photo {
    flex: 0 0 84vw;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 5;
    scroll-snap-align: center;
  }

  .person-card .team-photo {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .event-hero-copy,
  .donate-copy,
  .contact-copy,
  .partner-card,
  .info-panel {
    padding: 22px;
  }
}

/* --- 22. BBB Site Edit 1 Overrides --- */
.photo-hero .hero-actions .button {
  min-height: 52px;
  padding: 15px 24px;
  font-size: 16px;
}

.compact-mission {
  padding-top: clamp(40px, 5vw, 66px);
  padding-bottom: clamp(34px, 5vw, 62px);
}

.next-up {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: stretch;
  margin-top: clamp(34px, 5vw, 64px);
  margin-bottom: 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 18% 20%, rgba(154, 99, 39, 0.26), transparent 20rem),
    linear-gradient(135deg, rgba(244, 239, 228, 0.05), rgba(180, 204, 131, 0.04)),
    var(--surface-2);
  box-shadow: var(--shadow);
}

.next-up-media,
.next-up-copy {
  min-width: 0;
}

.next-up-media .bg-img {
  min-height: clamp(340px, 40vw, 540px);
  height: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  filter: saturate(1.12) contrast(1.03) brightness(0.9);
}

.next-up-copy {
  display: grid;
  align-content: center;
}

.next-up-copy h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.02;
}

.next-up-date {
  margin: 12px 0 0;
  color: var(--dew) !important;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 13px !important;
}

.launch-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  background: rgba(154, 99, 39, 0.14);
  color: var(--ink) !important;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px !important;
}

.button.disabled-link {
  color: var(--muted);
  border: 1.5px solid var(--line-strong);
  background: rgba(244, 239, 228, 0.04);
  box-shadow: none;
  cursor: not-allowed;
}

.image-carousel {
  overflow: hidden;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(154, 99, 39, 0.2), rgba(20, 32, 20, 0.9)),
    var(--surface);
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: 8px;
  animation: bbbCarousel 52s linear infinite;
}

.image-carousel:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-image {
  flex: 0 0 clamp(230px, 25vw, 380px);
  height: clamp(270px, 30vw, 460px);
  max-width: none;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(1.12) contrast(1.04) brightness(0.86);
}

@keyframes bbbCarousel {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 4px)); }
}

.page-hero.image-hero {
  min-height: clamp(520px, 70vh, 720px);
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero.image-hero::before,
.image-panel-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-bg, none) var(--hero-pos, center)/cover no-repeat;
  filter: saturate(1.1) contrast(1.04) brightness(0.88);
  transform: scale(1.01);
}

.page-hero.image-hero::after,
.image-panel-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(88deg, rgba(5, 7, 4, 0.9), rgba(5, 7, 4, 0.58) 52%, rgba(5, 7, 4, 0.22)),
    radial-gradient(circle at 18% 80%, rgba(154, 99, 39, 0.28), transparent 22rem);
}

.page-hero.image-hero > *,
.image-panel-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero.image-hero > p,
.page-hero.image-hero > h1 {
  max-width: 900px;
}

.page-hero .button {
  justify-self: start;
  width: auto;
  min-width: 172px;
}

.person-card .team-photo,
.person-card .bg-img {
  min-height: clamp(360px, 34vw, 500px);
  background-position: center 18%;
}

.team-grid {
  align-items: start;
}

.supporter-spotlight {
  display: grid;
  gap: 24px;
}

.spotlight-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(244, 239, 228, 0.035);
}

.spotlight-cta p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

.contact-hero.image-panel-hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  min-height: min(720px, calc(100vh - 84px));
  margin-top: clamp(22px, 4vw, 48px);
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.contact-hero.image-panel-hero .contact-copy {
  max-width: 780px;
  background: rgba(5, 7, 4, 0.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-hero.image-panel-hero .contact-photo .bg-img {
  min-height: clamp(360px, 42vw, 560px);
  box-shadow: var(--shadow-hover);
}

.contact-hero.contact-landing-hero {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  width: 100%;
  min-height: calc(100vh - 84px);
  margin: 0;
  padding: 0;
}

.contact-hero.contact-landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-bg, none) var(--hero-pos, center)/cover no-repeat;
  transition: transform 8s linear;
}

.contact-hero.contact-landing-hero:hover::before {
  transform: scale(1.03);
}

.contact-hero.contact-landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(5, 7, 4, 0.9) 0%, rgba(5, 7, 4, 0.58) 42%, rgba(5, 7, 4, 0.18) 100%);
}

.contact-hero.contact-landing-hero .hero-copy {
  max-width: 820px;
}

.contact-copy p a {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: normal;
}

.event-detail-hero {
  --event-detail-panel-height: clamp(340px, 40vw, 520px);
  width: min(1240px, calc(100% - 40px));
  min-height: auto;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  column-gap: clamp(20px, 3vw, 36px);
  row-gap: clamp(18px, 3vw, 30px);
  align-items: start;
  padding: clamp(28px, 5vw, 58px) 0 clamp(18px, 3vw, 34px);
}

.event-detail-heading {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.event-detail-heading .eyebrow {
  margin: 0;
}

.event-hero-image .bg-img {
  min-height: 0;
  height: var(--event-detail-panel-height);
  background-size: contain;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
}

.event-hero-copy {
  align-self: start;
  align-content: start;
  justify-self: stretch;
  text-align: left;
  max-width: none;
  gap: 0;
  height: var(--event-detail-panel-height);
  min-height: 0;
  overflow: hidden;
  padding: clamp(20px, 2.6vw, 32px);
}

.page-content .event-detail-hero .event-hero-copy {
  align-content: start;
  justify-self: stretch;
  text-align: left;
  max-width: none;
}

.event-detail-heading h1 {
  max-width: 1040px;
  margin-inline: auto;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
}

.event-video-section {
  padding-top: clamp(18px, 3vw, 34px);
}

.event-detail-hero .event-hero-intro {
  display: grid;
  gap: 16px;
  max-width: none;
  margin: 0;
  font-size: clamp(16px, 1.18vw, 19px);
  line-height: 1.55;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 240, 165, 0.38) transparent;
}

.event-detail-hero .event-hero-intro::-webkit-scrollbar {
  width: 6px;
}

.event-detail-hero .event-hero-intro::-webkit-scrollbar-thumb {
  background: rgba(216, 240, 165, 0.38);
  border-radius: 999px;
}

.event-detail-hero .event-hero-intro p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: inherit;
  line-height: inherit;
}

@media (max-width: 980px) {
  .event-detail-hero {
    --event-detail-panel-height: clamp(280px, 54vw, 420px);
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    padding: clamp(30px, 6vw, 52px) 0 clamp(16px, 4vw, 28px);
  }

  .event-hero-image .bg-img {
    height: var(--event-detail-panel-height);
  }
}

@media (max-width: 480px) {
  .event-detail-hero {
    --event-detail-panel-height: 300px;
    width: calc(100% - 28px);
    padding: 24px 0 24px;
  }

  .event-detail-hero h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .event-detail-hero .event-hero-intro {
    font-size: 16px;
  }

  .event-hero-image .bg-img {
    height: 300px;
  }
}

.donate-fallback {
  min-height: auto;
}

.donate-fallback .donate-copy h1 {
  font-size: clamp(44px, 5.2vw, 76px);
  overflow-wrap: normal;
  word-break: normal;
}

.donate-fallback .donate-photo {
  padding: 0;
  overflow: hidden;
}

.donate-fallback .donate-photo .bg-img {
  height: 100%;
  min-height: clamp(420px, 48vw, 680px);
  aspect-ratio: auto;
  border-radius: var(--radius-sm);
}

.donate-fallback-note {
  padding-top: clamp(24px, 4vw, 48px);
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .brand span {
    max-width: 220px;
    line-height: 1.05;
  }

  .next-up,
  .contact-hero.image-panel-hero,
  .event-detail-hero {
    grid-template-columns: 1fr;
  }

  .next-up-media .bg-img {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .spotlight-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .person-card .team-photo,
  .person-card .bg-img {
    min-height: clamp(340px, 58vw, 520px);
  }
}

@media (max-width: 760px) {
  .hero-video-desktop { display: none; }
  .hero-video-mobile:not([hidden]) { display: block; }

  .photo-hero .hero-actions .button {
    min-height: 52px;
    font-size: 15px;
  }

  .next-up {
    width: calc(100% - 28px);
    padding: 16px;
  }

  .next-up-media .bg-img,
  .contact-hero.image-panel-hero .contact-photo .bg-img {
    min-height: 340px;
    aspect-ratio: auto;
  }

  .event-hero-image .bg-img {
    min-height: 0;
    height: var(--event-detail-panel-height);
    aspect-ratio: auto;
  }

  .carousel-image {
    flex-basis: 78vw;
    height: 62vw;
    min-height: 270px;
    scroll-snap-align: center;
  }

  .image-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .image-carousel::-webkit-scrollbar {
    display: none;
  }

  .carousel-track {
    animation: none;
    padding: 0 14px;
  }

  .archive-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .archive-toggle-list {
    width: 100%;
  }

  .archive-toggle {
    flex: 1;
  }

  .page-hero.image-hero {
    min-height: 560px;
    padding: 82px 20px 58px;
  }

  .contact-hero.image-panel-hero {
    width: calc(100% - 28px);
    padding: 16px;
  }

  .contact-copy p a {
    font-size: clamp(15px, 4.1vw, 17px);
  }

  .donate-fallback .donate-copy h1 {
    font-size: clamp(38px, 11vw, 52px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    animation: none;
    transform: none;
  }

  .hero-slide {
    animation: none;
    transform: none;
  }

  .hero-slide:first-child {
    opacity: 1;
  }

  .hero-video { display: none; }
}

@media (max-width: 980px) {
  .photo-hero::before,
  .page-hero.image-hero::before,
  .contact-hero.contact-landing-hero::before {
    background-image: var(--hero-bg-mobile, var(--hero-bg, none));
    background-position: var(--hero-pos-mobile, var(--hero-pos, center));
  }

  .hero-slide {
    background-image: var(--slide-image-mobile, var(--slide-image, none));
    background-position: var(--slide-position-mobile, var(--slide-position, center));
  }
}

@media (max-width: 860px) {
  .video-embed {
    width: 100%;
  }

  .video-embed iframe,
  .video-embed video {
    border-radius: 0;
  }

  .video-source-note-mobile {
    display: block;
  }

  .video-embed-drive .drive-video-frame {
    display: none;
  }

  .video-embed-drive .video-mobile-open {
    display: grid;
    min-height: 210px;
    place-content: center;
    gap: 8px;
    padding: 28px;
    border: 1px solid var(--line);
    background: #050704;
    color: #fff;
    text-align: center;
    text-decoration: none;
  }

  .video-mobile-open strong {
    font-family: var(--font-display);
    font-size: clamp(30px, 10vw, 52px);
    line-height: 0.95;
    text-transform: uppercase;
  }

  .video-mobile-open span {
    max-width: 26rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.45;
  }
}
