/* Harvest Christian Ministries — site styles */

:root {
  --parchment: #f6efdf;
  --parchment-2: #efe4cb;
  --paper: #fbf7ee;
  --ink: #1b231f;
  --ink-soft: #46504a;
  --ink-faint: #78817b;
  --forest: #1f4d3a;
  --forest-2: #2b6a4e;
  --forest-deep: #12301f;
  --night: #0f1a2e;
  --sage: #a9bfae;
  --wheat: #d6aa4f;
  --wheat-light: #efd590;
  --gold: #b7862b;
  --crimson: #8a2f2c;
  --cream: #fbf3df;
  --line: rgba(27, 35, 31, .12);
  --line-light: rgba(251, 243, 223, .18);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-ui: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(18, 48, 31, .08), 0 4px 14px -6px rgba(18, 48, 31, .18);
  --shadow: 0 24px 60px -28px rgba(18, 48, 31, .45);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(17px, .45vw + 15px, 19.5px);
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img, svg { max-width: 100%; }
a { color: var(--forest-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--wheat); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: 10px;
  font-family: var(--font-ui); font-size: 15px; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(18px, 4.5vw, 44px);
}

.ic { width: 1.05em; height: 1.05em; flex: none; vertical-align: -.16em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#i-cross, .ic use[href="#i-cross"] { fill: currentColor; }

/* ------------------------------------------------------------------ Type */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(2.05rem, 3.4vw + .9rem, 3.5rem); font-variation-settings: "opsz" 144; }
h2 em, .hero__title span, .call h2 em { font-style: italic; font-weight: 500; color: var(--forest-2); }
h3 { font-size: 1.32rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
cite { font-style: normal; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 650; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow .ornament { width: 74px; height: 12px; color: var(--gold); fill: currentColor; }
.eyebrow--light, .eyebrow--light .ornament { color: var(--wheat-light); }

.section { position: relative; padding-block: clamp(76px, 9vw, 132px); }
main [id] { scroll-margin-top: calc(var(--header-h) + 60px); }
main .section[id] { scroll-margin-top: 60px; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin-bottom: 20px; }
.section-lede { font-size: 1.12em; color: var(--ink-soft); margin: 0; max-width: 62ch; }
.section-lede cite { display: inline-block; font-family: var(--font-ui); font-size: .72em; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-left: 6px; }
.section-head--light h2, .section-head--light h2 em { color: var(--cream); }
.section-head--light .section-lede { color: rgba(251, 243, 223, .78); }

/* ------------------------------------------------------------------ Buttons */
.btn {
  --bg: var(--forest); --fg: var(--cream); --bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-ui); font-size: 15.5px; font-weight: 620; letter-spacing: .01em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); color: var(--fg); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--gold { --bg: linear-gradient(180deg, #e7c06a, #cf9f43); --fg: #23180a; background: linear-gradient(180deg, #e9c46f, #cc9b3f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 22px -12px rgba(140, 95, 20, .8); }
.btn--forest { --bg: var(--forest); --fg: var(--cream); }
.btn--forest:hover { --bg: var(--forest-2); }
.btn--ghost-light { --bg: rgba(251, 243, 223, .1); --fg: var(--cream); --bd: rgba(251, 243, 223, .5); }
.btn--ghost-light:hover { --bg: rgba(251, 243, 223, .16); --bd: rgba(251, 243, 223, .8); }
.btn--outline-dark { --bg: transparent; --fg: var(--forest-deep); --bd: rgba(18, 48, 31, .5); }
.btn--outline-dark:hover { --bg: rgba(18, 48, 31, .06); --fg: var(--forest-deep); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); color: var(--forest);
  cursor: pointer; transition: transform .25s var(--ease), background .2s, border-color .2s;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { transform: translateY(-1px); border-color: var(--forest); }
.icon-btn--light { background: rgba(251, 243, 223, .06); border-color: rgba(251, 243, 223, .3); color: var(--cream); }
.icon-btn--light:hover { border-color: var(--wheat-light); background: rgba(251, 243, 223, .12); }

.chip-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px;
  border-radius: 999px; border: 1px solid rgba(251, 243, 223, .28); background: rgba(251, 243, 223, .06);
  color: var(--cream); font-family: var(--font-ui); font-size: 14px; font-weight: 560; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, transform .25s var(--ease);
}
.chip-btn:hover { background: rgba(251, 243, 223, .14); border-color: var(--wheat-light); color: var(--cream); transform: translateY(-1px); }
.chip-btn--dark { color: var(--forest); border-color: var(--line); background: var(--paper); }
.chip-btn--dark:hover { color: var(--forest); background: #fff; border-color: var(--forest); }

/* ------------------------------------------------------------------ Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--cream);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), color .3s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(246, 239, 223, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: opacity .4s var(--ease);
}
.site-header.is-scrolled { color: var(--ink); box-shadow: 0 10px 30px -22px rgba(18, 48, 31, .6); }
.site-header.is-scrolled::before { opacity: 1; }

.test-banner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 7px 48px 7px 18px; position: relative;
  background: linear-gradient(90deg, #c99a3f, #e3bd68 50%, #c99a3f);
  color: #2a1d08; font-family: var(--font-ui); font-size: 13.5px; line-height: 1.4; text-align: center;
}
.test-banner p { margin: 0; }
.test-banner__close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer;
}
.test-banner__close:hover { background: rgba(0, 0, 0, .08); }
.test-banner[hidden] { display: none; }

.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand__mark { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.04); }
.lm-bg { fill: var(--forest); }
.lm-ring { fill: none; stroke: var(--wheat-light); stroke-width: 1; opacity: .55; }
.lm-cross { fill: var(--wheat-light); }
.lm-wheat { fill: var(--wheat); stroke: var(--wheat); stroke-width: 1.2; stroke-linecap: round; }
.lm-wheat ellipse { stroke: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.42rem; font-weight: 650; letter-spacing: -.01em; }
.brand__sub { font-family: var(--font-ui); font-size: 10.5px; font-weight: 650; letter-spacing: .26em; text-transform: uppercase; opacity: .8; margin-top: 5px; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  position: relative; display: block; padding: 10px 13px;
  font-family: var(--font-ui); font-size: 15px; font-weight: 560; color: inherit; text-decoration: none; opacity: .9;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--wheat); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav ul a:hover, .site-nav ul a.is-active { opacity: 1; color: inherit; }
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); }

.menu-toggle {
  display: none; position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent);
  background: transparent; cursor: pointer;
}
.menu-toggle__bars { position: absolute; left: 50%; top: 50%; width: 18px; height: 12px; transform: translate(-50%, -50%); }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5px; }
.menu-toggle__bars span:nth-child(3) { top: 10px; }
.menu-open .menu-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 36px;
    padding: 110px clamp(24px, 8vw, 60px) 60px;
    background:
      radial-gradient(120% 70% at 80% 0%, rgba(214, 170, 79, .25), transparent 60%),
      linear-gradient(180deg, var(--forest-deep), #0b2016);
    color: var(--cream);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .4s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .45s var(--ease); }
  .menu-open .site-header { color: var(--cream); }
  .menu-open .site-header::before { opacity: 0; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 560; padding: 8px 0; }
  .site-nav ul a::after { left: 0; right: auto; width: 46px; bottom: 6px; }
  .site-nav__cta { align-self: flex-start; }
  .brand, .menu-toggle { position: relative; z-index: 2; }
}
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(100svh, 680px);
  display: flex; align-items: center;
  background: #13213d;
  color: var(--cream);
}
.hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.hero__motes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 16, 34, .72) 0%, rgba(9, 16, 34, .42) 38%, rgba(9, 16, 34, 0) 66%),
    linear-gradient(180deg, rgba(9, 16, 34, .35) 0%, rgba(9, 16, 34, 0) 30%);
}
.hero .layer { will-change: transform; }
.hero__rays { transform-box: view-box; transform-origin: 1000px 490px; animation: spin 160s linear infinite; mix-blend-mode: screen; }
.hero__sun { filter: blur(.4px); }
.hero__cross { filter: drop-shadow(0 0 18px rgba(255, 230, 170, .55)); }
.hero__stars circle { animation: twinkle 4s ease-in-out infinite alternate; }
.hero__stars circle:nth-child(3n) { animation-delay: -1.3s; }
.hero__stars circle:nth-child(3n+1) { animation-delay: -2.6s; animation-duration: 5.5s; }

.bird { animation: fly 70s linear infinite; }
.bird path { transform-box: fill-box; transform-origin: center; animation: flap 1.1s ease-in-out infinite; }
.bird--1 { animation-delay: -12s; }
.bird--2 { animation-delay: -38s; animation-duration: 85s; }
.bird--3 { animation-delay: -55s; animation-duration: 78s; }
.bird--2 path { animation-duration: .9s; }
.bird--3 path { animation-duration: 1.3s; }
@keyframes fly {
  0% { transform: translate(-80px, 300px); }
  50% { transform: translate(800px, 240px); }
  100% { transform: translate(1700px, 280px); }
}
.bird--2 { transform: translate(-80px, 330px); }
@keyframes flap { 50% { transform: scaleY(.45); } }

.stalk {
  transform-box: fill-box; transform-origin: 50% 100%;
  animation: sway var(--dur, 6s) ease-in-out var(--delay, 0s) infinite alternate;
}
@keyframes sway {
  from { transform: rotate(calc(var(--amp, 2.4) * -1deg)); }
  to { transform: rotate(calc(var(--amp, 2.4) * 1deg)); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }
.hero.is-paused *, .hero.is-paused { animation-play-state: paused !important; }

.hero__content { position: relative; padding-top: calc(var(--header-h) + 64px); padding-bottom: 120px; }
.hero__content > * { max-width: 660px; }
.hero__eyebrow .ic { fill: currentColor; stroke: none; }
.hero__title {
  font-size: clamp(3.1rem, 6.6vw + .6rem, 6.4rem);
  font-weight: 640; letter-spacing: -.025em; line-height: .95;
  font-variation-settings: "opsz" 144;
  color: #fff7e4;
  text-shadow: 0 2px 30px rgba(8, 14, 30, .35);
  margin-bottom: 26px;
}
.hero__title span {
  display: block; margin-top: 12px;
  font-size: .42em; letter-spacing: .005em; line-height: 1.1;
  color: var(--wheat-light);
}
.hero__verse {
  position: relative; margin: 0 0 22px; padding-left: 22px;
  border-left: 2px solid rgba(239, 213, 144, .65);
}
.hero__verse p { margin: 0 0 6px; font-size: clamp(1.15rem, .9vw + .9rem, 1.5rem); font-style: italic; line-height: 1.45; color: #fff3d9; }
.hero__verse cite { font-family: var(--font-ui); font-size: 12.5px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: var(--wheat-light); }
.hero__lede { font-size: 1.08em; color: rgba(251, 243, 223, .86); max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 30px; height: 48px; border-radius: 16px; border: 1.5px solid rgba(251, 243, 223, .55);
}
.hero__scroll span {
  position: absolute; left: 50%; top: 10px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--cream);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(16px); } }

.js [data-hero-in] { opacity: 0; transform: translateY(26px); }
.js .is-ready [data-hero-in] { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .is-ready [data-hero-in]:nth-child(2) { transition-delay: .12s; }
.js .is-ready [data-hero-in]:nth-child(3) { transition-delay: .26s; }
.js .is-ready [data-hero-in]:nth-child(4) { transition-delay: .38s; }
.js .is-ready [data-hero-in]:nth-child(5) { transition-delay: .5s; }

/* ------------------------------------------------------------------ Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ Welcome */
.welcome {
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(214, 170, 79, .16), transparent 70%),
    var(--parchment);
}
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.pillar {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, #fffaf0, var(--paper));
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.pillar::before {
  content: ""; position: absolute; inset: 10px; border-radius: 12px; pointer-events: none;
  border: 1px solid rgba(183, 134, 43, .22);
}
.js .pillar.is-visible:hover, .pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(183, 134, 43, .4); }
.pillar:nth-child(2) { transition-delay: .08s; }
.pillar:nth-child(3) { transition-delay: .16s; }
.pillar__icon {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2f7556, var(--forest)); color: var(--wheat-light);
  box-shadow: 0 10px 24px -12px rgba(18, 48, 31, .8), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.pillar__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-bottom: 10px; font-size: 1.5rem; }
.pillar p { color: var(--ink-soft); }
.pillar__verse {
  margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed rgba(183, 134, 43, .4);
  font-style: italic; color: var(--ink) !important; font-size: .96em;
}
.pillar__verse cite { display: block; margin-top: 6px; font-style: normal; font-family: var(--font-ui); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* ------------------------------------------------------------------ Verse of the day */
.votd {
  overflow: hidden; text-align: center; color: var(--cream);
  background:
    radial-gradient(80% 90% at 50% -10%, rgba(239, 213, 144, .22), transparent 60%),
    linear-gradient(180deg, #163a2a, var(--forest-deep));
}
.votd__glow {
  position: absolute; inset: -40% -20% auto; height: 140%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(239, 213, 144, .07) 0deg 4deg, transparent 4deg 14deg);
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 75%);
  animation: spin 240s linear infinite; transform-origin: 50% 0%;
}
.votd__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.votd__card { position: relative; margin: 0; max-width: 900px; }
.votd__mark {
  display: block; height: .55em; margin-bottom: 8px;
  font-family: var(--font-display); font-size: clamp(6rem, 10vw, 9rem); line-height: 1; color: var(--wheat); opacity: .65;
}
.votd__text {
  margin: 0 0 26px;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw + .7rem, 2.75rem); line-height: 1.32; letter-spacing: -.005em;
  color: #fff6df; text-wrap: balance;
  transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s;
}
.votd__text.is-changing { opacity: 0; transform: translateY(10px); filter: blur(4px); }
.votd__ref { font-family: var(--font-ui); font-size: 14px; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; color: var(--wheat-light); }
.votd__ver { margin-left: 8px; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(239, 213, 144, .45); font-size: 11px; letter-spacing: .14em; }
.votd__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 38px; }
.votd__count { min-width: 92px; font-family: var(--font-ui); font-size: 13px; letter-spacing: .08em; color: rgba(251, 243, 223, .7); }
.votd__sep { width: 1px; height: 26px; background: rgba(251, 243, 223, .2); margin-inline: 6px; }

/* ------------------------------------------------------------------ Visit */
.visit { background: linear-gradient(180deg, var(--parchment), var(--parchment-2)); }
.visit__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.services { display: grid; gap: 16px; }
.service {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: 26px 28px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.service:nth-child(2) { transition-delay: .06s; }
.service:nth-child(3) { transition-delay: .12s; }
.service__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: linear-gradient(160deg, #f3dc9f, #d9ad52); color: #3b2808;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 18px -10px rgba(140, 95, 20, .9);
}
.service__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin-bottom: 6px; }
.service__time { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; font-family: var(--font-ui); font-size: 14.5px; font-weight: 620; color: var(--forest-2); }
.service p:last-child { margin: 0; color: var(--ink-soft); }
.placeholder-tag {
  padding: 2px 8px; border-radius: 999px; background: rgba(183, 134, 43, .14); color: #7a5615;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

.visit__side { display: grid; gap: 16px; }
.upcoming, .location { border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.upcoming { padding: 24px 24px 18px; }
.upcoming__title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.15rem; }
.upcoming__title .ic { color: var(--gold); }
.upcoming__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.upcoming__item { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; padding: 10px 8px; border-radius: 12px; transition: background .2s; }
.upcoming__item:hover { background: rgba(31, 77, 58, .05); }
.upcoming__date {
  display: grid; place-items: center; align-content: center; gap: 4px; height: 58px; border-radius: 12px; line-height: 1;
  background: var(--forest); color: var(--cream); font-family: var(--font-ui);
}
.upcoming__date b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--wheat-light); }
.upcoming__date span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.upcoming__item strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.upcoming__item small { font-family: var(--font-ui); font-size: 13px; color: var(--ink-faint); }
.upcoming__note { margin: 12px 0 0; font-family: var(--font-ui); font-size: 12.5px; color: var(--ink-faint); }
.location__map { height: 130px; overflow: hidden; }
.location__map svg { width: 100%; height: 100%; display: block; }
.location__body { padding: 18px 24px 22px; }
.location__body h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 6px; }
.location__body .ic { color: var(--gold); }
.location__body p { margin: 0; color: var(--ink-soft); }

.faq { margin-top: clamp(40px, 5vw, 64px); max-width: 860px; }
.faq__title { font-size: 1.6rem; margin-bottom: 14px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; position: relative; cursor: pointer;
  padding: 20px 48px 20px 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 560;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background:
    linear-gradient(var(--forest), var(--forest)) center / 11px 1.8px no-repeat,
    linear-gradient(var(--forest), var(--forest)) center / 1.8px 11px no-repeat,
    rgba(31, 77, 58, .08);
  transition: transform .4s var(--ease), background-color .2s;
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item summary:hover { color: var(--forest-2); }
.faq__body { padding: 0 48px 22px 0; color: var(--ink-soft); }
.faq__body p { margin: 0; }
.faq__item[open] .faq__body { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ------------------------------------------------------------------ Bible study */
.study { color: var(--cream); overflow: hidden; background: var(--forest-deep); }
.study__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 100% 50%, rgba(214, 170, 79, .22), transparent 65%),
    radial-gradient(50% 60% at 0% 100%, rgba(43, 106, 78, .5), transparent 70%),
    linear-gradient(160deg, #173d2b, #0d2418);
}
.study__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(239, 213, 144, .12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, #000, transparent 60%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%);
}
.study__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.study h2 { color: #fff6df; margin-bottom: 20px; }
.study h2 em { color: var(--wheat-light); }
.study .section-lede { color: rgba(251, 243, 223, .8); }
.features { list-style: none; margin: 32px 0 34px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.features li { display: flex; gap: 12px; align-items: flex-start; font-size: .96em; color: rgba(251, 243, 223, .82); line-height: 1.45; }
.features b { color: #fff6df; font-weight: 600; }
.features svg {
  width: 36px; height: 36px; flex: none; padding: 8px; border-radius: 10px;
  background: rgba(239, 213, 144, .1); border: 1px solid rgba(239, 213, 144, .22);
  fill: none; stroke: var(--wheat-light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.study__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.study__note { margin: 18px 0 0; font-family: var(--font-ui); font-size: 13.5px; color: rgba(251, 243, 223, .6); }

.study__visual { perspective: 1400px; }
.app-mock {
  --rx: 4deg; --ry: -8deg;
  position: relative; border-radius: 20px; background: #fdfaf3; color: var(--ink);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.app-mock__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid #ece4d1; background: #f6f0e2; border-radius: 20px 20px 0 0; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #dccfb2; }
.dots i:first-child { background: #e3897c; }
.dots i:nth-child(2) { background: #e8c36c; }
.dots i:nth-child(3) { background: #8fbf8f; }
.app-mock__url { flex: 1; max-width: 240px; margin-inline: auto; padding: 4px 12px; border-radius: 8px; background: #fff; text-align: center; font-family: var(--font-ui); font-size: 12px; color: var(--ink-faint); }
.app-mock__body { padding: 26px 30px 30px; }
.app-mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-mock__book { font-family: var(--font-display); font-size: 1.7rem; font-weight: 640; }
.pill { padding: 4px 10px; border-radius: 999px; background: rgba(31, 77, 58, .1); color: var(--forest); font-family: var(--font-ui); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; }
.app-mock__text { font-size: 15.5px; line-height: 1.7; color: #2c332f; }
.app-mock__text p { margin: 0 0 6px; }
.app-mock__text sup { margin-right: 4px; font-family: var(--font-ui); font-size: 10px; font-weight: 700; color: var(--crimson); }
.app-mock__text mark { background: linear-gradient(180deg, transparent 8%, #fbe9a6 8%, #fbe9a6 92%, transparent 92%); color: inherit; padding: 0 2px; border-radius: 3px; }
.app-mock__note, .app-mock__float {
  position: absolute; display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--ink);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(27, 35, 31, .06);
  font-family: var(--font-ui); font-size: 13px; line-height: 1.4;
  transform: translateZ(60px);
}
.app-mock__note { left: -34px; bottom: -30px; max-width: 290px; }
.app-mock__float { right: -26px; top: 64px; max-width: 230px; animation: bob 6s ease-in-out infinite; }
.app-mock__note b, .app-mock__float b { display: block; margin-bottom: 2px; font-size: 12.5px; color: var(--forest); }
.app-mock__note span, .app-mock__float span { color: var(--ink-soft); }
.app-mock__note-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: #fbe9a6; }
.app-mock__note svg, .app-mock__float svg { width: 18px; height: 18px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-mock__float > svg { width: 34px; height: 34px; padding: 8px; flex: none; border-radius: 10px; background: rgba(31, 77, 58, .1); }
@keyframes bob { 50% { transform: translateZ(60px) translateY(-8px); } }

/* ------------------------------------------------------------------ Scripture */
.scripture {
  background:
    radial-gradient(50% 40% at 0% 0%, rgba(214, 170, 79, .14), transparent 70%),
    var(--parchment);
}
.plan {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(22px, 3.4vw, 48px); align-items: center;
  padding: clamp(24px, 3.4vw, 40px); border-radius: 24px;
  background: linear-gradient(135deg, #fffaf0, var(--paper));
  border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.plan::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 170, 79, .22), transparent 70%); pointer-events: none;
}
.plan__ring { position: relative; width: 148px; height: 148px; }
.plan__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.plan__track { fill: none; stroke: rgba(31, 77, 58, .1); stroke-width: 9; }
.plan__progress { fill: none; stroke: var(--wheat); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset 1.4s var(--ease); }
.plan__ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.plan__day { font-family: var(--font-display); font-size: 2.6rem; font-weight: 650; color: var(--forest); }
.plan__of { margin-top: 6px; font-family: var(--font-ui); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.plan__kicker { margin: 0 0 6px; font-family: var(--font-ui); font-size: 12.5px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.plan__reading { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(1.7rem, 2.4vw + .6rem, 2.6rem); font-weight: 620; line-height: 1.1; letter-spacing: -.015em; transition: opacity .3s; }
.plan__meta { margin: 0 0 18px; color: var(--ink-soft); }
.plan__nav { display: flex; align-items: center; gap: 10px; }
.plan__side { display: grid; gap: 14px; justify-items: start; min-width: 220px; position: relative; z-index: 1; }
.plan__mark[aria-pressed="true"] { --bg: var(--wheat); --fg: #2a1d08; }
.plan__week { display: flex; gap: 7px; }
.plan__week span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid rgba(31, 77, 58, .25); font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; color: var(--ink-faint);
  transition: background .3s, border-color .3s, color .3s;
}
.plan__week span.is-done { background: var(--forest); border-color: var(--forest); color: var(--wheat-light); }
.plan__week span.is-today { box-shadow: 0 0 0 3px rgba(214, 170, 79, .45); }
.plan__streak { margin: 0; font-family: var(--font-ui); font-size: 13.5px; color: var(--ink-soft); }
.plan__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: 14.5px; font-weight: 620; text-decoration: none; }

.books { margin-top: clamp(48px, 6vw, 80px); }
.books__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.books__title { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.1rem); }
.books__sub { margin: 4px 0 0; font-family: var(--font-ui); font-size: 14px; color: var(--ink-faint); }
.books__tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(31, 77, 58, .08); }
.seg__btn {
  border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--ink-soft);
  transition: background .25s, color .25s, box-shadow .25s;
}
.seg__btn.is-active { background: var(--paper); color: var(--forest); box-shadow: 0 2px 8px -3px rgba(18, 48, 31, .35); }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--ink-faint); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input {
  width: 220px; height: 44px; padding: 0 16px 0 42px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  font-family: var(--font-ui); font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--forest-2); box-shadow: 0 0 0 4px rgba(43, 106, 78, .12); }

.books__legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.legend-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(251, 247, 238, .7); cursor: pointer;
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  transition: background .2s, border-color .2s, opacity .2s;
}
.legend-chip i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.legend-chip:hover { border-color: var(--c); }
.legend-chip[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.legend-chip[aria-pressed="true"] i { background: rgba(255, 255, 255, .85); }

.books__layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.shelf {
  --row: 168px; --plank: 12px; --gap: 26px;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--gap) 5px;
  padding: 8px 14px 0; border-radius: 14px;
  background:
    repeating-linear-gradient(180deg,
      transparent 0, transparent calc(var(--row) + 8px),
      #8b6438 calc(var(--row) + 8px), #a67c4c calc(var(--row) + 10px), #7a552c calc(var(--row) + 8px + var(--plank)),
      transparent calc(var(--row) + 8px + var(--plank)), transparent calc(var(--row) + var(--gap) + 8px)),
    linear-gradient(180deg, rgba(122, 85, 44, .06), rgba(122, 85, 44, .1));
  min-height: calc(var(--row) + 30px);
}
.spine {
  --h: 140px;
  position: relative; height: var(--row); width: var(--w, 40px); flex: none;
  display: flex; align-items: flex-end; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.spine__body {
  position: relative; width: 100%; height: var(--h); border-radius: 4px 4px 2px 2px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .14) 22%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .18)),
    var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 2px 0 3px -1px rgba(0, 0, 0, .25);
  color: #fff8e6; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .3s;
}
.spine__body::before, .spine__body::after {
  content: ""; position: absolute; left: 4px; right: 4px; height: 2px; background: rgba(239, 213, 144, .75);
}
.spine__body::before { top: 10px; box-shadow: 0 5px 0 rgba(239, 213, 144, .55); }
.spine__body::after { bottom: 12px; box-shadow: 0 -5px 0 rgba(239, 213, 144, .55); }
.spine__name {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(180deg);
  writing-mode: vertical-rl; white-space: nowrap;
  font-family: var(--font-display); font-size: var(--fs, 13px); font-weight: 600; letter-spacing: .02em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}
.spine:hover .spine__body, .spine:focus-visible .spine__body { transform: translateY(-10px); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 14px 18px -10px rgba(0, 0, 0, .5); }
.spine[aria-pressed="true"] .spine__body { transform: translateY(-16px); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--wheat), 0 18px 22px -12px rgba(0, 0, 0, .55); }
.spine:focus-visible { outline: none; }
.spine.is-hidden { display: none; }
.shelf__empty { width: 100%; align-self: center; padding: 40px 0; text-align: center; color: var(--ink-faint); font-family: var(--font-ui); font-size: 15px; }

.book-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  min-height: 300px; padding: 28px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.book-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--c, var(--wheat)); }
.book-card__empty { margin: 60px 0 0; text-align: center; color: var(--ink-faint); font-style: italic; }
.book-card__cat { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-family: var(--font-ui); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.book-card__cat i { width: 9px; height: 9px; border-radius: 2px; background: var(--c); }
.book-card h4 { font-size: 2rem; font-weight: 640; margin-bottom: 10px; }
.book-card__summary { color: var(--ink-soft); margin-bottom: 18px; }
.book-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.book-card__stats div { padding: 12px 14px; border-radius: 12px; background: rgba(31, 77, 58, .06); }
.book-card__stats b { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 650; color: var(--forest); line-height: 1.1; }
.book-card__stats span { font-family: var(--font-ui); font-size: 12px; color: var(--ink-faint); }
.book-card__chapters { display: flex; flex-wrap: wrap; gap: 4px; max-height: 118px; overflow: auto; margin-bottom: 20px; padding-right: 4px; }
.book-card__chapters span { display: grid; place-items: center; min-width: 30px; height: 28px; padding: 0 6px; border-radius: 7px; background: rgba(31, 77, 58, .07); font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--forest); }
.book-card.is-in { animation: cardIn .5s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }

/* ------------------------------------------------------------------ Pray */
.pray { color: var(--cream); overflow: hidden; background: var(--night); }
.pray__sky {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 50% 105%, rgba(240, 180, 100, .4), transparent 70%),
    radial-gradient(60% 40% at 50% 100%, rgba(214, 120, 90, .25), transparent 70%),
    linear-gradient(180deg, #0b1427, #1c2546 60%, #3a2f4a);
}
.pray__sky::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff7e0, transparent),
    radial-gradient(1px 1px at 28% 36%, #fff7e0, transparent),
    radial-gradient(1.3px 1.3px at 47% 12%, #fff7e0, transparent),
    radial-gradient(1px 1px at 63% 28%, #fff7e0, transparent),
    radial-gradient(1.4px 1.4px at 78% 10%, #fff7e0, transparent),
    radial-gradient(1px 1px at 88% 34%, #fff7e0, transparent),
    radial-gradient(1.1px 1.1px at 6% 44%, #fff7e0, transparent),
    radial-gradient(1px 1px at 92% 52%, #fff7e0, transparent),
    radial-gradient(1.2px 1.2px at 36% 6%, #fff7e0, transparent),
    radial-gradient(1px 1px at 70% 46%, #fff7e0, transparent);
  opacity: .8; animation: twinkle 6s ease-in-out infinite alternate;
}
.pray__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.pray .section-head { margin-inline: auto; width: 100%; }
.pray .section-head h2 { font-size: clamp(1.9rem, 3vw + .8rem, 3.1rem); }
.pray .section-head h2 em { color: var(--wheat-light); }

.acts {
  width: 100%; max-width: 860px; padding: clamp(22px, 3.4vw, 40px); border-radius: 26px;
  background: linear-gradient(180deg, rgba(251, 243, 223, .08), rgba(251, 243, 223, .04));
  border: 1px solid rgba(251, 243, 223, .16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
  text-align: left;
}
.acts__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; }
.acts__tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px 10px; border-radius: 16px;
  border: 1px solid transparent; background: transparent; color: rgba(251, 243, 223, .6); cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.acts__tab b { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1; }
.acts__tab span { font-family: var(--font-ui); font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.acts__tab:hover { color: var(--cream); }
.acts__tab.is-active { background: rgba(239, 213, 144, .12); border-color: rgba(239, 213, 144, .35); color: var(--wheat-light); }
.acts__tab.is-done b { color: var(--wheat); }
.acts__panels { min-height: 230px; }
.acts__panel h3 { font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem); color: #fff6df; margin-bottom: 12px; }
.acts__panel > p { color: rgba(251, 243, 223, .8); max-width: 62ch; }
.acts__panel blockquote {
  margin: 22px 0 0; padding: 18px 22px; border-radius: 14px; border-left: 3px solid var(--wheat);
  background: rgba(11, 20, 39, .35); font-style: italic; font-size: 1.12em; line-height: 1.5; color: #fff3d9;
}
.acts__panel blockquote cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--font-ui); font-size: 12px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: var(--wheat-light); }
.acts__panel.is-active { animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(14px); } }
.acts__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.acts__progress { flex: 1; height: 4px; border-radius: 4px; background: rgba(251, 243, 223, .12); overflow: hidden; }
.acts__progress span { display: block; height: 100%; width: 25%; border-radius: 4px; background: linear-gradient(90deg, var(--wheat), var(--wheat-light)); transition: width .6s var(--ease); }
.acts__buttons { display: flex; gap: 10px; }
.acts__amen { text-align: center; padding: 10px 0 4px; animation: panelIn .6s var(--ease); }
.acts__amen-word { margin: 0 0 6px; font-family: var(--font-display); font-style: italic; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--wheat-light); }
.acts__amen p { color: rgba(251, 243, 223, .82); }
.acts__amen-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* ------------------------------------------------------------------ Beliefs */
.beliefs { background: linear-gradient(180deg, var(--parchment), var(--parchment-2)); }
.beliefs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.belief { position: relative; height: 230px; padding: 0; border: 0; background: transparent; cursor: pointer; perspective: 1200px; text-align: left; }
.belief:nth-child(3n+2) { transition-delay: .07s; }
.belief:nth-child(3n) { transition-delay: .14s; }
.belief__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.belief[aria-pressed="true"] .belief__inner { transform: rotateY(180deg); }
.belief__face {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.belief__front { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .4s, transform .4s var(--ease); }
.belief:hover .belief__front { box-shadow: var(--shadow); }
.belief__front svg {
  position: absolute; top: 24px; left: 26px; width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  background: rgba(214, 170, 79, .16); fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.belief__front b { font-family: var(--font-display); font-size: 1.42rem; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.belief__front small { margin-top: 10px; font-family: var(--font-ui); font-size: 12px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-2); }
.belief__front small::after { content: " →"; }
.belief__back {
  transform: rotateY(180deg); justify-content: center;
  background: linear-gradient(160deg, var(--forest), var(--forest-deep)); color: #fff3d9;
  font-style: italic; font-size: 1.02rem; line-height: 1.5;
  box-shadow: var(--shadow);
}
.belief__back cite { margin-top: 12px; font-style: normal; font-family: var(--font-ui); font-size: 11.5px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: var(--wheat-light); }

/* ------------------------------------------------------------------ Call band */
.call { position: relative; overflow: hidden; padding-block: clamp(80px, 9vw, 120px); text-align: center; color: var(--forest-deep); background: linear-gradient(180deg, #f2d48d, #dcae55); }
.call__wheat {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='160' viewBox='0 0 120 160'%3E%3Cg fill='none' stroke='%237a5615' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M30 160V70M90 160V90'/%3E%3C/g%3E%3Cg fill='%237a5615'%3E%3Cellipse cx='25' cy='84' rx='3' ry='7' transform='rotate(-25 25 84)'/%3E%3Cellipse cx='35' cy='84' rx='3' ry='7' transform='rotate(25 35 84)'/%3E%3Cellipse cx='25' cy='98' rx='3' ry='7' transform='rotate(-25 25 98)'/%3E%3Cellipse cx='35' cy='98' rx='3' ry='7' transform='rotate(25 35 98)'/%3E%3Cellipse cx='30' cy='70' rx='3' ry='7'/%3E%3Cellipse cx='85' cy='104' rx='3' ry='7' transform='rotate(-25 85 104)'/%3E%3Cellipse cx='95' cy='104' rx='3' ry='7' transform='rotate(25 95 104)'/%3E%3Cellipse cx='85' cy='118' rx='3' ry='7' transform='rotate(-25 85 118)'/%3E%3Cellipse cx='95' cy='118' rx='3' ry='7' transform='rotate(25 95 118)'/%3E%3Cellipse cx='90' cy='90' rx='3' ry='7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 160px; background-position: bottom center;
  mask-image: linear-gradient(180deg, transparent, #000 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%);
}
.call__inner { position: relative; }
.call__ornament { width: 200px; height: 22px; color: var(--forest); fill: currentColor; margin-bottom: 20px; }
.call h2 { max-width: 880px; margin-inline: auto; font-size: clamp(2rem, 3.6vw + .7rem, 3.6rem); color: var(--forest-deep); }
.call h2 em { color: var(--forest-2); }
.call__ref { margin: 16px 0 34px; font-family: var(--font-ui); font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #6a4a10; }
.call__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ------------------------------------------------------------------ Footer */
.site-footer { position: relative; padding-top: 72px; background: #0c2116; color: rgba(251, 243, 223, .75); font-family: var(--font-ui); font-size: 15px; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--wheat), transparent); opacity: .6; }
.site-footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 48px; }
.brand--footer { color: var(--cream); margin-bottom: 18px; }
.site-footer__brand p { max-width: 34ch; margin: 0; line-height: 1.6; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site-footer h4 { margin-bottom: 14px; font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--wheat-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(251, 243, 223, .82); text-decoration: none; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(251, 243, 223, .12); font-size: 13px; color: rgba(251, 243, 223, .55); }
.site-footer__bottom p { margin: 0; }

/* ------------------------------------------------------------------ Toast */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 200;
  padding: 12px 20px; border-radius: 999px; background: var(--forest-deep); color: var(--cream);
  font-family: var(--font-ui); font-size: 14.5px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6);
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .books__layout { grid-template-columns: 1fr; }
  .book-card { position: relative; top: 0; min-height: 0; }
  .book-card__empty { margin: 8px 0; }
}
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr; max-width: 640px; }
  .visit__grid { grid-template-columns: 1fr; }
  .study__inner { grid-template-columns: 1fr; }
  .study__visual { max-width: 620px; margin: 10px auto 40px; width: 100%; }
  .plan { grid-template-columns: auto 1fr; }
  .plan__side { grid-column: 1 / -1; grid-template-columns: auto auto; align-items: center; justify-content: start; gap: 14px 22px; }
  .beliefs__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.25rem; }
  .brand__sub { font-size: 9.5px; letter-spacing: .2em; }
  .test-banner { font-size: 12.5px; justify-content: flex-start; text-align: left; }
  .hero { min-height: max(100svh, 640px); align-items: flex-start; }
  .hero__content { padding-top: calc(var(--header-h) + 64px); padding-bottom: 150px; }
  .hero__scrim { background: linear-gradient(180deg, rgba(9, 16, 34, .7) 0%, rgba(9, 16, 34, .45) 52%, rgba(9, 16, 34, 0) 78%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .features { grid-template-columns: 1fr; }
  .votd__sep { display: none; }
  .service { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .plan { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .plan__nav { justify-content: center; }
  .plan__side { grid-template-columns: 1fr; justify-items: center; }
  .books__tools, .search, .search input { width: 100%; }
  .seg { width: 100%; }
  .seg__btn { flex: 1; padding-inline: 8px; }
  .shelf { --row: 150px; padding-inline: 8px; }
  .acts__tab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .acts__tab b { font-size: 1.8rem; }
  .acts__tab { padding: 12px 4px; }
  .acts__foot { flex-direction: column; align-items: stretch; }
  .acts__buttons .btn { flex: 1; }
  .beliefs__grid { grid-template-columns: 1fr; }
  .belief { height: 210px; }
  .app-mock { --rx: 0deg; --ry: 0deg; }
  .app-mock__body { padding: 20px; }
  .app-mock__note { position: relative; left: auto; bottom: auto; margin: -8px 12px 12px; max-width: none; transform: none; }
  .app-mock__float { display: none; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-hero-in] { opacity: 1; transform: none; }
  .belief[aria-pressed="true"] .belief__inner { transform: none; }
  .belief[aria-pressed="true"] .belief__front { opacity: 0; }
  .belief__back { transform: none; opacity: 0; }
  .belief[aria-pressed="true"] .belief__back { opacity: 1; }
}

/* ================================================================== Photography (Astra set) */
/* Hero photograph with a slow drift; light motes and the scrim sit on top. */
.hero__photo { position: absolute; inset: -2% 0 0; z-index: -3; overflow: hidden; background: #2b2f4c; will-change: transform; }
.hero__photo picture, .hero__photo img { display: block; width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: 70% 50%; transform-origin: 74% 46%; animation: kenburns 34s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero__scrim {
  background:
    linear-gradient(90deg, rgba(10, 14, 32, .8) 0%, rgba(10, 14, 32, .55) 34%, rgba(10, 14, 32, .12) 60%, rgba(10, 14, 32, 0) 72%),
    linear-gradient(180deg, rgba(10, 14, 32, .45) 0%, rgba(10, 14, 32, 0) 28%, rgba(10, 14, 32, 0) 70%, rgba(10, 14, 32, .35) 100%);
}
@media (max-aspect-ratio: 4/5) {
  .hero__photo img { object-position: 62% 40%; transform-origin: 70% 42%; }
}

/* Pillar cards: photo header with the icon medallion overlapping it */
.pillar { padding: 0 0 30px; overflow: hidden; }
.pillar::before { display: none; }
.pillar__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--parchment-2); }
.pillar__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.06); }
.pillar__icon { position: relative; z-index: 1; margin: -29px 0 16px 28px; border: 4px solid var(--paper); box-sizing: content-box; }
.pillar h3, .pillar > p { margin-inline: 30px; }
.pillar .pillar__verse { margin: 18px 30px 0; }

/* Verse of the day over the open-Bible photograph */
.votd {
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(239, 213, 144, .16), transparent 65%),
    linear-gradient(180deg, rgba(9, 28, 19, .74), rgba(7, 22, 15, .88)),
    url("/assets/img/verse-bg-2000.jpg") 60% 55% / cover no-repeat,
    var(--forest-deep);
}
.votd__glow { display: none; }
.votd__text { text-shadow: 0 2px 28px rgba(0, 0, 0, .45); }

/* Visit card photograph */
.location__map { height: 200px; }
.location__map img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Bible Study: group photo peeking out behind the app preview */
.study__visual { position: relative; padding-top: 150px; }
.study__photo {
  position: absolute; top: 0; right: -28px; width: 80%; margin: 0;
  aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08);
}
.study__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(12, 33, 22, .55)); }
.study__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.study__visual .app-mock { width: 88%; z-index: 1; }

/* Pray with us: lantern-lit night field */
.pray__sky {
  background:
    linear-gradient(180deg, rgba(7, 12, 28, .72) 0%, rgba(7, 12, 28, .38) 45%, rgba(7, 12, 28, .6) 100%),
    url("/assets/img/pray-bg-2000.jpg") 50% 70% / cover no-repeat,
    var(--night);
}
.pray__sky::before { display: none; }

/* Closing banner over backlit wheat */
.call {
  background:
    linear-gradient(180deg, rgba(249, 238, 210, .86), rgba(242, 222, 170, .8)),
    url("/assets/img/wheat-band-2000.jpg") 50% 45% / cover no-repeat,
    #ecd28f;
}
.call__wheat { display: none; }

@media (max-width: 960px) {
  .study__visual { padding-top: 0; }
  .study__photo { position: relative; right: auto; width: 100%; margin-bottom: -56px; }
  .study__visual .app-mock { width: 92%; margin-inline: auto; }
}
@media (max-width: 900px) {
  .votd { background-image: radial-gradient(70% 80% at 50% 0%, rgba(239, 213, 144, .16), transparent 65%), linear-gradient(180deg, rgba(9, 28, 19, .74), rgba(7, 22, 15, .88)), url("/assets/img/verse-bg-1000.jpg"); }
  .pray__sky { background-image: linear-gradient(180deg, rgba(7, 12, 28, .72) 0%, rgba(7, 12, 28, .38) 45%, rgba(7, 12, 28, .6) 100%), url("/assets/img/pray-bg-1000.jpg"); background-position: 80% 70%; }
  .call { background-image: linear-gradient(180deg, rgba(249, 238, 210, .86), rgba(242, 222, 170, .8)), url("/assets/img/wheat-band-1000.jpg"); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__photo img { animation: none; transform: scale(1.04); }
}
