/* =====================================================
   Moralists International Fellowship — Site Styles
   Premium Red / White / Black brand · Multi-page
   ===================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens (Red / White / Black) ---------- */
:root {
  --red: #a8111d;
  --red-dark: #800d16;
  --red-text: #8a0e18;
  --red-soft: #f3c7c9;

  --black: #100c0b;
  --ink: #171110;
  --ink-2: #241b18;

  --white: #ffffff;
  --cream: #fbf8f7;
  --neutral: #f3eeec;
  --line: #e7dedb;
  --muted: #6d625f;
  --body: #4f4541;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-xs: 0 1px 2px rgba(20, 12, 10, 0.06);
  --shadow-sm: 0 6px 18px rgba(20, 12, 10, 0.08);
  --shadow-md: 0 14px 34px rgba(20, 12, 10, 0.12);
  --shadow-lg: 0 24px 60px rgba(20, 12, 10, 0.18);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --container-w: 1200px;
  --header-h: 84px;
}

/* ---------- Reset / base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 6px); overflow-x: hidden; }
* { box-sizing: border-box; }
img { max-width: 100%; display: block; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  font-size: 1.05rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1.15em; }
a { color: var(--red-text); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--red); }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid rgba(168, 17, 29, 0.55); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red-soft); color: var(--ink); }

/* Utility */
.bg-cream { background: var(--cream); }
.text-red { color: var(--red); }
.text-muted-c { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: 0.01em; }
.btn .fa-solid, .btn .fa-regular, .btn .fa-brands { line-height: 1; }
.btn-brand {
  background: var(--red);
  border: 2px solid var(--red);
  color: #fff;
  padding: 0.9rem 2rem;
  font-size: 1.02rem;
  font-weight: 700;
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 17, 29, 0.35);
}
.btn-dark {
  background: var(--ink);
  border: 2px solid var(--ink);
  color: #fff;
  padding: 0.9rem 2rem;
  font-size: 1.02rem;
  font-weight: 700;
}
.btn-dark:hover, .btn-dark:focus { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light-soft {
  border: 2px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem 2rem;
  font-size: 1.02rem;
  font-weight: 700;
}
.btn-outline-light-soft:hover, .btn-outline-light-soft:focus {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline-red {
  border: 2px solid var(--red);
  color: var(--red);
  background: transparent;
  padding: 0.9rem 2rem;
  font-size: 1.02rem;
  font-weight: 700;
}
.btn-outline-red:hover, .btn-outline-red:focus { background: var(--red); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-ink {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
  padding: 0.9rem 2rem;
  font-size: 1.02rem;
  font-weight: 700;
}
.btn-outline-ink:hover, .btn-outline-ink:focus { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

/* Link with arrow */
.link-more {
  font-weight: 700;
  color: var(--red-text);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.link-more .fa-solid { font-size: 0.85rem; transition: transform 0.25s ease; }
.link-more:hover { color: var(--red); }
.link-more:hover .fa-solid { transform: translateX(4px); }

/* ---------- Eyebrow / section headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--red); display: inline-block; border-radius: 2px; }
.eyebrow-center { justify-content: center; }
.eyebrow-center::after { content: ""; width: 32px; height: 2px; background: var(--red); display: inline-block; border-radius: 2px; }
.eyebrow.on-dark { color: var(--red-soft); }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 700px; margin-bottom: clamp(2.2rem, 5vw, 3.75rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; }
.section-lead { color: var(--muted); font-size: 1.12rem; line-height: 1.8; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: calc(var(--header-h) + 4.5rem) 0 4.5rem;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: -12% 0; background-position: center; background-size: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(45, 8, 11, 0.74), rgba(20, 6, 7, 0.86)); }
.page-hero-inner { position: relative; z-index: 2; max-width: 860px; }
.page-hero .eyebrow { color: var(--red-soft); }
.page-hero-title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
.page-hero-lead { color: rgba(255, 255, 255, 0.86); font-size: 1.15rem; max-width: 60ch; }
.page-crumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  margin-top: 1.4rem;
}
.page-crumb a { color: #fff; }
.page-crumb a:hover { color: var(--red-soft); }
.page-crumb .sep { color: var(--red-soft); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: transparent;
  padding: 1.1rem 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  padding: 0.55rem 0;
}
.site-header.is-scrolled .nav-link,
.site-header.is-solid .nav-link { color: var(--ink); }
.site-header.is-scrolled .nav-logo .logo-text,
.site-header.is-solid .nav-logo .logo-text { color: var(--ink); }
.site-header.is-scrolled .nav-logo .logo-sub,
.site-header.is-solid .nav-logo .logo-sub { color: var(--muted); }
.site-header.is-scrolled .nav-toggle,
.site-header.is-solid .nav-toggle { color: #fff; background: var(--red); border-color: var(--red); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.logo-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-xs);
}
.logo-text-wrap { line-height: 1.1; min-width: 0; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.16rem;
  color: #fff;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.logo-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-top: 2px;
  transition: color 0.3s ease;
}

/* Official Moralists logo — replaces the old text navbar/footer brand.
   Sized in height (not width) so the hosted aspect ratio is always kept and the
   logo never appears stretched, cropped or oversized inside the navbar. */
.site-logo {
  display: block;
  height: 58px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex: 0 0 auto;
}
.nav-logo .site-logo { height: 96px; max-height: 96px; }
.footer-brand .site-logo { height: 62px; }
.mobile-nav-head .site-logo { height: 64px; max-height: 64px; }

.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.4rem 0;
  letter-spacing: 0.01em;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.site-header.is-scrolled .nav-link:hover,
.site-header.is-solid .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active,
.site-header.is-solid .nav-link.is-active { color: var(--red-text); }

.nav-cta { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--red);
  border: 2px solid var(--red);
  width: 48px;
  height: 48px;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(168, 17, 29, 0.35);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  z-index: 2100;
  flex: 0 0 auto;
}
.nav-toggle:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.nav-toggle:focus-visible { outline: 3px solid rgba(168, 17, 29, 0.55); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(84vw, 360px);
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  z-index: 2500;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-close { background: none; border: 0; font-size: 1.4rem; color: var(--ink); cursor: pointer; width: 42px; height: 42px; border-radius: 10px; }
.mobile-nav-close:hover { background: var(--neutral); }
.mobile-nav-links { flex: 1 1 auto; overflow-y: auto; padding: 1rem 1.5rem; }
.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.25rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-links a:hover { color: var(--red-text); padding-left: 0.4rem; }
.mobile-nav-links a.is-active { color: var(--red-text); }
.mobile-nav-links a .fa-solid { font-size: 0.75rem; color: var(--red); }
.mobile-nav-foot { padding: 1.25rem 1.5rem; border-top: 1px solid var(--line); }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-overlay.is-show { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  align-items: center;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.3s ease;
  z-index: 1;
}
.hero-slide--fine { background-size: contain; background-repeat: no-repeat; background-position: center; }
.hero-slide--fine .hero-bg-fill { position: absolute; inset: -32px; background-size: cover; background-position: center; filter: blur(30px) brightness(0.45) saturate(1.2); z-index: 0; }
.hero-slide--fine .hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; z-index: 1; }
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(45, 8, 11, 0.62) 0%, rgba(30, 6, 8, 0.42) 45%, rgba(26, 5, 7, 0.8) 100%); z-index: 3; }
.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  color: #fff;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 1.35rem;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); border-radius: 2px; }
.hero-title {
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
  max-width: 15ch;
  margin-bottom: 1.4rem;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-title em { font-style: normal; color: var(--red-soft); }
.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 44ch;
  margin-bottom: 2.1rem;
  font-weight: 400;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }
.hero-service {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  color: #fff;
}
.hero-service .fa-solid { color: var(--red-soft); font-size: 1.05rem; }
.hero-service .hs-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); display: block; }
.hero-service .hs-value { font-weight: 700; font-size: 1.1rem; }
.hero-service .hs-value em { font-style: normal; color: var(--red-soft); }

/* slide text animation */
.hero-slide .hero-eyebrow,
.hero-slide .hero-title,
.hero-slide .hero-lead,
.hero-slide .hero-cta,
.hero-slide .hero-service {
  opacity: 0;
  transform: translateY(26px);
}
.hero-slide.is-active .hero-eyebrow { animation: heroUp 0.7s 0.15s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-slide.is-active .hero-title { animation: heroUp 0.8s 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-slide.is-active .hero-lead { animation: heroUp 0.8s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-slide.is-active .hero-cta { animation: heroUp 0.8s 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-slide.is-active .hero-service { animation: heroUp 0.8s 0.86s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }

/* hero controls */
.hero-prev, .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hero-prev { left: 2rem; }
.hero-next { right: 2rem; }
.hero-prev:hover, .hero-next:hover { background: var(--red); border-color: var(--red); color: #fff; }

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 0.7rem;
}
.hero-dot {
  width: 36px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}
.hero-dot.is-active { background: var(--red); }

/* ---------- Welcome / About ---------- */
.welcome-media { position: relative; }
.welcome-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  width: 100%;
}
.welcome-img img { width: 100%; height: 100%; object-fit: cover; }
.welcome-badge {
  position: absolute;
  bottom: -1.4rem;
  right: -0.6rem;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  line-height: 1.15;
}
.welcome-badge .wb-num { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; display: block; }
.welcome-badge .wb-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.welcome-body p { margin-bottom: 1.3rem; }
.check-list { margin: 1.6rem 0 2rem; display: grid; gap: 0.9rem; }
.check-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.check-list .fa-solid { color: var(--red); font-size: 1.15rem; line-height: 1; margin-top: 4px; }
.check-list strong { color: var(--ink); display: block; font-weight: 600; }
.check-list span { font-size: 0.95rem; color: var(--muted); }

/* ---------- Mission ---------- */
.mission { position: relative; color: #fff; }
.mission-bg { position: absolute; inset: 0; background-position: center; background-size: cover; z-index: 0; }
.mission-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 6, 8, 0.9), rgba(18, 5, 6, 0.84)); }
.mission-inner { position: relative; z-index: 2; }
.mission .section-title { color: #fff; }
.mission .section-lead { color: rgba(255, 255, 255, 0.82); }
.mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; margin-top: 1rem; }
.mission-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.mission-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 255, 255, 0.28); }
.mission-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(168, 17, 29, 0.18);
  color: var(--red-soft);
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
}
.mission-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.55rem; font-weight: 700; }
.mission-card p { color: rgba(255, 255, 255, 0.82); font-size: 1rem; margin: 0; }

/* ---------- Worship / services ---------- */
.worship-wrap { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: stretch; }
.service-time-card {
  flex: 1 1 260px;
  border-radius: var(--radius-lg);
  padding: 2rem 2.1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-time-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-time-card.featured { background: var(--ink); border-color: var(--ink); }
.service-time-card .st-label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-text); font-weight: 600; }
.service-time-card.featured .st-label { color: var(--red-soft); }
.service-time-card .st-time { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4.2vw, 3rem); color: var(--ink); line-height: 1.1; }
.service-time-card.featured .st-time { color: #fff; }
.service-time-card .st-desc { color: var(--muted); font-size: 0.95rem; margin: 0; }
.service-time-card.featured .st-desc { color: rgba(255, 255, 255, 0.78); }
.service-time-card .st-ico { position: absolute; top: 1.2rem; right: 1.3rem; color: var(--red); font-size: 1.4rem; opacity: 0.9; }

.worship-note { display: flex; gap: 1.2rem; align-items: flex-start; margin-top: 2rem; }

/* ---------- Why join / community ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.feature-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--red-soft); }
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--neutral);
  color: var(--red);
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; font-weight: 700; }
.feature-card p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- Ministries ---------- */
.ministry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.7rem; }
.ministry-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ministry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ministry-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ministry-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.ministry-card:hover .ministry-media img { transform: scale(1.07); }
.ministry-media .ministry-ico {
  position: absolute;
  bottom: -22px;
  left: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.ministry-body { padding: 2.4rem 1.5rem 1.7rem; }
.ministry-body h3 { font-size: 1.4rem; font-weight: 700; }
.ministry-body p { color: var(--muted); font-size: 1rem; }

/* ---------- Scripture parallax ---------- */
.scripture {
  position: relative;
  text-align: center;
  color: #fff;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  overflow: hidden;
}
.scripture-bg { position: absolute; inset: -12% 0; background-position: center; background-size: cover; }
.scripture-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 7, 9, 0.8), rgba(22, 5, 7, 0.84)); }
.scripture-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.scripture-mark { font-size: 3.2rem; color: var(--red); opacity: 0.92; margin-bottom: 1.6rem; }
.scripture-quote {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.5vw, 3.2rem);
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}
.scripture-ref { color: var(--red-soft); font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }

/* ---------- Sermon ---------- */
.sermon-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; height: 100%; }
.sermon-media img { width: 100%; height: 100%; object-fit: cover; }
.sermon-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--red);
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 0;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, background 0.3s ease;
}
.sermon-play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--red); color: #fff; }
.sermon-featured {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.4rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
  align-items: center;
}
.sermon-featured img { width: 128px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); flex: 0 0 auto; }
.sermon-featured .sf-tag { color: var(--red-text); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.sermon-featured h3 { font-size: 1.3rem; margin: 0.35rem 0 0.45rem; font-weight: 700; }
.sermon-featured p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Events ---------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.event-card {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.7rem 1.6rem;
  display: flex;
  gap: 1.2rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--red-soft); }
.event-date {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.05;
}
.event-date .ed-day { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; display: block; }
.event-date .ed-mon { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-soft); }
.event-body h3 { font-size: 1.3rem; margin: 0 0 0.4rem; font-weight: 700; }
.event-meta { display: flex; flex-wrap: wrap; gap: 0.9rem; color: var(--muted); font-size: 0.95rem; margin-bottom: 0.6rem; }
.event-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.event-meta .fa-solid { color: var(--red-text); font-size: 0.78rem; }
.event-body p { color: var(--muted); font-size: 1rem; margin: 0 0 0.75rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
@media (min-width: 576px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .gallery-cap {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 7, 9, 0) 40%, rgba(25, 6, 8, 0.78));
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.gallery-item:hover .gallery-cap { opacity: 1; }
.gallery-item .gallery-cap .fa-solid { color: var(--red-soft); font-size: 0.8rem; align-self: center; margin-right: 0.5rem; }

/* ---------- CTA (You Belong Here) ---------- */
.cta-section { position: relative; text-align: center; color: #fff; overflow: hidden; }
.cta-bg { position: absolute; inset: -12% 0; background-position: center; background-size: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 7, 9, 0.84), rgba(22, 5, 7, 0.84)); }
.cta-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.cta-section .section-title { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.cta-section p { color: rgba(255, 255, 255, 0.88); font-size: 1.15rem; max-width: 52ch; margin: 0 auto 2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-bottom: 2.5rem; }
.contact-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.8rem 1.5rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card .cc-ico {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--neutral);
  color: var(--red);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}
.contact-card h4 { font-size: 1.08rem; font-weight: 700; font-family: var(--font-body); margin-bottom: 0.35rem; color: var(--ink); }
.contact-card a, .contact-card span { color: var(--muted); font-size: 1rem; display: block; word-break: break-word; }
.contact-card a:hover { color: var(--red-text); }

/* ---------- Contact form ---------- */
.form-label { font-weight: 700; color: var(--ink); font-size: 1rem; }
.contact-form .form-control { border: 1px solid var(--line); border-radius: 10px; padding: 0.8rem 1rem; color: var(--ink); background: #fff; }
.contact-form .form-control::placeholder { color: var(--muted); }
.contact-form .form-control:focus { border-color: var(--red); box-shadow: 0 0 0 0.2rem rgba(168, 17, 29, 0.12); }
.contact-form textarea { resize: vertical; }
.contact-form-msg { margin-top: 1rem; font-size: 0.95rem; }
.contact-form-msg a { text-decoration: underline; }

/* ---------- Newsletter strip ---------- */
.newsletter { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.25rem); }
.newsletter h3 { color: #fff; font-size: 1.85rem; margin-bottom: 0.4rem; }
.newsletter p { color: rgba(255, 255, 255, 0.82); margin-bottom: 1.4rem; font-size: 1.05rem; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: stretch; }
.newsletter-form input {
  flex: 1 1 240px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.newsletter-form input:focus { outline: none; border-color: var(--red); }
.newsletter-msg { margin-top: 0.9rem; font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255, 255, 255, 0.72); padding-top: clamp(3.2rem, 6vw, 5rem); }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.2rem; }
.footer-brand .logo-mark { box-shadow: none; }
.footer-brand .logo-text { color: #fff; font-size: 1.15rem; }
.footer-brand .logo-sub { color: var(--red-soft); }
.footer-desc { font-size: 1rem; margin-bottom: 1.4rem; max-width: 40ch; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.footer-title { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; margin-bottom: 1.3rem; letter-spacing: 0.01em; }
.footer-links a { display: flex; align-items: center; gap: 0.5rem; color: rgba(255, 255, 255, 0.74); padding: 0.42rem 0; font-size: 1rem; }
.footer-links a .fa-solid { color: var(--red); font-size: 0.6rem; transition: transform 0.25s ease; }
.footer-links a:hover { color: #fff; }
.footer-links a:hover .fa-solid { transform: translateX(3px); }
.footer-contact-item { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1rem; font-size: 1rem; }
.footer-contact-item .fa-solid { color: var(--red); margin-top: 5px; flex: 0 0 auto; }
.footer-contact-item a, .footer-contact-item span { color: rgba(255, 255, 255, 0.74); word-break: break-word; }
.footer-contact-item a:hover { color: #fff; }
.footer-hours { font-size: 1rem; }
.footer-hours .fh-val { color: #fff; font-weight: 600; }
.footer-hours .fh-val em { font-style: normal; color: var(--red-soft); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.55); }
.footer-bottom-inner a { color: rgba(255, 255, 255, 0.72); }
.footer-bottom-inner a:hover { color: #fff; }

/* ---------- Gallery lightbox ---------- */
.gallery-lightbox { display: none; }
body.lightbox-open { overflow: hidden; }
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1099;
  background: rgba(12, 6, 6, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox-backdrop.is-show { opacity: 1; }
.lightbox-frame { max-width: 78vw; max-height: 82vh; position: relative; }
.lightbox-frame img { max-width: 100%; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close { position: fixed; top: 1.4rem; right: 1.4rem; z-index: 1101; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); font-size: 1.1rem; cursor: pointer; }
.lightbox-close:hover { background: var(--red); color: #fff; }
.lightbox-caption { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); color: #fff; z-index: 1101; font-size: 0.95rem; text-align: center; max-width: 80vw; }

/* ---------- Branded modals ---------- */
.mi-modal .modal-content { border: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.mi-modal .modal-header { border-bottom: 1px solid var(--line); padding: 1.4rem 1.7rem; align-items: flex-start; }
.mi-modal .modal-title { font-size: 1.4rem; margin: 0; }
.mi-modal .modal-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: #fff;
  font-size: 1.3rem; display: grid; place-items: center; flex: 0 0 auto; margin-right: 1rem;
}
.mi-modal .modal-body { padding: 1.6rem 1.7rem; color: var(--body); }
.mi-modal .modal-body p { color: var(--muted); }
.mi-modal .modal-footer { border-top: 1px solid var(--line); padding: 1.1rem 1.7rem; }
.mi-modal .btn-close { box-shadow: none; }

/* link-more used on a <button> element */
button.link-more { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit; text-align: left; }

/* ---------- Scroll reveal ---------- */
/* The "js-reveal" class is added to <html> by a tiny inline script in <head>. The
   hidden pre-reveal state is scoped behind it so that content stays fully visible
   if JavaScript is disabled or the animation script never runs (graceful degradation). */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); will-change: opacity, transform; }
.js-reveal [data-reveal].is-revealed { opacity: 1; transform: none; }
.js-reveal [data-reveal="fade"] { transform: none; }
.js-reveal [data-reveal="left"] { transform: translateX(-40px); }
.js-reveal [data-reveal="right"] { transform: translateX(40px); }
.js-reveal [data-reveal="zoom"] { transform: scale(0.94); }

/* stagger helpers */
.js-reveal .stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.js-reveal .stagger.in-view > * { opacity: 1; transform: none; }
.js-reveal .stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.js-reveal .stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.js-reveal .stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.js-reveal .stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }
.js-reveal .stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; }
.js-reveal .stagger.in-view > *:nth-child(6) { transition-delay: 0.55s; }

/* ---------- Watch live ---------- */
.watchlive { position: relative; color: #fff; overflow: hidden; }
.watchlive-bg { position: absolute; inset: -12% 0; background-position: center; background-size: cover; }
.watchlive-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 6, 8, 0.86), rgba(20, 5, 7, 0.9)); }
.watchlive-inner { position: relative; z-index: 2; }
.watchlive-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #000; border: 1px solid rgba(255, 255, 255, 0.16);
}
.watchlive-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.watchlive-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.6)); }
.watch-live-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 86px; height: 86px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: var(--red);
  font-size: 1.7rem; display: grid; place-items: center; cursor: pointer; border: 0; box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, background 0.3s ease;
}
.watch-live-btn:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--red); color: #fff; }
.watch-live-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--red); color: #fff; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 0.5rem 0.9rem; border-radius: 999px;
}
.watch-live-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: mifPulse 1.8s infinite; }
@keyframes mifPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.watchlive-info h3 { color: #fff; font-size: 1.7rem; }
.watchlive-info p { color: rgba(255, 255, 255, 0.86); }

/* ---------- Live session (homepage) ---------- */
.live-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--black);
  aspect-ratio: 16 / 9;
}
.live-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  margin: 1.25rem 0 0;
  color: var(--body);
  font-size: 0.95rem;
}
.live-meta-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.live-meta-item .fa-solid, .live-meta-item .fa-regular { color: var(--red); }
.live-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
@media (max-width: 575.98px) {
  .live-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Prayer ---------- */
.prayer-section { background: var(--ink); color: #fff; }
.prayer-section .section-title { color: #fff; }
.prayer-section .section-lead { color: rgba(255, 255, 255, 0.82); }
.prayer-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); color: var(--body); }
.prayer-card h3 { font-size: 1.6rem; font-family: var(--font-body); font-weight: 700; }
.prayer-types { display: grid; gap: 0.9rem; margin: 1.3rem 0; }
.prayer-type { display: flex; gap: 0.9rem; align-items: flex-start; color: rgba(255, 255, 255, 0.88); }
.prayer-type .fa-solid { color: var(--red-soft); font-size: 1.2rem; margin-top: 4px; }
.prayer-type strong { color: #fff; display: block; font-weight: 600; }
.prayer-type span { font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); }
.prayer-form .form-label { color: var(--ink); }
.prayer-msg { margin-top: 1rem; font-size: 0.95rem; }
.prayer-form .form-control { border: 1px solid var(--line); border-radius: 10px; padding: 0.8rem 1rem; color: var(--ink); background: #fff; }
.prayer-form .form-control:focus { border-color: var(--red); box-shadow: 0 0 0 0.2rem rgba(168, 17, 29, 0.12); }
.prayer-form textarea { resize: vertical; }
.prayer-form .form-control.is-invalid { border-color: #b3251e; }
.devotional-form { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: stretch; }
.devotional-form input { flex: 1 1 240px; padding: 0.85rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); color: #fff; min-width: 0; }
.devotional-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.devotional-form input:focus { outline: none; border-color: var(--red); }

/* ---------- Beliefs ---------- */
.belief-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.belief-item { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 1.7rem 1.5rem; }
.belief-item .bi-num { font-family: var(--font-head); color: var(--red-soft); font-size: 1.6rem; font-weight: 700; display: block; margin-bottom: 0.4rem; }
.belief-item h3 { font-size: 1.3rem; font-weight: 700; }
.belief-item p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- Leadership ---------- */
.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; }
.leader-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease; }
.leader-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--red-dark)); z-index: 2; }
.leader-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.leader-photo { position: relative; aspect-ratio: 4 / 4; overflow: hidden; background: var(--neutral); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.leader-card:hover .leader-photo img { transform: scale(1.06); }
.leader-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(168, 17, 29, 0) 55%, rgba(128, 13, 22, 0.18)); opacity: 0; transition: opacity 0.4s ease; }
.leader-card:hover .leader-photo::after { opacity: 1; }
.leader-body { padding: 1.5rem 1.5rem 1.7rem; }
.leader-role { display: inline-block; color: var(--red-text); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; background: var(--neutral); border: 1px solid var(--line); padding: 0.35rem 0.7rem; border-radius: 999px; }
.leader-name { font-size: 1.4rem; margin: 0.7rem 0 0.55rem; font-weight: 700; }
.leader-bio { color: var(--muted); font-size: 1rem; margin: 0; line-height: 1.7; }

/* ---------- Sermon library ---------- */
.sermon-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.05rem 1.15rem; box-shadow: var(--shadow-xs);
}
.sermon-toolbar .form-control, .sermon-toolbar select {
  border: 1px solid var(--line); border-radius: 999px; padding: 0.62rem 1rem; min-width: 0; font-size: 0.94rem;
}
.sermon-toolbar .form-control:focus, .sermon-toolbar select:focus { border-color: var(--red); box-shadow: 0 0 0 0.2rem rgba(168, 17, 29, 0.12); }
.sermon-search { flex: 1 1 220px; }
.teach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.teach-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-xs); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.teach-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.teach-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--neutral); }
.teach-media img { width: 100%; height: 100%; object-fit: cover; }
.teach-body { padding: 1.5rem 1.5rem 1.6rem; }
.teach-series { color: var(--red-text); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.teach-body h3 { font-size: 1.3rem; margin: 0.35rem 0 0.5rem; font-weight: 700; }
.teach-meta { display: flex; flex-wrap: wrap; gap: 0.9rem; color: var(--muted); font-size: 0.92rem; margin-bottom: 0.9rem; }
.teach-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.teach-meta .fa-solid { color: var(--red-text); font-size: 0.78rem; }
.teach-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.2rem; }
.sermon-count { color: var(--muted); font-size: 0.92rem; }
.sermon-empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }

/* ---------- Today's Word (devotional) ---------- */
.today-word { position: relative; color: #fff; overflow: hidden; }
.today-word-bg { position: absolute; inset: -14% 0; background-position: center; background-size: cover; }
.today-word-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 6, 8, 0.88), rgba(20, 5, 7, 0.92)); }
.today-word-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.tw-date { color: var(--red-soft); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.tw-verse { font-family: var(--font-head); font-size: clamp(1.6rem, 3.8vw, 2.5rem); color: #fff; line-height: 1.35; margin: 0.9rem 0 0.5rem; }
.tw-ref { color: var(--red-soft); font-weight: 700; letter-spacing: 0.08em; font-size: 0.98rem; }
.tw-text { color: rgba(255, 255, 255, 0.9); max-width: 62ch; font-size: 1.05rem; }
.tw-prayer { border-left: 3px solid var(--red); padding: 1rem 1.4rem; background: rgba(255, 255, 255, 0.07); border-radius: 0 var(--radius) var(--radius) 0; color: rgba(255, 255, 255, 0.9); margin: 1.4rem 0; }

/* Premium today's word presentation */
.today-word-verse { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-lg); padding: 2.4rem 2rem; box-shadow: var(--shadow-md); border-left: 4px solid var(--red); }
.tw-eyebrow { color: var(--red-soft); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-bottom: 0.9rem; }
.tw-quote { font-family: var(--font-head); font-size: clamp(1.5rem, 3.2vw, 2.15rem); color: #fff; line-height: 1.4; margin: 0.8rem 0 0.6rem; }
.tw_verse_box { background: var(--neutral); border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.6rem 1.8rem; margin: 1.2rem 0; }
.tw_verse_box .tw-quote { color: var(--ink); }
.tw_verse_box .tw-ref { color: var(--red-text); }
.devotional-subhead { font-size: 1.4rem; margin: 1.6rem 0 0.4rem; font-weight: 700; }

/* Event grouping + filter */
.event-group-tabs { display: inline-flex; gap: 0.4rem; background: var(--neutral); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem; }
.event-group-tabs a { padding: 0.55rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.event-group-tabs a:hover { color: var(--ink); }
.event-group-tabs a.is-active { background: var(--ink); color: #fff; }
.event-filter-form { flex: 0 1 220px; }
.event-filter-form select { width: 100%; border-radius: 999px; padding: 0.62rem 1rem; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.event-filter-form select:focus { border-color: var(--red); box-shadow: 0 0 0 0.2rem rgba(168, 17, 29, 0.12); }

/* ---------- Academy callout ---------- */
.academy-callout {
  border: 1px solid var(--red-soft); border-left: 4px solid var(--red); border-radius: var(--radius-lg);
  background: #fff; padding: 2rem 2.1rem;
}
.academy-callout .academy-tag { color: var(--red-text); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.academy-callout h3 { font-size: 1.6rem; margin: 0.5rem 0 0.6rem; }
.academy-callout p { color: var(--muted); margin: 0; }
.academy-callout strong { color: var(--ink); }

/* ---------- Events with media ---------- */
.event-card.media { display: block; padding: 0; overflow: hidden; }
.event-card.media .event-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.event-card.media .event-media img { width: 100%; height: 100%; object-fit: cover; }
.event-card.media .event-date { position: absolute; top: 1rem; left: 1rem; background: var(--red); box-shadow: var(--shadow-md); }
.event-card.media .event-body { padding: 1.5rem 1.5rem 1.6rem; }
.event-card.media .event-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(20, 5, 7, 0.45)); }

/* ---------- Who we are ---------- */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; }
.who-stat { text-align: center; padding: 1.5rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.who-stat .ws-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--red); display: block; line-height: 1.1; }
.who-stat .ws-label { color: var(--muted); font-size: 1rem; }

/* ---------- Responsive ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-menu { gap: 1.05rem; }
  .nav-link { font-size: 0.9rem; }
  .nav-cta .btn { padding: 0.7rem 1.25rem; font-size: 0.88rem; }
}
@media (max-width: 991.98px) {
  .site-header {
    display: flex;
    align-items: center;
    padding: 0.6rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 14px rgba(20, 12, 10, 0.1);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
  }
  .nav-logo {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
  }
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background: var(--red);
    border: 2px solid var(--red);
    color: #fff;
    font-size: 1.4rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(168, 17, 29, 0.35);
    cursor: pointer;
    z-index: 2100;
    margin-left: auto;
  }
  .nav-toggle i { pointer-events: none; }
  .welcome-badge { right: 0.6rem; }
  .nav-logo .site-logo { height: 84px; max-height: 84px; }

  /* Left/right reveal slides remain active on mobile: the site-wide overflow-x:
     hidden on <html> and <body> clips the initial offset so the sliding content
     never widens the page or pushes the hamburger off-screen. */
}
@media (min-width: 992px) {
  .mobile-nav, .mobile-nav-overlay { display: none; }
}

@media (max-width: 767.98px) {
  :root { --header-h: 80px; }
  .site-header { padding: 0.5rem 0; }
  .hero-content { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 4.5rem; }
  .hero-prev { left: 0.75rem; }
  .hero-next { right: 0.75rem; }
  .hero-prev, .hero-next { width: 44px; height: 44px; font-size: 0.95rem; }
  .hero-dots { bottom: 1.3rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .gallery-item { aspect-ratio: 4 / 3; }
  .welcome-badge { position: static; display: inline-flex; gap: 0.7rem; align-items: center; margin-top: 1.1rem; }
  .page-hero { padding: calc(var(--header-h) + 3rem) 0 3.5rem; }
  .nav-logo .site-logo { height: 74px; max-height: 74px; }
  .nav-toggle { flex-basis: 46px; width: 46px; height: 46px; }
}

@media (max-width: 575.98px) {
  :root { --header-h: 78px; }
  .hero { min-height: 100svh; }
  .hero-title { font-size: 2.3rem; }
  .logo-mark { width: 42px; height: 42px; }
  .logo-text { font-size: 1.05rem; }
  .logo-sub { font-size: 0.56rem; letter-spacing: 0.22em; }
  .nav-logo .site-logo { height: 70px; max-height: 70px; }
  .footer-brand .site-logo { height: 46px; }
  .nav-toggle { flex-basis: 44px; width: 44px; height: 44px; font-size: 1.3rem; border-radius: 10px; }
  .newsletter-form input { flex-basis: 100%; border-radius: 12px; }
  .newsletter-form .btn { width: 100%; }
  .section { padding: 3.4rem 0; }
  .watch-live-btn { width: 62px; height: 62px; font-size: 1.2rem; }
  .watch-live-badge { font-size: 0.62rem; padding: 0.4rem 0.7rem; }
  .sermon-toolbar .form-control, .sermon-toolbar select { flex-basis: 100%; border-radius: 12px; }
  .prayer-card, .academy-callout { padding: 1.5rem; }
  .teach-actions .btn { width: 100%; text-align: center; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js-reveal [data-reveal], .js-reveal .stagger > * { opacity: 1 !important; transform: none !important; }
  .hero-slide { opacity: 0; }
  .hero-slide.is-active { opacity: 1; }
  .hero-slide .hero-eyebrow, .hero-slide .hero-title, .hero-slide .hero-lead, .hero-slide .hero-cta, .hero-slide .hero-service { opacity: 1 !important; transform: none !important; animation: none !important; }
}
