/* ==========================================================================
   1. DESIGN TOKENS — DARK (DEFAULT) & LIGHT MODE
   ========================================================================== */
:root {
  --primary-950: #03070e;
  --primary-900: #071120;
  --primary-800: #0d1f38;
  --primary-700: #15345a;
  --primary-600: #1d5696;
  --primary-500: #257bf4;
  --primary-300: #5cc8ff;
  --primary-100: rgba(56, 162, 248, 0.24);
  --primary-50: rgba(56, 162, 248, 0.13);

  --accent-red: #f42547;
  --accent-red-dark: #c81432;
  --accent-red-light: rgba(244, 37, 71, 0.16);
  --accent-gold: #f59e0b;
  --accent-gold-light: #fcd34d;

  --bg-body: #050b14;
  --bg-Alt: #091322;
  --bg-card: #0e1e34;
  --bg-header: rgba(11, 25, 44, 0.82);
  --bg-subnav: rgba(10, 23, 41, 0.78);
  --bg-dropdown: rgba(11, 25, 45, 0.96);
  --bg-dropdown-mobile: rgba(12, 27, 48, 0.72);
  --bg-input: rgba(5, 12, 22, 0.8);
  --bg-input-focus: #081527;
  --bg-conviction: linear-gradient(135deg, rgba(37, 123, 244, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
  --spotlight-color: rgba(92, 200, 255, 0.18);
  --bg-card-gradient:
    radial-gradient(circle at 92% 6%, rgba(37, 123, 244, 0.17) 0%, transparent 50%),
    radial-gradient(circle at 6% 94%, rgba(252, 211, 77, 0.06) 0%, transparent 46%),
    linear-gradient(160deg, #122845 0%, #0d1d33 54%, #091424 100%);
  --bg-card-gradient-hover:
    radial-gradient(540px circle at var(--spot-x, 88%) var(--spot-y, 8%), rgba(92, 200, 255, 0.22) 0%, transparent 62%),
    radial-gradient(circle at 88% 8%, rgba(92, 200, 255, 0.18) 0%, transparent 52%),
    radial-gradient(circle at 12% 90%, rgba(244, 37, 71, 0.11) 0%, transparent 48%),
    linear-gradient(160deg, #163154 0%, #10233d 54%, #0b182b 100%);
  --bg-feature-card:
    radial-gradient(circle at 96% 6%, rgba(92, 200, 255, 0.23) 0%, transparent 52%),
    radial-gradient(circle at 6% 94%, rgba(244, 37, 71, 0.11) 0%, transparent 48%),
    linear-gradient(145deg, #173860 0%, #102846 52%, #0a1b31 100%);
  --bg-feature-card-hover:
    radial-gradient(560px circle at var(--spot-x, 92%) var(--spot-y, 8%), rgba(92, 200, 255, 0.26) 0%, transparent 62%),
    radial-gradient(circle at 92% 8%, rgba(92, 200, 255, 0.22) 0%, transparent 54%),
    radial-gradient(circle at 10% 90%, rgba(244, 37, 71, 0.14) 0%, transparent 48%),
    linear-gradient(145deg, #1c4270 0%, #143052 52%, #0d213b 100%);

  --text-main: #f1f6fc;
  --heading-color: #f8fbff;
  --title-em-color: var(--accent-gold-light);
  --title-em-gradient: linear-gradient(120deg, #fef08a 0%, #fcd34d 48%, #f59e0b 100%);
  --text-muted: #97b1ca;
  --text-light: #68839e;
  --text-accent-primary: var(--primary-300);
  --border-subtle: rgba(125, 192, 240, 0.13);
  --border-strong: rgba(125, 192, 240, 0.25);
  --card-hover-border: rgba(92, 200, 255, 0.54);
  --badge-border: rgba(92, 200, 255, 0.25);
  --card-inner-shine: inset 0 1px 0 0 rgba(255, 255, 255, 0.09);
  --top-accent-gradient: linear-gradient(90deg, #fcd34d 0%, #38bdf8 36%, #257bf4 68%, #f42547 100%);
  --hero-fade-height: clamp(240px, 32vh, 340px);
  --hero-bottom-fade: linear-gradient(
    180deg,
    rgba(5, 11, 20, 0) 0%,
    rgba(5, 11, 20, 0.02) 10%,
    rgba(5, 11, 20, 0.07) 22%,
    rgba(5, 11, 20, 0.16) 35%,
    rgba(5, 11, 20, 0.3) 48%,
    rgba(5, 11, 20, 0.48) 60%,
    rgba(5, 11, 20, 0.66) 72%,
    rgba(5, 11, 20, 0.82) 83%,
    rgba(5, 11, 20, 0.93) 92%,
    #050b14 100%
  );

  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base-sm: 0.9375rem;
  --text-base: 1.05rem;
  --text-lg: 1.15rem;
  --text-xl: 1.35rem;
  --text-2xl: clamp(1.65rem, 2.5vw, 2.05rem);
  --text-3xl: clamp(1.9rem, 3.2vw, 2.45rem);
  --text-4xl: clamp(2.15rem, 4vw, 3.1rem);
  --text-5xl: clamp(2.55rem, 5.2vw, 4rem);
  --text-hero: clamp(2.85rem, 6.4vw, 4.85rem);

  --shadow-sm: 0 4px 12px rgba(2, 6, 14, 0.34), var(--card-inner-shine);
  --shadow-md: 0 14px 34px -8px rgba(2, 6, 14, 0.54), 0 4px 14px -2px rgba(2, 6, 14, 0.34), var(--card-inner-shine);
  --shadow-lg: 0 24px 52px -12px rgba(2, 6, 14, 0.68), 0 8px 20px -4px rgba(2, 6, 14, 0.4), var(--card-inner-shine);
  --shadow-xl: 0 32px 72px -14px rgba(2, 6, 14, 0.8), 0 12px 28px -6px rgba(2, 6, 14, 0.48), var(--card-inner-shine);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s var(--ease-out);
  --transition-med: 0.28s var(--ease-out);
}

html[data-theme="light"] {
  color-scheme: light;
  --primary-950: #06101e;
  --primary-900: #0a192f;
  --primary-800: #102a4c;
  --primary-700: #163d6e;
  --primary-600: #1b5299;
  --primary-500: #2563eb;
  --primary-300: #38bdf8;
  --primary-100: #e2e8f0;
  --primary-50: #f1f5f9;

  --accent-red: #e11d48;
  --accent-red-dark: #be123c;
  --accent-red-light: rgba(225, 29, 72, 0.12);
  --accent-gold: #d97706;
  --accent-gold-light: #f59e0b;

  --bg-body: #f8fafc;
  --bg-Alt: #eef3f9;
  --bg-card: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.88);
  --bg-subnav: rgba(248, 250, 252, 0.88);
  --bg-dropdown: rgba(255, 255, 255, 0.98);
  --bg-dropdown-mobile: #eef3f9;
  --bg-input: #f1f5f9;
  --bg-input-focus: #ffffff;
  --bg-conviction: #f1f5f9;
  --bg-card-gradient:
    radial-gradient(circle at 94% 6%, rgba(37, 99, 235, 0.05) 0%, transparent 48%),
    linear-gradient(165deg, #ffffff 0%, #ffffff 72%, #f9fbff 100%);
  --bg-card-gradient-hover:
    radial-gradient(520px circle at var(--spot-x, 90%) var(--spot-y, 8%), rgba(37, 99, 235, 0.095) 0%, transparent 62%),
    radial-gradient(circle at 90% 8%, rgba(27, 82, 153, 0.075) 0%, transparent 52%),
    radial-gradient(circle at 10% 92%, rgba(225, 29, 72, 0.045) 0%, transparent 48%),
    linear-gradient(165deg, #ffffff 0%, #f8fbff 60%, #f1f5f9 100%);
  --bg-feature-card:
    radial-gradient(circle at 96% 4%, rgba(14, 165, 233, 0.12) 0%, transparent 52%),
    radial-gradient(circle at 4% 96%, rgba(225, 29, 72, 0.06) 0%, transparent 48%),
    linear-gradient(145deg, #ffffff 0%, #f4f8fd 54%, #eaf2fb 100%);
  --bg-feature-card-hover:
    radial-gradient(540px circle at var(--spot-x, 94%) var(--spot-y, 6%), rgba(14, 165, 233, 0.16) 0%, transparent 62%),
    radial-gradient(circle at 94% 6%, rgba(37, 99, 235, 0.12) 0%, transparent 54%),
    radial-gradient(circle at 6% 94%, rgba(225, 29, 72, 0.08) 0%, transparent 48%),
    linear-gradient(145deg, #ffffff 0%, #eef5fc 50%, #e2edf9 100%);

  --text-main: #0f1d30;
  --heading-color: #071324;
  --title-em-color: var(--accent-red);
  --title-em-gradient: linear-gradient(120deg, #e11d48 0%, #f42547 52%, #1d4ed8 100%);
  --text-muted: #293e56;
  --text-light: #4d647d;
  --text-accent-primary: #174ea6;
  --border-subtle: rgba(15, 35, 62, 0.13);
  --border-strong: rgba(15, 35, 62, 0.23);
  --card-hover-border: rgba(23, 78, 166, 0.48);
  --badge-border: rgba(23, 78, 166, 0.26);
  --card-inner-shine: inset 0 1px 0 0 rgba(255, 255, 255, 0.96);
  --top-accent-gradient: linear-gradient(90deg, #174ea6 0%, #2563eb 36%, #0ea5e9 64%, #e11d48 100%);
  --hero-bottom-fade: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0) 0%,
    rgba(248, 250, 252, 0.02) 10%,
    rgba(248, 250, 252, 0.06) 22%,
    rgba(248, 250, 252, 0.15) 35%,
    rgba(248, 250, 252, 0.28) 48%,
    rgba(248, 250, 252, 0.46) 60%,
    rgba(248, 250, 252, 0.65) 72%,
    rgba(248, 250, 252, 0.82) 83%,
    rgba(248, 250, 252, 0.94) 92%,
    #f8fafc 100%
  );

  --shadow-sm: 0 2px 8px -1px rgba(10, 25, 47, 0.07), 0 1px 3px rgba(10, 25, 47, 0.04), var(--card-inner-shine);
  --shadow-md: 0 14px 32px -8px rgba(10, 25, 47, 0.11), 0 4px 12px -3px rgba(10, 25, 47, 0.05), var(--card-inner-shine);
  --shadow-lg: 0 22px 48px -12px rgba(10, 25, 47, 0.15), 0 8px 20px -6px rgba(10, 25, 47, 0.07), var(--card-inner-shine);
  --shadow-xl: 0 30px 64px -14px rgba(10, 25, 47, 0.19), 0 12px 28px -8px rgba(10, 25, 47, 0.09), var(--card-inner-shine);
}

/* ==========================================================================
   2. RESET, BASE & LAYOUT CONTAINERS
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background-color: rgba(40, 120, 216, 0.34);
  color: var(--heading-color);
}

html[data-theme="light"] ::selection {
  background-color: rgba(37, 105, 184, 0.18);
  color: var(--primary-900);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 136px;
  font-size: 16px;
  color-scheme: dark;
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-600) var(--bg-body);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.75;
  font-optical-sizing: auto;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  opacity: 1;
  transition: opacity 0.26s var(--ease-out), background-color 0.25s ease, color 0.25s ease;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.schedule-time,
.vm-card-badge,
.belief-number,
.accordion-idx,
.value-num,
.event-date-badge {
  font-variant-numeric: tabular-nums;
}

html.page-leaving body {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease-out;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

.container,
.container-narrow {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.container {
  max-width: 1240px;
}

.container-narrow {
  max-width: 920px;
}

.section-pad {
  padding: 92px 0;
  position: relative;
}

.events-section {
  padding: 64px 0 84px;
  position: relative;
}

.sunday-experience-section {
  padding: 64px 0 60px;
  position: relative;
}

.section-pad.bg-alt,
.events-section {
  background-color: var(--bg-Alt);
  background-image:
    radial-gradient(circle at 10% 16%, rgba(40, 120, 216, 0.11) 0%, transparent 46%),
    radial-gradient(circle at 90% 84%, rgba(229, 169, 60, 0.055) 0%, transparent 44%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

html[data-theme="light"] .section-pad.bg-alt,
html[data-theme="light"] .events-section {
  background-image:
    radial-gradient(circle at 10% 16%, rgba(37, 105, 184, 0.065) 0%, transparent 46%),
    radial-gradient(circle at 90% 84%, rgba(184, 125, 20, 0.04) 0%, transparent 44%);
}

.section-pad.bg-white {
  background-color: var(--bg-body);
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(40, 120, 216, 0.06) 0%, transparent 65%);
}

html[data-theme="light"] .section-pad.bg-white {
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 105, 184, 0.035) 0%, transparent 65%);
}

.section-header {
  margin-bottom: 40px;
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-header-center .section-subtitle {
  margin: 0 auto;
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: nowrap;
}

.section-header-row > .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.section-header-row .section-title {
  margin-bottom: 8px;
}

.section-header .section-title:last-child,
.section-header-center .section-title:last-child,
.section-header-row .section-title:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   3. TYPOGRAPHY, SHARED ACCENTS & BUTTONS
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-accent-primary);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-gold-light) 100%);
  border-radius: 3px;
  transform-origin: left center;
  transition: transform 0.65s var(--ease-out) 0.14s;
}

.reveal-on-scroll:not(.is-visible) .eyebrow::before,
.eyebrow.reveal-on-scroll:not(.is-visible)::before {
  transform: scaleX(0);
}

.eyebrow.light {
  color: var(--primary-300);
}

.eyebrow.light::before {
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-gold-light) 100%);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.section-title em,
.welcome-card-title em,
.membership-highlight-title em {
  font-style: italic;
  color: var(--title-em-color);
  background-image: var(--title-em-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.75;
}

.welcome-card-text strong,
.content-block p strong,
.story-text p strong,
.ministry-content p strong,
.membership-highlight-text strong,
.accordion-body p strong {
  color: var(--heading-color);
  font-weight: 700;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition:
    transform 0.24s var(--ease-out),
    box-shadow 0.24s var(--ease-out),
    background-color 0.22s var(--ease-out),
    color 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}

.btn:hover::after {
  left: 125%;
  transition: left 0.52s cubic-bezier(0.4, 0, 0.2, 1) 0.03s;
}

.btn-sm {
  padding: 10px 22px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 17px 32px;
  font-size: var(--text-base-sm);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  background-color: var(--primary-500);
  color: #ffffff;
  border-color: rgba(107, 198, 255, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3284e6 0%, var(--primary-500) 100%);
  background-color: var(--primary-500);
  border-color: rgba(107, 198, 255, 0.42);
  color: #ffffff;
  box-shadow: 0 10px 24px -6px rgba(40, 120, 216, 0.48);
}

.btn-accent {
  background: linear-gradient(135deg, #f52843 0%, var(--accent-red) 55%, var(--accent-red-dark) 100%);
  background-color: var(--accent-red);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #ff334d 0%, var(--accent-red) 100%);
  background-color: var(--accent-red);
  border-color: rgba(255, 255, 255, 0.26);
  color: #ffffff;
  box-shadow: 0 10px 24px -6px rgba(239, 35, 60, 0.46);
}

.btn-outline {
  background-color: var(--primary-50);
  color: var(--text-accent-primary);
  border: 1px solid var(--badge-border);
  box-shadow: none;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.btn-outline::after {
  display: none;
}

.btn-outline:hover {
  background-color: var(--primary-600);
  border-color: var(--primary-600);
  color: #ffffff;
  box-shadow: none;
  transform: translateY(-1px) scale(1.05);
}

/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  transition:
    background-color 0.28s var(--ease-out),
    backdrop-filter 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out),
    border-color 0.28s var(--ease-out);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 84px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='d' color-interpolation-filters='sRGB'%3E%3CfeColorMatrix type='matrix' values='1 0.85 1.65 0 0  -0.4 1.35 1.95 0 0  -0.4 1.45 2.2 0 0  0 0 0 1 0'/%3E%3C/filter%3E%3C/svg%3E#d") drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
}

@media (min-width: 981px) {
  .nav-menu {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border-subtle);
    padding: 5px 6px;
    border-radius: var(--radius-full);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  html[data-theme="light"] .nav-menu {
    background: rgba(15, 29, 48, 0.035);
    border-color: rgba(15, 35, 62, 0.11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 18px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(242, 247, 251, 0.88);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.nav-link:has(.chevron) {
  padding-left: 18px;
  padding-right: 13px;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background-color: var(--accent-red);
  border-color: transparent;
  box-shadow: none;
}

.nav-link .chevron {
  width: 13px;
  height: 13px;
  margin-left: -1px;
  margin-right: -2px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
  opacity: 0.72;
}

.nav-item:hover .nav-link .chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-link-give {
  background-color: var(--primary-600);
  color: #ffffff !important;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  margin-left: 4px;
  border: 1px solid rgba(140, 198, 232, 0.28);
  box-shadow: none;
}

.nav-link-give:hover,
.nav-link-give.active {
  background-color: var(--accent-red) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 244px;
  background: var(--bg-dropdown);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-strong);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform-origin: top left;
  transform: translateY(10px) scale(0.97);
  transition:
    opacity 0.22s var(--ease-out),
    transform 0.22s var(--ease-out),
    visibility 0.22s var(--ease-out);
  z-index: 1100;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 15px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 247, 251, 0.88);
  border-radius: var(--radius-full);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.dropdown-link+.dropdown-link {
  margin-top: 2px;
}

.dropdown-link:hover {
  background-color: var(--accent-red);
  color: #ffffff;
  transform: translateX(3px);
}

.mobile-toggle {
  display: none;
  background: var(--primary-50);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 9px;
  color: var(--heading-color);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--primary-100);
  border-color: var(--primary-500);
}

/* ==========================================================================
   5. HERO SECTIONS & SUBNAV PILL BAR
   ========================================================================== */
html.hero-loading body {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.hero-loading *,
html.hero-loading *::before,
html.hero-loading *::after {
  animation-play-state: paused !important;
}

.hero-home,
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--primary-950);
  color: #ffffff;
  text-align: center;
}

.hero-home {
  min-height: calc(100vh + var(--hero-fade-height));
  min-height: calc(100svh + var(--hero-fade-height));
  min-height: calc(var(--hero-min-height, 100svh) + var(--hero-fade-height));
  padding: 140px 24px calc(140px + var(--hero-fade-height));
  background: url("https://static.wixstatic.com/media/a808b9_8d120ddf68a4493a9a5a369c5f6e56eef000.jpg")
    center center / cover no-repeat var(--primary-950);
}

.page-hero {
  min-height: 440px;
  padding: 140px 24px 80px;
}

.hero-video-bg,
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  dynamic-range-limit: standard;
}

.hero-video-bg {
  opacity: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: opacity 0.35s ease;
}

.hero-video-bg.is-ready {
  opacity: 1;
}

.page-hero-bg {
  opacity: 1;
  transform-origin: center center;
  will-change: transform;
  animation: heroZoomOut 1.8s var(--ease-out) both;
}

.hero-overlay,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 58% 44% at 50% 50%, rgba(4, 11, 19, 0.28) 0%, rgba(4, 10, 16, 0.1) 100%),
    linear-gradient(180deg, rgba(4, 10, 16, 0.18) 0%, rgba(7, 17, 28, 0.08) 50%, rgba(6, 13, 21, 0.24) 100%);
  background-size: 100% 100%, 100% 100%;
  z-index: 2;
}

.hero-home::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: calc(var(--hero-fade-height) + 1px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.08) 18%,
    rgba(0, 0, 0, 0.28) 38%,
    rgba(0, 0, 0, 0.6) 62%,
    rgba(0, 0, 0, 0.88) 84%,
    #000000 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.08) 18%,
    rgba(0, 0, 0, 0.28) 38%,
    rgba(0, 0, 0, 0.6) 62%,
    rgba(0, 0, 0, 0.88) 84%,
    #000000 100%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-home::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: calc(var(--hero-fade-height) + 1px);
  background: var(--hero-bottom-fade);
  pointer-events: none;
  z-index: 2;
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  padding: 20px 32px;
}

.hero-content {
  max-width: 980px;
}

.page-hero-content {
  max-width: 820px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.2vw, 5.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: #ffffff;
  color: color(display-p3 1 1 1);
  margin-bottom: 20px;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.hero-title:not([data-hero-animated]) {
  animation: heroWordReveal 0.9s var(--ease-out) 0.1s both;
}

.hero-word {
  display: inline-block;
  color: #ffffff;
  color: color(display-p3 1 1 1);
  animation: heroWordReveal 0.92s cubic-bezier(0.16, 1, 0.3, 1) calc(0.08s + var(--word-i, 0) * 0.09s) both;
}

.hero-title .hero-highlight {
  position: relative;
  display: inline-block;
  padding: 0 0.06em 0.14em;
  margin-left: 0.04em;
  vertical-align: baseline;
  animation: heroHighlightReveal 1.05s cubic-bezier(0.16, 1, 0.3, 1) calc(0.12s + var(--word-i, 4) * 0.09s) both;
}

.hero-title .hero-highlight-text {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.045em;
  color: #ffe08a;
  background-image: linear-gradient(
    112deg,
    #ffe08a 0%,
    #ffd56b 24%,
    #fffdf4 48%,
    #ffe08a 56%,
    #f0bc4b 78%,
    #ffe8a3 100%
  );
  background-size: 240% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  will-change: background-position;
  animation: heroGoldShimmer 6.5s ease-in-out 1.3s infinite;
}

.hero-highlight-svg {
  position: absolute;
  left: -4%;
  bottom: -0.06em;
  width: 108%;
  height: 0.34em;
  overflow: visible;
  pointer-events: none;
  filter: none;
}

.hero-arc-main {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: heroArcDraw 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.62s forwards;
}

.hero-arc-echo {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  animation: heroArcEchoDraw 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.78s forwards;
}

.hero-subtitle-banner {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.15vw, 1.56rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  color: color(display-p3 1 1 1);
  margin-bottom: 0;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  animation: heroWordReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.56s both;
}

.hero-subtitle-banner strong,
.hero-subtitle-banner em {
  color: #ffe08a;
  font-weight: 800;
  font-style: normal;
}

@keyframes heroWordReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroHighlightReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.88);
  }

  65% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroGoldShimmer {
  0%,
  18% {
    background-position: 0% 50%;
  }

  52% {
    background-position: 100% 50%;
  }

  84%,
  100% {
    background-position: 0% 50%;
  }
}

@keyframes heroHaloBloom {
  from {
    opacity: 0;
    transform: scale(0.75);
  }

  to {
    opacity: 0.85;
    transform: scale(1);
  }
}

@keyframes heroHaloBreathe {
  from {
    opacity: 0.65;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes heroArcDraw {
  0% {
    stroke-dashoffset: 1;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes heroArcEchoDraw {
  0% {
    stroke-dashoffset: 1;
    opacity: 0;
  }

  20% {
    opacity: 0.68;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0.68;
  }
}

@keyframes heroUnderlineDraw {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }

  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.page-hero-content .eyebrow.light {
  color: #ffffff;
  color: color(display-p3 1 1 1);
  text-shadow: none;
  animation: heroFadeUp 0.75s var(--ease-out) 0.05s both;
}

.page-hero-title {
  position: relative;
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  padding-bottom: 14px;
  letter-spacing: 0.005em;
  color: #ffffff;
  color: color(display-p3 1 1 1);
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

.page-hero-title:not([data-hero-animated]) {
  animation: heroWordReveal 0.88s var(--ease-out) 0.14s both;
}

.page-hero-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72px;
  height: 2.5px;
  margin-left: -36px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    90deg,
    rgba(255, 224, 138, 0) 0%,
    #ffe08a 26%,
    #fffdf2 50%,
    #ffe08a 74%,
    rgba(255, 224, 138, 0) 100%
  );
  transform: scaleX(0);
  transform-origin: center;
  pointer-events: none;
  animation: heroUnderlineDraw 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

.page-hero-title em {
  font-style: italic;
  color: var(--accent-gold-light);
  background-image: linear-gradient(115deg, #ffe79e 0%, #fffdf4 48%, #f5bd41 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.page-hero-desc {
  font-size: clamp(1rem, 1.55vw, 1.15rem);
  font-weight: 600;
  color: #ffffff;
  color: color(display-p3 1 1 1);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.68;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  animation: heroWordReveal 0.88s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

/* Quick Jump Subnav Pill Bar */
.subnav-bar {
  background: var(--bg-subnav);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 84px;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}

.subnav-bar .container {
  max-width: 1320px;
  padding: 0;
}

.subnav-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-padding-inline: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

@media (min-width: 901px) {
  .subnav-bar {
    width: fit-content;
    max-width: calc(100% - 48px);
    margin: -26px auto -26px;
    top: 96px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
    padding: 3px 6px;
  }

  .subnav-list {
    padding: 5px 6px;
    gap: 8px;
  }
}

.subnav-list::-webkit-scrollbar {
  height: 4px;
}

.subnav-list::-webkit-scrollbar-track {
  background: transparent;
}

.subnav-list::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
}

.subnav-pill {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heading-color);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: none;
  white-space: nowrap;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.subnav-pill:first-child {
  margin-left: auto;
}

.subnav-pill:last-child {
  margin-right: auto;
}

.subnav-pill:hover {
  transform: translateY(-1px);
}

.subnav-pill:hover,
.subnav-pill.active {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
  box-shadow: none;
}

/* ==========================================================================
   6. SHARED CARD SURFACES, FEATURE CARDS & HOVER STATES
   ========================================================================== */
.welcome-card,
.schedule-card,
.content-block,
.event-card,
.story-split,
.leader-card,
.vm-card,
.value-card,
.belief-item,
.accordion-item,
.city-card,
.ministry-feature-card,
.membership-highlight-card,
.sermon-card,
.podcast-platform-card,
.contact-info-card,
.contact-form-card,
.map-frame-wrap,
.give-action-card,
.callout-banner {
  background: var(--bg-card-gradient);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-med),
    transform var(--transition-med);
}

/* Interactive Card Border & Clickable Spotlight Hover States */
.welcome-card:hover,
.content-block:hover,
.event-card:hover,
.story-split:hover,
.leader-card:hover,
.value-card:hover,
.belief-item:hover,
.accordion-item:hover,
.accordion-item.open,
.city-card:hover,
.ministry-feature-card:hover,
.sermon-card:hover,
.podcast-platform-card:hover,
.contact-form-card:hover,
.map-frame-wrap:hover,
.callout-banner:hover {
  border-color: var(--card-hover-border);
}

.event-card:hover,
.leader-card:hover,
.value-card:hover,
.belief-item:hover,
.accordion-item:hover,
.accordion-item.open,
.city-card:hover,
.sermon-card:hover,
.podcast-platform-card:hover {
  background: var(--bg-card-gradient-hover);
}

/* Shared Icon & Number Badges */
.icon-box,
.city-icon,
.map-card-pin {
  background: var(--primary-50);
  color: var(--text-accent-primary);
  border: 1px solid var(--badge-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.icon-box,
.city-icon,
.map-card-pin {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.city-card:hover .city-icon,
.content-block:hover > h3 .icon-box,
.sunday-overview-section:hover h3 .icon-box,
.schedule-card:hover h3 .icon-box,
.map-frame-wrap:hover .map-card-pin {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
  box-shadow: none;
  transform: translateY(-1px) scale(1.05);
}

.belief-number,
.accordion-idx {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--text-accent-primary);
  background: var(--primary-50);
  border: 1px solid var(--badge-border);
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.belief-item:hover .belief-number,
.accordion-item:hover .accordion-idx,
.accordion-item.open .accordion-idx {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
  transform: translateY(-1px);
}

/* ==========================================================================
   7. HOME PAGE: WELCOME OVERLAP BOX, SUNDAY SCHEDULE & UPCOMING EVENTS
   ========================================================================== */
.welcome-overlap-section {
  position: relative;
  z-index: 10;
  margin-top: calc(48px - var(--hero-fade-height));
  padding: 0 0 60px;
}

.welcome-card {
  padding: 34px 38px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.welcome-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.welcome-card-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color);
}

.welcome-card-title em {
  font-weight: 600;
}

.welcome-card-text {
  font-size: var(--text-base);
  line-height: 1.82;
  color: var(--text-main);
  max-width: 96ch;
}

.sunday-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(380px, 33vw, 430px);
  gap: 32px;
  align-items: start;
  margin-bottom: 0;
}

.sunday-grid>.welcome-card {
  grid-column: 1 / -1;
  grid-row: 1;
}

.sunday-grid>.sunday-overview-card {
  grid-column: 1;
  margin-bottom: 0;
}

.sunday-overview-card h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.sunday-grid>.schedule-sidebar {
  grid-column: 2;
  grid-row: 2 / span 2;
}

.content-block {
  padding: 28px 32px;
  margin-bottom: 32px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.sunday-overview-section+.sunday-overview-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.content-block h3,
.schedule-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.85vw, 1.62rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--heading-color);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.schedule-card h3 {
  margin-bottom: 16px;
  min-width: 0;
}

.content-block p {
  font-size: var(--text-base);
  color: var(--text-main);
  line-height: 1.82;
}

.schedule-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 108px;
  align-self: start;
  min-width: 0;
}

.schedule-card {
  padding: 24px 26px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.welcome-schedule {
  margin: 24px 0 0;
  padding: 24px 0 0;
  background: transparent;
  border-top: 1px solid var(--border-subtle);
}

.welcome-card {
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.schedule-card,
.highlights-card,
.vm-card,
.membership-highlight-card,
.contact-info-card,
.give-action-card {
  background: var(--bg-feature-card);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.schedule-card:hover,
.highlights-card:hover,
.vm-card:hover,
.membership-highlight-card:hover,
.contact-info-card:hover,
.give-action-card:hover {
  border-color: var(--card-hover-border);
}

.schedule-card::before,
.highlights-card::before,
.vm-card::before,
.membership-highlight-card::before,
.contact-info-card::before,
.give-action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--top-accent-gradient);
  background-size: 200% 100%;
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 0.75s var(--ease-out) calc(var(--reveal-delay, 0ms) + 120ms);
  animation: topAccentShimmer 7s ease-in-out infinite;
}

.schedule-card.reveal-on-scroll:not(.is-visible)::before,
.highlights-card.reveal-on-scroll:not(.is-visible)::before,
.vm-card.reveal-on-scroll:not(.is-visible)::before,
.membership-highlight-card.reveal-on-scroll:not(.is-visible)::before,
.contact-info-card.reveal-on-scroll:not(.is-visible)::before,
.give-action-card.reveal-on-scroll:not(.is-visible)::before {
  transform: scaleX(0);
}

@keyframes topAccentShimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.schedule-card h3 .icon-box,
.highlights-card h3 .icon-box,
.sunday-overview-card h3 .icon-box {
  background: rgba(107, 198, 255, 0.14);
  border-color: rgba(107, 198, 255, 0.26);
}

.schedule-card:hover h3 .icon-box,
.highlights-card:hover h3 .icon-box,
.sunday-overview-section:hover h3 .icon-box {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
  transform: translateY(-1px) scale(1.05);
}

html[data-theme="light"] .welcome-card,
html[data-theme="light"] .schedule-card,
html[data-theme="light"] .highlights-card,
html[data-theme="light"] .vm-card,
html[data-theme="light"] .membership-highlight-card,
html[data-theme="light"] .contact-info-card,
html[data-theme="light"] .give-action-card {
  border-color: rgba(22, 61, 110, 0.30);
}

html[data-theme="light"] .schedule-card:hover,
html[data-theme="light"] .highlights-card:hover,
html[data-theme="light"] .vm-card:hover,
html[data-theme="light"] .membership-highlight-card:hover,
html[data-theme="light"] .contact-info-card:hover,
html[data-theme="light"] .give-action-card:hover {
  border-color: var(--card-hover-border);
}

html[data-theme="light"] .schedule-card h3 .icon-box,
html[data-theme="light"] .highlights-card h3 .icon-box,
html[data-theme="light"] .sunday-overview-card h3 .icon-box {
  background: var(--primary-50);
  color: var(--primary-800);
  border-color: var(--badge-border);
}

html[data-theme="light"] .schedule-card:hover h3 .icon-box,
html[data-theme="light"] .highlights-card:hover h3 .icon-box,
html[data-theme="light"] .sunday-overview-section:hover h3 .icon-box {
  background: var(--primary-700);
  color: #ffffff;
  border-color: var(--primary-700);
}

.schedule-items {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.schedule-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  padding: 0 clamp(10px, 1.2vw, 18px) 0 0;
  border-top: none;
  min-width: 0;
  white-space: nowrap;
}

.schedule-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-50);
  border: 1px solid var(--badge-border);
  color: var(--text-accent-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

html[data-theme="light"] .schedule-icon-badge {
  background: var(--primary-50);
  color: var(--primary-800);
  border-color: var(--badge-border);
}

.schedule-row-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  white-space: nowrap;
}

.schedule-row + .schedule-row,
.schedule-items > .schedule-location-note {
  position: relative;
  padding-left: clamp(12px, 1.5vw, 24px);
}

.schedule-row + .schedule-row::before,
.schedule-items > .schedule-location-note::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background: var(--border-strong);
}

html[data-theme="light"] .schedule-row + .schedule-row::before,
html[data-theme="light"] .schedule-items > .schedule-location-note::before {
  background: var(--badge-border);
}

.schedule-label,
.schedule-time {
  font-family: var(--font-heading);
  white-space: nowrap;
}

.schedule-label {
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-accent-primary);
  line-height: 1.25;
}

.schedule-time {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--heading-color);
  line-height: 1.3;
}

.schedule-location-note {
  margin-top: 0;
  display: flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.schedule-location-note a {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  line-height: 1.3;
}

.schedule-location-note a:hover .schedule-icon-badge {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
  transform: translateY(-1px) scale(1.05);
}

html[data-theme="light"] .schedule-location-note a:hover .schedule-icon-badge {
  background: var(--primary-700);
  color: #ffffff;
  border-color: var(--primary-700);
}

/* Recent Highlights Scrollable Carousel Card */
.highlights-card {
  margin-bottom: 0;
  position: relative;
}

.highlights-card h3 {
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.highlights-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 12px;
  outline: none;
}

.highlights-carousel-track::-webkit-scrollbar {
  display: none;
}

.highlights-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.highlights-media,
.highlights-media-trigger {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--primary-900);
  padding: 0;
  display: block;
}

.highlights-media-trigger {
  cursor: pointer;
}

.highlights-media img,
.highlights-media-trigger img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.65s var(--ease-out);
}

.highlights-media:hover img,
.highlights-media-trigger:hover img,
.highlights-media-trigger:focus-visible img {
  transform: scale(1.05);
}

.highlights-media .event-date-badge,
.highlights-media-trigger .event-date-badge {
  bottom: 12px;
  right: 12px;
  pointer-events: none;
}

.highlights-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.highlights-card .highlights-caption {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-main);
  margin: 0;
  white-space: normal;
  overflow-wrap: break-word;
}

.highlights-card .highlights-caption strong {
  color: var(--heading-color);
  font-weight: 700;
}

.highlights-card .highlights-caption a {
  color: var(--text-accent-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.highlights-card .highlights-caption a:hover {
  color: var(--accent-red);
}

.highlights-controls {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.highlights-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--badge-border);
  background: var(--primary-50);
  color: var(--text-accent-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.highlights-nav-btn:hover,
.highlights-nav-btn:focus-visible {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
  transform: translateY(-1px) scale(1.05);
}

html[data-theme="light"] .highlights-nav-btn {
  background: var(--primary-50);
  color: var(--primary-800);
  border-color: var(--badge-border);
}

html[data-theme="light"] .highlights-nav-btn:hover,
html[data-theme="light"] .highlights-nav-btn:focus-visible {
  background: var(--primary-700);
  color: #ffffff;
  border-color: var(--primary-700);
}

.highlights-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.highlights-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: var(--border-strong);
  cursor: pointer;
  transition: width 0.25s var(--ease-out), background-color var(--transition-fast);
}

.highlights-dot.is-active {
  width: 22px;
  background: linear-gradient(90deg, var(--primary-500) 0%, var(--accent-red) 100%);
}

.events-carousel {
  position: relative;
}

.events-grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 18px;
  margin: -8px -4px -18px;
  scroll-padding-left: 4px;
  outline: none;
}

.events-grid::-webkit-scrollbar {
  display: none;
}

.event-card {
  flex: 0 0 calc((100% - 56px) / 3);
  width: calc((100% - 56px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.event-card:last-child {
  scroll-snap-align: end;
}

.events-carousel-controls {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.events-carousel:not(:has(.event-card:nth-child(4))) .events-carousel-controls {
  display: none;
}

.events-nav-btn {
  width: 34px;
  height: 34px;
}

.event-card-visual {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: var(--primary-800);
}

.event-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(5, 11, 20, 0.52) 100%);
  pointer-events: none;
  z-index: 1;
}

.event-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.event-card:hover .event-card-visual img {
  transform: scale(1.06);
}

.event-card-body {
  padding: 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-date-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-accent-primary);
  background: rgba(6, 19, 28, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--badge-border);
  padding: 6px 13px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.event-date-badge svg {
  flex-shrink: 0;
  color: currentColor;
}

html[data-theme="light"] .event-date-badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-800);
  border-color: rgba(22, 63, 92, 0.28);
  box-shadow: 0 4px 14px rgba(11, 31, 46, 0.18);
}

.event-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.event-card-desc {
  font-size: var(--text-base);
  color: var(--text-main);
  line-height: 1.82;
  margin-bottom: 20px;
  flex: 1;
}

.event-card-desc:last-child {
  margin-bottom: 0;
}

.event-card-desc a {
  color: var(--text-accent-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.event-card-desc a:hover {
  color: var(--accent-red);
}

.event-card-link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.event-card-link svg {
  transition: transform var(--transition-fast);
}

.event-card-link:hover {
  color: var(--accent-red);
}

.event-card-link:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   8. ABOUT US PAGE: HISTORY, LEADERS, VISION & MISSION
   ========================================================================== */
.story-split {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: start;
  padding: 38px 42px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.story-split.reverse {
  grid-template-columns: 1fr 360px;
}

.story-split+.leaders-subsection {
  margin-top: 80px;
}

.story-photo-card {
  position: static;
}

@media (min-width: 1081px) {
  .story-split:has(.story-inline-unit.is-expanded) {
    overflow: visible;
  }

  .story-split:has(.story-inline-unit.is-expanded) .story-photo-card {
    position: sticky;
    top: 176px;
  }
}

.story-photo-card img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: center 18%;
  aspect-ratio: 1 / 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.story-photo-caption {
  padding: 16px 8px 0;
  text-align: center;
}

.story-photo-caption h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--heading-color);
}

.story-photo-caption p {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 4px;
}

.story-text .eyebrow {
  margin-bottom: 12px;
}

.story-text p {
  font-size: var(--text-base);
  color: var(--text-main);
  margin-bottom: 18px;
  line-height: 1.82;
}

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

/* Inline Read-More Switch */
.story-inline-unit {
  margin: 0;
}

.story-inline-content {
  max-height: 360px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, #000000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000000 58%, transparent 100%);
  transition: max-height 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-inline-unit.is-expanded .story-inline-content {
  max-height: 2200px;
  -webkit-mask-image: none;
  mask-image: none;
}

.story-inline-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.story-readmore-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-accent-primary);
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.story-readmore-switch:hover {
  color: var(--heading-color);
}

.readmore-switch-track {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: var(--primary-50);
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  padding: 2px;
  flex-shrink: 0;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.readmore-switch-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-accent-primary);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), background var(--transition-fast);
}

.story-inline-unit.is-expanded .readmore-switch-track {
  background: var(--primary-600);
  border-color: var(--primary-500);
}

.story-inline-unit.is-expanded .readmore-switch-thumb {
  transform: translateX(16px);
  background: #ffffff;
}

.readmore-chevron {
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}

.story-inline-unit.is-expanded .readmore-chevron {
  transform: rotate(180deg);
}

.conviction-box {
  background: var(--bg-conviction);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--primary-500);
  padding: 22px 26px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 22px 0;
}

.conviction-box h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-accent-primary);
  margin-bottom: 12px;
}

.conviction-list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.conviction-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--text-accent-primary);
  font-weight: 800;
}

.leaders-grid,
.area-cities-grid,
.sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.leaders-grid {
  margin-top: 28px;
}

.leader-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 24px 28px;
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 96px;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, var(--primary-50) 0%, transparent 100%);
  pointer-events: none;
}

.leader-avatar {
  position: relative;
  z-index: 1;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 20px;
  border: 4px solid var(--bg-card);
  outline: 2px solid var(--primary-500);
  box-shadow: 0 10px 28px -5px rgba(0, 0, 0, 0.4);
  background-color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
}

.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform-origin: center 25%;
  transition: transform 0.45s var(--ease-out);
}

.leader-card:hover .leader-avatar img {
  transform: scale(1.08);
}

.leader-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.leader-role {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-accent-primary);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.vm-card {
  padding: 38px 42px;
}

.vm-card-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-accent-primary);
  margin-bottom: 16px;
}

.vm-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 16px;
}

.vm-card p {
  font-size: var(--text-base);
  line-height: 1.82;
  color: var(--text-main);
}

.callout-banner {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.callout-banner h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.3;
}

/* ==========================================================================
   9. WHAT WE TEACH: CORE VALUES, 23 CORE BELIEFS, DOCTRINAL STAND
   ========================================================================== */
.values-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.value-card {
  border-radius: var(--radius-md);
  padding: 28px 18px;
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.value-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--text-accent-primary);
  border: 1px solid var(--badge-border);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-base-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: none;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.value-card:hover .value-num {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
  transform: translateY(-2px) scale(1.06);
}

.value-title {
  font-family: var(--font-display);
  font-size: clamp(1.04rem, 1.18vw, 1.16rem);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.35;
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.belief-item {
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

.belief-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.belief-number {
  margin-top: 2px;
  min-width: 36px;
  height: 36px;
  border-radius: 10px;
}

.belief-text {
  font-size: var(--text-base);
  color: var(--text-main);
  line-height: 1.68;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding-bottom: 4px;
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.accordion-item.open .accordion-trigger {
  padding-bottom: 16px;
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.accordion-title {
  font-family: var(--font-display);
  font-size: clamp(1.14rem, 1.38vw, 1.26rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading-color);
}

.accordion-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-accent-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.accordion-readmore svg {
  transition: transform var(--transition-fast);
}

.accordion-item.open .accordion-readmore svg {
  transform: rotate(180deg);
}

.accordion-body {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 32px 0 80px;
  color: var(--text-main);
  font-size: var(--text-base);
  line-height: 1.8;
  transform: translateY(-6px);
  transition:
    max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s var(--ease-out),
    padding-bottom 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.34s var(--ease-out);
}

.accordion-item.open .accordion-body {
  max-height: 1600px;
  opacity: 1;
  padding-bottom: 36px;
  transform: translateY(0);
}

.accordion-body p+p {
  margin-top: 12px;
}

.accordion-body p:last-child {
  padding-bottom: 6px;
}

/* ==========================================================================
   10. GET INVOLVED PAGE: AREA FELLOWSHIP, MINISTRIES & MEMBERSHIP
   ========================================================================== */
.city-card {
  border-radius: var(--radius-lg);
  padding: 30px 24px 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
  overflow: hidden;
}

.city-icon {
  margin-bottom: 16px;
}

.city-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.2;
  margin-bottom: 8px;
}

.city-leader {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.ministry-feature-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  margin-bottom: 40px;
}

.ministry-feature-card.reverse {
  grid-template-columns: 1.25fr 1fr;
}

.ministry-visual {
  min-height: 320px;
  position: relative;
  background: var(--primary-800);
  overflow: hidden;
}

.ministry-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 11, 20, 0.36) 100%);
  pointer-events: none;
  z-index: 1;
}

.ministry-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.ministry-feature-card:hover .ministry-visual img {
  transform: scale(1.05);
}

.ministry-content {
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ministry-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-accent-primary);
  margin-bottom: 10px;
}

.ministry-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.2;
  margin-bottom: 16px;
}

.ministry-content p {
  font-size: var(--text-base);
  color: var(--text-main);
  line-height: 1.82;
  margin-bottom: 20px;
}

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

.ministry-content p a {
  color: var(--text-accent-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.ministry-content p a:hover {
  color: var(--accent-red);
}

.play-overlay.ministry-video-trigger,
.ministry-feature-card:hover .play-overlay.ministry-video-trigger,
.play-overlay.ministry-video-trigger:hover,
.play-overlay.ministry-video-trigger:focus-visible {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Video Modal Overlay */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 12, 18, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), visibility 0.25s var(--ease-out);
}

.video-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.75);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.28s var(--ease-out);
}

.video-modal-overlay.is-open .video-modal-dialog {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 19, 28, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.video-modal-close:hover,
.video-modal-close:focus-visible {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: scale(1.06);
  outline: none;
}

.video-modal-player {
  display: block;
  width: 100%;
  max-height: 82vh;
  max-height: 82dvh;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-modal-dialog.is-portrait {
  max-width: min(440px, calc(82dvh * 9 / 16));
}

.video-modal-dialog.is-portrait .video-modal-player {
  aspect-ratio: 9 / 16;
}

.membership-highlight-card {
  margin-top: 16px;
  padding: 38px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.membership-highlight-body {
  max-width: 680px;
}

.membership-highlight-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 14px;
  line-height: 1.2;
}

.membership-highlight-title em {
  font-weight: 600;
}

.membership-highlight-text {
  font-size: var(--text-base);
  line-height: 1.82;
  color: var(--text-main);
  margin: 0;
}

/* ==========================================================================
   11. RESOURCES PAGE: YOUTUBE SERMONS & PODCAST PLATFORMS
   ========================================================================== */
.sermon-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sermon-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--primary-900);
  overflow: hidden;
}

.sermon-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 11, 20, 0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

.sermon-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.sermon-card:hover .sermon-thumb img {
  transform: scale(1.06);
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.play-btn-circle {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 0 0 0 rgba(230, 43, 51, 0.55);
  animation: playBtnPulse 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  transition:
    transform 0.24s var(--ease-out),
    box-shadow 0.24s var(--ease-out),
    background-color 0.22s var(--ease-out),
    color 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out);
}

@keyframes playBtnPulse {
  0% {
    box-shadow:
      0 6px 20px rgba(0, 0, 0, 0.35),
      0 0 0 0 rgba(230, 43, 51, 0.52);
  }
  70% {
    box-shadow:
      0 6px 20px rgba(0, 0, 0, 0.35),
      0 0 0 14px rgba(230, 43, 51, 0);
  }
  100% {
    box-shadow:
      0 6px 20px rgba(0, 0, 0, 0.35),
      0 0 0 0 rgba(230, 43, 51, 0);
  }
}

.play-btn-circle::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}

.sermon-card:hover .play-btn-circle,
.ministry-feature-card:hover .play-btn-circle,
.ministry-video-trigger:hover .play-btn-circle,
.ministry-video-trigger:focus-visible .play-btn-circle,
.highlights-media-trigger:hover .play-btn-circle,
.highlights-media-trigger:focus-visible .play-btn-circle {
  background-color: var(--accent-red);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-2px) scale(1.07);
}

.sermon-card:hover .play-btn-circle::after,
.ministry-feature-card:hover .play-btn-circle::after,
.ministry-video-trigger:hover .play-btn-circle::after,
.ministry-video-trigger:focus-visible .play-btn-circle::after,
.highlights-media-trigger:hover .play-btn-circle::after,
.highlights-media-trigger:focus-visible .play-btn-circle::after {
  left: 125%;
  transition: left 0.52s cubic-bezier(0.4, 0, 0.2, 1) 0.03s;
}

.sermon-body {
  padding: 22px 24px;
}

.sermon-date {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-accent-primary);
  margin-bottom: 8px;
}

.sermon-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.3;
}

.podcast-platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.podcast-platform-card {
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-md);
}

.podcast-platform-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.25;
  margin-bottom: 6px;
}

.podcast-platform-card p {
  font-size: var(--text-base);
  color: var(--text-muted);
}

.podcast-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  box-shadow: none;
  transition: transform var(--transition-fast);
}

.podcast-platform-card:hover .podcast-icon {
  transform: translateY(-2px);
}

.podcast-icon.apple {
  background-color: #872ec4;
}

.podcast-icon.spotify {
  background-color: #1db954;
}

/* ==========================================================================
   12. CONTACT US & GIVE PAGES
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  padding: 38px 42px;
}

.contact-info-card h2,
.contact-form-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.2;
  margin-bottom: 12px;
}

.contact-form-card h2 {
  margin-bottom: 24px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.contact-info-item > div {
  min-width: 0;
}

a.contact-info-item {
  cursor: pointer;
  width: fit-content;
  max-width: 100%;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-50);
  border: 1px solid var(--badge-border);
  color: var(--text-accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

a.contact-info-item:hover .contact-info-icon,
a.contact-info-icon:hover,
.contact-info-item:has(a:hover) .contact-info-icon {
  background-color: var(--primary-600);
  border-color: var(--primary-600);
  color: #ffffff;
  transform: translateY(-1px) scale(1.05);
}

.contact-info-item h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-accent-primary);
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}

.contact-info-item p,
.contact-info-item div a {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--heading-color);
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.contact-info-item p.schedule-detail {
  font-size: var(--text-base-sm);
  font-weight: 500;
  color: var(--text-main);
  display: block;
}

.contact-social-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.contact-social-footer h4 {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--heading-color);
  margin-bottom: 14px;
}

.contact-social-footer .social-btn {
  background: var(--primary-50);
  border: 1px solid var(--badge-border);
  color: var(--text-accent-primary);
}

.contact-social-footer .social-btn:hover {
  background-color: var(--primary-600);
  border-color: var(--primary-600);
  color: #ffffff;
  transform: translateY(-1px) scale(1.05);
}

.contact-form-card {
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  box-shadow: var(--shadow-md);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  font-family: var(--font-body);
  font-size: var(--text-base-sm);
  color: var(--text-main);
  background-color: var(--bg-input);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control::placeholder {
  color: var(--text-light);
}

.form-control:hover {
  border-color: rgba(126, 199, 240, 0.36);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  background-color: var(--bg-input-focus);
  box-shadow: 0 0 0 4px var(--primary-50);
}

#contactForm {
  scroll-margin-top: 140px;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a8b8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

select.form-control option {
  background-color: var(--bg-card);
  color: var(--text-main);
}

select.form-control.purpose-prefill-blink {
  animation: purposeFieldBlink 1.85s cubic-bezier(0.4, 0, 0.2, 1) 0.25s 1;
}

@keyframes purposeFieldBlink {
  0%,
  100% {
    border-color: var(--border-strong);
    background-color: var(--bg-input);
    box-shadow: 0 0 0 0 rgba(126, 199, 240, 0);
  }

  45%,
  55% {
    border-color: var(--text-accent-primary);
    background-color: rgba(56, 136, 186, 0.24);
    box-shadow:
      0 0 0 6px rgba(126, 199, 240, 0.24),
      0 0 22px rgba(56, 136, 186, 0.3);
  }
}

html[data-theme="light"] select.form-control.purpose-prefill-blink {
  animation-name: purposeFieldBlinkLight;
}

@keyframes purposeFieldBlinkLight {
  0%,
  100% {
    border-color: var(--border-strong);
    background-color: var(--bg-input);
    box-shadow: 0 0 0 0 rgba(41, 112, 160, 0);
  }

  45%,
  55% {
    border-color: var(--primary-500);
    background-color: rgba(41, 112, 160, 0.13);
    box-shadow:
      0 0 0 6px rgba(41, 112, 160, 0.2),
      0 0 20px rgba(41, 112, 160, 0.18);
  }
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-control[aria-invalid="true"] {
  border-color: #ef4444;
}

.form-control[aria-invalid="true"]:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.16);
}

.form-field-error {
  margin-top: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #ff7b7b;
  line-height: 1.4;
}

html[data-theme="light"] .form-field-error {
  color: #dc2626;
}

.form-field-desc {
  margin-top: -4px;
  margin-bottom: 8px;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.form-error-banner {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ff8e8e;
  font-weight: 600;
  font-size: var(--text-base-sm);
}

html[data-theme="light"] .form-error-banner {
  background: #fef2f2;
  border-color: rgba(220, 38, 38, 0.3);
  color: #991b1b;
}

.form-skeleton {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-skeleton-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-skeleton-label,
.form-skeleton-input,
.form-skeleton-textarea,
.form-skeleton-btn {
  border-radius: var(--radius-sm);
  background: linear-gradient(
    90deg,
    var(--border-subtle) 25%,
    var(--border-strong) 50%,
    var(--border-subtle) 75%
  );
  background-size: 200% 100%;
  animation: formSkeletonShimmer 1.5s infinite linear;
}

.form-skeleton-label {
  width: 38%;
  height: 14px;
}

.form-skeleton-input {
  width: 100%;
  height: 48px;
}

.form-skeleton-textarea {
  width: 100%;
  height: 140px;
}

.form-skeleton-btn {
  width: 100%;
  height: 50px;
  border-radius: var(--radius-full);
}

@keyframes formSkeletonShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.form-outcome-box {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: rgba(46, 160, 67, 0.14);
  border: 1px solid rgba(46, 160, 67, 0.38);
  text-align: center;
}

html[data-theme="light"] .form-outcome-box {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.35);
}

.form-outcome-box p {
  color: var(--heading-color);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 18px;
}

.form-choice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.form-choice-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--text-base-sm);
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-main);
  cursor: pointer;
}

.map-frame-wrap {
  position: relative;
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.map-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 32px;
  background: transparent;
  color: var(--heading-color);
  border-bottom: 1px solid var(--border-subtle);
}

.map-card-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.map-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--heading-color);
}

.map-card-directions {
  gap: 8px;
}

.map-canvas {
  position: relative;
  height: 420px;
  width: 100%;
  background: var(--bg-Alt);
  overflow: hidden;
}

.map-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 58%, rgba(4, 10, 15, 0.24) 100%);
  pointer-events: none;
  z-index: 2;
}

.map-frame-wrap iframe {
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: calc(100% + 170px);
  border: 0;
  display: block;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.86) contrast(0.96) brightness(0.96);
  transition: filter 0.35s var(--ease-out);
}

.map-frame-wrap:hover iframe {
  filter: invert(0.92) hue-rotate(180deg) saturate(0.96) contrast(1) brightness(1);
}

/* Give Page */
.give-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.give-grid .section-title {
  margin-bottom: 24px;
}

.story-text+.content-block {
  margin-top: 32px;
}

.tax-note {
  margin-top: 24px;
  font-size: var(--text-base-sm);
  font-weight: 600;
  color: var(--text-accent-primary);
}

.give-action-card {
  padding: 38px 42px;
  text-align: center;
  position: sticky;
  top: 120px;
}

.give-action-card>img {
  margin: 0 auto 14px;
  height: 74px;
  width: auto;
}

.give-action-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.2;
  margin-bottom: 10px;
}

.give-action-card>p {
  font-size: var(--text-base);
  color: var(--text-main);
  line-height: 1.82;
}

.give-action-card .give-secure-note {
  margin-top: 18px;
  font-size: var(--text-xs);
  color: var(--text-light);
}

.qr-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-input);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
}

.qr-box img {
  width: 160px;
  height: auto;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
}

.qr-box span {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scripture-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.scripture-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: break-word;
  line-height: 1.3;
  background: var(--primary-50);
  color: var(--text-accent-primary);
  font-family: var(--font-heading);
  font-size: clamp(0.72rem, 0.92vw, 0.78rem);
  letter-spacing: -0.01em;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--badge-border);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.scripture-pill:has(.bible-link) {
  padding: 0;
}

.scripture-pill .bible-link,
.scripture-pill .bible-link * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: break-word;
  line-height: 1.3;
  padding: 8px 10px;
  color: inherit !important;
  border-radius: inherit;
  cursor: pointer;
  text-decoration: none !important;
}

.scripture-pill .bible-link * {
  padding: 0;
}

@media (min-width: 1081px) and (max-width: 1220px) {
  .scripture-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scripture-pill,
  .scripture-pill .bible-link {
    font-size: var(--text-sm);
    padding: 9px 12px;
  }
}

@media (max-width: 740px) {
  .scripture-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .scripture-pill,
  .scripture-pill .bible-link {
    font-size: clamp(0.65rem, 2.65vw, 0.78rem);
    letter-spacing: -0.015em;
    padding: 8px 6px;
  }
}

@media (max-width: 350px) {
  .scripture-pills {
    grid-template-columns: minmax(0, 1fr);
  }

  .scripture-pill,
  .scripture-pill .bible-link {
    font-size: 0.78rem;
    padding: 9px 12px;
  }
}

.scripture-pill:hover,
.scripture-pill.is-active,
.scripture-pill:hover .bible-link,
.scripture-pill.is-active .bible-link,
.scripture-pill:hover .bible-link *,
.scripture-pill.is-active .bible-link * {
  background: var(--primary-600);
  color: #ffffff !important;
  border-color: var(--primary-600);
}

/* ==========================================================================
   13. SITE FOOTER, THEME SWITCHER & TOAST
   ========================================================================== */
.site-footer {
  background:
    radial-gradient(circle at 14% 18%, rgba(40, 120, 216, 0.24) 0%, transparent 46%),
    radial-gradient(circle at 88% 82%, rgba(239, 35, 60, 0.14) 0%, transparent 46%),
    linear-gradient(145deg, #132d4c 0%, #0d2038 50%, #071120 100%);
  color: rgba(255, 255, 255, 0.86);
  padding: 80px 0 36px;
  border-top: 3px solid var(--primary-600);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-3d {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  mix-blend-mode: screen;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  --logo-rx: 2deg;
  --logo-ry: -3deg;
  --shine-x: 50%;
  --shine-y: 45%;
}

.footer-brand img {
  position: relative;
  z-index: 1;
  display: block;
  width: 220px;
  height: auto;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: screen;
  filter: invert(1) brightness(0.9) contrast(1.35);
  clip-path: inset(6px);
  transform-origin: center center;
  transform: perspective(680px) rotateX(var(--logo-rx, 2deg)) rotateY(var(--logo-ry, -3deg));
  transition: transform 0.24s var(--ease-out);
}

.footer-logo-3d::after {
  content: '';
  position: absolute;
  inset: 4px;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: multiply;
  box-shadow: inset 0 0 6px 4px #000000;
  background:
    radial-gradient(circle 88px at var(--shine-x, 50%) var(--shine-y, 45%),
      rgba(255, 255, 255, 0.95) 0%,
      rgba(232, 189, 109, 0.45) 38%,
      rgba(255, 255, 255, 0) 72%),
    linear-gradient(145deg, #6bc4f0 0%, #eef7fc 20%, #3d8bb8 38%, #ff7a80 54%, #f3c975 70%, #6bc4f0 86%, #ffffff 100%);
  background-size: 100% 100%, 280% 280%;
  background-position: 0% 0%, 0% 50%;
  animation: footerLogoGradientSweep 6.5s ease-in-out infinite;
}

@keyframes footerLogoGradientSweep {

  0%,
  100% {
    background-position: 0% 0%, 0% 50%;
  }

  50% {
    background-position: 0% 0%, 100% 50%;
  }
}

.footer-logo-3d.is-interacting img {
  transition: none;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-gold-light) 100%);
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a,
.footer-col p {
  font-size: var(--text-base-sm);
  color: rgba(255, 255, 255, 0.76);
}

.footer-col p {
  margin-bottom: 10px;
}

.footer-links a {
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: #f0323a;
  padding-left: 4px;
}

.footer-col p a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  transition: color var(--transition-fast);
}

.footer-col p a svg {
  color: var(--primary-300);
  flex-shrink: 0;
  margin-top: 4px;
  transition: color var(--transition-fast);
}

.footer-col p a:hover,
.footer-col p a:hover svg {
  color: #f0323a;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: var(--text-base-sm);
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: #f0323a;
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(6, 14, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 3px;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.theme-btn:hover {
  color: #ffffff;
}

.theme-btn.active,
.theme-btn[aria-pressed="true"] {
  background-color: var(--primary-600);
  color: #ffffff;
  box-shadow: none;
}

.toast-msg {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(46, 160, 67, 0.18);
  border: 1px solid rgba(46, 160, 67, 0.4);
  color: #7ee787;
  font-weight: 600;
  font-size: var(--text-base-sm);
}

.toast-msg.visible {
  display: block;
}

/* ==========================================================================
   14. BIBLELINK TOOLTIP & ANIMATIONS
   ========================================================================== */
.reference-tooltip {
  position: fixed !important;
  z-index: 1200 !important;
  background-color: var(--bg-dropdown) !important;
  color: var(--text-main) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-md) !important;
  border: 1px solid var(--border-strong) !important;
  font-family: var(--font-body) !important;
  width: 360px !important;
  max-width: calc(100vw - 32px) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px) scale(0.98);
  transition:
    opacity 0.16s var(--ease-out),
    transform 0.16s var(--ease-out),
    visibility 0.16s;
}

.reference-tooltip[data-placement="top"] {
  transform: translateY(-4px) scale(0.98);
}

.reference-tooltip.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.reference-tooltip::before {
  content: '';
  position: absolute;
  left: var(--arrow-left, 50%);
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  pointer-events: none;
}

.reference-tooltip[data-placement="top"]::before {
  bottom: -6px;
  background: var(--bg-Alt);
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.reference-tooltip[data-placement="bottom"]::before {
  top: -6px;
  background: var(--primary-800);
  border-left: 1px solid var(--border-strong);
  border-top: 1px solid var(--border-strong);
}

.reference-tooltip-header {
  font-family: var(--font-heading) !important;
  font-size: var(--text-base-sm) !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900)) !important;
  color: #ffffff !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--border-strong) !important;
  border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0 !important;
  overflow-wrap: break-word !important;
  position: relative;
  z-index: 1;
}

.reference-tooltip-body {
  padding: 16px 18px !important;
  font-family: var(--font-body) !important;
  font-size: var(--text-base-sm) !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  color: var(--text-main) !important;
  background-color: var(--bg-dropdown) !important;
  max-height: min(300px, 46vh);
  overflow-y: auto;
  overflow-x: hidden;
  overflow-wrap: break-word !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
}

.reference-tooltip-body p,
.reference-tooltip-body div,
.reference-tooltip-body span {
  color: var(--text-main) !important;
  line-height: 1.7 !important;
  background-color: transparent !important;
  overflow-wrap: break-word !important;
}

.reference-tooltip-body p {
  margin: 0 0 8px 0 !important;
}

.reference-tooltip-body p:last-child {
  margin-bottom: 0 !important;
}

.reference-tooltip-body [class^="q"],
.reference-tooltip-body [class^="bible-link-q"] {
  text-indent: 0 !important;
  margin-left: 0 !important;
}

.reference-tooltip-body .v,
.reference-tooltip-body .bible-link-v {
  font-family: var(--font-heading) !important;
  font-size: var(--text-xs) !important;
  font-weight: 800 !important;
  color: var(--title-em-color) !important;
  vertical-align: super !important;
  line-height: 1 !important;
  margin-right: 6px !important;
  display: inline-block !important;
}

.reference-tooltip-footer {
  padding: 10px 16px !important;
  font-size: var(--text-xs) !important;
  line-height: 1.5 !important;
  background-color: var(--bg-Alt) !important;
  color: var(--text-muted) !important;
  border-top: 1px solid var(--border-strong) !important;
  border-radius: 0 0 calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  position: relative;
  z-index: 1;
}

.reference-tooltip-copyright-toggle,
.reference-tooltip-copyright-toggle-disabled,
.reference-tooltip-publisher,
.reference-tooltip-publisher-disabled,
.reference-tooltip-credits,
.reference-tooltip-copyright-text {
  color: var(--text-muted) !important;
  border-bottom-color: var(--text-muted) !important;
  opacity: 1 !important;
  font-weight: 500 !important;
}

.reference-tooltip-publisher:hover,
.reference-tooltip-publisher:focus,
.reference-tooltip-credits:hover,
.reference-tooltip-credits:focus {
  color: var(--heading-color) !important;
  opacity: 1 !important;
}

.reference-tooltip-read-more {
  float: none !important;
  margin-left: auto !important;
  font-family: var(--font-heading) !important;
  font-size: var(--text-xs) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--title-em-color) !important;
  opacity: 1 !important;
}

.reference-tooltip-read-more:hover,
.reference-tooltip-read-more:focus {
  color: var(--heading-color) !important;
  opacity: 1 !important;
  text-decoration: underline !important;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoomOut {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.985);
  transition:
    opacity 0.6s var(--ease-out) var(--reveal-delay, 0ms),
    transform 0.6s var(--ease-out) var(--reveal-delay, 0ms),
    background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-med);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s var(--ease-out),
    transform var(--transition-med),
    background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-med);
}

@media (hover: hover) {
  .event-card:hover,
  .leader-card:hover,
  .vm-card:hover,
  .value-card:hover,
  .belief-item:hover,
  .city-card:hover,
  .sermon-card:hover,
  .podcast-platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
}

/* ==========================================================================
   15. LIGHT MODE SPECIFIC OVERRIDES
   ========================================================================== */
html[data-theme="light"] .brand-logo img {
  filter: none;
}

html[data-theme="light"] .hero-overlay,
html[data-theme="light"] .page-hero-overlay {
  background-image:
    radial-gradient(ellipse 58% 44% at 50% 50%, rgba(4, 11, 19, 0.22) 0%, rgba(4, 10, 16, 0.06) 100%),
    linear-gradient(180deg, rgba(4, 10, 16, 0.14) 0%, rgba(7, 17, 28, 0.05) 55%, rgba(6, 13, 21, 0.06) 100%);
}

html[data-theme="light"] .nav-link {
  color: var(--primary-900);
}

html[data-theme="light"] .nav-link .chevron {
  opacity: 0.9;
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active {
  color: #ffffff;
  background-color: var(--accent-red);
  border-color: transparent;
  box-shadow: none;
}

html[data-theme="light"] .nav-link-give {
  background-color: var(--primary-700);
  border-color: var(--primary-700);
  box-shadow: none;
}

html[data-theme="light"] .dropdown-link {
  color: var(--text-main);
}

html[data-theme="light"] .dropdown-link:hover {
  background-color: var(--accent-red);
  color: #ffffff;
}

html[data-theme="light"] .subnav-pill {
  color: var(--primary-900);
  border-color: var(--border-strong);
  box-shadow: none;
}

html[data-theme="light"] .subnav-pill:hover,
html[data-theme="light"] .subnav-pill.active {
  background: var(--primary-700);
  color: #ffffff;
  border-color: var(--primary-700);
  box-shadow: none;
}

html[data-theme="light"] .section-subtitle {
  color: var(--text-muted);
  font-weight: 500;
}

html[data-theme="light"] .icon-box,
html[data-theme="light"] .city-icon,
html[data-theme="light"] .map-card-pin,
html[data-theme="light"] .contact-info-icon,
html[data-theme="light"] .value-num,
html[data-theme="light"] .belief-number,
html[data-theme="light"] .accordion-idx,
html[data-theme="light"] .scripture-pill,
html[data-theme="light"] .contact-social-footer .social-btn,
html[data-theme="light"] .readmore-switch-track,
html[data-theme="light"] .qr-box {
  background: var(--primary-50);
  color: var(--primary-800);
  border-color: var(--badge-border);
  box-shadow: none;
}

html[data-theme="light"] .city-card:hover .city-icon,
html[data-theme="light"] .content-block:hover > h3 .icon-box,
html[data-theme="light"] .map-frame-wrap:hover .map-card-pin,
html[data-theme="light"] .value-card:hover .value-num,
html[data-theme="light"] .belief-item:hover .belief-number,
html[data-theme="light"] .accordion-item:hover .accordion-idx,
html[data-theme="light"] .accordion-item.open .accordion-idx,
html[data-theme="light"] .scripture-pill:hover,
html[data-theme="light"] .scripture-pill.is-active,
html[data-theme="light"] .scripture-pill:hover .bible-link,
html[data-theme="light"] .scripture-pill.is-active .bible-link,
html[data-theme="light"] .scripture-pill:hover .bible-link *,
html[data-theme="light"] .scripture-pill.is-active .bible-link * {
  background-color: var(--primary-700);
  color: #ffffff !important;
  border-color: var(--primary-700);
  box-shadow: none;
}

html[data-theme="light"] .btn {
  box-shadow: 0 2px 6px rgba(10, 25, 47, 0.08);
}

html[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
  background-color: var(--primary-600);
  border-color: var(--primary-700);
}

html[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  background-color: var(--primary-600);
  border-color: var(--primary-700);
  box-shadow: 0 10px 22px -6px rgba(29, 82, 147, 0.36);
}

html[data-theme="light"] .btn-accent {
  background: linear-gradient(135deg, #e6223a 0%, var(--accent-red) 55%, var(--accent-red-dark) 100%);
  background-color: var(--accent-red);
  border-color: transparent;
}

html[data-theme="light"] .btn-accent:hover {
  background: linear-gradient(135deg, #f02840 0%, var(--accent-red) 100%);
  background-color: var(--accent-red);
  border-color: transparent;
  box-shadow: 0 10px 22px -6px rgba(217, 27, 50, 0.36);
}

html[data-theme="light"] .btn-outline {
  background-color: var(--primary-50);
  color: var(--primary-800);
  border-color: var(--badge-border);
  box-shadow: none;
}

html[data-theme="light"] .btn-outline:hover {
  background-color: var(--primary-700);
  border-color: var(--primary-700);
  color: #ffffff;
  box-shadow: none;
}

html[data-theme="light"] .leader-avatar {
  outline-color: var(--primary-600);
  box-shadow: var(--shadow-sm);
}

html[data-theme="light"] .form-control:hover {
  border-color: rgba(22, 61, 110, 0.44);
}

html[data-theme="light"] a.contact-info-item:hover .contact-info-icon,
html[data-theme="light"] a.contact-info-icon:hover,
html[data-theme="light"] .contact-info-item:has(a:hover) .contact-info-icon,
html[data-theme="light"] .contact-social-footer .social-btn:hover {
  background-color: var(--primary-700);
  border-color: var(--primary-700);
  color: #ffffff;
}

html[data-theme="light"] .map-canvas::after {
  background: radial-gradient(circle at center, transparent 62%, rgba(10, 25, 47, 0.08) 100%);
}

html[data-theme="light"] .map-frame-wrap iframe {
  filter: saturate(0.95) contrast(0.99) brightness(0.99);
}

html[data-theme="light"] .map-frame-wrap:hover iframe {
  filter: saturate(1.02) contrast(1) brightness(1);
}

html[data-theme="light"] .site-footer {
  background:
    radial-gradient(circle at 14% 18%, rgba(37, 105, 184, 0.28) 0%, transparent 48%),
    radial-gradient(circle at 88% 82%, rgba(229, 169, 60, 0.15) 0%, transparent 46%),
    linear-gradient(145deg, #123154 0%, #0c223c 52%, #061222 100%);
}

html[data-theme="light"] .footer-logo-3d::after {
  background:
    radial-gradient(circle 88px at var(--shine-x, 50%) var(--shine-y, 45%),
      rgba(255, 255, 255, 0.95) 0%,
      rgba(232, 189, 109, 0.5) 38%,
      rgba(255, 255, 255, 0) 72%),
    linear-gradient(145deg, #5cc0e3 0%, #ffffff 22%, #357d9c 42%, #e8bd6d 62%, #78d0ef 82%, #ffffff 100%);
  background-size: 100% 100%, 280% 280%;
}

html[data-theme="light"] .toast-msg {
  background: #ecfdf5;
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.35);
}

/* ==========================================================================
   16. RESPONSIVE BREAKPOINTS & REDUCED MOTION
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-container {
    padding: 0 20px;
  }

  .brand-logo img {
    height: 56px;
  }

  .nav-menu {
    gap: 3px;
  }

  .nav-link {
    padding: 8px 14px;
    font-size: var(--text-xs);
    letter-spacing: 0.05em;
  }

  .nav-link:has(.chevron) {
    padding-left: 14px;
    padding-right: 10px;
  }

  .nav-link-give {
    padding: 8px 18px;
    margin-left: 4px;
  }
}

@media (max-width: 1080px) {

  .sunday-grid,
  .story-split,
  .story-split.reverse,
  .contact-grid,
  .give-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sunday-grid>.welcome-card,
  .sunday-grid>.sunday-overview-card,
  .sunday-grid>.schedule-sidebar {
    grid-column: auto;
    grid-row: auto;
  }

  .schedule-sidebar {
    position: static;
    width: 100%;
    min-width: 0;
    gap: 24px;
  }

  .schedule-items {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
    gap: 14px;
  }

  .schedule-row {
    padding-right: 0;
  }

  .schedule-row + .schedule-row,
  .schedule-items > .schedule-location-note {
    width: 100%;
    padding-left: 0;
    margin-top: 2px;
    padding-top: 16px;
    border-top: 1px solid var(--border-strong);
  }

  .schedule-row + .schedule-row::before,
  .schedule-items > .schedule-location-note::before {
    display: none;
  }

  html[data-theme="light"] .schedule-row + .schedule-row,
  html[data-theme="light"] .schedule-items > .schedule-location-note {
    border-top-color: var(--badge-border);
  }

  .story-photo-card {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .nav-container {
    height: 76px;
    padding: 0 20px;
  }

  .brand-logo img {
    height: 54px;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    background: var(--bg-body);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-med);
    box-shadow: var(--shadow-xl);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link,
  .nav-link:has(.chevron) {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: var(--text-base-sm);
  }

  .nav-link .chevron {
    margin-left: 0;
    margin-right: 0;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-dropdown-mobile);
    padding: 6px 12px;
    margin-bottom: 8px;
  }

  .nav-link-give {
    margin: 12px 0 0;
    text-align: center;
    justify-content: center;
  }

  .subnav-bar {
    top: 76px;
  }
}

@media (max-width: 900px) {
  .page-hero-desc {
    font-size: 0.98rem;
    max-width: 540px;
  }

  .subnav-list {
    padding: 10px 18px;
    scroll-padding-inline: 18px;
  }

  .schedule-sidebar {
    position: static;
  }

  .give-action-card {
    position: relative;
    top: auto;
  }

  .leaders-grid,
  .area-cities-grid,
  .sermon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vision-mission-grid,
  .beliefs-grid,
  .podcast-platforms,
  .ministry-feature-card,
  .ministry-feature-card.reverse {
    grid-template-columns: 1fr;
  }

  .ministry-feature-card.reverse .ministry-visual {
    order: -1;
  }

  .ministry-visual {
    min-height: 240px;
    max-height: 300px;
  }

  .membership-highlight-card,
  .callout-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .schedule-sidebar {
    gap: 20px;
  }

  .section-header-row {
    gap: 16px;
  }

  .events-section .section-header-row .section-title {
    white-space: nowrap;
  }

  .section-header-row > .btn {
    padding: 12px 20px;
    font-size: var(--text-xs);
  }
}

@media (max-width: 600px) {

  .container,
  .container-narrow {
    padding: 0 18px;
  }

  .section-pad,
  .sunday-experience-section {
    padding: 56px 0;
  }

  .events-section {
    padding: 44px 0 56px;
  }

  :root {
    --hero-fade-height: clamp(180px, 24vh, 240px);
  }

  .hero-home {
    min-height: calc(100vh + var(--hero-fade-height));
    min-height: calc(100svh + var(--hero-fade-height));
    min-height: calc(var(--hero-min-height, 100svh) + var(--hero-fade-height));
    padding: 112px 18px calc(112px + var(--hero-fade-height));
  }

  .hero-home::before {
    display: none;
  }

  .hero-content,
  .page-hero-content {
    padding: 16px 8px;
  }

  .hero-title {
    font-size: clamp(1.95rem, 9.6vw, 2.95rem);
    white-space: nowrap;
  }

  .hero-title .hero-highlight {
    display: block;
    width: fit-content;
    margin: 4px auto 0;
  }

  .hero-subtitle-banner {
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
  }

  .page-hero {
    min-height: 320px;
    padding: 112px 18px 52px;
  }

  .page-hero-desc {
    font-size: var(--text-base-sm);
    line-height: 1.6;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.68;
  }

  .section-header-row .section-title,
  .events-section .section-header-row .section-title {
    white-space: normal;
  }

  .section-header-row .btn,
  .callout-banner .btn {
    width: 100%;
  }

  .welcome-overlap-section {
    margin-top: calc(36px - var(--hero-fade-height));
    padding: 0 0 40px;
  }

  .welcome-card,
  .schedule-card,
  .content-block {
    padding: 28px 26px;
    width: 100%;
    min-width: 0;
  }

  .welcome-card-header {
    margin-bottom: 14px;
  }

  .story-split,
  .vm-card,
  .ministry-content,
  .membership-highlight-card,
  .contact-info-card,
  .contact-form-card,
  .give-action-card,
  .callout-banner {
    padding: 32px 26px;
    width: 100%;
    min-width: 0;
  }

  .content-block h3,
  .schedule-card h3 {
    gap: 12px;
    margin-bottom: 14px;
    white-space: normal;
  }

  .content-block h3 .icon-box,
  .schedule-card h3 .icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .content-block h3 .icon-box svg,
  .schedule-card h3 .icon-box svg {
    width: 18px;
    height: 18px;
  }

  .event-card-body,
  .sermon-body,
  .city-card,
  .leader-card,
  .value-card,
  .podcast-platform-card,
  .belief-item,
  .conviction-box {
    padding: 24px 24px;
  }

  .content-block {
    margin-bottom: 20px;
  }

  .sunday-grid>.sunday-overview-card {
    margin-bottom: 0;
  }

  .sunday-overview-section+.sunday-overview-section {
    margin-top: 24px;
    padding-top: 24px;
  }

  .sunday-grid {
    gap: 24px;
    margin-bottom: 0;
  }

  .story-split,
  .contact-grid,
  .give-grid {
    gap: 32px;
  }

  .welcome-schedule {
    margin: 20px 0 0;
    padding: 20px 0 0;
  }

  .schedule-items {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
    gap: 14px;
  }

  .schedule-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0;
    border-top: none;
    white-space: nowrap;
  }

  .schedule-row + .schedule-row,
  .schedule-items > .schedule-location-note {
    width: 100%;
    padding-left: 0;
    margin-top: 2px;
    padding-top: 14px;
    border-top: 1px solid var(--border-strong);
  }

  .schedule-row + .schedule-row::before,
  .schedule-items > .schedule-location-note::before {
    display: none;
  }

  html[data-theme="light"] .schedule-row + .schedule-row,
  html[data-theme="light"] .schedule-items > .schedule-location-note {
    border-top-color: var(--badge-border);
  }

  .schedule-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .schedule-label,
  .schedule-time {
    white-space: nowrap;
  }

  .schedule-label {
    font-size: clamp(0.7rem, 3.05vw, var(--text-sm));
    letter-spacing: clamp(0.03em, 0.16vw, 0.1em);
  }

  .schedule-time {
    font-size: clamp(0.84rem, 3.65vw, 1rem);
    padding-left: 0;
    text-align: left;
    margin-left: 0;
  }

  .schedule-location-note,
  .schedule-location-note a {
    gap: 10px;
    min-width: 0;
    white-space: nowrap;
  }

  .schedule-location-note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .events-section .container {
    display: flex;
    flex-direction: column;
  }

  .events-section .section-header-row {
    display: contents;
  }

  .events-section .section-header-row > div {
    order: 1;
    margin-bottom: 28px;
  }

  .events-section .events-carousel,
  .events-section .events-grid {
    order: 2;
  }

  .events-carousel::before,
  .events-carousel::after,
  .events-carousel-controls {
    display: none;
  }

  .events-section .section-header-row > .btn {
    order: 3;
    margin-top: 28px;
  }

  .events-grid {
    display: grid;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
  }

  .event-card {
    flex: none;
    width: 100%;
  }

  .events-grid,
  .leaders-grid,
  .area-cities-grid,
  .sermon-grid,
  .values-row,
  .footer-grid,
  .form-row-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .ministry-visual {
    min-height: 200px;
    max-height: 240px;
  }

  .podcast-platform-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .map-frame-wrap {
    margin-top: 36px;
  }

  .map-card-header {
    padding: 22px 26px;
  }

  .map-canvas {
    height: 300px;
  }

  .site-footer {
    padding: 56px 0 28px;
  }

  .footer-grid {
    gap: 32px;
    padding-bottom: 40px;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .site-footer .social-links,
  .footer-bottom-links {
    justify-content: center;
  }

  .contact-social-footer .social-links {
    justify-content: flex-start;
  }

  .footer-bottom,
  .footer-bottom-right {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 14px;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .accordion-trigger {
    padding: 22px 26px 24px;
    gap: 12px;
  }

  .accordion-title-wrap {
    gap: 12px;
  }

  .accordion-body {
    padding: 0 26px;
  }

  .accordion-item.open .accordion-body {
    padding: 0 26px 28px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}