:root {
  /* ── Light mode (default) ── */
  --bg: #f4f1e4;
  --bg-mid: #ebe7d5;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #1c1e26;
  --muted: #5c6372;
  --line: rgba(0, 0, 0, 0.1);
  --line-solid: rgba(0, 0, 0, 0.15);
  --gold: #9a7520;
  --gold-light: #c9a84c;
  --gold-dark: #6e5212;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.08);
  --glass-blur: blur(14px);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(0, 0, 0, 0.09);
  /* structural chrome */
  --header-bg: rgba(244, 241, 228, 0.92);
  --nav-mobile-bg: rgba(244, 241, 228, 0.98);
  --footer-bg: rgba(230, 226, 208, 0.95);
  --section-alt-bg: rgba(235, 231, 212, 0.75);
  --btn-primary-fg: #15100a;
  --btn-soft-bg: rgba(0, 0, 0, 0.05);
  --nav-text: rgba(28, 30, 38, 0.88);
  --body-glow-1: rgba(154, 117, 32, 0.07);
  --body-glow-2: rgba(154, 117, 32, 0.04);
  --radius: 14px;
}

html[data-theme="dark"] {
  /* ── Dark mode ── */
  --bg: #0c0f1a;
  --bg-mid: #111827;
  --surface: rgba(20, 27, 46, 0.65);
  --surface-solid: #141b2e;
  --text: #e8eaf2;
  --muted: #8a93ab;
  --line: rgba(255, 255, 255, 0.1);
  --line-solid: rgba(255, 255, 255, 0.18);
  --gold: #c9a84c;
  --gold-light: #e5c876;
  --gold-dark: #9e7c2e;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.4);
  --glass-bg: rgba(16, 22, 40, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --header-bg: rgba(10, 13, 24, 0.75);
  --nav-mobile-bg: rgba(10, 13, 24, 0.96);
  --footer-bg: rgba(8, 10, 18, 0.85);
  --section-alt-bg: rgba(16, 22, 40, 0.6);
  --btn-primary-fg: #0c0f1a;
  --btn-soft-bg: rgba(255, 255, 255, 0.07);
  --nav-text: rgba(232, 234, 242, 0.85);
  --body-glow-1: rgba(201, 168, 76, 0.07);
  --body-glow-2: rgba(30, 50, 100, 0.18);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -10%, var(--body-glow-1) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 80% 110%, var(--body-glow-2) 0%, transparent 60%);
  background-attachment: fixed;
  line-height: 1.6;
}

/* ── Scroll reveal animations ── */
[data-reveal] {
  --reveal-distance: 26px;
  --reveal-scale: 0.99;
  --reveal-duration: 760ms;
  --reveal-delay: 0ms;
  --reveal-ease: cubic-bezier(0.2, 0.75, 0.16, 1);
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0) scale(var(--reveal-scale));
  filter: blur(2px);
  transition:
    opacity var(--reveal-duration) var(--reveal-ease) var(--reveal-delay),
    transform var(--reveal-duration) var(--reveal-ease) var(--reveal-delay),
    filter var(--reveal-duration) var(--reveal-ease) var(--reveal-delay);
  will-change: opacity, transform, filter;
}

[data-reveal="fade"] {
  --reveal-distance: 0px;
  --reveal-scale: 1;
}

[data-reveal="left"] {
  transform: translate3d(calc(-1 * var(--reveal-distance)), 0, 0) scale(var(--reveal-scale));
}

[data-reveal="right"] {
  transform: translate3d(var(--reveal-distance), 0, 0) scale(var(--reveal-scale));
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.page-hero > * {
  animation: pageHeroFadeIn 780ms cubic-bezier(0.2, 0.75, 0.16, 1) both;
}

.page-hero > *:nth-child(2) {
  animation-delay: 120ms;
}

@keyframes pageHeroFadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ── Page transition fade ── */
body {
  animation: pageFadeIn 420ms ease both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.is-navigating {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

/* ── Gradient text for section headings ── */
.section-head h2 {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 40%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Image loading shimmer ── */
.feature-card img,
.slide .image {
  background: linear-gradient(90deg, var(--bg-mid) 25%, var(--surface) 50%, var(--bg-mid) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

.feature-card img[complete],
.slide .image[complete] {
  animation: none;
  background: none;
}

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

/* ── Micro-interaction: nav glow on hover ── */
.site-nav > a:hover,
.nav-dropdown-toggle:hover {
  text-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
}

/* ── Micro-interaction: CTA button pulse ── */
.sl-btn,
.btn-primary {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.sl-btn:hover,
.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.35);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.05rem;
  background: rgba(201, 168, 76, 0.08);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  font-size: 0.98rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-weight: 600;
  font-size: 0.94rem;
}

.site-nav a {
  color: var(--nav-text);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 280ms cubic-bezier(0.2, 0.75, 0.16, 1);
}

.site-nav a:hover {
  color: var(--gold);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--nav-text);
  font: inherit;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.nav-dropdown-toggle:hover {
  color: var(--gold);
}

.nav-dropdown-toggle::after {
  content: " ▾";
  font-size: 0.75em;
}

.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  color: var(--gold);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  min-width: 220px;
  background: var(--nav-mobile-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.35rem 0;
  display: none;
  z-index: 70;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 0.9rem;
  font-weight: 500;
}

.nav-dropdown-menu a + a {
  border-top: 1px solid var(--line);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.button-link {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}

.button-link:hover {
  background: var(--gold);
  color: var(--btn-primary-fg);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-solid);
  background: rgba(201, 168, 76, 0.08);
  color: var(--text);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.hero {
  min-height: 62vh;
  position: relative;
  display: grid;
  place-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.22)),
    url("https://images.unsplash.com/photo-1438232992991-995b7058bbb3?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 16, 20, 0.7) 0%, rgba(15, 16, 20, 0.18) 50%, rgba(15, 16, 20, 0.1) 100%);
}

.hero-content {
  width: 100%;
  position: relative;
}

.intro-card {
  max-width: 500px;
  background: rgba(12, 13, 17, 0.72);
  color: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.intro-card h1 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  line-height: 1.2;
  font-size: clamp(1.6rem, 3.3vw, 2.2rem);
}

.intro-card p {
  margin-bottom: 1.3rem;
  color: #e9e9ec;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--btn-primary-fg);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-soft {
  background: var(--btn-soft-bg);
  color: var(--text);
  border: 1px solid var(--line-solid);
  backdrop-filter: blur(6px);
}

.btn-soft:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--gold);
}

.section {
  padding: 4.2rem 0;
}

.section-alt {
  background: var(--section-alt-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}

.section-head {
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
}

.section-head p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.quick-item {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  isolation: isolate;
  transition:
    border-color 220ms ease,
    transform 280ms cubic-bezier(0.2, 0.75, 0.16, 1),
    box-shadow 280ms cubic-bezier(0.2, 0.75, 0.16, 1),
    background-color 220ms ease;
}

.quick-item::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 18%, rgba(201, 168, 76, 0.2) 50%, transparent 82%);
  transform: translateX(-120%);
  transition: transform 680ms cubic-bezier(0.2, 0.75, 0.16, 1);
  z-index: 0;
  pointer-events: none;
}

.quick-item > * {
  position: relative;
  z-index: 1;
}

.quick-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.03rem;
  color: var(--text);
}

.quick-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.quick-item:hover {
  border-color: var(--gold);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  background-color: color-mix(in srgb, var(--glass-bg) 88%, rgba(201, 168, 76, 0.12));
}

.quick-item:hover::before {
  transform: translateX(120%);
}

.quick-item h3,
.quick-item p {
  transition: color 220ms ease, transform 220ms ease;
}

.quick-item:hover h3 {
  color: var(--gold);
  transform: translateX(2px);
}

.quick-item:hover p {
  color: var(--text);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  transition: opacity 0.5s ease;
}

.feature-card {
  position: relative;
  background: var(--glass-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  opacity: 1;
  transition:
    border-color 220ms ease,
    transform 300ms cubic-bezier(0.2, 0.75, 0.16, 1),
    box-shadow 300ms cubic-bezier(0.2, 0.75, 0.16, 1),
    opacity 260ms ease,
    filter 260ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 42%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-16deg);
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-9px) perspective(800px) rotateX(2deg);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.24);
}

.feature-card:hover::after {
  opacity: 1;
  animation: cardShineSweep 900ms cubic-bezier(0.2, 0.75, 0.16, 1);
}

.feature-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  opacity: 1;
  filter: none;
  transition:
    transform 620ms cubic-bezier(0.2, 0.75, 0.16, 1),
    filter 320ms ease,
    opacity 320ms ease;
}

.feature-card:hover img {
  opacity: 1;
  filter: none;
}

.card-body {
  padding: 1rem 1.05rem 1.2rem;
}

.card-body h3 {
  margin: 0;
}

.card-body p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.card-body h3 {
  color: var(--text);
  transition: color 220ms ease;
}

.feature-card:hover .card-body h3 {
  color: var(--gold);
}

.has-bg-logo {
  position: relative;
}

.card-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0.10;
  filter: grayscale(100%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.has-bg-logo .card-body {
  position: relative;
  z-index: 1;
}

@keyframes cardShineSweep {
  from {
    left: -60%;
  }
  to {
    left: 130%;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.footer-wrap {
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-wrap a {
  color: var(--gold);
}

.footer-wrap a:hover {
  color: var(--gold-light);
}

.page-backdrop {
  --backdrop-image: url("../media/content-media/Church-main-image.jpg");
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  background-image: var(--backdrop-image);
  background-size: cover;
  background-position: center 60%;
}

.page-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 20, 0.35) 0%,
    rgba(8, 10, 20, 0.72) 100%
  );
}

.page-backdrop .container {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: 4.2rem 0 2.2rem;
  max-width: 760px;
  color: #fff;
}

.page-hero h1 {
  margin: 0;
  line-height: 1.18;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

.page-backdrop .redirect-meta {
  margin-top: 0.55rem;
  color: #e9edf4;
}

.page-content {
  padding: 2rem 0 3.4rem;
}

.page-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow);
}

.programme-grid {
  margin-top: 0.8rem;
}

.card-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 150ms ease;
}

.card-link:hover {
  color: var(--gold-light);
}

.redirect-card {
  max-width: 640px;
  margin: 5rem auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.redirect-card a {
  color: var(--gold);
}

.redirect-card h1 {
  margin-top: 0;
}

.redirect-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.redirect-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.coming-soon-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(201, 168, 76, 0.2), transparent 42%),
    radial-gradient(circle at 86% 82%, rgba(201, 168, 76, 0.14), transparent 45%),
    var(--glass-bg);
  border: 1px solid color-mix(in srgb, var(--glass-border) 70%, rgba(201, 168, 76, 0.35));
  border-radius: 18px;
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.coming-soon-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 52%, transparent 74%);
  transform: translateX(-130%) skewX(-14deg);
  animation: comingSoonShine 7.5s ease-in-out infinite;
}

.coming-soon-label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.coming-soon-label::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.15);
}

.coming-soon-card h2 {
  margin: 0.4rem 0 0.55rem;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.1;
}

.coming-soon-card > p {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
}

.coming-soon-badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--line-solid) 80%, var(--gold));
  border-radius: 999px;
  padding: 0.3rem 0.72rem;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text);
  background: color-mix(in srgb, var(--btn-soft-bg) 85%, rgba(201, 168, 76, 0.15));
}

.coming-soon-verse {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--gold);
  background: color-mix(in srgb, var(--surface-solid) 70%, transparent);
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  max-width: 72ch;
}

.coming-soon-verse cite {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 700;
}

@keyframes comingSoonShine {
  0%,
  78%,
  100% {
    transform: translateX(-130%) skewX(-14deg);
  }
  88% {
    transform: translateX(130%) skewX(-14deg);
  }
}

/* ── FAQ accordion ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease;
}

.faq-item[open] {
  border-color: var(--gold);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  filter: grayscale(1);
  opacity: 0.75;
}

.faq-chevron {
  margin-left: auto;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  position: relative;
}

.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 220ms ease, top 220ms ease;
}

/* vertical bar of the + */
.faq-chevron::before {
  width: 2px;
  height: 12px;
  top: 2px;
  left: 7px;
}

/* horizontal bar of the + */
.faq-chevron::after {
  width: 12px;
  height: 2px;
  top: 7px;
  left: 2px;
}

/* rotate vertical bar to form × when open */
.faq-item[open] .faq-chevron::before {
  transform: rotate(90deg);
  top: 2px;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-answer {
  padding: 0 1.1rem 1rem 1.1rem;
  padding-left: calc(1.1rem + 0.75rem + 1.5rem); /* align with text after icon */
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid var(--line);
}

.faq-answer p {
  margin: 0.75rem 0 0;
}

/* ── Bible Messages hero variant ── */
.page-backdrop--messages {
  background-image: url("https://images.unsplash.com/photo-1504052434569-70ad5836ab65?auto=format&fit=crop&w=1800&q=80");
}

.page-backdrop--map {
  background-image: url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1800&q=80");
}

.map-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.map-embed-box {
  padding: 0.65rem;
}

.map-embed {
  width: 100%;
  min-height: 480px;
  border-radius: 12px;
  display: block;
}

/* ── Sermon search bar ── */
.sermon-search-bar {
  margin-bottom: 1rem;
  display: flex;
  justify-content: flex-end;
}

.sermon-search-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-solid);
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease, width 320ms cubic-bezier(0.4,0,0.2,1);
  width: 2.5rem;
  height: 2.5rem;
}

.sermon-search-wrap.is-open {
  width: min(22rem, 100%);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent);
}

.sermon-search-toggle {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 0;
  border-radius: 999px;
  transition: color 160ms ease;
}

.sermon-search-toggle:hover {
  color: var(--gold);
}

.sermon-search-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  pointer-events: none;
}

.sermon-search-input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.9rem 0.55rem 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease 80ms;
}

.sermon-search-wrap.is-open .sermon-search-input {
  opacity: 1;
  pointer-events: auto;
}

.sermon-search-input::placeholder {
  color: var(--muted);
}

/* ── Sermon pagination ── */
.sermon-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.sermon-page-btn {
  appearance: none;
  border: 1px solid var(--line-solid);
  background: var(--btn-soft-bg);
  color: var(--muted);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  min-width: 2.25rem;
}

.sermon-page-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--text);
}

.sermon-page-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--btn-primary-fg);
}

.sermon-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Sermon filter bar ── */
.sermon-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.sermon-filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.sermon-filter-pills {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.sermon-pill {
  appearance: none;
  border: 1px solid var(--line-solid);
  background: var(--btn-soft-bg);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.sermon-pill:hover {
  border-color: var(--gold);
  color: var(--text);
}

.sermon-pill.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--btn-primary-fg);
}

/* ── Sermon accordion cards ── */
.sermon-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.sermon-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.sermon-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.sermon-card[open] {
  border-color: var(--gold);
  transform: none;
}

.sermon-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 160ms ease;
}

.sermon-summary::-webkit-details-marker {
  display: none;
}

.sermon-summary:hover {
  background: rgba(201, 168, 76, 0.05);
}

.sermon-summary-main {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.sermon-series-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  width: fit-content;
}

.sermon-title {
  margin: 0;
  font-size: clamp(0.97rem, 1.8vw, 1.12rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sermon-card[open] .sermon-title {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.sermon-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.sermon-sep {
  opacity: 0.4;
}

.sermon-preacher {
  font-weight: 600;
  color: var(--text);
  opacity: 0.75;
}

/* Animated chevron arrow */
.sermon-chevron {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
  margin-right: 0.25rem;
}

.sermon-chevron::before,
.sermon-chevron::after {
  content: "";
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
  top: 50%;
  width: 7px;
  height: 2px;
  margin-top: -1px;
}

.sermon-chevron::before {
  left: 1px;
  transform: rotate(45deg);
}

.sermon-chevron::after {
  right: 1px;
  transform: rotate(-45deg);
}

.sermon-card[open] .sermon-chevron::before {
  transform: rotate(-45deg);
}

.sermon-card[open] .sermon-chevron::after {
  transform: rotate(45deg);
}

/* Sermon expanded body */
.sermon-body {
  padding: 0 1.25rem 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.sermon-scripture {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.85rem 0 0.75rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text);
}

.sermon-scripture-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  background: var(--btn-soft-bg);
  border: 1px solid var(--line-solid);
  border-radius: 4px;
  padding: 0.1rem 0.45rem;
}

.sermon-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.sermon-watch-btn {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

/* ── Admin callout banner (Bible Messages page) ── */
.admin-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.875rem;
}
.admin-callout-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  opacity: 0.6;
}
.admin-callout-body {
  flex: 1;
}
.admin-callout-body strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.15rem;
}
.admin-callout-body p {
  margin: 0;
}
.admin-callout .btn {
  flex-shrink: 0;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
}

/* ── Updates page ── */
.updates-filter-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.updates-filter-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.updates-filter-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.updates-pill {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.updates-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.updates-pill.is-active {
  background: var(--gold);
  color: var(--btn-primary-fg);
  border-color: var(--gold);
}

.updates-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.update-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}
.update-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.update-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.update-header > div {
  flex: 1;
}
.update-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.75rem;
  background: var(--body-glow-1);
  color: var(--gold);
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.update-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.update-date {
  font-size: 0.875rem;
  color: var(--muted);
  white-space: nowrap;
}

.update-excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.75rem 0;
  line-height: 1.6;
}

.update-details {
  margin-top: 0.75rem;
}
.update-summary {
  cursor: pointer;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0;
  list-style: none;
  user-select: none;
}
.update-summary::before {
  content: '▸ ';
  display: inline-block;
  transition: transform 0.2s;
}
.update-details[open] .update-summary::before {
  transform: rotate(90deg);
}
.update-summary:hover {
  text-decoration: underline;
}

.update-content {
  padding: 1rem 0 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Parallax story sections ── */
.parallax-story {
  margin-top: 1rem;
}

.parallax-panel {
  position: relative;
  min-height: min(78vh, 760px);
  padding: clamp(3.4rem, 8vw, 6.2rem) 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.parallax-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 7, 12, 0.42), rgba(6, 7, 12, 0.68));
}

.parallax-panel .container {
  position: relative;
  z-index: 1;
}

.parallax-card {
  width: min(640px, 100%);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.parallax-panel.is-right .parallax-card {
  margin-left: auto;
}

.parallax-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.2;
}

.parallax-card p {
  margin: 0.72rem 0 0;
  color: rgba(233, 237, 244, 0.95);
  font-size: 0.99rem;
}

.parallax-panel-believe-1 {
  background-image: url("https://images.unsplash.com/photo-1466442929976-97f336a657be?auto=format&fit=crop&w=1800&q=80");
}

.parallax-panel-believe-2 {
  background-image: url("https://images.unsplash.com/photo-1447069387593-a5de0862481e?auto=format&fit=crop&w=1800&q=80");
}

.parallax-panel-believe-3 {
  background-image: url("https://images.unsplash.com/photo-1504052434569-70ad5836ab65?auto=format&fit=crop&w=1800&q=80");
}

/* ── Theme toggle button ── */
.theme-toggle {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: background 180ms ease, color 180ms ease;
}

.theme-toggle:hover {
  background: var(--gold);
  color: var(--btn-primary-fg);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .page-hero > * {
    animation: none;
  }

  .quick-item,
  .feature-card,
  .feature-card img {
    transition: none;
  }

  .feature-card:hover,
  .quick-item:hover {
    transform: none;
  }

  .quick-item::before,
  .feature-card::after {
    display: none;
  }

  .cards-grid:hover .feature-card {
    opacity: 1;
    filter: none;
  }
}

@media (max-width: 980px) {
  .quick-grid,
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--nav-mobile-bg);
    border-top: 1px solid var(--line);
    padding: 1rem 4%;
    flex-direction: column;
    align-items: flex-start;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    text-align: left;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 0.55rem;
    margin-left: 0.2rem;
    box-shadow: none;
    border-radius: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .brand-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .quick-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .intro-card {
    padding: 1.3rem;
  }

  .page-backdrop {
    min-height: 300px;
  }

  .page-content {
    padding-top: 1.4rem;
  }

  .map-embed {
    min-height: 380px;
  }

  .parallax-panel {
    min-height: 64vh;
    background-attachment: scroll;
  }

  .parallax-card {
    padding: 1.1rem 1rem;
  }
}
