/* =============================================================
   SANCTUARY — an original design language for
   RCCG God's Sanctuary of Praise, Sacramento
   -------------------------------------------------------------
   Mood:  warm, sacred, celebratory, editorial, unmistakably alive
   Type:  Newsreader (high-contrast serif display, italic accents)
          Hanken Grotesk (clean grotesque body + UI)
   Color: plum-ink / warm bone / berry-wine / marigold / terracotta
   ============================================================= */

:root {
  /* ---- ink & paper (all warm, never pure black/white) ---- */
  --ink:        #1E121C;   /* plum-black: dark sections + headings */
  --ink-soft:   #2A1A28;   /* raised dark panel */
  --ink-line:   rgba(245,238,225,0.13);
  --bone:       #F5EEE0;   /* page background */
  --bone-2:     #EFE6D4;   /* alternating warm band */
  --cream:      #FBF6EC;   /* cards on bone */
  --paper:      #FFFFFF;

  /* ---- the warm spectrum (berry -> clay -> gold) ---- */
  --berry:      #A12B54;   /* PRIMARY: buttons, links, key accents */
  --berry-deep: #7C2040;   /* hover / pressed */
  --berry-tint: #F3E2E6;   /* faint berry wash */
  --clay:       #C75D38;   /* tertiary warm accent */
  --gold:       #E2A129;   /* highlights, hairline rules, kickers on dark */
  --gold-soft:  #F0CB7C;

  /* ---- text ---- */
  --text:       #2E2029;   /* body text on light (warm near-black) */
  --muted:      #6E5E68;   /* secondary text */
  --faint:      #7A6A73;   /* tertiary / captions (AA: 4.7:1 on bone) */
  --on-dark:        #F1E6D5; /* headings on ink */
  --on-dark-body:   #CBB9B6; /* body on ink */
  --on-dark-faint:  #9C8A8C;

  /* ---- lines ---- */
  --line:       #E2D6C2;   /* hairline on bone */
  --line-soft:  #ECE3D3;

  /* ---- type ---- */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* ---- radius ---- */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* ---- motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --d1: 160ms; --d2: 300ms; --d3: 460ms; --d4: 820ms;

  --shadow-sm: 0 2px 10px rgba(30,18,28,0.06);
  --shadow-md: 0 18px 44px rgba(30,18,28,0.10);
  --shadow-lg: 0 34px 80px rgba(30,18,28,0.18);

  --tape-speed: 40s;
  --strip-speed: 50s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.reduce-motion { scroll-behavior: auto; }

/* ---- global keyboard focus ring (visible for keyboard users only) ---- */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
/* on dark surfaces, switch to gold so the ring stays high-contrast */
footer a:focus-visible, .service-card a:focus-visible, .live-banner:focus-visible,
.hero a:focus-visible, .page-hero a:focus-visible,
.nav.on-photo:not(.solid) a:focus-visible, .nav.on-photo:not(.solid) button:focus-visible,
.mobnav a:focus-visible, .on-dark:focus-visible { outline-color: var(--gold); }

/* ---- skip to content (visible only when focused by keyboard) ---- */
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 2000;
  background: var(--berry); color: #fff;
  padding: 12px 20px; border-radius: var(--r-pill);
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  text-decoration: none; box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.18));
  transition: top var(--d2) var(--ease);
}
.skip-link:focus { top: 16px; }
#main-content:focus { outline: none; }

body {
  background: var(--bone);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
::selection { background: var(--berry); color: #FFF6F0; }

iconify-icon { display: inline-block; vertical-align: -0.125em; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(22px, 6vw, 88px); }
.sec { padding-block: clamp(72px, 11vw, 156px); }
.sec-sm { padding-block: clamp(54px, 7vw, 100px); }

/* ---------- type system ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.d-hero { font-size: clamp(44px, 7.4vw, 104px); line-height: 0.98; }
.d-1 { font-size: clamp(40px, 6.4vw, 92px); }
.d-2 { font-size: clamp(32px, 4.6vw, 64px); }
.d-3 { font-size: clamp(25px, 3vw, 40px); }
.display em, .ital { font-style: italic; font-weight: 400; }
.fg-berry { color: var(--berry); }
.fg-gold { color: var(--gold); }
.fg-clay { color: var(--clay); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--berry);
}
.kicker::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--gold);
  flex: none;
}
.kicker.no-rule::before { display: none; }
.on-dark .kicker { color: var(--gold); }

.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--muted);
  font-weight: 400;
}
.on-dark .lead, .on-dark p { color: var(--on-dark-body); }

/* gold hairline rule used under section headers (signature device) */
.rule { width: 64px; height: 2px; background: var(--gold); border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 16px 26px;
  min-height: 44px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--d1) var(--ease), color var(--d1) var(--ease),
              border-color var(--d1) var(--ease), transform var(--d1) var(--ease);
}
.btn iconify-icon { font-size: 17px; transition: transform var(--d2) var(--ease); }
.btn:hover iconify-icon { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-berry { background: var(--berry); color: #FFF4EE; }
.btn-berry:hover { background: var(--berry-deep); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: #150d14; }
.btn-bone { background: var(--cream); color: var(--ink); border-color: var(--line); }
.btn-bone:hover { background: #FFFFFF; border-color: var(--ink); }
.btn-line { border-color: rgba(46,32,41,0.32); color: var(--text); }
.btn-line:hover { border-color: var(--ink); background: var(--ink); color: var(--bone); }
.on-dark .btn-line, .btn-line.on-dark { border-color: rgba(241,230,213,0.4); color: var(--on-dark); }
.on-dark .btn-line:hover, .btn-line.on-dark:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn-sm { padding: 12px 19px; font-size: 14px; }
.btn-lg { padding: 19px 32px; font-size: 16px; }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--berry);
  transition: transform var(--d1) var(--ease), color var(--d1) var(--ease);
}
.tlink iconify-icon { font-size: 16px; transition: transform var(--d2) var(--ease); }
.tlink:hover { transform: translate(2px, -2px); }
.tlink.on-dark { color: var(--gold); }

/* =============================================================
   TAPE — refined scrolling info strip
   ============================================================= */
.tape {
  background: var(--ink);
  color: var(--on-dark-body);
  overflow: hidden;
  border-bottom: 1px solid var(--ink-line);
}
.tape-track { display: flex; width: max-content; animation: marquee var(--tape-speed) linear infinite; }
html.reduce-motion .tape-track, html.no-motion .tape-track { animation: none; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tape-item::after {
  content: "✦";
  color: var(--gold);
  font-size: 10px;
  margin-inline: 30px;
}
.tape-item b { color: var(--on-dark); font-weight: 600; }
.tape-item a { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   NAV
   ============================================================= */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 70; }
.nav {
  position: relative;
  z-index: 2;
  transition: background var(--d2) var(--ease), backdrop-filter var(--d2), border-color var(--d2), box-shadow var(--d2);
  border-bottom: 1px solid transparent;
}
.nav-in {
  max-width: 1320px;
  margin-inline: auto;
  padding: 18px clamp(22px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav.solid {
  background: rgba(245,238,224,0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #FFFFFF;
  flex: none;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.5), var(--shadow-sm);
}
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-name small {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--berry);
  margin-top: 2px;
}
.nav.on-photo:not(.solid) .brand-name b { color: var(--bone); }
.nav.on-photo:not(.solid) .brand-name small { color: var(--gold-soft); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 9px 14px;
  color: var(--text);
  transition: color var(--d1);
}
.nav.on-photo:not(.solid) .nav-links a { color: rgba(245,238,224,0.92); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 100%;
  bottom: 5px; height: 1.5px;
  background: var(--berry);
  transition: right var(--d2) var(--ease);
}
.nav.on-photo:not(.solid) .nav-links a::after { background: var(--gold); }
.nav-links a:hover::after { right: 14px; }
/* current page */
.nav-links a.is-current { color: var(--berry); font-weight: 600; }
.nav-links a.is-current::after { right: 14px; }
.nav.on-photo:not(.solid) .nav-links a.is-current { color: var(--gold-soft); }
.mobnav a.is-current { color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav.on-photo:not(.solid) .nav-cta .btn-line { border-color: rgba(245,238,224,0.45); color: var(--bone); }
.nav.on-photo:not(.solid) .nav-cta .btn-line:hover { background: var(--bone); color: var(--ink); }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
}
.nav.on-photo:not(.solid) .burger { border-color: rgba(245,238,224,0.4); background: rgba(30,18,28,0.3); color: var(--bone); }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
}
/* keep the primary Give CTA on phones; drop only the secondary "Watch live" */
@media (max-width: 560px) { .nav-cta .btn-line { display: none; } }
@media (max-width: 380px) { .nav-cta .btn-berry { display: none; } }

/* mobile menu */
.mobnav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center;
  gap: 2px;
  padding: 64px clamp(28px, 9vw, 72px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--d2) var(--ease);
}
.mobnav.open { opacity: 1; pointer-events: auto; }
.mobnav a:not(.btn) {
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 56px);
  font-weight: 400;
  padding: 7px 0;
  color: var(--on-dark);
  transition: color var(--d1);
}
.mobnav a:not(.btn):hover { color: var(--gold); }
.mobnav .btn { margin-top: 30px; align-self: flex-start; }
.mob-close {
  position: absolute; top: 24px; right: 24px;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--ink-line);
  background: none; color: var(--on-dark);
  cursor: pointer; font-size: 24px;
}

/* =============================================================
   HERO — full-bleed warm photo, plum scrim, serif headline
   ============================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  animation: kenburns 24s ease-in-out infinite alternate;
}
html.reduce-motion .hero-media img, html.no-motion .hero-media img { animation: none; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.13); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 18% 88%, rgba(124,32,64,0.5), transparent 60%),
    linear-gradient(180deg, rgba(30,18,28,0.46) 0%, rgba(30,18,28,0.32) 38%, rgba(30,18,28,0.86) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; padding-block: clamp(132px, 18vh, 220px) clamp(40px, 7vh, 80px); }
.hero .kicker { color: var(--gold-soft); margin-bottom: 26px; }
.hero .kicker::before { background: var(--gold-soft); }
.hero-title { color: var(--bone); max-width: 15ch; }
.hero-title em { color: var(--gold-soft); }
.hero-sub {
  color: rgba(245,238,224,0.9);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  max-width: 50ch;
  margin-top: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }

/* floating "this Sunday" video card, top-right */
.hero-card {
  position: absolute;
  z-index: 3;
  top: clamp(120px, 16vh, 180px);
  right: clamp(22px, 6vw, 88px);
  width: 230px;
  background: rgba(30,18,28,0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245,238,224,0.22);
  border-radius: var(--r-md);
  padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--d2) var(--ease), background var(--d2);
}
.hero-card:hover { transform: translateY(-4px); background: rgba(30,18,28,0.58); }
.hero-card .hc-media { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16/10; background: #000; }
.hero-card .hc-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.86; }
.hero-card .hc-media iconify-icon { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; color: #fff; font-size: 44px; }
.hero-card .hc-text { padding: 0 4px 4px; }
.hero-card .hc-text b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--bone); }
.hero-card .hc-text span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-soft); }
@media (max-width: 1100px) { .hero-card { display: none; } }

/* hero bottom info bar */
.hero-bar {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px);
  padding-block: 26px;
  border-top: 1px solid rgba(245,238,224,0.18);
}
.hero-bar .hb {
  display: flex; flex-direction: column; gap: 3px;
}
.hero-bar .hb span { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.hero-bar .hb b { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; color: var(--bone); }
.hero-bar .hb.count b { font-variant-numeric: tabular-nums; }

/* =============================================================
   SCRIPTURE BAND — dark, sacred
   ============================================================= */
.scripture { background: var(--ink); color: var(--on-dark); text-align: center; position: relative; }
.scripture .wrap { position: relative; z-index: 1; }
.scripture .mark {
  font-family: var(--serif); font-size: 90px; line-height: 0.4;
  color: var(--gold); opacity: 0.7; display: block; margin-bottom: 30px;
}
.scripture blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(27px, 4.2vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 19ch;
  margin-inline: auto;
  color: var(--on-dark);
  text-wrap: balance;
}
.scripture blockquote em { color: var(--gold-soft); }
.scripture cite {
  display: inline-block;
  margin-top: 30px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}

/* =============================================================
   WELCOME — editorial split
   ============================================================= */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}
.welcome-copy .display { margin-top: 22px; }
.welcome-copy .display .u { position: relative; white-space: nowrap; }
.welcome-copy .display .u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.085em;
  background: var(--gold); border-radius: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform var(--d4) var(--ease);
}
.welcome-copy.in .display .u::after { transform: scaleX(1); }
.welcome-copy .lead { margin-top: 26px; max-width: 46ch; }
.ways { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.way {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500;
}
.way iconify-icon { font-size: 18px; color: var(--berry); }
.welcome-photo { position: relative; }
.welcome-photo .ph {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/4.6;
  box-shadow: var(--shadow-md);
}
.welcome-photo .ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.94); }
.welcome-photo .badge {
  position: absolute;
  left: -26px; bottom: 38px;
  background: var(--berry);
  color: #FFF4EE;
  border-radius: var(--r-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  max-width: 220px;
}
.welcome-photo .badge b { font-family: var(--serif); font-size: 30px; font-weight: 500; display: block; line-height: 1; }
.welcome-photo .badge span { font-size: 13px; opacity: 0.86; }
@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-photo .ph { aspect-ratio: 16/12; }
  .welcome-photo .badge { left: 18px; bottom: -22px; }
}

/* =============================================================
   FOR WHO — signature editorial list
   ============================================================= */
.forwho { background: var(--bone-2); }
.forwho-head { max-width: 640px; }
.forwho-head .display { margin-top: 20px; }
.forwho-list { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.fw-row {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) auto;
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(26px, 3.2vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--d2) var(--ease);
}
.fw-row:hover { background: rgba(161,43,84,0.04); }
.fw-row .who {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.fw-row .who em { color: var(--berry); }
.fw-row .what { color: var(--muted); font-size: clamp(15px, 1.3vw, 17px); }
.fw-row .idx {
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .fw-row { grid-template-columns: 1fr; gap: 8px; }
  .fw-row .idx { display: none; }
}

/* =============================================================
   VISIT — what to expect + service details
   ============================================================= */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.visit-head .display { margin-top: 20px; }
.visit-head .lead { margin-top: 22px; max-width: 42ch; }
.expect { margin-top: 36px; display: flex; flex-direction: column; gap: 4px; }
.expect-row {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.expect-row .en { font-family: var(--serif); font-size: 19px; color: var(--clay); min-width: 30px; }
.expect-row .ec b { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink); display: block; }
.expect-row .ec p { font-size: 14.5px; margin-top: 3px; }

.service-card {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  overflow: hidden;
}
.service-card .kicker { color: var(--gold); }
.service-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 38px); color: var(--on-dark); margin-top: 16px; }
.svc-list { margin-top: 28px; display: flex; flex-direction: column; }
.svc {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--ink-line);
}
.svc:first-child { border-top: none; }
.svc .sl b { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--on-dark); display: block; }
.svc .sl span { font-size: 13.5px; color: var(--on-dark-faint); }
.svc .st { font-family: var(--serif); font-size: 18px; color: var(--gold-soft); white-space: nowrap; }
.service-card .addr {
  margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--ink-line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.service-card .addr p { color: var(--on-dark-body); font-size: 14.5px; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

/* =============================================================
   MESSAGES — latest sermon + channel feed (dark)
   ============================================================= */
.messages { background: var(--ink); color: var(--on-dark); }
.messages-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.messages-head .display { color: var(--on-dark); margin-top: 18px; max-width: 16ch; }
.messages-head .display em { color: var(--gold-soft); }

.feature {
  position: relative; display: block;
  margin-top: clamp(36px, 4vw, 56px);
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 16/7.5; background: #000;
}
.feature img { width: 100%; height: 100%; object-fit: cover; opacity: 0.74; transition: transform var(--d4) var(--ease), opacity var(--d3); }
.feature:hover img { transform: scale(1.03); opacity: 0.84; }
.feature .play {
  position: absolute; inset: 0; margin: auto;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--berry); color: #FFF4EE;
  display: flex; align-items: center; justify-content: center; font-size: 46px;
  transition: transform var(--d2) var(--ease);
}
.feature:hover .play { transform: scale(1.08); }
.feature .flabel {
  position: absolute; left: clamp(20px,3vw,36px); bottom: clamp(20px,3vw,36px); right: clamp(20px,3vw,36px);
}
.feature .flabel span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.feature .flabel b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 34px); color: #fff; margin-top: 6px; max-width: 22ch; }

.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
/* cards render as <button> for keyboard access — strip native button styling */
.vid-card { cursor: pointer; display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.vid-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: var(--r-md); }
.vid-thumb { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/9; background: var(--ink-soft); }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d4) var(--ease); }
.vid-card:hover .vid-thumb img { transform: scale(1.05); }
.vid-thumb .vp {
  position: absolute; inset: 0; margin: auto;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(30,18,28,0.55); border: 1px solid rgba(255,255,255,0.4);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px;
  transition: background var(--d2), transform var(--d2) var(--ease);
}
.vid-card:hover .vp { background: var(--berry); border-color: var(--berry); transform: scale(1.1); }
.vid-title { font-family: var(--serif); font-weight: 500; font-size: 17px; line-height: 1.3; color: var(--on-dark); margin-top: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vid-date { font-size: 13px; color: var(--on-dark-faint); margin-top: 6px; }
.vid-note { margin-top: 26px; color: var(--on-dark-faint); font-size: 14.5px; }
@media (max-width: 980px) { .vid-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .vid-grid { grid-template-columns: 1fr; } }

/* =============================================================
   MINISTRIES — warm card grid
   ============================================================= */
.min-head { max-width: 620px; }
.min-head .display { margin-top: 18px; }
.min-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); margin-top: clamp(40px, 4vw, 60px); }
.min-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--d2) var(--ease), box-shadow var(--d2), border-color var(--d2);
}
.min-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--cream); }
.min-card .ph { aspect-ratio: 4/3; overflow: hidden; background: var(--bone-2); }
.min-card .ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); transition: transform var(--d4) var(--ease); }
.min-card:hover .ph img { transform: scale(1.05); }
.min-card .body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.min-card .ck { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--berry); }
.min-card .ck iconify-icon { font-size: 15px; color: var(--gold); }
.min-card h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; color: var(--ink); }
.min-card p { font-size: 14.5px; flex: 1; }
.min-card .tlink { margin-top: 4px; align-self: flex-start; }
@media (max-width: 980px) { .min-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .min-grid { grid-template-columns: 1fr; } }

/* =============================================================
   CONNECT — give / pray / serve
   ============================================================= */
.connect { background: var(--bone-2); }
.connect-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-auto-rows: 1fr; gap: clamp(16px, 1.8vw, 22px); margin-top: clamp(40px, 4vw, 56px); }
.ccard { border-radius: var(--r-lg); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; transition: transform var(--d2) var(--ease), box-shadow var(--d2); }
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ccard .ck { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.ccard h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 44px); margin-top: auto; line-height: 1.04; }
.ccard p { margin-top: 12px; max-width: 42ch; }
.ccard .btn, .ccard .tlink { margin-top: 24px; align-self: flex-start; }
.ccard.give { grid-row: 1 / 3; background: var(--berry); color: #FFF4EE; }
.ccard.give .ck { color: var(--gold-soft); }
.ccard.give p { color: rgba(255,244,238,0.85); }
.ccard.give h3 em { font-style: italic; color: var(--gold-soft); }
.ccard.pray { background: var(--ink); color: var(--on-dark); }
.ccard.pray .ck { color: var(--gold); }
.ccard.pray p { color: var(--on-dark-body); }
.ccard.serve { background: var(--cream); border: 1px solid var(--line); color: var(--text); }
.ccard.serve .ck { color: var(--clay); }
.ccard.serve h3 { color: var(--ink); }
@media (max-width: 820px) {
  .connect-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .ccard.give { grid-row: auto; }
}

/* =============================================================
   FOOTER
   ============================================================= */
footer { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(30px, 4vw, 60px); padding-block: clamp(60px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.foot-brand .brand-name b { color: var(--on-dark); }
.foot-brand p { color: var(--on-dark-body); margin-top: 18px; max-width: 34ch; font-size: 14.5px; }
.foot-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: 18px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { color: var(--on-dark-body); font-size: 15px; transition: color var(--d1); }
.foot-col a:hover { color: var(--gold-soft); }
.foot-socials { display: flex; gap: 10px; margin-top: 4px; }
.foot-socials a {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink-line); color: var(--on-dark-body); font-size: 19px;
  transition: background var(--d1), color var(--d1), border-color var(--d1), transform var(--d1) var(--ease);
}
.foot-socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-2px); }
.foot-word {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 13vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241,230,213,0.28);
  white-space: nowrap;
  padding-bottom: 0.08em;
}
.foot-word em { font-style: italic; color: var(--gold); -webkit-text-stroke: 0; }
.foot-bottom {
  border-top: 1px solid var(--ink-line);
  padding-block: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--on-dark-faint);
}
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* =============================================================
   VIDEO LIGHTBOX
   ============================================================= */
#vlb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,11,18,0.86);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 52px);
  opacity: 0; pointer-events: none; transition: opacity var(--d2) var(--ease);
}
#vlb.open { opacity: 1; pointer-events: auto; }
.vlb-box { position: relative; width: min(1080px, 100%); }
.vlb-frame { aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); transform: scale(0.96); transition: transform var(--d2) var(--ease); }
#vlb.open .vlb-frame { transform: scale(1); }
.vlb-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vlb-close {
  position: absolute; top: -54px; right: 0;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(245,238,224,0.4); background: none; color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 22px;
  transition: background var(--d1);
}
.vlb-close:hover { background: rgba(245,238,224,0.16); }

/* =============================================================
   REVEAL
   ============================================================= */
html.js .rv { opacity: 0; transform: translateY(22px); }
html.js .rv.in { opacity: 1; transform: none; transition: opacity var(--d3) var(--ease), transform var(--d3) var(--ease); }
html.js .rv.in.s1 { transition-delay: 80ms; }
html.js .rv.in.s2 { transition-delay: 160ms; }
html.js .rv.in.s3 { transition-delay: 240ms; }
html.js .rv.in.s4 { transition-delay: 320ms; }
html.reduce-motion .rv, html.no-motion .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .tape-track, .hero-media img { animation: none !important; }
  html.js .rv { opacity: 1; transform: none; }
}

/* scroll progress */
#prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: linear-gradient(90deg, var(--berry), var(--clay), var(--gold)); pointer-events: none; }

/* =============================================================
   STELLAR LAYER — grain, arch motif, warm image grading
   ============================================================= */

/* film-grain paper texture over the whole page (below nav/modals) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html.no-grain body::before { display: none; }

/* arch motif — sanctuary windows; applied to framed photography */
.arch {
  border-top-left-radius: 50% 32%;
  border-top-right-radius: 50% 32%;
  border-bottom-left-radius: var(--r-md);
  border-bottom-right-radius: var(--r-md);
}

/* warm grade so all photography feels of-one-piece */
.ph { position: relative; }
.ph::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(170deg, rgba(124,32,64,0.10) 0%, rgba(30,18,28,0.05) 45%, rgba(30,18,28,0.22) 100%);
  mix-blend-mode: multiply;
}
.welcome-photo .ph { border-radius: 0; }
.welcome-photo .ph.arch { border-bottom-left-radius: var(--r-lg); border-bottom-right-radius: var(--r-lg); }

/* decorative arch glyph used in section heads */
.arch-mark {
  display: block;
  width: 46px; height: 30px;
  margin-bottom: 26px;
  border: 2px solid var(--gold);
  border-bottom: none;
  border-top-left-radius: 50% 90%;
  border-top-right-radius: 50% 90%;
}
.arch-mark.center { margin-inline: auto; }

/* =============================================================
   PAGE HERO — subpage header over a dark scrimmed photo
   ============================================================= */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(150px, 23vh, 250px) clamp(56px, 9vw, 104px);
  overflow: hidden;
}
.page-hero .ph-media { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; filter: saturate(0.88); animation: kenburns 26s ease-in-out infinite alternate; }
html.reduce-motion .page-hero .ph-media img, html.no-motion .page-hero .ph-media img { animation: none; }
.page-hero .ph-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 90% at 15% 100%, rgba(124,32,64,0.42), transparent 62%),
    linear-gradient(180deg, rgba(30,18,28,0.5) 0%, rgba(30,18,28,0.62) 45%, rgba(30,18,28,0.9) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .crumb {
  display: flex;
  width: fit-content;
  align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--on-dark-faint);
  margin-bottom: 24px;
}
.page-hero .crumb a { color: var(--gold-soft); }
.page-hero .crumb iconify-icon { font-size: 14px; }
.page-hero .kicker { color: var(--gold); }
.page-hero .kicker::before { background: var(--gold); }
.page-hero h1 { color: var(--on-dark); margin-top: 16px; max-width: 18ch; }
.page-hero h1 em { color: var(--gold-soft); font-style: italic; }
.page-hero .lead { color: var(--on-dark-body); margin-top: 22px; max-width: 54ch; }
.page-hero .ph-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* =============================================================
   FORMS
   ============================================================= */
.form { display: grid; gap: 18px; max-width: 580px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px; font-weight: 400;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  transition: border-color var(--d1), box-shadow var(--d1);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 3px var(--berry-tint); }
.form-note { font-size: 13.5px; color: var(--faint); margin-top: 4px; }
.field .req, .form-note .req { color: var(--berry); font-weight: 700; }
.form-error {
  font-size: 14.5px; font-weight: 500; color: var(--berry-deep);
  background: var(--berry-tint); border: 1px solid var(--berry);
  border-radius: var(--r-sm); padding: 12px 16px; margin-top: 4px;
}
/* anti-bot honeypot: off-screen, never shown to humans or AT */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }

/* =============================================================
   GENERIC SECTION HEAD
   ============================================================= */
.shead { max-width: 660px; }
.shead.center { margin-inline: auto; text-align: center; }
.shead .display { margin-top: 18px; }
.shead .lead { margin-top: 20px; }

/* split intro (text + framed photo) reused on subpages */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.rev { grid-template-columns: 0.95fr 1.05fr; }
.split .s-photo .ph { overflow: hidden; aspect-ratio: 4/4.6; box-shadow: var(--shadow-md); }
.split .s-photo .ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.94); }
.split .lead { margin-top: 22px; }
.split .s-copy .btn, .split .s-copy .tlink { margin-top: 28px; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split .s-photo .ph { aspect-ratio: 16/11; } }

/* values / belief grid */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(40px, 4vw, 60px); }
.value { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(26px, 2.6vw, 38px); }
.value .vn { font-family: var(--serif); font-size: 30px; color: var(--gold); line-height: 1; }
.value h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--ink); margin-top: 14px; }
.value p { font-size: 14.5px; margin-top: 10px; }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }

/* mission band (dark, centered) */
.mission { background: var(--ink); color: var(--on-dark); text-align: center; }
.mission .arch-mark { border-color: var(--gold); }
.mission h2 { color: var(--on-dark); font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.6vw, 50px); line-height: 1.18; letter-spacing: -0.015em; max-width: 22ch; margin-inline: auto; text-wrap: balance; }
.mission h2 em { color: var(--gold-soft); }

/* events / rhythm list */
.events-list { margin-top: clamp(40px, 4vw, 60px); border-top: 1px solid var(--line); }
.event-row { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 48px); align-items: center; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); transition: background var(--d2) var(--ease); }
.event-row:hover { background: rgba(161,43,84,0.04); }
.event-when { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 24px); color: var(--clay); white-space: nowrap; }
.event-body b { font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2.1vw, 30px); color: var(--ink); display: block; line-height: 1.06; }
.event-body p { color: var(--muted); font-size: 14.5px; margin-top: 6px; max-width: 52ch; }
.event-row .btn { white-space: nowrap; }
@media (max-width: 720px) { .event-row { grid-template-columns: 1fr; gap: 10px; } .event-row .btn { justify-self: start; margin-top: 4px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: start; }
.contact-list { display: flex; flex-direction: column; }
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-item:first-child { border-top: none; }
.contact-item iconify-icon { font-size: 24px; color: var(--berry); flex: none; margin-top: 3px; }
.contact-item b { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--ink); display: block; margin-bottom: 3px; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 15px; line-height: 1.5; }
.contact-item a:hover { color: var(--berry); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; margin-top: clamp(36px, 4vw, 52px); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.9); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* live banner (watch page) */
.live-banner {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 21/8;
  background: #000;
}
.live-banner img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform var(--d4) var(--ease); }
.live-banner:hover img { transform: scale(1.03); }
.live-banner .lb-in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(28px, 5vw, 64px); }
.live-pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--berry); color: #FFF4EE; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 14px; border-radius: var(--r-pill); }
.live-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #FFF4EE; animation: pulse 1.6s ease-in-out infinite; }
html.reduce-motion .live-pill .dot { animation: none; }
@keyframes pulse { 50% { opacity: 0.3; } }
.live-banner h2 { color: #fff; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.6vw, 48px); max-width: 18ch; }
.live-banner .btn { align-self: flex-start; }

