/* =============================================================
   Apostle Thomas Johnson Ministries
   Motif: the tri-fold. Panels and content unfold along creases.
   ============================================================= */
:root {
  --midnight: #151A33;
  --midnight-2: #1D2446;
  --midnight-3: #262E57;
  --pearl: #F6F4F9;
  --pearl-2: #ECE8F2;
  --gold: #C8A04A;
  --gold-lt: #EAD7A1;
  --gold-dk: #9C7A2E;
  --sky: #D7E7F5;
  --sky-2: #EEF1FA;
  --dawn: #FFF5E0;
  --plum: #2A0E39;
  --royal: #4E1F66;
  --orchid: #9C6CB7;
  --blush: #EBD9F0;
  --ink: #1F2238;
  --ink-soft: #4A4E68;

  --display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-fold: cubic-bezier(.65, .02, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1220px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--midnight);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; color: transparent; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.12; letter-spacing: .005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--gold); color: var(--midnight); padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

/* ---------- shared type ---------- */
.tag { font-family: var(--script); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1; color: var(--gold); display: inline-block; transform: rotate(-3deg); }
.sec-title { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 18ch; }
.sec-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.7; max-width: 62ch; font-weight: 300; }
.sub-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.verse { margin: 1.6em 0; padding-left: 1.2em; border-left: 2px solid var(--gold); }
.verse p { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; margin-bottom: .4em; }
.verse cite { font-style: normal; font-size: .9rem; color: var(--gold); letter-spacing: .04em; }
.verse--sm p { font-size: 1.15rem; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.5em; border-radius: 999px;
  font-weight: 500; font-size: 1rem; text-decoration: none; border: 1.5px solid var(--b);
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), color .3s, background .3s, box-shadow .4s;
}
.btn--gold { background: linear-gradient(120deg, #B98E37, var(--gold) 40%, #E2C67E 70%, var(--gold)); background-size: 220% 100%; color: var(--midnight); border-color: transparent; }
.btn--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 10px 30px -10px rgba(200,160,74,.7); transform: translateY(-2px); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(200,160,74,.14); border-color: var(--gold); transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: .55em 1.15em; font-size: .95rem; }
.btn--wide { width: 100%; font-size: 1.1rem; min-height: 56px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* ---------- load veil ---------- */
.veil { position: fixed; inset: 0; z-index: 300; background: var(--midnight); display: grid; place-items: center; pointer-events: none; transition: opacity .7s var(--ease) .1s, visibility 0s .8s; }
.veil__mark { width: min(260px, 60vw); fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.veil__line, .veil__crown { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) forwards; }
.veil__crown { animation-delay: .5s; stroke: var(--gold-lt); }
.is-loaded .veil { opacity: 0; visibility: hidden; }
html:not(.js) .veil { display: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  color: var(--pearl);
  transition: background .5s, color .5s, box-shadow .5s, transform .5s var(--ease);
}
.nav.is-solid { background: color-mix(in srgb, var(--nav-bg, var(--midnight)) 82%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(200,160,74,.25); }
.nav.is-hidden { transform: translateY(-100%); }
.nav[data-theme="book"] { --nav-bg: #EEF1FA; color: var(--ink); }
.nav[data-theme="queens"] { --nav-bg: var(--plum); }
.nav[data-theme="give"] { --nav-bg: var(--pearl); color: var(--ink); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark circle { fill: var(--gold); stroke: none; }
.brand__text { display: flex; flex-direction: column; font-family: var(--display); font-size: 1.08rem; line-height: 1.1; }
.brand__text small { font-family: var(--body); font-size: .76rem; letter-spacing: .03em; opacity: .8; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { position: relative; text-decoration: none; padding: 8px 14px; font-size: .96rem; border-radius: 999px; transition: background .3s; }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__give { min-height: 42px; padding: .5em 1.4em; }
.nav__burger { display: none; width: 46px; height: 46px; border: 1.5px solid currentColor; border-radius: 50%; background: none; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* mobile drawer: three panels fold down */
.drawer { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; color: var(--pearl); }
.drawer[hidden] { display: none; }
.drawer__panels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); perspective: 1200px; }
.drawer__panels i { background: var(--midnight-2); transform-origin: top; animation: foldDown .6s var(--ease-fold) both; }
.drawer__panels i:nth-child(2) { background: var(--midnight-3); animation-delay: .08s; }
.drawer__panels i:nth-child(3) { background: #2D1844; animation-delay: .16s; }
@keyframes foldDown { from { transform: rotateX(-90deg); } to { transform: none; } }
.drawer__links { position: relative; display: flex; flex-direction: column; gap: 6px; }
.drawer__links a { font-family: var(--display); font-size: clamp(1.8rem, 7vw, 2.6rem); text-decoration: none; padding: 6px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 14px; opacity: 0; transform: translateY(18px); animation: rise .6s var(--ease) forwards; }
.drawer__links a:nth-child(1) { animation-delay: .25s; } .drawer__links a:nth-child(2) { animation-delay: .31s; } .drawer__links a:nth-child(3) { animation-delay: .37s; } .drawer__links a:nth-child(4) { animation-delay: .43s; } .drawer__links a:nth-child(5) { animation-delay: .49s; }
.drawer__links em { font-family: var(--script); font-style: normal; color: var(--gold); font-size: 1.4rem; }
.drawer__phone { position: relative; margin-top: 28px; color: var(--gold); font-size: 1.15rem; text-decoration: none; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- fold rail ---------- */
.rail { position: fixed; right: 18px; top: 50%; z-index: 80; display: flex; flex-direction: column; gap: 8px; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity .5s; }
.rail.is-on { opacity: 1; pointer-events: auto; }
.rail__seg { position: relative; display: block; width: 4px; height: 54px; border-radius: 4px; background: rgba(200,160,74,.25); }
.rail__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--gold); transform: scaleY(var(--p, 0)); transform-origin: top; transition: transform .15s linear; }
.rail__label { position: absolute; right: 18px; top: 50%; transform: translate(8px, -50%); white-space: nowrap; font-size: .85rem; background: var(--midnight); color: var(--pearl); padding: 5px 12px; border-radius: 999px; opacity: 0; transition: .35s var(--ease); pointer-events: none; }
.rail__seg:hover .rail__label, .rail__seg:focus-visible .rail__label { opacity: 1; transform: translate(0, -50%); }

/* =============================================================
   HERO / TRI-FOLD
   ============================================================= */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 20px) var(--gutter) 28px; display: flex; flex-direction: column; color: var(--pearl); background: radial-gradient(120% 70% at 50% 0%, #283062 0%, var(--midnight) 60%); overflow: hidden; }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero__head { position: relative; z-index: 2; text-align: center; margin: 0 auto 22px; }
.hero__title { font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1.02; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line:last-child { font-size: .46em; letter-spacing: .2em; color: var(--gold-lt); margin-top: .35em; padding-left: .14em; }
.hero__sub { margin: 12px auto 0; font-weight: 300; font-size: clamp(1rem, 1.5vw, 1.18rem); opacity: .85; max-width: 46ch; }
.js .hero__title .line, .js .hero__sub { opacity: 0; transform: translateY(24px); }
.is-loaded .hero__title .line, .is-loaded .hero__sub { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-loaded .hero__title .line:nth-child(2) { transition-delay: .12s; }
.is-loaded .hero__sub { transition-delay: .25s; }

.trifold { position: relative; z-index: 2; flex: 1; display: flex; min-height: 440px; max-height: 720px; width: 100%; max-width: 1500px; margin: 0 auto; perspective: 2200px; border-radius: 18px; }
.fold { position: relative; flex: 1; overflow: hidden; text-decoration: none; color: var(--pearl); transition: flex-grow .9s var(--ease), transform 1.5s var(--ease-fold), filter 1.5s; outline-offset: -4px; }
.fold:first-child { border-radius: 18px 0 0 18px; }
.fold:last-child { border-radius: 0 18px 18px 0; }
.fold img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.fold--l { background: linear-gradient(160deg, #2A3366, #121630); }
.fold--c { background: linear-gradient(170deg, #E8D29A, #7B8FB2); }
.fold--r { background: linear-gradient(160deg, #5B2B78, #22092F); }
.fold__shade { position: absolute; inset: 0; pointer-events: none; }
.fold--l .fold__shade { background: linear-gradient(180deg, rgba(21,26,51,.15) 20%, rgba(21,26,51,.92) 100%), linear-gradient(90deg, transparent 85%, rgba(0,0,0,.35)); }
.fold--c .fold__shade { background: linear-gradient(180deg, rgba(40,30,10,.05) 25%, rgba(46,36,20,.85) 100%), linear-gradient(90deg, rgba(0,0,0,.2), transparent 12%, transparent 88%, rgba(0,0,0,.2)); }
.fold--r .fold__shade { background: linear-gradient(180deg, rgba(42,14,57,.15) 20%, rgba(42,14,57,.94) 100%), linear-gradient(270deg, transparent 85%, rgba(0,0,0,.35)); }
.fold::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,0) 60%); transition: opacity 1.5s var(--ease-fold); }
.fold--r::after { background: linear-gradient(270deg, rgba(0,0,0,.65), rgba(0,0,0,0) 60%); }
.fold__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 8px; }
.fold__title { font-family: var(--display); font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.05; }
.fold__text { font-size: .98rem; font-weight: 300; max-width: 30ch; opacity: .88; }
.fold__cta { margin-top: 10px; align-self: flex-start; font-size: .92rem; font-weight: 500; padding: 9px 18px; border: 1.5px solid var(--gold); border-radius: 999px; color: var(--gold-lt); transition: background .4s, color .4s; }
.fold:hover, .fold:focus-visible { flex-grow: 1.55; }
.fold:hover img, .fold:focus-visible img { transform: scale(1.01); }
.fold:hover .fold__cta, .fold:focus-visible .fold__cta { background: var(--gold); color: var(--midnight); }
/* crease lines */
.fold + .fold { box-shadow: -1px 0 0 rgba(234,215,161,.5); }

/* the unfold */
.js .fold--l { transform-origin: 100% 50%; transform: rotateY(86deg); }
.js .fold--r { transform-origin: 0 50%; transform: rotateY(-86deg); }
.js .fold--c { transform: scale(.94); filter: brightness(.6); }
.js .fold--l::after, .js .fold--r::after { opacity: 1; }
.is-open .fold--l, .is-open .fold--r { transform: none; }
.is-open .fold--c { transform: none; filter: none; }
.is-open .fold--l::after, .is-open .fold--r::after { opacity: 0; }
.is-open .fold--r { transition-delay: 0s, .18s, .18s; }
.js .fold__body > * { opacity: 0; transform: translateY(16px); }
.is-open .fold__body > * { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-open .fold__body > *:nth-child(1) { transition-delay: 1.1s; } .is-open .fold__body > *:nth-child(2) { transition-delay: 1.2s; } .is-open .fold__body > *:nth-child(3) { transition-delay: 1.3s; } .is-open .fold__body > *:nth-child(4) { transition-delay: 1.4s; }

.quick { position: relative; z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quick__item { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(234,215,161,.35); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); color: var(--pearl); text-decoration: none; font-size: .98rem; transition: background .35s, border-color .35s, transform .35s var(--ease); }
.quick__item svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.quick__item:hover { background: rgba(200,160,74,.16); border-color: var(--gold); transform: translateY(-2px); }
.quick__item--gold { background: var(--gold); color: var(--midnight); border-color: var(--gold); }
.quick__item--gold svg { stroke: var(--midnight); }
.quick__item--gold:hover { background: var(--gold-lt); }
.js .quick { opacity: 0; transform: translateY(14px); }
.is-open .quick { opacity: 1; transform: none; transition: 1s var(--ease) 1.5s; }

/* =============================================================
   SCROLL REVEALS — everything unfolds along a crease
   ============================================================= */
.js .unfold { opacity: 0; transform: perspective(1100px) rotateX(-16deg) translateY(36px); transform-origin: 50% 0; transition: opacity 1s var(--ease), transform 1.2s var(--ease-fold); }
.js .unfold.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-fold); }
.js .reveal-img img { transform: scale(1.18); transition: transform 2s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in img { transform: scale(1.04); }
.draw path, .draw circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); }
.is-in .draw path, .is-in .draw circle, .is-in.draw path { stroke-dashoffset: 0; }

/* =============================================================
   SECTION SHELL
   ============================================================= */
.fold-sec { position: relative; padding: clamp(80px, 10vw, 140px) var(--gutter); }
.fold-sec > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.sec-head { position: relative; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .tag { margin-bottom: 8px; }
.sec-head .sec-title { margin-bottom: 22px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-title, .sec-head--center .sec-lead { margin-left: auto; margin-right: auto; }
.ornament { width: min(340px, 70%); height: 48px; fill: none; stroke: var(--gold); stroke-width: 1.4; margin-bottom: 18px; display: block; }

/* =============================================================
   FOLD ONE: APOSTLE
   ============================================================= */
.apostle { background: var(--midnight); color: var(--pearl); }
.apostle .sec-lead { color: #D9DBEA; }
.bio { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; margin-bottom: clamp(80px, 10vw, 130px); }
.bio__media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 220px 220px 14px 14px; position: relative; background: var(--midnight-2); }
.bio__media img { width: 100%; height: 118%; object-fit: cover; }
.bio__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(234,215,161,.4); pointer-events: none; }
.bio__text h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .6em; color: var(--gold-lt); }
.bio__text p { color: #D2D5E6; font-weight: 300; max-width: 56ch; }
.bio__text .verse p { color: var(--pearl); }

.facets { margin-bottom: clamp(80px, 10vw, 130px); }
.facets .sub-title { margin-bottom: 26px; }
.facets__tabs { position: relative; display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid rgba(234,215,161,.2); margin-bottom: 36px; }
.facets__tabs button { background: none; border: 0; padding: 14px 18px; font-size: 1rem; color: #B9BDD6; transition: color .3s; }
.facets__tabs button[aria-selected="true"], .facets__tabs button:hover { color: var(--pearl); }
.facets__ink { position: absolute; bottom: -1px; height: 2px; background: var(--gold); left: 0; width: 0; transition: transform .6s var(--ease), width .6s var(--ease); }
.facets__panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.facets__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--midnight-2); }
.facets__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s, transform 1.2s var(--ease), clip-path .9s var(--ease-fold); }
.facets__img img.is-swap { opacity: 0; transform: scale(1.08); clip-path: inset(0 100% 0 0); }
.facets__copy h4 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--gold-lt); margin-bottom: .5em; }
.facets__copy p { color: #D2D5E6; font-weight: 300; }
.facets__copy > * { transition: opacity .45s, transform .6s var(--ease); }
.facets__copy.is-swap > * { opacity: 0; transform: translateY(14px); }

.library__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(234,215,161,.35); background: transparent; font-size: .95rem; color: #D2D5E6; transition: .35s var(--ease); }
.chip:hover { border-color: var(--gold); color: var(--pearl); }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: var(--midnight); }
.library__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 18px; }
.media { position: relative; overflow: hidden; border-radius: 14px; border: 0; padding: 0; text-align: left; color: var(--pearl); background: var(--midnight-2); transition: opacity .5s, transform .6s var(--ease); }
.library__grid { grid-auto-flow: dense; }
.media:nth-child(6n+1), .media:nth-child(6n+3) { grid-row: span 2; }
.media:nth-child(6n) { grid-column: span 2; }
.media.is-hiding { opacity: 0; transform: scale(.94); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(21,26,51,0) 35%, rgba(21,26,51,.9)); }
.media__meta { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; }
.media__kind { font-family: var(--script); color: var(--gold); font-size: 1.5rem; line-height: 1; }
.media__title { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; display: block; margin-top: 4px; }
.media:nth-child(6n+1) .media__title, .media:nth-child(6n) .media__title { font-size: 2rem; }
.media__play { position: absolute; z-index: 2; top: 18px; right: 18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(21,26,51,.5); border: 1px solid rgba(234,215,161,.6); backdrop-filter: blur(6px); transition: transform .5s var(--ease), background .4s; }
.media__play svg { width: 20px; height: 20px; fill: var(--gold-lt); margin-left: 3px; }
.media__play::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; }
.media:hover img { transform: scale(1.07); }
.media:hover .media__play { transform: scale(1.1); background: var(--gold); }
.media:hover .media__play svg { fill: var(--midnight); }
.media:hover .media__play::after { animation: ripple 1.4s var(--ease) infinite; }
@keyframes ripple { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }

.give-band { margin-top: clamp(70px, 9vw, 120px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: 18px; background: linear-gradient(120deg, rgba(200,160,74,.18), rgba(200,160,74,.04)); border: 1px solid rgba(234,215,161,.3); position: relative; overflow: hidden; }
.give-band::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(234,215,161,.35), transparent 65%); animation: breathe 7s ease-in-out infinite; }
.give-band h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--gold-lt); margin-bottom: .3em; }
.give-band p { margin: 0; font-weight: 300; max-width: 52ch; }
@keyframes breathe { 50% { transform: scale(1.25); opacity: .6; } }

/* ---------- section edges ---------- */
.edge { position: relative; height: clamp(60px, 8vw, 120px); margin: -1px 0; z-index: 1; }
.edge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.edge--cloud { background: var(--midnight); }
.edge--cloud path { fill: var(--sky); }
.edge--silk { background: var(--dawn); height: clamp(70px, 9vw, 140px); }
.edge--silk .silk-a { fill: var(--royal); opacity: .55; animation: silk 9s ease-in-out infinite alternate; transform-origin: 50% 100%; transform-box: fill-box; }
.edge--silk .silk-b { fill: var(--plum); }
@keyframes silk { to { transform: scaleY(1.25); } }

/* =============================================================
   FOLD TWO: THE SOUNDS OF HEAVEN
   ============================================================= */
.book { background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 38%, var(--dawn) 100%); color: var(--ink); overflow: hidden; padding-top: clamp(30px, 5vw, 70px); }
.book__sky { position: absolute; inset: 0 0 auto 0; height: 980px; max-width: none; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.book__sky img { width: 100%; height: 120%; object-fit: cover; opacity: .42; mix-blend-mode: multiply; }
.rays { position: absolute; left: 50%; top: -40%; width: 160vmax; height: 160vmax; transform: translateX(-50%); background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,248,225,.55) 0deg 4deg, rgba(255,248,225,0) 4deg 14deg); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 45%); mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 45%); animation: spin 120s linear infinite; mix-blend-mode: screen; }
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
.book__waves { position: absolute; left: 0; top: 420px; width: 100%; height: 360px; max-width: none; pointer-events: none; }
.book .tag { color: var(--gold-dk); }
.book .verse { border-color: var(--gold); }
.book .verse cite { color: var(--gold-dk); }

.book__intro { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; margin-bottom: clamp(90px, 11vw, 150px); }
.book__by { font-family: var(--display); font-size: 1.2rem; color: var(--ink-soft); margin: -8px 0 18px; }
.book__copy .sec-title { margin: 6px 0 18px; }
.book__copy .sec-lead { color: var(--ink-soft); }
.sparks { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.sparks li { position: relative; padding-left: 26px; }
.sparks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 13px; height: 13px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.book .btn--ghost { color: var(--ink); }

/* 3D book */
.book3d-wrap { display: grid; place-items: center; perspective: 1600px; padding: 20px 0 40px; }
.book3d { --rx: 4deg; --ry: -24deg; position: relative; width: min(300px, 70vw); aspect-ratio: 3 / 4.3; cursor: pointer; outline-offset: 12px; border-radius: 6px; }
.book3d__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .9s var(--ease); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -12px; } }
.book3d::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: -36px; height: 30px; background: radial-gradient(closest-side, rgba(30,30,60,.35), transparent); filter: blur(4px); animation: shadow 6s ease-in-out infinite; }
@keyframes shadow { 50% { transform: scale(.85); opacity: .7; } }
.book3d__cover, .book3d__page, .book3d__spine { position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; backface-visibility: hidden; }
.book3d__cover { transform: translateZ(20px); transform-origin: 0 50%; transition: transform 1.2s var(--ease-fold); overflow: hidden; background: linear-gradient(160deg, #F3E3B5, #8DA6C9 60%, #3B4A7A); box-shadow: inset 6px 0 10px rgba(0,0,0,.25), 0 30px 50px -20px rgba(30,40,80,.55); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 24px 26px; }
.book3d__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.book3d__glow { position: absolute; inset: 0; background: radial-gradient(80% 50% at 50% 18%, rgba(255,246,214,.8), transparent 60%), linear-gradient(180deg, transparent 40%, rgba(28,34,70,.85)); }
.book3d__glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 45%, transparent 55%); transform: translateX(var(--shine, -60%)); transition: transform .3s; }
.book3d__title { position: relative; font-family: var(--display); font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.02; text-align: center; color: #2A2440; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.book3d__wave { position: relative; width: 70%; margin: 0 auto; fill: none; stroke: var(--gold-lt); stroke-width: 2; }
.book3d__author { position: relative; text-align: center; font-size: .85rem; letter-spacing: .22em; color: var(--gold-lt); }
.book3d__page { transform: translateZ(19px); background: linear-gradient(90deg, #EFE7D6, #FFFDF7 12%); color: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: 30px; text-align: center; }
.book3d__verse { font-family: var(--display); font-size: 1.3rem; line-height: 1.4; }
.book3d__page span { color: var(--gold-dk); font-size: .9rem; }
.book3d__spine { width: 40px; transform: rotateY(-90deg) translateZ(0) translateX(-20px); transform-origin: 0 50%; left: 0; background: linear-gradient(90deg, #26305E, #3E4E86); border-radius: 3px; }
.book3d::after { content: ""; position: absolute; top: 2%; bottom: 2%; right: -6px; width: 30px; background: repeating-linear-gradient(90deg, #F5F0E6 0 2px, #E2D9C6 2px 3px); transform: translateZ(0) rotateY(var(--ry)); z-index: -1; border-radius: 0 4px 4px 0; display: none; }
.book3d.is-open { --ry: -8deg; }
.book3d.is-open .book3d__cover { transform: translateZ(20px) rotateY(-155deg); }
.book3d__hint { position: absolute; left: 50%; bottom: -72px; transform: translateX(-50%); font-size: .88rem; color: var(--ink-soft); white-space: nowrap; transition: opacity .4s; }
.book3d.is-open .book3d__hint { opacity: 0; }

/* Psalm 150 */
.psalm { position: relative; text-align: center; margin-bottom: clamp(90px, 11vw, 150px); }
.psalm__head p { color: var(--ink-soft); margin-top: 10px; }
.psalm__instruments { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(10px, 2vw, 22px); margin: 34px auto 34px; }
.inst { position: relative; width: 108px; height: 108px; border-radius: 50%; border: 1.5px solid rgba(156,122,46,.5); background: radial-gradient(circle at 40% 30%, #FFFDF6, #F4EAD3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.inst svg { width: 36px; height: 36px; fill: none; stroke: var(--gold-dk); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.inst span { font-size: .84rem; }
.inst:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 30px -14px rgba(156,122,46,.6); }
.inst.is-playing { border-color: var(--gold); background: radial-gradient(circle at 40% 30%, #FFF6D8, #E8CF8A); box-shadow: 0 0 0 6px rgba(200,160,74,.18), 0 18px 40px -16px rgba(156,122,46,.8); }
.inst.is-playing::before, .inst.is-playing::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid var(--gold); animation: ripple 1.6s var(--ease) infinite; }
.inst.is-playing::after { animation-delay: .5s; }
.psalm__verse { margin: 0 auto; max-width: 40ch; min-height: 6.5em; }
.psalm__verse p { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; margin-bottom: 10px; transition: opacity .4s, filter .6s, transform .6s var(--ease); }
.psalm__verse cite { font-style: normal; color: var(--gold-dk); }
.psalm__verse.is-swap p { opacity: 0; filter: blur(6px); transform: translateY(8px); }

/* reflections */
.reflect { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; margin-bottom: clamp(90px, 11vw, 150px); }
.reflect__gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 260px; gap: 14px; }
.reflect__gallery figure { margin: 0; overflow: hidden; border-radius: 14px; position: relative; background: var(--pearl-2); }
.reflect__gallery figure:first-child { grid-row: span 2; border-radius: 180px 180px 14px 14px; }
.reflect__gallery img { width: 100%; height: 100%; object-fit: cover; }
.reflect__video { cursor: pointer; }
.play { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%; border: 0; background: rgba(255,250,236,.85); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .5s var(--ease); }
.play svg { width: 24px; height: 24px; fill: var(--gold-dk); margin-left: 4px; }
.play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #fff; animation: ripple 2s var(--ease) infinite; }
.reflect__video:hover .play { transform: scale(1.1); }
.reflect__form .sub-title { margin-bottom: 12px; }
.reflect__form > p { color: var(--ink-soft); }

/* order */
.order { position: relative; max-width: 960px; padding: clamp(24px, 4vw, 44px); border-radius: 22px; background: rgba(255,255,255,.62); border: 1px solid rgba(200,160,74,.35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 40px 80px -40px rgba(60,60,110,.35); }
.order__tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(200,160,74,.14); width: fit-content; margin-bottom: 30px; position: relative; }
.order__tabs button { border: 0; background: none; padding: 11px 22px; border-radius: 999px; font-size: .98rem; transition: background .4s var(--ease), color .3s; }
.order__tabs button[aria-selected="true"] { background: var(--midnight); color: var(--pearl); }
.order__panel { animation: panelIn .7s var(--ease-fold); }
@keyframes panelIn { from { opacity: 0; transform: perspective(900px) rotateX(-10deg) translateY(16px); transform-origin: top; } }
.order__summary { display: flex; gap: 22px; align-items: center; margin-bottom: 26px; }
.order__summary h3 { font-size: 1.7rem; }
.order__summary p { margin: 2px 0 0; color: var(--ink-soft); }
.order__price { font-family: var(--display); font-size: 1.5rem; color: var(--ink) !important; }
.order__summary .btn { margin-top: 12px; }
.order__intro { color: var(--ink-soft); max-width: 60ch; }
.mini-book { flex: none; width: 74px; height: 104px; border-radius: 2px 6px 6px 2px; background: linear-gradient(160deg, #F3E3B5, #8DA6C9 60%, #3B4A7A); display: grid; place-items: center; text-align: center; font-family: var(--display); font-size: .7rem; line-height: 1.05; color: #2A2440; box-shadow: inset 4px 0 6px rgba(0,0,0,.25), 8px 12px 22px -10px rgba(30,40,80,.6); transform: rotate(-6deg); }

/* =============================================================
   FORMS (shared)
   ============================================================= */
.form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.field { display: grid; gap: 6px; font-size: .92rem; }
.field > span:first-child { font-weight: 500; }
.field input, .field textarea, .field select, .stepper input {
  width: 100%; font: inherit; font-size: 1rem; color: inherit; padding: 13px 15px; border-radius: 10px;
  border: 1px solid rgba(31,34,56,.2); background: rgba(255,255,255,.75); transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,160,74,.2); background: #fff; }
.check { display: flex; align-items: center; gap: 10px; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--gold-dk); }
.check--box { min-height: 50px; }
.form__note { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.stepper { display: flex; align-items: stretch; border: 1px solid rgba(31,34,56,.2); border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.75); width: 170px; }
.stepper button { width: 50px; border: 0; background: none; font-size: 1.3rem; transition: background .3s; }
.stepper button:hover { background: rgba(200,160,74,.18); }
.stepper input { border: 0; border-radius: 0; text-align: center; background: transparent; padding: 12px 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.form-done { text-align: center; padding: 34px 10px; animation: panelIn .8s var(--ease-fold); }
.form-done svg { width: 64px; height: 64px; fill: none; stroke: var(--gold); stroke-width: 2; margin: 0 auto 14px; }
.form-done svg path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) .2s forwards; }
.form-done h4 { font-size: 1.7rem; margin-bottom: 8px; }
.form-error { color: #A3263B; font-size: .92rem; margin: 0; }
/* dark contexts */
.apostle .field input, .apostle .field textarea, .contact .field input, .contact .field textarea, .contact .field select, .queens .field input, .queens .field textarea,
.dlg--queen .field input, .dlg--queen .field textarea { background: rgba(255,255,255,.06); border-color: rgba(234,215,161,.3); color: var(--pearl); }
.contact .field select option { color: var(--ink); }
.contact .field input:focus, .contact .field textarea:focus, .contact .field select:focus, .dlg--queen .field input:focus, .dlg--queen .field textarea:focus { background: rgba(255,255,255,.1); }

/* pill & segmented choices */
.seg, .pills, .amounts { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend, .pills legend, .amounts legend { font-weight: 500; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg legend { width: 100%; }
.seg label, .pills label, .amounts label { position: relative; cursor: pointer; }
.seg input, .pills input, .amounts input[type="radio"] { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span, .pills span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(31,34,56,.22); font-size: .95rem; transition: .35s var(--ease); }
.seg input:checked + span, .pills input:checked + span { background: var(--midnight); color: var(--pearl); border-color: var(--midnight); }
.seg input:focus-visible + span, .pills input:focus-visible + span, .amounts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills legend { width: 100%; }
.dlg--queen .seg span, .dlg--queen .pills span { border-color: rgba(234,215,161,.35); }
.dlg--queen .seg input:checked + span, .dlg--queen .pills input:checked + span { background: var(--gold); color: var(--plum); border-color: var(--gold); }

/* =============================================================
   FOLD THREE: QUEEN'S COURT
   ============================================================= */
.queens { background: radial-gradient(90% 60% at 50% 0%, #4A1C62 0%, var(--plum) 55%, #1C0827 100%); color: var(--pearl); overflow: hidden; padding-top: clamp(40px, 6vw, 80px); }
.queens__ribbons { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.ribbon { fill: none; stroke: rgba(200,160,74,.22); stroke-width: 70; stroke-linecap: round; filter: blur(18px); animation: ribbon 18s ease-in-out infinite alternate; }
.ribbon.r2 { stroke: rgba(156,108,183,.35); stroke-width: 110; animation-duration: 24s; }
@keyframes ribbon { to { transform: translate(-40px, 40px) scaleY(1.15); } }
.queens .tag { color: var(--gold-lt); }
.queens .sec-lead { color: #E6D7EE; }
.crown { width: 120px; height: 60px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; margin: 0 auto 10px; display: block; }

.pastor { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 7vw, 100px); align-items: center; margin-bottom: clamp(90px, 11vw, 140px); }
.pastor__media { order: 2; margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 16px 16px; overflow: hidden; background: var(--royal); }
.pastor__media img { width: 100%; height: 116%; object-fit: cover; }
.pastor__frame { position: absolute; inset: 14px; border-radius: 226px 226px 10px 10px; border: 1px solid rgba(234,215,161,.7); pointer-events: none; }
.pastor__text h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--gold-lt); margin-bottom: .55em; }
.pastor__text p { color: #E1D3EA; font-weight: 300; max-width: 54ch; }
.verse--queen p { color: var(--pearl); }
.btn--light { color: var(--pearl); }

.virtues { text-align: center; margin-bottom: clamp(90px, 11vw, 140px); position: relative; }
.virtues__lead { color: #D9C6E4; margin-top: 8px; }
.virtues__stage { position: relative; height: 520px; max-width: 1000px; margin: 20px auto 0; }
.virtues__arc { position: absolute; inset: 40px 0 auto 0; width: 100%; height: 420px; fill: none; stroke: rgba(234,215,161,.35); stroke-width: 1.4; stroke-dasharray: 2 8; }
.virtues__jewels { position: absolute; inset: 40px 0 auto 0; height: 420px; }
.jewel { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; padding: 4px; color: #E6D7EE; font-size: .9rem; transition: color .3s; }
.jewel__gem { width: 34px; height: 42px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 35% 30%, #F6E9FF 0%, var(--orchid) 35%, #4D1E66 80%); box-shadow: 0 0 0 2px rgba(234,215,161,.6), 0 6px 14px rgba(0,0,0,.4); transition: transform .5s var(--ease), box-shadow .5s; position: relative; }
.jewel:nth-child(even) .jewel__gem { background: radial-gradient(circle at 35% 30%, #FFF6D9 0%, var(--gold-lt) 30%, var(--gold-dk) 85%); }
.jewel__gem::after { content: ""; position: absolute; left: 22%; top: 16%; width: 26%; height: 20%; border-radius: 50%; background: rgba(255,255,255,.8); filter: blur(1px); }
.jewel:hover .jewel__gem { transform: translateY(-4px) scale(1.1); }
.jewel.is-on { color: var(--gold-lt); }
.jewel.is-on .jewel__gem { transform: scale(1.3); box-shadow: 0 0 0 2px var(--gold), 0 0 26px 6px rgba(234,215,161,.55); animation: sparkle 2.2s ease-in-out infinite; }
@keyframes sparkle { 50% { box-shadow: 0 0 0 2px var(--gold), 0 0 40px 12px rgba(234,215,161,.35); } }
.virtues__center { position: absolute; left: 50%; top: 250px; transform: translateX(-50%); width: min(560px, 80%); margin: 0; }
.virtues__name { display: block; font-family: var(--script); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--gold); line-height: 1; margin-bottom: 10px; }
.virtues__center p { font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; margin-bottom: 10px; }
.virtues__center cite { font-style: normal; color: var(--gold-lt); font-size: .92rem; }
.virtues__center > * { transition: opacity .4s, transform .6s var(--ease), filter .5s; }
.virtues__center.is-swap > * { opacity: 0; transform: translateY(10px); filter: blur(4px); }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way { position: relative; height: 470px; overflow: hidden; border-radius: 200px 200px 16px 16px; background: var(--royal); }
.way:nth-child(2) { margin-top: 50px; }
.way img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.way::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(42,14,57,0) 30%, rgba(42,14,57,.95) 80%); transition: opacity .6s; }
.way__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px 26px 28px; transform: translateY(64px); transition: transform .7s var(--ease); }
.way__body h3 { font-size: 1.9rem; color: var(--gold-lt); margin-bottom: 8px; }
.way__body p { font-weight: 300; font-size: .98rem; color: #EADCF0; }
.way__body .btn { opacity: 0; transition: opacity .5s .1s, transform .4s var(--ease); }
.way:hover img, .way:focus-within img { transform: scale(1.07); }
.way:hover .way__body, .way:focus-within .way__body { transform: none; }
.way:hover .way__body .btn, .way:focus-within .way__body .btn { opacity: 1; }
.give-band--queen { background: linear-gradient(120deg, rgba(200,160,74,.2), rgba(156,108,183,.12)); }

/* =============================================================
   GIVE
   ============================================================= */
.give { position: relative; padding: clamp(90px, 11vw, 150px) var(--gutter); background: radial-gradient(70% 60% at 85% 20%, #FFF4D8 0%, transparent 60%), var(--pearl); color: var(--ink); }
.give__wrap { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.give__intro .sec-title { margin-bottom: 18px; }
.give__intro .sec-lead { color: var(--ink-soft); }
.give__intro .verse cite { color: var(--gold-dk); }
.give__card { padding: clamp(24px, 3.5vw, 40px); border-radius: 22px; background: #fff; border: 1px solid rgba(200,160,74,.35); box-shadow: 0 40px 80px -40px rgba(42,14,57,.35); gap: 22px; }
.amounts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.amounts__grid span { display: grid; place-items: center; height: 58px; border-radius: 12px; border: 1px solid rgba(31,34,56,.2); font-family: var(--display); font-size: 1.35rem; transition: .35s var(--ease); }
.amounts__grid input:checked + span { background: var(--midnight); color: var(--gold-lt); border-color: var(--midnight); transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(21,26,51,.6); }
.amount-input { display: flex; align-items: center; border: 1px solid rgba(31,34,56,.2); border-radius: 10px; padding-left: 15px; background: rgba(255,255,255,.75); }
.amount-input b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--ink-soft); }
.amount-input input { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.amount-input:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,160,74,.2); }
#give-btn-amount { font-family: var(--display); font-size: 1.25rem; display: inline-block; min-width: 3ch; }

/* =============================================================
   CONTACT + FOOTER
   ============================================================= */
.contact { padding: clamp(90px, 11vw, 150px) var(--gutter); background: var(--midnight-2); color: var(--pearl); }
.contact__wrap { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); }
.contact .sec-lead { color: #D2D5E6; margin: 18px 0 28px; }
.contact__line { display: flex; align-items: center; gap: 14px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(234,215,161,.15); margin: 0; word-break: break-word; transition: color .3s, padding .4s var(--ease); }
a.contact__line:hover { color: var(--gold-lt); padding-left: 8px; }
.contact__line svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social { display: flex; gap: 10px; margin-top: 26px; }
.social:empty { display: none; }
.social a, .share__row button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(234,215,161,.35); background: transparent; color: var(--pearl); transition: .35s var(--ease); }
.social a:hover, .share__row button:hover { background: var(--gold); color: var(--midnight); border-color: var(--gold); transform: translateY(-3px); }
.social svg, .share__row svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.share { margin-top: 28px; }
.share > span { font-size: .95rem; color: #B9BDD6; }
.share__row { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.contact__form { padding: clamp(24px, 3.5vw, 40px); border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(234,215,161,.2); }
.contact .form__note, .contact .field > span:first-child { color: #D2D5E6; }

.footer { background: var(--midnight); color: #C3C7DD; padding: 50px var(--gutter) 34px; }
.footer__folds { max-width: var(--max); margin: 0 auto 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(234,215,161,.2); }
.footer__folds a { padding: 22px 20px 6px; font-family: var(--display); font-size: 1.2rem; color: var(--pearl); text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: color .3s, background .4s; border-radius: 0 0 14px 14px; }
.footer__folds a + a { border-left: 1px solid rgba(234,215,161,.2); }
.footer__folds a:hover { color: var(--gold-lt); background: rgba(200,160,74,.06); }
.footer__folds .tag { font-size: 1.4rem; }
.footer__base { max-width: var(--max); margin: 0 auto; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__base a { text-decoration: none; }
.footer__base a:hover { color: var(--gold-lt); }

/* =============================================================
   DIALOGS + TOAST
   ============================================================= */
.dlg { width: min(640px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 22px; background: var(--pearl); color: var(--ink); overflow: auto; box-shadow: 0 50px 100px -30px rgba(0,0,0,.6); }
.dlg[open] { animation: dlgIn .7s var(--ease-fold); }
.dlg.is-closing { animation: dlgOut .35s var(--ease) forwards; }
@keyframes dlgIn { from { opacity: 0; transform: perspective(1200px) rotateX(-18deg) translateY(30px) scale(.96); transform-origin: top; } }
@keyframes dlgOut { to { opacity: 0; transform: translateY(16px) scale(.97); } }
.dlg::backdrop { background: rgba(14,16,34,.66); backdrop-filter: blur(6px); }
.dlg__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(21,26,51,.7); color: #fff; font-size: 1.6rem; line-height: 1; transition: transform .4s var(--ease), background .3s; }
.dlg__close:hover { transform: rotate(90deg); background: var(--gold); color: var(--midnight); }
.dlg__body { padding: clamp(24px, 4vw, 40px); }
.dlg__body h3 { font-size: 2rem; margin: 6px 0 10px; }
.dlg__body > p { color: var(--ink-soft); }
.dlg__body .tag { color: var(--gold-dk); font-size: 1.5rem; }
#dlg-media { width: min(960px, calc(100vw - 24px)); }
.dlg__media { aspect-ratio: 16 / 9; background: var(--midnight); position: relative; overflow: hidden; }
.dlg__media img, .dlg__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.dlg__media img { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1.12); } }
.dlg--queen { background: linear-gradient(160deg, #3B1650, var(--plum)); color: var(--pearl); }
.dlg--queen .dlg__body > p { color: #E1D3EA; }
.dlg--queen h3 { color: var(--gold-lt); }
.dlg--queen .check input { accent-color: var(--gold); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; visibility: hidden; transform: translate(-50%, calc(100% + 40px)); padding: 14px 22px; border-radius: 999px; background: var(--midnight); color: var(--pearl); border: 1px solid var(--gold); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); transition: transform .6s var(--ease); font-size: .96rem; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast:not(.is-on) { transition: transform .6s var(--ease), visibility 0s .6s; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .rail { display: none; }
}
@media (max-width: 900px) {
  .bio, .facets__panel, .book__intro, .reflect, .pastor, .give__wrap, .contact__wrap { grid-template-columns: 1fr; }
  .bio__media { max-width: 460px; }
  .pastor__media { order: 0; max-width: 460px; }
  .library__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .ways { grid-template-columns: 1fr; }
  .way { height: 400px; border-radius: 22px; }
  .way:nth-child(2) { margin-top: 0; }
  .way__body { transform: none; }
  .way__body .btn { opacity: 1; }
  .virtues__stage { height: auto; }
  .virtues__arc { display: none; }
  .virtues__jewels { position: static; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 10px; margin-bottom: 36px; }
  .jewel { position: static; transform: none; width: 84px; }
  .virtues__center { position: static; transform: none; width: auto; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .brand__text { font-size: .98rem; }
  .nav__give { display: none; }
  .hero { padding-bottom: 20px; }
  .trifold { flex-direction: column; min-height: 0; max-height: none; perspective: 1400px; }
  .fold { min-height: 220px; flex: none; }
  .fold:first-child { border-radius: 16px 16px 0 0; }
  .fold:last-child { border-radius: 0 0 16px 16px; }
  .fold + .fold { box-shadow: 0 -1px 0 rgba(234,215,161,.5); }
  .fold:hover, .fold:focus-visible { flex-grow: 0; }
  .js .fold--l { transform-origin: 50% 100%; transform: rotateX(-86deg); }
  .js .fold--r { transform-origin: 50% 0; transform: rotateX(86deg); }
  .is-open .fold--l, .is-open .fold--r { transform: none; }
  .fold__text { max-width: 40ch; }
  .fold__cta { display: none; }
  .quick { display: grid; grid-template-columns: 1fr 1fr; }
  .quick__item { justify-content: center; padding: 12px 10px; font-size: .92rem; }
  .field-row, .sparks { grid-template-columns: 1fr; }
  .library__grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .media:nth-child(n) { grid-row: span 1; grid-column: auto; }
  .media:nth-child(n) .media__title { font-size: 1.5rem; }
  .facets__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .facets__tabs button { white-space: nowrap; }
  .reflect__gallery { grid-template-rows: 180px 200px; }
  .inst { width: 88px; height: 88px; }
  .inst svg { width: 28px; height: 28px; }
  .order__tabs { width: 100%; }
  .order__tabs button { flex: 1; padding: 10px 8px; font-size: .9rem; }
  .amounts__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__folds { grid-template-columns: 1fr; }
  .footer__folds a + a { border-left: 0; border-top: 1px solid rgba(234,215,161,.2); }
  .book__waves { top: 600px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .unfold, .js .reveal-img, .js .fold, .js .fold__body > *, .js .quick, .js .hero__title .line, .js .hero__sub { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
  .draw path, .draw circle { stroke-dashoffset: 0; }
  .rays, .ribbon { animation: none; }
}

/* =============================================================
   CLIENT MEDIA + ADDED CONTENT
   ============================================================= */
/* logo in nav + veil */
.brand__logo { position: relative; width: 46px; height: 46px; flex: none; }
.brand__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.brand__logo .on-light { opacity: 0; }
.nav[data-theme="book"] .on-dark, .nav[data-theme="give"] .on-dark { opacity: 0; }
.nav[data-theme="book"] .on-light, .nav[data-theme="give"] .on-light { opacity: 1; }
.brand:hover .brand__logo img { animation: wobble .9s var(--ease); }
@keyframes wobble { 30% { transform: rotate(-6deg) scale(1.06); } 60% { transform: rotate(4deg); } }
.veil__logo { width: min(170px, 42vw); animation: veilIn 1.1s var(--ease) both; filter: drop-shadow(0 0 30px rgba(234,215,161,.35)); }
@keyframes veilIn { from { opacity: 0; transform: scale(.82) translateY(12px); filter: blur(8px); } }

/* image framing for client photos */
.pos-apostle { object-position: 50% 18% !important; }
.pos-cover { object-position: 50% 30% !important; }
.pos-queen { object-position: 24% 30% !important; }
.pos-prayer { object-position: 14% 55% !important; }
.pos-classes { object-position: 50% 12% !important; }
.pos-lion { object-position: 40% 40% !important; }
.fold--l { background: #000; }

/* apostle emblem + roles */
.apostle .sec-head { padding-right: clamp(0px, 30vw, 380px); }
.emblem { position: absolute; right: 0; top: 0; width: clamp(220px, 26vw, 340px); margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px rgba(234,215,161,.45), 0 40px 80px -30px rgba(0,0,0,.8), 0 0 80px -20px rgba(156,108,183,.6); animation: emblemFloat 8s ease-in-out infinite; }
.emblem img { width: 100%; height: auto; }
.emblem__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,245,210,.5) 48%, transparent 60%); transform: translateX(-120%); animation: shine 6s var(--ease) infinite 2s; }
@keyframes emblemFloat { 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 20px; }
.roles span { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(234,215,161,.4); color: var(--gold-lt); font-size: .92rem; }
.bio__media { background: #000; }
.bio__media img { object-position: 50% 15%; }

/* Liberty Temple */
.temple { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 90px); align-items: center; margin-bottom: clamp(80px, 10vw, 130px); }
.temple__photos { position: relative; min-height: 560px; }
.temple__main, .temple__side { position: absolute; margin: 0; overflow: hidden; background: #000; }
.temple__main { left: 0; top: 0; width: 64%; height: 100%; border-radius: 200px 200px 16px 16px; box-shadow: inset 0 0 0 1px rgba(234,215,161,.35); }
.temple__side { right: 0; bottom: 30px; width: 44%; height: 62%; border-radius: 16px; border: 6px solid var(--midnight); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.temple__main img, .temple__side img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.temple__years { position: absolute; right: 6%; top: 4%; width: 120px; height: 120px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 35% 30%, #F6E2A6, var(--gold) 55%, var(--gold-dk)); color: var(--midnight); box-shadow: 0 16px 40px -14px rgba(200,160,74,.8); animation: emblemFloat 7s ease-in-out infinite; }
.temple__years b { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; }
.temple__years small { font-size: .74rem; line-height: 1.15; letter-spacing: .04em; }
.temple__text h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--gold-lt); }
.temple__where { color: #B9BDD6; margin: 4px 0 18px; }
.temple__text > p { color: #D2D5E6; font-weight: 300; max-width: 56ch; }
.temple__info { display: grid; gap: 4px; margin-top: 10px; }
.temple__info a { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; border-bottom: 1px solid rgba(234,215,161,.15); transition: color .3s, padding .4s var(--ease); }
.temple__info a:hover { color: var(--gold-lt); padding-left: 6px; }
.temple__info svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* gatherings */
.gather { margin-bottom: clamp(80px, 10vw, 130px); }
.gather__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.gather__head p { color: #B9BDD6; margin: 8px 0 0; }
.next, .qnext { position: relative; display: grid; gap: 2px; padding: 16px 22px 16px 26px; border-radius: 16px; background: linear-gradient(120deg, rgba(200,160,74,.22), rgba(200,160,74,.05)); border: 1px solid rgba(234,215,161,.4); min-width: 280px; overflow: hidden; }
.next::before, .qnext::before { content: ""; position: absolute; left: 12px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: #6EE7A0; box-shadow: 0 0 0 0 rgba(110,231,160,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(110,231,160,0); } 100% { box-shadow: 0 0 0 0 rgba(110,231,160,0); } }
.next__label { font-size: .82rem; color: var(--gold-lt); padding-left: 4px; }
.next__name { font-family: var(--display); font-weight: 400; font-size: 1.4rem; }
.next__when { font-size: .92rem; opacity: .85; }
.next__count { font-family: var(--display); font-size: 1.15rem; color: var(--gold-lt); font-variant-numeric: tabular-nums; }
.gather__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gcard { display: grid; grid-template-columns: 150px 1fr; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.035); border: 1px solid rgba(234,215,161,.18); transition: border-color .4s, transform .5s var(--ease), background .4s; }
.gcard:hover { border-color: rgba(234,215,161,.5); background: rgba(255,255,255,.06); transform: translateY(-3px); }
.gcard.is-next { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 20px 50px -24px rgba(200,160,74,.6); }
.gcard__when { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 20px; background: linear-gradient(160deg, rgba(200,160,74,.25), rgba(200,160,74,.06)); border-right: 1px solid rgba(234,215,161,.18); }
.gcard__day { font-family: var(--script); font-size: 1.7rem; line-height: 1; color: var(--gold); }
.gcard__time { font-size: .95rem; font-weight: 500; }
.gcard__body { padding: 20px 22px; }
.gcard__body h4 { font-size: 1.5rem; margin-bottom: 6px; }
.gcard__body p { color: #D2D5E6; font-weight: 300; font-size: .98rem; margin-bottom: 14px; }
.gcard__body b, .qcard b { font-weight: 600; color: var(--gold-lt); }
.gcard__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gather__verse { max-width: 760px; margin: 40px auto 0; }

/* book cover + price */
.book3d { aspect-ratio: 4 / 5; width: min(330px, 72vw); }
.book3d__cover { padding: 0; background: #2a1d0a; }
.book3d__cover img { opacity: 1; }
.book3d__glow { background: none; }
.price-tag { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 6px; }
.price-tag__item { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid rgba(200,160,74,.45); font-size: .95rem; color: var(--ink-soft); }
.price-tag__item b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--ink); margin-right: 4px; }
.mini-book { background: none; overflow: hidden; }
.mini-book img { width: 100%; height: 100%; object-fit: cover; }
.reflect__gallery figure[data-lightbox] { cursor: zoom-in; }
.reflect__gallery img { object-position: 50% 20%; }

/* ways to pay */
.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 26px; }
.pay--stack { grid-template-columns: 1fr; margin-top: 28px; max-width: 460px; }
.pay__item { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid rgba(31,34,56,.12); position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.pay__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.pay__item--zelle::before { background: #6D1ED4; }
.pay__item--cash::before { background: #00C244; }
.pay__item--paypal::before { background: #0070E0; }
.pay__item:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(31,34,56,.5); }
.pay__name { font-weight: 600; font-size: .98rem; }
.pay__detail { grid-row: 2; font-size: .9rem; color: var(--ink-soft); }
.pay__btn { grid-row: 1 / span 2; grid-column: 2; border: 1px solid rgba(31,34,56,.2); background: none; border-radius: 999px; padding: 8px 14px; font-size: .86rem; text-decoration: none; white-space: nowrap; transition: background .3s, color .3s; }
.pay__btn:hover { background: var(--midnight); color: var(--pearl); }

/* Queen's Court logo + tagline */
.qc-logo { position: relative; width: clamp(170px, 20vw, 240px); margin: 0 auto 6px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.qc-logo img { width: 100%; height: auto; }
.qc-logo__glint { position: absolute; inset: 0; background: radial-gradient(circle at 50% 22%, rgba(255,240,190,.55), transparent 30%); mix-blend-mode: screen; animation: glint 4s ease-in-out infinite; pointer-events: none; }
@keyframes glint { 50% { opacity: .2; transform: scale(.92); } }
.js .qc-logo { transition: transform 1.4s var(--ease-fold); }
.js .unfold:not(.is-in) .qc-logo { transform: scale(.6) rotate(-8deg); }
.tagline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -6px 0 16px; font-family: var(--script); font-size: 1.7rem; color: var(--gold); line-height: 1.1; }
.pastor__media img { object-position: 50% 8%; }

/* Queen's Court gatherings */
.qgather { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: clamp(80px, 10vw, 130px); }
.qcard { display: grid; grid-template-columns: 160px 1fr; gap: 0; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid rgba(234,215,161,.25); transition: transform .5s var(--ease), border-color .4s; }
.qcard:hover { transform: translateY(-4px); border-color: rgba(234,215,161,.6); }
.qcard.is-next { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 24px 60px -30px rgba(234,215,161,.6); }
.qcard > img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: 50% 30%; cursor: zoom-in; transition: transform 1s var(--ease); }
.qcard:hover > img { transform: scale(1.05); }
.qcard__body { padding: 22px 24px; }
.qcard__day { font-family: var(--script); color: var(--gold); font-size: 1.6rem; line-height: 1; }
.qcard__body h3 { font-size: 1.6rem; margin: 6px 0 4px; color: var(--pearl); }
.qcard__time { color: var(--gold-lt); font-weight: 500; margin-bottom: 10px; }
.qcard__body p { color: #E1D3EA; font-weight: 300; font-size: .97rem; }
.qnext { grid-column: 1 / -1; grid-template-columns: auto auto 1fr auto auto; align-items: center; column-gap: 18px; padding-left: 30px; }
.qnext::before { top: 50%; margin-top: -4px; }
.qnext__info { text-decoration: none; font-size: .92rem; color: var(--gold-lt); }
.qnext__info:hover { text-decoration: underline; }

/* beauty with purpose */
.beauty { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; margin-bottom: clamp(80px, 10vw, 130px); }
.beauty__media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px 200px 20px 20px; box-shadow: 0 0 0 1px rgba(234,215,161,.4), 0 40px 80px -40px rgba(0,0,0,.8); }
.beauty__media img { width: 100%; height: 100%; object-fit: cover; object-position: 12% 20%; }
.beauty__text h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--gold-lt); margin: 4px 0 14px; }
.beauty__text > p { color: #E1D3EA; font-weight: 300; max-width: 52ch; }
.sparks--one { grid-template-columns: 1fr; }
.queens .sparks li { color: var(--pearl); }

/* court gallery carousel */
.court-gallery { margin-bottom: clamp(70px, 9vw, 110px); max-width: none !important; }
.court-gallery__head { max-width: var(--max); margin: 0 auto 24px; display: flex; justify-content: space-between; align-items: center; }
.court-gallery__nav { display: flex; gap: 8px; }
.cg-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(234,215,161,.45); background: transparent; display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.cg-btn:hover { background: var(--gold); transform: scale(1.06); }
.cg-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--pearl); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cg-btn:hover svg { stroke: var(--plum); }
.court-gallery__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px max(var(--gutter), calc((100vw - var(--max)) / 2)) 26px; scrollbar-width: none; cursor: grab; }
.court-gallery__track::-webkit-scrollbar { display: none; }
.court-gallery__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.cg-item { flex: none; width: clamp(230px, 24vw, 320px); aspect-ratio: 2 / 3; border: 0; padding: 0; border-radius: 18px; overflow: hidden; scroll-snap-align: start; background: var(--royal); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); transition: transform .6s var(--ease), box-shadow .6s; }
.cg-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); pointer-events: none; }
.cg-item:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 40px 70px -30px rgba(234,215,161,.35); }
.cg-item:hover img { transform: scale(1.05); }

/* media cards for flyers & photos + lightbox */
.media[data-kind="flyer"] img, .media[data-kind="photo"] img { object-position: 50% 20%; }
.dlg__media.is-contain { aspect-ratio: auto; height: min(78svh, 900px); background: #0B0D1C; }
.dlg__media.is-contain img { object-fit: contain; animation: none; }
#dlg-media.is-flyer { width: min(820px, calc(100vw - 24px)); }
.dlg__nav { position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 0; background: rgba(21,26,51,.7); color: #fff; display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.dlg__nav:hover { background: var(--gold); color: var(--midnight); transform: scale(1.08); }
.dlg__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dlg__nav--prev { left: 12px; } .dlg__nav--next { right: 12px; }
[data-lightbox] { cursor: zoom-in; }

/* contact + footer */
.contact__line small { margin-left: auto; font-size: .82rem; color: #B9BDD6; }
.footer__brand { max-width: var(--max); margin: 0 auto 26px; display: flex; align-items: center; gap: 20px; }
.footer__brand img { width: 84px; height: auto; }
.footer__brand p { margin: 0; font-family: var(--script); font-size: 1.8rem; color: var(--gold); }

@media (max-width: 900px) {
  .apostle .sec-head { padding-right: 0; }
  .emblem { position: relative; width: min(280px, 70vw); margin-bottom: 26px; }
  .temple, .beauty { grid-template-columns: 1fr; }
  .temple__photos { min-height: 480px; }
  .gather__list, .qgather { grid-template-columns: 1fr; }
  .qnext { grid-template-columns: 1fr; }
  .pay { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .gcard { grid-template-columns: 1fr; }
  .gcard__when { flex-direction: row; align-items: baseline; justify-content: space-between; border-right: 0; border-bottom: 1px solid rgba(234,215,161,.18); padding: 14px 20px; }
  .qcard { grid-template-columns: 1fr; }
  .qcard > img { min-height: 0; height: 260px; }
  .temple__photos { min-height: 420px; }
  .temple__years { width: 96px; height: 96px; }
  .temple__years b { font-size: 2rem; }
  .next { min-width: 0; width: 100%; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .emblem, .temple__years { animation: none; } .emblem__shine, .qc-logo__glint { display: none; } }

.court-gallery { margin-top: clamp(70px, 9vw, 120px); }
.way::before { background: linear-gradient(180deg, rgba(42,14,57,.05) 20%, rgba(42,14,57,.92) 62%, rgba(30,8,40,.98)); }
.dlg__body .tag:empty { display: none; }

@media (max-width: 760px) { .hero__title { font-size: clamp(2.3rem, 10vw, 3rem); } .hero__title .line:last-child { font-size: .5em; letter-spacing: .06em; padding-left: 0; } .brand__text small { font-size: .7rem; } }

/* intro: Apostle Thomas Johnson emblem */
.veil { background: radial-gradient(60% 60% at 50% 45%, #2C1442 0%, var(--midnight) 70%); transition: opacity .9s var(--ease) .1s, visibility 0s 1s; }
.veil__emblem { position: relative; width: min(360px, 72vw); aspect-ratio: 1; border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 1px rgba(234,215,161,.5), 0 40px 90px -30px rgba(0,0,0,.9), 0 0 120px -10px rgba(200,160,74,.45); animation: emblemIn 1.4s var(--ease) both; }
.veil__emblem .veil__logo { width: 100%; height: 100%; object-fit: cover; animation: none; filter: none; }
.veil__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,245,210,.6) 48%, transparent 60%); transform: translateX(-120%); animation: introShine 1.6s var(--ease) .7s forwards; }
@keyframes emblemIn { from { opacity: 0; transform: scale(.86) translateY(14px); filter: blur(10px); } }
@keyframes introShine { to { transform: translateX(120%); } }
.is-loaded .veil__emblem { transform: scale(1.06); transition: transform .9s var(--ease); }

/* nav brand: Apostle emblem */
.brand__logo { width: 50px; height: 50px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(234,215,161,.55), 0 6px 18px -6px rgba(0,0,0,.6); }
.brand__logo img { position: static; width: 100%; height: 100%; object-fit: cover; opacity: 1 !important; filter: none; }
@media (max-width: 760px) { .brand__logo { width: 42px; height: 42px; border-radius: 10px; } }

/* =============================================================
   UPDATES: song gift, install, editable media
   ============================================================= */
.gift { display: flex; gap: 14px; align-items: center; margin: 0 0 16px; padding: 14px 18px; border-radius: 16px; background: linear-gradient(120deg, rgba(255,250,236,.92), rgba(255,244,214,.8)); border: 1px solid rgba(200,160,74,.55); box-shadow: 0 16px 36px -24px rgba(156,122,46,.8); max-width: 560px; position: relative; overflow: hidden; }
.gift::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.7) 50%, transparent 65%); transform: translateX(-120%); animation: shine 7s var(--ease) infinite 1.5s; pointer-events: none; }
.gift p { margin: 0; font-size: .98rem; color: var(--ink-soft); line-height: 1.5; }
.gift strong { color: var(--ink); font-weight: 600; }
.gift__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #F6E2A6, var(--gold) 60%, var(--gold-dk)); animation: notePulse 2.6s ease-in-out infinite; }
.gift__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--midnight); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes notePulse { 50% { box-shadow: 0 0 0 8px rgba(200,160,74,.18); transform: rotate(-6deg); } }

.song-opt { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: linear-gradient(120deg, rgba(200,160,74,.16), rgba(200,160,74,.05)); border: 1.5px solid rgba(200,160,74,.5); cursor: pointer; transition: background .3s, border-color .3s; }
.song-opt:hover { background: rgba(200,160,74,.2); }
.song-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.song-opt__box { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--gold-dk); display: grid; place-items: center; background: #fff; transition: background .3s, transform .3s var(--ease); }
.song-opt__box svg { width: 18px; height: 18px; fill: none; stroke: var(--midnight); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s var(--ease); }
.song-opt input:checked + .song-opt__box { background: var(--gold); transform: scale(1.05); }
.song-opt input:checked + .song-opt__box svg { stroke-dashoffset: 0; }
.song-opt input:focus-visible + .song-opt__box { outline: 2px solid var(--gold); outline-offset: 3px; }
.song-opt__text { display: grid; gap: 2px; }
.song-opt__text b { font-weight: 600; }
.song-opt__text small { color: var(--ink-soft); font-size: .88rem; }

.drawer__install { position: relative; margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(234,215,161,.45); background: rgba(255,255,255,.06); color: var(--pearl); font-size: 1rem; }
.drawer__install svg, .install-card svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.install-card { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 460px; margin-top: 28px; padding: 14px 18px; border-radius: 18px; border: 1px solid rgba(234,215,161,.35); background: linear-gradient(120deg, rgba(200,160,74,.16), rgba(255,255,255,.03)); color: var(--pearl); text-align: left; transition: transform .4s var(--ease), border-color .3s; }
.install-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.install-card img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(234,215,161,.5); }
.install-card span { display: grid; gap: 2px; }
.install-card b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--gold-lt); }
.install-card small { font-size: .9rem; color: #C9CCE0; }
.footer__app { max-width: var(--max); margin: 0 auto 22px; }
.footer__app .btn { color: var(--pearl); }
.install-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.install-head img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(200,160,74,.5), 0 10px 24px -12px rgba(0,0,0,.5); }
.install-head h3 { margin: 0 0 4px !important; }
.install-head p { margin: 0; color: var(--ink-soft); }
.install-steps h4 { font-size: 1.25rem; margin: 6px 0 10px; }
.install-steps .sparks li { color: var(--ink); }
.ico { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: #0A6CFF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[data-install][hidden] { display: none !important; }

.dlg__media video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.cg-item { position: relative; }
.cg-item .media__play { top: auto; bottom: 18px; right: 18px; }
@media (max-width: 760px) { .gift { align-items: flex-start; } }
@media (max-width: 560px) { .install-head { align-items: flex-start; } .install-head img { width: 56px; height: 56px; border-radius: 14px; } .install-head h3 { font-size: 1.6rem !important; } }

/* vertical phone clips */
#dlg-media.is-portrait { width: min(460px, calc(100vw - 24px)); }
.dlg__media.is-portrait { aspect-ratio: 9 / 16; width: min(100%, calc(76svh * 9 / 16)); margin: 0 auto; }
.dlg__media.is-portrait video { object-fit: contain; }
.media__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; pointer-events: none; }
.media__preview.is-on { opacity: 1; }
.media[data-kind="video"] img, .cg-item--video img { object-position: 50% 35%; }
