/* ═══════════════════════════════════════════════════════════
   Active In Christ (GO) — Main Stylesheet
   Pure CSS — no build step required.
   BlueHost / shared hosting compatible.
   ═══════════════════════════════════════════════════════════ */

/* ─── Google Fonts ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;1,400&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables / Design Tokens ──────────────────────── */
:root {
  --navy-50:  #eef1f9;
  --navy-100: #d0d9f0;
  --navy-500: #2e508a;
  --navy-600: #1B3A6B;
  --navy-700: #162f56;
  --navy-800: #112241;
  --navy-900: #0b172c;

  --gold-50:  #fdf7ec;
  --gold-100: #faecd2;
  --gold-400: #e0a83a;
  --gold-500: #C9963A;
  --gold-600: #a97820;

  --cream-50:  #fffdf9;
  --cream-100: #fdf8f0;
  --cream-200: #f7ede0;
  --cream-300: #eedec8;

  --sage-400: #6B9E7A;
  --sage-600: #4a7a57;

  --red-400: #e05555;
  --green-500: #4a9e6b;

  /* Semantic tokens */
  --bg-page:      var(--cream-100);
  --bg-surface:   #ffffff;
  --bg-alt:       var(--cream-100);
  --bg-dark:      var(--navy-800);
  --text-primary: var(--navy-800);
  --text-muted:   var(--navy-500);
  --text-light:   #6b7a99;
  --border:       var(--cream-300);
  --accent:       var(--gold-500);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lora', Georgia, serif;
  --font-sans:    'Source Sans 3', system-ui, sans-serif;

  /* Spacing */
  --section-pad:  5rem 0;
  --container-max: 1120px;
  --container-px:  1.5rem;

  /* Radii */
  --radius-sm: 2px;
  --radius-md: 4px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);

  /* Transitions */
  --transition: 200ms ease;
}

/* ─── Dark Mode Tokens ────────────────────────────────────── */
body.dark {
  --bg-page:      var(--navy-900);
  --bg-surface:   var(--navy-800);
  --bg-alt:       #0f1e36;
  --text-primary: #e8eaf2;
  --text-muted:   #9ba8c4;
  --text-light:   #7a8aab;
  --border:       #1e3258;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
}

/* ─── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }
input, select, textarea { font-family: var(--font-sans); }

/* ─── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--text-primary);
}

/* ─── Layout Helpers ──────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.section { padding: var(--section-pad); }
.section--alt  { background: var(--bg-alt); }
.section--white{ background: var(--bg-surface); }
.section--dark { background: var(--navy-800); }

/* ─── Hero Pattern ────────────────────────────────────────── */
.hero-pattern {
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.025) 60px, rgba(255,255,255,0.025) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.025) 60px, rgba(255,255,255,0.025) 61px);
}

/* ─── Section Heading ─────────────────────────────────────── */
.section-heading { margin-bottom: 3rem; }
.section-heading.center { text-align: center; }
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}
.section-heading h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.gold-bar {
  width: 3.5rem;
  height: 2px;
  background: var(--gold-500);
  margin: 0.75rem 0;
}
.section-heading.center .gold-bar { margin: 0.75rem auto; }
.section-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 38rem;
  line-height: 1.7;
}
.section-heading.center .section-sub { margin: 0 auto; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold-500);
  color: #fff;
  border-color: var(--gold-500);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold-600); border-color: var(--gold-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--navy-600);
}
.btn-outline:hover { background: var(--navy-600); color: #fff; }
body.dark .btn-outline { color: #e8eaf2; border-color: #4a6499; }
body.dark .btn-outline:hover { background: #4a6499; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover { background: #fff; color: var(--navy-800); }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }

/* ─── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-lift:hover { transform: translateY(-4px); }
.card-pad  { padding: 1.75rem; }
.card-pad-lg { padding: 2.25rem; }

/* ─── Scripture Block ─────────────────────────────────────── */
.scripture-block {
  border-left: 4px solid var(--gold-500);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.scripture-ref {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: 0.4rem;
  display: block;
}

/* ─── Grid Helpers ────────────────────────────────────────── */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-auto-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ─── Flex Helpers ────────────────────────────────────────── */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap  { flex-wrap: wrap; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }

/* ─── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulseSlow {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}

.animate-fade-up { animation: fadeUp 0.55s ease-out forwards; opacity: 0; }
.animate-fade-in { animation: fadeIn 0.4s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }
.delay-4 { animation-delay: 400ms; }
.delay-5 { animation-delay: 500ms; }
.delay-6 { animation-delay: 600ms; }

/* Stagger children on scroll via JS .visible class */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0ms; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:110ms; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:220ms; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:330ms; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:440ms; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:550ms; }

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy-800);
  transition: padding var(--transition), box-shadow var(--transition);
  padding: 1rem 0;
}
.navbar.scrolled { padding: 0.5rem 0; box-shadow: 0 2px 16px rgba(0,0,0,0.3); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  transition: background var(--transition);
  flex-shrink: 0;
}
.nav-logo:hover .nav-logo-icon { background: var(--gold-400); }
.nav-logo-text p:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  line-height: 1;
}
.nav-logo-text p:last-child {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  line-height: 1.3;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #c8d0e0;
  transition: color var(--transition);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0.7rem; right: 0.7rem;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link svg, .nav-link .chevron { width: 12px; height: 12px; transition: transform var(--transition); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 13rem;
  background: #fff;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
  list-style: none;
}
body.dark .dropdown-menu { background: var(--navy-700); border-color: #1e3258; }
.has-dropdown.open .dropdown-menu { opacity: 1; pointer-events: all; transform: none; }
.has-dropdown.open .chevron { transform: rotate(180deg); }
.dropdown-menu a {
  display: block;
  padding: 0.65rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy-700);
  border-bottom: 1px solid var(--cream-200);
  transition: background var(--transition), color var(--transition);
}
body.dark .dropdown-menu a { color: #c8d0e0; border-color: #1e3258; }
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--cream-100); color: var(--navy-900); }
body.dark .dropdown-menu a:hover { background: #1e3258; color: #fff; }

/* Nav controls */
.nav-controls { display: flex; align-items: center; gap: 0.4rem; }
.nav-btn {
  width: 2.1rem; height: 2.1rem;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #c8d0e0;
  transition: background var(--transition), color var(--transition);
}
.nav-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-btn svg { width: 17px; height: 17px; }

/* Mobile menu toggle */
.nav-mobile-toggle { display: none; }

/* Mobile drawer */
.nav-mobile {
  display: none;
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; padding: 0.75rem var(--container-px) 1rem; }
.nav-mobile li a {
  display: block;
  padding: 0.65rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: #c8d0e0;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-mobile li a:hover, .nav-mobile li a.active { background: rgba(255,255,255,0.05); color: #fff; }
.nav-mobile li a.active { color: var(--gold-400); }
.nav-mobile .sub-links { padding-left: 1rem; }
.nav-mobile .sub-links a { font-size: 0.8rem; color: #7a8aab; padding: 0.4rem 1rem; }
.nav-mobile .sub-links a:hover { color: #c8d0e0; }

/* ═══════════════════════════════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--navy-800);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.025) 60px, rgba(255,255,255,0.025) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.025) 60px, rgba(255,255,255,0.025) 61px);
}
.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-500);
  opacity: 0.05;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-bar { width: 2.5rem; height: 2px; background: var(--gold-500); margin-bottom: 1.25rem; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.page-hero p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: #a8b4cc;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
   HOME HERO
   ═══════════════════════════════════════════════════════════ */
.home-hero {
  min-height: 100vh;
  background: var(--navy-800);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}
.home-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,23,44,0.85) 0%, rgba(17,34,65,0.6) 60%, rgba(22,47,86,0.4) 100%);
}
.home-hero .container { position: relative; z-index: 1; padding: 4rem var(--container-px); }
.home-hero-content { max-width: 42rem; }
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
  display: block;
}
.home-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.07;
  margin-bottom: 1.25rem;
}
.home-hero h1 em { font-style: italic; color: var(--gold-400); }
.home-hero .sub {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: #bcc8de;
  margin-bottom: 1rem;
}
.home-hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero-deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,150,58,0.1);
  pointer-events: none;
}
.hero-cross {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 15vw, 14rem);
  color: rgba(255,255,255,0.03);
  user-select: none;
  line-height: 1;
  pointer-events: none;
}
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.35;
}
.scroll-cue span { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.scroll-cue-line { width: 1px; height: 2.5rem; background: #fff; animation: pulseSlow 2s infinite; }

/* ═══════════════════════════════════════════════════════════
   PILLAR CARDS
   ═══════════════════════════════════════════════════════════ */
.pillar-card { display: flex; flex-direction: column; }
.pillar-card .card-pad { display: flex; flex-direction: column; height: 100%; }
.pillar-icon {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.pillar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}
.pillar-card:hover h3 { color: var(--gold-600); }
.pillar-card .verse { font-style: italic; font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.3rem; line-height: 1.6; }
.pillar-card .ref { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 0.75rem; }
.pillar-card .desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.pillar-link {
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition);
}
.pillar-card:hover .pillar-link { gap: 0.5rem; }

/* ═══════════════════════════════════════════════════════════
   SCRIPTURE CARDS (2-col pair)
   ═══════════════════════════════════════════════════════════ */
.scripture-card { padding: 1.5rem; }
.scripture-card-icon {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--gold-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--gold-600);
}
body.dark .scripture-card-icon { background: rgba(201,150,58,0.15); }

/* ═══════════════════════════════════════════════════════════
   EVENT CARDS
   ═══════════════════════════════════════════════════════════ */
.event-card { display: flex; overflow: hidden; }
.event-card.featured { border-left: 4px solid var(--gold-500); }
.event-date-block {
  background: var(--navy-800);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  min-width: 70px;
  flex-shrink: 0;
}
.event-date-block .month {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.event-date-block .day {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.event-body { padding: 1.25rem; flex: 1; }
.event-tags { display: flex; gap: 0.4rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.tag {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}
.tag-workshop { background: var(--navy-50);  color: var(--navy-700); }
.tag-weekly   { background: #e8f5ed;         color: #2d6e45; }
.tag-outreach { background: var(--gold-50);  color: var(--gold-600); }
.tag-study    { background: var(--cream-200); color: var(--navy-700); }
.tag-youth    { background: #e8f0fc;         color: #2c52b0; }
.tag-retreat  { background: #f0eafc;         color: #6b3db5; }
.tag-featured { background: var(--gold-100); color: var(--gold-600); }
body.dark .tag-workshop { background: rgba(201,150,58,0.1); color: var(--gold-400); }
body.dark .tag-featured { background: rgba(201,150,58,0.15); color: var(--gold-400); }
.event-body h3 { font-size: 1rem; margin-bottom: 0.3rem; transition: color var(--transition); }
.event-card:hover h3 { color: var(--gold-600); }
.event-meta { font-family: var(--font-sans); font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.event-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* Filter tabs */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-muted);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--navy-500); color: var(--navy-800); }
.filter-btn.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
body.dark .filter-btn { background: var(--navy-700); }
body.dark .filter-btn.active { background: var(--navy-600); }

/* ═══════════════════════════════════════════════════════════
   TEAM CARDS
   ═══════════════════════════════════════════════════════════ */
.team-card { padding: 1.75rem; text-align: center; }
.team-avatar {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.team-card h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.team-role {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}
.team-bio { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════════════ */
.newsletter { background: var(--navy-800); padding: 4rem 0; }
.newsletter .container { text-align: center; }
.newsletter h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: #fff; margin-bottom: 0.75rem; }
.newsletter p  { color: #a8b4cc; max-width: 28rem; margin: 0 auto 2rem; font-size: 1rem; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 26rem; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  color: #fff;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--gold-500); }

/* ═══════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
label .req { color: var(--gold-500); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-light); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold-500); }
.form-input.error, .form-textarea.error { border-color: var(--red-400); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-error { font-family: var(--font-sans); font-size: 0.75rem; color: var(--red-400); margin-top: 0.3rem; }
.form-success {
  text-align: center;
  padding: 3rem;
  display: none;
}
.form-success.visible { display: block; }
.form-success .check { font-size: 3rem; color: var(--green-500); margin-bottom: 1rem; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   ROADMAP STEPS
   ═══════════════════════════════════════════════════════════ */
.step { display: flex; align-items: flex-start; gap: 1rem; }
.step-num {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--navy-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
body.dark .step-num { background: var(--navy-600); }
.step h4 { font-size: 1rem; margin-bottom: 0.15rem; }
.step p  { font-size: 0.875rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   DARK CALLOUT CARD (used in several sections)
   ═══════════════════════════════════════════════════════════ */
.dark-card {
  background: var(--navy-800);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dark-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.02) 60px, rgba(255,255,255,0.02) 61px),
                    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.02) 60px, rgba(255,255,255,0.02) 61px);
}
.dark-card > * { position: relative; z-index: 1; }
.dark-card h3  { color: #fff; font-size: 1.5rem; margin-bottom: 0.75rem; }
.dark-card p   { color: #a8b4cc; margin-bottom: 1.5rem; font-size: 0.95rem; }

/* ═══════════════════════════════════════════════════════════
   OPUS / VERSE STRIP (dark banner with quote)
   ═══════════════════════════════════════════════════════════ */
.verse-strip {
  background: var(--navy-700);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.verse-strip-cards { display: grid; gap: 1.5rem; }
.verse-strip-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.verse-strip-card blockquote { font-style: italic; color: #fff; font-size: 1rem; line-height: 1.7; margin-bottom: 0.75rem; }
.verse-strip-card cite { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-400); }

/* ═══════════════════════════════════════════════════════════
   VIDEO EMBEDS
   ═══════════════════════════════════════════════════════════ */
.video-card { overflow: hidden; }
.video-wrap { position: relative; padding-bottom: 56.25%; background: var(--navy-900); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-info { padding: 1.25rem; }
.video-info h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.video-info p  { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700; color: var(--gold-600); letter-spacing: 0.05em; }

/* ═══════════════════════════════════════════════════════════
   TOPIC TAGS
   ═══════════════════════════════════════════════════════════ */
.topic-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; max-width: 44rem; margin: 0 auto; }
.topic-tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
  cursor: default;
}
.topic-tag:hover { border-color: var(--gold-500); color: var(--gold-600); }

/* ═══════════════════════════════════════════════════════════
   SOAP JOURNAL GRID
   ═══════════════════════════════════════════════════════════ */
.soap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 36rem; margin: 2.5rem auto 0; }
.soap-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.soap-letter {
  width: 2.4rem; height: 2.4rem;
  background: var(--gold-500);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}
.soap-card h4 { font-family: var(--font-sans); font-weight: 600; font-size: 0.875rem; color: #fff; margin-bottom: 0.25rem; }
.soap-card p  { font-size: 0.8rem; color: #8a9ab8; line-height: 1.55; }

/* ═══════════════════════════════════════════════════════════
   BIBLE OUTLINE TABLES
   ═══════════════════════════════════════════════════════════ */
.bible-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.bible-row:last-child { border-bottom: none; }
.bible-row .sect { font-family: var(--font-sans); font-weight: 600; color: var(--text-primary); }
.bible-row .books { font-family: var(--font-body); font-size: 0.8rem; color: var(--text-muted); }
.bible-badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-ot { background: var(--navy-50); color: var(--navy-700); }
.badge-nt { background: var(--gold-50); color: var(--gold-600); }
body.dark .badge-ot { background: rgba(201,150,58,0.1); color: var(--gold-400); }
body.dark .badge-nt { background: rgba(201,150,58,0.15); color: var(--gold-400); }
.bible-total {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT / VISION / MISSION CARDS
   ═══════════════════════════════════════════════════════════ */
.vm-card { border-top: 4px solid transparent; }
.vm-card.vision-card { border-top-color: var(--gold-500); }
.vm-card.mission-card { border-top-color: var(--navy-600); }
.vm-card .label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.vm-card.vision-card .label  { color: var(--gold-600); }
.vm-card.mission-card .label { color: var(--navy-500); }

/* ═══════════════════════════════════════════════════════════
   INVOLVEMENT OPPORTUNITY CARDS
   ═══════════════════════════════════════════════════════════ */
.opp-card { display: flex; flex-direction: column; }
.opp-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.opp-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; transition: color var(--transition); }
.opp-card:hover h3 { color: var(--gold-600); }
.opp-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.opp-link {
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition);
}
.opp-card:hover .opp-link { gap: 0.5rem; }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIAL CARD
   ═══════════════════════════════════════════════════════════ */
.testimonial { background: var(--navy-800); border-radius: var(--radius-md); padding: 2.5rem; position: relative; overflow: hidden; }
.testimonial::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.02) 60px, rgba(255,255,255,0.02) 61px); }
.testimonial > * { position: relative; z-index: 1; }
.testimonial-mark { font-family: var(--font-display); font-size: 4rem; color: rgba(201,150,58,0.4); line-height: 0.7; margin-bottom: 1rem; display: block; }
.testimonial blockquote { font-style: italic; color: #fff; font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: rgba(201,150,58,0.2);
  border: 1px solid rgba(201,150,58,0.4);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.testimonial-author-name { font-family: var(--font-sans); font-weight: 600; color: #fff; font-size: 0.9rem; }
.testimonial-author-role { font-family: var(--font-sans); font-size: 0.75rem; color: #7a8aab; }

/* ═══════════════════════════════════════════════════════════
   INFO ITEMS (contact page)
   ═══════════════════════════════════════════════════════════ */
.info-item { display: flex; align-items: flex-start; gap: 1rem; }
.info-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-sm);
  background: rgba(201,150,58,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.2rem;
}
.info-value { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-primary); }

/* ═══════════════════════════════════════════════════════════
   CHECKLIST
   ═══════════════════════════════════════════════════════════ */
.checklist { list-style: none; space-y: 0.75rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.checklist li::before {
  content: '✓';
  color: var(--gold-500);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer { background: var(--navy-900); color: #a8b4cc; }
.footer-main { padding: 4rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; color: #7a8aab; margin: 1rem 0 1.25rem; max-width: 20rem; }
.footer-scripture {
  border-left: 2px solid var(--gold-500);
  padding-left: 1rem;
  font-style: italic;
  font-size: 0.875rem;
  color: #7a8aab;
  margin-bottom: 1.5rem;
}
.footer-scripture cite { font-style: normal; display: block; font-family: var(--font-sans); font-size: 0.7rem; color: #5a6a8a; margin-top: 0.25rem; }
.footer-socials { display: flex; gap: 0.5rem; }
.footer-social {
  width: 2.1rem; height: 2.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: #7a8aab;
  transition: border-color var(--transition), color var(--transition);
}
.footer-social:hover { border-color: var(--gold-500); color: var(--gold-400); }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #7a8aab;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copy { font-family: var(--font-sans); font-size: 0.75rem; color: #4a5a7a; }
.footer-meta { display: flex; gap: 1rem; align-items: center; }
.footer-meta span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: #4a5a7a;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ═══════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════ */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--container-px);
}
.not-found-num { font-family: var(--font-display); font-size: 8rem; font-weight: 700; color: rgba(201,150,58,0.2); line-height: 1; }
.not-found h1  { font-size: 2rem; margin-bottom: 1rem; }
.not-found p   { color: var(--text-muted); max-width: 28rem; margin: 0 auto 2rem; }

/* ═══════════════════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-gold  { color: var(--gold-500); }
.text-muted { color: var(--text-muted); }
.text-white { color: #fff; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.two-col-text { columns: 2; column-gap: 2rem; }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
}

@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto-3, .grid-auto-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .soap-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .two-col-text { columns: 1; }
  .hero-cross { display: none; }
  .scroll-cue { display: none; }
}

@media (max-width: 480px) {
  .home-hero h1 { font-size: 2.4rem; }
  .home-hero-btns { flex-direction: column; }
  .home-hero-btns .btn { width: 100%; justify-content: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: unset; }
}
