/* ============================================================
   The Grace Voices Songs and Drama Ministry — Stylesheet v2
   Complete visual overhaul: realistic curtain, dark/light mode,
   scroll animations, rich textures, and polished design.
   ============================================================ */

/* --- Google Fonts ---
   Loaded via <link> tags in each HTML page.
   @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@400;500;600;700&display=swap');
--- */

/* ============================================================
   CUSTOM PROPERTIES — DARK THEME (default)
   ============================================================ */
:root {
  /* Background surfaces */
  --bg-primary: #101923;
  --bg-secondary: #172432;
  --bg-surface: #1e3040;
  --bg-surface-alt: #243b4d;
  --bg-card: #1a2b3a;

  /* Text */
  --text-primary: #f4efe5;
  --text-secondary: #b9c4c9;
  --text-muted: #91a0a8;

  /* Accents */
  --gold: #d4a843;
  --gold-light: #e8c96a;
  --gold-glow: rgba(212, 168, 67, 0.25);
  --crimson: #b63d4d;
  --crimson-dark: #8f2738;
  --blue: #c79237;
  --blue-light: #f0bf55;

  /* Surfaces & borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(212, 168, 67, 0.3);
  --shadow-color: rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);

  /* Paper / content area */
  --paper: #f5f0e6;
  --paper-dark: #e8dfd0;

  /* Fonts */
  --ff-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-width: 1140px;
  --nav-height: 72px;
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* ============================================================
   LIGHT THEME
   ============================================================ */
[data-theme="light"] {
  --bg-primary: #f8f5ee;
  --bg-secondary: #e9f0f2;
  --bg-surface: #ffffff;
  --bg-surface-alt: #e1eaec;
  --bg-card: #ffffff;

  --text-primary: #162b36;
  --text-secondary: #49606a;
  --text-muted: #70838a;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(178, 34, 52, 0.2);
  --shadow-color: rgba(44, 26, 61, 0.1);
  --shadow-lg: 0 12px 40px rgba(44, 26, 61, 0.12);
  --shadow-md: 0 6px 20px rgba(44, 26, 61, 0.1);
  --shadow-sm: 0 2px 8px rgba(44, 26, 61, 0.06);
}

/* Theme transition on body */
body,
.site-header,
.site-footer,
.section,
.hero,
.event-banner {
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; font-size: 100%; }

body {
  font-family: var(--ff-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition), opacity var(--transition);
}
a:hover { color: var(--gold-light); }

[data-theme="light"] a { color: var(--crimson); }
[data-theme="light"] a:hover { color: var(--crimson-dark); }

ul, ol { list-style: none; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--bg-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 1000;
  transition: top var(--transition);
}
.skip-link:focus { top: 0.5rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p + p { margin-top: 1em; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section { padding: 5rem 0; background: var(--bg-primary); }
.section--dark {
  background: var(--bg-secondary);
}
.section--dark h2,
.section--dark h3 { color: var(--gold); }
[data-theme="light"] .section--dark h2,
[data-theme="light"] .section--dark h3 { color: var(--crimson); }

.section--alt { background: var(--bg-surface-alt); }

/* Ornamental section divider */
.section-divider {
  text-align: center;
  padding: 0;
  overflow: hidden;
}
.section-divider::before {
  content: '✦';
  display: block;
  color: var(--gold);
  font-size: 1.2rem;
  padding: 1.5rem 0;
  background: linear-gradient(to right, transparent, var(--border-accent) 30%, var(--border-accent) 70%, transparent);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle {
  background: none;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(212, 168, 67, 0.15);
  border-color: var(--gold);
  transform: rotate(15deg);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-secondary);
  border-bottom: 2px solid var(--gold);
  height: var(--nav-height);
  backdrop-filter: blur(10px);
}
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--crimson);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1rem;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link { text-decoration: none; }
.logo-link::after { content: 'THE GRACE VOICES\A SONGS & DRAMA MINISTRY'; white-space: pre; display: block; width: 190px; margin-left: 0.7rem; color: var(--text-primary); font-family: var(--ff-display); font-size: 0.78rem; font-weight: 700; line-height: 1.35; letter-spacing: 0.04em; }
.nav-logo {
  height: 52px;
  width: auto;
  border-radius: 50%;
  transition: transform var(--transition);
}
.logo-link:hover .nav-logo { transform: scale(1.05); }

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  position: relative;
}
[data-theme="light"] .nav-links a { color: var(--text-primary); }

.nav-links a:hover { color: var(--gold); }
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}
.hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
[data-theme="light"] .hamburger-line { background: var(--text-primary); }

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

/* --- HOME HERO --- */
.hero--home {
  min-height: 100vh;
  background: #0a0515;
  background-image:
    linear-gradient(90deg, rgba(5, 12, 20, 0.78), rgba(5, 12, 20, 0.28), rgba(5, 12, 20, 0.78)),
    url('https://images.unsplash.com/photo-1507838153414-b4b713384a76?w=1600&auto=format&fit=crop&q=80&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8bXVzaWN8ZW58MHx8MHx8fDA%3D'),
    radial-gradient(ellipse at 30% 20%, rgba(212, 168, 67, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(41, 128, 185, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(212, 168, 67, 0.03) 0%, transparent 70%);
  background-size: cover, cover, auto, auto, auto;
  background-position: center, center, center, center, center;
  align-items: flex-start;
  text-align: left;
  padding-top: 5.5rem;
}

/* Spotlights */
.hero--home::before,
.hero--home::after {
  content: '';
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.hero--home::before {
  top: -10%;
  left: 15%;
  width: 30%;
  height: 120%;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 168, 67, 0.06) 0%, transparent 60%);
  transform: rotate(-5deg);
}
.hero--home::after {
  top: -10%;
  right: 15%;
  width: 30%;
  height: 120%;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 168, 67, 0.06) 0%, transparent 60%);
  transform: rotate(5deg);
}

.hero--home h1 {
  color: #f6f3eb;
  font-size: clamp(3.5rem, 6vw, 5.2rem);
  line-height: 0.98;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.42);
}
.hero--home h1 span { display: block; }
.hero--home h1 .hero-title-accent { color: #f4b83f; }
.hero-kicker,
.section-kicker {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero-kicker { margin-bottom: 1.1rem; }
.hero--home .hero-kicker { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.hero--home .hero-kicker::before { content: ''; width: 56px; height: 2px; background: var(--gold); }
.hero--home .hero-tagline {
  color: rgba(246, 243, 235, 0.9);
  font-family: var(--ff-body);
  font-style: normal;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  max-width: 500px;
  margin: 0 0 2rem;
}
.hero-content { position: relative; z-index: 5; width: 100%; }
.hero-actions { display: flex; align-items: center; justify-content: flex-start; gap: 1.25rem; flex-wrap: wrap; }
.hero--home .hero-cta { border-radius: 999px; padding: 1rem 2.25rem; font-size: 1rem; }
.hero-footnote { position: absolute; z-index: 5; left: max(2rem, calc((100% - var(--max-width)) / 2 + 1.5rem)); bottom: 3rem; color: rgba(246, 243, 235, 0.75); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; }
.hero-footnote span { color: var(--gold); margin: 0 0.6rem; }
.hero-text-link { color: #f4efe5; font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.hero-text-link span { display: inline-block; margin-left: 0.35rem; transition: transform var(--transition); }
.hero-text-link:hover { color: var(--gold-light); }
.hero-text-link:hover span { transform: translateX(4px); }

/* The logo is printed across both curtain panels, then travels with them as they open. */
.curtain-logo {
  --curtain-logo-size: clamp(150px, 22vw, 250px);
  position: absolute;
  inset: 0;
  z-index: 11;
  pointer-events: none;
  overflow: hidden;
}
.curtain-logo-half {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 3.6s cubic-bezier(0.16, 1, 0.3, 1), filter 1.8s ease;
  filter: drop-shadow(0 0 12px rgba(212, 168, 67, 0.22));
}
.curtain-logo-half img {
  position: absolute;
  top: 50%;
  width: var(--curtain-logo-size);
  height: auto;
  max-width: none;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(10, 18, 27, 0.48), 0 10px 28px rgba(0, 0, 0, 0.35);
}
.curtain-logo-half--left { left: 0; }
.curtain-logo-half--right { right: 0; }
.curtain-logo-half--left img { left: calc(100% - (var(--curtain-logo-size) / 2)); transform: translateY(-50%); }
.curtain-logo-half--right img { left: calc(var(--curtain-logo-size) / -2); transform: translateY(-50%); }
.hero--home.revealed .curtain-logo-half--left { transform: translateX(-102%); filter: blur(1px); }
.hero--home.revealed .curtain-logo-half--right { transform: translateX(102%); filter: blur(1px); }
.hero--home.revealed .curtain-logo-half img { animation: logoRipple 3.6s ease-in-out infinite; }
@keyframes logoRipple {
  0%, 100% { border-radius: 50%; transform: translateY(-50%) skewX(0deg); }
  50% { border-radius: 48% 52% 49% 51%; transform: translateY(-50%) skewX(-2deg); }
}

/* Floating notes give the hero a musical pulse without competing with the message. */
.music-notes { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.music-note { position: absolute; color: rgba(244, 239, 229, 0.52); font-family: Georgia, serif; font-size: clamp(1.6rem, 4vw, 3.5rem); opacity: 0; text-shadow: 0 0 18px rgba(212, 168, 67, 0.5); animation: noteDrift 9s ease-in-out infinite; }
.music-note--one { left: 12%; bottom: -5%; animation-delay: 0.8s; }
.music-note--two { left: 28%; bottom: -12%; animation-delay: 3.2s; }
.music-note--three { right: 25%; bottom: -8%; animation-delay: 5.4s; }
.music-note--four { right: 11%; bottom: -15%; animation-delay: 1.8s; }
.music-note--five { left: 50%; bottom: -10%; animation-delay: 7s; }
@keyframes noteDrift {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-12deg); }
  18% { opacity: 0.75; }
  75% { opacity: 0.28; }
  100% { opacity: 0; transform: translate3d(36px, -86vh, 0) rotate(18deg); }
}

/* ============================================================
   REALISTIC CURTAIN ANIMATION
   Velvet crimson fabric with fold texture, gold fringe, and
   theatrical reveal timing.
   ============================================================ */
.curtain-left,
.curtain-right {
  position: absolute;
  top: 0;
  width: 50.5%;
  height: 100%;
  z-index: 10;
  transform-origin: top center;
  will-change: transform;
  background:
    repeating-linear-gradient(
      to right,
      #8e918f 0,
      #f4f0e5 9%,
      #aeb2ae 18%,
      #fffdf5 28%,
      #969b98 38%,
      #e9e5da 50%,
      #888d8b 61%,
      #f7f4eb 73%,
      #a1a5a2 84%,
      #f1eee4 94%,
      #8e918f 100%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 18%, rgba(20, 27, 30, 0.35) 100%);
  transition: transform 3.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.curtain-left {
  left: 0;
  border-right: 2px solid rgba(212, 168, 67, 0.75);
  box-shadow:
    8px 0 30px rgba(0, 0, 0, 0.6),
    inset -20px 0 40px rgba(0, 0, 0, 0.2);
}
.curtain-right {
  right: 0;
  border-left: 2px solid rgba(212, 168, 67, 0.75);
  box-shadow:
    -8px 0 30px rgba(0, 0, 0, 0.6),
    inset 20px 0 40px rgba(0, 0, 0, 0.2);
}

/* Gold trim follows the inner edge as the panels gather. */
.curtain-left::after,
.curtain-right::after {
  content: '';
  position: absolute;
  top: 0;
  width: 9px;
  height: 100%;
  background: repeating-linear-gradient(to bottom, #f0ca62 0 2px, #9d7020 2px 5px, #f0ca62 5px 7px);
  opacity: 0.85;
  filter: drop-shadow(0 0 4px rgba(212, 168, 67, 0.4));
}
.curtain-left::after { right: -5px; }
.curtain-right::after { left: -5px; }

/* Gathered folds at top (darker valance shadow) */
.curtain-left::before,
.curtain-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(20, 5, 10, 0.6), transparent);
  z-index: 1;
}

/* Reveal animation */
.hero--home.revealed .curtain-left {
  transform: translateX(-102%);
}
.hero--home.revealed .curtain-right {
  transform: translateX(102%);
}

/* Stage Valance — stays fixed at top */
.stage-valance {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  z-index: 15;
  background: repeating-linear-gradient(90deg, #979b98 0 32px, #f5f2e9 48px, #aeb2ae 68px, #fffdf5 88px);
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
/* Scalloped bottom edge */
.stage-valance::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gold);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

/* Gold rope detail on valance */
.stage-valance::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.5;
}

/* ============================================================
   PAGE HERO (Inner pages)
   ============================================================ */
.hero--page {
  min-height: 40vh;
  background: var(--bg-secondary);
  background-image:
    radial-gradient(ellipse at 50% 80%, rgba(212, 168, 67, 0.06) 0%, transparent 60%);
  padding: 8rem 1.5rem 3rem;
}
.hero--page h1 {
  color: var(--gold);
  margin-bottom: 0.75rem;
}
[data-theme="light"] .hero--page h1 { color: var(--crimson); }
.hero--page p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-hero { min-height: 38vh; }
.gallery-hero .section-kicker { margin-bottom: 0.75rem; }
.gallery-intro { max-width: 620px; margin-bottom: 2.5rem; }
.gallery-intro h2 { margin: 0.45rem 0 0.65rem; }
.gallery-intro > p:last-child { color: var(--text-secondary); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-surface-alt);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter var(--transition); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 12, 20, 0.82)); opacity: 0.8; transition: opacity var(--transition); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); filter: saturate(1.08); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-caption { position: absolute; z-index: 1; right: 1rem; bottom: 0.8rem; left: 1rem; color: #fff; font-family: var(--ff-display); font-size: 1rem; line-height: 1.25; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 3rem 1.5rem; background: rgba(4, 9, 14, 0.92); backdrop-filter: blur(8px); }
.gallery-lightbox figure { max-width: min(100%, 1000px); max-height: 100%; margin: 0; text-align: center; }
.gallery-lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; margin: 0 auto; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius); box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55); }
.gallery-lightbox figcaption { margin-top: 0.85rem; color: #fff; font-family: var(--ff-display); font-style: italic; }
.gallery-lightbox-close { position: absolute; top: 1rem; right: 1.25rem; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.08); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.gallery-lightbox-close:hover { background: var(--gold); color: #162b36; }

/* Events Hero */
.hero--events {
  min-height: auto;
  background: var(--bg-secondary);
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(41, 128, 185, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 50%);
  padding: 8rem 1.5rem 4rem;
  text-align: left;
}

.events-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.events-hero-flyer {
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(212, 168, 67, 0.15),
    0 0 0 1px var(--border-accent);
  transition: transform var(--transition), box-shadow var(--transition);
}
.events-hero-flyer:hover {
  transform: scale(1.02);
  box-shadow:
    0 16px 60px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(212, 168, 67, 0.2),
    0 0 0 2px var(--gold);
}

.events-hero-details h1 {
  color: var(--gold);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}
[data-theme="light"] .events-hero-details h1 { color: var(--crimson); }

.events-hero-details .event-tag {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.event-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-primary);
}
.event-meta-icon { font-size: 1.25rem; flex-shrink: 0; width: 1.5rem; text-align: center; }
.event-meta-text strong {
  color: var(--gold);
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
}
[data-theme="light"] .event-meta-text strong { color: var(--crimson); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.btn:hover::before { left: 100%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold), #c49a38);
  color: #1a0e2e;
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3);
}
.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a0e2e;
  box-shadow: 0 6px 25px rgba(212, 168, 67, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: #1a0e2e;
}

.btn--crimson {
  background: linear-gradient(135deg, var(--crimson), #9a1d2e);
  color: #fff;
  box-shadow: 0 4px 15px rgba(178, 34, 52, 0.3);
}
.btn--crimson:hover {
  color: #fff;
  box-shadow: 0 6px 25px rgba(178, 34, 52, 0.45);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.36s; }

/* ============================================================
   EVENT CALLOUT BANNER
   ============================================================ */
.event-banner {
  background: var(--bg-surface);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: 1.75rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Animated shimmer */
.event-banner::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.05), transparent);
  animation: bannerShimmer 4s ease-in-out infinite;
}
@keyframes bannerShimmer {
  0%, 100% { left: -50%; }
  50% { left: 100%; }
}

.event-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
}
.event-banner-copy { text-align: left; }
.event-label { display: block; color: var(--gold); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.3rem; }
.event-banner h3 { color: var(--gold); font-size: 1.2rem; }
[data-theme="light"] .event-banner h3 { color: var(--crimson); }
.event-banner p { color: var(--text-secondary); font-size: 0.95rem; }

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */

/* Mission intro */
.mission-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}
.mission-intro h2 { margin-bottom: 1.25rem; }
.mission-intro p { font-size: 1.05rem; color: var(--text-secondary); }
.mission-intro .read-more {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
}
.section-heading--center { text-align: center; }
.section-heading--center .section-kicker { margin-bottom: 0.5rem; color: var(--gold); }
.mission-feature {
  max-width: 820px;
  margin: 3rem auto 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.mission-feature img { width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; object-position: center 35%; }
.mission-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 28, 0.25), transparent 55%, rgba(10, 20, 28, 0.35)); pointer-events: none; }
.mission-feature figcaption { position: absolute; z-index: 1; left: 1.25rem; bottom: 1rem; color: #fff; font-family: var(--ff-display); font-style: italic; font-size: 1.1rem; text-shadow: 0 2px 12px #000; }

/* What We Do teaser */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.teaser-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.teaser-item::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0.35); transform-origin: left; transition: transform var(--transition); }
.teaser-item:hover::before { transform: scaleX(1); }
.teaser-number { display: block; color: var(--gold); font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; opacity: 0.75; }
.teaser-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}
.teaser-item h3 {
  margin-bottom: 0.75rem;
  position: relative;
  padding-bottom: 0.75rem;
  color: var(--gold);
}
[data-theme="light"] .teaser-item h3 { color: var(--crimson); }
.teaser-item h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}
.teaser-item p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1rem; }
.teaser-item a { font-weight: 600; font-size: 0.9rem; }

/* Teaser icon */
.teaser-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* Watch teaser */
.watch-teaser { text-align: center; }
.watch-teaser h2 { margin-bottom: 0.75rem; color: var(--gold); }
[data-theme="light"] .watch-teaser h2 { color: var(--crimson); }
.watch-teaser p { margin-bottom: 1.5rem; color: var(--text-secondary); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story { max-width: 800px; }
.about-story p { font-size: 1.05rem; margin-bottom: 1em; color: var(--text-secondary); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.pillar {
  border-left: 3px solid var(--gold);
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pillar:hover {
  transform: translateY(-4px) translateX(4px);
  box-shadow: var(--shadow-md);
}
.pillar h3 { margin-bottom: 0.75rem; font-size: 1.3rem; color: var(--gold); }
[data-theme="light"] .pillar h3 { color: var(--crimson); }
.pillar p { font-size: 0.95rem; color: var(--text-secondary); }

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.leader-card { text-align: center; }
.leader-photo-placeholder {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  border: 3px solid var(--gold);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.leader-card h4 { margin-bottom: 0.25rem; }
.leader-card .leader-role { color: var(--text-muted); font-size: 0.9rem; }

/* ============================================================
   MINISTRIES PAGE
   ============================================================ */
.ministry-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}
.ministry-block:not(:last-child) {
  border-bottom: 1px solid var(--border-subtle);
}
.ministry-block--reverse .ministry-text { order: 2; }
.ministry-block--reverse .ministry-image { order: 1; }

.ministry-text h2 {
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
  color: var(--gold);
}
[data-theme="light"] .ministry-text h2 { color: var(--crimson); }
.ministry-text h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 3px;
  background: var(--gold);
}
.ministry-text p { margin-bottom: 1em; color: var(--text-secondary); }

.ministry-image-placeholder,
.ministry-image img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ministry-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  object-position: center;
  background: #071321;
  transition: transform 0.6s ease;
  border: 1px solid var(--border-subtle);
}
.ministry-image--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.16), transparent 68%);
}
.ministry-image--logo .ministry-logo-image {
  width: min(72%, 280px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--gold);
  box-shadow: 0 0 0 8px var(--bg-surface), 0 12px 30px rgba(0, 0, 0, 0.32);
}
.ministry-block:hover .ministry-image img {
  transform: scale(1.03);
}
.ministry-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.ministry-image-placeholder {
  background: var(--bg-surface-alt);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border: 2px dashed var(--border-subtle);
}

/* ============================================================
   PRODUCTIONS TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 3rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0.75rem; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--border-accent), transparent);
}
.timeline-entry {
  position: relative;
  padding-bottom: 3rem;
}
.timeline-entry:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -2.35rem; top: 0.3rem;
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.timeline-entry:hover .timeline-marker {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px var(--gold-glow);
}
.timeline-year {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.timeline-entry h3 { margin-bottom: 0.5rem; }
.timeline-entry p { color: var(--text-secondary); font-size: 0.95rem; }
.timeline-entry .placeholder-note {
  display: inline-block;
  background: var(--bg-surface-alt);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
  margin-top: 0.5rem;
}
.timeline-image-placeholder {
  margin-top: 1rem;
  background: var(--bg-surface-alt);
  border-radius: var(--radius);
  max-width: 400px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border: 2px dashed var(--border-subtle);
}
.timeline-image { margin-top: 1rem; max-width: 400px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.timeline-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 25%; transition: transform 0.6s ease; }
.timeline-entry:hover .timeline-image img { transform: scale(1.04); }

/* ============================================================
   EVENTS PAGE
   ============================================================ */
.what-to-expect { margin-top: 2rem; }
.expect-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.expect-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition), box-shadow var(--transition);
}
.expect-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.expect-icon { font-size: 1.5rem; flex-shrink: 0; }
.expect-item h4 { margin-bottom: 0.25rem; color: var(--gold); }
[data-theme="light"] .expect-item h4 { color: var(--crimson); }
.expect-item p { font-size: 0.9rem; color: var(--text-secondary); }

/* ============================================================
   WATCH PAGE
   ============================================================ */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: var(--shadow-lg);
}
.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.video-slot {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border: 2px dashed var(--border-accent);
  transition: border-color var(--transition), background var(--transition);
}
.video-slot:hover {
  border-color: var(--gold);
  background: var(--bg-surface-alt);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}
.contact-info h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  color: var(--gold);
}
[data-theme="light"] .contact-info h3 { color: var(--crimson); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  padding-top: 0.15rem;
}
.contact-detail p { font-size: 0.95rem; color: var(--text-secondary); }
.contact-detail a { color: var(--text-primary); font-weight: 500; }
.contact-detail a:hover { color: var(--gold); }

/* Booking Form */
.booking-form {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}
.booking-form h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  color: var(--gold);
}
[data-theme="light"] .booking-form h3 { color: var(--crimson); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}
.form-group label .required { color: var(--crimson); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-group .error-message {
  color: var(--crimson);
  font-size: 0.82rem;
  margin-top: 0.3rem;
  display: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--crimson);
}
.form-group.has-error .error-message { display: block; }

.form-submit { margin-top: 0.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding-top: 3.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo {
  height: 60px;
  width: auto;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.footer-mission {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: var(--ff-body);
  font-weight: 600;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  color: #ede6d6;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity var(--transition), color var(--transition);
}
.footer-links a:hover { opacity: 1; color: var(--gold); }

.footer-contact p { font-size: 0.9rem; margin-bottom: 0.5rem; opacity: 0.7; color: var(--text-primary); }
.footer-contact a { color: var(--text-primary); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }

.footer-social { margin-top: 1rem; }
.footer-social a { color: #ede6d6; font-size: 0.9rem; opacity: 0.7; display: inline-flex; align-items: flex-start; gap: 0.55rem; max-width: 100%; }
.footer-social .social-icon { width: 1.1rem; height: 1.1rem; flex: 0 0 1.1rem; margin-top: 0.2rem; }
.footer-social a:hover { color: var(--gold); opacity: 1; }

.footer-bottom { padding: 1.25rem 0; text-align: center; }
.footer-bottom p { font-size: 0.82rem; opacity: 0.5; color: #ede6d6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .events-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .events-hero-flyer { max-width: 400px; margin: 0 auto; }
  .events-hero-details .event-meta { align-items: center; }
  .event-meta-item { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .expect-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .header-inner { justify-content: flex-start; }
  .header-actions { margin-left: auto; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--gold);
    padding: 1rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
  [data-theme="light"] .nav-links { background: var(--bg-surface); }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-bottom: none;
  }
  .nav-links a.active {
    border-bottom: none;
    background: rgba(212, 168, 67, 0.1);
  }

  .teaser-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ministry-block { grid-template-columns: 1fr; gap: 1.5rem; }
  .ministry-block--reverse .ministry-text,
  .ministry-block--reverse .ministry-image { order: unset; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .hero--home { min-height: calc(100svh - var(--nav-height)); padding: 3.5rem 1.25rem 4.5rem; text-align: left; align-items: flex-start; }
  .hero--home .hero-content { min-height: calc(100svh - var(--nav-height) - 8rem); display: flex; flex-direction: column; justify-content: space-between; }
  .hero--home .hero-kicker { justify-content: flex-start; gap: 0.75rem; }
  .hero--home .hero-kicker::before { width: 32px; }
  .hero--home h1 { margin-top: 0.85rem; margin-bottom: 1.5rem; font-size: clamp(2.15rem, 9vw, 2.7rem); line-height: 1.05; }
  .hero--home .hero-tagline { margin-right: 0; margin-left: 0; max-width: 300px; margin-bottom: 2.5rem; font-size: 1.05rem; line-height: 1.65; }
  .hero-actions { justify-content: flex-start; }
  .hero--home .hero-cta { padding: 1.05rem 2.35rem; }
  .hero-footnote { left: 1.25rem; right: 1.25rem; bottom: 1.75rem; text-align: left; letter-spacing: 0.2em; }
  .hero--events { padding: 2rem 1rem 3rem; }
  .events-hero-grid { width: 100%; gap: 2rem; }
  .events-hero-flyer { width: min(100%, 360px); }
  .events-hero-details { width: 100%; text-align: left; }
  .events-hero-details .event-meta { align-items: stretch; }
  .events-hero-details .event-meta-item { justify-content: flex-start; }
  .events-hero-details .event-meta-text span { display: block; }
  .stage-valance { height: 40px; }
  .hero--page { min-height: 30vh; padding: 6rem 1.5rem 2.5rem; }
  .nav-logo { height: 46px; }
  .logo-link::after {
    display: block;
    width: 132px;
    margin-left: 0.45rem;
    font-size: 0.56rem;
    line-height: 1.3;
    letter-spacing: 0.06em;
  }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item--wide, .gallery-item--tall { grid-column: auto; grid-row: auto; }
}

@media (max-width: 480px) {
  .hero--home h1 { font-size: clamp(1.9rem, 8vw, 2.35rem); }
  .hero--home .hero-tagline { font-size: 1rem; max-width: 300px; }
  .hero-cta { width: min(100%, 250px); }
  .booking-form { padding: 1.5rem; }
  .contact-info { padding: 1.5rem; }
  .event-banner-inner { flex-direction: column; gap: 1rem; }
  .teaser-item { padding: 1.5rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .curtain-left, .curtain-right { display: none; }
  .curtain-logo { display: none; }
  .stage-valance { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   2026 visual refresh — warm, editorial and consistent site-wide
   ============================================================ */
:root {
  color-scheme: light;
  --bg-primary: #fbfaf6;
  --bg-secondary: #351b1d;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f5f0e8;
  --bg-card: #ffffff;
  --text-primary: #2b2422;
  --text-secondary: #685d58;
  --text-muted: #887d76;
  --gold: #c79237;
  --gold-light: #f0bf55;
  --gold-glow: rgba(179, 138, 67, .18);
  --crimson: #a83632;
  --crimson-dark: #792522;
  --border-subtle: rgba(43, 36, 34, .11);
  --border-accent: rgba(199, 146, 55, .32);
  --shadow-color: rgba(48, 29, 27, .1);
  --shadow-lg: 0 24px 70px rgba(48, 29, 27, .12);
  --shadow-md: 0 12px 32px rgba(48, 29, 27, .09);
  --shadow-sm: 0 4px 14px rgba(48, 29, 27, .07);
  --max-width: 1200px;
  --nav-height: 82px;
  --radius: 12px;
  --radius-lg: 22px;
  --transition: .24s cubic-bezier(.2,.7,.2,1);
}

[data-theme="light"] {
  --bg-primary: #fbfaf6;
  --bg-secondary: #351b1d;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f5f0e8;
  --bg-card: #ffffff;
  --text-primary: #2b2422;
  --text-secondary: #685d58;
  --text-muted: #887d76;
  --gold: #c79237;
  --gold-light: #f0bf55;
  --crimson: #a83632;
  --border-subtle: rgba(43, 36, 34, .11);
  --border-accent: rgba(199, 146, 55, .32);
  --shadow-lg: 0 24px 70px rgba(48, 29, 27, .12);
  --shadow-md: 0 12px 32px rgba(48, 29, 27, .09);
  --shadow-sm: 0 4px 14px rgba(48, 29, 27, .07);
}

body { background: var(--bg-primary); }
.site-header {
  height: var(--nav-height); padding: 0; border: 0;
  border-bottom: 1px solid rgba(29,48,45,.08); border-radius: 0;
  background: rgba(251,250,246,.94); box-shadow: 0 4px 24px rgba(48,29,27,.045);
  backdrop-filter: blur(16px);
}
.header-inner { gap: 1.5rem; }
.logo-link::after { font-family: var(--ff-body); font-size: .69rem; letter-spacing: .12em; line-height: 1.5; }
.nav-logo { height: 48px; }
.nav-links { gap: .15rem; }
.nav-links a { padding: .65rem .72rem; border: 0; border-radius: 999px; font-size: .83rem; font-weight: 600; color: var(--text-secondary); }
.nav-links a:hover, .nav-links a.active { color: var(--bg-secondary); background: #f2e9df; border: 0; }
.theme-toggle { width: 38px; height: 38px; color: var(--text-primary); border-color: var(--border-subtle); }
.hamburger-line { background: var(--text-primary); }

.hero { min-height: 420px; padding: 6rem 1.5rem 5rem; }
.hero--page {
  min-height: 350px; padding: 5.5rem 1.5rem 4.5rem;
  background: linear-gradient(115deg, #351b1d, #642b2c);
  text-align: left; justify-content: flex-start;
}
.hero--page .hero-content { max-width: var(--max-width); margin: 0 auto; }
.hero--page h1 { color: #fffdf7; font-size: clamp(2.7rem, 5vw, 4.4rem); letter-spacing: -.035em; }
.hero--page p { color: rgba(255,253,247,.78); font-size: 1.08rem; max-width: 620px; }
.hero--page .section-kicker { color: #e2c17b; }
.hero--home {
  min-height: min(760px, calc(100svh - var(--nav-height))); align-items: center; padding: 7rem 1.5rem 6rem;
  background-image: radial-gradient(ellipse at 50% 42%, rgba(110,45,32,.34), transparent 48%), linear-gradient(135deg, #211719, #3b1c1e 52%, #201718);
  background-size: cover; background-position: center;
  perspective: 1400px;
  perspective-origin: center 44%;
}
.hero--home .hero-content { max-width: var(--max-width); margin: 0 auto; }
.hero--home h1 { font-size: clamp(3.4rem, 7vw, 6.3rem); line-height: 1.01; letter-spacing: -.045em; text-shadow: none; }
.hero--home h1 .hero-title-accent { color: #e2c17b; }
.hero--home .hero-kicker { color: #e2c17b; font-size: .72rem; letter-spacing: .2em; }
.hero--home .hero-kicker::before { background: #d2ae62; }
.hero--home .hero-tagline { max-width: 540px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem,1.6vw,1.25rem); }
.hero-footnote { color: rgba(255,255,255,.7); }
.curtain-left, .curtain-right, .curtain-logo, .music-notes { display: block; }
.stage-valance { display: block; }
.curtain-left, .curtain-right {
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 4.2s cubic-bezier(.18,.72,.16,1), filter 2.4s ease, box-shadow 2.4s ease;
  background:
    linear-gradient(180deg, rgba(255,226,185,.18), transparent 16%, rgba(15,8,10,.10) 66%, rgba(12,6,8,.5)),
    repeating-linear-gradient(90deg, #3a171b 0%, #67252a 3.2%, #8b3739 7%, #5a2025 11%, #351519 15.5%, #772c31 20%, #a14342 24%, #5b2025 28%, #351519 33%, #72292e 38%, #943a3c 42%, #4b1b20 47%, #321417 52%, #742a30 57%, #9b3d3e 62%, #542025 67%, #351519 72%, #72292f 77%, #943a3d 82%, #4c1b20 87%, #351519 92%, #7b2f34 97%, #3a171b 100%);
}
.curtain-left {
  transform-origin: left center;
  border-right-color: rgba(239,188,79,.8);
  box-shadow: 12px 0 30px rgba(0,0,0,.46), inset -24px 0 34px rgba(12,5,7,.34), inset 10px 0 20px rgba(244,181,115,.08);
}
.curtain-right {
  transform-origin: right center;
  border-left-color: rgba(239,188,79,.8);
  box-shadow: -12px 0 30px rgba(0,0,0,.46), inset 24px 0 34px rgba(12,5,7,.34), inset -10px 0 20px rgba(244,181,115,.08);
}
.hero--home.revealed .curtain-left { transform: translateX(-108%) rotateY(-8deg) scaleX(.97); filter: brightness(.82); }
.hero--home.revealed .curtain-right { transform: translateX(108%) rotateY(8deg) scaleX(.97); filter: brightness(.82); }
.curtain-logo-half { transition: transform 4.2s cubic-bezier(.18,.72,.16,1), filter 1.6s ease, opacity 1.4s ease; }
.hero--home.revealed .curtain-logo-half { opacity: 0; }
.curtain-logo-half img { box-shadow: 0 0 0 7px rgba(54,24,23,.72), 0 12px 40px rgba(0,0,0,.48); }
.stage-valance {
  height: 66px;
  background: repeating-linear-gradient(90deg, #481b20 0 34px, #713036 42px, #381619 72px, #873b3b 92px, #481b20 120px);
  border-bottom-color: #d59d3b;
  box-shadow: 0 12px 30px rgba(0,0,0,.48);
}
.hero--events { background: linear-gradient(115deg, #351b1d, #512427); }
.hero--events .events-hero-details { color: rgba(255,253,247,.84); }
.hero--events .events-hero-details h1 { color: #f0bf55; }
.hero--events .events-hero-details .event-tag { color: rgba(255,253,247,.72); }
.hero--events .event-meta-item { color: rgba(255,253,247,.84); }
.hero--events .event-meta-text strong { color: #e0c17a; }
.hero--events .events-hero-flyer { box-shadow: 0 20px 55px rgba(0,0,0,.24); }

.section { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.section--alt { background: var(--bg-surface-alt); }
.section--dark { background: var(--bg-secondary); }
.section--dark h2, .section--dark h3, .watch-teaser h2 { color: #f1d99f; }
.section-heading--center .section-kicker, .section-kicker { color: var(--crimson); }
.section-heading--center h2 { letter-spacing: -.025em; }
.mission-intro { max-width: 820px; }
.mission-intro h2 { font-size: clamp(2rem,4vw,3rem); letter-spacing: -.03em; }
.mission-intro p, .about-story p { line-height: 1.85; }
.mission-feature { max-width: 920px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.mission-feature img { aspect-ratio: 2.35 / 1; }
.event-banner { padding: 1.6rem max(1.5rem, calc((100% - var(--max-width))/2 + 1.5rem)); background: #eee8d9; border: 0; }
.event-banner-inner { justify-content: space-between; }
.event-label { color: #84642c; }
.event-banner h3 { color: var(--text-primary); font-size: 1.35rem; }
.event-banner p { color: var(--text-secondary); }
.btn { border-radius: 999px; padding: .9rem 1.45rem; font-weight: 700; box-shadow: none; }
.btn--gold { background: #d6a243; color: #2b2422; border: 1px solid #d6a243; }
.btn--gold:hover { background: #efbd5c; color: #2b2422; }
.btn--outline { color: var(--text-primary); border-color: rgba(29,48,45,.28); }
.btn--outline:hover { background: var(--bg-secondary); color: white; border-color: var(--bg-secondary); }
.teaser-grid { gap: 1.25rem; margin-top: 2.8rem; }
.teaser-item { padding: 2rem; border: 1px solid var(--border-subtle); border-radius: 18px; box-shadow: var(--shadow-sm); }
.teaser-item::before { height: 3px; background: var(--gold); }
.teaser-item h3 { color: var(--text-primary); }
.teaser-item h3::after { background: var(--gold); }
.teaser-number { color: var(--crimson); }
.teaser-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.teaser-item a, .read-more { color: #8a6630; }
.about-story { max-width: 850px; }
.pillars { gap: 1.25rem; }
.pillar { border: 1px solid var(--border-subtle); border-left: 3px solid var(--gold); border-radius: 0 18px 18px 0; padding: 1.8rem; box-shadow: var(--shadow-sm); }
.pillar h3 { color: var(--text-primary); }
.ministry-block { gap: clamp(2rem,5vw,5rem); padding: 3.6rem 0; }
.ministry-text h2 { color: var(--text-primary); }
.ministry-image img, .ministry-image-placeholder { border-radius: 20px; box-shadow: var(--shadow-md); }
.contact-grid { gap: 2.5rem; }
.contact-info, .booking-form { border-radius: 20px; }
.contact-info { padding: 2.25rem; background: var(--bg-surface-alt); }
.contact-info h3, .booking-form h3 { color: var(--text-primary); border-bottom: 1px solid var(--border-subtle); }
.booking-form { padding: clamp(1.5rem,4vw,2.5rem); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-md); }
.form-group input, .form-group select, .form-group textarea { border-radius: 10px; border-color: rgba(29,48,45,.16); padding: .8rem .95rem; }
.gallery-item { border-radius: 18px; box-shadow: var(--shadow-sm); }
.video-container, .video-slot { border-radius: 18px; }
.site-footer { background: #351b1d; }
.footer-links h4, .footer-contact h4 { color: #e0c17a; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }

@media (max-width: 900px) {
  .site-header { --nav-height: 72px; }
  .header-inner { justify-content: space-between; }
  .header-actions { margin-left: auto; }
  .nav-links { top: var(--nav-height); padding: .75rem 1rem 1rem; background: rgba(251,250,246,.98); border: 1px solid var(--border-subtle); border-radius: 0 0 18px 18px; box-shadow: var(--shadow-md); }
  .nav-links a { padding: .8rem 1rem; }
  .hero--home { min-height: min(740px, calc(100svh - var(--nav-height))); }
}
@media (max-width: 600px) {
  :root { --nav-height: 68px; }
  .logo-link::after { width: 128px; font-size: .58rem; }
  .nav-logo { height: 42px; }
  .theme-toggle { width: 36px; height: 36px; }
  .hero--home { min-height: 680px; padding: 5rem 1.25rem 5rem; background-position: 58% center; }
  .hero--home h1 { font-size: clamp(2.9rem, 13vw, 4.4rem); }
  .hero--home .hero-content { min-height: auto; }
  .hero--home .hero-tagline { max-width: 330px; }
  .hero-footnote { left: 1.25rem; bottom: 1.5rem; }
  .hero--page { min-height: 300px; padding: 5rem 1.25rem 3.5rem; }
  .section { padding: 3.75rem 0; }
  .event-banner { padding: 1.5rem 1.25rem; }
  .event-banner-inner { align-items: flex-start; }
  .event-banner h3 { font-size: 1.2rem; }
  .event-banner .btn { align-self: flex-start; }
  .mission-feature img { aspect-ratio: 1.3 / 1; }
  .teaser-grid { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--home { background-attachment: scroll; }
  .curtain-left, .curtain-right, .curtain-logo-half { transition-duration: .01ms !important; }
}

/* Dark mode: the same wine, ember and brass identity on deeper surfaces. */
[data-theme="dark"] {
  color-scheme: dark;
  --bg-primary: #171313;
  --bg-secondary: #241719;
  --bg-surface: #211b1a;
  --bg-surface-alt: #201a19;
  --bg-card: #251e1c;
  --text-primary: #f4ece2;
  --text-secondary: #c8bdb2;
  --text-muted: #a99b91;
  --gold: #e3b44f;
  --gold-light: #f0cb79;
  --gold-glow: rgba(227,180,79,.2);
  --crimson: #e17c68;
  --crimson-dark: #f09a83;
  --border-subtle: rgba(255,239,220,.12);
  --border-accent: rgba(227,180,79,.3);
  --shadow-color: rgba(0,0,0,.3);
  --shadow-lg: 0 24px 70px rgba(0,0,0,.34);
  --shadow-md: 0 12px 32px rgba(0,0,0,.25);
  --shadow-sm: 0 4px 14px rgba(0,0,0,.2);
}
[data-theme="dark"] body { background: var(--bg-primary); color: var(--text-primary); }
[data-theme="dark"] .site-header { background: rgba(29,22,21,.95); border-bottom-color: rgba(255,239,220,.1); }
[data-theme="dark"] .logo-link::after,
[data-theme="dark"] .nav-links a,
[data-theme="dark"] .hamburger-line { color: var(--text-primary); }
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active { color: #f0cb79; background: #382725; }
[data-theme="dark"] .theme-toggle { color: var(--text-primary); }
[data-theme="dark"] .nav-links { background: rgba(29,22,21,.98); }
[data-theme="dark"] .event-banner { background: #2b211c; }
[data-theme="dark"] .event-banner h3 { color: var(--text-primary); }
[data-theme="dark"] .event-label { color: #f0cb79; }
[data-theme="dark"] .teaser-item,
[data-theme="dark"] .pillar,
[data-theme="dark"] .booking-form { background: var(--bg-card); }
[data-theme="dark"] .contact-info { background: var(--bg-surface-alt); }
[data-theme="dark"] .teaser-item h3,
[data-theme="dark"] .pillar h3,
[data-theme="dark"] .ministry-text h2,
[data-theme="dark"] .contact-info h3,
[data-theme="dark"] .booking-form h3 { color: var(--text-primary); }
[data-theme="dark"] .section--dark h2,
[data-theme="dark"] .section--dark h3,
[data-theme="dark"] .watch-teaser h2 { color: #f0cb79; }
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea { background: #171313; color: var(--text-primary); border-color: var(--border-subtle); }
[data-theme="dark"] .btn--outline { color: var(--text-primary); border-color: rgba(244,236,226,.38); }
[data-theme="dark"] .btn--outline:hover { background: #f0cb79; color: #241719; border-color: #f0cb79; }
[data-theme="dark"] .footer-bottom p { color: #eadfd3; }
[data-theme="dark"] .hero--page .section-kicker { color: #f0cb79; }
[data-theme="dark"] .gallery-lightbox { background: rgba(0,0,0,.94); }

/* Home page: midnight stage, brass accents and editorial ministry preview. */
body:has(.hero--home) { --nav-height: 84px; }
body:has(.hero--home) .site-header { background: #030d1b; border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: none; }
body:has(.hero--home) .logo-link::after { color: #fff; font-size: .84rem; letter-spacing: .07em; }
body:has(.hero--home) .logo-link::after { content: 'THE GRACE VOICES\A SONGS & DRAMA MINISTRY'; }
body:has(.hero--home) .logo-link::after { display: none; }
.home-brand { display: grid; gap: .2rem; margin-left: .7rem; color: #fff; font-family: var(--ff-body); line-height: 1.25; letter-spacing: .07em; }
.home-brand strong { font-size: .88rem; }
.home-brand span { color: #ffc22f; font-size: .72rem; font-weight: 700; letter-spacing: .18em; }
body:has(.hero--home) .nav-links a { color: #f5f5f7; border-radius: 0; background: transparent; padding: .7rem .85rem; font-size: .9rem; }
body:has(.hero--home) .nav-links a:hover,
body:has(.hero--home) .nav-links a.active { color: #ffc22f; background: transparent; }
body:has(.hero--home) .nav-links a.active { box-shadow: inset 0 -2px #ffc22f; }
body:has(.hero--home) .hamburger { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid #d99e11; border-radius: 50%; }
body:has(.hero--home) .hamburger-line { width: 20px; background: white; }
body:has(.hero--home) .header-actions { gap: .75rem; }
body:has(.hero--home) .theme-toggle { display: none; }
body:has(.hero--home) .search-toggle { border-color: #d99e11; }
.hero--home {
  min-height: 590px; height: min(590px, calc(100svh - var(--nav-height))); padding: 3.5rem max(1.5rem, calc((100% - 1376px) / 2));
  justify-content: flex-start; text-align: left; overflow: hidden; isolation: isolate;
  background-color: #061123;
  background-image: linear-gradient(90deg, rgba(2,9,22,.95) 0%, rgba(2,9,22,.84) 38%, rgba(2,9,22,.52) 68%, rgba(2,9,22,.28) 100%), linear-gradient(0deg, rgba(2,9,22,.35), rgba(2,9,22,.05)), url('https://images.unsplash.com/photo-1507838153414-b4b713384a76?auto=format&fit=crop&w=2000&q=85');
  background-size: cover, cover, cover; background-position: center, center, center 48%;
}
.hero--home .hero-content { width: 100%; max-width: 1376px; margin: 0 auto; position: relative; z-index: 2; }
.hero--home .hero-kicker { color: #ffc22f; font-size: .83rem; letter-spacing: .36em; text-transform: uppercase; }
.hero--home .hero-kicker::before { width: 90px; background: #ffc22f; }
.hero--home h1 { max-width: 790px; font-size: clamp(3.5rem, 6.35vw, 6rem); line-height: 1.01; letter-spacing: -.055em; }
.hero--home h1 .hero-title-accent { color: #ffc22f; }
.hero--home .hero-tagline { max-width: none; margin: 1.2rem 0 2rem; color: #d4d8e1; font-size: clamp(1rem, 1.55vw, 1.35rem); }
.hero-actions { gap: 1rem; }
.hero--home .hero-cta, .hero-watch { min-height: 60px; display: inline-flex; align-items: center; gap: .8rem; padding: .85rem 1.35rem; font-size: .94rem; }
.hero--home .hero-cta { background: #ffc22f; border-color: #ffc22f; color: #07111e; }
.hero--home .hero-cta:hover { background: #ffd463; border-color: #ffd463; }
.button-play { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #07111e; background: rgba(0,0,0,.1); font-size: .75rem; }
.hero-watch { border-color: #ffc22f; color: #fff; background: rgba(5,12,24,.25); }
.hero-watch .button-play { color: #fff; border: 1px solid rgba(255,255,255,.6); background: rgba(4,12,25,.7); }
.home-pillars { background: #030d1b; color: #f5f5f7; border-top: 1px solid rgba(255,255,255,.04); }
.pillars-inner { max-width: 1376px; min-height: 230px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)) 1.35fr; align-items: center; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.home-pillar { min-height: 118px; padding: .2rem .7rem; color: #f5f5f7; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.home-pillar + .home-pillar { border-left: 1px solid rgba(255,255,255,.14); }
.home-pillar:hover { color: #ffc22f; }
.pillar-icon { width: 56px; height: 56px; border: 2px solid #f6b91c; border-radius: 50%; display: grid; place-items: center; margin-bottom: .65rem; color: #ffc22f; }
.pillar-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-pillar strong { font-size: .93rem; line-height: 1.3; }
.home-pillar > span:last-child { margin-top: .4rem; color: #bcc3cf; font-size: .82rem; line-height: 1.45; }
.worship-note { justify-self: center; color: #ffc22f; text-align: center; font-family: var(--ff-display); font-size: clamp(1.8rem,3vw,2.7rem); font-style: italic; line-height: 1.05; text-decoration: none; transform: rotate(-4deg); }
.worship-note span { display: block; margin-top: .15rem; font: 1.2rem var(--ff-body); }
.home-ministry { background: #f7f8fb; padding: 2.3rem 0 4.5rem; color: #07172d; }
.home-ministry .container { max-width: 1376px; display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 1.2rem; align-items: start; }
.home-section-title { display: flex; align-items: center; align-self: start; gap: 1rem; margin: 0; min-height: 4rem; }
.home-section-title h2 { font-size: clamp(2.1rem,3.6vw,3.1rem); color: #0a1930; letter-spacing: -.04em; }
.home-section-title > span { width: 65px; height: 2px; background: #f1b91f; }
.home-section-title a { display: none; }
.home-ministry-grid { display: contents; }
.ministry-card { min-height: 270px; position: relative; overflow: hidden; border-radius: 10px; background: #101a2b; }
.ministry-card:nth-child(1) { grid-column: 2; }
.ministry-card:nth-child(2) { grid-column: 3; }
.ministry-card img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; transition: transform .5s ease; }
.ministry-card:hover img { transform: scale(1.04); }
.ministry-card::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,rgba(0,8,20,.82)); }
.ministry-card-caption { position: absolute; z-index: 1; left: 1.3rem; bottom: 1.1rem; display: grid; gap: .2rem; color: white; }
.ministry-card-caption small { color: #ffd05b; text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; }
.ministry-card-caption strong { font: 700 1.45rem var(--ff-display); }
.mission-strip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; grid-column: 1 / -1; margin-top: .8rem; padding: 1.3rem 1.5rem; border-left: 3px solid #f1b91f; background: #fff; color: #455065; }
.mission-strip p { max-width: 800px; margin: 0; }
.mission-strip a { flex-shrink: 0; color: #765615; font-weight: 700; text-decoration: none; }
@media (max-width: 1100px) {
  body:has(.hero--home) .header-inner { gap: .5rem; }
  body:has(.hero--home) .nav-links a { padding-inline: .55rem; font-size: .8rem; }
  body:has(.hero--home) .logo-link::after { width: 155px; font-size: .68rem; }
}
@media (max-width: 900px) {
  body:has(.hero--home) .site-header { --nav-height: 72px; }
  body:has(.hero--home) .nav-links { display: none; position: absolute; inset: var(--nav-height) 0 auto; flex-direction: column; align-items: stretch; padding: .75rem 1rem; background: #030d1b; border: 1px solid rgba(255,255,255,.1); border-radius: 0; }
  body:has(.hero--home) .nav-links.open { display: flex; }
  body:has(.hero--home) .nav-links a { padding: .75rem 1rem; }
  .pillars-inner { grid-template-columns: repeat(2,minmax(0,1fr)); padding-block: 1.5rem; }
  .home-pillar:nth-child(odd) { border-left: 0; }
  .worship-note { grid-column: 1 / -1; margin-top: 1rem; }
}
@media (max-width: 600px) {
  body:has(.hero--home) .logo-link::after { width: 122px; font-size: .57rem; }
  .home-brand { margin-left: .45rem; }
  .home-brand strong { font-size: .63rem; }
  .home-brand span { font-size: .5rem; letter-spacing: .11em; }
  body:has(.hero--home) .nav-logo { height: 42px; }
  body:has(.hero--home) .header-inner { padding-inline: 1rem; }
  .hero--home { height: auto; min-height: 650px; padding: 4rem 1.25rem 3rem; background-position: center, center, 44% center; }
  .hero--home h1 { font-size: clamp(3rem,12.5vw,4.4rem); }
  .hero--home .hero-kicker { gap: .65rem; letter-spacing: .21em; font-size: .7rem; }
  .hero--home .hero-kicker::before { width: 32px; }
  .hero--home .hero-tagline { max-width: 330px; line-height: 1.55; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero--home .hero-cta, .hero-watch { width: fit-content; min-height: 54px; padding-inline: 1rem; font-size: .88rem; }
  .pillars-inner { padding-inline: .7rem; }
  .home-pillar { padding-inline: .25rem; }
  .home-pillar strong { font-size: .82rem; }
  .home-pillar > span:last-child { font-size: .74rem; }
  .home-ministry .container { display: grid; grid-template-columns: 1fr; }
  .home-section-title { flex-wrap: wrap; gap: .6rem; grid-column: auto; }
  .home-section-title h2 { font-size: 2rem; }
  .home-section-title a { width: 100%; margin: .15rem 0 0; }
  .home-section-title a { display: inline; }
  .ministry-card:nth-child(1), .ministry-card:nth-child(2) { grid-column: auto; }
  .ministry-card, .ministry-card img { min-height: 220px; }
  .mission-strip { align-items: flex-start; flex-direction: column; }
}

/* 2026 site-wide polish: one calm, welcoming design system across every page. */
:root {
  --bg-primary: #f7f8fb;
  --bg-secondary: #07172d;
  --bg-surface: #ffffff;
  --bg-surface-alt: #eef2f7;
  --bg-card: #ffffff;
  --text-primary: #10213b;
  --text-secondary: #59677a;
  --text-muted: #778396;
  --gold: #e6ad22;
  --gold-light: #f6c84e;
  --gold-glow: rgba(230,173,34,.17);
  --crimson: #b77b19;
  --crimson-dark: #8a5b0b;
  --border-subtle: rgba(16,33,59,.11);
  --border-accent: rgba(230,173,34,.4);
  --shadow-lg: 0 24px 60px rgba(7,23,45,.13);
  --shadow-md: 0 12px 32px rgba(7,23,45,.09);
  --shadow-sm: 0 4px 14px rgba(7,23,45,.06);
  --max-width: 1320px;
  --nav-height: 76px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: .24s cubic-bezier(.2,.7,.2,1);
}
[data-theme="light"] {
  --bg-primary: #f7f8fb; --bg-secondary: #07172d; --bg-surface: #fff;
  --bg-surface-alt: #eef2f7; --bg-card: #fff; --text-primary: #10213b;
  --text-secondary: #59677a; --text-muted: #778396; --gold: #e6ad22;
  --gold-light: #f6c84e; --crimson: #b77b19; --crimson-dark: #8a5b0b;
  --border-subtle: rgba(16,33,59,.11); --border-accent: rgba(230,173,34,.4);
  --shadow-lg: 0 24px 60px rgba(7,23,45,.13); --shadow-md: 0 12px 32px rgba(7,23,45,.09);
  --shadow-sm: 0 4px 14px rgba(7,23,45,.06);
}
[data-theme="dark"] {
  --bg-primary: #101a2a; --bg-secondary: #07111f; --bg-surface: #172438;
  --bg-surface-alt: #131f31; --bg-card: #172438; --text-primary: #f4f6fa;
  --text-secondary: #c0c9d5; --text-muted: #9aa7b9; --gold: #f0bd3f;
  --gold-light: #ffda78; --crimson: #f0bd3f; --crimson-dark: #ffda78;
  --border-subtle: rgba(239,244,251,.12); --border-accent: rgba(240,189,63,.38);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.25); --shadow-md: 0 12px 32px rgba(0,0,0,.2);
  --shadow-sm: 0 4px 14px rgba(0,0,0,.15);
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 1rem); }
body { background: var(--bg-primary); color: var(--text-primary); line-height: 1.7; }
::selection { background: rgba(230,173,34,.3); color: var(--text-primary); }
.site-header { min-height: var(--nav-height); height: auto; background: rgba(5,17,33,.97); border: 0; border-bottom: 1px solid rgba(255,255,255,.09); box-shadow: 0 6px 24px rgba(4,13,26,.12); }
.header-inner { min-height: var(--nav-height); height: auto; gap: 1.25rem; }
.nav-logo { width: 48px; height: 48px; object-fit: cover; }
.logo-link::after { font-family: var(--ff-body); font-size: .69rem; letter-spacing: .08em; line-height: 1.4; color: #fff; }
.home-brand { font-size: inherit; }
.nav-links { gap: .2rem; }
.nav-links a { border-radius: 999px; border: 0; padding: .58rem .78rem; color: #eaf0f8; font-size: .84rem; font-weight: 600; transition: color var(--transition), background var(--transition); }
.nav-links a:hover, .nav-links a.active { color: #ffd05d; background: rgba(255,255,255,.075); border: 0; }
.nav-links a.active { box-shadow: inset 0 -2px #e9b52e; border-radius: 8px 8px 0 0; }
.theme-toggle { width: 40px; height: 40px; color: #fff; border: 1px solid rgba(230,173,34,.75); }
.search-toggle { width: 40px; height: 40px; display: inline-grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(230,173,34,.75); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background var(--transition), transform var(--transition); }
.search-toggle:hover { background: rgba(230,173,34,.15); transform: translateY(-1px); }
.search-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.site-search { position: absolute; z-index: 120; top: calc(100% + .55rem); right: max(1rem, calc((100% - var(--max-width)) / 2)); display: flex; gap: .55rem; width: min(440px, calc(100vw - 2rem)); padding: .65rem; border: 1px solid var(--border-subtle); border-radius: 14px; background: var(--bg-surface); box-shadow: var(--shadow-lg); }
.site-search[hidden] { display: none; }
.site-search input { flex: 1; min-width: 0; padding: .65rem .8rem; border: 1px solid var(--border-subtle); border-radius: 9px; color: var(--text-primary); background: var(--bg-primary); font: inherit; }
.site-search .btn { padding: .6rem .85rem; }
.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; }
.hamburger { width: 40px; height: 40px; border: 1px solid rgba(230,173,34,.75); border-radius: 50%; }
.hamburger-line { width: 19px; background: #fff; }
.hero--page, .hero--events { background: linear-gradient(125deg,#07172d 0%,#102847 68%,#183659 100%); }
.hero--page { min-height: 330px; padding: 5rem 1.5rem 4rem; }
.hero--page h1 { color: #fff; }
.hero--page p { color: #ccd5e1; }
.hero--page .section-kicker { color: #f1c14a; }
.section { padding: clamp(3.5rem,7vw,6rem) 0; background: var(--bg-primary); }
.section--alt { background: var(--bg-surface-alt); }
.section--dark { background: var(--bg-secondary); color: #f4f6fa; }
.section-heading { margin-bottom: 2rem; }
.section-heading h2, .section > .container > h2 { color: var(--text-primary); }
.section--dark h2, .section--dark h3 { color: #f2cc6e; }
.section-kicker { color: #a87512; letter-spacing: .16em; }
.site-footer { background: #061326; color: #d6deea; }
.site-footer h4, .site-footer a { color: #f2ca63; }
.site-footer p { color: #c0cad7; }
.footer-bottom { background: #040d19; border-top: 1px solid rgba(255,255,255,.12); }
.teaser-item, .pillar, .contact-info, .booking-form, .expect-item, .leader-card, .event-card, .ministry-image, .video-slot { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.teaser-item, .pillar, .contact-info, .booking-form, .expect-item, .leader-card { background: var(--bg-surface); border-color: var(--border-subtle); }
.teaser-item:hover, .pillar:hover, .event-card:hover, .gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.btn { transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition); }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: #efbb38; border-color: #efbb38; color: #07172d; }
.btn--gold:hover { background: #ffd267; border-color: #ffd267; color: #07172d; box-shadow: 0 10px 22px rgba(230,173,34,.2); }
.btn--outline { color: var(--text-primary); border-color: rgba(16,33,59,.26); }
[data-theme="dark"] .btn--outline { color: var(--text-primary); border-color: rgba(255,255,255,.35); }
.form-group input, .form-group select, .form-group textarea { background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-subtle); border-radius: 10px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-glow); outline: 0; }
.gallery-grid { gap: 1rem; }
.gallery-item { border-radius: 16px; box-shadow: var(--shadow-sm); }
.gallery-item img { transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.gallery-item:hover img { transform: scale(1.045); }
.mission-feature, .ministry-image img, .timeline-image img, .events-hero-flyer { border-radius: 16px; }
.event-banner { background: #fff; border: 0; border-left: 4px solid #e8b22a; border-radius: 0 14px 14px 0; box-shadow: var(--shadow-sm); }
.event-banner h3 { color: var(--text-primary); }
.event-banner p { color: var(--text-secondary); }
.hero--home .hero-content { max-width: 1320px; }
.hero--home .hero-tagline { max-width: 650px; }
.hero--home .hero-content > * { animation: hero-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero--home .hero-content > h1 { animation-delay: .08s; }
.hero--home .hero-content > .hero-tagline { animation-delay: .16s; }
.hero--home .hero-content > .hero-actions { animation-delay: .24s; }
.hero--page .hero-content > * { animation: hero-rise .62s cubic-bezier(.2,.7,.2,1) both; }
.hero--page .hero-content > *:nth-child(2) { animation-delay: .1s; }
.hero--page .hero-content > *:nth-child(3) { animation-delay: .18s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.home-ministry { background: #f5f7fa; }
.mission-strip { border-radius: 0 14px 14px 0; box-shadow: var(--shadow-sm); }

/* Clean, unboxed desktop navigation and a short branded welcome. */
@media (min-width: 901px) {
  body:has(.hero--home) .nav-links { background: transparent; }
}
.brand-splash[hidden] { display: none; }
.brand-splash {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 42%, #142944 0%, #07172a 52%, #030b16 100%);
  color: #fff;
  opacity: 1;
  transition: opacity .55s ease, visibility .55s ease;
}
.brand-splash::before, .brand-splash::after {
  position: absolute;
  width: min(74vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(242,194,78,.12);
  border-radius: 50%;
  content: '';
  animation: splash-orbit 18s linear infinite;
}
.brand-splash::after { width: min(56vw, 500px); border-color: rgba(255,255,255,.07); animation-direction: reverse; animation-duration: 25s; }
.brand-splash.is-leaving { visibility: hidden; opacity: 0; }
.brand-splash-content { position: relative; z-index: 1; display: grid; justify-items: center; padding: 2rem; text-align: center; animation: splash-arrive .8s cubic-bezier(.2,.7,.2,1) both; }
.brand-splash-mark { display: grid; place-items: center; width: clamp(112px, 18vw, 164px); aspect-ratio: 1; padding: 7px; border: 1px solid rgba(245,202,101,.8); border-radius: 50%; background: linear-gradient(145deg, rgba(244,198,103,.2), rgba(255,255,255,.03)); box-shadow: 0 0 0 9px rgba(244,198,103,.04), 0 22px 70px rgba(0,0,0,.4); }
.brand-splash-mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.brand-splash-name { margin: 1.6rem 0 .2rem; color: #fff; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.1; letter-spacing: -.025em; }
.brand-splash-subtitle { margin: 0; color: #f2c452; font-size: clamp(.68rem, 1.8vw, .86rem); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.brand-splash-line { width: 42px; height: 2px; margin-top: 1.6rem; background: #f2c452; transform-origin: left; animation: splash-line 1.1s .3s ease both; }
body.splash-active { overflow: hidden; }
@keyframes splash-orbit { to { transform: rotate(360deg); } }
@keyframes splash-arrive { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes splash-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .brand-splash::before, .brand-splash::after, .brand-splash-content, .brand-splash-line { animation: none; }
  .brand-splash { transition: none; }
}

/* Founder feature on the home page */
.founder-feature {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
  color: #f7f4ed;
  background: radial-gradient(ellipse at 78% 45%, rgba(37, 59, 88, .72), transparent 43%), #07172a;
}
.founder-feature::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: '';
  pointer-events: none;
}
.founder-feature-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .82fr) 1.18fr;
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
  max-width: 1120px;
}
.founder-portrait-wrap {
  position: relative;
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 12px;
  border: 1px solid rgba(238, 193, 94, .68);
  border-radius: 190px 190px 18px 18px;
  background: linear-gradient(145deg, rgba(244, 198, 103, .16), rgba(255,255,255,.025));
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}
.founder-portrait { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 23%; border-radius: 180px 180px 10px 10px; }
.founder-portrait-caption {
  position: absolute;
  right: -22px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: #f4c45e;
  color: #142238;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 8px 26px rgba(0,0,0,.22);
}
.founder-portrait-caption span { font-size: 1rem; }
.founder-copy { max-width: 610px; }
.founder-eyebrow { margin: 0 0 1rem; color: #efc76d; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.founder-copy h2 { margin: 0; color: #fff; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.8rem, 5.5vw, 5rem); font-weight: 400; line-height: 1.05; letter-spacing: -.04em; }
.founder-copy h2 em { color: #efc76d; font-weight: 400; }
.founder-rule { display: block; width: 72px; height: 2px; margin: 1.6rem 0; background: #efc76d; }
.founder-description { max-width: 540px; margin: 0; color: rgba(247,244,237,.8); font-size: clamp(1rem, 1.4vw, 1.13rem); line-height: 1.85; }
.founder-signoff { margin: 1.8rem 0 1.5rem; color: #fff; font-weight: 700; }
.founder-signoff span { padding-inline: .35rem; color: #efc76d; }
.founder-link { display: inline-flex; align-items: center; gap: .7rem; color: #efc76d; font-size: .92rem; font-weight: 700; text-decoration: none; }
.founder-link span { transition: transform .2s ease; }
.founder-link:hover span { transform: translateX(5px); }
.leader-card--founder { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4rem); max-width: 900px; margin-inline: auto; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--border-subtle); border-radius: 20px; background: var(--bg-surface); box-shadow: var(--shadow-md); text-align: left; }
.leader-photo { display: block; width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: center 20%; border-radius: 140px 140px 14px 14px; }
.leader-card-copy .leader-role { margin: 0 0 .45rem; color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.leader-card-copy h3 { margin: 0 0 .85rem; font: 400 clamp(1.8rem, 4vw, 2.8rem)/1.1 'Playfair Display', Georgia, serif; }
.leader-card-copy > p:last-child { max-width: 480px; margin: 0; color: var(--text-secondary); line-height: 1.8; }
.ministry-image--feature { display: flex; min-height: 300px; aspect-ratio: 4 / 3; flex-direction: column; align-items: flex-start; justify-content: center; gap: .75rem; padding: clamp(1.5rem, 5vw, 3.5rem); border: 1px solid rgba(239,199,109,.38); background: radial-gradient(circle at 80% 20%, rgba(239,199,109,.19), transparent 38%), linear-gradient(145deg, #102642, #07172a); color: #fff; }
.ministry-image--feature > span { color: #efc76d; font-size: 2rem; }
.ministry-image--feature strong { font: 400 clamp(2rem, 4.2vw, 3.4rem)/1.06 'Playfair Display', Georgia, serif; }
.ministry-image--feature small { color: #efc76d; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ministry-image--rehearsal { background: radial-gradient(circle at 82% 78%, rgba(239,199,109,.18), transparent 42%), linear-gradient(145deg, #25344e, #101b2b); }
.watch-event-callout { text-align: center; }
.watch-event-callout .container { max-width: 760px; }
.watch-event-callout .section-kicker { margin-bottom: .5rem; color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.watch-event-callout h2 { margin-bottom: .65rem; }
.watch-event-callout p:not(.section-kicker) { margin: 0 auto 1.5rem; color: var(--text-secondary); }
.program-popup[hidden] { display: none; }
.program-popup { position: fixed; z-index: 2100; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 1.25rem; }
.program-popup-backdrop { position: fixed; inset: 0; background: rgba(2,8,17,.78); backdrop-filter: blur(8px); animation: popup-fade .25s ease both; }
.program-popup-card { position: relative; z-index: 1; width: min(100%, 580px); max-height: calc(100svh - 2.5rem); overflow-y: auto; padding: clamp(1.5rem, 5vw, 2.8rem); border: 1px solid rgba(239,199,109,.35); border-radius: 24px; background: radial-gradient(ellipse at 90% 0%, rgba(239,199,109,.13), transparent 45%), #0b1a2e; color: #f7f4ed; box-shadow: 0 28px 90px rgba(0,0,0,.45); text-align: center; animation: popup-arrive .35s cubic-bezier(.2,.7,.2,1) both; }
.program-popup-close { position: absolute; top: 1rem; right: 1rem; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.05); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.program-popup-kicker { margin: .3rem 0 .55rem; color: #efc76d; font-size: .72rem; font-weight: 700; letter-spacing: .21em; text-transform: uppercase; }
.program-popup-card h2 { margin: 0; color: #fff; font: 400 clamp(2rem, 6vw, 3rem)/1.1 'Playfair Display', Georgia, serif; letter-spacing: -.03em; }
.program-popup-card h2 span { color: #efc76d; }
.program-popup-theme { margin: .65rem 0 1rem; color: #efc76d; font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.program-popup-description { max-width: 410px; margin: 0 auto 1.35rem; color: rgba(247,244,237,.8); line-height: 1.65; }
.program-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; margin: 0 auto 1.3rem; }
.program-countdown > div { display: grid; gap: .2rem; padding: .75rem .3rem; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.045); }
.program-countdown strong { color: #f3cb71; font-size: clamp(1.4rem, 5vw, 2rem); font-variant-numeric: tabular-nums; line-height: 1; }
.program-countdown span { color: rgba(247,244,237,.65); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.program-popup-details { margin: 0; color: rgba(247,244,237,.72); font-size: .85rem; line-height: 1.65; }
.program-popup-details strong { color: #fff; }
.program-popup-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.2rem; margin-top: 1.5rem; }
.program-popup-dismiss { padding: .7rem; border: 0; background: transparent; color: rgba(247,244,237,.72); font: inherit; cursor: pointer; }
.program-popup-open { overflow: hidden; }
@keyframes popup-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popup-arrive { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.home-event-countdown { position: relative; overflow: hidden; padding: clamp(2.8rem, 6vw, 4.5rem) 1.25rem; background: linear-gradient(110deg, #09182b, #102440 62%, #0a192d); color: #fff; }
.home-event-countdown::after { position: absolute; top: -145px; right: 7%; width: 320px; aspect-ratio: 1; border: 1px solid rgba(239,199,109,.12); border-radius: 50%; box-shadow: 0 0 0 28px rgba(239,199,109,.025), 0 0 0 58px rgba(239,199,109,.02); content: ''; pointer-events: none; }
.home-event-countdown-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); max-width: 1120px; }
.home-event-kicker { margin: 0 0 .65rem; color: #f1ca72; font-size: .7rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.home-event-kicker span { padding-right: .35rem; font-size: .9rem; }
.home-event-copy h2 { margin: 0 0 .55rem; color: #fff; font: 400 clamp(2rem, 4vw, 3.1rem)/1.1 'Playfair Display', Georgia, serif; letter-spacing: -.025em; }
.home-event-copy h2 em { color: #f1ca72; font-weight: 400; }
.home-event-copy > p:not(.home-event-kicker) { max-width: 510px; margin: 0 0 1.1rem; color: rgba(255,255,255,.72); font-size: .9rem; }
.home-event-copy > p:not(.home-event-kicker) span { padding-inline: .25rem; color: #f1ca72; }
.home-event-link { display: inline-flex; align-items: center; gap: .55rem; color: #f1ca72; font-size: .86rem; font-weight: 700; text-decoration: none; }
.home-event-link span { transition: transform .2s ease; }
.home-event-link:hover span { transform: translateX(5px); }
.home-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.home-countdown > div { display: grid; justify-items: center; gap: .4rem; padding: 1rem .4rem; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.045); backdrop-filter: blur(8px); }
.home-countdown strong { color: #f1ca72; font-size: clamp(1.65rem, 3.8vw, 2.6rem); font-variant-numeric: tabular-nums; line-height: 1; }
.home-countdown span { color: rgba(255,255,255,.65); font-size: .65rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
@media (max-width: 600px) {
  .leader-card--founder { grid-template-columns: 1fr; gap: 1.4rem; max-width: 420px; }
  .leader-photo { width: min(82%, 280px); margin-inline: auto; }
  .leader-card-copy { text-align: center; }
  .leader-card-copy > p:last-child { margin-inline: auto; }
  .program-popup-card { border-radius: 18px; }
  .program-countdown { gap: .35rem; }
  .program-popup-actions { flex-direction: column; }
}
@media (max-width: 760px) {
  .home-event-countdown-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-countdown { max-width: 540px; }
}
@media (max-width: 700px) {
  .founder-feature { padding: 4.5rem 1.25rem; }
  .founder-feature-inner { grid-template-columns: 1fr; gap: 2.8rem; }
  .founder-portrait-wrap { width: min(78%, 330px); }
  .founder-portrait-caption { right: -14px; bottom: 24px; }
  .founder-copy { text-align: center; }
  .founder-rule { margin-inline: auto; }
  .founder-description { margin-inline: auto; }
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #efbb38; outline-offset: 3px; }
main section[id], main [id] { scroll-margin-top: calc(var(--nav-height) + 1rem); }
.reveal { transform: translateY(22px); transition-duration: .68s; }
.reveal-stagger > * { transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger > *:nth-child(5) { transition-delay: .18s; }
@media (max-width: 900px) {
  :root { --nav-height: 72px; }
  .header-inner { justify-content: space-between; flex-wrap: nowrap; }
  .header-actions { margin-left: auto; gap: .5rem; }
  .nav-links { top: var(--nav-height); left: .75rem; right: .75rem; padding: .75rem; background: #07172d; border: 1px solid rgba(255,255,255,.12); border-radius: 0 0 16px 16px; box-shadow: var(--shadow-lg); }
  .nav-links a { padding: .8rem 1rem; }
  .hero--page { min-height: 290px; }
}
@media (max-width: 600px) {
  :root { --nav-height: 66px; }
  .site-header { min-height: var(--nav-height); }
  .header-inner { min-height: var(--nav-height); padding-inline: 1rem; }
  .logo-link::after { width: 126px; font-size: .56rem; }
  .home-brand { margin-left: .45rem; }
  .home-brand strong { font-size: .63rem; }
  .home-brand span { font-size: .48rem; }
  .nav-logo { width: 42px; height: 42px; }
  .theme-toggle, .hamburger { width: 36px; height: 36px; }
  .search-toggle { width: 36px; height: 36px; }
  .theme-toggle svg { width: 18px; height: 18px; }
  .hero--page { min-height: 260px; padding: 4.5rem 1.25rem 3rem; }
  .section { padding: 3.5rem 0; }
  .section > .container { padding-inline: 1.25rem; }
  .footer-inner { gap: 2rem; }
  .event-banner { border-left-width: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
