/* Light to the Nations New Hope · v2 "Night & light"
   Moe-format layout: dark hero with a slow-zooming background, serif headline with a gold italic line,
   arch-framed photos and a spinning badge. Night blue + the church sign's gold, warm sand for light bands. */

:root {
  /* Seal palette, taken from the Light to the Nations Ministries logo: white foundation, the seal's navy,
     its crimson ring, and silver. (Token names are historical: "gold" now holds the crimson, "sky-3"/"bronze" the red text accent.) */
  --navy: #1a234a;      /* seal navy: headings, dark text, navy bands */
  --navy-2: #2b3670;
  --navy-3: #11173a;
  --sky: #eceef4;       /* light silver */
  --sky-2: #c9ccd8;     /* silver */
  --sky-3: #b0232a;     /* crimson text accent (readable on white) */
  --cream: #f6f7fb;     /* ice white */
  --white: #fff;
  --sand: #eceef4;
  --tan: #e1e4ec;
  --tan-2: #c4c8d5;
  --tan-3: #8f94a8;
  --linen: #f3f4f8;
  --gold: #c1272d;      /* crimson (the seal's red ring) */
  --gold-2: #d9474c;
  --gold-3: #8e1c22;
  --bronze: #b0232a;
  --silver: #a8abb8;
  --text: #1a234a;
  --muted: #555b74;
  --line: rgba(26, 35, 74, .14);

  --f-display: "Montserrat", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-script: "Great Vibes", cursive;
  --f-body: "Inter", system-ui, sans-serif;

  --gutter: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left), env(safe-area-inset-right));
  --max: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  background: var(--cream);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
picture { display: block; width: 100%; height: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky-3); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.kicker, .eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 600 11.5px/1.3 var(--f-body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sky-3);
  margin-bottom: 16px;
}
.kicker::before, .eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.kicker-light { color: var(--sky-2); }
.h2 {
  font: 500 clamp(40px, 5.6vw, 72px)/1.02 var(--f-serif);
  letter-spacing: -.01em;
  color: var(--navy);
  text-wrap: balance;
}
.h2-light { color: var(--white); }
.script { font: 400 1.15em/1 var(--f-script); color: var(--sky-3); letter-spacing: 0; white-space: nowrap; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 54ch; margin-top: 20px; }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 15px/1 var(--f-display); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: var(--navy-3); box-shadow: 0 12px 30px -12px rgba(193, 39, 45, .75); }
.btn-gold.btn-lg { animation: glow 3.2s ease-in-out infinite; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 15px; }
@keyframes glow { 50% { box-shadow: 0 12px 40px -6px rgba(193, 39, 45, .95); } }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-ghost { border: 1px solid rgba(201, 204, 216, .55); color: var(--gold-2); }
.btn-ghost:hover { border-color: var(--gold-2); background: rgba(201, 204, 216, .1); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 13px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: var(--nav-h);
  padding: 10px var(--gutter);
  padding-top: max(10px, env(safe-area-inset-top));
  color: var(--white);
  background: rgba(17, 23, 58, .88); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(201, 204, 216, .12);
}
.mark { display: grid; text-decoration: none; line-height: .9; flex: none; }
.mark-line { font: 800 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.mark-line em { font-style: normal; color: var(--gold); }
.mark-big { font-size: 22px; color: var(--gold); letter-spacing: .01em; }
.mark-script { font: 400 21px/.7 var(--f-script); padding-left: 34px; margin-top: 2px; }
.nav-times {
  display: flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  padding-left: 22px; border-left: 1px solid currentColor; opacity: .92;
}
.nav-times b { font-weight: 800; }
.nav-times-label { opacity: .7; }
.nav-times .bar { width: 1px; height: 12px; background: currentColor; opacity: .5; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font: 600 14px/1 var(--f-display); letter-spacing: .02em; position: relative; padding: 8px 0; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--sky-2); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.menu-times { display: none; }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1.5px solid currentColor; border-radius: 999px; padding: 3px; }
.lang button {
  appearance: none; border: 0; background: none; color: inherit; cursor: pointer;
  font: 700 12px/1 var(--f-display); letter-spacing: .08em;
  min-width: 40px; min-height: 32px; border-radius: 999px;
}
.lang button[aria-pressed="true"] { background: var(--sky-2); color: var(--navy); }
.nav-cta { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: var(--navy-3); }
.lang { border-color: rgba(201, 204, 216, .45) !important; }
.menu-btn { display: none; }

/* ---------- hero (Moe format) ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.hero {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center;
  min-height: 100svh; padding: calc(var(--nav-h) + clamp(40px, 6vw, 90px)) var(--gutter) clamp(70px, 8vw, 120px);
  color: var(--cream); overflow: hidden; background: var(--navy-3);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; transform-origin: 70% 40%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(17, 23, 58, .95) 0%, rgba(17, 23, 58, .78) 36%, rgba(17, 23, 58, .32) 62%, rgba(17, 23, 58, .12) 100%),
    linear-gradient(0deg, rgba(17, 23, 58, .9), transparent 40%);
}
.hero-sun {
  position: absolute; z-index: 1; width: 70vmax; height: 70vmax; right: -20vmax; top: -30vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(193, 39, 45, .34), rgba(193, 39, 45, .12) 40%, transparent 65%);
  animation: sun 9s ease-in-out infinite alternate;
}
.hero-rays { position: absolute; z-index: 1; inset: 0; pointer-events: none; overflow: hidden; }
.hero-rays i {
  position: absolute; top: -20%; right: 18%; width: 140px; height: 150%; transform-origin: top center;
  background: linear-gradient(180deg, rgba(201, 204, 216, .16), transparent 70%); filter: blur(18px);
  animation: ray 11s ease-in-out infinite alternate;
}
.hero-rays i:nth-child(1) { rotate: 22deg; }
.hero-rays i:nth-child(2) { rotate: 34deg; width: 80px; animation-delay: -3s; }
.hero-rays i:nth-child(3) { rotate: 46deg; width: 160px; animation-delay: -6s; }
.hero-rays i:nth-child(4) { rotate: 58deg; width: 60px; animation-delay: -8s; }
.hero-copy { position: relative; z-index: 2; max-width: 660px; }
.hero .eyebrow { color: var(--gold-2); margin-bottom: 24px; animation: rise 1s var(--ease) both; }
.hero-title { font: 500 clamp(52px, 7.2vw, 112px)/.98 var(--f-serif); letter-spacing: -.015em; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .accent { font-style: italic; color: var(--gold-2); }
.hero-title .w { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform .8s var(--ease); transition-delay: calc(100ms + var(--i) * 55ms); }
.go .hero-title .w { transform: none; }
.hero-lede { font-size: clamp(17px, 1.5vw, 19px); color: rgba(246, 247, 251, .78); max-width: 46ch; margin-bottom: 34px; animation: rise .8s var(--ease) both .4s; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; animation: rise .8s var(--ease) both .5s; }
.hero-status { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; color: rgba(246, 247, 251, .7); animation: rise .8s var(--ease) both .6s; }
.hero-status li { display: flex; align-items: center; gap: 8px; }
.hero-status b { color: var(--cream); font-weight: 600; }
.hero-status .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(201, 204, 216, .5); }
.hero-status .is-today .dot { background: var(--gold); box-shadow: 0 0 0 0 rgba(193, 39, 45, .6); animation: pulse 2s infinite; }
.hero-status .today { font: 700 10.5px/1 var(--f-body); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-3); background: var(--gold-2); padding: 5px 8px; border-radius: 99px; }
.hero-art { position: relative; z-index: 2; align-self: end; justify-self: end; width: min(100%, 450px); height: min(52vh, 470px); margin-bottom: 0; animation: floatin 1.1s var(--ease) both .15s; }
.frame { position: absolute; margin: 0; overflow: hidden; border-radius: 260px 260px 22px 22px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .75); background: var(--navy-2); }
.frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(201, 204, 216, .45); border-radius: inherit; pointer-events: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.f-main { right: 6%; top: 2%; width: 62%; height: 82%; }
.f-main img { animation: slowzoom 14s ease-in-out infinite alternate; object-position: 50% 30%; }
.f-side { left: 2%; bottom: 0; width: 36%; height: 48%; border-radius: 22px 22px 160px 160px; }
.f-side img { object-position: 50% 20%; }
.motes { position: absolute; z-index: 3; right: 30%; top: -4%; width: 140px; height: 180px; pointer-events: none; }
.motes i { position: absolute; bottom: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 12px 4px rgba(201, 204, 216, .55); animation: mote 6s ease-in infinite; opacity: 0; }
.motes i:nth-child(1) { left: 10px; }
.motes i:nth-child(2) { left: 46px; animation-delay: 1.2s; }
.motes i:nth-child(3) { left: 80px; animation-delay: 2.4s; }
.motes i:nth-child(4) { left: 112px; animation-delay: 3.6s; }
.motes i:nth-child(5) { left: 64px; animation-delay: 4.8s; }
.badge { position: absolute; z-index: 4; right: 0; bottom: 6%; width: 150px; height: 150px; border-radius: 50%; background: var(--navy); border: 1px solid rgba(201, 204, 216, .35); display: grid; place-items: center; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6); }
.badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font: 700 12.5px var(--f-body); letter-spacing: 3px; fill: var(--gold-2); }
.badge-sun svg { width: 46px; height: 46px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.badge-sun svg circle { fill: var(--gold); stroke: none; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 1px solid rgba(201, 204, 216, .5); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes floatin { from { opacity: 0; transform: translateY(60px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes kenburns { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.18) translate(-2%, -1.5%); } }
@keyframes sun { from { transform: translate(0, 0) scale(1); } to { transform: translate(-4%, 6%) scale(1.12); } }
@keyframes ray { from { opacity: .4; translate: 0 0; } to { opacity: 1; translate: -40px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes mote { 0% { transform: translateY(20px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-150px) translateX(14px); opacity: 0; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(193, 39, 45, .6); } 100% { box-shadow: 0 0 0 9px rgba(193, 39, 45, 0); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- photos ---------- */
.photo { margin: 0; overflow: hidden; border-radius: 22px; background: var(--sky); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tall { aspect-ratio: 4 / 5; }
.photo figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 9px 14px; border-radius: 999px;
  background: rgba(17, 23, 58, .82); color: var(--white);
  font: 700 13px/1 var(--f-display); letter-spacing: .02em;
}

/* ---------- welcome ---------- */
.welcome { padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 100px); }
.welcome-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.welcome-head .lede { margin-top: 0; }
.mosaic {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px;
  max-width: calc(var(--max) + 160px); margin: clamp(48px, 6vw, 72px) auto 0; padding: 0 var(--gutter) 40px;
}
.mosaic figure { margin: 0; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--sky); }
.mosaic figure:nth-child(even) { margin-top: 40px; margin-bottom: -40px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.mosaic figure:hover img { scale: 1.05; }
.mosaic-more { margin-top: 20px; }
.text-link { font: 700 14px/1 var(--f-display); color: var(--navy); text-decoration-color: var(--sky-2); text-decoration-thickness: 2px; text-underline-offset: 6px; padding: 10px 0; display: inline-block; }

/* ---------- split sections ---------- */
.new, .kids, .pastors { padding: clamp(64px, 9vw, 120px) 0; }
.new { background: var(--white); }
.kids { background: var(--sky); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split-rev { grid-template-columns: 1.1fr 1fr; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; }
.facts li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.fact-k { font: 700 12px/1.9 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--sky-3); }
.kids-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.kids-photos .photo { aspect-ratio: 4 / 5; }
.kids-photos .photo:nth-child(even) { margin-top: 36px; margin-bottom: -36px; }

/* ---------- next steps ---------- */
.steps { background: var(--navy); color: var(--white); padding: clamp(72px, 10vw, 130px) 0; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.step-card {
  position: relative; display: grid; align-content: start; gap: 12px;
  min-height: 230px; padding: 28px; border-radius: 20px;
  background: var(--navy-2); text-decoration: none; color: var(--white);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background-color .35s, transform .35s var(--ease);
}
.step-card:hover { background: var(--navy-2); transform: translateY(-4px); }
.step-n { font: 800 13px/1 var(--f-display); letter-spacing: .14em; color: var(--sky-2); }
.step-card h3 { font: 800 24px/1.15 var(--f-display); letter-spacing: -.01em; }
.step-card p { color: rgba(255, 255, 255, .78); }
.step-go { position: absolute; right: 24px; bottom: 20px; font: 700 24px/1 var(--f-display); color: var(--sky-2); transition: translate .35s var(--ease); }
.step-card:hover .step-go { translate: 6px 0; }

/* ---------- this week ---------- */
.week { padding: clamp(72px, 10vw, 130px) 0; background: var(--cream); }
.week-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.day { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 3.4vw, 40px); }
.day h3 { font: 700 13px/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--sky-3); }
.day-row { display: grid; gap: 4px; margin-top: 18px; }
.day-time { font: 900 clamp(48px, 6.4vw, 80px)/1 var(--f-display); letter-spacing: -.035em; color: var(--navy); }
.day-row span:last-child { font: 700 18px/1.3 var(--f-display); color: var(--text); }
.link-btn {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  background: var(--sky); border: 0; color: var(--navy);
  font: 700 13px/1 var(--f-display); letter-spacing: .02em; cursor: pointer;
  transition: background-color .3s;
}
.link-btn:hover { background: var(--sky-2); }
.link-btn svg, .mbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- prayer ---------- */
.prayer { background: var(--sky-3); color: var(--white); padding: clamp(56px, 7vw, 90px) 0; }
.prayer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.prayer p { margin-top: 12px; max-width: 52ch; color: rgba(255, 255, 255, .92); }
.prayer .btn-row { margin-top: 0; }

/* ---------- life together: two photo rails drifting in opposite directions ---------- */
.life { padding: clamp(80px, 10vw, 140px) 0; background: var(--navy-3); color: var(--white); overflow: hidden; }
.life .kicker { color: var(--sky-2); }
.life .lede { margin-top: 14px; max-width: 60ch; color: rgba(255, 255, 255, .78); }
.life-head { margin-bottom: 48px; }
.rail { position: relative; width: 100%; height: 300px; margin-bottom: 18px; }
.rail .g { position: absolute; left: 0; top: 50%; translate: none; transform: translate3d(0, -50%, 0); will-change: transform; }
.g { margin: 0; width: clamp(260px, 28vw, 420px); aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; background: var(--navy-2); cursor: zoom-in; }
.g-tall { width: clamp(200px, 18vw, 280px); aspect-ratio: 3 / 4; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.g:hover img, .mosaic figure:hover img { scale: 1.08; }
.mosaic figure { cursor: zoom-in; }

/* word-by-word rise (data-split headings) */
.rw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.rw > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease); transition-delay: calc(var(--d) * 55ms); }
.rise.in .rw > span { transform: none; }

.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100dvh; background: transparent; }
.lightbox::backdrop { background: rgba(17, 23, 58, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 120px); width: auto; height: auto; border-radius: 12px; animation: chatIn .35s var(--ease); }
.lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: var(--white); font-size: 26px; line-height: 1; cursor: pointer; }
.lb-x { top: max(16px, env(safe-area-inset-top)); right: 16px; font-size: 18px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }

/* ---------- give ---------- */
.give { padding: clamp(64px, 9vw, 120px) 0; background: var(--cream); }
.give-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.give .lede { margin-top: 16px; }
.give-verse { margin: 28px 0 0; padding-left: 20px; border-left: 3px solid var(--sky-2); }
.give-verse p { font-style: italic; color: var(--navy-2); max-width: 46ch; }
.give-verse cite { display: block; margin-top: 8px; font: 700 12px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: var(--sky-3); }
.give-card {
  background: var(--navy); color: var(--white); border-radius: 26px; padding: clamp(28px, 4vw, 44px);
  display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(17, 23, 58, .55);
}
.give-card-h { font: 900 clamp(26px, 3vw, 34px)/1.05 var(--f-display); letter-spacing: -.02em; }
.give-card-p { color: rgba(255, 255, 255, .82); }
.give-btn { justify-self: start; min-width: 200px; background: var(--white); color: var(--navy); }
.give-btn:hover { background: var(--sky); }
.give-btn[aria-disabled="true"] { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .75); cursor: default; transform: none; }
.give-soon { font-size: 15px; color: var(--sky-2); }
.give-q { font-size: 15px; color: rgba(255, 255, 255, .7); border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 14px; margin-top: 4px; }
.give-q a { color: var(--white); font-weight: 600; }

/* ---------- chat ---------- */
.chat { position: fixed; z-index: 70; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); }
.chat-fab {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px;
  border: 0; border-radius: 999px; background: var(--navy); color: var(--white); cursor: pointer;
  font: 700 14px/1 var(--f-display); letter-spacing: .02em;
  box-shadow: 0 14px 34px -10px rgba(17, 23, 58, .6), 0 0 0 1px rgba(255, 255, 255, .12) inset;
  transition: transform .3s var(--ease), opacity .3s;
}
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab svg, .chat-form svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chat.open .chat-fab { opacity: 0; pointer-events: none; }
.chat-panel {
  position: absolute; right: 0; bottom: 0; width: min(380px, calc(100vw - 36px)); height: min(560px, calc(100svh - 120px));
  display: flex; flex-direction: column; background: var(--white); color: var(--ink, #14233a); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(17, 23, 58, .55); transform-origin: bottom right;
  animation: chatIn .35s var(--ease);
}
.chat-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--navy); color: var(--white); }
.chat-ava { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy); font: 900 17px/1 var(--f-display); flex: none; }
.chat-head > div { flex: 1; min-width: 0; }
.chat-title { font: 800 15px/1.2 var(--f-display); }
.chat-sub { font-size: 12.5px; color: var(--sky-2); }
.chat-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); font-size: 16px; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); overscroll-behavior: contain; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; animation: chatIn .3s var(--ease); white-space: pre-line; }
.msg.bot { align-self: flex-start; background: var(--white); color: var(--navy); border-bottom-left-radius: 6px; box-shadow: 0 1px 0 rgba(17, 23, 58, .08); }
.msg.me { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-right-radius: 6px; }
.msg a { color: inherit; font-weight: 600; }
.msg.typing { display: flex; gap: 5px; padding: 14px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--sky-3); animation: dot 1s infinite ease-in-out; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; gap: 8px; padding: 10px 12px 0; overflow-x: auto; background: var(--white); scrollbar-width: none; }
.chat-chips button {
  flex: none; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--sky-2); background: var(--white);
  color: var(--navy); font: 600 13px/1 var(--f-body); cursor: pointer;
}
.chat-chips button:hover { background: var(--sky); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 12px; background: var(--white); }
.chat-form input {
  flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--tan);
  font: 400 16px/1 var(--f-body); color: var(--navy); background: var(--white);
}
.chat-form input:focus { outline: 2px solid var(--sky-3); outline-offset: 1px; }
.chat-form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: var(--white); display: grid; place-items: center; cursor: pointer; flex: none; }

/* ---------- find ---------- */
.find { padding: clamp(64px, 9vw, 120px) 0; background: var(--white); }
.find-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-top: 36px; }
.map { border-radius: 22px; overflow: hidden; min-height: 420px; background: var(--sky); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.info { margin: 0; background: var(--sky); border-radius: 22px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 20px; align-content: start; }
.info dt { font: 700 12px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--sky-3); margin-bottom: 8px; }
.info dd { margin: 0; color: var(--navy); font-size: 17px; }
.info dd a { font-weight: 600; text-decoration-color: var(--sky-3); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.info .btn-row { margin-top: 4px; }

/* ---------- footer ---------- */
.foot { background: var(--navy-3); color: rgba(255, 255, 255, .78); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
.mark-foot { color: var(--white); }
.foot-addr { margin-top: 18px; }
.foot-h { font: 700 12px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--sky-2); margin-bottom: 12px; }
.foot-links { display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); }

.mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-times { display: none; }
}

@media (max-width: 980px) {
  :root { --nav-h: 68px; }
  .menu-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    border: 0; border-radius: 12px; background: none; color: inherit; cursor: pointer;
  }
  .menu-icon { display: grid; gap: 6px; width: 22px; }
  .menu-icon i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
  .menu-open .menu-icon i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-icon i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
    background: var(--navy); color: var(--white);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-links a { font-size: 30px; font-weight: 800; padding: 12px 0; }
  .nav-links a::after { display: none; }
  .menu-times { display: block; margin-top: 28px; color: var(--sky-2); font-size: 15px; line-height: 1.6; }
  .menu-open .nav-links { opacity: 1; visibility: visible; }
  .nav.menu-open { color: var(--white); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .welcome-head { grid-template-columns: 1fr; align-items: start; }
  .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split, .split-rev { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .step-card { min-height: 0; padding-right: 60px; }
  .find-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .nav, .nav.solid { background: var(--navy); color: var(--white); box-shadow: none; }
  .nav-cta { display: none; }
  .mark-line { font-size: 11px; }
  .mark-big { font-size: 18px; }
  .mark-script { font-size: 18px; padding-left: 28px; }
  .lang button { min-width: 38px; min-height: 30px; }

  /* Phone hero (Moe): arches over the background first, words below on night */
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 0; padding: calc(var(--nav-h) + env(safe-area-inset-top)) 0 64px; }
  .hero-bg { bottom: auto; height: calc(118vw + var(--nav-h)); }
  .hero-bg::after { background: linear-gradient(180deg, rgba(17, 23, 58, .15), rgba(17, 23, 58, .2) 50%, var(--navy-3) 98%); }
  .hero-sun { right: -40vmax; top: -20vmax; }
  .hero-rays i { right: 0; }
  /* phone: the background photo fills the top; the arches sit small in its bottom-right corner */
  .hero-art { width: 100%; height: 118vw; margin: 0 0 6px; order: -1; justify-self: stretch; }
  .f-main { right: 5%; top: auto; bottom: 7%; width: 40%; height: 54%; }
  .f-side { left: auto; right: 41%; bottom: 3%; width: 24%; height: 30%; }
  .motes { right: 16%; top: 22%; }
  .badge { width: 78px; height: 78px; right: 2%; bottom: auto; top: 30%; }
  .badge text { font-size: 13px; letter-spacing: 2.2px; }
  .badge-sun svg { width: 26px; height: 26px; }
  .scroll-cue { display: none; }
  .hero-copy { padding: 0 var(--gutter); }
  .hero .eyebrow { font-size: 10px; letter-spacing: .16em; gap: 10px; margin-bottom: 18px; }
  .hero .eyebrow::before { width: 22px; }
  .hero-title { font-size: clamp(44px, 12.4vw, 60px); }
  .hero-ctas .btn { width: 100%; }
  .hero-status { flex-direction: column; gap: 10px; }

  .mosaic { gap: 8px; padding-bottom: 28px; }
  .mosaic figure { border-radius: 12px; }
  .mosaic figure:nth-child(even) { margin-top: 24px; margin-bottom: -24px; }
  .facts li { grid-template-columns: 80px 1fr; gap: 12px; }
  .kids-photos { gap: 10px; padding-bottom: 24px; }
  .kids-photos .photo:nth-child(even) { margin-top: 24px; margin-bottom: -24px; }
  .life-head { margin-bottom: 32px; }
  .rail { margin-bottom: 12px; }
  .g { width: 70vw; border-radius: 14px; }
  .g-tall { width: 46vw; }
  .lb-prev, .lb-next { top: auto; bottom: max(20px, env(safe-area-inset-bottom)); translate: none; }
  .kids-photos .photo { border-radius: 16px; }
  .week-grid { grid-template-columns: 1fr; gap: 12px; }
  .prayer .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 auto; }
  .map, .map iframe { min-height: 320px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }

  .give-inner { grid-template-columns: 1fr; }
  .give-btn { justify-self: stretch; }
  .chat { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .chat-fab { width: 56px; padding: 0; justify-content: center; }
  .chat-fab-label { display: none; }
  .chat.open { inset: 0; right: 0; bottom: 0; z-index: 90; }
  .chat-panel { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; padding-top: env(safe-area-inset-top); background: var(--navy); }
  .chat-form { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }

  .mbar {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(17, 23, 58, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .mbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; border-radius: 14px; text-decoration: none; color: var(--white);
    font: 700 13px/1 var(--f-display); letter-spacing: .03em;
  }
  .mbar .mbar-main { background: var(--white); color: var(--navy); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-copy > *, .hero-title .w { opacity: 1 !important; translate: none !important; transform: none !important; filter: none !important; transition: none !important; animation: none !important; }
  .hero-bg img, .f-main img, .hero-sun, .hero-rays i, .motes, .badge > svg, .btn-gold, .scroll-cue span { animation: none !important; }
  .btn, .mosaic img, .hero-video, .step-card, .hero-card { transition: none !important; }
  .chat-panel, .msg { animation: none !important; }
  .rw > span { transform: none !important; transition: none !important; }
}

/* ---------- v2 section layer (Moe format) ---------- */
.welcome { background: var(--cream); }
.welcome .h2 .script { color: var(--sky-3); }
.mosaic figure:nth-child(odd) { border-radius: 200px 200px 18px 18px; }
.mosaic figure { box-shadow: 0 30px 50px -30px rgba(17, 23, 58, .45); }
.text-link { text-decoration-color: var(--gold); }

.steps { background: var(--navy-3); position: relative; overflow: hidden; }
.steps::before { content: ""; position: absolute; width: 60vmax; height: 60vmax; left: -25vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(193, 39, 45, .16), transparent 62%); pointer-events: none; }
.step-card { background: linear-gradient(160deg, var(--navy-2), var(--navy)); border: 1px solid rgba(201, 204, 216, .16); border-radius: 22px; }
.step-card:hover { background: linear-gradient(160deg, var(--navy-2), var(--navy-2)); border-color: rgba(201, 204, 216, .4); }
.step-n { font: italic 500 44px/1 var(--f-serif); letter-spacing: 0; color: var(--gold-2); }
.step-card h3 { font: 600 30px/1.1 var(--f-serif); letter-spacing: 0; }
.step-go { color: var(--gold-2); }

.kids { background: var(--sky); }
.kids-photos .photo { box-shadow: 0 30px 50px -30px rgba(17, 23, 58, .45); }
.kids-photos .photo { aspect-ratio: 1 / 1; border-radius: 20px; }

.pastors { background: var(--cream); }
.pastors .photo { aspect-ratio: 1 / 1; border-radius: 20px; box-shadow: 0 50px 90px -40px rgba(17, 23, 58, .6); outline: 1px solid rgba(168, 112, 26, .35); outline-offset: 10px; }
.pastors .photo figcaption { left: 50%; translate: -50% 0; bottom: 18px; background: rgba(17, 23, 58, .82); color: var(--gold-2); white-space: nowrap; }

.life { background: var(--navy-3); }
.life .g { border: 1px solid rgba(201, 204, 216, .22); }
.life .g-tall { border-radius: 20px; }

.prayer { background: linear-gradient(120deg, #7a4f0c, #a8701a 55%, #c98d1c); }
.prayer .btn-white { color: var(--navy-3); }
.prayer .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.prayer .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }

.give { background: var(--sky); }
.give-verse { border-left-color: var(--gold); }
.give-verse p { font: italic 500 24px/1.35 var(--f-serif); color: var(--navy); }
.give-verse cite { color: var(--sky-3); }
.give-card { background: linear-gradient(160deg, var(--navy-2), var(--navy-3)); border: 1px solid rgba(201, 204, 216, .2); border-radius: 26px 26px 26px 26px; }
.give-card-h { font: 600 clamp(32px, 3.4vw, 42px)/1 var(--f-serif); letter-spacing: 0; }
.give-btn { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: var(--navy-3); }

.find { background: var(--cream); }
.info { background: var(--sky); }
.info dt { color: var(--sky-3); }

.foot { background: var(--navy-3); overflow: hidden; }
.foot-h { color: var(--gold-2); }
.foot-giant {
  font: 400 clamp(110px, 22vw, 320px)/.9 var(--f-script); text-align: center; margin: 40px 0 -10px; white-space: nowrap;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2), #ffffff, var(--gold)); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; opacity: .9;
}
@keyframes shimmer { to { background-position: 300% 0; } }

.chat-fab { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: var(--navy-3); }
.msg.me { background: var(--navy); }
.lang button[aria-pressed="true"] { background: var(--gold-2); color: var(--navy-3); }
.nav-links a::after { background: var(--gold); }

@media (max-width: 760px) {
  .pastors .photo { border-radius: 16px; }
  .step-n { font-size: 36px; }
  .foot-giant { font-size: 21vw; margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .foot-giant { animation: none; }
}

/* ---------- smooth colour hand-off between sections ----------
   Each band fades from the midpoint of its neighbour's colour, so dark and light sections
   melt into each other instead of meeting at a hard line. */
:root { --fade: 160px; }
.welcome, .steps, .kids, .pastors, .life, .give, .find, .foot {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--prev) 50%, var(--bg)) 0,
    var(--bg) var(--fade),
    var(--bg) calc(100% - var(--fade)),
    color-mix(in srgb, var(--next) 50%, var(--bg)) 100%);
}
.welcome { --prev: var(--navy-3); --bg: var(--cream); --next: var(--navy-3); }
.steps   { --prev: var(--cream);  --bg: var(--navy-3); --next: var(--sky); }
.kids    { --prev: var(--navy-3); --bg: var(--sky);    --next: var(--cream); }
.pastors { --prev: var(--sky);    --bg: var(--cream);  --next: var(--navy-3); }
.life    { --prev: var(--cream);  --bg: var(--navy-3); --next: var(--sky); }
.give    { --prev: var(--navy-3); --bg: var(--sky);    --next: var(--cream); }
.find    { --prev: var(--sky);    --bg: var(--cream);  --next: var(--navy-3); }
.foot    { --prev: var(--cream);  --bg: var(--navy-3); --next: var(--navy-3); }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--fade); z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--cream) 50%, var(--navy-3)));
}
@media (max-width: 760px) { :root { --fade: 110px; } }

/* ---------- perspective tunnel (vanilla port of PerspectiveTunnelHero) ---------- */
.tunnel { height: 100vh; height: 100svh; min-height: 560px; color: var(--cream); }
.tunnel-stage { position: relative; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; perspective: 1200px; transform-style: preserve-3d; }
.tn-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: radial-gradient(rgba(201, 204, 216, .22) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%);
}
.tn-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, rgba(193, 39, 45, .26) 0%, rgba(193, 39, 45, .06) 40%, transparent 70%); }
.tn-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.tn-ring.r1 { width: 48vmin; height: 48vmin; border: 1px solid rgba(193, 39, 45, .22); }
.tn-ring.r2 { width: 76vmin; height: 76vmin; border: 1px dashed rgba(201, 204, 216, .16); animation: spin 80s linear infinite; }
.tn-title { position: relative; z-index: 0; text-align: center; padding: 0 24px; max-width: 760px; transition: transform .7s var(--ease), opacity .55s ease, filter .55s ease; }
.tn-title .eyebrow { justify-content: center; color: var(--gold-2); margin-bottom: 20px; }
.tn-title .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.tn-title h2 { font: 500 clamp(48px, 7.6vw, 112px)/.95 var(--f-serif); letter-spacing: -.015em; }
.tn-title h2 em { color: var(--gold-2); }
.tn-sub { margin-top: 18px; color: rgba(246, 247, 251, .72); font-size: 15px; }
.tn-plane { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.tn-card { position: absolute; left: 50%; top: 50%; aspect-ratio: 4 / 5; opacity: 0; will-change: transform, opacity; pointer-events: auto; cursor: zoom-in; }
.tn-card > div { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 18px; background: var(--navy-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85); outline: 1px solid rgba(201, 204, 216, .22); transition: outline-color .5s, box-shadow .5s; }
.tn-card:hover > div { outline-color: rgba(193, 39, 45, .85); box-shadow: 0 30px 70px -16px rgba(193, 39, 45, .4); }
.tn-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tn-card:hover img { transform: scale(1.1); }
.tn-card span { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgba(17, 23, 58, .88), transparent); font: 600 10.5px/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--cream); }
@keyframes breathe { 50% { transform: scale(1.04); } }
.tunnel { --prev: var(--navy-3); --bg: var(--navy-3); --next: var(--cream);
  background: linear-gradient(180deg, var(--bg) 0, var(--bg) calc(100% - var(--fade)), color-mix(in srgb, var(--next) 50%, var(--bg)) 100%); }
.hero::after { background: linear-gradient(180deg, transparent, var(--navy-3)); }
@media (prefers-reduced-motion: reduce) { .tn-title, .tn-ring.r2 { animation: none; } }

/* ---------- tunnel title: words rise in, hold, then zoom past the camera before the photos launch ---------- */
.tn-l { display: block; padding-bottom: .08em; }
.tw { display: inline-block; white-space: nowrap; }
.tl { display: inline-block; opacity: 0; transform: translateY(.55em) scale(.35) rotate(-10deg); transform-origin: 50% 100%; transition: opacity .22s ease, transform .4s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--c) * 17ms); }
.tn-title.show .tl { opacity: 1; transform: none; }
.tn-title .eyebrow, .tn-sub { opacity: 0; translate: 0 18px; transition: opacity .55s var(--ease), translate .55s var(--ease); }
.tn-title.show .eyebrow { opacity: 1; translate: 0 0; }
.tn-title.show .tn-sub { opacity: 1; translate: 0 0; transition-delay: .5s; }
.tn-title.out { transform: scale(.94); opacity: .5; } /* steps back and stays behind the photos */

/* ---------- Moe "the Moe way" reveals: photos wipe up into view and settle from a zoom ---------- */
.rimg { clip-path: inset(18% 0 0 0); transition: clip-path .85s var(--ease); }
.rimg img { scale: 1.25; transition: scale 1.1s var(--ease); }
.rimg.in { clip-path: inset(0 0 0 0); }
.rimg.in img { scale: 1; }
.mosaic figure.rimg:nth-child(2) { transition-delay: .05s; }
.mosaic figure.rimg:nth-child(3) { transition-delay: .1s; }
.mosaic figure.rimg:nth-child(4) { transition-delay: .15s; }
.mosaic figure.rimg:nth-child(5) { transition-delay: .2s; }
.mosaic figure.rimg:nth-child(6) { transition-delay: .25s; }
.kids-photos .rimg:nth-child(2), .kids-photos .rimg:nth-child(3) { transition-delay: .12s; }
.kids-photos .rimg:nth-child(4) { transition-delay: .24s; }
.welcome .rw > span, .rise .rw > span { transition-duration: .7s; transition-delay: calc(var(--d) * 35ms); }

/* Next steps removed: welcome hands straight to kids */
.welcome { --next: var(--sky); }
.kids { --prev: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  .rimg, .rimg img { clip-path: none !important; scale: 1 !important; transition: none !important; }
  .tl, .tn-title .eyebrow, .tn-sub { transform: none !important; opacity: 1 !important; translate: none !important; }
}

/* ---------- give: donation form ---------- */
.give-card { gap: 16px; }
.give-freq { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(201, 204, 216, .18); }
.give-freq button, .give-amounts button {
  appearance: none; border: 0; cursor: pointer; color: var(--cream); background: none;
  font: 700 14px/1 var(--f-body); letter-spacing: .02em; min-height: 44px; border-radius: 999px;
  transition: background-color .25s, color .25s, transform .25s var(--ease), border-color .25s;
}
.give-freq button[aria-checked="true"] { background: var(--gold-2); color: var(--navy-3); }
.give-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.give-amounts button { min-height: 56px; border-radius: 14px; border: 1px solid rgba(201, 204, 216, .28); font: 600 22px/1 var(--f-serif); }
.give-amounts button:hover { transform: translateY(-2px); border-color: var(--gold-2); }
.give-amounts button[aria-checked="true"] { background: rgba(193, 39, 45, .16); border-color: var(--gold); color: var(--gold-2); box-shadow: 0 0 0 1px var(--gold) inset; }
.give-other { position: relative; display: block; }
.give-dollar { position: absolute; left: 18px; top: 50%; translate: 0 -50%; color: var(--gold-2); font: 600 20px/1 var(--f-serif); pointer-events: none; }
.give-other input {
  width: 100%; height: 54px; padding: 0 16px 0 36px; border-radius: 14px;
  border: 1px solid rgba(201, 204, 216, .28); background: rgba(255, 255, 255, .05); color: var(--cream);
  font: 500 17px/1 var(--f-body);
}
.give-other input::placeholder { color: rgba(246, 247, 251, .5); }
.give-other input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(193, 39, 45, .2); }
.give-card .give-btn { justify-self: stretch; width: 100%; }
.give-btn:disabled { opacity: .75; cursor: progress; animation: none; }
.give-msg { font-size: 14.5px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: var(--cream); }
.give-msg[data-kind="error"] { background: rgba(220, 80, 60, .18); color: #ffd0c6; }
.give-msg[data-kind="thanks"] { background: rgba(193, 39, 45, .18); color: var(--gold-2); font-weight: 600; }
.give-secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(246, 247, 251, .62); }
.give-secure svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--gold-2); stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 760px) {
  .give-amounts { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- doodle crew footer (vanilla port of DoodleCrewFooter; storyboard CSS rebuilt) ---------- */
.dcf { --dcf-bg: var(--navy-3); --dcf-ink: var(--cream); --dcf-accent: var(--gold); position: relative; margin-top: 56px; color: var(--dcf-ink); }
.dcf-world { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.dcf-stage { position: relative; }
.dcf-svg { display: block; width: 100%; height: auto; overflow: visible; }
.dcf-svg text { fill: var(--dcf-ink); }
.dcf-art path, .dcf-art circle, .dcf-art ellipse, .dcf-art rect { fill: var(--dcf-bg); stroke: var(--dcf-ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.dcf-art .n { fill: none; }
.dcf-art .thin { stroke-width: 2; }
.dcf-art .thick { stroke-width: 4.5; }
.dcf-art .k { fill: var(--dcf-ink); }
.dcf-art .a { fill: var(--dcf-accent); }
.dcf-art .o { fill: #ff9f1c; }
.dcf-art .r { fill: #e8574a; }
.dcf-art .dcf-shadow { fill: var(--dcf-ink); stroke: none; opacity: .14; }
.dcf-art .dcf-glint { fill: var(--dcf-bg); stroke: none; }
.dcf-ground path { fill: none; stroke: var(--dcf-ink); stroke-width: 3; stroke-linecap: round; }
.dcf-ground .dcf-tufts { stroke-width: 2; }
.dcf-pebble { fill: none; stroke: var(--dcf-ink); stroke-width: 2; }
.dcf-dust { fill: none; stroke: var(--dcf-accent); stroke-width: 4; stroke-linecap: round; opacity: 0; }
.dcf-hit { fill: transparent; cursor: pointer; outline: none; }
.dcf-hit:focus-visible { stroke: var(--dcf-accent); stroke-width: 3; stroke-dasharray: 8 6; }
.dcf-glyph, .dcf-arrive, .dcf-hopper, .dcf-art, .dcf-tail { transform-box: fill-box; transform-origin: 50% 100%; }
.dcf-letter { transform-box: fill-box; transform-origin: 50% 100%; }
.dcf-letter:hover { animation: dcf-wobble .5s ease; }

/* before the storyboard plays everything waits off */
.dcf-glyph, .dcf-arrive, .dcf-fade, .dcf-doodle-in, .dcf-cta > * { opacity: 0; }
.dcf-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* the storyboard */
.dcf[data-play="1"] .dcf-draw { animation: dcf-draw .9s ease-out var(--d) forwards; }
.dcf[data-play="1"] .dcf-fade { animation: dcf-fade .5s ease-out var(--d) forwards; }
.dcf[data-play="1"] .dcf-glyph { animation: dcf-stamp .45s cubic-bezier(.3, 1.6, .5, 1) var(--d) forwards; }
.dcf[data-play="1"] .dcf-dust { animation: dcf-dust .5s ease-out calc(var(--d) + 180ms) forwards; }
.dcf[data-play="1"] .dcf-arrive-front { animation: dcf-pop .6s cubic-bezier(.3, 1.7, .5, 1) var(--d) forwards; }
.dcf[data-play="1"] .dcf-arrive-top { animation: dcf-plop .65s cubic-bezier(.3, 1.5, .5, 1) var(--d) forwards; }
.dcf[data-play="1"] .dcf-arrive-behind { animation: dcf-peek .7s cubic-bezier(.3, 1.5, .5, 1) var(--d) forwards; }
.dcf[data-play="1"] .dcf-doodle-in { animation: dcf-fade .5s ease-out calc(var(--doodles) + var(--k) * 70ms) forwards; }
.dcf[data-play="1"] .dcf-cta > * { animation: dcf-rise .7s var(--ease) var(--copy) forwards; }
.dcf[data-play="1"] .dcf-cta > :nth-child(2) { animation-delay: calc(var(--copy) + 150ms); }
.dcf[data-play="1"] .dcf-cta > :nth-child(3) { animation-delay: calc(var(--copy) + 300ms); }

/* idles once they've arrived */
.dcf-peck { animation: dcf-peck 3.6s ease-in-out 3s infinite; transform-origin: 50% 90%; }
.dcf-sway { animation: dcf-sway 3.2s ease-in-out 3s infinite alternate; }
.dcf-tail { animation: dcf-tail 2.4s ease-in-out infinite alternate; transform-origin: 0% 100%; }
.dcf-hopper.is-hop { animation: dcf-hop .55s cubic-bezier(.3, 1.6, .5, 1); }

@keyframes dcf-draw { to { stroke-dashoffset: 0; } }
@keyframes dcf-fade { to { opacity: 1; } }
@keyframes dcf-stamp { 0% { opacity: 0; transform: translateY(-60px) scale(1.35) rotate(var(--r)); } 70% { opacity: 1; transform: translateY(0) scale(.94) rotate(calc(var(--r) * -.3)); } 100% { opacity: 1; transform: none; } }
@keyframes dcf-dust { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes dcf-pop { 0% { opacity: 0; transform: scale(0); } 100% { opacity: 1; transform: none; } }
@keyframes dcf-plop { 0% { opacity: 0; transform: translateY(-120px); } 100% { opacity: 1; transform: none; } }
@keyframes dcf-peek { 0% { opacity: 0; transform: translateY(60px); } 100% { opacity: 1; transform: none; } }
@keyframes dcf-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes dcf-hop { 0% { transform: none; } 40% { transform: translateY(-34px) rotate(-6deg); } 70% { transform: translateY(0) scale(1.06, .92); } 100% { transform: none; } }
@keyframes dcf-wobble { 25% { transform: rotate(-4deg); } 60% { transform: rotate(3deg) translateY(-6px); } }
@keyframes dcf-peck { 0%, 70%, 100% { transform: none; } 78% { transform: rotate(14deg); } 86% { transform: rotate(0); } 92% { transform: rotate(12deg); } }
@keyframes dcf-sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes dcf-tail { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }

.dcf-doodles { position: absolute; inset: -40px 0 0; pointer-events: none; overflow: hidden; }
.dcf-doodle { position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer; will-change: transform; }
.dcf-doodle-in, .dcf-doodle svg { display: block; }
.dcf-bubbles { position: absolute; inset: 0; pointer-events: none; }
.dcf-bubble {
  position: absolute; transform: translate(-50%, -100%); padding: 10px 14px; border-radius: 16px; white-space: nowrap;
  background: var(--cream); color: var(--navy-3); font: 600 14px/1.2 var(--f-body); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
  animation: dcf-pop .35s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 50% 100%;
}
.dcf-bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.dcf-bubble.is-left { transform: translate(-90%, -100%); }
.dcf-bubble.is-left::after { left: 88%; }
.dcf-cta { position: relative; text-align: center; padding: 28px var(--gutter) 10px; }
.dcf-tagline { font: italic 500 clamp(24px, 3vw, 38px)/1.2 var(--f-serif); color: var(--cream); }
.dcf-hint { margin-top: 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); opacity: .8; }
.dcf-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.dcf-pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px;
  border: 2px solid var(--cream); color: var(--cream); text-decoration: none; font: 700 15px/1 var(--f-body);
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.dcf-pill svg { width: 18px; height: 18px; }
.dcf-pill:hover { transform: translateY(-2px) rotate(-1.5deg); background: rgba(246, 247, 251, .1); }
.dcf-pill-solid { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); border-color: transparent; color: var(--navy-3); }
.dcf-pill-solid:hover { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); }
.foot-giant { display: none; }
@media (max-width: 760px) {
  .dcf { margin-top: 36px; }
  .dcf-bubble { font-size: 12.5px; white-space: normal; width: max-content; max-width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .dcf-glyph, .dcf-arrive, .dcf-fade, .dcf-doodle-in, .dcf-cta > * { opacity: 1 !important; animation: none !important; }
  .dcf-draw { stroke-dashoffset: 0; }
  .dcf-peck, .dcf-sway, .dcf-tail, .dcf-hopper.is-hop { animation: none !important; }
}

/* ---------- Facebook logo on every Facebook link + header button ---------- */
.fb-ico { width: 20px; height: 20px; flex: none; }
.fb-link { display: inline-flex; align-items: center; gap: 8px; }
.btn-fb { gap: 10px; }
.nav-fb {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 8px; border-radius: 999px;
  border: 1px solid rgba(201, 204, 216, .35); color: var(--cream); text-decoration: none; font: 600 13px/1 var(--f-body);
  transition: background-color .25s, border-color .25s;
}
.nav-fb:hover { background: rgba(24, 119, 242, .18); border-color: #1877F2; }
.nav-fb .fb-ico { width: 24px; height: 24px; }
.foot-seal { display: block; width: 116px; height: 116px; margin-top: 22px; }
.foot-seal img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; background: #fff; }
@media (max-width: 1180px) { .nav-fb span { display: none; } .nav-fb { padding: 0; width: 40px; justify-content: center; } }

/* =====================================================================
   SAND & GOLD THEME: navy retired. White foundation, tan/sand/linen bands,
   gold accents, warm espresso type. Everything below overrides the dark layer.
   ===================================================================== */
body { background: var(--white); }
.skip { color: var(--navy); }
.btn-primary { background: linear-gradient(135deg, #c1272d, var(--bronze)); color: var(--white); }
.btn-primary:hover { background: linear-gradient(135deg, #a51f25, #7d161b); }
.btn-line { border-color: var(--tan-3); color: var(--navy); }
.btn-line:hover { background: var(--sand); color: var(--navy); border-color: var(--bronze); }
.btn-ghost { border: 1.5px solid var(--tan-3); color: var(--navy); background: rgba(255, 255, 255, .55); }
.btn-ghost:hover { border-color: var(--bronze); background: var(--white); }
.h2-light { color: var(--navy); }
.kicker-light { color: var(--bronze); }

/* nav: frosted white */
.nav { color: var(--navy); background: rgba(255, 255, 255, .86); border-bottom: 1px solid rgba(143, 148, 168, .28); box-shadow: 0 10px 30px -24px rgba(17, 23, 58, .5); }
.mark-line em, .mark-big { color: var(--bronze); }
.mark-big { background: linear-gradient(90deg, #8e1c22, var(--gold-3) 60%, #c1272d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mark-line em { color: var(--gold-3); }
.lang { border-color: var(--tan-2) !important; }
.lang button[aria-pressed="true"] { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy-3); }
.nav-links a::after { background: var(--gold); }
.nav-fb { border-color: var(--tan-2); color: var(--navy); background: var(--white); }
.nav-fb:hover { background: #eef4ff; }
.btn-primary.nav-cta { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: var(--navy-3); }

/* hero: the sanctuary photo washed in ivory on the left so the type reads, clear on the right */
.hero { background: var(--cream); color: var(--navy); }
.hero-bg::after {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .96) 0%, rgba(248, 249, 252, .86) 34%, rgba(240, 242, 248, .38) 60%, rgba(240, 242, 248, .06) 100%),
    linear-gradient(0deg, rgba(246, 247, 251, .95), transparent 34%);
}
.hero-sun { background: radial-gradient(circle, rgba(201, 204, 216, .45), rgba(193, 39, 45, .12) 40%, transparent 65%); }
.hero-rays i { background: linear-gradient(180deg, rgba(255, 255, 255, .5), transparent 70%); }
.hero .eyebrow { color: var(--bronze); }
.hero-title { color: var(--navy); }
.hero-title .accent { color: transparent; background: linear-gradient(100deg, #8e1c22, var(--gold-3) 45%, #d23a40); -webkit-background-clip: text; background-clip: text; padding-right: .06em; }
.hero-lede { color: var(--muted); }
.hero-status { color: var(--muted); }
.hero-status b { color: var(--navy); }
.hero-status .dot { background: var(--tan-2); }
.hero-status .today { color: var(--navy-3); background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.frame { background: var(--tan); box-shadow: 0 40px 70px -30px rgba(17, 23, 58, .55); border: 6px solid var(--white); }
.frame::after { border-color: rgba(193, 39, 45, .4); }
.badge { background: var(--white); border-color: var(--tan-2); box-shadow: 0 24px 50px -22px rgba(17, 23, 58, .5); }
.badge text { fill: var(--bronze); }
.motes i { background: var(--gold); box-shadow: 0 0 12px 4px rgba(193, 39, 45, .45); }
.scroll-cue { border-color: var(--tan-3); }
.hero::after { background: linear-gradient(180deg, transparent, var(--sand)); }

/* tunnel: sand room with tan grid */
.tunnel { color: var(--navy); --prev: var(--sand); --bg: var(--sand); --next: var(--white); }
.tn-grid { background-image: radial-gradient(rgba(26, 35, 74, .28) 1px, transparent 1px); }
.tn-glow { background: radial-gradient(circle at center, rgba(255, 255, 255, .9) 0%, rgba(201, 204, 216, .25) 35%, transparent 70%); }
.tn-ring.r1 { border-color: rgba(143, 148, 168, .45); }
.tn-ring.r2 { border-color: rgba(143, 148, 168, .35); }
.tn-title .eyebrow { color: var(--bronze); }
.tn-title h2 em { color: var(--gold-3); }
.tn-sub { color: var(--muted); }
.tn-card > div { background: var(--tan); box-shadow: 0 30px 60px -24px rgba(17, 23, 58, .6); outline: 4px solid var(--white); }
.tn-card:hover > div { outline-color: var(--gold-2); box-shadow: 0 30px 70px -16px rgba(193, 39, 45, .45); }
.tn-card span { background: linear-gradient(0deg, rgba(17, 23, 58, .78), transparent); color: var(--white); }

/* light bands, alternating shades */
.welcome { --bg: var(--white); }
.kids { --bg: var(--sand); }
.pastors { --bg: var(--linen); }
.life { --bg: var(--tan); color: var(--navy); }
.give { --bg: var(--white); }
.find { --bg: var(--cream); }
.foot { --bg: var(--tan); color: var(--muted); }
.welcome { --prev: var(--sand); --next: var(--sand); }
.kids    { --prev: var(--white); --next: var(--linen); }
.pastors { --prev: var(--sand);  --next: var(--tan); }
.life    { --prev: var(--linen); --next: var(--white); }
.give    { --prev: var(--tan);   --next: var(--cream); }
.find    { --prev: var(--white); --next: var(--tan); }
.foot    { --prev: var(--cream); --next: var(--tan-2); }

.photo figcaption { background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: 0 8px 20px -10px rgba(17, 23, 58, .5); }
.pastors .photo figcaption { background: rgba(255, 255, 255, .94); color: var(--bronze); }
.pastors .photo { outline-color: var(--tan-3); }

.life .kicker { color: var(--bronze); }
.life .lede { color: var(--muted); }
.life .g { background: var(--tan-2); border: 5px solid var(--white); box-shadow: 0 24px 40px -24px rgba(17, 23, 58, .55); }

/* give card: white card on white band, tan edge + gold */
.give-card { background: linear-gradient(170deg, var(--white), var(--linen)); color: var(--navy); border: 1px solid var(--tan-2); box-shadow: 0 40px 80px -40px rgba(17, 23, 58, .5); }
.give-card-p { color: var(--muted); }
.give-q { color: var(--muted); border-top-color: var(--line); }
.give-q a { color: var(--bronze); }
.give-verse p { color: var(--navy); }
.give-freq { background: var(--sand); border-color: var(--tan-2); }
.give-freq button, .give-amounts button { color: var(--navy); }
.give-freq button[aria-checked="true"] { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy-3); }
.give-dollar { color: var(--bronze); }
.give-other input { background: var(--white); border-color: var(--tan-2); color: var(--navy); }
.give-other input::placeholder { color: rgba(85, 91, 116, .6); }
.give-msg { background: var(--sand); color: var(--navy); }
.give-msg[data-kind="error"] { background: #fdeae5; color: #a3321e; }
.give-msg[data-kind="thanks"] { background: #eef0f7; color: var(--bronze); }
.give-secure { color: var(--muted); }
.give-secure svg { stroke: var(--bronze); }

/* chat */
.chat-head { background: linear-gradient(135deg, var(--sand), var(--tan)); color: var(--navy); border-bottom: 1px solid var(--tan-2); }
.chat-sub { color: var(--bronze); }
.chat-ava { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy-3); }
.chat-x { background: rgba(255, 255, 255, .7); color: var(--navy); }
.chat-log { background: var(--cream); }
.msg.bot { color: var(--navy); }
.msg.me { background: var(--bronze); color: var(--white); }
.chat-form button { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: var(--navy-3); }
.chat-chips button { border-color: var(--tan-2); color: var(--navy); }

/* footer: tan paper with espresso doodles */
.mark-foot { color: var(--navy); }
.foot-h { color: var(--bronze); }
.foot a:hover { color: var(--navy); }
.foot-legal { border-top-color: rgba(26, 35, 74, .25); color: var(--muted); }
.foot-seal img { box-shadow: 0 12px 26px -14px rgba(17, 23, 58, .6); }
.dcf { --dcf-bg: var(--tan); --dcf-ink: #3b2a14; --dcf-accent: var(--gold-3); }
.dcf-tagline { color: var(--navy); }
.dcf-hint { color: var(--bronze); }
.dcf-bubble { background: var(--white); color: var(--navy); box-shadow: 0 10px 30px -12px rgba(17, 23, 58, .5); }
.dcf-pill { border-color: var(--navy); color: var(--navy); }
.dcf-pill:hover { background: rgba(255, 255, 255, .5); }

.lightbox::backdrop { background: rgba(17, 23, 58, .9); }

@media (max-width: 980px) {
  .nav-links { background: var(--cream); color: var(--navy); }
  .menu-times { color: var(--bronze); }
  .nav.menu-open { color: var(--navy); }
}
@media (max-width: 760px) {
  .nav, .nav.solid { background: rgba(255, 255, 255, .94); color: var(--navy); }
  /* phone hero: photo on top, words on ivory below */
  .hero-bg::after { background: linear-gradient(180deg, rgba(246, 247, 251, .1), rgba(246, 247, 251, .05) 50%, var(--cream) 98%); }
  .chat-panel { background: var(--cream); }
  .mbar { background: rgba(255, 255, 255, .95); border-top: 1px solid var(--tan-2); box-shadow: 0 -10px 30px -20px rgba(17, 23, 58, .5); }
  .mbar a { color: var(--navy); }
  .mbar .mbar-main { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: var(--navy-3); }
}
.give-msg[data-kind="info"] { background: #eef0f7; color: var(--navy); border: 1px solid var(--tan-2); }

/* =====================================================================
   SEAL THEME (logo colours): white foundation, navy, crimson, silver.
   Crimson buttons carry white text; navy bands for the photo rows and footer.
   ===================================================================== */
.btn-gold, .nav-cta, .btn-primary.nav-cta, .chat-fab, .give-btn, .give-card .give-btn, .chat-form button, .dcf-pill-solid, .mbar .mbar-main { color: var(--white) !important; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); box-shadow: 0 12px 30px -12px rgba(193, 39, 45, .6); }
@keyframes glow { 50% { box-shadow: 0 12px 38px -8px rgba(193, 39, 45, .75); } }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: rgba(255, 255, 255, .7); }

/* nav: white with the seal's red/navy double line underneath */
.nav { background: rgba(255, 255, 255, .92); border-bottom: 0; box-shadow: 0 1px 0 var(--gold), 0 3px 0 var(--navy), 0 12px 30px -20px rgba(17, 23, 58, .45); }
.lang { border-color: var(--tan-2) !important; }
.lang button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.nav-links a::after { background: var(--gold); }
.nav-fb { border-color: var(--tan-2); color: var(--navy); }
.progress { background: linear-gradient(90deg, var(--gold), var(--navy)); }

/* the seal replaces the wordmark */
.mark-seal { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.mark-seal img { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 6px 16px -8px rgba(17, 23, 58, .6); transition: transform .5s var(--ease); }
.mark-seal:hover img { transform: rotate(-8deg) scale(1.04); }
.mark-seal .mark-name { display: grid; line-height: 1.05; color: var(--navy); }
.mark-seal .mark-name b { font: 800 13px/1.1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; }
.mark-seal .mark-name span { font: 600 11px/1.3 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.mark-foot.mark-seal img { width: 96px; height: 96px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.mark-foot.mark-seal .mark-name { color: var(--white); }
.mark-foot.mark-seal .mark-name span { color: var(--gold-2); }

/* hero */
.hero { background: var(--white); }
.hero-bg::after {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .96) 0%, rgba(248, 249, 252, .86) 34%, rgba(240, 242, 248, .34) 60%, rgba(240, 242, 248, .04) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, .95), transparent 34%);
}
.hero-sun { background: radial-gradient(circle, rgba(255, 255, 255, .7), rgba(201, 204, 216, .2) 40%, transparent 65%); }
.hero .eyebrow { color: var(--gold); }
.hero-title .accent { background: linear-gradient(100deg, var(--gold-3), var(--gold) 50%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; }
.hero-status .dot { background: var(--silver); }
.hero-status .today { background: var(--gold); color: var(--white); }
.frame::after { border-color: rgba(26, 35, 74, .25); }
.frame { background: var(--sky); }
.badge { background: var(--navy); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--gold), 0 24px 50px -22px rgba(17, 23, 58, .6); }
.badge text { fill: var(--white); }
.badge-sun svg { stroke: var(--gold-2); }
.badge-sun svg circle { fill: var(--gold-2); }
.motes i { background: var(--white); box-shadow: 0 0 12px 4px rgba(201, 204, 216, .8); }
.hero::after { background: linear-gradient(180deg, transparent, var(--cream)); }

/* tunnel: ice-white room, navy dot grid */
.tunnel { --prev: var(--cream); --bg: var(--cream); --next: var(--white); }
.tn-grid { background-image: radial-gradient(rgba(26, 35, 74, .22) 1px, transparent 1px); }
.tn-glow { background: radial-gradient(circle at center, #fff 0%, rgba(201, 204, 216, .35) 40%, transparent 70%); }
.tn-ring.r1 { border-color: rgba(193, 39, 45, .3); }
.tn-ring.r2 { border-color: rgba(26, 35, 74, .22); }
.tn-title .eyebrow { color: var(--gold); }
.tn-title h2 em { color: var(--gold); }
.tn-card:hover > div { outline-color: var(--gold); box-shadow: 0 30px 70px -16px rgba(193, 39, 45, .35); }

/* bands */
.welcome { --prev: var(--cream); --bg: var(--white); --next: var(--sand); }
.kids    { --prev: var(--white); --bg: var(--sand);  --next: var(--white); }
.pastors { --prev: var(--sand);  --bg: var(--white); --next: var(--navy); }
.life    { --prev: var(--white); --bg: var(--navy);  --next: var(--white); color: var(--white); }
.give    { --prev: var(--navy);  --bg: var(--white); --next: var(--cream); }
.find    { --prev: var(--white); --bg: var(--cream); --next: var(--navy); }
.foot    { --prev: var(--cream); --bg: var(--navy);  --next: var(--navy-3); color: rgba(255, 255, 255, .78); }

.life .h2, .life .h2-light { color: var(--white); }
.life .kicker { color: var(--gold-2); }
.life .lede { color: rgba(255, 255, 255, .78); }
.life .g { background: var(--navy-2); border: 4px solid var(--white); box-shadow: 0 0 0 1px rgba(193, 39, 45, .5), 0 24px 40px -24px rgba(0, 0, 0, .6); }

.pastors .photo figcaption { color: var(--navy); }
.pastors .photo { outline-color: var(--gold); }
.give-verse { border-left-color: var(--gold); }
.give-card { background: linear-gradient(170deg, var(--white), var(--linen)); border: 1px solid var(--tan-2); border-top: 4px solid var(--gold); }
.give-freq button[aria-checked="true"] { background: var(--navy); color: var(--white); }
.give-q a { color: var(--gold); }

/* chat */
.chat-head { background: var(--navy); color: var(--white); border-bottom: 3px solid var(--gold); }
.chat-sub { color: var(--sky-2); }
.chat-ava { background: var(--gold); color: var(--white); }
.chat-x { background: rgba(255, 255, 255, .12); color: var(--white); }
.msg.me { background: var(--navy); color: var(--white); }
.chat-fab { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); }

/* footer: navy, like the seal, with white doodles */
.foot { box-shadow: inset 0 3px 0 var(--gold); }
.foot-h { color: var(--gold-2); }
.foot a:hover { color: var(--white); }
.foot-legal { border-top-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); }
.foot-seal { display: none; }
.dcf { --dcf-bg: var(--navy); --dcf-ink: #fff; --dcf-accent: var(--gold-2); }
.dcf-tagline { color: var(--white); }
.dcf-hint { color: var(--sky-2); }
.dcf-bubble { background: var(--white); color: var(--navy); }
.dcf-pill { border-color: var(--white); color: var(--white); }
.dcf-pill:hover { background: rgba(255, 255, 255, .1); }
.dcf-pill-solid { border-color: transparent; }

.give-msg[data-kind="info"] { background: #eef0f7; color: var(--navy); border-color: var(--tan-2); border-left: 4px solid var(--gold); }

@media (max-width: 980px) {
  .nav-links { background: var(--white); }
  .menu-times { color: var(--gold); }
}
@media (max-width: 760px) {
  .nav, .nav.solid { background: rgba(255, 255, 255, .96); }
  .mark-seal img { width: 50px; height: 50px; }
  .mark-seal .mark-name b { font-size: 11px; }
  .mark-seal .mark-name span { font-size: 9.5px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(246, 247, 251, .08), rgba(246, 247, 251, .04) 50%, var(--white) 98%); }
  .mbar { border-top: 2px solid var(--gold); }
  .mbar .mbar-main { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); }
}
@media (max-width: 400px) { .mark-seal .mark-name { display: none; } }

/* phone: close the gap between the hero and the tunnel */
@media (max-width: 760px) {
  .hero { padding-bottom: 20px; }
  .hero::after { height: 60px; }
  .tunnel { height: 62vh; height: 62svh; min-height: 440px; }
  .hero-status { margin-bottom: 0; }
  .hero .eyebrow { letter-spacing: .1em; gap: 8px; }
  .hero .eyebrow::before { width: 16px; }
}

/* hero verse (Matthew 28:19) */
.hero-verse { margin: -14px 0 30px; padding: 4px 0 4px 16px; border-left: 3px solid var(--gold); max-width: 50ch; animation: rise .8s var(--ease) both .45s; }
.hero-verse p { font: italic 500 clamp(18px, 1.5vw, 21px)/1.4 var(--f-serif); color: var(--navy); }
.hero-verse cite { display: block; margin-top: 6px; font: 700 11px/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--gold); }
@media (max-width: 760px) { .hero-verse { margin: -16px 0 26px; } .hero-verse p { font-size: 17.5px; } }
@media (prefers-reduced-motion: reduce) { .hero-verse { animation: none; } }

/* footer legal links */
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot-legal-links { display: flex; gap: 20px; }
.foot-legal-links a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hero entrance: everything waits (hidden) until .go, then plays in sequence ----------
   .js is set in <head>, so without JavaScript the hero simply shows. */
.hero-title .w { opacity: 0; filter: blur(6px); transform: translateY(110%) rotate(3deg);
  transition: transform 1s var(--ease), opacity .7s ease, filter .8s ease; transition-delay: calc(120ms + var(--i) * 70ms); }
.go .hero-title .w { opacity: 1; filter: none; transform: none; }
.js .hero .eyebrow, .js .hero-lede, .js .hero-verse, .js .hero-ctas, .js .hero-status, .js .hero-art { animation-play-state: paused; }
.js .hero.go .eyebrow, .js .hero.go .hero-lede, .js .hero.go .hero-verse, .js .hero.go .hero-ctas, .js .hero.go .hero-status, .js .hero.go .hero-art { animation-play-state: running; }
.js .hero:not(.go) .hero-title .line { visibility: hidden; } /* before the words are split, never flash plain text */
.hero .eyebrow { animation: heroIn .9s var(--ease) both 0s; }
.hero-art { animation: floatin 1.2s var(--ease) both .1s; }
.hero-lede { animation: heroIn .9s var(--ease) both .75s; }
.hero-verse { animation: heroIn .9s var(--ease) both .9s; }
.hero-ctas { animation: heroIn .9s var(--ease) both 1.05s; }
.hero-status { animation: heroIn .9s var(--ease) both 1.2s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero-bg img { opacity: 0; transition: opacity .8s ease; }
.no-js .hero-bg img, .go .hero-bg img, html:not(.js) .hero-bg img { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-title .w, .hero .eyebrow, .hero-lede, .hero-verse, .hero-ctas, .hero-status, .hero-art, .hero-bg img { opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important; transition: none !important; }
  .js .hero:not(.go) .hero-title .line { visibility: visible; }
}

/* header fit on every width: seal-only on phones, no times strip on smaller laptops */
@media (max-width: 480px) { .mark-seal .mark-name { display: none; } }
@media (max-width: 1360px) { .nav-times { display: none; } .nav-fb span { display: none; } .nav-fb { padding: 0; width: 40px; justify-content: center; } .nav-links { gap: 22px; } }
