/* Text selection — keep copy/paste easy */
html, body {
  -webkit-user-select: text;
  user-select: text;
}
p, h1, h2, h3, h4, li, blockquote, span, a, label, td, th,
.lede, .hero-note, .dual-col p, .dual-card-verse, .eyebrow,
.wordmark, .problem-point span, .problem-point strong,
.step p, .step h3, .form-note, .footer-brand p {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
::selection {
  background: rgba(176, 141, 62, 0.35);
  color: var(--ink, #0f1c2e);
}
::-moz-selection {
  background: rgba(176, 141, 62, 0.35);
  color: var(--ink, #0f1c2e);
}

:root {
      --ink: #0f1c2e;
      --ink-soft: #1a2d45;
      --ink-muted: #3d5270;
      --cream: #f7f3eb;
      --cream-deep: #efe8da;
      --paper: #fffcf7;
      --gold: #b08d3e;
      --gold-soft: #c9a95a;
      --gold-pale: #f3e9d0;
      --teal: #3d6b6b;
      --border: rgba(15, 28, 46, 0.1);
      --shadow: 0 12px 40px rgba(15, 28, 46, 0.08);
      --shadow-sm: 0 4px 16px rgba(15, 28, 46, 0.06);
      --radius: 14px;
      --max: 880px;
      --max-wide: 1120px;
      --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
      --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-sans);
      font-size: 1.0625rem;
      line-height: 1.65;
      color: var(--ink);
      background: var(--cream);
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }
    button { font: inherit; }

    .container {
      width: min(100% - 2.5rem, var(--max-wide));
      margin-inline: auto;
    }

    .reader {
      width: min(100% - 2.5rem, var(--max));
      margin-inline: auto;
    }

    h1, h2, h3, .wordmark {
      font-family: var(--font-serif);
      font-weight: 600;
      line-height: 1.15;
      letter-spacing: -0.01em;
      color: var(--ink);
    }

    .eyebrow {
      display: inline-block;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.85rem;
    }


    /* —— Voices / quotes —— */
    .voices {
      padding: 2.75rem 0 3rem;
      margin-top: 0.5rem;
      scroll-margin-top: 4.75rem;
      background:
        linear-gradient(180deg, rgba(243, 233, 208, 0.45) 0%, var(--cream-deep) 38%, rgba(61, 107, 107, 0.07) 100%);
      border-block: 1px solid var(--border);
      position: relative;
    }
    .voices::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 50%, var(--teal) 100%);
      opacity: 0.9;
    }
    .voices-panel {
      background: var(--paper);
      border: 1px solid var(--border);
      border-radius: calc(var(--radius) + 2px);
      box-shadow: var(--shadow-sm);
      padding: 2.1rem 1.6rem 1.6rem;
      position: relative;
      overflow: hidden;
    }
    .voices-panel::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 4px;
      background: linear-gradient(180deg, var(--teal), var(--gold));
    }
    .voices-intro {
      text-align: center;
      max-width: 36rem;
      margin: 0 auto 2rem;
    }
    .voices-pill {
      display: inline-flex;
      align-items: center;
      padding: 0.28rem 0.78rem;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(61, 107, 107, 0.12), var(--gold-pale));
      color: #6b5424;
      border: 1px solid rgba(176, 141, 62, 0.35);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 0.9rem;
    }
    .voices-intro h2 {
      font-size: clamp(1.65rem, 2.8vw, 2.1rem);
      margin-bottom: 0.65rem;
    }
    .voices-intro p {
      color: var(--ink-muted);
      font-size: 1.02rem;
    }
    .voices-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
      align-items: start;
    }
    .voices-col {
      background: var(--cream);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: none;
      padding: 1.35rem 1.35rem 1.1rem;
    }
    .voices-col.arminian { border-top: 3px solid var(--teal); }
    .voices-col.reformed { border-top: 3px solid var(--gold); }
    .voices-col h3 {
      font-family: var(--font-sans);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 1.1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .voices-col.arminian h3 { color: var(--teal); }
    .voices-col.reformed h3 { color: var(--gold); }
    .quote-card {
      padding: 1rem 0;
      border-top: 1px solid var(--border);
    }
    .quote-card:first-of-type { border-top: none; padding-top: 0; }
    .quote-card blockquote {
      font-family: var(--font-serif);
      font-size: 1.08rem;
      line-height: 1.45;
      color: var(--ink);
      font-style: italic;
      margin-bottom: 0.7rem;
    }
    .quote-card cite {
      display: block;
      font-style: normal;
      font-size: 0.88rem;
      color: var(--ink-muted);
      line-height: 1.4;
    }
    .quote-card cite strong {
      color: var(--ink);
      font-weight: 600;
    }
    .voices-note {
      margin-top: 1.25rem;
      text-align: center;
      font-size: 0.85rem;
      color: var(--ink-muted);
    }
    .voices-jump {
      display: inline-flex;
      align-items: center;
      padding: 0.28rem 0.7rem;
      border-radius: 999px;
      background: rgba(61, 107, 107, 0.12);
      color: var(--teal);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: background 0.15s, color 0.15s;
    }
    .voices-jump:hover {
      background: rgba(61, 107, 107, 0.2);
      color: var(--ink);
    }
    @media (max-width: 800px) {
      .voices-grid { grid-template-columns: 1fr; }
      .voices-panel { padding: 1.6rem 1.15rem 1.25rem; }
    }

    /* —— Buttons —— */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      padding: 0.8rem 1.45rem;
      border-radius: 999px;
      border: 1.5px solid transparent;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
    }
    .btn:active { transform: translateY(1px); }

    .btn-primary {
      background: var(--ink);
      color: var(--cream);
      box-shadow: 0 6px 20px rgba(15, 28, 46, 0.22);
    }
    .btn-primary:hover {
      background: var(--ink-soft);
      box-shadow: 0 8px 24px rgba(15, 28, 46, 0.28);
    }

    .btn-gold {
      background: var(--gold);
      color: #fff;
      box-shadow: 0 6px 18px rgba(176, 141, 62, 0.35);
    }
    .btn-gold:hover { background: var(--gold-soft); }

    .btn-nav {
      padding: 0.55rem 1.1rem;
      font-size: 0.875rem;
    }

    /* —— Nav —— */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(247, 243, 235, 0.88);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 4.25rem;
      gap: 1.5rem;
    }

    .wordmark {
      font-size: 1.55rem;
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .wordmark span { color: var(--gold); }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.75rem;
    }

    .nav-links a {
      font-size: 0.92rem;
      font-weight: 500;
      color: var(--ink-muted);
      transition: color 0.15s;
    }
    .nav-links a:hover { color: var(--ink); }

    .nav-cta { margin-left: 0.5rem; }

    .nav-toggle {
      display: none;
      background: none;
      border: none;
      padding: 0.4rem;
      cursor: pointer;
      color: var(--ink);
    }

    /* —— Passage header —— */
    .passage-header {
      padding: 3.25rem 0 2.25rem;
      text-align: center;
      border-bottom: 1px solid var(--border);
      background:
        linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
    }

    .passage-header h1 {
      font-size: clamp(2.1rem, 4vw, 2.85rem);
      margin-bottom: 0.65rem;
    }

    .passage-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 0.55rem 1rem;
      margin-bottom: 1rem;
      font-size: 0.92rem;
      color: var(--ink-muted);
    }

    .passage-meta .pill {
      display: inline-flex;
      align-items: center;
      padding: 0.28rem 0.7rem;
      border-radius: 999px;
      background: var(--gold-pale);
      color: #8a6c28;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .passage-context {
      max-width: 32rem;
      margin-inline: auto;
      font-size: 1.05rem;
      color: var(--ink-muted);
      font-style: italic;
      font-family: var(--font-serif);
    }

    /* —— Verse blocks —— */
    .verse-list {
      padding: 2.5rem 0 1rem;
      display: flex;
      flex-direction: column;
      gap: 1.75rem;
    }

    .verse-card {
      background: var(--paper);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
    }

    .verse-text-block {
      padding: 1.6rem 1.75rem 1.4rem;
      border-bottom: 1px solid var(--border);
      background: linear-gradient(180deg, rgba(243, 233, 208, 0.35) 0%, var(--paper) 100%);
    }

    .verse-ref {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.65rem;
    }

    .verse-scripture {
      font-family: var(--font-serif);
      font-size: clamp(1.2rem, 2.2vw, 1.45rem);
      font-weight: 500;
      line-height: 1.55;
      color: var(--ink);
    }

    .verse-scripture .vnum {
      font-family: var(--font-sans);
      font-size: 0.72em;
      font-weight: 700;
      color: var(--gold);
      vertical-align: super;
      margin-right: 0.2em;
      letter-spacing: 0.02em;
    }

    .dual-cols {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }

    .dual-col {
      padding: 1.35rem 1.5rem 1.55rem;
    }

    .dual-col + .dual-col {
      border-left: 1px solid var(--border);
    }

    .dual-label {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 0.85rem;
      padding: 0.28rem 0.65rem;
      border-radius: 999px;
    }

    .label-arminian {
      background: rgba(61, 107, 107, 0.12);
      color: var(--teal);
    }

    .label-reformed {
      background: var(--gold-pale);
      color: #8a6c28;
    }

    .dual-col p {
      font-size: 0.94rem;
      line-height: 1.62;
      color: var(--ink-muted);
      margin-bottom: 0.75rem;
    }

    .dual-col p:last-child { margin-bottom: 0; }

    .key-contrast {
      margin: 0;
      padding: 0.9rem 1.5rem 1.15rem;
      border-top: 1px dashed var(--border);
      background: rgba(247, 243, 235, 0.55);
      font-size: 0.88rem;
      color: var(--ink-soft);
      line-height: 1.5;
    }

    .key-contrast strong {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gold);
      display: block;
      margin-bottom: 0.3rem;
    }

    /* —— Disclaimer —— */
    .disclaimer {
      margin: 2.5rem 0 0;
      padding: 1.35rem 1.5rem;
      background: var(--cream-deep);
      border: 1px solid var(--border);
      border-radius: 12px;
      font-size: 0.88rem;
      color: var(--ink-muted);
      line-height: 1.55;
    }

    .disclaimer strong {
      color: var(--ink-soft);
      font-weight: 600;
    }

    /* —— Bottom CTA —— */
    .bottom-cta {
      padding: 3.5rem 0 4.5rem;
    }

    .cta-box {
      background: var(--ink);
      color: var(--cream);
      border-radius: calc(var(--radius) + 4px);
      padding: clamp(2.25rem, 4vw, 3.25rem);
      text-align: center;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    .cta-box::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse at 15% 20%, rgba(176, 141, 62, 0.18), transparent 45%),
        radial-gradient(ellipse at 90% 80%, rgba(61, 107, 107, 0.15), transparent 40%);
      pointer-events: none;
    }

    .cta-box > * { position: relative; }

    .cta-box h2 {
      color: var(--cream);
      font-size: clamp(1.65rem, 3vw, 2.1rem);
      margin-bottom: 0.65rem;
    }

    .cta-box p {
      color: rgba(247, 243, 235, 0.72);
      max-width: 28rem;
      margin: 0 auto 1.5rem;
      font-size: 1.05rem;
    }

    /* —— Footer —— */

    /* —— Ad slots: collapse to nothing until an ad actually fills —— */
    .ad-slot {
      width: min(100% - 2.5rem, var(--max, 1120px));
      margin: 0 auto;
      text-align: center;
    }
    .ad-slot.ad-slot-narrow {
      width: min(100% - 2.5rem, 880px);
    }
    .ad-slot:has(ins.adsbygoogle[data-ad-status="filled"]) {
      margin: 2.25rem auto;
    }
    .ad-label {
      display: none;
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--ink-muted);
      margin-bottom: 0.45rem;
      opacity: 0.75;
    }
    .ad-slot:has(ins.adsbygoogle[data-ad-status="filled"]) .ad-label { display: block; }
    .ad-frame,
    .ad-frame--leader,
    .ad-frame--rect {
      display: block;
      min-height: 0;
      padding: 0;
      border: 0;
      background: transparent;
    }
    ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

    .site-footer {
      border-top: 1px solid var(--border);
      padding: 2.75rem 0 2.25rem;
    }

    .footer-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: space-between;
      gap: 2rem;
    }

    .footer-brand .wordmark {
      font-size: 1.35rem;
      margin-bottom: 0.4rem;
    }

    .footer-brand p {
      font-size: 0.92rem;
      color: var(--ink-muted);
      max-width: 18rem;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
    }

    .footer-links a {
      font-size: 0.9rem;
      color: var(--ink-muted);
      font-weight: 500;
      transition: color 0.15s;
    }
    .footer-links a:hover { color: var(--ink); }

    .footer-bottom {
      margin-top: 2rem;
      padding-top: 1.35rem;
      border-top: 1px solid var(--border);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 0.75rem;
      font-size: 0.82rem;
      color: var(--ink-muted);
    }

    /* —— Mobile —— */
    @media (max-width: 900px) {
      .nav-links { display: none; }
      .nav-toggle { display: block; }

      .nav-links.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 4.25rem;
        left: 0;
        right: 0;
        background: var(--cream);
        border-bottom: 1px solid var(--border);
        padding: 1.25rem 1.25rem 1.5rem;
        gap: 0.85rem;
        box-shadow: var(--shadow-sm);
      }

      .nav-links.open .nav-cta {
        margin-left: 0;
        align-self: flex-start;
      }

      .site-header { position: relative; }
      .site-header.is-open { position: sticky; }
    }

    @media (max-width: 720px) {
      .dual-cols { grid-template-columns: 1fr; }

      .dual-col + .dual-col {
        border-left: none;
        border-top: 1px solid var(--border);
      }

      .container,
      .reader { width: min(100% - 1.75rem, var(--max-wide)); }

      .passage-header { padding: 2.5rem 0 1.85rem; }
      .verse-text-block { padding: 1.35rem 1.25rem 1.2rem; }
      .dual-col { padding: 1.2rem 1.25rem 1.35rem; }
    }

    /* —— Print —— */
    @media print {
      .site-header,
      .nav-toggle,
      .bottom-cta,
      .site-footer { display: none !important; }

      body { background: white; color: #000; font-size: 11pt; }
      .passage-header { background: none; border-bottom: 1px solid #ccc; padding: 1rem 0; }
      .verse-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
      }
      .verse-scripture { font-size: 13pt; }
      .dual-col p { color: #222; font-size: 10pt; }
      .key-contrast { background: #f5f5f5; }
      .disclaimer { border-color: #ccc; background: #f9f9f9; }
    }


/* —— Bible index —— */
.bible-index {
  padding: 3rem 0 4rem;
}
.bible-index .page-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}
.bible-index .page-intro h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.65rem;
}
.bible-index .page-intro p {
  color: var(--ink-muted);
  font-size: 1.05rem;
}
.testament {
  margin-bottom: 2.75rem;
}
.testament-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin: 0 0 1.25rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--gold);
}
.book-block {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.6rem 1.35rem;
  margin-bottom: 1.25rem;
}
.book-block--live {
  border-color: rgba(176, 141, 62, 0.35);
}
.book-block--soon {
  background: transparent;
  box-shadow: none;
  border-style: dashed;
  opacity: 0.72;
  padding: 1rem 1.25rem;
}
.book-block--soon h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  padding-bottom: 0;
  border-bottom: none;
  color: var(--ink-muted);
  font-weight: 500;
}
.book-block .coming-soon {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-style: italic;
}
.book-block h2 {
  font-size: 1.55rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}
.chapter-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
}
.chapter-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.22rem 0.45rem;
  border-radius: 6px;
  background: var(--cream-deep);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.chapter-jump a:hover,
.chapter-jump a:focus-visible {
  background: var(--gold-pale);
  border-color: rgba(176, 141, 62, 0.45);
  color: var(--ink);
}
.book-block .chapter-group {
  margin-top: 0.35rem;
}
.book-block .chapter-group + .chapter-group {
  margin-top: 1rem;
}
.book-block .chapter-heading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.4rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 5rem;
}
.passage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.passage-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 500;
  transition: background 0.15s;
}
.passage-list a:hover {
  background: var(--cream-deep);
}
.passage-list .ref {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
}
.passage-list .meta {
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 400;
}
.empty-state {
  text-align: center;
  color: var(--ink-muted);
  padding: 2rem;
}

/* —— On-site search —— */
.search-panel {
  margin: 0 auto 2rem;
  max-width: 36rem;
}
.search-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 0.95rem;
  color: var(--ink-muted);
  pointer-events: none;
}
.search-field input[type="search"] {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.65rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-field input[type="search"]::placeholder {
  color: var(--ink-muted);
  opacity: 0.85;
}
.search-field input[type="search"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 62, 0.22);
}
.search-field input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.search-results {
  margin-top: 1rem;
}
.search-status {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 0.55rem;
}
.search-empty {
  text-align: center;
  color: var(--ink-muted);
  padding: 1.25rem 0.75rem;
  background: var(--paper);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.search-results-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.search-results-list a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, background 0.15s;
}
.search-results-list a:hover {
  border-color: var(--gold-soft);
  background: var(--gold-pale);
}
.search-result-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.search-result-snippet {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.nav-search {
  display: flex;
  align-items: center;
}
.nav-search input[type="search"] {
  width: 9.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.88rem;
  outline: none;
  transition: width 0.2s, border-color 0.15s, box-shadow 0.15s;
}
.nav-search input[type="search"]:focus {
  width: 12.5rem;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 62, 0.18);
}
.nav-search input[type="search"]::placeholder {
  color: var(--ink-muted);
}
@media (max-width: 860px) {
  .nav-search {
    width: 100%;
    padding: 0.35rem 0 0.6rem;
  }
  .nav-search input[type="search"],
  .nav-search input[type="search"]:focus {
    width: 100%;
  }
}

/* —— Compact book grid / hubs —— */
.canon-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: center;
  margin: 0 0 1.75rem;
}
.canon-jump a {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.12rem;
}
.canon-jump a:hover,
.canon-jump a:focus-visible {
  border-bottom-color: var(--gold);
  color: var(--ink);
}
.catalog-wrap {
  padding-bottom: 1rem;
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.45rem;
}
.book-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--paper);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.book-tile--live {
  box-shadow: var(--shadow-sm);
  border-color: rgba(176, 141, 62, 0.35);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.book-tile--live:hover,
.book-tile--live:focus-visible {
  background: var(--gold-pale);
  border-color: rgba(176, 141, 62, 0.55);
}
.book-tile--soon {
  background: transparent;
  border-style: dashed;
  opacity: 0.72;
  cursor: default;
  font-weight: 500;
  color: var(--ink-muted);
}
.book-tile-status {
  display: block;
  margin-top: 0.18rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
}
.browse-crumbs {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.browse-crumbs a {
  color: var(--gold);
  font-weight: 600;
}
.browse-crumbs a:hover,
.browse-crumbs a:focus-visible {
  text-decoration: underline;
}
.page-intro--hub {
  text-align: left;
  max-width: none;
  margin: 0 0 1.15rem;
}
.book-hub .chapter-jump {
  margin: 0;
}
.chapter-hub .passage-list {
  margin-top: 0.25rem;
}

/* —— Doctrine / attribute chips on passage pages —— */
.topic-chips {
  margin: 0.25rem 0 1.75rem;
  padding: 1.1rem 1.25rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.topic-chips-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.topic-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem 0.4rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.topic-chip:hover,
.topic-chip:focus-visible {
  background: var(--gold-pale);
  border-color: rgba(176, 141, 62, 0.5);
  color: var(--ink);
}
.topic-chip-kind {
  display: inline-flex;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topic-chip--doctrine .topic-chip-kind {
  background: rgba(61, 107, 107, 0.14);
  color: var(--teal);
}
.topic-chip--attribute .topic-chip-kind {
  background: var(--gold-pale);
  color: #8a6c28;
}

/* —— Doctrine / attribute pages —— */
.topic-page .topic-summary {
  max-width: 38rem;
  margin: 0.35rem auto 0.85rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.topic-scripture {
  margin-bottom: 0.25rem;
}
.topic-scripture h2 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}
.topic-notes .dual-col {
  padding-top: 1.5rem;
}
.topic-hub-alt {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.topic-hub-alt a {
  color: var(--gold);
  font-weight: 600;
}
.topic-hub-alt a:hover,
.topic-hub-alt a:focus-visible {
  text-decoration: underline;
}
.topic-hub-list .meta {
  flex: 1 1 16rem;
}
.topic-page .browse-crumbs {
  text-align: center;
}
.topic-page .cta-box .btn + .btn {
  margin-top: 0.65rem;
}
@media (min-width: 640px) {
  .topic-page .cta-box .btn + .btn {
    margin-top: 0;
  }
}

.topic-hub-passages {
  margin-top: 2rem;
  padding-top: 0.25rem;
}
.topic-hub-passages-lede {
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 38rem;
  margin: -0.25rem 0 0.85rem;
}

    /* —— About / Contact / Privacy / Terms —— */
    .static-page .prose { max-width: 720px; margin: 0 auto 3rem; line-height: 1.7; }
    .static-page .prose h2 { font-size: 1.45rem; margin: 2rem 0 0.6rem; }
    .static-page .prose p,
    .static-page .prose li { color: var(--ink-soft, inherit); }
    .static-page .prose ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
    .static-page .prose li { margin-bottom: 0.45rem; }
    .static-page .prose a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
    .catalog-more { text-align: center; margin: 1.5rem 0 0; color: var(--ink-muted); font-size: 0.95rem; }
    .footer-bottom .scripture-notice { flex-basis: 100%; order: 3; }
