/* ==========================================================================
   Bible Voice — "The Spoken Book" design language
   An editorial, print-inspired page: parchment paper, hairline rules,
   Cormorant Garamond display type, chapter structure, and four full-bleed
   voice bands. Sound is the motif; the book is the metaphor.
   ========================================================================== */

:root {
  /* Paper & ink */
  --paper: #F5EFE3;
  --paper-deep: #EDE5D3;
  --card: #FCF8EE;
  --cream-soft: #F8F1E5;
  --ink: #2A2418;
  --ink-2: #57503F;
  --ink-3: #877E67;
  --rule: rgba(42, 36, 24, 0.22);
  --rule-soft: rgba(42, 36, 24, 0.12);

  /* Night (the app's world) */
  --night: #0F1116;
  --night-deep: #020613;
  --cream: #F3EDDF;

  /* Voice colors — bright + band (muted) + ink (text-safe) */
  --gen-z: #E8725C;      --gen-z-band: #C4897C;      --gen-z-ink: #A63A22;
  --millennial: #4DB8C7; --millennial-band: #7ABCC4; --millennial-ink: #1E707D;
  --gen-x: #D4A84B;      --gen-x-band: #C4A86C;      --gen-x-ink: #86651A;
  --boomer: #9B7BD4;     --boomer-band: #A88CC4;     --boomer-ink: #61439E;

  --voice: var(--millennial);
  --voice-ink: var(--millennial-ink);

  /* Brand accent — the one pop of color in an otherwise monochrome header */
  --brand: #D92C82;
  --brand-dark: #B91F6C;
  --brand-light: #F04BA0;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nav-row1-h: 88px;
  --nav-row2-h: 46px;
  --nav-h: 134px; /* total header offset — row1 + row2, used everywhere as scroll-padding/top-padding */
}

body[data-voice="gen_z"]      { --voice: var(--gen-z);      --voice-ink: var(--gen-z-ink); }
body[data-voice="millennial"] { --voice: var(--millennial); --voice-ink: var(--millennial-ink); }
body[data-voice="gen_x"]      { --voice: var(--gen-x);      --voice-ink: var(--gen-x-ink); }
body[data-voice="boomer"]     { --voice: var(--boomer);     --voice-ink: var(--boomer-ink); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 10px); }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Paper grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.18 0 0 0 0 0.12 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: color-mix(in srgb, var(--voice) 35%, transparent); }

.container { width: min(1200px, 92%); margin-inline: auto; }
.serif { font-family: var(--serif); }
.center { text-align: center; }
.only-wide { display: inline; }

/* ---------- Editorial primitives ---------- */
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h2 em, .hero-title em { font-style: italic; font-weight: 500; }

.kicker, .chapter {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--voice-ink);
  transition: color 0.5s ease;
}
.chapter { display: block; margin-bottom: 22px; color: var(--ink-3); }
.chapter.center { text-align: center; }

section { padding: 104px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em; transition: all 0.25s ease;
}
.btn-sm { padding: 9px 22px; font-size: 0.87rem; }
.btn-ink { background: var(--ink); color: var(--cream); border: 1.5px solid var(--ink); }
.btn-ink:hover { background: var(--voice-ink); border-color: var(--voice-ink); transform: translateY(-1px); }
.btn-line { border: 1.5px solid var(--rule); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 24px; border-radius: 14px;
  border: 1.5px solid var(--ink); color: var(--ink);
  transition: all 0.25s ease; background: transparent;
}
.store-badge:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.store-badge svg { width: 24px; height: 24px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.2; font-weight: 700; font-size: 0.98rem; }
.store-badge small { font-weight: 500; font-size: 0.66rem; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.08em; }
.store-badge.light { border-color: var(--cream); color: var(--cream); }
.store-badge.light:hover { background: var(--cream); color: var(--night-deep); }
.store-badge.is-disabled { cursor: default; opacity: 0.72; }
.store-badge.is-disabled:hover { background: transparent; color: inherit; transform: none; }
.store-badge.light.is-disabled:hover { color: var(--cream); }
.play-btn.is-disabled { cursor: default; opacity: 0.72; }

/* Compact variant — header (row 1) and footer column, where space is tight */
.store-badge.compact { padding: 7px 14px; gap: 7px; border-radius: 999px; }
.store-badge.compact svg { width: 18px; height: 18px; }
.store-badge.compact span { display: inline; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.01em; }

.nav-stores { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-mobile-stores { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.footer-stores { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--rule-soft); }

/* Row 1 — identity + the one CTA. Kept minimal, like a masthead. */
.nav-inner { display: flex; align-items: center; gap: 34px; height: var(--nav-row1-h); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; letter-spacing: 0.01em; }
/* Brand mark = the Bible Voice app icon. Header shows it large (64px); the
   footer keeps the smaller 28px default. Rounded like the app-store tile. */
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 22%; display: block; }
.nav .brand-mark { width: 80px; height: 80px; }

.nav-links { display: none; } /* superseded by .nav-subnav — kept only for legacy selectors */

/* Row 2 — the content library, as icon + label pairs, always visible on desktop */
.nav-subnav {
  height: var(--nav-row2-h); border-top: 1px solid var(--rule-soft);
  display: flex; align-items: center; justify-content: center; gap: 42px;
}
.subnav-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2); transition: color 0.2s ease;
  position: relative; padding-bottom: 2px;
}
.subnav-link svg { width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.6; opacity: 0.75; transition: opacity 0.2s ease; }
.subnav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  background: var(--voice-ink); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.subnav-link:hover, .subnav-link[aria-current="page"] { color: var(--ink); }
.subnav-link:hover svg { opacity: 1; }
.subnav-link:hover::after, .subnav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-burger span { width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column; gap: 2px; padding: 10px 4vw 26px;
  background: var(--paper); border-bottom: 1px solid var(--rule-soft);
}
.nav-mobile a { padding: 12px 6px; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.nav-mobile a[aria-current="page"] { color: var(--voice-ink); }
.nav-mobile .btn { margin-top: 10px; }
.nav-mobile.open { display: flex; }

/* ---------- Hero — the frontispiece ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 84px) 0 90px; text-align: center; overflow: hidden; }
.hero-halo { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero-halo span {
  position: absolute; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--voice) 34%, transparent);
  transition: border-color 0.6s ease;
  animation: halo 9s ease-in-out infinite;
}
.hero-halo span:nth-child(1) { width: 620px;  height: 620px;  animation-delay: 0s; }
.hero-halo span:nth-child(2) { width: 880px;  height: 880px;  animation-delay: 1.1s; }
.hero-halo span:nth-child(3) { width: 1180px; height: 1180px; animation-delay: 2.2s; }
.hero-halo span:nth-child(4) { width: 1520px; height: 1520px; animation-delay: 3.3s; }
@keyframes halo { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.035); opacity: 0.45; } }
.hero-inner { position: relative; }

.hero-title {
  font-size: clamp(3rem, 7.2vw, 5.4rem);
  font-weight: 500; line-height: 1.06; letter-spacing: -0.015em;
  margin-top: 26px;
}
.hero-title em { color: var(--voice-ink); transition: color 0.5s ease; }
#heroVoiceWord { display: inline-block; transition: opacity 0.22s ease, transform 0.22s ease; }
#heroVoiceWord.swap { opacity: 0; transform: translateY(10px); }
.hero-lede { max-width: 34rem; margin: 26px auto 0; font-size: 1.06rem; color: var(--ink-2); }

.voice-picks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; margin-top: 36px; }
.voice-pick {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 4px; font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 2px solid transparent; transition: all 0.25s ease;
}
.voice-pick i { width: 9px; height: 9px; border-radius: 50%; transition: transform 0.25s ease; }
.voice-pick[data-voice="gen_z"] i      { background: var(--gen-z); }
.voice-pick[data-voice="millennial"] i { background: var(--millennial); }
.voice-pick[data-voice="gen_x"] i      { background: var(--gen-x); }
.voice-pick[data-voice="boomer"] i     { background: var(--boomer); }
.voice-pick:hover { color: var(--ink); }
.voice-pick.active { color: var(--voice-ink); border-bottom-color: var(--voice-ink); }
.voice-pick.active i { transform: scale(1.35); }

/* The hero stage — the app at the center, paper pinned over it */
.hero-stage { position: relative; margin-top: 52px; display: grid; place-items: center; }
.hero-phone { position: relative; z-index: 1; display: grid; place-items: center; }
.hero-phone .phone { transform: rotate(2deg); }
@keyframes float-hero { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2.6deg) translateY(-12px); } }
.hero-phone .phone { animation: float-hero 8s ease-in-out infinite; }

.hero-greet {
  position: absolute; z-index: 2;
  left: calc(50% + 175px); top: 96px;
  max-width: 240px; padding: 16px 22px;
  font-size: 1.22rem; font-style: italic; font-weight: 500; line-height: 1.35; text-align: left;
  color: var(--ink);
  background: var(--card); border: 1px solid var(--rule);
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 1px 0 var(--rule), 0 18px 40px rgba(42, 36, 24, 0.12);
  transform: rotate(2.5deg);
  transition: opacity 0.25s ease;
}
.hero-greet::before {
  content: ""; position: absolute; left: 22px; top: -7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--voice); transition: background 0.5s ease;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--voice) 25%, transparent);
}
.hero-greet.swap { opacity: 0; }

/* Liturgy card */
.liturgy {
  position: absolute; z-index: 2;
  right: calc(50% + 130px); bottom: 44px;
  width: min(430px, 88vw); margin: 0; padding: 26px 30px 24px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule), 0 30px 60px rgba(42, 36, 24, 0.16);
  transform: rotate(-3.5deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.liturgy:hover { transform: rotate(-1.5deg) translateY(-3px); box-shadow: 0 1px 0 var(--rule), 0 38px 74px rgba(42, 36, 24, 0.2); }
.liturgy-head {
  display: flex; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule-soft);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3);
}
.liturgy-ref { color: var(--voice-ink); transition: color 0.5s ease; }
.liturgy-verse {
  font-size: 1.45rem; font-weight: 500; font-style: italic;
  line-height: 1.35; margin: 18px 0; letter-spacing: -0.005em;
}
.liturgy-player { display: flex; align-items: center; gap: 14px; padding-top: 4px; }
.liturgy .play-btn { width: 44px; height: 44px; }
.liturgy .play-btn svg { width: 17px; height: 17px; }
.liturgy .eq { height: 28px; }
.play-btn {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--ink); color: var(--card);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--voice) 30%, transparent);
  transition: background 0.25s ease, box-shadow 0.5s ease, transform 0.2s ease;
}
.play-btn:hover { transform: scale(1.06); background: var(--voice-ink); }
.play-btn svg { width: 20px; height: 20px; }
.play-btn .icon-pause { display: none; }
.play-btn.playing .icon-play { display: none; }
.play-btn.playing .icon-pause { display: block; }

.eq { display: flex; align-items: center; gap: 3px; height: 34px; flex: 1; }
.eq span { flex: 1; height: 22%; border-radius: 2px; background: var(--voice-ink); opacity: 0.4; transition: background 0.5s ease; }
.eq.playing span { animation: eq-bounce 0.9s ease-in-out infinite; opacity: 0.9; }
.eq span:nth-child(3n)   { animation-delay: 0.12s; height: 62%; }
.eq span:nth-child(3n+1) { animation-delay: 0.28s; height: 36%; }
.eq span:nth-child(4n)   { animation-delay: 0.42s; height: 82%; }
.eq span:nth-child(5n)   { animation-delay: 0.06s; height: 48%; }
@keyframes eq-bounce { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1.2); } }
.liturgy-meta { font-size: 0.78rem; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.liturgy-meta b { color: var(--voice-ink); transition: color 0.5s ease; }

.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 44px; }
.hero-proof { width: 100%; margin-top: 14px; font-size: 0.9rem; color: var(--ink-3); }
.hero-proof .stars { color: #B98A1D; letter-spacing: 2px; margin-right: 10px; }
.hero-proof strong { color: var(--ink); }

/* ---------- Verse ribbon (marquee) ---------- */
.ribbon { border-block: 1px solid var(--rule); padding: 16px 0; overflow: hidden; background: var(--paper-deep); }
.ribbon-track { display: flex; width: max-content; animation: ribbon 46s linear infinite; }
.ribbon-track span {
  font-size: 1.15rem; font-style: italic; font-weight: 500;
  color: var(--ink-2); white-space: nowrap; padding-right: 1em;
}
@keyframes ribbon { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Chapter I — the ache ---------- */
.ache-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 90px; align-items: start; }
.ache-left { position: sticky; top: calc(var(--nav-h) + 40px); }
.ache-left h2 { margin-top: 0; }
.dropcap { margin-top: 28px; color: var(--ink-2); font-size: 1.05rem; max-width: 30rem; }
.dropcap::first-letter {
  font-family: var(--serif); font-weight: 600;
  font-size: 3.6em; line-height: 0.8; float: left;
  padding: 6px 12px 0 0; color: var(--voice-ink);
  transition: color 0.5s ease;
}
.ache-list { list-style: none; }
.ache-list li { padding: 30px 0 32px; border-top: 1px solid var(--rule); }
.ache-list li:last-child { border-bottom: 1px solid var(--rule); }
.ache-num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; color: var(--ink-3); }
.ache-list h3 { font-size: 1.65rem; font-weight: 600; font-style: italic; margin: 10px 0 10px; }
.ache-list p { color: var(--ink-2); font-size: 0.97rem; max-width: 34rem; }

/* ---------- Ledger — the numbers ---------- */
.ledger { padding: 0; border-block: 1px solid var(--rule); background: var(--card); }
.ledger-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.ledger-item { text-align: center; padding: 40px 16px 36px; }
.ledger-item + .ledger-item { border-left: 1px solid var(--rule-soft); }
.ledger-item strong {
  display: block; font-size: clamp(2.6rem, 4.6vw, 3.7rem);
  font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums;
}
.ledger-item span {
  display: inline-block; margin-top: 10px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
}

/* ---------- Chapter II — the four voices ---------- */
.choir { padding-bottom: 0; }
.choir-head { padding-bottom: 70px; }
.choir-lede { max-width: 44rem; margin: 24px auto 0; color: var(--ink-2); font-size: 1.05rem; }

.voice-bands { display: flex; flex-direction: column; }
.voice-band {
  --band: var(--millennial-band); --band-ink: #10222A;
  background: var(--band); color: var(--band-ink);
  cursor: pointer; position: relative;
  transition: filter 0.3s ease;
}
.voice-band[data-voice="gen_z"]      { --band: var(--gen-z-band);      --band-ink: #2E130C; }
.voice-band[data-voice="millennial"] { --band: var(--millennial-band); --band-ink: #0C2228; }
.voice-band[data-voice="gen_x"]      { --band: var(--gen-x-band);      --band-ink: #291F06; }
.voice-band[data-voice="boomer"]     { --band: var(--boomer-band);     --band-ink: #1F1233; }
.voice-band:hover, .voice-band:focus-visible { filter: brightness(1.05) saturate(1.05); }
.voice-band + .voice-band { border-top: 1px solid rgba(0, 0, 0, 0.14); }
.voice-band.active::before {
  content: "✓ Your voice"; position: absolute; top: 18px; right: max(4vw, 24px);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 13px; border: 1px solid currentColor; border-radius: 999px;
}
.vb-grid {
  display: grid; grid-template-columns: 300px 1fr; column-gap: 70px; row-gap: 26px;
  padding: 58px 0 50px; align-items: start;
}
.vb-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.vb-tag { font-size: 0.78rem; margin-top: 8px; opacity: 0.75; letter-spacing: 0.06em; }
.vb-greeting { font-size: 1.45rem; font-style: italic; font-weight: 500; margin-top: 20px; line-height: 1.3; }
.vb-quote {
  font-size: clamp(1.45rem, 2.5vw, 2.05rem); font-weight: 500; line-height: 1.38;
  letter-spacing: -0.005em; text-indent: -0.45em;
}
.vb-quote::before { content: "“"; }
.vb-quote::after { content: "”"; }
.vb-quote em { font-style: italic; }
.vb-meta {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 26px;
  padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--band-ink) 26%, transparent);
}
.vb-meta p { font-size: 0.9rem; max-width: 56ch; opacity: 0.85; }
.vb-meta b { font-weight: 700; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.14em; margin-right: 4px; }
.vb-listen {
  display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  padding: 11px 24px; border-radius: 999px; font-weight: 600; font-size: 0.85rem;
  border: 1.5px solid var(--band-ink); color: var(--band-ink);
  transition: all 0.25s ease;
}
.vb-listen svg { width: 13px; height: 13px; }
.vb-listen:hover { background: var(--band-ink); color: var(--band); }
.choir-note { padding: 26px 0 30px; font-style: italic; font-size: 1.05rem; color: var(--ink-3); border-bottom: 1px solid var(--rule); }

/* ---------- Chapter III — the companion (night) ---------- */
.companion {
  background: linear-gradient(180deg, #131022 0%, var(--night-deep) 100%);
  color: var(--cream); padding: 120px 0; overflow: hidden;
}
.companion-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: center; }
.companion .chapter { color: color-mix(in srgb, var(--voice) 75%, white 15%); }
.companion h2 { color: var(--cream); }

.companion-phone { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: 300px; border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #3A3F4B, #14161C);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.14);
  z-index: 2; animation: float 8s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-13px) rotate(0.8deg); } }
.phone-notch { position: absolute; top: 21px; left: 50%; transform: translateX(-50%); width: 104px; height: 24px; background: #0A0C10; border-radius: 999px; z-index: 3; }
.phone-screen {
  border-radius: 36px; overflow: hidden; padding: 56px 16px 22px;
  background: linear-gradient(180deg, #171B27 0%, var(--night-deep) 100%);
  min-height: 570px; color: rgba(255, 255, 255, 0.95);
}
.phone-glow {
  position: absolute; width: 430px; height: 430px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--voice) 30%, transparent), transparent 65%);
  filter: blur(50px); z-index: 1; transition: background 0.6s ease;
}
.ps-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.ps-greeting { font-weight: 700; font-size: 0.94rem; line-height: 1.35; max-width: 185px; }
.ps-date { color: rgba(255, 255, 255, 0.45); font-size: 0.7rem; margin-top: 4px; }
.ps-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; color: #0B0D12;
  background: var(--voice); transition: background 0.5s ease;
}
.ps-verse-card {
  border-radius: 16px; padding: 16px;
  background: color-mix(in srgb, var(--voice) 14%, rgba(255, 255, 255, 0.03));
  border: 1px solid color-mix(in srgb, var(--voice) 30%, transparent);
  transition: background 0.5s ease, border-color 0.5s ease;
}
.ps-verse-ref { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--voice) 80%, white 20%); transition: color 0.5s ease; }
.ps-verse { font-size: 1.04rem; line-height: 1.42; margin-top: 7px; font-weight: 500; }
.ps-player { display: flex; align-items: center; gap: 10px; margin-top: 13px; }
.ps-play {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--voice); color: #0B0D12;
  transition: background 0.5s ease;
}
.ps-play svg { width: 15px; height: 15px; }
.ps-eq-mini span { background: color-mix(in srgb, var(--voice) 80%, white 10%); }
.ps-eq-mini { height: 26px; }
.ps-time { font-size: 0.68rem; color: rgba(255, 255, 255, 0.45); font-variant-numeric: tabular-nums; }
.ps-chip-row { display: flex; gap: 8px; margin: 14px 0; }
.ps-chip {
  font-size: 0.66rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.55);
}
.ps-chip.active { border-color: var(--voice); color: color-mix(in srgb, var(--voice) 75%, white 25%); transition: color 0.5s ease, border-color 0.5s ease; }
.ps-list { display: flex; flex-direction: column; gap: 9px; }
.ps-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px;
  border-radius: 13px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08);
}
.ps-item-icon { font-size: 1rem; }
.ps-item p { font-size: 0.76rem; font-weight: 600; line-height: 1.3; }
.ps-item small { font-size: 0.64rem; color: rgba(255, 255, 255, 0.45); line-height: 1.3; display: block; }

/* Chat screen (companion phone) */
.pc-screen { display: flex; flex-direction: column; }
.pc-header { display: flex; gap: 11px; align-items: center; margin-bottom: 16px; }
.pc-title { font-weight: 700; font-size: 0.9rem; }
.pc-sub { font-size: 0.68rem; color: rgba(255, 255, 255, 0.45); }
.pc-thread { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 0.8rem; line-height: 1.45; }
.pc-bubble.user {
  align-self: flex-end;
  background: color-mix(in srgb, var(--voice) 26%, transparent);
  border: 1px solid color-mix(in srgb, var(--voice) 36%, transparent);
  border-bottom-right-radius: 4px;
  transition: background 0.5s ease, border-color 0.5s ease;
}
.pc-bubble.ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom-left-radius: 4px;
}
.pc-verse {
  border-radius: 14px; padding: 12px 14px;
  background: color-mix(in srgb, var(--voice) 13%, rgba(255, 255, 255, 0.03));
  border: 1px solid color-mix(in srgb, var(--voice) 28%, transparent);
  transition: background 0.5s ease, border-color 0.5s ease;
}
.pc-verse .serif { font-size: 0.96rem; line-height: 1.4; margin-top: 5px; font-style: italic; }
.pc-input {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 16px; padding: 8px 8px 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.45); font-size: 0.78rem;
}
.pc-send {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--voice); color: #0B0D12;
  transition: background 0.5s ease;
}
.pc-send svg { width: 13px; height: 13px; }

/* Table of contents */
.toc { list-style: none; margin-top: 40px; }
.toc li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.13); align-items: baseline; }
.toc li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.13); }
.toc-num { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; font-style: italic; color: color-mix(in srgb, var(--voice) 75%, white 15%); flex-shrink: 0; width: 34px; transition: color 0.5s ease; }
.toc-body { flex: 1; }
.toc-body h3 { display: flex; align-items: baseline; gap: 12px; font-size: 0.99rem; font-weight: 700; letter-spacing: 0.01em; color: var(--cream); }
.toc-body h3::after { content: ""; flex: 1; border-bottom: 1px dotted rgba(255, 255, 255, 0.3); transform: translateY(-4px); }
.toc-body p { font-size: 0.86rem; color: rgba(255, 255, 255, 0.58); margin-top: 5px; max-width: 46ch; }

/* ---------- Chapter IV — burdens ---------- */
.burdens { text-align: center; }
.burdens-lede { max-width: 44rem; margin: 24px auto 0; color: var(--ink-2); font-size: 1.05rem; }
.mood-index {
  display: flex; flex-wrap: wrap; justify-content: center;
  margin: 54px auto 0; border-block: 1px solid var(--rule); max-width: 1000px;
}
.mood {
  flex: 1 1 150px; padding: 26px 18px; text-align: center;
  transition: background 0.25s ease;
}
.mood + .mood { border-left: 1px solid var(--rule-soft); }
.mood span {
  display: block; font-size: 2rem; font-weight: 500; font-style: italic; line-height: 1.1;
  color: var(--mc); transition: transform 0.25s ease;
}
.mood small { display: block; margin-top: 8px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.mood:hover { background: color-mix(in srgb, var(--mc) 7%, transparent); }
.mood:hover span { transform: translateY(-2px); }
.plain-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin-top: 34px; }
.plain-list li { font-size: 0.9rem; color: var(--ink-2); }
.plain-list li::before { content: "✦"; margin-right: 10px; font-size: 0.7rem; color: var(--voice-ink); transition: color 0.5s ease; }

/* ---------- Chapter V — fellowship ---------- */
.fellowship { background: var(--paper-deep); border-block: 1px solid var(--rule-soft); }
.fellowship-cols { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 60px; }
.fellowship-col { padding: 8px 44px; }
.fellowship-col + .fellowship-col { border-left: 1px solid var(--rule); }
.fellowship-col:first-child { padding-left: 0; }
.fellowship-col:last-child { padding-right: 0; }
.fellowship-col h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 14px; color: var(--voice-ink); transition: color 0.5s ease; }
.fellowship-col p { font-size: 0.95rem; color: var(--ink-2); }

.steps { margin-top: 80px; padding-top: 54px; border-top: 1px solid var(--rule); }
.steps-title { text-align: center; font-size: 1.7rem; font-style: italic; font-weight: 500; }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 40px; }
.step { display: flex; gap: 18px; align-items: baseline; }
.step > span { font-size: 2.6rem; font-weight: 500; font-style: italic; color: var(--voice-ink); line-height: 1; transition: color 0.5s ease; }
.step p { font-size: 0.92rem; color: var(--ink-2); }
.step b { color: var(--ink); display: block; font-size: 0.98rem; margin-bottom: 2px; }

/* ---------- Testimony ---------- */
.testimony { text-align: center; }
.pull-quote { position: relative; max-width: 56rem; margin: 30px auto 0; padding-top: 30px; }
.pull-quote::before {
  content: "“"; position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: 9rem; line-height: 1; color: color-mix(in srgb, var(--voice) 38%, transparent);
  pointer-events: none; transition: color 0.5s ease;
}
.pull-quote blockquote { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 500; line-height: 1.4; letter-spacing: -0.005em; }
.pull-quote blockquote em { font-style: italic; }
.pull-quote figcaption { margin-top: 22px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.testimony-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 80px; }
.pull-quote.small { padding-top: 0; margin-top: 0; }
.pull-quote.small::before { display: none; }
.pull-quote.small blockquote { font-size: 1.3rem; }
.pull-quote.small { border-top: 1px solid var(--rule); padding-top: 34px; }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 780px; }
.faq-list { margin-top: 50px; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 24px 4px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .serif { font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
.faq-mark {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1;
  color: var(--ink-3); transition: transform 0.3s ease, color 0.3s ease; flex-shrink: 0;
}
.faq-item[open] .faq-mark { transform: rotate(45deg); color: var(--voice-ink); }
.faq-item p { padding: 0 4px 26px; color: var(--ink-2); font-size: 0.97rem; max-width: 60ch; }

/* ---------- CTA — nightfall ---------- */
.cta {
  position: relative; text-align: center; overflow: hidden;
  background:
    radial-gradient(ellipse 75% 90% at 50% -25%, color-mix(in srgb, var(--voice) 24%, transparent), transparent 65%),
    linear-gradient(180deg, #161226 0%, var(--night-deep) 55%);
  color: var(--cream); padding: 130px 0 120px;
}
.cta-stars { position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image:
    radial-gradient(1px 1px at 12% 25%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 41% 18%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 57% 44%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1.5px 1.5px at 68% 12%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 79% 55%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 89% 30%, rgba(255,255,255,0.65), transparent),
    radial-gradient(1px 1px at 8% 74%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 94% 78%, rgba(255,255,255,0.45), transparent);
}
.cta-inner { position: relative; }
.cta .kicker { color: color-mix(in srgb, var(--voice) 75%, white 15%); }
.cta h2 { color: var(--cream); font-size: clamp(2.6rem, 5.4vw, 4rem); margin-top: 24px; }
.cta-lede { max-width: 34rem; margin: 22px auto 0; color: rgba(243, 237, 223, 0.72); font-size: 1.05rem; }
.cta-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 42px; }
.cta-verse { margin-top: 58px; font-size: 1.4rem; font-style: italic; font-weight: 500; color: rgba(243, 237, 223, 0.85); }
.cta-verse span { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243, 237, 223, 0.45); }

/* ---------- Footer ---------- */
.footer { background: var(--night-deep); color: rgba(243, 237, 223, 0.9); padding: 70px 0 34px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer .brand-name { color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand p { color: rgba(243, 237, 223, 0.5); font-size: 0.9rem; margin-top: 16px; max-width: 24rem; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(243, 237, 223, 0.4); margin-bottom: 8px; font-weight: 700; }
.footer-col a { color: rgba(243, 237, 223, 0.62); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(243, 237, 223, 0.4); font-size: 0.82rem;
}
.footer-verse { font-style: italic; font-size: 1rem; color: rgba(243, 237, 223, 0.5); }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--nav-h) + 60px) 0 90px; }
.legal-body { max-width: 740px; margin-inline: auto; }
.legal-body h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 8px; }
.legal-updated { color: var(--ink-3); font-size: 0.85rem; margin-bottom: 44px; }
.legal-body h2 { font-size: 1.5rem; margin: 42px 0 12px; }
.legal-body h3 { font-size: 1.12rem; margin: 26px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 0.97rem; margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; }
.legal-note { border-left: 3px solid var(--rule); padding: 6px 0 6px 18px; margin: 18px 0; color: var(--ink-2); font-size: 0.95rem; }
.legal-toc { border: 1px solid var(--rule-soft); border-radius: 12px; padding: 20px 24px; margin: 0 0 40px; }
.legal-toc h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 12px; color: var(--ink-3); }
.legal-toc ol { columns: 2; column-gap: 32px; padding-left: 20px; margin: 0; }
.legal-toc li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 560px) { .legal-toc ol { columns: 1; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .ribbon-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .hero-stage { display: flex; flex-direction: column; align-items: center; }
  .hero-greet { display: none; }
  .liturgy { position: static; transform: rotate(-1.5deg); margin: -64px auto 0; }
  .liturgy:hover { transform: rotate(-0.5deg) translateY(-3px); }
}
@media (max-width: 1020px) {
  .ache-grid { grid-template-columns: 1fr; gap: 50px; }
  .ache-left { position: static; }
  .vb-grid { grid-template-columns: 1fr; row-gap: 20px; padding: 46px 0 42px; }
  .companion-grid { grid-template-columns: 1fr; gap: 70px; }
  .companion-phone { order: 2; }
  .fellowship-cols { grid-template-columns: 1fr; gap: 0; }
  .fellowship-col { padding: 26px 0 !important; border-left: none !important; }
  .fellowship-col + .fellowship-col { border-top: 1px solid var(--rule); }
  .steps-row { grid-template-columns: 1fr; gap: 26px; }
  .testimony-pair { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --nav-h: var(--nav-row1-h); }
  .nav .nav-stores, .nav-subnav { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile.open {
    max-height: calc(100dvh - var(--nav-row1-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 760px) {
  :root {
    --nav-row1-h: 72px;
    --nav-h: var(--nav-row1-h);
  }
  section { padding: 72px 0; }
  .only-wide { display: none; }
  .nav-links, .nav .btn-ink { display: none; }
  .nav-mobile .btn-ink { display: inline-flex; }
  .nav-inner { height: var(--nav-row1-h); }
  .nav .brand-mark { width: 64px; height: 64px; }
  .nav .brand-name { font-size: 1.3rem; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero-title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .liturgy { padding: 26px 22px 24px; }
  .liturgy-verse { font-size: 1.35rem; }
  .ledger-row { grid-template-columns: 1fr 1fr; }
  .ledger-item:nth-child(3), .ledger-item:nth-child(4) { border-top: 1px solid var(--rule-soft); }
  .ledger-item:nth-child(3) { border-left: none; }
  .vb-meta { flex-direction: column; align-items: flex-start; }
  .mood { flex-basis: 33%; }
  .mood:nth-child(4) { border-left: none; }
  .mood:nth-child(n+4) { border-top: 1px solid var(--rule-soft); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .voice-band.active::before { position: static; display: inline-block; margin: 18px 0 0 4vw; }
  .crumbs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ==========================================================================
   Content library — articles, hubs, verse collections
   ========================================================================== */

.crumbs {
  padding: calc(var(--nav-h) + 36px) 0 0;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; color: var(--rule); }

.article { padding: 28px 0 90px; }
.article-inner { max-width: 740px; margin-inline: auto; }
.article-kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--voice-ink); margin-bottom: 16px;
}
.article h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 3.3rem); line-height: 1.12; letter-spacing: -0.01em;
}
.article-lede { margin-top: 20px; font-size: 1.12rem; color: var(--ink-2); font-style: italic; font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; }
.article-meta { margin-top: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--rule); font-size: 0.78rem; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

.article-body { margin-top: 36px; }
.article-body h2 {
  font-family: var(--serif); font-weight: 600; font-size: 1.75rem; line-height: 1.25;
  margin: 46px 0 14px; letter-spacing: 0;
}
.article-body h3 { font-family: var(--serif); font-weight: 600; font-style: italic; font-size: 1.3rem; margin: 34px 0 10px; }
.article-body p { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 18px; }
.article-body a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--voice-ink) 45%, transparent); text-underline-offset: 3px; }
.article-body a:hover { color: var(--voice-ink); }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; color: var(--ink-2); }
.article-body li { margin-bottom: 8px; font-size: 1.02rem; }

/* Pastoral reflection — a gentle place for depth, prayer, and next steps */
.pastoral-note {
  margin: 42px 0;
  padding: 26px 30px 28px;
  border: 1px solid color-mix(in srgb, var(--voice-ink) 28%, var(--rule));
  border-left: 4px solid var(--voice-ink);
  border-radius: 6px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--voice-ink) 8%, transparent), transparent 64%),
    var(--cream-soft, var(--card));
}
.pastoral-note .pastoral-label {
  margin: 0 0 10px;
  color: var(--voice-ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pastoral-note h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}
.pastoral-note p { margin-bottom: 14px; }
.pastoral-note ul { margin-bottom: 16px; }
.pastoral-note li { padding-left: 2px; }
.pastoral-note .pastoral-prayer {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--voice-ink) 22%, var(--rule-soft));
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.55;
}
.hub-promise {
  max-width: 980px;
  margin: 30px 0 38px;
  padding: 22px 26px 24px;
  display: grid;
  grid-template-columns: minmax(200px, 0.42fr) minmax(0, 1fr);
  gap: 10px 30px;
  align-items: start;
}
.hub-promise .pastoral-label {
  grid-column: 1;
  margin: 2px 0 0;
}
.hub-promise h2 {
  grid-column: 1;
  margin: 28px 0 0;
  font-size: clamp(1.32rem, 2.1vw, 1.72rem);
  line-height: 1.15;
}
.hub-promise p:not(.pastoral-label):not(.pastoral-prayer) {
  grid-column: 2;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.55;
}
.hub-promise .pastoral-prayer {
  grid-column: 2;
  margin: 10px 0 0;
  padding-top: 12px;
  font-size: 1.02rem;
  line-height: 1.48;
}
.hub-promise + .cat-overview { margin-top: 38px; }

/* Search-informed content standards — visible promises for each library type */
.content-standard {
  max-width: 980px;
  margin: -8px 0 46px;
}
.content-standard-label {
  margin: 0 0 14px;
  color: var(--ink-3);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.content-standard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.content-standard-card {
  padding-top: 15px;
  border-top: 1px solid var(--rule-soft);
}
.content-standard-card b {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.13rem;
  font-weight: 600;
  line-height: 1.15;
}
.content-standard-card p {
  margin-top: 7px;
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.48;
}
.cat-overview + .content-standard { margin-top: 54px; }
.gl-nav + .content-standard { margin-top: 32px; }
.content-standard + .cat-groups { margin-top: 46px; }

/* Verse block — a quoted passage */
.verse-block {
  background: var(--card); border: 1px solid var(--rule);
  padding: 24px 28px; margin: 28px 0;
  box-shadow: 0 1px 0 var(--rule);
}
.verse-block .ref {
  display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--voice-ink); margin-bottom: 10px;
}
.verse-block .text { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
.verse-block .note { margin: 12px 0 0; font-size: 0.95rem; color: var(--ink-2); }

/* The quartet — one passage, four voices */
.quartet { margin: 30px 0; }
.quartet-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.qv { padding: 16px 20px; margin-bottom: 12px; border-left: 3px solid var(--qc); background: color-mix(in srgb, var(--qc) 7%, transparent); }
.qv b { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--qc); margin-bottom: 6px; }
.qv p { margin: 0; color: var(--ink); font-size: 0.99rem; line-height: 1.55; }
.qv-genz   { --qc: var(--gen-z-ink); }
.qv-mill   { --qc: var(--millennial-ink); }
.qv-genx   { --qc: var(--gen-x-ink); }
.qv-boomer { --qc: var(--boomer-ink); }

/* In-article app CTA — a small night panel */
.article-cta {
  margin: 48px 0; padding: 36px 38px; text-align: center;
  background: linear-gradient(180deg, #171330 0%, var(--night-deep) 100%);
  color: var(--cream); border-radius: 4px;
}
.article-cta p.big { font-family: var(--serif); font-size: 1.45rem; font-style: italic; font-weight: 500; line-height: 1.4; margin-bottom: 6px; color: var(--cream); }
.article-cta p.small { font-size: 0.9rem; color: rgba(243, 237, 223, 0.65); margin-bottom: 20px; }
.article-cta .btn-cream {
  display: inline-flex; padding: 12px 28px; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  background: var(--cream); color: var(--night-deep); transition: transform 0.2s ease;
}
.article-cta .btn-cream:hover { transform: translateY(-2px); }

/* Related links */
.related { margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--rule); }
.related h2 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin-bottom: 6px; }
.related ol { list-style: none; margin: 14px 0 0; }
.related li { border-bottom: 1px solid var(--rule-soft); }
.related a { display: flex; align-items: baseline; gap: 12px; padding: 14px 2px; font-size: 0.98rem; font-weight: 600; }
.related a::after { content: "→"; margin-left: auto; color: var(--ink-3); }
.related a:hover { color: var(--voice-ink); }
.related a small { font-weight: 500; color: var(--ink-3); }

/* Hub pages — editorial index with dotted leaders */
.hub { padding: 30px 0 90px; }
.hub-head { max-width: 780px; }
.hub-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; }
.hub-head .hub-lede { margin-top: 18px; font-size: 1.05rem; color: var(--ink-2); max-width: 40rem; }
.index-list { list-style: none; margin-top: 44px; border-top: 1px solid var(--rule); }
.index-list li { border-bottom: 1px solid var(--rule); }
.index-list a { display: flex; align-items: baseline; gap: 16px; padding: 20px 4px; }
.index-list a:hover .index-title { color: var(--voice-ink); }
.index-num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink-3); flex-shrink: 0; width: 30px; }
.index-title { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; transition: color 0.2s ease; }
.index-list a .leader { flex: 1; border-bottom: 1px dotted var(--rule); transform: translateY(-5px); min-width: 30px; }
.index-desc { font-size: 0.85rem; color: var(--ink-3); max-width: 34ch; text-align: right; }
@media (max-width: 720px) {
  .index-desc { display: none; }
  .article-cta { padding: 28px 22px; }
  .verse-block { padding: 18px 20px; }
  .pastoral-note { padding: 22px 20px 24px; }
  .pastoral-note h2 { font-size: 1.3rem; }
  .hub-promise {
    margin: 24px 0 28px;
    padding: 18px 18px 20px;
    display: block;
  }
  .hub-promise .pastoral-label {
    margin-bottom: 8px;
    font-size: 0.62rem;
  }
  .hub-promise h2 {
    margin: 0 0 9px;
    font-size: 1.18rem;
  }
  .hub-promise p:not(.pastoral-label):not(.pastoral-prayer) {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.5;
  }
  .hub-promise .pastoral-prayer {
    margin-top: 12px;
    padding-top: 11px;
    font-size: 0.98rem;
    line-height: 1.42;
  }
  .hub-promise + .cat-overview { margin-top: 30px; }
  .content-standard { margin: -4px 0 34px; }
  .cat-overview + .content-standard,
  .gl-nav + .content-standard {
    margin-top: 34px;
  }
  .content-standard + .cat-groups { margin-top: 42px; }
  .content-standard-label {
    margin-bottom: 10px;
    font-size: 0.6rem;
  }
  .content-standard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
  }
  .content-standard-card {
    padding-top: 11px;
  }
  .content-standard-card b {
    font-size: 1rem;
  }
  .content-standard-card p {
    font-size: 0.8rem;
    line-height: 1.42;
  }
}

/* ==========================================================================
   Verses hub — magazine layout: intro + verse-of-the-day + category groups
   ========================================================================== */

.hub-lede { margin-top: 22px; font-size: 1.05rem; color: var(--ink-2); max-width: 44rem; }
.hub-count { color: var(--voice-ink); font-weight: 700; }

/* Verse of the day */
.verses-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: clamp(42px, 6vw, 78px);
  align-items: center;
}
.verses-intro .hub-head { max-width: none; }
.verses-intro .votd { max-width: none; margin-top: 0; }

.votd {
  max-width: 640px; margin: 46px 0 0; padding: 30px 36px 26px;
  background: var(--card); border: 1px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule), 0 22px 46px rgba(42, 36, 24, 0.1);
  transform: rotate(-0.6deg);
}
.votd-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule-soft);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3);
}
.votd-ref { color: var(--voice-ink); }
.votd-text { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.35rem; line-height: 1.4; margin: 20px 0 18px; }
.votd-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 0.85rem; color: var(--ink-3); }
.votd-foot a { font-weight: 700; color: var(--voice-ink); }
.votd-foot a:hover { text-decoration: underline; }

/* Overview grid — six doors in, at a glance. This is the site's answer
   to a stock-photo card grid: color + a hand-drawn glyph, no photography. */
.cat-overview {
  margin-top: 56px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.cat-card {
  --cat: var(--voice-ink);
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 26px 24px 22px; border-radius: 4px;
  background: color-mix(in srgb, var(--cat) 6%, var(--card));
  border: 1px solid color-mix(in srgb, var(--cat) 30%, var(--rule));
  box-shadow: 0 1px 0 rgba(42, 36, 24, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--cat);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--cat) 22%, transparent);
}
.cat-card .cc-badge {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1.5px solid var(--cat); color: var(--cat);
  background: color-mix(in srgb, var(--cat) 10%, var(--paper));
}
.cat-card .cc-badge svg { width: 26px; height: 26px; }
.cat-card .cc-title { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; color: var(--cat); }
.cat-card .cc-desc { font-family: var(--serif); font-style: italic; font-size: 0.92rem; color: var(--ink-2); line-height: 1.35; }
.cat-card .cc-count {
  margin-top: auto; padding-top: 10px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cat);
}
.cat-card .cc-count::after { content: " →"; }

/* Category detail sections — colored top rule + badge for wayfinding when
   scrolled to via the overview cards, then a 2D tile grid (not a long list). */
.cat-groups { margin-top: 70px; display: flex; flex-direction: column; gap: 60px; }
.cat-group {
  --cat: var(--voice-ink);
  border-top: 2px solid var(--cat);
  padding-top: 30px; scroll-margin-top: calc(var(--nav-h) + 20px);
}
.cat-group-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 6px; }
.cat-badge {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1.5px solid var(--cat); color: var(--cat);
  background: color-mix(in srgb, var(--cat) 7%, var(--paper));
}
.cat-badge svg { width: 22px; height: 22px; }
.cat-group-head h2 { font-size: 1.55rem; color: var(--cat); }
.cat-group-desc { color: var(--ink-3); font-size: 0.92rem; font-style: italic; font-family: var(--serif); flex-basis: 100%; margin-left: 62px; margin-top: -8px; }

.tile-grid {
  margin-top: 24px; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px;
}
.tile {
  display: flex; flex-direction: column; gap: 5px;
  padding: 16px 18px; border-radius: 3px;
  background: var(--card); border: 1px solid var(--rule);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tile:hover {
  border-color: var(--cat); transform: translateY(-2px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--cat) 16%, transparent);
}
.tile-title { font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.tile:hover .tile-title { color: var(--cat); }
.tile-desc { font-size: 0.82rem; color: var(--ink-3); line-height: 1.4; }

@media (max-width: 980px) {
  .verses-intro { grid-template-columns: 1fr; gap: 0; }
  .verses-intro .hub-head { max-width: 780px; }
  .verses-intro .votd { max-width: 640px; margin-top: 46px; }
  .cat-overview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .votd { padding: 22px 22px 20px; }
  .votd-foot { align-items: flex-start; flex-direction: column; gap: 4px; }
  .votd-foot > span { display: none; }
  .votd-foot a::after { content: " →"; }
  .cat-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 42px;
  }
  .cat-card { gap: 8px; min-height: 154px; padding: 18px 16px 16px; }
  .cat-card .cc-badge { width: 42px; height: 42px; }
  .cat-card .cc-badge svg { width: 22px; height: 22px; }
  .cat-card .cc-title { font-size: 1.08rem; line-height: 1.15; }
  .cat-card .cc-desc { display: none; }
  .cat-card .cc-count {
    padding-top: 6px;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    line-height: 1.35;
    white-space: nowrap;
  }
  .cat-groups { margin-top: 54px; gap: 44px; }
  .cat-group { padding-top: 24px; }
  .cat-group-head { gap: 12px; }
  .cat-group-desc { margin-left: 0; margin-top: 4px; }
  .tile-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .tile { padding: 13px 15px; }
}

/* ==========================================================================
   Glossary — a single scannable alphabetical reference page
   ========================================================================== */
.gl-nav {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 40px 0 0;
  padding: 18px 0; border-block: 1px solid var(--rule);
  position: sticky; top: var(--nav-h); z-index: 20;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.gl-nav a {
  width: 30px; height: 30px; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 0.95rem;
  color: var(--ink-3); border-radius: 50%; transition: all 0.15s ease;
}
.gl-nav a:hover { color: var(--voice-ink); background: color-mix(in srgb, var(--voice-ink) 10%, transparent); }
.gl-nav a.gl-disabled { opacity: 0.28; pointer-events: none; }

.gl-body { margin-top: 8px; }
.gl-letter {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 500; font-style: italic;
  color: var(--voice-ink); margin: 64px 0 8px; scroll-margin-top: calc(var(--nav-h) + 56px);
  transition: color 0.4s ease;
}
.gl-letter:first-child { margin-top: 20px; }
.gl-entry { padding: 22px 0; border-top: 1px solid var(--rule-soft); }
.gl-term { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.gl-origin { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 0.92rem; color: var(--ink-3); }
.gl-def { margin-top: 8px; color: var(--ink-2); font-size: 0.98rem; max-width: 66ch; }
.gl-verse { margin-top: 10px; font-size: 0.92rem; color: var(--ink-3); max-width: 66ch; }
.gl-verse .gl-ref { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; color: var(--voice-ink); margin-right: 8px; }
.gl-verse em { font-style: italic; color: var(--ink-2); }
.gl-see { margin-top: 8px; font-size: 0.85rem; }
.gl-see a { color: var(--voice-ink); font-weight: 600; }
.gl-see a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .gl-nav {
    top: var(--nav-h);
    flex-wrap: nowrap;
    gap: 2px;
    margin-inline: -4vw;
    padding: 11px 4vw;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .gl-nav::-webkit-scrollbar { display: none; }
  .gl-nav a { width: 28px; height: 28px; font-size: 0.85rem; flex: 0 0 28px; }
  .gl-letter { font-size: 2.1rem; margin-top: 48px; }
}
