/* ── FONTS ───────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  /* Backgrounds — dark forest green */
  --bg-0:   #080f0e;   /* deepest background          */
  --bg-1:   #0d1917;   /* primary surface             */
  --bg-2:   #111f1d;   /* section alt                 */
  --bg-3:   #162421;   /* panels / cards              */
  --bg-4:   #1c2e2b;   /* hover states                */

  /* Brand — Eden green + white */
  --eden:        #5ec957;
  --eden-hover:  #4ec948;
  --eden-dim:    rgba(94,201,87,.12);
  --eden-glow:   rgba(94,201,87,.28);

  /* Borders */
  --border:      rgba(255,255,255,.07);
  --border-hi:   rgba(255,255,255,.13);

  /* Text */
  --text-hi:  #ffffff;
  --text-md:  rgba(255,255,255,.78);
  --text-lo:  rgba(255,255,255,.45);
  --text-dim: rgba(255,255,255,.28);

  /* Layout */
  --nav-h:       68px;
  --max-w:       1240px;
  --px:          1.5rem;
  --section-py:  5rem;

  /* Typography */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Poppins',    system-ui, sans-serif;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 1rem; line-height: 1.65;
  color: var(--text-md);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  animation: el-fadeIn 220ms ease both;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }
/* Brand text selection */
::selection { background: rgba(94,201,87,.22); color: var(--text-hi); }
/* Anchor targets clear the fixed nav */
[id] { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }

/* ── FOCUS STATES ─────────────────────────────────────────── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--eden);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── REDUCED MOTION ───────────────────────────────────────── */
@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 { opacity: 1 !important; transform: none !important; }
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--eden); border-radius: 2px; }

/* ── SKIP LINK ───────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  padding: .5rem 1rem; background: var(--eden);
  color: #fff; z-index: 999; font-size: .875rem;
  font-weight: 600; transition: top 180ms ease;
}
.skip-link:focus { top: 1rem; }

/* ── LAYOUT HELPERS ──────────────────────────────────────── */
.inner { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); }
.section-label {
  display: block; font-family: var(--font-body);
  font-size: .65rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--eden); margin-bottom: .875rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 800; color: var(--text-hi);
  line-height: 1.04; letter-spacing: -0.03em;
}
.page-section { padding: var(--section-py) var(--px); }
.page-section + .page-section { border-top: 1px solid var(--border); }
.page-section.alt  { background: var(--bg-2); }
.page-section.dark { background: var(--bg-0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.full-width  { width: 100%; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 2rem; min-height: 48px;
  font-family: var(--font-body); font-size: .875rem; font-weight: 600;
  letter-spacing: .04em; cursor: pointer;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease,
              border-color 180ms ease, transform 150ms ease;
  border: 1.5px solid transparent;
  white-space: nowrap; text-decoration: none; line-height: 1.3;
}
.btn:focus-visible { outline: 2px solid var(--eden); outline-offset: 3px; }
.btn-primary      { background: var(--eden); color: #fff; border-color: var(--eden); }
.btn-primary:hover { background: var(--eden-hover); box-shadow: 0 6px 24px var(--eden-glow); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn:active { transform: scale(.97) !important; box-shadow: none !important; }
.btn-ghost        { background: transparent; color: var(--text-hi); border-color: var(--border-hi); }
.btn-ghost:hover  { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
.btn-eden-outline { background: transparent; color: var(--eden); border-color: rgba(94,201,87,.4); }
.btn-eden-outline:hover { background: var(--eden-dim); border-color: var(--eden); }
.btn-sm  { padding: .5rem 1.375rem; font-size: .8rem; min-height: 40px; }
.btn-lg  { padding: 1.1rem 2.75rem; font-size: .9375rem; min-height: 54px; }
.btn-group { display: flex; flex-wrap: wrap; gap: .875rem; }
.btn-group.centered { justify-content: center; }

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  height: var(--nav-h);
  background: rgba(8,15,14,.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 2px 40px rgba(0,0,0,.6); }
.nav-container {
  max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px);
  height: var(--nav-h); display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 800;
  color: var(--text-hi); letter-spacing: -0.02em; flex-shrink: 0;
  transition: opacity 180ms ease;
}
.nav-logo:hover { opacity: .85; }
.nav-logo span { color: var(--eden); }
.nav-logo:focus-visible { outline: 2px solid var(--eden); border-radius: 2px; }
.nav-menu { display: flex; align-items: center; gap: 1.25rem; flex: 1; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: .125rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .5rem .75rem; min-height: 44px;
  font-family: var(--font-body); font-size: .8125rem; font-weight: 500; letter-spacing: .01em;
  color: var(--text-md); transition: color 180ms ease; cursor: pointer;
  border-radius: 4px;
}
.nav-link:hover, .nav-link.active { color: var(--text-hi); }
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-trigger::after {
  content: ''; display: inline-block; width: .35em; height: .35em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 180ms ease; margin-left: .3rem;
}
.nav-dropdown.open .dropdown-trigger::after { transform: rotate(-135deg) translateY(-2px); }
.dropdown-menu {
  position: absolute; top: calc(100% + .625rem);
  left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--bg-3); border: 1px solid var(--border-hi);
  min-width: 210px; padding: .375rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 20; box-shadow: 0 16px 48px rgba(0,0,0,.6);
  border-radius: 4px;
}
/* Invisible bridge to prevent hover loss when moving mouse down */
.dropdown-menu::before {
  content: ''; position: absolute; top: -15px; left: 0; right: 0; height: 15px;
}
.nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
/* Right-edge dropdowns — anchor to right of parent so they don't overflow viewport */
.dropdown-menu.align-right { left: auto !important; right: 0 !important; transform: translateY(-6px) !important; }
.nav-dropdown.open .dropdown-menu.align-right { transform: translateY(0) !important; }
.dropdown-menu a {
  display: block; padding: .625rem 1rem;
  font-family: var(--font-body); font-size: .8125rem; font-weight: 400;
  color: var(--text-lo); transition: color 180ms ease, background 180ms ease;
  border-radius: 3px;
}
.dropdown-menu a:hover { color: var(--text-hi); background: rgba(255,255,255,.05); }
.nav-cta {
  flex-shrink: 0; font-family: var(--font-body);
  font-size: .8125rem; font-weight: 700; letter-spacing: .05em;
  background: var(--eden); color: #fff; border: none;
  padding: .6rem 1.625rem; display: inline-flex; align-items: center;
  transition: background 180ms ease, box-shadow 180ms ease, transform 150ms ease; cursor: pointer; text-decoration: none;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--eden-hover); box-shadow: 0 4px 20px var(--eden-glow); transform: translateY(-1px); }
.nav-cta:active { transform: scale(.97); box-shadow: none; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  width: 44px; height: 44px; cursor: pointer; gap: 5px; flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--text-hi);
  position: relative; transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translate(5px,-5px); }
.nav-toggle:focus-visible { outline: 2px solid var(--eden); border-radius: 3px; }
.page-body { padding-top: var(--nav-h); }

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  position: relative; background: var(--bg-0); overflow: hidden;
  padding: 5rem var(--px) 4.5rem; border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%; display: block;
}
.page-hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(8,15,14,.95) 0%, rgba(8,15,14,.84) 100%);
}
.page-hero .inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 6rem);
  font-weight: 900; color: var(--text-hi);
  line-height: .96; letter-spacing: -0.04em;
  margin-top: .875rem; margin-bottom: 1.25rem;
}
.page-hero .lead {
  font-family: var(--font-body); font-size: clamp(.875rem, 1.8vw, 1.05rem);
  font-weight: 300; color: var(--text-lo); max-width: 52ch; line-height: 1.85;
}
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-size: .75rem; color: var(--text-dim); font-weight: 400;
}
.breadcrumb a { color: var(--text-dim); transition: color 180ms ease; }
.breadcrumb a:hover { color: var(--eden); }
.breadcrumb span[aria-current] { color: var(--text-lo); }
.breadcrumb-sep { opacity: .35; }

/* ── CONTENT GRIDS ───────────────────────────────────────── */
.content-2col {
  max-width: var(--max-w); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.content-2col.wide-left  { grid-template-columns: 1.45fr 1fr; }
.content-2col.wide-right { grid-template-columns: 1fr 1.45fr; }
.content-3col {
  max-width: var(--max-w); margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border);
}
.section-header { margin-bottom: 3rem; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800; color: var(--text-hi);
  letter-spacing: -0.025em; margin-bottom: .75rem;
}
.section-header p {
  font-family: var(--font-body); font-size: .9375rem; font-weight: 300;
  color: var(--text-lo); max-width: 54ch; line-height: 1.8;
}

/* ── INFO CARDS ──────────────────────────────────────────── */
.info-card {
  background: var(--bg-3); border: 1px solid var(--border); padding: 1.875rem 2rem;
  border-radius: 2px;
}
.info-card.accent { border-left: 3px solid var(--eden); }
.info-card + .info-card { margin-top: 1rem; }
.info-card h3 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--text-hi); margin-bottom: .875rem; letter-spacing: -0.01em;
}
.info-card p {
  font-family: var(--font-body); font-size: .9rem; font-weight: 300;
  color: var(--text-lo); line-height: 1.8;
}

/* ── FORMS ───────────────────────────────────────────────── */
.form-group { margin-bottom: 1.375rem; }
.form-label {
  display: block; font-family: var(--font-body); font-size: .775rem; font-weight: 600;
  color: var(--text-md); margin-bottom: .5rem; letter-spacing: .02em;
}
.form-label .required { color: var(--eden); margin-left: .2rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: .875rem 1.125rem;
  background: var(--bg-3); border: 1px solid var(--border-hi);
  color: var(--text-hi); font-family: var(--font-body); font-size: .9rem; font-weight: 300;
  transition: border-color 180ms ease, box-shadow 180ms ease; outline: none; line-height: 1.5;
  -webkit-appearance: none; appearance: none; border-radius: 2px;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.35)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--eden); box-shadow: 0 0 0 3px rgba(94,201,87,.15);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-hint { font-family: var(--font-body); font-size: .775rem; color: var(--text-lo); margin-top: .375rem; }
.form-error { font-family: var(--font-body); font-size: .775rem; color: #f87171; margin-top: .375rem; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── ACCORDION ───────────────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:first-child { border-top: 1px solid var(--border); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; font-family: var(--font-display); font-size: .9375rem; font-weight: 700;
  color: var(--text-hi); cursor: pointer; background: none; border: none;
  text-align: left; gap: 1rem; min-height: 44px; transition: color 180ms ease;
}
.accordion-trigger:hover { color: var(--eden); }
.accordion-icon {
  flex-shrink: 0; width: 26px; height: 26px;
  background: var(--bg-3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background 180ms ease, transform 180ms ease; border-radius: 2px;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon { background: var(--eden); border-color: var(--eden); transform: rotate(180deg); }
.accordion-icon svg { width: 12px; height: 12px; color: var(--text-lo); }
.accordion-trigger[aria-expanded="true"] .accordion-icon svg { color: #fff; }
.accordion-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms ease; }
.accordion-body.open { grid-template-rows: 1fr; }
.accordion-body-inner { overflow: hidden; }
.accordion-body.open .accordion-body-inner { padding-bottom: 1.375rem; }
.accordion-body p { font-family: var(--font-body); color: var(--text-lo); font-size: .9rem; line-height: 1.82; font-weight: 300; }

/* ── SCHEDULE ────────────────────────────────────────────── */
.schedule-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-time {
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  color: var(--text-hi); min-width: 84px; flex-shrink: 0; letter-spacing: -0.01em;
}
.schedule-name { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--text-md); }
.schedule-note { font-family: var(--font-body); font-size: .8rem; color: var(--text-lo); margin-top: .2rem; font-weight: 300; }

/* ── VIDEO EMBED ─────────────────────────────────────────── */
.video-embed { position: relative; width: 100%; padding-bottom: 56.25%; background: var(--bg-0); overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ── BANK CARDS ──────────────────────────────────────────── */
.bank-card { background: var(--bg-3); border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 1rem; border-radius: 2px; }
.bank-card h4 { font-family: var(--font-body); font-size: .7rem; font-weight: 700; color: var(--text-lo); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1rem; }
.bank-detail { display: flex; justify-content: space-between; align-items: center; padding: .625rem 0; border-bottom: 1px solid var(--border); }
.bank-detail:last-child { border-bottom: none; }
.bank-detail .label { font-family: var(--font-body); font-size: .8rem; color: var(--text-lo); }
.bank-detail .value { font-family: var(--font-body); font-weight: 700; color: var(--text-hi); font-size: .9rem; }

/* ── GIVING WIDGET ───────────────────────────────────────── */
.giving-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.giving-tab {
  flex: 1; padding: .875rem 1rem; min-height: 44px;
  font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .04em;
  color: var(--text-lo); cursor: pointer; background: transparent;
  border: none; border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease; margin-bottom: -1px;
}
.giving-tab.active { color: var(--eden); border-bottom-color: var(--eden); }
.giving-tab:hover { color: var(--text-hi); }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .625rem; margin-bottom: 1rem; }
.amount-btn {
  padding: .875rem .5rem; min-height: 44px;
  background: var(--bg-3); border: 1px solid var(--border-hi);
  font-family: var(--font-body); font-size: .875rem; font-weight: 600;
  color: var(--text-md); cursor: pointer; text-align: center; border-radius: 2px;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}
.amount-btn:hover, .amount-btn.selected { border-color: var(--eden); background: var(--eden-dim); color: var(--text-hi); }

/* ── NOTICE ──────────────────────────────────────────────── */
.notice { display: flex; gap: .875rem; padding: 1rem 1.25rem; font-family: var(--font-body); font-size: .875rem; border-radius: 2px; }
.notice-info    { background: var(--bg-3); border: 1px solid rgba(94,201,87,.2);  color: var(--text-md); }
.notice-success { background: rgba(22,163,74,.1); border: 1px solid rgba(22,163,74,.3); color: var(--text-md); }
.notice-warning { background: rgba(234,179,8,.08); border: 1px solid rgba(234,179,8,.25); color: var(--text-md); }
.notice-info svg, .notice-success svg, .notice-warning svg { color: var(--eden); flex-shrink: 0; margin-top: .1rem; }

/* ── CHECKLIST ───────────────────────────────────────────── */
.checklist { display: flex; flex-direction: column; gap: .875rem; }
.checklist li { display: flex; gap: .875rem; align-items: flex-start; font-family: var(--font-body); font-size: .9rem; color: var(--text-lo); font-weight: 300; line-height: 1.65; }
.checklist li svg { flex-shrink: 0; color: var(--eden); margin-top: .2rem; }

/* ── SERMON SERIES CARDS ─────────────────────────────────── */
.sermon-card {
  background: var(--bg-2); border: 1px solid var(--border);
  padding: 2.25rem 2rem 2.5rem;
  transition: background 200ms ease, border-color 200ms ease, transform 220ms ease, box-shadow 220ms ease;
  display: flex; flex-direction: column; cursor: pointer;
}
.sermon-card:hover { background: var(--bg-4); border-color: var(--border-hi); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.sermon-tag {
  display: inline-block; margin-bottom: 1.375rem;
  font-family: var(--font-body); font-size: .65rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .3rem .875rem; border: 1px solid rgba(94,201,87,.35);
  color: rgba(94,201,87,.9); align-self: flex-start; border-radius: 2px;
}
.sermon-card h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: var(--text-hi); margin-bottom: .75rem; letter-spacing: -0.02em;
}
.sermon-card p { font-family: var(--font-body); font-size: .9rem; color: var(--text-lo); line-height: 1.8; font-weight: 300; flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--text-lo);
  transition: gap 160ms ease, color 160ms ease;
}
.card-link:hover { gap: .75rem; color: var(--eden); }

/* ── EVENT CARDS ─────────────────────────────────────────── */
.event-card { background: var(--bg-1); overflow: hidden; transition: background 200ms ease, transform 220ms ease, box-shadow 220ms ease; display: flex; flex-direction: column; cursor: pointer; }
.event-card:hover { background: var(--bg-4); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.event-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform 500ms ease; }
.event-card:hover .event-card-img { transform: scale(1.03); }
.event-card-body { padding: 1.75rem 1.875rem 2.25rem; display: flex; flex-direction: column; flex: 1; }
.event-date { font-family: var(--font-body); font-size: .65rem; font-weight: 700; color: var(--eden); text-transform: uppercase; letter-spacing: .18em; margin-bottom: .875rem; }
.event-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-hi); margin-bottom: .625rem; line-height: 1.25; letter-spacing: -0.015em; }
.event-card p { font-family: var(--font-body); font-size: .875rem; color: var(--text-lo); font-weight: 300; line-height: 1.75; flex: 1; margin-bottom: 1.375rem; }
.event-link { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--text-lo); transition: gap 160ms ease, color 160ms ease; }
.event-link:hover { gap: .75rem; color: var(--eden); }

/* ── MISSION / VISION CARDS ──────────────────────────────── */
.mv-card { background: var(--bg-3); border: 1px solid var(--border); padding: 2.5rem 2.25rem; border-radius: 2px; }
.mv-card.accent { border-left: 3px solid var(--eden); }
.mv-card h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--text-hi); letter-spacing: -0.025em; margin: .375rem 0 1rem; line-height: 1.1; }
.mv-card p { font-family: var(--font-body); font-size: .9rem; font-weight: 300; color: var(--text-lo); line-height: 1.82; }

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section { padding: var(--section-py) var(--px); background: var(--bg-2); border-top: 1px solid var(--border); text-align: center; }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 4.5vw, 2.75rem); font-weight: 800; color: var(--text-hi); letter-spacing: -0.03em; margin-bottom: 1rem; line-height: 1.05; }
.cta-section p { font-family: var(--font-body); font-size: .9375rem; color: var(--text-lo); font-weight: 300; line-height: 1.8; margin-bottom: 2.25rem; max-width: 46ch; margin-inline: auto; }

/* ── SCRIPTURE QUOTE ─────────────────────────────────────── */
.scripture-quote { padding: var(--section-py) var(--px); background: var(--bg-0); border-top: 1px solid var(--border); text-align: center; }
.scripture-quote blockquote { font-family: var(--font-body); font-size: clamp(1.05rem, 2.5vw, 1.45rem); font-style: italic; font-weight: 300; color: rgba(238,240,247,.72); line-height: 1.7; max-width: 44ch; margin-inline: auto; }
.scripture-quote cite { display: block; margin-top: 1.25rem; font-family: var(--font-body); font-size: .7rem; font-style: normal; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--eden); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--bg-0); border-top: 1px solid var(--border); padding-top: 5.5rem; }
.footer-grid { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem 2.5rem; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 1.25rem; }
.footer-brand > p { font-family: var(--font-body); font-size: .875rem; line-height: 1.8; color: var(--text-dim); max-width: 27ch; font-weight: 300; }

.footer-social { display: flex; gap: .75rem; margin-top: 2rem; }
.footer-social a { width: 44px; height: 44px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; transition: background 180ms ease, color 180ms ease; border-radius: 4px; }
.footer-social a:hover { background: rgba(94,201,87,.12); color: var(--eden); }
.footer-social svg { color: var(--text-lo); transition: color 180ms ease; }
.footer-social a:hover svg { color: var(--eden); }
.footer-col h3 { font-family: var(--font-body); color: var(--text-hi); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 1.75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .875rem; }
.footer-col a { font-family: var(--font-body); font-size: .875rem; color: var(--text-dim); font-weight: 300; transition: color 180ms ease; }
.footer-col a:hover { color: var(--eden); }
.footer-col address { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-col address p { font-family: var(--font-body); font-size: .875rem; color: var(--text-dim); line-height: 1.75; font-weight: 300; }
.footer-col address strong { color: var(--text-lo); font-weight: 600; }
.footer-col address a { color: var(--text-dim); }
.footer-col address a:hover { color: var(--eden); }
.footer-bottom { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); border-top: 1px solid var(--border); padding-block: 1.75rem; margin-top: 4.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-family: var(--font-body); font-size: .75rem; color: var(--text-dim); }
.footer-bottom-links { display: flex; gap: 2rem; }
.footer-bottom-links a { color: var(--text-dim); transition: color 180ms ease; }
.footer-bottom-links a:hover { color: var(--eden); }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* Slide-from-left variant — overrides the default translateY */
.reveal.reveal-from-left         { transform: translateX(-16px); }
.reveal.reveal-from-left.visible { transform: translateX(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

/* ── KEYFRAMES ───────────────────────────────────────────── */
@keyframes el-fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes el-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes el-cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ── PAGE HERO ENTRANCE (all sub-pages) ──────────────────── */
.page-hero .breadcrumb { animation: el-fadeUp .50s ease both .05s; }
.page-hero h1          { animation: el-fadeUp .65s cubic-bezier(.16,1,.3,1) both .14s; }
.page-hero .lead       { animation: el-fadeUp .55s ease both .28s; }

/* ── TYPEWRITER CURSOR ───────────────────────────────────── */
.tw-cursor {
  display: inline-block; width: 3px; height: .82em;
  background: var(--eden); margin-left: 4px;
  vertical-align: middle; border-radius: 1px;
  animation: el-cursorBlink .9s step-end infinite;
}

/* ── REDUCED MOTION: disable entrance animations ─────────── */
@media (prefers-reduced-motion: reduce) {
  .page-hero .breadcrumb, .page-hero h1, .page-hero .lead {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .tw-cursor { animation: none !important; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
}
@media (max-width: 900px) {
  :root { --section-py: 4rem; }
  .content-2col, .content-2col.wide-left, .content-2col.wide-right { grid-template-columns: 1fr; gap: 2.5rem; }
  .content-3col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 62px; --px: 1.25rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn, .btn-group a.btn { width: 100%; justify-content: center; }
  .btn-group.centered { align-items: center; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    height: calc(100dvh - var(--nav-h));
    background: var(--bg-0);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 1.5rem var(--px) 3rem; gap: 0; overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav-menu.open { display: flex; overscroll-behavior: contain; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { min-height: 52px; font-size: .9375rem; color: var(--text-md); padding-inline: 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-cta { margin-top: 1.5rem; text-align: center; padding: 1rem; width: 100%; justify-content: center; }
  .dropdown-menu { position: static; transform: none !important; box-shadow: none; border: none; background: transparent; padding: 0; opacity: 1; visibility: visible; pointer-events: auto; display: none; border-radius: 0; min-width: 0; width: 100%; right: auto !important; left: auto !important; }
  .dropdown-menu::before { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { color: var(--text-md); padding: .75rem 1.25rem; font-size: .9rem; border-bottom: 1px solid var(--border); white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .page-hero { padding: 3.5rem var(--px) 3rem; }
}
@media (max-width: 640px) {
  :root { --section-py: 3.5rem; }
  .content-3col { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-links { flex-direction: column; gap: .75rem; }
  .page-hero h1 { font-size: clamp(1.875rem, 9vw, 2.75rem); }
  .section-header { margin-bottom: 1.75rem; }
  .section-header h2 { font-size: clamp(1.25rem, 6.5vw, 1.75rem); margin-bottom: .5rem; }
  .section-header p { font-size: .875rem; }
  .section-title { font-size: clamp(1.625rem, 7.5vw, 2.25rem); }
}

@media (max-width: 480px) {
  :root { --px: 1rem; --section-py: 2.75rem; }
  .page-hero { padding: 2.5rem var(--px) 2rem; }
  .page-hero h1 { font-size: clamp(1.75rem, 9.5vw, 2.5rem); margin-top: .375rem; margin-bottom: .875rem; }
  .page-hero .lead { font-size: .875rem; line-height: 1.75; }
  .info-card { padding: 1.25rem; }
  .mv-card { padding: 1.75rem 1.25rem; }
  .sermon-card { padding: 1.5rem 1.25rem 1.75rem; }
  .event-card-body { padding: 1.25rem 1.25rem 1.5rem; }
  .schedule-item { flex-direction: column; gap: .25rem; }
  .schedule-time { min-width: auto; font-size: .95rem; }
  .bank-detail { flex-wrap: wrap; gap: .25rem; }
  .bank-detail .value { word-break: break-all; }
  .cta-section p { font-size: .875rem; margin-bottom: 1.75rem; }
  .scripture-quote blockquote { font-size: 1rem; }
  .accordion-trigger { font-size: .875rem; }
  .notice { padding: .875rem 1rem; font-size: .8125rem; }
  .checklist li { font-size: .875rem; }
  .footer-col h3 { margin-bottom: 1.25rem; }
  .footer-col ul { gap: .75rem; }
  .site-footer { padding-top: 3.5rem; }
  .footer-bottom { margin-top: 3rem; padding-block: 1.25rem; }
  /* Content grids — ensure proper padding on mobile */
  .content-2col { gap: 2rem; }
  /* section titles smaller */
  .section-title { font-size: clamp(1.5rem, 8vw, 2rem); }
  /* CTA section tighter */
  .cta-section { padding: 2.5rem var(--px); }
  .cta-section h2 { font-size: clamp(1.5rem, 8vw, 2rem); }
  /* btn-group always full width on small screens */
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { width: 100%; justify-content: center; }
}

/* ── MAPS GRID ───────────────────────────────────────────── */
.maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.map-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.map-label-bar {
  display: flex; align-items: center; gap: .625rem;
  padding: .875rem 1.125rem; background: var(--bg-4);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  color: var(--text-md);
}
.map-label-bar svg { color: var(--eden); flex-shrink: 0; }
.map-frame { position: relative; width: 100%; height: 280px; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-directions-link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 1.125rem; width: 100%;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  color: var(--eden); border-top: 1px solid var(--border);
  transition: background 180ms ease, gap 160ms ease; cursor: pointer;
}
.map-directions-link:hover { background: var(--eden-dim); gap: .75rem; }
@media (max-width: 768px) { .maps-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .map-frame { height: 220px; } }

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 1.75rem; right: 1.5rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  transition: transform 200ms ease, box-shadow 200ms ease;
  cursor: pointer; text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 36px rgba(37,211,102,.55); }
.wa-float:active { transform: scale(.95); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 480px) {
  .wa-float { bottom: 1.25rem; right: 1rem; width: 50px; height: 50px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ── CUSTOM CURSOR ───────────────────────────────────────── */
.el-cur-dot {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--eden); pointer-events: none;
  will-change: transform;
}
.el-cur-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid rgba(94,201,87,.5);
  pointer-events: none; will-change: transform;
}
.has-custom-cursor,
.has-custom-cursor * { cursor: none !important; }
@media (hover: none), (pointer: coarse) {
  .el-cur-dot, .el-cur-ring { display: none !important; }
}

/* ── REVEAL: performance hint ────────────────────────────── */
.reveal { will-change: opacity, transform; }

/* ── IMAGE containers: clip scale overflow ───────────────── */
.event-card, .sermon-card, .map-card,
.campus-tile, .pastor-photo { overflow: hidden; }
