/* ============================================================
   The Moulder's Chapel International — Main Stylesheet
   Design: Sleek, modern, cinematic dark luxury
   ============================================================ */

/* ── 1. CSS VARIABLES ─────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-primary:       #0D0D14;
  --bg-secondary:     #13131E;
  --bg-card:          #1A1A28;
  --bg-card-hover:    #1F1F32;
  --bg-light:         #F7F6F2;
  --bg-light-2:       #EEECEA;

  /* Brand Purple — dominant brand color */
  --gold:             #7B00CC;
  --gold-dark:        #6200A3;
  --gold-light:       #9933DD;
  --gold-glow:        rgba(123, 0, 204, 0.18);
  --gold-subtle:      rgba(123, 0, 204, 0.08);
  --gold-border:      rgba(123, 0, 204, 0.20);

  /* Brand Red — from logo cross */
  --red:              #D42B2B;
  --red-glow:         rgba(212, 43, 43, 0.30);

  /* Globe palette — ministry accents */
  --purple:           #9B7BC8;
  --pink:             #E87BA0;
  --blue:             #5B9BD5;
  --teal:             #3DBFBF;

  /* Typography */
  --text:             #F0EEE8;
  --text-muted:       #8A8AA0;
  --text-faint:       #5A5A6E;
  --text-dark:        #1A1A1A;
  --text-dark-muted:  #4A4A5A;

  /* Borders */
  --border:           rgba(255,255,255,0.07);
  --border-gold:      rgba(123,0,204,0.20);

  /* Shadows */
  --shadow-card:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold:      0 0 32px rgba(123,0,204,0.15), 0 4px 16px rgba(0,0,0,0.4);
  --shadow-hover:     0 8px 48px rgba(0,0,0,0.6);

  /* Spacing */
  --section-gap:      100px;
  --section-gap-sm:   60px;

  /* Transitions */
  --ease:             cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:         cubic-bezier(0, 0, 0.2, 1);
  --duration:         300ms;
  --duration-slow:    600ms;

  /* Border radius */
  --radius:           12px;
  --radius-lg:        20px;
  --radius-pill:      999px;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── 3. TYPOGRAPHY ───────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: 1.25rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }

.display-italic { font-style: italic; }
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 600px;
}

/* ── 4. LAYOUT ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide  { max-width: 1400px; }
.container--narrow { max-width: 800px; }

.section {
  padding: var(--section-gap) 0;
}
.section--dark    { background: var(--bg-secondary); }
.section--light   { background: var(--bg-light); color: var(--text-dark); }
.section--card-bg { background: var(--bg-card); }

.section-header {
  margin-bottom: 56px;
}
.section-header--center {
  text-align: center;
}
.section-header--center .lead {
  margin: 16px auto 0;
}
.section-header .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.section-header h2 {
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-top: 16px;
  border-radius: 2px;
}
.section-header--center h2::after {
  margin: 16px auto 0;
}

/* ── 5. ANNOUNCEMENT BAR ─────────────────────────────────── */
.announcement-bar {
  background: var(--gold);
  color: var(--text-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 200;
}
.announcement-bar__track {
  display: inline-flex;
  gap: 80px;
  animation: ticker 28s linear infinite;
}
.announcement-bar__track:hover { animation-play-state: paused; }
.announcement-bar a { color: var(--text-dark); text-decoration: underline; margin-left: 6px; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 6. NAVIGATION ───────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--duration) var(--ease),
              padding var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.has-announcement .site-nav { top: 40px; }

.site-nav.scrolled {
  background: rgba(13, 13, 20, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0,0,0,0.4);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  background: white;
  border-radius: 8px;
  padding: 4px 8px;
}
.nav__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
  display: none;
}
@media (min-width: 900px) { .nav__logo-text { display: block; } }

.nav__links {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 960px) { .nav__links { display: flex; } }

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(240,238,232,0.75);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--duration) var(--ease),
              background var(--duration) var(--ease);
  position: relative;
}
.nav__link:hover,
.nav__link.active {
  color: var(--gold);
  background: var(--gold-subtle);
}

.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease),
              transform var(--duration) var(--ease);
  box-shadow: var(--shadow-card);
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  border-radius: 8px;
  color: var(--text-muted);
  transition: color var(--duration), background var(--duration);
}
.nav__dropdown a:hover { color: var(--gold); background: var(--gold-subtle); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  cursor: pointer;
  border-radius: 8px;
  transition: background var(--duration);
}
@media (min-width: 960px) { .nav__hamburger { display: none; } }
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease),
              visibility var(--duration-slow);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.mobile-menu__logo {
  position: absolute;
  top: 24px;
  left: 24px;
  height: 44px;
  background: white;
  border-radius: 8px;
  padding: 4px 8px;
}
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-muted);
  transform: translateY(10px);
  opacity: 0;
  transition: color var(--duration), transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}
.mobile-menu.open a { transform: translateY(0); opacity: 1; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.10s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.20s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.30s; }
.mobile-menu.open a:nth-child(8) { transition-delay: 0.35s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu__actions {
  position: absolute;
  bottom: 40px;
  display: flex;
  gap: 12px;
}

/* ── 7. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-ghost-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-ghost-gold:hover {
  background: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }

.btn-live {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255,255,255,0.25);
  padding: 10px 20px;
  font-size: 0.85rem;
}
.btn-live:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.live-dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.5); }
}

/* ── 8. HERO SECTION ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 24px 80px;
}
.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero__slide--active {
  opacity: 1;
}
.hero__dots {
  position: absolute;
  bottom: 108px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}
.hero__dot--active {
  background: var(--gold);
  border-color: var(--gold);
  width: 28px;
  border-radius: 4px;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13,13,20,0.60) 0%,
    rgba(13,13,20,0.30) 45%,
    rgba(13,13,20,0.80) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  animation: fade-up 1s var(--ease-out) 0.3s both;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
  margin-bottom: 20px;
}
.hero__sub {
  font-size: 1.15rem;
  color: rgba(240,238,232,0.80);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__times {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(123,0,204,0.10);
  border-top: 1px solid var(--border-gold);
  backdrop-filter: blur(8px);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__times span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__times .divider { color: var(--border-gold); }

.scroll-indicator {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,238,232,0.45);
}
.scroll-indicator__arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: bounce-down 2s ease-in-out infinite;
}
@keyframes bounce-down {
  0%,100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50%      { transform: rotate(45deg) translateY(6px); opacity: 0.5; }
}

/* ── 9. PAGE HERO BANNERS ────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 160px 24px 80px;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-primary);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13,13,20,0.72) 0%,
    rgba(13,13,20,0.50) 45%,
    rgba(13,13,20,0.82) 100%
  );
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  z-index: 0;
  pointer-events: none;
}
.page-hero--image::after { display: none; }
.page-hero--about      { background-image: url('/assets/images/page-about.jpg'); }
.page-hero--sermons    { background-image: url('/assets/images/page-sermons.jpg'); }
.page-hero--sermon     { background-image: url('/assets/images/page-sermon.jpg'); }
.page-hero--live       { background-image: url('/assets/images/page-live.jpg'); }
.page-hero--ministries { background-image: url('/assets/images/page-ministries.jpg'); }
.page-hero--events     { background-image: url('/assets/images/page-events.jpg'); }
.page-hero--give       { background-image: url('/assets/images/page-give.jpg'); }
.page-hero--connect    { background-image: url('/assets/images/page-connect.jpg'); }
.page-hero--gallery    { background-image: url('/assets/images/page-about.jpg'); }
.page-hero__content { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero .lead { margin: 0 auto; }

/* ── 10. CARDS ───────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-gold);
}

.sermon-card { display: grid; }
.sermon-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.sermon-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.sermon-card:hover .sermon-card__thumb img { transform: scale(1.06); }
.sermon-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,13,20,0.4);
  opacity: 0;
  transition: opacity var(--duration);
}
.sermon-card:hover .sermon-card__play { opacity: 1; }
.sermon-card__play-btn {
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 32px var(--gold-glow);
}
.sermon-card__body { padding: 20px; }
.sermon-card__series {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.sermon-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}
.sermon-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  align-items: center;
}

.event-card { display: flex; flex-direction: column; }
.event-card__image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.event-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.event-card:hover .event-card__image img { transform: scale(1.06); }
.event-card__date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--text-dark);
  border-radius: 10px;
  padding: 8px 14px;
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}
.event-card__date-month { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; }
.event-card__date-day   { font-size: 1.5rem; font-family: 'Cormorant Garamond', serif; }
.event-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.event-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.event-card__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}
.event-card__meta span { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }

.ministry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.ministry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.ministry-card__accent {
  height: 4px;
  width: 100%;
}
.ministry-card__body { padding: 28px 24px; }
.ministry-card__icon { font-size: 2rem; margin-bottom: 14px; }
.ministry-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.ministry-card__desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: transform var(--duration), box-shadow var(--duration);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter var(--duration-slow);
}
.team-card:hover .team-card__photo { filter: grayscale(0); }
.team-card__body { padding: 20px 16px; }
.team-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.team-card__title { font-size: 0.82rem; color: var(--gold); font-weight: 500; }

/* ── 11. GRIDS ───────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── 12. WELCOME STRIP ───────────────────────────────────── */
.welcome-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 48px 24px;
  text-align: center;
}
.welcome-strip p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-style: italic;
  color: var(--gold);
  line-height: 1.3;
}
.welcome-strip small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 12px;
}

/* ── 13. SERMON PLAYER SECTION ───────────────────────────── */
.sermon-player-section { padding: var(--section-gap) 0; }
.sermon-player-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 960px) {
  .sermon-player-grid { grid-template-columns: 1fr; }
}
.sermon-embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-gold);
}
.sermon-embed iframe { width: 100%; height: 100%; border: none; }
.sermon-sidebar { display: flex; flex-direction: column; gap: 12px; }
.sermon-sidebar-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

/* ── 14. STATS / IMPACT STRIP ────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg-card);
  padding: 40px 32px;
  text-align: center;
}
.stat__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label { font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 640px) { .stats-strip { grid-template-columns: 1fr; } }

/* ── 15. GIVE SECTION ────────────────────────────────────── */
.give-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--section-gap) 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.give-strip::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,0,204,0.06) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  pointer-events: none;
}
.give-strip::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,0,204,0.06) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  pointer-events: none;
}
.give-strip h2, .give-strip p, .give-strip .give-strip__actions { position: relative; z-index: 1; }
.give-strip h2 { color: var(--gold); margin-bottom: 16px; }
.give-strip p { color: var(--text-muted); max-width: 520px; margin: 0 auto 32px; }
.give-strip .give-strip__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── 16. LIVE PAGE ───────────────────────────────────────── */
.live-status-bar {
  padding: 16px 24px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.live-status-bar--live {
  background: rgba(212,43,43,0.12);
  border-bottom: 1px solid rgba(212,43,43,0.25);
  color: var(--red);
}
.live-status-bar--offline {
  background: var(--gold-subtle);
  border-bottom: 1px solid var(--border-gold);
  color: var(--gold);
}

.live-player-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 960px) { .live-player-grid { grid-template-columns: 1fr; } }

.live-embed {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212,43,43,0.35);
  box-shadow: 0 0 48px rgba(212,43,43,0.12);
}
.live-embed iframe { width: 100%; height: 100%; border: none; }

.service-order { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.service-order h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-faint); margin-bottom: 16px; }
.service-order__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.service-order__item:last-child { border-bottom: none; }
.service-order__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.service-order__item.active .service-order__dot { background: var(--gold); box-shadow: 0 0 8px var(--gold-glow); }

.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 32px 0;
}
.countdown__unit {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-width: 90px;
}
.countdown__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.countdown__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── 17. GIVING PAGE ─────────────────────────────────────── */
.giving-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}
@media (max-width: 640px) { .giving-methods { grid-template-columns: 1fr; } }

.giving-method {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--duration), transform var(--duration);
}
.giving-method:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.giving-method__icon { font-size: 2rem; margin-bottom: 14px; }
.giving-method__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.giving-method__detail { font-size: 0.88rem; color: var(--text-muted); }
.giving-method__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 12px;
}

/* ── 18. FORMS ───────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--duration), box-shadow var(--duration);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-subtle);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.checkboxes { display: flex; flex-direction: column; gap: 10px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
}
.checkbox-label input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

/* ── 19. FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: #080810;
  border-top: 2px solid var(--gold);
  padding: 80px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo-wrap {
  display: inline-block;
  background: white;
  border-radius: 10px;
  padding: 6px 12px;
  margin-bottom: 16px;
}
.footer__logo-wrap img { height: 52px; }
.footer__tagline { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }

.footer__socials { display: flex; gap: 12px; }
.footer__social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--duration), border-color var(--duration), background var(--duration);
}
.footer__social:hover { color: var(--text-dark); background: var(--gold); border-color: var(--gold); }

.footer__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--duration);
}
.footer__links a:hover { color: var(--text); }

.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer__contact-item strong { color: var(--text); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }

.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 0.8rem; color: var(--text-faint); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 0.8rem; color: var(--text-faint); transition: color var(--duration); }
.footer__legal a:hover { color: var(--gold); }

/* ── 20. SCROLL REVEAL ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── 21. ACCORDION ───────────────────────────────────────── */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-card);
  transition: color var(--duration), background var(--duration);
}
.accordion-trigger:hover { color: var(--gold); }
.accordion-trigger[aria-expanded="true"] { color: var(--gold); }
.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}
.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration);
}
.accordion-icon::before { width: 12px; height: 2px; top: 9px; left: 4px; }
.accordion-icon::after  { width: 2px; height: 12px; top: 4px; left: 9px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(90deg); opacity: 0; }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion-body-inner {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  background: var(--bg-card);
}

/* ── 22. GALLERY STRIP ───────────────────────────────────── */
.gallery-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-gold) transparent;
}
.gallery-strip::-webkit-scrollbar { height: 4px; }
.gallery-strip::-webkit-scrollbar-track { background: transparent; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--border-gold); border-radius: 2px; }
.gallery-strip__item {
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.gallery-strip__item:hover img { transform: scale(1.08); }

/* ── Gallery Page ────────────────────────────────────────── */
.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.gallery-filter__btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}
.gallery-filter__btn:hover,
.gallery-filter__btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--bg-card);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
  display: block;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,20,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__caption {
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.4;
}
.gallery-item__category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  transition: opacity 0.2s;
}
.lightbox__caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  max-width: 500px;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__nav:hover { background: var(--gold); color: #000; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__counter {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ── 23. PAGINATION ──────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
}
.pagination a, .pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--duration);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-subtle); }
.pagination .active { background: var(--gold); color: var(--text-dark); border-color: var(--gold); }

/* ── 24. FLASH MESSAGES ──────────────────────────────────── */
.flash {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.flash--success { background: rgba(61,191,191,0.12); border: 1px solid rgba(61,191,191,0.3); color: var(--teal); }
.flash--error   { background: rgba(212,43,43,0.12); border: 1px solid rgba(212,43,43,0.3); color: var(--red); }

/* ── 25. UTILITIES ───────────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ── 26. KEYFRAMES ───────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── 27. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-gap: 64px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__times { gap: 16px; flex-direction: column; }
  .sermon-player-grid { grid-template-columns: 1fr; }
  .countdown { gap: 10px; }
  .countdown__unit { padding: 14px 16px; min-width: 70px; }
  .countdown__number { font-size: 2.2rem; }
  .giving-methods { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { padding: 100px 16px 60px; }
  .stats-strip { grid-template-columns: 1fr; }
}

/* ── 28. TIMELINE (About page) ───────────────────────────── */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}
.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 29. SOCIAL ICONS (large circles on connect/social) ─── */
.social-circles {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.social-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--duration);
}
.social-circle:hover {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

/* ── 30. MINISTRY ALTERNATING LAYOUT ─────────────────────── */
.ministry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.ministry-row:last-child { margin-bottom: 0; }
.ministry-row--reverse { direction: rtl; }
.ministry-row--reverse > * { direction: ltr; }
.ministry-row__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.ministry-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .ministry-row, .ministry-row--reverse { grid-template-columns: 1fr; direction: ltr; }
}
