/* ============================================================
   Metanoia Ministries 2027
   Palette: ink navy + coral (brand-preserved), off-white text
   Shape system: pill for interactive, 18px for surfaces
   ============================================================ */

:root {
  --ink: #0f131d;
  --ink-2: #151a28;
  --ink-3: #1c2233;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eceae5;
  --muted: #a3a9b6;
  --coral: #e0564a;
  --coral-deep: #c74538;
  --coral-tint: rgba(224, 86, 74, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--coral); color: #fff; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(15, 19, 29, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}

.nav .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  letter-spacing: 0.04em;
}

/* The globe emblem: the full logo's wordmark would be unreadable at nav size */
.brand-mark {
  width: auto;
  height: 30px;
  flex: none;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.brand strong {
  font-weight: 800;
  font-size: 1.05rem;
}

.brand span {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 0.4rem;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.nav-links a.active { color: #fff; background: var(--coral); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--coral);
  z-index: 55;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-primary:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-2px);
}

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 78% 12%, rgba(224, 86, 74, 0.14), transparent 60%),
    radial-gradient(900px 700px at 15% 85%, rgba(64, 90, 160, 0.16), transparent 60%),
    linear-gradient(180deg, #0d111a 0%, var(--ink) 100%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 19, 29, 0.82) 0%, rgba(15, 19, 29, 0.35) 60%, rgba(15, 19, 29, 0.55) 100%),
              linear-gradient(180deg, rgba(15, 19, 29, 0.25) 0%, transparent 30%, var(--ink) 100%);
}

.hero-beam {
  position: absolute;
  top: -20%;
  left: 55%;
  width: 42vw;
  height: 140%;
  background: linear-gradient(200deg, rgba(255, 255, 255, 0.05), transparent 55%);
  transform: rotate(14deg);
  filter: blur(30px);
  will-change: transform;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-top: 72px;
}

.hero-inner { position: relative; max-width: 640px; }

.hero-globe {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-globe canvas {
  width: min(560px, 100%);
  aspect-ratio: 1 / 1;
  height: auto;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.hero-globe canvas:active { cursor: grabbing; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.3;
  color: var(--text);
  opacity: 0.92;
  margin-bottom: 1.6rem;
  padding-bottom: 0.25rem;
}

.hero p.lead {
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 2.2rem;
}

/* Hero load-in */
.hero [data-stagger] {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: calc(var(--i) * 0.12s);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }

.section-tight { padding: clamp(4rem, 8vw, 6.5rem) 0; }

h2.title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--coral);
  margin-bottom: 1.4rem;
  padding-bottom: 0.2rem;
}

.section p { color: var(--muted); max-width: 68ch; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Founder quote block (home) ---------- */
.founder {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.founder-mark {
  font-family: var(--serif);
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: 0.6;
  color: var(--coral);
  opacity: 0.9;
}

.founder blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  line-height: 1.35;
  margin: 1.4rem 0 1.6rem;
}

.founder cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.founder cite small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ---------- Vision split ---------- */
.vision {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.verse-card {
  position: relative;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.verse-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 240px at var(--mx, 50%) var(--my, 0%), rgba(224, 86, 74, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.verse-card:hover::before { opacity: 1; }
.verse-card:hover { border-color: rgba(224, 86, 74, 0.35); transform: translateY(-4px); }

.verse-card .ref {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}

.verse-card .verse-text {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
}

/* ---------- YouTube section ---------- */
.yt-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.schedule {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  background: var(--ink-2);
}

.chip svg { color: var(--coral); }

.yt-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

/* ---------- Video wall (moving rows) ---------- */
.yt-section { overflow: hidden; }

.channel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--text);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.channel-link:hover { color: var(--coral); border-bottom-color: var(--coral); }

.channel-link svg { transition: transform 0.3s var(--ease); }

.channel-link:hover svg { transform: translate(2px, -2px); }

/* Full-bleed so the rows run past the page edges */
.vw-viewport {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  padding-block: 10px 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* Each row scrolls horizontally; JS drives the idle drift and drag */
.vw-row {
  overflow-x: auto;
  overflow-y: hidden;
  /* The page sets smooth scrolling; that would fight the per-frame drift */
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  overscroll-behavior-x: contain;
}

.vw-row::-webkit-scrollbar { display: none; }

.vw-row.dragging { cursor: grabbing; }

.vw-row.dragging .vw-card { transition: none; }

/* Stops the browser's own link/image dragging from hijacking the pointer */
.vw-card,
.vw-card img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.vw-strip {
  display: flex;
  width: max-content;
  gap: 18px;
  padding-block: 16px;
}

.vw-card {
  position: relative;
  display: block;
  flex: 0 0 340px;
  width: 340px;
  height: 210px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ink-3);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
  text-decoration: none;
  rotate: var(--rot);
  transition: rotate 0.35s var(--ease), scale 0.35s var(--ease),
              box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.vw-card:hover,
.vw-card:focus-visible {
  z-index: 4;
  rotate: 0deg;
  scale: 1.045;
  border-color: rgba(224, 86, 74, 0.5);
  box-shadow: 0 30px 66px rgba(0, 0, 0, 0.55);
}

.vw-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.7s var(--ease);
}

.vw-card:hover img { scale: 1.06; }

.vw-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(8, 11, 18, 0.05), rgba(8, 11, 18, 0.15) 38%, rgba(8, 11, 18, 0.88));
}

.vw-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  translate: -50% -50%;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  transition: scale 0.25s var(--ease);
}

.vw-play svg { width: 20px; height: 20px; margin-left: 2px; }

.vw-card:hover .vw-play { scale: 1.12; }

/* Brand accents, cycled across the cards */
.acc-coral .vw-play { background: var(--coral); color: #fff; }
.acc-cream .vw-play { background: var(--text); color: var(--ink); }
.acc-steel .vw-play { background: #5a7fc4; color: #fff; }

.vw-label {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(15, 19, 29, 0.42);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  color: #fff;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vw-title {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 15px;
  left: 16px;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 85% 20%, rgba(255, 255, 255, 0.14), transparent 60%);
}

.newsletter .wrap { position: relative; }

.newsletter h2 { color: #fff; }

.newsletter p { color: rgba(255, 255, 255, 0.88); }

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.news-form { display: flex; gap: 0.7rem; margin-top: 1.8rem; flex-wrap: wrap; }

.news-form input {
  flex: 1;
  min-width: 240px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.news-form input::placeholder { color: rgba(255, 255, 255, 0.75); }

.news-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.news-form .btn {
  background: #fff;
  color: var(--coral-deep);
}

.news-form .btn:hover { transform: translateY(-2px); }

.form-msg {
  margin-top: 1rem;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.form-msg.show { opacity: 1; transform: translateY(0); }

.news-tail {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: #fff;
}

/* ---------- Footer ---------- */
footer {
  background: #0b0e16;
  border-top: 1px solid var(--line);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}

.foot-brand strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.foot-logo {
  width: clamp(190px, 20vw, 240px);
  height: auto;
  margin-bottom: 0.9rem;
}

.foot-brand span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--coral);
}

footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

footer p, footer a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1.8;
}

footer a:hover { color: var(--coral); }

.foot-base {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
  padding: clamp(9rem, 16vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.page-head .hero-bg { opacity: 0.9; }

.page-head h1 {
  position: relative;
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 16ch;
}

/* ---------- Prose (about) ---------- */
.prose p + p { margin-top: 1.2rem; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.split .sticky-side { position: sticky; top: 110px; align-self: start; }

.split h2.title { margin-bottom: 0.4rem; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }

.acc-item { border-bottom: 1px solid var(--line); }

.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0.2rem;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  transition: color 0.3s var(--ease);
}

.acc-btn:hover { color: var(--coral); }

.acc-btn .acc-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.acc-item.open .acc-icon {
  transform: rotate(45deg);
  background: var(--coral);
  border-color: var(--coral);
}

.acc-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}

.acc-body-inner { padding: 0 0.2rem 1.6rem; color: var(--muted); max-width: 72ch; }

.acc-body-inner p + p { margin-top: 0.8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: left;
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 90% 10%, var(--coral-tint), transparent 60%);
  pointer-events: none;
}

.cta-band h2, .cta-band p { position: relative; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.field { display: grid; gap: 0.45rem; margin-bottom: 1.2rem; }

.field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input, .field textarea {
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-tint);
  background: var(--ink-3);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.contact-form .form-msg { color: var(--coral); }

.info-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.info-card + .info-card { margin-top: 1rem; }

.info-card:hover { transform: translateX(6px); border-color: rgba(224, 86, 74, 0.35); }

.info-card .ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--coral-tint);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.info-card p, .info-card a { color: var(--text); font-size: 0.98rem; text-decoration: none; line-height: 1.6; }

.info-card a:hover { color: var(--coral); }

.founder-line {
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.founder-line strong { display: block; font-size: 1.1rem; }

.founder-line span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .founder, .vision-grid, .yt-copy, .news-grid, .split,
  .contact-grid, .cta-band, .hero-grid { grid-template-columns: 1fr; }

  .hero-globe { min-height: 320px; order: 2; }

  .hero-globe canvas { width: min(380px, 90vw); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .yt-head { grid-template-columns: 1fr; align-items: start; }
  .split .sticky-side { position: static; }
}

@media (max-width: 640px) {
  .foot-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  /* Tight header on phones: shrink the emblem so it clears the menu button */
  .brand { gap: 0.5rem; }
  .brand-mark { height: 24px; }
  .brand strong, .brand span { font-size: 0.95rem; }
  .brand-text { gap: 0.35rem; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.3rem;
    background: rgba(15, 19, 29, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.4rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  body.menu-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a { display: block; }
}

/* Very narrow phones: the emblem carries the identity, so drop the second word */
@media (max-width: 360px) {
  .brand-text > span { display: none; }
}

/* ============================================================
   Section color variants
   ============================================================ */

/* ----- Light (warm paper) ----- */
.section-light {
  background: #f5f2eb;
  color: #171b26;
}

.section-light h1, .section-light h2, .section-light .title { color: #171b26; }

.section-light p, .section-light .prose p { color: #565c6a; }

.section-light .sub { color: var(--coral-deep); }

.section-light .founder cite { color: #171b26; }

.section-light .founder cite small { color: #7a8090; }

.section-light blockquote { color: #171b26; }

.section-light .btn-ghost {
  color: #171b26;
  border-color: rgba(23, 27, 38, 0.25);
}

.section-light .btn-ghost:hover { color: var(--coral-deep); border-color: var(--coral-deep); }

/* light accordion */
.section-light .accordion { border-top-color: rgba(23, 27, 38, 0.12); }
.section-light .acc-item { border-bottom-color: rgba(23, 27, 38, 0.12); }
.section-light .acc-btn { color: #171b26; }
.section-light .acc-btn:hover { color: var(--coral-deep); }
.section-light .acc-icon { border-color: rgba(23, 27, 38, 0.25); color: #171b26; }
.section-light .acc-item.open .acc-icon { color: #fff; }
.section-light .acc-body-inner { color: #565c6a; }

/* ----- Indigo (deep blue) ----- */
.section-indigo {
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(74, 105, 189, 0.18), transparent 55%),
    radial-gradient(800px 500px at 5% 100%, rgba(224, 86, 74, 0.08), transparent 55%),
    linear-gradient(180deg, #161f38 0%, #121a2e 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-indigo .verse-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ----- Coral band (solid) ----- */
.cta-band.coral {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  border: 0;
  color: #fff;
}

.cta-band.coral::before {
  background: radial-gradient(600px 300px at 90% 10%, rgba(255, 255, 255, 0.16), transparent 60%);
}

.cta-band.coral h2 { color: #fff; }
.cta-band.coral p { color: rgba(255, 255, 255, 0.9); }

.cta-band.coral .btn-primary {
  background: #fff;
  color: var(--coral-deep);
}

/* ----- Photo frames ----- */
.img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(10, 13, 22, 0.35);
  transform: rotate(-1.2deg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.img-frame:hover { transform: rotate(0deg) scale(1.015); box-shadow: 0 30px 80px rgba(10, 13, 22, 0.45); }

.img-frame img { width: 100%; height: 100%; object-fit: cover; }

.img-accent {
  position: relative;
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.founder-grid .img-frame { aspect-ratio: 1 / 1; }

.testimony-photo { margin-top: 2.4rem; }

.testimony-photo .img-frame { transform: rotate(1deg); aspect-ratio: 16 / 10; }

.testimony-photo .img-frame:hover { transform: rotate(0deg) scale(1.015); }

/* ----- Page-head image variants ----- */
.page-head.head-photo { color: #fff; }

.head-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.head-palm .head-bg { background-image: url("images/palm.jpg"); }

.head-sand .head-bg { background-image: url("images/sand.jpg"); }

.head-palm .head-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 20, 14, 0.88) 0%, rgba(13, 20, 14, 0.55) 60%, rgba(13, 20, 14, 0.7) 100%),
              linear-gradient(180deg, rgba(15, 19, 29, 0.6) 0%, transparent 40%, rgba(15, 19, 29, 0.85) 100%);
}

.head-sand .head-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(44, 30, 22, 0.85) 0%, rgba(44, 30, 22, 0.5) 60%, rgba(44, 30, 22, 0.65) 100%),
              linear-gradient(180deg, rgba(15, 19, 29, 0.55) 0%, transparent 40%, rgba(15, 19, 29, 0.85) 100%);
}

/* ----- YT section glow ----- */
.yt-section {
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(224, 86, 74, 0.07), transparent 55%),
    radial-gradient(800px 500px at 95% 90%, rgba(74, 105, 189, 0.1), transparent 55%),
    var(--ink);
}

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Ministry: bento grid of places, grouped
   ============================================================ */

.group-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.group-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.group-head .rule {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

.section-light .group-head .rule { background: rgba(23, 27, 38, 0.15); }

.place-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}

.place-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.place-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 86, 74, 0.4);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.4);
}

.place-card.span-2 { grid-column: span 2; }
.place-card.span-6 { grid-column: span 6; }

.place-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--ink-3);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

/* Carousel for places with more than one photo */
.media-wrap { position: relative; }

/* Scrim so the dots stay readable over bright photos */
.media-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(to top, rgba(10, 13, 22, 0.55), transparent);
  pointer-events: none;
  z-index: 1;
}

.place-media.carousel {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

.place-media.carousel::-webkit-scrollbar { display: none; }

.place-media.carousel figure {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.place-card.span-6 .place-media { aspect-ratio: 21 / 9; }

.place-card.span-6 .place-media.carousel { aspect-ratio: 16 / 9; }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.carousel-dots button.active { width: 20px; background: #fff; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 19, 29, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s var(--ease), background 0.3s var(--ease);
}

.place-card:hover .carousel-btn,
.carousel-btn:focus-visible { opacity: 1; }

.carousel-btn:hover { background: var(--coral); border-color: var(--coral); }

.carousel-btn[disabled] { opacity: 0 !important; pointer-events: none; }

.carousel-btn.prev { left: 0.6rem; }
.carousel-btn.next { right: 0.6rem; }

/* Touch devices have no hover, so keep the controls visible */
@media (hover: none) {
  .carousel-btn { opacity: 0.85; }
}

/* ---------- Lightbox ---------- */
.place-media img { cursor: zoom-in; }

.place-media img:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: -4px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 11, 18, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.open { opacity: 1; visibility: visible; }

/* Natural aspect ratio, never cropped */
.lightbox img {
  max-width: min(1400px, 92vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  transform: scale(0.97);
  transition: transform 0.35s var(--ease);
}

.lightbox.open img { transform: scale(1); }

.lightbox-caption {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.lightbox-caption span {
  display: block;
  margin-top: 0.25rem;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--muted);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  /* Above the photo: its transform creates a stacking context */
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.lightbox-close {
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 44px;
  height: 44px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--coral);
  border-color: var(--coral);
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
}

.lightbox-nav.prev { left: clamp(0.75rem, 3vw, 2rem); }
.lightbox-nav.next { right: clamp(0.75rem, 3vw, 2rem); }

.lightbox-nav.next svg { transform: rotate(180deg); }

.lightbox-nav[hidden] { display: none; }

body.lightbox-open { overflow: hidden; }

@media (max-width: 640px) {
  .lightbox img { max-height: 74vh; }
  .lightbox-nav { width: 40px; height: 40px; }
}

.place-media figure {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
}

.place-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.place-card:hover .place-media img { transform: scale(1.05); }

.place-label {
  padding: 1.1rem 1.3rem 1.3rem;
  border-top: 1px solid var(--line);
}

.place-label h3 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* Light-section variant */
.section-light .place-card {
  background: #fffdf9;
  border-color: rgba(23, 27, 38, 0.1);
}

.section-light .place-card:hover {
  border-color: rgba(224, 86, 74, 0.45);
  box-shadow: 0 22px 55px rgba(23, 27, 38, 0.14);
}

.section-light .place-media { background: #e9e4da; }

.section-light .place-media figure { background: linear-gradient(135deg, #e9e4da, #f3efe7); }

.section-light .place-label { border-top-color: rgba(23, 27, 38, 0.1); }

.section-light .place-label h3 { color: #171b26; }

@media (max-width: 900px) {
  .place-card, .place-card.span-2 { grid-column: span 3; }
  .place-card.span-6 { grid-column: span 6; }
  .group-head h2 { white-space: normal; }
}

@media (max-width: 640px) {
  .vw-card { flex: 0 0 268px; width: 268px; height: 168px; border-radius: 18px; }
  .vw-strip { gap: 12px; padding-block: 11px; }
  .vw-play { width: 44px; height: 44px; }
  .vw-play svg { width: 16px; height: 16px; }
  .vw-title { font-size: 0.72rem; right: 13px; bottom: 12px; left: 13px; }
  .vw-label { top: 12px; left: 13px; }

  .place-grid { grid-template-columns: 1fr; }
  .place-card,
  .place-card.span-2,
  .place-card.span-6 { grid-column: span 1; }
  .place-card.span-6 .place-media,
  .place-card.span-6 .place-media.carousel { aspect-ratio: 4 / 3; }
}

/* ============================================================
   Contact page
   ============================================================ */

.contact-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.contact-hero .head-bg { opacity: 0.55; }

.contact-hero .wrap { position: relative; }

.contact-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin-bottom: 1.6rem;
}

/* Second half of the same headline, set in the display serif */
.contact-hero h1 .accent {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--coral);
  padding-bottom: 0.08em;
}

.contact-lead {
  max-width: 56ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--muted);
  margin-bottom: 2.2rem;
}

/* ----- Intro ----- */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.intro-split p {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.75;
}

.signature {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(23, 27, 38, 0.14);
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.signature strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  color: #171b26;
}

.signature span { color: #7a8090; font-size: 0.9rem; }

/* ----- Prayer request form ----- */
.prayer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

/* Invalid fields, on both the dark and light form treatments */
.field input.invalid,
.field textarea.invalid { border-color: var(--coral); }

.form-card .field input.invalid,
.form-card .field textarea.invalid { border-bottom-color: var(--coral); }

.field.invalid label,
.form-card .field.invalid label { color: var(--coral); }

.news-form input.invalid { border-color: #fff; }

#prayer { scroll-margin-top: 80px; }

.prayer-note { position: sticky; top: 110px; }

.form-card {
  background: #fffdf9;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.form-card .form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.4rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(23, 27, 38, 0.12);
}

.form-card .form-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #171b26;
}

/* Underlined inputs read lighter than boxes */
.form-card .field label {
  color: #7a8090;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

.form-card .field input,
.form-card .field textarea {
  padding: 0.6rem 0 0.7rem;
  border: 0;
  border-bottom: 1px solid rgba(23, 27, 38, 0.2);
  border-radius: 0;
  background: transparent;
  color: #171b26;
  font-size: 1rem;
}

.form-card .field textarea { min-height: 120px; }

.form-card .field input:focus,
.form-card .field textarea:focus {
  outline: none;
  border-bottom-color: var(--coral);
  box-shadow: 0 1px 0 0 var(--coral);
  background: transparent;
}

.form-card .field { margin-bottom: 1.5rem; }

.form-card .form-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-top: 0.6rem;
}

.form-card .form-msg { color: var(--coral-deep); margin-top: 0; }

/* Shown only if the send fails, on either form treatment */
.form-msg.error { color: var(--coral-deep); }
.news-form + .form-msg.error, .newsletter .form-msg.error { color: #fff; }

/* ----- Direct contact cards ----- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
}

.contact-card {
  position: relative;
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  border-right: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.contact-card:last-child { border-right: 0; }

.contact-card:hover { background: rgba(255, 255, 255, 0.03); }

.contact-card .num {
  position: absolute;
  top: clamp(1.4rem, 3vw, 2rem);
  right: clamp(1.4rem, 3vw, 2rem);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
  opacity: 0.5;
}

.contact-card .ic {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--coral-tint);
  color: var(--coral);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.contact-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.contact-card p,
.contact-card a { color: var(--muted); font-size: 0.98rem; line-height: 1.8; text-decoration: none; }

.contact-card a:hover { color: var(--coral); }

.contact-card .map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-card .map-link svg { transition: transform 0.3s var(--ease); }

.contact-card .map-link:hover svg { transform: translate(2px, -2px); }

@media (max-width: 900px) {
  .intro-split, .prayer-grid { grid-template-columns: 1fr; }
  .prayer-note { position: static; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-card:last-child { border-bottom: 0; }
  .contact-card .ic { margin-bottom: 1.4rem; }
  .contact-hero { min-height: 0; }
}

/* ============================================================
   Giving
   ============================================================ */

/* Desktop: intro text top-left, QR beneath it, bank + international
   panel filling the right column top-to-bottom alongside both. */
.giving-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.giving-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 980px;
  margin-top: 1.4rem;
}

.giving-copy p { max-width: 46ch; }

/* Three equal cards, stretched so tops and bottoms line up */
.giving-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.8vw, 1.4rem);
  align-items: stretch;
}

.bank-card,
.intl-card,
.qr-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fffdf9;
  border: 1px solid rgba(23, 27, 38, 0.1);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
}

.bank-card h3,
.intl-card h3,
.qr-card h3 {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 1.3rem;
}

/* Label above value: keeps long values off a second line in a narrow card */
.bank-rows { display: grid; gap: 0.8rem; }

.bank-rows > div {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(23, 27, 38, 0.08);
}

/* The first rows are plain facts, so they read as a block, not a table */
.bank-card .bank-rows > div:nth-child(-n+3) {
  border-bottom: 0;
  padding-bottom: 0;
}

.bank-card .bank-rows > div:nth-child(3) {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(23, 27, 38, 0.08);
}

.bank-rows > div:last-child { border-bottom: 0; padding-bottom: 0; }

.bank-rows dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a8090;
}

.bank-rows dd {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #171b26;
  font-size: 1rem;
  font-weight: 600;
}

/* Account and code values, spaced so digits are easy to read back */
.bank-rows .val {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 27, 38, 0.18);
  background: transparent;
  color: #565c6a;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.copy-btn:hover { border-color: var(--coral); color: var(--coral-deep); }

.copy-btn.copied {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.intl-note {
  color: #565c6a;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
}

/* Body starts right under the heading, matching the other two cards.
   Any leftover height falls to the bottom of the card. */
.intl-card .bank-rows { margin-bottom: auto; }

/* QR fills the card, so it stays large enough to scan */
.qr-frame {
  position: relative;
  flex: 1;
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}

.qr-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}

.qr-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px dashed rgba(23, 27, 38, 0.25);
  border-radius: 12px;
  color: #9aa0ad;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem;
}

@media (max-width: 1080px) {
  .giving-cards { grid-template-columns: 1fr; }
  .giving-copy { grid-template-columns: 1fr; }
  .giving-copy p { max-width: 68ch; }
  .qr-frame { min-height: 260px; max-width: 300px; }
}

/* ============================================================
   About: reach, ministry arms, broadcast schedule
   ============================================================ */

.reach-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.8rem);
  border-top: 1px solid var(--line);
}

.stat-row { display: flex; gap: clamp(2rem, 4vw, 3.2rem); }

.stat b {
  display: block;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--coral);
}

.stat span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.state-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.state-chips .chip {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

/* ----- What we do: alternating editorial rows, no cards ----- */
.work-rows { margin-top: clamp(2.5rem, 5vw, 4rem); }

.work-row {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.work-row + .work-row { margin-top: clamp(3.5rem, 8vw, 7rem); }

/* Alternate which side the photograph sits on */
.work-row.flip .work-photo { order: 2; }

.work-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 70px rgba(23, 27, 38, 0.18);
}

.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.work-row:hover .work-photo img { transform: scale(1.04); }

.work-index {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--coral-deep);
  margin-bottom: 0.9rem;
}

.work-text h3 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #171b26;
  margin-bottom: 1.1rem;
}

.work-text .accent-rule {
  width: 54px;
  height: 2px;
  background: var(--coral);
  margin-bottom: 1.3rem;
}

.work-text p {
  color: #565c6a;
  font-size: 1.02rem;
  line-height: 1.78;
  max-width: 48ch;
}


/* ----- Our Vision: the scripture carries the section ----- */
.vision-grand {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.vision-grand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 420px at 50% 0%, rgba(224, 86, 74, 0.09), transparent 65%);
  pointer-events: none;
}

.vision-inner { position: relative; max-width: 980px; margin: 0 auto; }

.vision-ornament {
  width: 1px;
  height: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 auto 1.6rem;
  background: linear-gradient(to bottom, transparent, var(--coral));
}

.vision-grand h2 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

.vision-scripture {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #171b26;
  padding-bottom: 0.12em;
}

.vision-cite {
  display: block;
  margin-top: clamp(1.4rem, 2.5vw, 2rem);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7a8090;
}

.vision-divider {
  width: 100%;
  max-width: 420px;
  height: 1px;
  margin: clamp(2.4rem, 5vw, 3.6rem) auto;
  background: rgba(23, 27, 38, 0.16);
}

.vision-commit {
  max-width: 62ch;
  margin: 0 auto;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.8;
  color: #565c6a;
}

@media (max-width: 900px) {
  .work-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .work-row.flip .work-photo { order: 0; }
  .work-text p { max-width: 100%; }
}

/* ----- Broadcast schedule ----- */
.schedule-card {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.sched-row {
  display: grid;
  grid-template-columns: 116px 132px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.05rem clamp(1.1rem, 2.2vw, 1.5rem);
  border-bottom: 1px solid var(--line);
}

.sched-row:last-child { border-bottom: 0; }

.sched-row .day {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.sched-row .time {
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.sched-row .what { color: var(--muted); font-size: 0.96rem; }

.sched-row .planned {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
}

@media (max-width: 900px) {
  .reach-band { grid-template-columns: 1fr; align-items: start; }
  .sched-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .sched-row .planned { margin-left: 0; }
}


/* ============================================================
   Image corridor: two rails of photographs riding toward the viewer.
   Depth is authored as apparent size, so consecutive cards keep a
   constant size ratio and the ribbon never tears. Cards are born
   across the axis (negative rail) so the centre never opens up.
   Every length is cqw, a percentage of the container width.
   ============================================================ */

.stream-hero {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  height: clamp(430px, 58vw, 640px);
  background: linear-gradient(180deg, #0c1017, var(--ink-2));
  border: 1px solid var(--line);
}

.stream-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  perspective: 30cqw;
  perspective-origin: 50% 55%;
}

.stream-3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.ms-card {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 18cqw;
  height: 25cqw;
  margin-left: -9.0cqw;
  margin-top: -12.5cqw;
  border-radius: 0.4cqw;
  overflow: hidden;
  backface-visibility: hidden;
  animation-duration: 18s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.ms-card.r { animation-name: ms-rail-r; }
.ms-card.l { animation-name: ms-rail-l; }

.ms-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* Vignette so the corridor dissolves into the panel instead of
   colliding with its edges, and the copy stays readable over it. */
.stream-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 78% at 50% 55%, transparent 30%, rgba(10, 13, 22, 0.72) 78%),
    linear-gradient(180deg, rgba(10, 13, 22, 0.86) 0%, transparent 26%, transparent 60%, rgba(10, 13, 22, 0.92) 100%);
}

.stream-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
}

.stream-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 18ch;
  text-wrap: balance;
}

.stream-foot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

/* Cards pass directly behind this copy, so it carries its own backdrop */
.stream-foot::before {
  content: "";
  position: absolute;
  inset: -1.6rem -2.4rem;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(62% 74% at 50% 50%, rgba(10, 13, 22, 0.88), transparent 76%);
}

.stream-foot p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Paused rather than disabled: each card is already dropped mid-flight
   by its negative delay, so it freezes as a finished still. */
@media (prefers-reduced-motion: reduce) {
  .ms-card { animation-play-state: paused; }
}

@media (max-width: 640px) {
  .stream-hero { height: clamp(400px, 116vw, 560px); }
}

@keyframes ms-rail-r{0.00%{transform:translate3d(-11.00cqw,0,-258.46cqw) rotateY(-6.00deg)}4.17%{transform:translate3d(-3.79cqw,0,-225.92cqw) rotateY(-6.92deg)}8.33%{transform:translate3d(2.73cqw,0,-197.04cqw) rotateY(-7.83deg)}12.50%{transform:translate3d(8.60cqw,0,-171.43cqw) rotateY(-8.75deg)}16.67%{transform:translate3d(13.87cqw,0,-148.70cqw) rotateY(-9.67deg)}20.83%{transform:translate3d(18.56cqw,0,-128.54cqw) rotateY(-10.58deg)}25.00%{transform:translate3d(22.72cqw,0,-110.65cqw) rotateY(-11.50deg)}29.17%{transform:translate3d(26.37cqw,0,-94.78cqw) rotateY(-12.42deg)}33.33%{transform:translate3d(29.57cqw,0,-80.70cqw) rotateY(-13.33deg)}37.50%{transform:translate3d(32.34cqw,0,-68.21cqw) rotateY(-14.25deg)}41.67%{transform:translate3d(34.71cqw,0,-57.13cqw) rotateY(-15.17deg)}45.83%{transform:translate3d(36.73cqw,0,-47.30cqw) rotateY(-16.08deg)}50.00%{transform:translate3d(38.42cqw,0,-38.58cqw) rotateY(-17.00deg)}54.17%{transform:translate3d(39.81cqw,0,-30.84cqw) rotateY(-17.92deg)}58.33%{transform:translate3d(40.94cqw,0,-23.98cqw) rotateY(-18.83deg)}62.50%{transform:translate3d(41.84cqw,0,-17.89cqw) rotateY(-19.75deg)}66.67%{transform:translate3d(42.53cqw,0,-12.48cqw) rotateY(-20.67deg)}70.83%{transform:translate3d(43.06cqw,0,-7.69cqw) rotateY(-21.58deg)}75.00%{transform:translate3d(43.43cqw,0,-3.44cqw) rotateY(-22.50deg)}79.17%{transform:translate3d(43.69cqw,0,0.33cqw) rotateY(-23.42deg)}83.33%{transform:translate3d(43.85cqw,0,3.68cqw) rotateY(-24.33deg)}87.50%{transform:translate3d(43.94cqw,0,6.65cqw) rotateY(-25.25deg)}91.67%{transform:translate3d(43.98cqw,0,9.28cqw) rotateY(-26.17deg)}95.83%{transform:translate3d(44.00cqw,0,11.62cqw) rotateY(-27.08deg)}100.00%{transform:translate3d(44.00cqw,0,13.70cqw) rotateY(-28.00deg)}}
@keyframes ms-rail-l{0.00%{transform:translate3d(11.00cqw,0,-258.46cqw) rotateY(6.00deg)}4.17%{transform:translate3d(3.79cqw,0,-225.92cqw) rotateY(6.92deg)}8.33%{transform:translate3d(-2.73cqw,0,-197.04cqw) rotateY(7.83deg)}12.50%{transform:translate3d(-8.60cqw,0,-171.43cqw) rotateY(8.75deg)}16.67%{transform:translate3d(-13.87cqw,0,-148.70cqw) rotateY(9.67deg)}20.83%{transform:translate3d(-18.56cqw,0,-128.54cqw) rotateY(10.58deg)}25.00%{transform:translate3d(-22.72cqw,0,-110.65cqw) rotateY(11.50deg)}29.17%{transform:translate3d(-26.37cqw,0,-94.78cqw) rotateY(12.42deg)}33.33%{transform:translate3d(-29.57cqw,0,-80.70cqw) rotateY(13.33deg)}37.50%{transform:translate3d(-32.34cqw,0,-68.21cqw) rotateY(14.25deg)}41.67%{transform:translate3d(-34.71cqw,0,-57.13cqw) rotateY(15.17deg)}45.83%{transform:translate3d(-36.73cqw,0,-47.30cqw) rotateY(16.08deg)}50.00%{transform:translate3d(-38.42cqw,0,-38.58cqw) rotateY(17.00deg)}54.17%{transform:translate3d(-39.81cqw,0,-30.84cqw) rotateY(17.92deg)}58.33%{transform:translate3d(-40.94cqw,0,-23.98cqw) rotateY(18.83deg)}62.50%{transform:translate3d(-41.84cqw,0,-17.89cqw) rotateY(19.75deg)}66.67%{transform:translate3d(-42.53cqw,0,-12.48cqw) rotateY(20.67deg)}70.83%{transform:translate3d(-43.06cqw,0,-7.69cqw) rotateY(21.58deg)}75.00%{transform:translate3d(-43.43cqw,0,-3.44cqw) rotateY(22.50deg)}79.17%{transform:translate3d(-43.69cqw,0,0.33cqw) rotateY(23.42deg)}83.33%{transform:translate3d(-43.85cqw,0,3.68cqw) rotateY(24.33deg)}87.50%{transform:translate3d(-43.94cqw,0,6.65cqw) rotateY(25.25deg)}91.67%{transform:translate3d(-43.98cqw,0,9.28cqw) rotateY(26.17deg)}95.83%{transform:translate3d(-44.00cqw,0,11.62cqw) rotateY(27.08deg)}100.00%{transform:translate3d(-44.00cqw,0,13.70cqw) rotateY(28.00deg)}}


/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* Rows stop moving; the wall becomes a normal horizontal scroller */
  .vw-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .vw-card { rotate: 0deg; }

  .hero [data-stagger] { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-beam { display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
