/* ════════════════════════════════════════════════════════════════════
   styles.css — Dr. Ruby Holland Ministries
   Aesthetic: editorial luxury. Soft blush + ivory grounds, deep plum ink,
   brass hairline accents. Serif display (Fraunces) + clean sans (Outfit).
   Overlapping modules, asymmetry, scroll-reveal motion.
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Palette: vibrant jewel — violet, magenta, gold ────────────── */
  --ink:        #1a1416;   /* deep violet-black, primary text */
  --plum:       #4719AF;   /* vibrant violet, primary brand */
  --plum-deep:  #2E1370;   /* deep royal violet for dark sections */
  --plum-soft:  #6E5B66;   /* muted violet-grey for secondary text */
  --magenta:    #4719AF;   /* electric magenta accent */
  --magenta-dk: #2E1370;   /* deeper magenta for hovers */
  --gold:       #2E1370;   /* warm vibrant gold */
  --gold-soft:  #FFFFFF;   /* lighter gold */
  --blush:      #F4F4F4;   /* very light violet-tinted ground */
  --blush-deep: #ECECEC;   /* deeper violet tint for cards */
  --ivory:      #FFFFFF;   /* clean white page background */
  --cream:      #FFFFFF;   /* faint violet-white card surface */
  --grey:       #DADADA;   /* soft cool grey — borders */
  --grey-soft:  #F0F0F0;   /* very light grey tint */
  --grey-deep:  #6E5B66;   /* mid grey for muted detail */
  --brass:      #4719AF;   /* gold doubles as the metallic accent */
  --brass-soft: #FFFFFF;   /* lighter gold */
  --rose:       #4719AF;   /* magenta as the secondary accent */
  --line:       #E5E5E5;   /* light violet-grey hairline borders */

  /* ── Type ──────────────────────────────────────────────────────── */
  --serif: "Fraunces", "Playfair Display", Georgia, serif;
  --sans:  "Outfit", "Poppins", system-ui, -apple-system, sans-serif;

  /* ── Spatial ───────────────────────────────────────────────────── */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 4px;
  --radius-lg: 14px;

  /* ── Shadows ───────────────────────────────────────────────────── */
  --shadow-sm: 0 4px 18px rgba(31, 16, 51, 0.07);
  --shadow:    0 18px 50px rgba(31, 16, 51, 0.14);
  --shadow-lg: 0 40px 90px rgba(71,25,175, 0.20);
}

* { box-sizing: border-box; }

/* Safety net: decorative inline SVGs never render at their raw size.
   Specific icon rules below override these with exact dimensions. */
svg { max-width: 100%; max-height: 100%; }
.tu-mark, .ql-icon, .feature-badge, .btn svg { flex-shrink: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-width: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1em; }
a { color: var(--plum); text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* Decorative section eyebrow — sans, tracked, brass */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--brass);
  display: inline-block;
}

/* ════════════════════════════════════════════════════════════════
   INTERIOR PAGE HERO (compact band for non-home pages)
   ════════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  background:
    radial-gradient(120% 140% at 82% -10%, rgba(71,25,175,.20), transparent 52%),
    linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 60%, var(--magenta) 130%);
  color: #fff;
  padding: clamp(70px, 12vw, 150px) 0 clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: -100px; bottom: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71,25,175,.30), transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 400;
  margin: 18px 0 16px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-soft); }
.page-hero p {
  max-width: 560px;
  color: rgba(240,238,235,.86);
  font-size: 1.08rem;
  margin: 0;
}

/* Prose blocks on interior pages */
.prose { max-width: 760px; }
.prose p { color: #4a3d44; font-size: 1.06rem; }
.prose p.lede { color: var(--ink); font-size: 1.18rem; font-family: var(--serif); line-height: 1.5; }

/* Photo gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid .tile {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blush-deep);
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery-grid .tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gallery-grid .tile img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px){ .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .gallery-grid { grid-template-columns: 1fr; } }

/* Two-column interior layout (e.g. about portrait + text, contact form) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
.split .visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: var(--blush-deep);
  position: relative;
}
.split .visual::before {
  content:"";
  position:absolute; inset: 20px -20px -20px 20px;
  border: 1.5px solid var(--brass);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.split .visual img { width:100%; height:100%; object-fit: cover; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; } .split .visual { max-width:420px; margin:0 auto; } }

/* Simple contact form */
.form-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.form-card label { display:block; font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; color: var(--plum-soft); margin: 14px 0 6px; font-weight:600; }
.form-card input, .form-card textarea {
  width:100%; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--ivory);
}
.form-card input:focus, .form-card textarea:focus { outline:none; border-color: var(--plum); }
.form-card .btn { margin-top: 22px; }

/* ════════════════════════════════════════════════════════════════
   TOP ANNOUNCE BAR
   ════════════════════════════════════════════════════════════════ */
.announce {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #531EA4 0%, #2E16B8 100%);
  color: #fff;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 9px 16px;
}

/* ════════════════════════════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════════════════════════════ */
/* The announce bar + nav are wrapped in .site-topbar and fixed together
   as ONE unit, so they can never drift apart on scroll. */
.site-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}
.site-header {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 20px rgba(31, 16, 51, 0.05);
}
/* Offset page content for the fixed topbar. The home page hero is
   full-bleed and intentionally slides under the bar, so it uses a small
   negative margin to start beneath the fixed unit without a gap. */
body { padding-top: 107px; }            /* approx announce(35) + nav(72) */
body.has-hero { padding-top: 0; }
body.has-hero .hero { margin-top: 0; }
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
}
.nav-links {
  display: flex;
  gap: clamp(14px, 1.8vw, 30px);
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
}
.nav-links.left { justify-content: flex-end; }
.nav-links.right { justify-content: flex-start; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--brass);
  transition: width .28s ease;
}
.nav-links a:hover { color: var(--plum); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.brand-logo {
  display: block;
  margin: 0 auto;
}
.brand-logo img { height: 56px; width: auto; }

.menu-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer;
  width: 42px; height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 2px; width: 24px;
  background: var(--ink);
  transition: .3s;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════
   MOBILE NAV — slides in from the RIGHT
   ════════════════════════════════════════════════════════════════ */
.m-overlay {
  position: fixed; inset: 0;
  background: rgba(42, 24, 48, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  z-index: 90;
}
.m-overlay.open { opacity: 1; visibility: visible; }

.m-nav {
  position: fixed;
  top: 0; right: 0;            /* anchored to the RIGHT */
  height: 100%;
  width: min(86vw, 380px);
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);  /* hidden off the right edge */
  transition: transform .42s cubic-bezier(.16,.84,.44,1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 26px 28px;
  overflow-y: auto;
}
.m-nav.open { transform: translateX(0); }

.m-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.m-nav-head img { height: 46px; width: auto; }
.m-close {
  background: none; border: none;
  font-size: 1.8rem; line-height: 1;
  color: var(--ink); cursor: pointer;
}
.m-nav ul { list-style: none; margin: 18px 0 0; padding: 0; }
.m-nav li {
  opacity: 0;
  transform: translateX(24px);
}
.m-nav.open li {
  animation: mItemIn .5s forwards;
}
.m-nav.open li:nth-child(1) { animation-delay: .10s; }
.m-nav.open li:nth-child(2) { animation-delay: .16s; }
.m-nav.open li:nth-child(3) { animation-delay: .22s; }
.m-nav.open li:nth-child(4) { animation-delay: .28s; }
.m-nav.open li:nth-child(5) { animation-delay: .34s; }
.m-nav.open li:nth-child(6) { animation-delay: .40s; }
.m-nav.open li:nth-child(7) { animation-delay: .46s; }
@keyframes mItemIn { to { opacity: 1; transform: translateX(0); } }

.m-nav a {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.m-nav a:hover { color: var(--plum); padding-left: 8px; transition: .25s; }
.m-nav .m-sub a { padding-left: 16px; font-size: 0.74rem; opacity: .82; }
.m-nav .m-cta {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  background: var(--plum);
  color: var(--blush);
  border: none;
  padding: 15px;
  border-radius: var(--radius);
}
.m-nav .m-cta:hover { background: var(--plum-deep); padding-left: 15px; }

/* ════════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: linear-gradient(120deg, var(--plum) 0%, var(--magenta) 100%); color: #fff; box-shadow: 0 8px 24px rgba(71,25,175,.28); }
.btn-primary:hover { background: linear-gradient(120deg, var(--plum-deep) 0%, var(--magenta-dk) 100%); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(71,25,175,.38); color: #fff; }
.btn-ghost { background: transparent; color: var(--blush); border-color: rgba(240,238,235,.55); }
.btn-ghost:hover { background: rgba(240,238,235,.12); border-color: var(--blush); transform: translateY(-2px); }
.btn-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--ivory); transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════════
   HERO — Adobe Animate stage over autoplay video
   ════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--plum-deep);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* gradient + tint so text stays legible over any video — vibrant violet→magenta */
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 80% at 78% 28%, rgba(71,25,175,.34), transparent 58%),
    linear-gradient(115deg, rgba(31,16,51,.86) 0%, rgba(74,29,143,.66) 46%, rgba(71,25,175,.34) 100%);
}
/* Adobe Animate composition layer — sits above video, below text */
.hero-anim {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%; height: 100%;
  border: 0;
  pointer-events: none;     /* let clicks fall through to content */
  background: transparent;
}

/* ── Anime-only hero (no text/buttons) ───────────────────────────
   The Adobe Animate stage IS the hero. It floats above the video,
   centered, and is purely decorative (no clicks). */
.hero-anim-only { min-height: clamp(560px, 84vh, 920px); }
.hero-anim-only .hero-anim {
  z-index: 2;               /* in front, since there's no text layer */
  pointer-events: none;     /* decorative — no interaction */
  /* Push the animation down so there's generous space above it,
     below the fixed nav, instead of sitting tight to the top. */
  top: clamp(90px, 14vh, 200px);
  height: calc(100% - clamp(90px, 14vh, 200px));
}
/* Soften the tint a touch so the animation reads clearly on top */
/* No color film over the video on the anime-only hero — show it clean. */
.hero-anim-only .hero-bg::after {
  background: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--gutter);
}
.hero-content { max-width: 620px; color: var(--blush); }
.hero .eyebrow { color: var(--brass-soft); }
.hero .eyebrow::before { background: var(--brass-soft); }
.hero h1 {
  color: var(--blush);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 400;
  margin: 22px 0 18px;
}
.hero h1 .script {
  display: block;
  font-style: italic;
  font-size: 0.5em;
  color: var(--brass-soft);
  margin-bottom: -.1em;
  letter-spacing: 0.01em;
}
.hero h1 em { font-style: italic; color: var(--rose); }
.hero-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.5;
  color: rgba(240,238,235,.92);
  border-left: 2px solid var(--brass);
  padding-left: 22px;
  margin: 0 0 32px;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════════
   QUICK LINKS — overlapping row that floats up into the hero
   ════════════════════════════════════════════════════════════════ */
.quicklinks { position: relative; z-index: 5; margin-top: -56px; background: linear-gradient(180deg, transparent 0px, transparent 56px, var(--blush) 56px, var(--blush) 100%); }
.ql-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}
.ql-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  transition: background .3s ease, transform .3s ease;
}
.ql-card:last-child { border-right: none; }
.ql-card:hover { background: var(--blush); }
.ql-icon {
  flex: 0 0 auto;
  display: inline-block;
  width: 42px; height: 42px;
  color: var(--brass);
}
.ql-icon svg { display: block; width: 42px; height: 42px; }
.ql-title {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 5px;
}
.ql-sub {
  font-size: 0.8rem;
  color: var(--plum-soft);
  letter-spacing: 0.02em;
}

/* ════════════════════════════════════════════════════════════════
   SECTION SCAFFOLD
   ════════════════════════════════════════════════════════════════ */
.section { padding: clamp(70px, 11vw, 140px) 0; position: relative; }
.section-head { max-width: 620px; margin-bottom: 54px; }
.section-head.center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  margin: 18px 0 0;
}
.section-head h2 em {
  font-style: italic;
  background: linear-gradient(110deg, var(--plum), var(--magenta));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--plum);
}

/* ── PILLARS — three-up mission band ───────────────────────────── */
.pillars { background: var(--cream); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
/* Centered text variant (used on the About highlights row) */
.pillars-grid.center .pillar { text-align: center; }
.pillars-grid.center .pillar-ic { margin-left: auto; margin-right: auto; }
.pillar {
  position: relative;
  padding: 40px 32px 36px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brass-soft); }
.pillar-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--brass);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}
.pillar h3 { font-size: 1.42rem; margin-bottom: 12px; }
.pillar p { color: var(--plum-soft); margin: 0; font-size: 1rem; }
/* Solid single-color vector icon for highlight/pillar cards */
.pillar-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grey-soft);
  color: var(--brass);
  margin-bottom: 20px;
}
.pillar-ic svg { display: block; width: 26px; height: 26px; }
@media (max-width: 860px) { .pillars-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ── SCRIPTURE — full-width quote band ─────────────────────────── */
.scripture {
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(71,25,175,.10), transparent 60%),
    var(--blush);
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center;
}
.scripture-inner { max-width: 820px; margin: 0 auto; position: relative; }
.scripture-mark {
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--brass);
  display: block;
  height: 44px;
}
.scripture-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 24px;
}
.scripture-ref {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0;
}

/* ── FEATURE / BOOK module: overlapping image + offset card ─────── */
.feature {
  position: relative;
  background:
    linear-gradient(180deg, var(--blush) 0%, var(--ivory) 100%);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.feature-visual { position: relative; }
.feature-visual .img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: var(--blush-deep);
}
.feature-visual .img-main img { width: 100%; height: 100%; object-fit: cover; }
/* brass frame offset behind the image */
.feature-visual::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 1.5px solid var(--brass);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.feature-visual .img-main { position: relative; z-index: 1; }
/* floating stat badge overlapping the corner */
.feature-badge {
  position: absolute;
  right: -22px; bottom: -22px;
  z-index: 2;
  background: var(--plum);
  color: var(--blush);
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 180px;
}
.feature-badge .num { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--brass-soft); }
.feature-badge .lbl { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 6px; opacity: .9; }

.feature-body h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 16px 0 22px; }
.feature-body p { color: #4a3d44; font-size: 1.04rem; }
.feature-body .lede { color: var(--ink); font-size: 1.12rem; }
.feature-body .btn { margin-top: 14px; }

/* ── TWO-UP cards: speaking + prayer ───────────────────────────── */
.section.twoup { background: var(--cream); padding-top: 100px; padding-bottom: 100px; }
.twoup-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.twoup-rule { background: var(--line); width: 1px; height: 100%; }
.tu-mark { display: inline-block; width: 44px; height: 44px; color: var(--plum); margin-bottom: 20px; }
.tu-mark svg { display: block; width: 44px; height: 44px; }
.tu-card h3 { font-size: 1.7rem; margin-bottom: 16px; }
.tu-card p { color: #4a3d44; }
.tu-card .btn { margin-top: 10px; }

/* ── EVENTS strip ──────────────────────────────────────────────── */
.events { background: var(--plum-deep); color: var(--blush); position: relative; overflow: hidden; }
.events::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71,25,175,.18), transparent 70%);
}
.events .eyebrow { color: var(--brass-soft); }
.events .eyebrow::before { background: var(--brass-soft); }
.events h2 { color: var(--blush); }
.events-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.event-card {
  background: rgba(251,247,244,.05);
  border: 1px solid rgba(240,238,235,.14);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .3s ease, background .3s ease;
}
.event-card:hover { transform: translateY(-6px); background: rgba(251,247,244,.09); }
.event-date {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--brass-soft);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.event-card h4 { color: var(--blush); font-size: 1.3rem; margin-bottom: 8px; }
.event-card p { color: rgba(240,238,235,.7); font-size: 0.92rem; margin: 0; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.site-footer {
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(71,25,175,.16), transparent 55%),
    linear-gradient(160deg, var(--plum-deep) 0%, #2A0F63 100%);
  color: var(--blush);
  padding: clamp(60px, 9vw, 110px) 0 40px;
  position: relative;
}
/* thin vibrant top accent line so the darker footer still reads as branded */
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--plum), var(--magenta), var(--gold));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
}
.footer-brand img { height: 120px; width: auto; margin-bottom: 8px; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin: 0 0 6px;
  font-weight: 600;
}
.footer-col .rule { width: 30px; height: 1px; background: var(--brass-soft); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  color: rgba(240,238,235,.82);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}
.footer-col a:hover { color: #fff; padding-left: 4px; transition: .2s; }
.footer-bottom {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid rgba(240,238,235,.16);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240,238,235,.6);
}

/* ════════════════════════════════════════════════════════════════
   SCROLL-REVEAL
   ════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.16,.84,.44,1), transform .9s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
  /* Prevent the off-state transform from creating horizontal overflow */
  backface-visibility: hidden;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.from-left  { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.from-left.in, .reveal.from-right.in { transform: none; }
.reveal.scale-in { transform: scale(.94); }
.reveal.scale-in.in { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .ql-grid { grid-template-columns: repeat(2, 1fr); }
  .ql-card:nth-child(2) { border-right: none; }
  .ql-card:nth-child(1), .ql-card:nth-child(2) { border-bottom: 1px solid var(--line); }
  .events-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .nav-inner .brand-logo { justify-self: start; }
  .menu-toggle { display: flex; justify-self: end; grid-column: 3; }
  .nav-spacer { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-visual { max-width: 460px; margin: 0 auto 40px; }
  .feature-visual::before { inset: 18px -18px -18px 18px; }
  .twoup-grid { grid-template-columns: 1fr; }
  .twoup-rule { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .ql-grid { grid-template-columns: 1fr; }
  .ql-card { border-right: none; border-bottom: 1px solid var(--line); }
  .ql-card:last-child { border-bottom: none; }
  .quicklinks { margin-top: -36px; background: linear-gradient(180deg, transparent 0px, transparent 36px, var(--blush) 36px, var(--blush) 100%); }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-badge { right: 0; bottom: -16px; }
}
