/* ═══════════════════════════════════════════════════════════
   FAITH v2 — Shared design system
   ═══════════════════════════════════════════════════════════ */

:root {
  --black: #000;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-soft: #6e6e73;
  --line-d: rgba(255,255,255,0.10);
  --line-l: rgba(0,0,0,0.08);
  --bg-light: #fbfbfd;
  --bg-card: #f5f5f7;
  --white: #ffffff;
  --indigo: #5BC2E7;     /* FAITH brand sky blue (logo) */
  --cyan: #2C8FB8;       /* deeper brand blue */
  --pink: #1F4E66;       /* navy/slate — gradient endpoint, no more rainbow */
  --amber: #f59e0b;      /* warm accent kept for CDC/Kids only */
  --radius: 22px;
  --radius-lg: 32px;
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;  /* prevent iOS/Chrome auto-darkening light section bgs */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1240px, 92vw); margin: 0 auto; }
.container-narrow { width: min(820px, 92vw); margin: 0 auto; }

/* ─── Reveal on scroll ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--easing), transform .9s var(--easing); }
.reveal.in { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════
   TOP STRIP — static service times bar
   ═══════════════════════════════════════════════════════════ */
.topstrip {
  position: relative; z-index: 50;
  padding: 11px 0;
  background: #000;
  border-bottom: 1px solid var(--line-d);
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.01em;
}
.topstrip-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.topstrip-item { display: inline-flex; align-items: center; gap: 8px; }
.topstrip-item .label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
  font-weight: 600;
  color: #B0E5F4;
}
.topstrip-item strong { color: #fff; font-weight: 600; }
.topstrip-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.14); }
@media (max-width: 760px) {
  .topstrip { font-size: 11.5px; padding: 10px 0; }
  .topstrip-inner { gap: 14px; }
  .topstrip-divider { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(0,0,0,0.78);
  border-bottom: 1px solid var(--line-d);
  transition: background 0.3s var(--easing);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo { display: inline-flex; align-items: center; color: #fff; }
.nav-logo img {
  height: 26px; width: auto;
  filter: brightness(0) invert(1);
}
.footer-logo img {
  height: 28px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.nav-links {
  display: flex; align-items: center; gap: 30px;
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.92);
}
.nav-links a { transition: color .2s; opacity: .9; }
.nav-links a:hover { opacity: 1; color: #fff; }
.nav-links a.current { color: #fff; opacity: 1; position: relative; }
.nav-links a.current::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -22px; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--pink));
  border-radius: 2px;
}
.nav-cta {
  padding: 8px 16px;
  background: #fff; color: #000;
  border-radius: 980px;
  font-size: 13px; font-weight: 500;
  transition: transform .2s var(--easing);
}
.nav-cta:hover { transform: scale(1.04); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* Concept marker */
.concept-ribbon {
  position: fixed; bottom: 18px; right: 18px; z-index: 90;
  padding: 6px 12px;
  background: rgba(91,194,231,0.18);
  border: 1px solid rgba(91,194,231,0.4);
  border-radius: 980px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  color: #DBF1FA;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   HERO (home page) — large, with cosmic photo bg
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 110px 0 130px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1517457373958-b7bdd4587205?w=2000&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) saturate(0.85);
  opacity: 0.55;
  z-index: -3;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,27,75,0.55) 0%, rgba(67,16,134,0.55) 60%, rgba(0,0,0,0.85) 100%);
  mix-blend-mode: multiply;
}
.aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 22% 30%, rgba(91,194,231,0.55), transparent 45%),
    radial-gradient(circle at 80% 22%, rgba(31,78,102,0.38), transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(44,143,184,0.42), transparent 55%),
    radial-gradient(circle at 12% 88%, rgba(245,158,11,0.22), transparent 50%);
  filter: blur(40px);
  animation: aurora-drift 22s ease-in-out infinite alternate;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: -2;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
@keyframes aurora-drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(3%, -2%) scale(1.05); }
  100% { transform: translate(-2%, 3%) scale(1.02); }
}
.hero-content { text-align: center; max-width: 920px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 980px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.92);
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(46px, 8.4vw, 124px);
  font-weight: 700; line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero h1 .gradient {
  background: linear-gradient(120deg, #ffffff 0%, #DBF1FA 30%, #B0E5F4 60%, #B0E5F4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic; font-weight: 600;
display: inline-block;
  /* Pad all four sides so italic slant + descenders (y/g/p) aren't clipped by background-clip:text */
  padding: 0.1em 0.18em 0.22em 0.05em;
  margin: -0.1em -0.13em -0.22em -0.05em;
}
.hero-lede {
  max-width: 620px; margin: 0 auto 40px;
  font-size: clamp(17px, 1.5vw, 21px);
  color: rgba(255,255,255,0.74);
  font-weight: 300; line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   PAGE HERO — smaller hero for downstream pages
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.page-hero .hero-photo,
.page-hero .aurora,
.page-hero .hero-grid { /* inherit from main hero */ }
.page-hero-content { text-align: center; max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(40px, 6.8vw, 92px);
  font-weight: 700; line-height: 1;
  letter-spacing: -0.038em;
  margin-bottom: 22px;
}
.page-hero h1 em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(120deg, #ffffff 0%, #DBF1FA 35%, #B0E5F4 70%, #B0E5F4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
display: inline-block;
  /* Pad all four sides so italic slant + descenders (y/g/p) aren't clipped by background-clip:text */
  padding: 0.1em 0.18em 0.22em 0.05em;
  margin: -0.1em -0.13em -0.22em -0.05em;
}
.page-hero .hero-lede {
  margin-bottom: 28px;
}
.page-hero .hero-pills {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.page-hero .hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 980px;
  font-size: 13px;
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}
.page-hero .hero-pill svg { width: 13px; height: 13px; opacity: 0.8; }
.page-hero .hero-pill strong { font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 980px;
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s var(--easing), box-shadow .3s, background .2s;
  cursor: pointer; border: 0;
  line-height: 1;
}
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { transform: scale(1.04); box-shadow: 0 12px 40px rgba(255,255,255,0.18); }
.btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: scale(1.04); }
.btn-outline-dark {
  background: transparent; color: var(--ink);
  border: 1px solid rgba(0,0,0,0.18);
}
.btn-outline-dark:hover { background: rgba(0,0,0,0.05); transform: scale(1.04); }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { transform: scale(1.04); box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.btn .arr { width: 16px; height: 16px; transition: transform .3s var(--easing); }
.btn:hover .arr { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════
   SECTION SCAFFOLDING
   ═══════════════════════════════════════════════════════════ */
section { position: relative; }
.section-light { background: var(--bg-light); color: var(--ink); }
.section-dark { background: #000; color: #fff; }
.section-pad { padding: clamp(80px, 11vw, 140px) 0; }
.section-pad-md { padding: clamp(60px, 8vw, 110px) 0; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px; font-weight: 600;
  color: var(--indigo);
  margin-bottom: 16px;
}
.section-dark .section-eyebrow { color: #B0E5F4; }
.section-title {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 700; line-height: 1.04;
  letter-spacing: -0.034em;
  margin-bottom: 18px;
}
.section-title em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(120deg, var(--indigo), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
display: inline-block;
  /* Pad all four sides so italic slant + descenders (y/g/p) aren't clipped by background-clip:text */
  padding: 0.1em 0.18em 0.22em 0.05em;
  margin: -0.1em -0.13em -0.22em -0.05em;
}
.section-dark .section-title em {
  background: linear-gradient(120deg, #DBF1FA, #B0E5F4);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-lede {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.55;
  font-weight: 300;
}
.section-dark .section-lede { color: rgba(255,255,255,0.7); }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head .section-lede { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════════
   PROSE — long-form text
   ═══════════════════════════════════════════════════════════ */
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); font-weight: 400; }
.prose h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.028em;
  margin: 0 0 22px;
  color: var(--ink);
}
.prose h2 em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(120deg, var(--indigo), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
display: inline-block;
  /* Pad all four sides so italic slant + descenders (y/g/p) aren't clipped by background-clip:text */
  padding: 0.1em 0.18em 0.22em 0.05em;
  margin: -0.1em -0.13em -0.22em -0.05em;
}
.prose h3 {
  font-size: 20px; font-weight: 600;
  color: var(--ink); letter-spacing: -0.018em;
  margin: 28px 0 10px;
}
.prose p { margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose a {
  color: var(--indigo);
  border-bottom: 1px solid rgba(91,194,231,0.3);
  transition: color .2s, border-color .2s;
}
.prose a:hover { color: var(--pink); border-bottom-color: var(--pink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul {
  list-style: none;
  display: grid; gap: 12px;
  margin: 22px 0;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
}
.prose ul li::before {
  content: ''; position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
}
.prose blockquote {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500; line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 32px 0;
  padding: 24px 0 24px 26px;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, var(--indigo), var(--pink)) 1;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   TWOCOL — two-column responsive layout
   ═══════════════════════════════════════════════════════════ */
.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.twocol.reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .twocol { grid-template-columns: 1fr; }
  .twocol.reverse > :first-child { order: 0; }
}
.twocol-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ddd;
}
.twocol-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform 1.2s var(--easing);
}
.twocol-media:hover img { transform: scale(1.04); }
.twocol-media iframe {
  width: 100%; min-height: 420px;
  border: 0;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   FEATURE / EXPECT cards (dark, white text)
   ═══════════════════════════════════════════════════════════ */
.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .expect-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--easing), border-color .3s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.20); }
.feature-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  border-radius: 14px;
  margin-bottom: 22px;
  color: #fff;
}
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, var(--cyan), var(--indigo)); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, var(--amber), var(--pink)); }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, var(--pink), var(--amber)); }
.feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, var(--indigo), var(--cyan)); }
.feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, var(--cyan), var(--amber)); }
.feature-card h3 {
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}
.feature-card p {
  color: rgba(255,255,255,0.66);
  font-size: 15px; line-height: 1.6;
  font-weight: 300;
}
.feature-card p em { font-style: italic; color: rgba(255,255,255,0.85); font-weight: 400; }

/* expect-grid 2col & 6-card variants */
.expect-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .expect-grid.cols-2 { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   FAQ — dark accordion
   ═══════════════════════════════════════════════════════════ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq details[open] { background: rgba(255,255,255,0.06); border-color: rgba(91,194,231,0.4); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 28px;
  font-size: 17px; font-weight: 600;
  color: #fff;
  letter-spacing: -0.012em;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 24px; font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: transform .3s var(--easing), color .2s;
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--pink); }
.faq details > p, .faq details > div {
  padding: 0 28px 22px;
  font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
}
.faq details p strong { color: rgba(255,255,255,0.95); font-weight: 600; }
.faq details p a { color: #B0E5F4; border-bottom: 1px solid rgba(165,180,252,0.3); }
.faq details p a:hover { color: #B0E5F4; }

/* ═══════════════════════════════════════════════════════════
   STAFF GRID (leadership) — light
   ═══════════════════════════════════════════════════════════ */
.staff-section-title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.staff-card {
  background: var(--bg-card);
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  display: flex; gap: 16px;
  align-items: center;
  transition: transform .3s var(--easing), border-color .3s, box-shadow .3s;
}
.staff-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91,194,231,0.35);
  box-shadow: 0 14px 32px -16px rgba(91,194,231,0.3);
}
.staff-avatar {
  width: 48px; height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.02em;
}
/* All staff avatars share one consistent brand-blue gradient (the color
   carries no meaning, so we keep it uniform to avoid implying categories). */
.staff-name { font-weight: 600; font-size: 15px; color: var(--ink); letter-spacing: -0.01em; }
.staff-role { font-size: 13px; color: var(--ink-soft); margin-bottom: 2px; }
.staff-card a {
  font-size: 12px; color: var(--indigo);
  border-bottom: 1px solid rgba(91,194,231,0.25);
  transition: color .2s, border-color .2s;
}
.staff-card a:hover { color: var(--pink); border-bottom-color: var(--pink); }

/* ═══════════════════════════════════════════════════════════
   BELIEFS — numbered list
   ═══════════════════════════════════════════════════════════ */
.beliefs {
  list-style: none;
  display: grid; gap: 12px;
  counter-reset: belief;
}
.beliefs li {
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  padding: 22px 24px 22px 76px;
  position: relative;
  font-size: 16px; line-height: 1.6;
  color: var(--ink-2);
}
.beliefs li::before {
  counter-increment: belief;
  content: counter(belief, decimal-leading-zero);
  position: absolute;
  left: 22px; top: 22px;
  font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════
   SUBSPLASH SERMON EMBED CONTAINER
   ═══════════════════════════════════════════════════════════ */
.sermon-embed-wrap {
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: 0 30px 80px -30px rgba(91,194,231,0.18);
  overflow: hidden;
}
.sermon-embed-wrap iframe { width: 100%; min-height: 700px; border: 0; display: block; border-radius: var(--radius); }

/* ═══════════════════════════════════════════════════════════
   APP STORE BUTTONS
   ═══════════════════════════════════════════════════════════ */
.store-row { display: flex; gap: 10px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  background: #000; color: #fff;
  border-radius: 14px;
  transition: transform .2s var(--easing);
}
.store-btn:hover { transform: scale(1.04); }
.store-btn .store-top { font-size: 10px; opacity: 0.85; line-height: 1.2; }
.store-btn .store-bot { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.store-btn span { display: flex; flex-direction: column; text-align: left; }

/* ═══════════════════════════════════════════════════════════
   FINAL CTA — full bleed gradient
   ═══════════════════════════════════════════════════════════ */
.final-cta {
  padding: clamp(90px, 14vw, 160px) 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(91,194,231,0.35), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(31,78,102,0.3), transparent 50%),
    #000;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 2; }
.final-cta h2 {
  font-size: clamp(40px, 7vw, 100px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 22px;
}
.final-cta h2 em {
  font-style: italic;
  background: linear-gradient(120deg, #DBF1FA, #B0E5F4, #B0E5F4);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
display: inline-block;
  /* Pad all four sides so italic slant + descenders (y/g/p) aren't clipped by background-clip:text */
  padding: 0.1em 0.18em 0.22em 0.05em;
  margin: -0.1em -0.13em -0.22em -0.05em;
}
.final-cta p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER BAND
   ═══════════════════════════════════════════════════════════ */
.newsletter-band {
  background: linear-gradient(180deg, #0a0a0a 0%, #0f1a26 100%);
  padding: 56px 0;
  border-top: 1px solid rgba(91,194,231,0.12);
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-text { flex: 1 1 380px; min-width: 280px; }
.newsletter-text .section-eyebrow {
  color: rgba(176,229,244,0.85);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}
.newsletter-text h3 {
  color: #fff;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.newsletter-text p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 300;
  margin: 0;
}
.newsletter-cta { flex: 0 0 auto; }
@media (max-width: 640px) {
  .newsletter-band { padding: 44px 0; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: #000; color: rgba(255,255,255,0.55);
  padding: 64px 0 28px;
  border-top: 1px solid var(--line-d);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer h4 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.footer ul li { margin-bottom: 8px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-tag { color: rgba(255,255,255,0.45); max-width: 36ch; font-size: 13px; line-height: 1.55; margin-top: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line-d);
  flex-wrap: wrap; gap: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a:hover { color: #fff; }
.footer-social {
  display: flex; gap: 8px; margin-top: 16px;
}
.footer-social a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ═══════════════════════════════════════════════════════════
   SERVICE CARD (home page-only utility)
   ═══════════════════════════════════════════════════════════ */
.svc-section { background: #000; padding: 0 0 100px; position: relative; }
.svc-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 48px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -30px rgba(91,194,231,0.25);
}
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 820px) { .svc-grid { grid-template-columns: 1fr; gap: 28px; } }
.svc-col + .svc-col { border-left: 1px solid rgba(255,255,255,0.08); padding-left: 36px; }
@media (max-width: 820px) {
  .svc-col + .svc-col { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding-left: 0; padding-top: 28px; }
}
.svc-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px; font-weight: 600;
  color: #B0E5F4;
  margin-bottom: 14px;
}
.svc-time { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.92); }
.svc-time strong { font-weight: 600; }
.svc-sub { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 300; }
.svc-addr { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.92); }
.svc-map {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 14px; font-weight: 500;
  color: #B0E5F4;
  transition: gap .2s var(--easing);
}
.svc-map:hover { gap: 10px; }
.svc-map svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════
   HOME-PAGE SPECIFIC: welcome, schools, pathway, ministries, sermons media-card, app phone-mock
   ═══════════════════════════════════════════════════════════ */
.welcome-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (max-width: 880px) { .welcome-grid { grid-template-columns: 1fr; } }
.quote-mark {
  display: block;
  font-size: 88px; line-height: 1;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  margin-bottom: 8px;
}
.welcome-text {
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.4; font-weight: 400;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin-bottom: 32px;
}
.welcome-text em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(120deg, var(--indigo), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
display: inline-block;
  /* Pad all four sides so italic slant + descenders (y/g/p) aren't clipped by background-clip:text */
  padding: 0.1em 0.18em 0.22em 0.05em;
  margin: -0.1em -0.13em -0.22em -0.05em;
}
.welcome-sig { display: flex; align-items: center; gap: 14px; }
.welcome-sig-dot {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em;
}
.welcome-sig-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.welcome-sig-role { font-size: 13px; color: var(--ink-soft); }
.welcome-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ddd;
}
.welcome-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--easing); }
.welcome-photo:hover img { transform: scale(1.04); }

.schools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 880px) { .schools-grid { grid-template-columns: 1fr; } }
.school-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 56px 44px 44px;
  min-height: 540px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .5s var(--easing);
  color: #fff;
}
.school-card:hover { transform: translateY(-4px); }
.school-cdc {
  background:
    radial-gradient(circle at 80% 10%, rgba(245,158,11,0.45), transparent 60%),
    radial-gradient(circle at 20% 90%, rgba(31,78,102,0.4), transparent 60%),
    linear-gradient(160deg, #1e1b4b, #581c87);
}
.school-academy {
  background:
    radial-gradient(circle at 20% 10%, rgba(44,143,184,0.45), transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(91,194,231,0.4), transparent 60%),
    linear-gradient(160deg, #042f2e, #0c4a6e);
}
.school-kicker {
  text-transform: uppercase;
  font-size: 11px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  margin-bottom: 14px;
}
.school-card h3 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.school-card p {
  font-size: 15px; line-height: 1.55;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  margin-bottom: 20px;
  max-width: 42ch;
}
.school-list { list-style: none; margin-bottom: 28px; display: grid; gap: 8px; }
.school-list li {
  display: flex; gap: 10px;
  font-size: 14px; line-height: 1.5;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
}
.school-list li::before {
  content: ''; flex: 0 0 auto;
  width: 5px; height: 5px; border-radius: 50%;
  background: #fff; opacity: 0.7;
  margin-top: 9px;
}
.school-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: auto; padding-bottom: 28px; }
.school-pill {
  padding: 5px 11px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 980px;
  font-size: 11px; font-weight: 500;
  backdrop-filter: blur(10px);
}
.school-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500;
  color: #fff;
  transition: gap .3s var(--easing);
}
.school-link:hover { gap: 12px; }
.school-link svg { width: 17px; height: 17px; }

.pathway-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (max-width: 880px) { .pathway-grid { grid-template-columns: 1fr; } }
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  align-items: start;
  transition: background .3s, border-color .3s;
}
.step:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
.step-num {
  font-size: 28px; font-weight: 700;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.02em;
}
.step h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; color: #fff; }
.step p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.65); font-weight: 300; }
.pathway-cta { margin-top: 36px; }

.min-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}
@media (max-width: 880px) { .min-head { grid-template-columns: 1fr; } }
.min-head-aside {
  color: var(--ink-2);
  font-size: 16px; line-height: 1.55;
  max-width: 38ch;
  font-weight: 300;
}
.min-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 1080px) { .min-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .min-grid { grid-template-columns: repeat(2, 1fr); } }
.min {
  background: var(--bg-card);
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  transition: transform .3s var(--easing), border-color .3s, box-shadow .3s;
  color: var(--ink);
}
.min:hover {
  transform: translateY(-3px);
  border-color: rgba(91,194,231,0.4);
  box-shadow: 0 18px 40px -20px rgba(91,194,231,0.35);
}
.min-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  color: #fff;
  border-radius: 11px;
  margin-bottom: 18px;
}
.min:nth-child(2) .min-icon { background: linear-gradient(135deg, var(--cyan), var(--indigo)); }
.min:nth-child(3) .min-icon { background: linear-gradient(135deg, var(--amber), var(--pink)); }
.min:nth-child(4) .min-icon { background: linear-gradient(135deg, var(--pink), var(--amber)); }
.min:nth-child(5) .min-icon { background: linear-gradient(135deg, var(--indigo), var(--cyan)); }
.min:nth-child(6) .min-icon { background: linear-gradient(135deg, var(--cyan), var(--amber)); }
.min-title { font-size: 16px; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 4px; }
.min-sub { font-size: 13px; color: var(--ink-soft); font-weight: 400; }

.media-card {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 20%, rgba(91,194,231,0.5), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(31,78,102,0.4), transparent 60%),
    #0a0a0a;
  padding: clamp(50px, 7vw, 90px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 880px) { .media-card { grid-template-columns: 1fr; gap: 36px; } }
.media-card h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 700; line-height: 1.06;
  letter-spacing: -0.028em;
  margin-bottom: 16px;
}
.media-card p {
  font-size: 16px; color: rgba(255,255,255,0.72);
  font-weight: 300; line-height: 1.55;
  margin-bottom: 28px;
  max-width: 40ch;
}
.player-mock {
  aspect-ratio: 16/10;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(91,194,231,0.3), rgba(31,78,102,0.3)), #000;
  border: 1px solid rgba(255,255,255,0.12);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(91,194,231,0.25);
}
.player-mock::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}
.player-play {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: grid; place-items: center;
  position: relative; z-index: 2;
  color: #000;
  transition: transform .3s var(--easing);
  box-shadow: 0 0 80px rgba(255,255,255,0.4);
}
.player-play:hover { transform: scale(1.08); }
.player-meta {
  position: absolute; bottom: 18px; left: 20px; z-index: 2;
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

.app-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 880px) { .app-grid { grid-template-columns: 1fr; } }
.app-text h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 700; line-height: 1.04;
  letter-spacing: -0.032em;
  margin-bottom: 18px;
}
.app-text h2 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--indigo), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
display: inline-block;
  /* Pad all four sides so italic slant + descenders (y/g/p) aren't clipped by background-clip:text */
  padding: 0.1em 0.18em 0.22em 0.05em;
  margin: -0.1em -0.13em -0.22em -0.05em;
}
.app-text p {
  font-size: 17px; color: var(--ink-2);
  font-weight: 300; line-height: 1.55;
  max-width: 42ch;
  margin-bottom: 28px;
}
.phone-wrap { display: flex; justify-content: center; }
.phone-mock {
  width: 280px;
  aspect-ratio: 9/19;
  border-radius: 42px;
  background: #0a0a0a;
  padding: 10px;
  box-shadow:
    0 0 0 2px #1d1d1f,
    0 60px 120px -30px rgba(91,194,231,0.5),
    0 30px 60px -15px rgba(31,78,102,0.3);
  position: relative;
}
.phone-mock::before {
  content: ''; position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px;
  background: #000; border-radius: 980px;
  z-index: 3;
}
.phone-screen {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(91,194,231,0.5), transparent 50%),
    radial-gradient(circle at 70% 85%, rgba(31,78,102,0.4), transparent 55%),
    linear-gradient(180deg, #1a1a2e, #0a0a0a);
  color: #fff;
  padding: 50px 18px 18px;
  text-align: left;
  font-family: 'Inter', sans-serif;
}
.phone-time { text-align: center; font-size: 11px; opacity: 0.7; margin-bottom: 24px; font-weight: 500; }
.phone-greeting { font-size: 10px; opacity: 0.55; margin-bottom: 4px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.phone-headline { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.1; }
.phone-tile {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 11px 12px;
  margin-bottom: 8px;
  backdrop-filter: blur(10px);
}
.phone-tile-label { font-size: 9px; opacity: 0.55; text-transform: uppercase; letter-spacing: 0.10em; margin-bottom: 3px; font-weight: 500; }
.phone-tile-value { font-size: 13px; font-weight: 600; line-height: 1.25; }
.phone-tile-row { display: flex; gap: 8px; margin-bottom: 8px; }
.phone-tile-row .phone-tile { flex: 1; margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════
   SCHOOL PAGES — page hero tints + docs + info cards
   ═══════════════════════════════════════════════════════════ */

/* CDC = warm gradient overlay (purple/pink/amber to mirror .school-cdc card) */
.page-hero.cdc .hero-photo::after {
  background: linear-gradient(180deg, rgba(88, 28, 135, 0.55) 0%, rgba(190, 18, 60, 0.5) 50%, rgba(0,0,0,0.85) 100%);
}
.page-hero.cdc .aurora {
  background:
    radial-gradient(circle at 22% 30%, rgba(245,158,11,0.45), transparent 45%),
    radial-gradient(circle at 80% 22%, rgba(31,78,102,0.45), transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(44,143,184,0.4), transparent 55%),
    radial-gradient(circle at 12% 88%, rgba(91,194,231,0.3), transparent 50%);
}
.page-hero.cdc h1 em {
  background: linear-gradient(120deg, #fde68a 0%, #B0E5F4 50%, #DBF1FA 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Academy = cool gradient overlay (cyan/indigo/teal to mirror .school-academy card) */
.page-hero.academy .hero-photo::after {
  background: linear-gradient(180deg, rgba(4,47,46,0.55) 0%, rgba(12,74,110,0.55) 50%, rgba(0,0,0,0.85) 100%);
}
.page-hero.academy .aurora {
  background:
    radial-gradient(circle at 22% 30%, rgba(44,143,184,0.5), transparent 45%),
    radial-gradient(circle at 80% 22%, rgba(91,194,231,0.4), transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(20,184,166,0.4), transparent 55%),
    radial-gradient(circle at 12% 88%, rgba(34,211,238,0.3), transparent 50%);
}
.page-hero.academy h1 em {
  background: linear-gradient(120deg, #B0E5F4 0%, #DBF1FA 50%, #99f6e4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* DOC LIST (forms / handbooks etc) — light-section list of file links */
.docs-group-title {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin: 36px 0 14px;
}
.docs-group-title:first-of-type { margin-top: 0; }
.docs {
  list-style: none;
  display: grid; gap: 8px;
  margin-bottom: 8px;
}
.docs li {
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: 14px;
  transition: transform .25s var(--easing), border-color .25s, box-shadow .25s;
}
.docs li:hover {
  transform: translateY(-2px);
  border-color: rgba(91,194,231,0.4);
  box-shadow: 0 14px 30px -16px rgba(91,194,231,0.3);
}
.docs li a {
  display: flex; align-items: center;
  gap: 14px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.docs li a::before {
  content: '';
  flex: 0 0 auto;
  width: 28px; height: 28px;
  background:
    linear-gradient(135deg, var(--indigo), var(--pink));
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='16' y1='13' x2='8' y2='13'/><line x1='16' y1='17' x2='8' y2='17'/><polyline points='10 9 9 9 8 9'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='16' y1='13' x2='8' y2='13'/><line x1='16' y1='17' x2='8' y2='17'/><polyline points='10 9 9 9 8 9'/></svg>");
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  border-radius: 0;
}
.docs li a::after {
  content: '↗';
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 16px;
  transition: transform .25s var(--easing), color .2s;
}
.docs li:hover a::after { color: var(--pink); transform: translate(2px, -2px); }

/* INFOGRID — contact card grid (CDC/Academy contact section) */
.infogrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.infocard {
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: transform .3s var(--easing), border-color .3s, box-shadow .3s;
}
.infocard:hover {
  transform: translateY(-2px);
  border-color: rgba(91,194,231,0.4);
  box-shadow: 0 14px 32px -16px rgba(91,194,231,0.3);
}
.infocard h4 {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--indigo);
  margin-bottom: 10px;
}
.infocard p {
  font-size: 16px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 4px;
}
.infocard p a {
  color: var(--ink);
  border-bottom: 1px solid rgba(91,194,231,0.25);
  transition: color .2s, border-color .2s;
}
.infocard p a:hover { color: var(--pink); border-bottom-color: var(--pink); }
.infocard .form-note {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 4px;
}
.infocard .form-note a { color: var(--indigo); border-bottom: 1px solid rgba(91,194,231,0.25); }

/* NOTICE — disclaimers / non-discrimination block (light bg) */
.notice {
  position: relative;
  padding: 18px 22px 18px 26px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
}
.notice::before {
  content: '';
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  background: linear-gradient(180deg, var(--indigo), var(--pink));
  border-radius: 0 2px 2px 0;
}
.notice strong { color: var(--ink); font-weight: 600; }

/* CROSS-LINK callout (between sibling pages, e.g. CDC ↔ Academy) */
.crosslink {
  text-align: center;
  padding: 64px 0;
}
.crosslink-kicker {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.crosslink-headline {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}
.crosslink-headline a {
  background: linear-gradient(120deg, var(--indigo), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  display: inline-block;
  padding: 0.05em 0.12em 0.18em 0.05em;
  margin: -0.05em -0.08em -0.18em -0.05em;
  border-bottom: 2px solid rgba(91,194,231,0.4);
  transition: border-color .25s;
}
.crosslink-headline a:hover { border-bottom-color: var(--pink); }

/* ═══════════════════════════════════════════════════════════
   MINISTRY PAGES — additional utilities
   ═══════════════════════════════════════════════════════════ */

/* Featured-event card (Students BIG Event, Women's Retreat) */
.event-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-l);
  margin: 0 auto;
  max-width: 880px;
}
.event-card-header {
  padding: 26px 32px 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(91,194,231,0.45), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(31,78,102,0.4), transparent 60%),
    #0a0a0a;
  color: #fff;
}
.event-card-kicker {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.event-card-header h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  line-height: 1.15;
}
.event-card-body {
  padding: 24px 32px 28px;
  color: var(--ink-2);
}
.event-card-pills {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.event-card-pill {
  display: inline-flex; align-items: center;
  padding: 5px 11px;
  background: var(--bg-card);
  border: 1px solid var(--line-l);
  border-radius: 980px;
  font-size: 12px; font-weight: 500;
  color: var(--ink);
}
.event-card-pill strong { font-weight: 600; }
.event-card p {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.event-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600;
  color: var(--indigo);
  border-bottom: 1px solid rgba(91,194,231,0.3);
  transition: color .2s, border-color .2s, gap .2s var(--easing);
}
.event-card-cta:hover { color: var(--pink); border-bottom-color: var(--pink); gap: 10px; }

/* Schedule / time block (Kids 9:30/11, Students Sun 11/6p) */
.time-block {
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 14px;
  transition: transform .25s var(--easing), border-color .25s, box-shadow .25s;
}
.time-block:hover {
  transform: translateY(-2px);
  border-color: rgba(91,194,231,0.4);
  box-shadow: 0 14px 30px -16px rgba(91,194,231,0.3);
}
.time-block-tag {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
  letter-spacing: -0.005em;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  flex-shrink: 0;
}
.time-block.amber .time-block-tag { background: linear-gradient(135deg, var(--amber), var(--pink)); }
.time-block.cyan  .time-block-tag { background: linear-gradient(135deg, var(--cyan), var(--indigo)); }
.time-block h3 {
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 6px;
}
.time-block-kicker {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 10px;
}
.time-block p {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.time-block p:last-child { margin-bottom: 0; }

/* MINISTRY HUB — FAITH Groups feature block */
.hub-feature {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 75% 15%, rgba(91,194,231,0.5), transparent 55%),
    radial-gradient(circle at 25% 85%, rgba(31,78,102,0.4), transparent 55%),
    #0a0a0a;
  padding: clamp(50px, 6vw, 80px);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hub-feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 880px) { .hub-feature-grid { grid-template-columns: 1fr; } }
.hub-feature h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; line-height: 1.06;
  letter-spacing: -0.028em;
  margin-bottom: 18px;
}
.hub-feature h2 em {
  font-style: italic; font-weight: 600;
  background: linear-gradient(120deg, #DBF1FA, #B0E5F4);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0.1em 0.18em 0.22em 0.05em;
  margin: -0.1em -0.13em -0.22em -0.05em;
}
.hub-feature p {
  font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  margin-bottom: 14px;
}
.hub-feature .cta-row { justify-content: flex-start; margin-top: 26px; }

.hub-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hub-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 22px 20px;
  backdrop-filter: blur(10px);
}
.hub-stat-num {
  font-size: 44px; font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #DBF1FA, #B0E5F4, #B0E5F4);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}
.hub-stat-lbl {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
}
.hub-stat-lbl span { display: block; font-size: 11px; opacity: .65; margin-top: 4px; font-weight: 400; }

/* GROUPS DIRECTORY — filter bar + cards */
.groups-meta-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap; gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.groups-count strong { color: var(--ink); font-weight: 600; }
.groups-updated { font-size: 12px; opacity: 0.7; }

.groups-filters {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 28px;
}
.groups-filter-group {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 8px;
}
.groups-filter-label {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-right: 6px;
  min-width: 56px;
}
.groups-filter-btn {
  padding: 6px 14px;
  border-radius: 980px;
  background: var(--bg-card);
  border: 1px solid var(--line-l);
  color: var(--ink);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .15s var(--easing);
  font-family: inherit;
}
.groups-filter-btn:hover { transform: translateY(-1px); border-color: rgba(91,194,231,0.4); }
.groups-filter-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  border-color: transparent;
  color: #fff;
}

.groups-loading {
  text-align: center;
  padding: 48px 20px;
  color: var(--ink-soft);
  font-size: 15px;
}
.groups-spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--line-l);
  border-top-color: var(--indigo);
  border-radius: 50%;
  margin: 0 auto 14px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.groups-empty { text-align: center; padding: 48px 20px; color: var(--ink-soft); }

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.group-card {
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  padding: 22px 24px 20px;
  display: flex; flex-direction: column;
  transition: transform .25s var(--easing), border-color .25s, box-shadow .25s;
}
.group-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91,194,231,0.4);
  box-shadow: 0 14px 30px -16px rgba(91,194,231,0.3);
}
.group-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 6px;
}
.group-card h3 {
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  flex: 1;
  line-height: 1.25;
}
.group-audience {
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 980px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
}
.group-audience.women { background: linear-gradient(135deg, var(--pink), var(--amber)); }
.group-audience.men { background: linear-gradient(135deg, var(--cyan), var(--indigo)); }
.group-audience.young { background: linear-gradient(135deg, var(--amber), var(--pink)); }
.group-subtitle {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.group-meta {
  display: grid; gap: 4px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.group-meta-row { display: grid; grid-template-columns: 80px 1fr; gap: 8px; }
.group-meta-row .k {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  padding-top: 2px;
}
.group-meta-row .v { color: var(--ink-2); }
.group-desc {
  font-size: 13.5px; line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.group-footer-row {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line-l);
}
.group-full-badge {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.group-join {
  font-size: 14px; font-weight: 600;
  color: var(--indigo);
  border-bottom: 1px solid rgba(91,194,231,0.3);
  transition: color .2s, border-color .2s;
}
.group-join:hover { color: var(--pink); border-bottom-color: var(--pink); }

/* MINISTRY GRID — extended (more than 6 cards, can wrap) */
.expect-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .expect-grid.cols-3 { grid-template-columns: 1fr; } }

/* feature-card with footer text-link (Learn more on hub) */
.feature-card .feature-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-size: 14px; font-weight: 600;
  color: #B0E5F4;
  transition: gap .25s var(--easing), color .2s;
}
.feature-card .feature-link:hover { gap: 10px; color: #B0E5F4; }
.feature-card .feature-link svg { width: 14px; height: 14px; }
.feature-card .feature-meta {
  font-size: 13px; color: rgba(255,255,255,0.55);
  margin-top: 8px;
}
.feature-card .feature-meta strong { color: rgba(255,255,255,0.85); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   EVENTS PAGE
   ═══════════════════════════════════════════════════════════ */

.events-meta-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap; gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.events-count strong { color: var(--ink); font-weight: 600; }

/* Tabs (Upcoming / Past) */
.events-tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--line-l);
  border-radius: 980px;
  padding: 4px;
  margin-bottom: 24px;
}
.events-tab-btn {
  padding: 7px 16px;
  border-radius: 980px;
  background: transparent;
  border: 0;
  color: var(--ink-2);
  font-size: 13px; font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.events-tab-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--indigo), var(--pink));
  color: #fff;
}

/* Filter bar — reuses .groups-filters style; nothing else needed */
.events-filters { /* uses .groups-filters */ }

/* Featured event hero card */
.featured-event {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(91,194,231,0.5), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(31,78,102,0.4), transparent 60%),
    #0a0a0a;
  padding: clamp(40px, 5vw, 60px);
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.featured-event-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
}
@media (max-width: 880px) { .featured-event-grid { grid-template-columns: 1fr; } }
.featured-event-kicker {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.featured-event h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-bottom: 12px;
}
.featured-event-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  margin-bottom: 18px;
}
.featured-event-pills {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.featured-event-pill {
  padding: 5px 11px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 980px;
  font-size: 12px; font-weight: 500;
  backdrop-filter: blur(10px);
}
.featured-event-pill strong { font-weight: 600; }
.featured-event-desc {
  font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  margin-bottom: 22px;
  max-width: 50ch;
}
.featured-event-side {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 26px 28px;
  backdrop-filter: blur(10px);
}
.featured-event-side-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}
.featured-event-side-row:last-child { border-bottom: 0; }
.featured-event-side-row .k {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  padding-top: 2px;
}
.featured-event-side-row .v { color: rgba(255,255,255,0.92); }

/* Month group header */
.events-month {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-l);
}
.events-month:first-of-type { margin-top: 0; }

/* Standard event card */
.events-list {
  display: grid;
  gap: 12px;
}
.event-row {
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 22px;
  align-items: center;
  transition: transform .25s var(--easing), border-color .25s, box-shadow .25s;
}
.event-row:hover {
  transform: translateY(-2px);
  border-color: rgba(91,194,231,0.4);
  box-shadow: 0 14px 30px -16px rgba(91,194,231,0.3);
}
@media (max-width: 760px) {
  .event-row { grid-template-columns: 1fr; gap: 14px; }
}
.event-row-date {
  text-align: center;
  background: linear-gradient(135deg, rgba(91,194,231,0.08), rgba(31,78,102,0.06));
  border-radius: 14px;
  padding: 10px 6px;
  border: 1px solid rgba(91,194,231,0.15);
}
@media (max-width: 760px) {
  .event-row-date { display: inline-block; padding: 8px 16px; }
}
.event-row-month {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--indigo);
}
.event-row-day {
  font-size: 30px; font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.event-row-end {
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 2px;
  font-weight: 500;
}
.event-row-body h3 {
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 4px;
}
.event-row-subtitle {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.event-row-meta {
  display: flex; flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.event-row-meta span {
  display: inline-flex; align-items: center; gap: 4px;
}
.event-row-meta svg {
  width: 13px; height: 13px;
  color: var(--ink-soft);
  flex: 0 0 auto;
}
.event-row-desc {
  font-size: 14px; line-height: 1.55;
  color: var(--ink-2);
}
.event-row-side {
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 140px;
}
@media (max-width: 760px) {
  .event-row-side { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}

/* Audience pill (color-coded) */
.event-audience {
  padding: 4px 11px;
  border-radius: 980px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--indigo), var(--pink));
}
.event-audience.kids     { background: linear-gradient(135deg, var(--amber), var(--pink)); }
.event-audience.students { background: linear-gradient(135deg, var(--cyan), var(--indigo)); }
.event-audience.women    { background: linear-gradient(135deg, var(--pink), var(--amber)); }
.event-audience.men      { background: linear-gradient(135deg, var(--cyan), var(--indigo)); }
.event-audience.young    { background: linear-gradient(135deg, var(--amber), var(--pink)); }
.event-audience.community{ background: linear-gradient(135deg, var(--cyan), var(--amber)); }
.event-audience.families { background: linear-gradient(135deg, var(--indigo), var(--cyan)); }

/* Cost pill */
.event-cost {
  padding: 4px 11px;
  border-radius: 980px;
  font-size: 11px; font-weight: 600;
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--line-l);
  white-space: nowrap;
}
.event-cost.free {
  color: #15803d;
  border-color: rgba(34,197,94,0.3);
  background: rgba(34,197,94,0.05);
}

/* Register button on cards */
.event-register {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: #000; color: #fff;
  border-radius: 980px;
  font-size: 13px; font-weight: 600;
  transition: transform .2s var(--easing), background .2s;
  white-space: nowrap;
}
.event-register:hover { transform: scale(1.04); }
.event-register.full { background: var(--bg-card); color: var(--ink); border: 1px solid var(--line-l); }
.event-register.closed { background: var(--bg-card); color: var(--ink-soft); border: 1px solid var(--line-l); cursor: default; pointer-events: none; }
.event-register.free-noreg {
  background: rgba(34,197,94,0.1); color: #15803d;
  border: 1px solid rgba(34,197,94,0.3);
  cursor: default; pointer-events: none;
}
.event-register svg { width: 12px; height: 12px; }

/* Empty state */
.events-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px dashed var(--line-l);
  border-radius: var(--radius);
}
.events-empty p { font-size: 15px; }

/* ═══════════════════════════════════════════════════════════
   MOBILE HAMBURGER MENU
   ═══════════════════════════════════════════════════════════ */
.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
  border-radius: 8px;
  position: relative;
  z-index: 70;  /* above the drawer so the X stays tappable */
  transition: background .2s, color .2s;
}
.nav-burger:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-burger svg { display: block; pointer-events: none; }

@media (max-width: 880px) {
  /* Drop backdrop-filter on mobile — it creates a containing block that traps the drawer */
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }

  /* Compact popover dropdown attached to the top-right corner */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    right: 12px;
    width: min(300px, calc(100vw - 24px));
    max-height: min(70vh, calc(100vh - 80px));
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 8px;
    gap: 0;
    z-index: 50;  /* below nav (z=60) so burger X stays on top */
    overflow-y: auto;
    box-shadow: 0 24px 60px -20px rgba(0,0,0,0.65);
    animation: navDrawerIn .22s var(--easing);
  }
  .nav-links.open a {
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
    border-radius: 10px;
    border-bottom: 0;
    letter-spacing: -0.005em;
    transition: background .15s;
  }
  .nav-links.open a:hover { background: rgba(255,255,255,0.06); color: #fff; }
  .nav-links.open a.current {
    color: #B0E5F4;
    background: rgba(91,194,231,0.12);
    font-weight: 700;
  }

  /* Smaller CTA on tablets so it fits next to the burger */
  .nav-cta { padding: 9px 16px; font-size: 13px; }
}

@media (max-width: 480px) {
  .nav-cta { display: none; } /* phones: just logo + burger */
}

@keyframes navDrawerIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════════════
   YOUTUBE EMBED — click-to-play, no related videos, no YouTube link
   ═══════════════════════════════════════════════════════════ */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background-color: #0a0a0a;
  background-image:
    linear-gradient(135deg, rgba(91,194,231,0.55), rgba(31,78,102,0.35) 60%, rgba(0,0,0,0.7)),
    url('https://i.ytimg.com/vi/9tEgYK3vT-Y/maxresdefault.jpg');
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform .25s var(--easing), box-shadow .25s var(--easing);
  display: block;
}
.video-embed:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -20px rgba(91,194,231,0.4); }
.video-embed:focus-visible { outline: 2px solid var(--indigo); outline-offset: 4px; }

.video-embed .video-meta {
  position: absolute; top: 18px; left: 22px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  z-index: 2;
}

.video-embed .video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  color: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform .2s var(--easing), background .2s;
  padding-left: 4px; /* nudge play triangle visually centered */
}
.video-embed:hover .video-play {
  transform: translate(-50%, -50%) scale(1.07);
  background: #fff;
}

.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* When the iframe is loaded, hide overlays */
.video-embed.playing { background-image: none; cursor: default; }
.video-embed.playing .video-meta,
.video-embed.playing .video-play { display: none; }

/* Block YouTube's share/link button (bottom-left corner) — no API param to hide it */
.video-embed.playing::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 110px; height: 60px;
  z-index: 10;
  pointer-events: auto;
  background: transparent;
  cursor: default;
}

/* ═══════════════════════════════════════════════════════════
   PHOTO PLACEHOLDER — for slots awaiting real FAITH photos
   ═══════════════════════════════════════════════════════════ */
.photo-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(91,194,231,0.18), rgba(31,78,102,0.12)),
    repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0 14px, rgba(0,0,0,0.07) 14px 28px);
  border: 2px dashed rgba(91,194,231,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px;
  text-align: center;
}
.photo-placeholder svg {
  width: 36px; height: 36px;
  color: rgba(91,194,231,0.7);
}
.photo-placeholder strong {
  color: var(--ink); font-weight: 600; font-size: 14px;
  letter-spacing: 0.02em;
}
.photo-placeholder span {
  color: var(--ink-soft); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.welcome-photo-img,
.faith-photo-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}
