/* ==========================================================================
   Restoration Hour Chapel — "Sacred Modern"
   Single shared stylesheet. No frameworks, no dependencies.
   ========================================================================== */

/* ---------- Design tokens : DAWN LIGHT THEME ---------- */
:root {
  --ink: #1d2433;
  --ink-2: #ffffff;
  --ink-3: #fffdf6;
  --paper: #fffdf7;
  --paper-2: #faf3e3;
  --surface: #ffffff;
  --surface-warm: #fff9ec;
  --gold: #9a7418;
  --gold-2: #c9a227;
  --gold-3: #e9c86a;
  --gold-soft: rgba(201, 162, 39, 0.16);
  --gold-faint: rgba(201, 162, 39, 0.1);
  --text-dark: #232a3a;
  --muted-dark: #667085;
  --muted-light: #667085;
  --line-dark: rgba(29, 36, 51, 0.1);
  --line-light: rgba(29, 36, 51, 0.12);
  --sky: #e8eefc;
  --sky-2: #dfe9ff;
  --sage: #e6f0e6;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-1: 0 10px 30px rgba(60, 48, 15, 0.08);
  --shadow-2: 0 24px 60px rgba(60, 48, 15, 0.14);
  --shadow-gold: 0 12px 32px rgba(201, 162, 39, 0.28);
  --radius: 18px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

/* Injected icons (js/main.js): hosts are inline <i>/<span> elements, so without
   layout their width/height rules are ignored and the SVG renders huge.
   Context rules that size the svg directly (.check-list svg, .socials svg, …)
   come later in this file and still override. */
[data-icon] {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
}
[data-icon] svg { width: 100%; height: 100%; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Kicker / labels ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.kicker::before,
.kicker::after {
  content: "";
  height: 1px;
  width: 34px;
  background: currentColor;
  opacity: 0.6;
}
.kicker.left::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-3), var(--gold-2) 45%, var(--gold));
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(154, 116, 24, 0.4);
}

.btn-ghost {
  border-color: currentColor;
  color: inherit;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-3px); background:#fff; }

.dark .btn-ghost { color: var(--ink); border-color: rgba(29,36,51,.25); }
.light-section .btn-ghost { color: var(--ink); }

.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Sections: light by default, .dark to invert ---------- */
section { position: relative; }

.section {
  padding: clamp(80px, 11vw, 140px) 0;
}

.dark {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(201,162,39,.12), transparent 60%),
    radial-gradient(700px 420px at 5% 100%, rgba(143,170,255,.14), transparent 60%),
    linear-gradient(180deg, #fffdf7, #faf3e3);
  color: var(--text-dark);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.dark h1, .dark h2, .dark h3 { color: var(--ink); }
.dark .kicker { color: var(--gold); }
.dark .muted { color: var(--muted-dark); }

.light-section .muted { color: var(--muted-dark); }
.muted { color: var(--muted-dark); }

.paper-2 { background: var(--paper-2); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head.centered {
  margin-inline: auto;
  text-align: center;
}
.section-head .kicker::after { display: none; }
.section-head.centered .kicker::after { display: inline-block; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease), height 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav.scrolled {
  height: 64px;
  background: rgba(255, 253, 247, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-light);
  box-shadow: 0 10px 30px rgba(60, 48, 15, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand .mark {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(29, 36, 51, 0.72);
  border-radius: 999px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: inline-flex; }

/* Hamburger */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line-light);
  border-radius: 12px;
}
.menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 253, 247, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a {
  display: block;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
body.menu-open .mobile-menu a { opacity: 1; transform: none; }
body.menu-open .mobile-menu li:nth-child(1) a { transition-delay: 0.06s; }
body.menu-open .mobile-menu li:nth-child(2) a { transition-delay: 0.12s; }
body.menu-open .mobile-menu li:nth-child(3) a { transition-delay: 0.18s; }
body.menu-open .mobile-menu li:nth-child(4) a { transition-delay: 0.24s; }
body.menu-open .mobile-menu li:nth-child(5) a { transition-delay: 0.3s; }
.mobile-menu .menu-meta {
  margin-top: 34px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
}

body.menu-open { overflow: hidden; }

/* ---------- Hero : morning light, immersive ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(233,200,106,.55), transparent 62%),
    radial-gradient(900px 600px at 92% 18%, rgba(143,170,255,.22), transparent 60%),
    radial-gradient(800px 560px at 8% 88%, rgba(201,162,39,.16), transparent 60%),
    linear-gradient(180deg, #fffdf4 0%, #fff8e6 45%, #fdf1d7 100%);
  color: var(--ink);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .9;
}
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,253,247,.55) 0%, rgba(255,253,247,0) 32%, rgba(250,243,227,.35) 78%, rgba(250,243,227,.9) 100%);
}
/* Slow-drifting light rays (CSS layer above canvas) */
.hero-rays {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 42%, rgba(201,162,39,.1) 47%, rgba(201,162,39,.22) 50%, transparent 56%),
    linear-gradient(115deg, transparent 58%, rgba(201,162,39,.1) 63%, rgba(255,255,255,.7) 66%, transparent 72%);
  filter: blur(8px);
  animation: rays 16s ease-in-out infinite alternate;
}
@keyframes rays {
  from { transform: translateX(-3%) rotate(-1deg); opacity: 0.7; }
  to   { transform: translateX(3%) rotate(1deg); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1160px, 92%);
  margin-inline: auto;
  padding: var(--nav-h) 0 140px;
  text-align: center;
}
.hero-content .kicker { color: var(--gold); background: rgba(255,255,255,.7); border:1px solid var(--line-light); padding:8px 18px; border-radius:999px; backdrop-filter: blur(8px); }
.hero-content h1 {
  max-width: 15ch;
  margin-inline: auto;
  font-size: clamp(3rem, 8.4vw, 6.2rem);
  color: var(--ink);
  text-wrap: balance;
}
.hero-content h1 em {
  font-style: italic;
  background: linear-gradient(120deg, #7a5a0c 5%, var(--gold) 45%, #d4a017 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  max-width: 620px;
  margin: 0 auto 38px;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(35,42,58,.78);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.hero-meta {
  margin-top: 28px;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(35,42,58,.55);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(35,42,58,.55);
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Page hero (interior pages) : light dawn */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(70px, 10vw, 120px)) 0 clamp(70px, 9vw, 110px);
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(233,200,106,.5), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(143,170,255,.22), transparent 60%),
    linear-gradient(180deg, #fffdf4, #faf3e3);
  color: var(--ink);
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
}
.page-hero h1 { max-width: 18ch; color: var(--ink); }
.page-hero .lede {
  max-width: 640px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(35,42,58,.72);
}

/* ---------- Stats : light ---------- */
.stats-band {
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: #fff;
  color: var(--ink);
  padding: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(30px, 4vw, 52px) 20px;
  text-align: center;
  border-left: 1px solid var(--line-light);
}
.stat:first-child { border-left: 0; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat .label {
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* ---------- Split (media + copy) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }

.frame {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.frame .art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.frame figcaption {
  position: absolute;
  left: 26px;
  bottom: 22px;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--gold);
}

/* ---------- Service cards : light ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  padding: 34px 28px 30px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: var(--shadow-2);
}
.card:hover::before { opacity: 1; }

.card .index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.card .icon {
  width: 46px;
  height: 46px;
  margin: 18px 0 20px;
  color: var(--gold);
}
.card p { color: var(--muted-dark); font-size: 0.95rem; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.card .card-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.card:hover .card-link svg { transform: translateX(5px); }

/* ---------- Verse parallax band : light parchment ---------- */
.verse {
  position: relative;
  padding: clamp(110px, 15vw, 190px) 0;
  background:
    radial-gradient(1000px 500px at 50% 120%, rgba(201,162,39,.22), transparent 65%),
    radial-gradient(800px 400px at 50% -20%, rgba(255,255,255,.9), transparent 60%),
    linear-gradient(180deg, #fffdf7, #faf3e3);
  color: var(--ink);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.verse-inner { position: relative; z-index: 2; will-change: transform; }
.verse blockquote {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.4vw, 3.1rem);
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
}
.verse .ref {
  margin-top: 26px;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value {
  padding: 36px 30px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.value .v-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--gold-3), var(--gold));
  border-radius: 14px;
  box-shadow: var(--shadow-gold);
}
.value .v-icon svg { width: 22px; height: 22px; }

/* ---------- Testimonials slider ---------- */
.slider {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.slides { position: relative; min-height: 300px; }
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.slide .stars {
  display: flex;
  gap: 6px;
  color: var(--gold);
  margin-bottom: 22px;
}
.slide .stars svg { width: 18px; height: 18px; }
.slide blockquote {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.5;
}
.slide .who {
  font-weight: 600;
  letter-spacing: 0.06em;
}
.slide .who small {
  display: block;
  font-weight: 500;
  color: var(--muted-dark);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 4px;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(29,36,51,.18);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.dots button.active {
  background: var(--gold);
  transform: scale(1.35);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.tile .tile-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}
.tile:hover .tile-art { transform: scale(1.07); }
.tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 20px 18px;
  background: linear-gradient(transparent, rgba(11, 14, 23, 0.85));
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- CTA band : light gold dawn ---------- */
.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(201,162,39,.28), transparent 65%),
    radial-gradient(600px 300px at 90% 100%, rgba(143,170,255,.16), transparent 60%),
    linear-gradient(180deg, #fffdf7, #fdf3da);
  border-top: 1px solid var(--line-light);
  color: var(--ink);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(154,116,24,.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(600px 300px at 50% 40%, #000, transparent);
  pointer-events: none;
}
.cta h2 { max-width: 18ch; margin-inline: auto; color: var(--ink); }
.cta p { max-width: 560px; margin-inline: auto; margin-bottom: 36px; }

/* ---------- Footer : light ---------- */
.footer {
  background: #fffdf7;
  color: var(--muted-dark);
  border-top: 1px solid var(--line-light);
  padding: clamp(60px, 8vw, 90px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 60px;
}
.footer h4 {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--gold); }
.footer .brand { margin-bottom: 16px; }
.footer .f-blurb { font-size: 0.95rem; max-width: 30ch; }
.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  transition: background 0.25s, transform 0.25s var(--ease), border-color 0.25s;
}
.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-3px);
}
.socials svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
  font-size: 0.82rem;
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.to-top svg { width: 14px; height: 14px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: clamp(50px, 7vw, 80px);
}
.c-card {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.c-card:hover { transform: translateY(-6px); border-color: rgba(201, 162, 39, 0.5); }
.c-card .icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
  margin-bottom: 16px;
}
.c-card h3 { font-size: 1.05rem; color: var(--ink); }
.c-card p, .c-card a { color: var(--muted-dark); font-size: 0.92rem; }
.c-card a { display: block; padding: 3px 0; }
.c-card a:hover { color: var(--gold); }

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-2);
  margin-bottom: clamp(50px, 7vw, 80px);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: saturate(1.05) contrast(1.02);
}

/* Form */
.form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.field { display: grid; gap: 7px; }
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  color: var(--text-dark);
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}
.field-error {
  display: none;
  font-size: 0.8rem;
  color: #c0392b;
}
.field.invalid .field-error { display: block; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  display: none;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
}
.form-note.success {
  display: block;
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.3);
}
.form-note.error {
  display: block;
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.3);
}

/* ---------- Schedule table : light ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
}
table.schedule {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.schedule th,
.schedule td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line-light);
}
.schedule th {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--surface-warm);
}
.schedule td { color: var(--text-dark); }
.schedule tr:last-child td { border-bottom: 0; }
.schedule .day {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.05rem;
}
.schedule .time { color: var(--gold); font-weight: 600; white-space: nowrap; }
.table-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted-dark);
}

/* ---------- Timeline (About) ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 30px;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(201, 162, 39, 0.15));
}
.t-item { position: relative; }
.t-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px var(--gold-soft);
}
.t-item h3 { margin-bottom: 6px; }

/* ---------- Team card ---------- */
.team-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  max-width: 860px;
}
.team-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
}
.team-photo .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.team-photo .cutout {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 94%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.45));
  z-index: 1;
}
.team-card .role {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.team-card blockquote {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted-dark);
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt { margin-top: clamp(40px, 6vw, 64px); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  /* six nav links + CTA get tight before the phone breakpoint kicks in */
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: flex; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .form-wrap { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .team-photo { max-width: 220px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line-dark); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-meta { margin-top: 40px; }
  .slide { justify-content: center; }
  .scroll-cue { display: none; }
  .hero-content { padding-bottom: 90px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-rays { display: none; }
}

/* ==========================================================================
   Sermons / Events / Give
   ========================================================================== */

[hidden] { display: none !important; }

/* ---------- Tabs (shared) : light ---------- */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  box-shadow: var(--shadow-1);
}
.tabs button {
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-dark);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] {
  background: linear-gradient(135deg, var(--gold-3), var(--gold-2));
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.light-section .tabs { background: #fff; border-color: var(--line-light); }
.light-section .tabs button { color: var(--muted-dark); }
.light-section .tabs button:hover { color: var(--ink); }

/* ---------- Sermons ---------- */
.sermon-toolbar {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.s-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.s-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: var(--shadow-2);
}
.s-card .s-art { display: block; width: 100%; height: auto; }
.s-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 24px 26px; }
.s-meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.s-card h3 { font-size: 1.18rem; color: var(--ink); }
.s-card .s-desc { color: var(--muted-dark); font-size: 0.92rem; flex: 1; }
.s-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.s-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-3), var(--gold));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}
.s-play svg { width: 13px; height: 13px; }
.s-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.2s;
}
.s-link:hover { color: var(--gold); }
.s-link svg { width: 13px; height: 13px; }
.s-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.s-card.featured .s-art { height: 100%; }
.s-card.featured .s-body { padding: clamp(26px, 4vw, 44px); }
.s-card.featured h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.s-card.featured .s-desc { font-size: 1rem; }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 18px; max-width: 880px; margin-inline: auto; }
.event-card {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.event-card:hover { transform: translateY(-5px); border-color: rgba(201, 162, 39, 0.5); }
.event-date {
  display: grid;
  place-content: center;
  justify-items: center;
  width: 92px;
  height: 96px;
  background: linear-gradient(180deg, #fff8e3, #fbeecd);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 14px;
  color: var(--gold);
  font-family: var(--font-display);
  text-align: center;
}
.event-date .m { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.event-date .d { font-size: 1.9rem; font-weight: 600; line-height: 1.15; }
.event-card h3 { font-size: 1.22rem; margin-bottom: 6px; color: var(--ink); }
.event-card .e-blurb { color: var(--muted-dark); font-size: 0.92rem; }
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
  color: var(--muted-dark);
  font-size: 0.85rem;
}
.event-meta span { display: inline-flex; align-items: center; gap: 7px; }
.event-meta svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold-faint);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.event-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-outline {
  border: 1px solid rgba(154,116,24,.5);
  color: var(--gold);
  background: #fff;
}
.btn-outline:hover { transform: translateY(-2px); background: var(--gold-faint); }
.event-card.past { opacity: 0.72; }
.event-card.past:hover { opacity: 1; }

/* ---------- Give ---------- */
.fund-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fund-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.fund-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.fund-card .icon { width: 42px; height: 42px; color: var(--gold); margin-bottom: 16px; }
.fund-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.fund-card p { color: var(--muted-dark); font-size: 0.93rem; }
.fund-card .f-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fund-card .f-link svg { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }
.fund-card .f-link:hover svg { transform: translateX(5px); }

.give-box {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(34px, 5vw, 60px);
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-1);
}
.give-box .kicker { color: var(--gold); }
.give-box h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); }
.account-rows { display: grid; gap: 14px; }
.acct-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  background: var(--surface-warm);
  border: 1px solid var(--line-light);
  border-radius: 12px;
}
.acct-row .k {
  color: var(--muted-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  flex: none;
}
.acct-row .v { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); text-align: right; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid rgba(154,116,24,.45);
  border-radius: 999px;
  background: #fff;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.copy-btn:hover { background: var(--gold-faint); }
.copy-btn svg { width: 12px; height: 12px; }
.give-note { margin-top: 14px; color: var(--muted-dark); font-size: 0.82rem; }

.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--gold); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 20px; color: var(--muted-dark); font-size: 0.95rem; }

/* ---------- Responsive: sermons / events / give ---------- */
@media (max-width: 1020px) {
  .sermon-grid { grid-template-columns: repeat(2, 1fr); }
  .fund-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .s-card.featured { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 76px 1fr; gap: 20px; }
  .event-date { width: 76px; height: 82px; }
  .event-date .d { font-size: 1.5rem; }
  .event-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .give-box { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sermon-grid, .fund-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .event-date { width: 100%; height: auto; padding: 14px; grid-auto-flow: column; gap: 10px; }
  .tabs button { padding: 9px 16px; font-size: 0.82rem; }
}

/* ==========================================================================
   DAWN LIGHT — Immersive / retention layer
   Progress, announcement, orbs, countdown, marquee, steps, prayer, pill
   ========================================================================== */

/* Reading progress */
#progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 100%;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
#progress span {
  display: block;
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-3), var(--gold));
}

/* Announcement bar */
.announce {
  position: relative;
  z-index: 99;
  background: linear-gradient(90deg, #1d2433, #3a2f0e 55%, #1d2433);
  color: #fff8e3;
  font-size: .86rem;
  text-align: center;
  padding: 10px 16px;
  letter-spacing: .02em;
}
.announce a { color: var(--gold-3); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.announce strong { color: #fff; }

/* Hero dawn orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  z-index: 1;
}
.orb-1 {
  width: 520px; height: 520px;
  left: 50%; top: -180px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,236,170,.9) 0%, rgba(233,200,106,.45) 32%, transparent 68%);
  animation: orbFloat 11s ease-in-out infinite alternate;
}
.orb-2 {
  width: 320px; height: 320px;
  left: 6%; bottom: 8%;
  background: radial-gradient(circle, rgba(143,170,255,.32), transparent 68%);
  animation: orbFloat 14s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 260px; height: 260px;
  right: 7%; top: 28%;
  background: radial-gradient(circle, rgba(201,162,39,.28), transparent 68%);
  animation: orbFloat 9s ease-in-out infinite alternate;
}
@keyframes orbFloat {
  from { transform: translateY(-14px) scale(1); opacity: .85; }
  to { transform: translateY(18px) scale(1.06); opacity: 1; }
}

/* Hero live badge + countdown card */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5a430a;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(201,162,39,.35);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2e7d32;
  box-shadow: 0 0 0 6px rgba(46,125,50,.15);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(46,125,50,.18); }
  50% { box-shadow: 0 0 0 9px rgba(46,125,50,.08); }
}
.countdown-card {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding: 16px 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
  justify-content: center;
}
.countdown-card .cd-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  line-height: 1.5;
}
.countdown-card .cd-label small { display: block; color: var(--muted-dark); font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: .82rem; }
.cd-tiles { display: flex; gap: 10px; }
.cd-tile {
  min-width: 64px;
  padding: 10px 8px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 12px;
}
.cd-tile b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.cd-tile span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }

/* Scripture marquee */
.marquee {
  overflow: hidden;
  background: #1d2433;
  color: #f7e9bd;
  border-top: 1px solid rgba(201,162,39,.4);
  border-bottom: 1px solid rgba(201,162,39,.4);
  padding: 14px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  padding-right: 48px;
  animation: marquee 36s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
}
.marquee-track i { color: var(--gold-3); font-style: normal; margin-right: 12px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Verse of the day */
.votd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px,5vw,60px);
  align-items: stretch;
}
.votd-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(500px 300px at 50% 0%, rgba(233,200,106,.5), transparent 65%),
    #fff;
  border: 1px solid var(--line-light);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px,4vw,44px);
  box-shadow: var(--shadow-1);
}
.votd-card blockquote {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem,2.6vw,1.8rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}
.votd-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: #fff;
  font-size: .85rem; font-weight: 600;
  color: var(--ink);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.chip-btn:hover { transform: translateY(-2px); border-color: var(--gold); background: var(--surface-warm); }
.chip-btn svg { width: 15px; height: 15px; color: var(--gold); }
.votd-side {
  display: grid; gap: 16px; align-content: start;
}
.votd-side .mini {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-1);
}
.votd-side .mini h3 { margin-bottom: 6px; }
.votd-side .mini p { color: var(--muted-dark); font-size: .94rem; margin: 0; }

/* Next steps / journey */
.steps-grid { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.steps-nav { display: grid; gap: 12px; }
.step-btn {
  text-align: left;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line-light);
  background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.step-btn b { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.step-btn span { font-size: .88rem; color: var(--muted-dark); }
.step-btn[aria-selected="true"] {
  border-color: var(--gold);
  box-shadow: var(--shadow-2);
  transform: translateX(6px);
  background: linear-gradient(180deg,#fff,#fff8e3);
}
.step-panel {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(26px,4vw,42px);
  box-shadow: var(--shadow-1);
  min-height: 320px;
}
.step-panel h3 { margin-top: 0; }

/* Prayer wall */
.prayer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.prayer-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.prayer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.prayer-card blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--ink); }
.prayer-card .p-meta { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.pray-btn {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(154,116,24,.4);
  background: var(--surface-warm);
  color: var(--ink);
  font-weight: 700; font-size: .86rem;
}
.pray-btn:hover { background: #fff; border-color: var(--gold); }
.pray-btn svg { width: 15px; height: 15px; color: var(--gold); }
.pray-btn.prayed { background: var(--gold); border-color: var(--gold); color: #fff; }
.pray-btn.prayed svg { color: #fff; }

/* Sticky visit pill (mobile + desktop after hero) */
.visit-pill {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 90px);
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 20px;
  background: rgba(29,36,51,.94);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(29,36,51,.35);
  border: 1px solid rgba(255,255,255,.14);
  transition: transform .45s var(--ease);
  max-width: min(92vw, 560px);
}
.visit-pill.show { transform: translate(-50%, 0); }
.visit-pill small { display: block; font-size: .76rem; opacity: .75; }
.visit-pill strong { font-family: var(--font-display); font-size: 1rem; }
.visit-pill .btn { padding: 11px 22px; }

/* Tilt */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* Gallery lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(29,36,51,.72);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure {
  margin: 0;
  max-width: min(880px, 94vw);
  background: #fffdf7;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.lightbox figcaption {
  padding: 18px 24px;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.lightbox button {
  border: 1px solid var(--line-light);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .votd, .steps-grid { grid-template-columns: 1fr; }
  .prayer-grid { grid-template-columns: 1fr; }
  .step-btn[aria-selected="true"] { transform: none; }
  .countdown-card { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .orb-1, .orb-2, .orb-3 { animation: none !important; }
}
