/* ==========================================================================
   Key Verse Bible — editorial pages (/about/, /why-key-verse-bible/)
   A theological-journal layout: alternating night-navy and parchment bands,
   Cormorant Garamond for declarations, Inter for reading and interface text,
   and one recurring device — a thin antique-gold "canonical thread" that runs
   through the page margin and carries the section markers.
   ========================================================================== */

:root {
    --kvb-night: #0D1830;
    --kvb-navy: #15264A;
    --kvb-navy-soft: #1D3260;
    --kvb-ink: #1C2333;
    --kvb-ink-muted: #545C6E;
    --kvb-parchment: #F2EBDC;
    --kvb-ivory: #FAF7F0;
    --kvb-gold: #A8874E;
    --kvb-gold-light: #C9AE7C;
    --kvb-gold-text: #7E6030; /* gold for small text on light bands (≥4.9:1) */
    --kvb-gold-hair: rgba(168, 135, 78, 0.42);
    --kvb-on-dark: #ECE6D9;
    --kvb-on-dark-muted: #AEB6C8;
    --kvb-rule-dark: rgba(201, 174, 124, 0.28);
    --kvb-rule-light: rgba(28, 35, 51, 0.12);

    --kvb-display: 'Cormorant Garamond', 'Cormorant', 'EB Garamond', Georgia, serif;
    --kvb-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --kvb-measure: 38rem;
    --kvb-page: 72rem;
    --kvb-rail: 11rem;
    --kvb-gutter: clamp(1.25rem, 4vw, 3rem);
    --kvb-band-pad: clamp(4.5rem, 9vw, 8.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.kvb-editorial {
    margin: 0;
    background: var(--kvb-ivory);
    color: var(--kvb-ink);
    font-family: var(--kvb-text);
    font-size: 1.0625rem;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.kvb-editorial img, .kvb-editorial svg { max-width: 100%; }

.kvb-editorial a { color: inherit; }

.kvb-editorial :focus-visible {
    outline: 2px solid var(--kvb-gold-light);
    outline-offset: 3px;
    border-radius: 2px;
}

.kvb-band--ivory :focus-visible, .kvb-band--parchment :focus-visible { outline-color: var(--kvb-navy); }

.kvb-skip {
    position: absolute; left: 1rem; top: -4rem; z-index: 50;
    background: var(--kvb-ivory); color: var(--kvb-ink);
    padding: .6rem 1rem; text-decoration: none; font-weight: 600;
}
.kvb-skip:focus { top: 1rem; }

/* ---------- Masthead -------------------------------------------------- */
.kvb-masthead {
    position: relative; z-index: 3;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    max-width: var(--kvb-page); margin: 0 auto;
    padding: 1.25rem var(--kvb-gutter);
    color: var(--kvb-on-dark);
}
.kvb-brand {
    display: inline-flex; align-items: center; gap: .75rem;
    text-decoration: none; color: var(--kvb-on-dark);
}
.kvb-brand img { width: 40px; height: 40px; border-radius: 50%; }
.kvb-brand-name {
    font-family: var(--kvb-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .02em;
}
.kvb-nav { display: flex; gap: 1.75rem; font-size: .875rem; }
.kvb-nav a {
    text-decoration: none; color: var(--kvb-on-dark-muted);
    padding: .25rem 0; border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.kvb-nav a:hover { color: var(--kvb-on-dark); border-bottom-color: var(--kvb-rule-dark); }
.kvb-nav a[aria-current="page"] { color: var(--kvb-on-dark); border-bottom-color: var(--kvb-gold-light); }

/* ---------- Bands ----------------------------------------------------- */
.kvb-band { position: relative; padding: var(--kvb-band-pad) 0; }
.kvb-band--night { background: var(--kvb-night); color: var(--kvb-on-dark); }
.kvb-band--navy { background: var(--kvb-navy); color: var(--kvb-on-dark); }
.kvb-band--parchment { background: var(--kvb-parchment); }
.kvb-band--ivory { background: var(--kvb-ivory); }

.kvb-wrap {
    position: relative;
    max-width: var(--kvb-page); margin: 0 auto; padding: 0 var(--kvb-gutter);
}

/* Section frame: a label rail on the left, content on the right. The rail
   carries the canonical thread — a 1px gold line — and a small medallion
   marking where each section begins. */
.kvb-frame {
    display: grid;
    grid-template-columns: var(--kvb-rail) minmax(0, 1fr);
    column-gap: clamp(2rem, 5vw, 4.5rem);
}
.kvb-rail { position: relative; }
.kvb-label {
    position: sticky; top: 2rem;
    display: block; padding-left: 1.4rem;
    font-family: var(--kvb-text); font-size: .8rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--kvb-gold-text);
}
.kvb-band--night .kvb-label, .kvb-band--navy .kvb-label { color: var(--kvb-gold-light); }
.kvb-label::before {
    content: ''; position: absolute; left: 0; top: .42em;
    width: 7px; height: 7px; border-radius: 50%;
    border: 1px solid currentColor; background: transparent;
}
/* The thread itself: drawn once per page on .kvb-thread, behind the rail. */
.kvb-thread { position: relative; }
.kvb-thread::before {
    content: ''; position: absolute; top: 0; bottom: 0;
    left: calc(max(var(--kvb-gutter), (100% - var(--kvb-page)) / 2 + var(--kvb-gutter)) + 3px);
    width: 1px; background: linear-gradient(180deg, transparent, var(--kvb-gold-hair) 6%, var(--kvb-gold-hair) 94%, transparent);
    pointer-events: none; z-index: 1;
}

/* ---------- Type ------------------------------------------------------ */
.kvb-display {
    font-family: var(--kvb-display); font-weight: 500;
    font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: 1.04; letter-spacing: -.01em;
    margin: 0; max-width: 15ch;
}
.kvb-h2 {
    font-family: var(--kvb-display); font-weight: 500;
    font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.12;
    margin: 0 0 1.5rem; max-width: 20ch;
}
.kvb-h3 {
    font-family: var(--kvb-display); font-weight: 600;
    font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.2; margin: 0 0 .75rem;
}
.kvb-h4 {
    font-family: var(--kvb-text); font-size: 1rem; font-weight: 600;
    margin: 0 0 .35rem; letter-spacing: 0;
}
/* About hero: sized so "Presenting Scripture" holds one line in the hero column
   (two intentional lines: "Presenting Scripture / as one story"). */
.kvb-display.kvb-display--about { max-width: none; font-size: clamp(2.6rem, 4.7vw, 4.15rem); line-height: 1.06; }
.kvb-display--about span { display: inline-block; white-space: nowrap; }
.kvb-hero-close span { white-space: nowrap; }
.kvb-lede.kvb-lede--about { max-width: 33em; font-size: clamp(1.3rem, 1.85vw, 1.55rem); line-height: 1.45; }
.kvb-lede--about em { font-style: italic; color: #F6F0E2; }
.kvb-hero-links { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: 2.25rem 0 0; font-size: .95rem; }
.kvb-hero-links a {
    color: var(--kvb-on-dark); text-decoration: none; padding-bottom: .2rem;
    border-bottom: 1px solid var(--kvb-rule-dark); transition: border-color .2s ease, color .2s ease;
}
.kvb-hero-links a:hover { border-bottom-color: var(--kvb-gold-light); color: #FFFFFF; }

.kvb-lede {
    font-family: var(--kvb-display); font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.4; font-weight: 500; max-width: 34ch; margin: 1.5rem 0 0;
}
.kvb-prose { max-width: var(--kvb-measure); }
.kvb-prose p { margin: 0 0 1.15rem; }
.kvb-prose p:last-child { margin-bottom: 0; }
.kvb-muted { color: var(--kvb-ink-muted); }
.kvb-band--night .kvb-muted, .kvb-band--navy .kvb-muted { color: var(--kvb-on-dark-muted); }

.kvb-declaration {
    font-family: var(--kvb-display); font-weight: 500;
    font-size: clamp(1.6rem, 3.1vw, 2.55rem); line-height: 1.3;
    margin: 0; max-width: 30ch;
}
.kvb-declaration--center { margin-left: auto; margin-right: auto; text-align: center; }
.kvb-declaration--charter {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.42; max-width: 40ch;
    padding-left: clamp(1rem, 2vw, 1.75rem); border-left: 1px solid var(--kvb-gold);
}

.kvb-quote-mark { color: var(--kvb-gold); }

/* ---------- Hero ------------------------------------------------------ */
.kvb-hero-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
/* About hero: the canon as one vertical thread, from creation (Genesis 1:1) to new
   creation (Revelation 21:5). Old Testament movements stay quiet; the Gospels /
   Jesus Christ node is the single gold focal point. Markers are pseudo-elements,
   so screen readers hear only the list itself. */
.kvb-canon-v { position: relative; margin: 0; padding: 0 0 0 1.9rem; }
.kvb-canon-v::before {
    content: ''; position: absolute; left: 5px; top: .6rem; bottom: .6rem; width: 1px;
    background: linear-gradient(180deg, rgba(201, 174, 124, .35), var(--kvb-gold-light) 50%, rgba(201, 174, 124, .35));
    transform-origin: top; animation: kvb-draw-v 1.8s cubic-bezier(.4, 0, .2, 1) .3s both;
}
.kvb-canon-end { position: relative; }
.kvb-canon-end::before {
    content: ''; position: absolute; left: calc(-1.9rem + 1px); top: .55rem; width: 9px; height: 9px; border-radius: 50%;
    background: var(--kvb-night); border: 1px solid var(--kvb-gold-light);
}
.kvb-canon-v blockquote { margin: 0; font-family: var(--kvb-display); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.35; color: var(--kvb-on-dark); }
.kvb-canon-ref { margin: .45rem 0 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--kvb-gold-light); }
.kvb-canon-ref span { color: var(--kvb-on-dark-muted); margin-left: .6rem; padding-left: .6rem; border-left: 1px solid var(--kvb-rule-dark); }
.kvb-canon-v ol { list-style: none; margin: 1.6rem 0; padding: 0; }
.kvb-canon-v li { position: relative; padding: .42rem 0; font-size: .9rem; color: var(--kvb-on-dark-muted); }
.kvb-canon-v li::before {
    content: ''; position: absolute; left: calc(-1.9rem + 2px); top: .9rem; width: 7px; height: 7px; border-radius: 50%;
    background: var(--kvb-night); border: 1px solid rgba(201, 174, 124, .7);
    animation: kvb-fade .6s ease both; animation-delay: calc(.4s + var(--i, 0) * .16s);
}
.kvb-canon-v li.is-quiet { color: #8F98AE; }
.kvb-canon-v li.is-witness { color: var(--kvb-on-dark-muted); font-style: normal; }
.kvb-canon-v li.is-center { margin: .9rem 0; padding: .6rem 0 .7rem; }
.kvb-canon-v li.is-center::before {
    left: calc(-1.9rem - 1px); top: 1.05rem; width: 13px; height: 13px;
    background: var(--kvb-gold-light); border-color: var(--kvb-gold-light);
    box-shadow: 0 0 0 4px var(--kvb-night), 0 0 0 5px rgba(201, 174, 124, .45);
}
.kvb-canon-center-label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--kvb-gold-light); }
.kvb-canon-center-name { display: block; margin-top: .2rem; font-family: var(--kvb-display); font-size: clamp(1.6rem, 2.3vw, 1.95rem); line-height: 1.1; color: var(--kvb-gold-light); }
.kvb-canon-center-note { display: block; margin-top: .25rem; font-family: var(--kvb-display); font-style: italic; font-size: 1.05rem; color: var(--kvb-on-dark); }
@keyframes kvb-draw-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.kvb-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(60rem 30rem at 85% -10%, rgba(201, 174, 124, .10), transparent 60%),
        linear-gradient(180deg, var(--kvb-night) 0%, #101E3C 100%);
    color: var(--kvb-on-dark);
}
.kvb-hero-body {
    max-width: var(--kvb-page); margin: 0 auto;
    padding: clamp(3.5rem, 9vw, 7.5rem) var(--kvb-gutter) clamp(4.5rem, 9vw, 7.5rem);
}
.kvb-hero-kicker {
    font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: var(--kvb-gold-light); margin: 0 0 1.75rem;
}
.kvb-hero-intro { max-width: 36rem; margin-top: 2rem; color: var(--kvb-on-dark-muted); }
.kvb-hero-close {
    margin: 2.25rem 0 0; font-family: var(--kvb-display); font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--kvb-on-dark);
}

/* Inline list rendered as a quiet run of words with gold separators */
.kvb-run { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 0; }
.kvb-run li { white-space: nowrap; }
.kvb-run li:not(:last-child)::after { content: '\00B7'; margin: 0 .6rem; color: var(--kvb-gold); }

/* ---------- Buttons --------------------------------------------------- */
.kvb-actions { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 2.5rem; }
.kvb-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: .75rem 1.5rem;
    font: 600 .9375rem/1 var(--kvb-text); letter-spacing: .01em;
    text-decoration: none; border-radius: 999px;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.kvb-editorial .kvb-btn--gold { background: var(--kvb-gold-light); color: var(--kvb-night); border: 1px solid var(--kvb-gold-light); }
.kvb-editorial .kvb-btn--gold:hover { background: #D8C095; border-color: #D8C095; }
.kvb-editorial .kvb-btn--line { color: var(--kvb-on-dark); border: 1px solid var(--kvb-rule-dark); }
.kvb-editorial .kvb-btn--line:hover { border-color: var(--kvb-gold-light); }
.kvb-editorial .kvb-band--parchment .kvb-btn--line, .kvb-editorial .kvb-band--ivory .kvb-btn--line { color: var(--kvb-ink); border-color: var(--kvb-rule-light); }
.kvb-editorial .kvb-band--parchment .kvb-btn--line:hover, .kvb-editorial .kvb-band--ivory .kvb-btn--line:hover { border-color: var(--kvb-gold); }

/* ---------- Principle lists (two-column, ruled) ----------------------- */
.kvb-principles {
    list-style: none; padding: 0; margin: 2.75rem 0 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 3.5rem);
}
.kvb-principles li { padding: 1.25rem 0; border-top: 1px solid var(--kvb-rule-light); }
.kvb-band--night .kvb-principles li, .kvb-band--navy .kvb-principles li { border-top-color: var(--kvb-rule-dark); }
.kvb-principles p { margin: 0; color: var(--kvb-ink-muted); font-size: .98rem; }
.kvb-band--night .kvb-principles p, .kvb-band--navy .kvb-principles p { color: var(--kvb-on-dark-muted); }

/* Paired principles: "Biblical faithfulness + theological depth" */
.kvb-pairs { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.kvb-pairs li {
    display: grid; grid-template-columns: minmax(0, 1fr) 2rem minmax(0, 1fr); align-items: baseline;
    padding: .95rem 0; border-top: 1px solid var(--kvb-rule-light);
    font-family: var(--kvb-display); font-size: clamp(1.2rem, 2vw, 1.5rem);
}
.kvb-pairs li:last-child { border-bottom: 1px solid var(--kvb-rule-light); }
.kvb-pairs .kvb-plus { text-align: center; color: var(--kvb-gold); font-family: var(--kvb-text); font-size: 1rem; }

/* ---------- Feature chapters ----------------------------------------- */
.kvb-chapter {
    display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
    padding: clamp(2.75rem, 5vw, 4rem) 0;
    border-top: 1px solid var(--kvb-rule-light);
}
.kvb-chapter:first-of-type { border-top: 0; padding-top: 0; }
.kvb-chapter--flip > .kvb-chapter-figure { order: -1; }
.kvb-band--night .kvb-chapter, .kvb-band--navy .kvb-chapter { border-top-color: var(--kvb-rule-dark); }

.kvb-status {
    display: inline-block; margin: 0 0 1rem;
    font-size: .78rem; font-weight: 500; color: var(--kvb-ink-muted);
}
.kvb-status::before {
    content: ''; display: inline-block; width: 6px; height: 6px; margin-right: .5rem;
    border-radius: 50%; background: var(--kvb-gold); vertical-align: .1em;
}
.kvb-status--dev::before { background: transparent; border: 1px solid var(--kvb-gold); }
.kvb-band--night .kvb-status, .kvb-band--navy .kvb-status { color: var(--kvb-on-dark-muted); }

.kvb-ticks { list-style: none; padding: 0; margin: 1.25rem 0 0; columns: 2; column-gap: 2rem; font-size: .95rem; }
.kvb-ticks li { break-inside: avoid; padding: .2rem 0 .2rem 1.1rem; position: relative; }
.kvb-ticks li::before { content: ''; position: absolute; left: 0; top: .85em; width: .5rem; height: 1px; background: var(--kvb-gold); }

.kvb-pull {
    margin: 1.75rem 0 0; padding-left: 1.25rem; border-left: 1px solid var(--kvb-gold);
    font-family: var(--kvb-display); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; font-style: italic;
}

/* ---------- Figures (schematic illustrations, not screenshots) -------- */
.kvb-figure {
    margin: 0; padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--kvb-ivory); border: 1px solid var(--kvb-rule-light); border-radius: 4px;
}
.kvb-band--ivory .kvb-figure { background: #FFFFFF; }
.kvb-band--night .kvb-figure, .kvb-band--navy .kvb-figure { background: rgba(255, 255, 255, .03); border-color: var(--kvb-rule-dark); }
.kvb-figure figcaption {
    margin-top: 1.25rem; padding-top: .9rem; border-top: 1px solid var(--kvb-rule-light);
    font-size: .8rem; color: var(--kvb-ink-muted);
}
.kvb-band--night .kvb-fig-ref, .kvb-band--navy .kvb-fig-ref, .kvb-band--night .kvb-folio-rows span:first-child, .kvb-band--navy .kvb-folio-rows span:first-child { color: var(--kvb-gold-light); }
.kvb-band--night .kvb-figure figcaption, .kvb-band--navy .kvb-figure figcaption { border-top-color: var(--kvb-rule-dark); color: var(--kvb-on-dark-muted); }

/* Reading figure */
.kvb-fig-ref { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--kvb-gold-text); margin: 0 0 1rem; }
.kvb-fig-verse { font-family: var(--kvb-display); font-size: 1.3rem; line-height: 1.6; margin: 0 0 .9rem; }
.kvb-fig-verse sup { font-family: var(--kvb-text); font-size: .65rem; color: var(--kvb-ink-muted); margin-right: .35rem; vertical-align: .55em; }
.kvb-u { text-decoration: underline; text-decoration-color: rgba(168, 135, 78, .6); text-decoration-thickness: 1.25px; text-underline-offset: 5px; }
.kvb-chip {
    display: inline-block; margin-left: .35rem; padding: 1px 9px 2px;
    font: 500 .78rem/1.4 var(--kvb-text); color: #8A6A3B;
    background: rgba(251, 246, 234, .9); border: 1px solid rgba(168, 135, 78, .4); border-radius: 9px; vertical-align: .15em;
}
.kvb-fig-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1rem 0 0; padding: 0; list-style: none; font-size: .8rem; color: var(--kvb-ink-muted); }
.kvb-fig-legend b { font-weight: 600; color: var(--kvb-ink); }

/* Folio figure (book introduction) */
.kvb-folio-title { font-family: var(--kvb-display); font-size: 1.9rem; line-height: 1.1; margin: 0; }
.kvb-folio-sub { margin: .3rem 0 1.25rem; font-size: .85rem; color: var(--kvb-ink-muted); }
.kvb-folio-rows { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.kvb-folio-rows li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--kvb-rule-light); }
.kvb-folio-rows span:first-child { color: var(--kvb-gold-text); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding-top: .15rem; }

/* Outline figure (chapter guidance) */
.kvb-outline { list-style: none; margin: 0; padding: 0; }
.kvb-outline li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--kvb-rule-light); }
.kvb-outline li:first-child { border-top: 0; }
.kvb-outline .kvb-range { font-size: .82rem; color: var(--kvb-gold-text); font-variant-numeric: tabular-nums; padding-top: .25rem; }
.kvb-outline .kvb-head { font-family: var(--kvb-display); font-size: 1.2rem; line-height: 1.3; }
.kvb-outline .kvb-note { display: block; font-size: .82rem; color: var(--kvb-ink-muted); margin-top: .2rem; }

/* Relationship figure (cross references, atlas) */
.kvb-graph { width: 100%; height: auto; display: block; }
.kvb-graph .kvb-edge { stroke: var(--kvb-gold); stroke-width: 1; fill: none; }
.kvb-graph .kvb-edge--soft { stroke: var(--kvb-gold-hair); }
.kvb-graph .kvb-node { fill: var(--kvb-ivory); stroke: var(--kvb-gold); stroke-width: 1; }
.kvb-graph .kvb-node--key { fill: var(--kvb-gold); }
.kvb-graph text { font-family: var(--kvb-text); font-size: 13px; fill: var(--kvb-ink); }
.kvb-graph .kvb-edge-label { font-size: 12px; fill: var(--kvb-ink-muted); font-style: italic; }
.kvb-band--night .kvb-graph text, .kvb-band--navy .kvb-graph text { fill: var(--kvb-on-dark); }
.kvb-band--night .kvb-graph .kvb-edge-label, .kvb-band--navy .kvb-graph .kvb-edge-label { fill: var(--kvb-on-dark-muted); }
.kvb-band--night .kvb-graph .kvb-node, .kvb-band--navy .kvb-graph .kvb-node { fill: var(--kvb-night); stroke: var(--kvb-gold-light); }
.kvb-band--night .kvb-graph .kvb-node--key, .kvb-band--navy .kvb-graph .kvb-node--key { fill: var(--kvb-gold-light); }

/* Original | Modernized toggle */
.kvb-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--kvb-rule-light); border-radius: 999px; margin: 0 0 1.25rem; }
.kvb-toggle button {
    min-height: 36px; padding: .35rem 1.1rem; border: 0; border-radius: 999px; cursor: pointer;
    background: transparent; color: var(--kvb-ink-muted); font: 500 .85rem/1 var(--kvb-text);
}
.kvb-toggle button[aria-pressed="true"] { background: var(--kvb-navy); color: var(--kvb-on-dark); }
.kvb-mh-text { font-family: var(--kvb-display); font-size: 1.3rem; line-height: 1.5; margin: 0; min-height: 7.5em; transition: opacity .35s ease; }
.kvb-mh-text.is-switching { opacity: 0; }
.kvb-mh-cite { margin: .9rem 0 0; font-size: .8rem; color: var(--kvb-ink-muted); }

/* ---------- Knowledge system (connected terms) ------------------------ */
.kvb-terms {
    list-style: none; padding: 0; margin: 2.5rem 0 0;
    display: flex; flex-wrap: wrap; gap: .5rem .75rem;
    font-family: var(--kvb-display); font-size: clamp(1.3rem, 2.3vw, 1.75rem);
}
.kvb-terms li { padding: .1rem 0; }
.kvb-terms li:not(:last-child)::after { content: '—'; margin-left: .75rem; color: var(--kvb-gold); font-family: var(--kvb-text); font-size: .9rem; vertical-align: .25em; }

.kvb-tech-note {
    margin: 2rem 0 0; padding-top: 1rem; max-width: var(--kvb-measure);
    border-top: 1px solid var(--kvb-rule-dark); font-size: .85rem; color: var(--kvb-on-dark-muted);
}
.kvb-band--parchment .kvb-tech-note, .kvb-band--ivory .kvb-tech-note { border-top-color: var(--kvb-rule-light); color: var(--kvb-ink-muted); }

/* ---------- Path (gates, stages) -------------------------------------- */
.kvb-path { list-style: none; margin: 3rem 0 0; padding: 0; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.kvb-path::before {
    content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--kvb-gold-light) 6%, var(--kvb-gold-light) 94%, transparent);
}
.kvb-path li { position: relative; padding: 2rem .5rem 0 0; }
.kvb-path li::before {
    content: ''; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%;
    background: var(--kvb-night); border: 1px solid var(--kvb-gold-light);
    box-shadow: inset 0 0 0 3px var(--kvb-night), inset 0 0 0 4px rgba(201, 174, 124, .55);
}
.kvb-band--parchment .kvb-path li::before, .kvb-band--ivory .kvb-path li::before {
    background: var(--kvb-parchment); border-color: var(--kvb-gold);
    box-shadow: inset 0 0 0 3px var(--kvb-parchment), inset 0 0 0 4px rgba(168, 135, 78, .55);
}
.kvb-band--parchment .kvb-path::before, .kvb-band--ivory .kvb-path::before { background: linear-gradient(90deg, transparent, var(--kvb-gold) 6%, var(--kvb-gold) 94%, transparent); }
.kvb-path-name { display: block; font-family: var(--kvb-display); font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.2; }
.kvb-path-desc { display: block; margin-top: .4rem; font-size: .88rem; color: var(--kvb-on-dark-muted); max-width: 16ch; }
.kvb-band--parchment .kvb-path-desc, .kvb-band--ivory .kvb-path-desc { color: var(--kvb-ink-muted); }

/* Vertical stage path (Why: READ → RESPOND) */
.kvb-stages { list-style: none; margin: 3rem 0 0; padding: 0; position: relative; max-width: 46rem; }
.kvb-stages::before {
    content: ''; position: absolute; left: 7px; top: .6rem; bottom: .6rem; width: 1px;
    background: linear-gradient(180deg, var(--kvb-gold-light), var(--kvb-gold-light) 92%, transparent);
}
.kvb-stages li { position: relative; display: grid; grid-template-columns: 2.75rem 15rem minmax(0, 1fr); column-gap: 1rem; align-items: baseline; padding: 1.1rem 0; }
.kvb-stages li::before {
    content: ''; position: absolute; left: 0; top: 1.55rem; width: 15px; height: 15px; border-radius: 50%;
    background: var(--kvb-night); border: 1px solid var(--kvb-gold-light);
    box-shadow: inset 0 0 0 3px var(--kvb-night), inset 0 0 0 4px rgba(201, 174, 124, .55);
}
.kvb-stages .kvb-stage-name {
    grid-column: 2; font-family: var(--kvb-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: .06em; text-transform: uppercase;
}
.kvb-stages .kvb-stage-desc { grid-column: 3; color: var(--kvb-on-dark-muted); }

/* Canonical line (Why hero) */
.kvb-canon { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); position: relative; }
.kvb-canon::before {
    content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 1px; transform-origin: left center;
    background: linear-gradient(90deg, var(--kvb-gold-light), var(--kvb-gold-light) 92%, transparent);
    animation: kvb-draw 1.8s cubic-bezier(.4, 0, .2, 1) .3s both;
}
.kvb-canon li { position: relative; padding-top: 1.4rem; font-family: var(--kvb-display); font-size: clamp(.95rem, 1.5vw, 1.2rem); color: var(--kvb-on-dark); }
.kvb-canon li::before {
    content: ''; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%;
    background: var(--kvb-night); border: 1px solid var(--kvb-gold-light);
    animation: kvb-fade .6s ease both; animation-delay: calc(.35s + var(--i, 0) * .18s);
}
.kvb-canon li.is-center { color: var(--kvb-gold-light); }
.kvb-canon li.is-center::before { background: var(--kvb-gold-light); }
@keyframes kvb-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kvb-fade { from { opacity: 0; } to { opacity: 1; } }

/* Problem sequence (verse without paragraph …) */
.kvb-without { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.kvb-without li {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem;
    padding: 1rem 0; border-top: 1px solid var(--kvb-rule-light);
    font-family: var(--kvb-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.25;
}
.kvb-without li:last-child { border-bottom: 1px solid var(--kvb-rule-light); }
.kvb-without .kvb-lack { color: var(--kvb-ink-muted); font-style: italic; }

/* Questions list (From access to understanding) */
.kvb-questions { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
.kvb-questions li { padding: .85rem 0; border-top: 1px solid var(--kvb-rule-light); font-family: var(--kvb-display); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.3; }

/* What-if passages */
.kvb-whatif { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 0; }
.kvb-whatif li { padding: 1.5rem 0; border-top: 1px solid var(--kvb-rule-dark); }
.kvb-whatif li:last-child { border-bottom: 1px solid var(--kvb-rule-dark); }
.kvb-whatif p { margin: 0; font-family: var(--kvb-display); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.4; max-width: 40ch; }

/* Attributes (heart of God) */
.kvb-attrs { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--kvb-rule-light); }
.kvb-attrs li { padding: 1rem 0; border-bottom: 1px solid var(--kvb-rule-light); font-family: var(--kvb-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

/* Scripture block */
.kvb-scripture { margin: 2.5rem 0 0; padding: 0; }
.kvb-scripture p { margin: 0; font-family: var(--kvb-display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.3; font-style: italic; max-width: 30ch; }
.kvb-scripture footer { margin-top: .75rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--kvb-gold-text); }

/* Closing band */
.kvb-closing { text-align: center; }
.kvb-closing .kvb-h2 { margin-left: auto; margin-right: auto; }
.kvb-closing .kvb-actions { justify-content: center; }

/* ---------- Footer ---------------------------------------------------- */
.kvb-footer { background: var(--kvb-night); color: var(--kvb-on-dark-muted); padding: 4rem 0 3rem; font-size: .9rem; }
.kvb-footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; }
.kvb-footer-verse { font-family: var(--kvb-display); font-size: 1.4rem; line-height: 1.35; color: var(--kvb-on-dark); margin: 0 0 .5rem; font-style: italic; }
.kvb-footer-ref { margin: 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--kvb-gold-light); }
.kvb-footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .6rem 2.5rem; }
.kvb-footer-links a { text-decoration: none; color: var(--kvb-on-dark-muted); }
.kvb-footer-links a:hover { color: var(--kvb-on-dark); }
.kvb-footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--kvb-rule-dark); font-size: .8rem; line-height: 1.6; }
.kvb-footer-legal p { margin: 0 0 .4rem; max-width: 60rem; }

/* ---------- Responsive ------------------------------------------------ */
@media (max-width: 1199px) {
    .kvb-path { grid-auto-flow: row; grid-auto-columns: auto; margin-left: .25rem; }
    .kvb-path::before { left: 7px; right: auto; top: .5rem; bottom: .5rem; width: 1px; height: auto; background: linear-gradient(180deg, var(--kvb-gold-light), var(--kvb-gold-light) 92%, transparent); }
    .kvb-band--parchment .kvb-path::before, .kvb-band--ivory .kvb-path::before { background: linear-gradient(180deg, var(--kvb-gold), var(--kvb-gold) 92%, transparent); }
    .kvb-path li { padding: 0 0 1.25rem 2.5rem; display: grid; grid-template-columns: 11rem minmax(0, 1fr); align-items: baseline; gap: .25rem 1rem; }
    .kvb-path-name { font-size: 1.3rem; }
    .kvb-path-desc { max-width: none; margin-top: 0; }
}

@media (max-width: 1023px) {
    .kvb-nav { gap: 1.25rem; }
    .kvb-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .kvb-display.kvb-display--about { font-size: clamp(2.6rem, 7vw, 3.75rem); }
    .kvb-display--about span { display: block; }
    .kvb-canon-v { max-width: 30rem; }
    .kvb-frame { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
    .kvb-label { position: static; }
    .kvb-thread::before { display: none; }
    .kvb-chapter { grid-template-columns: minmax(0, 1fr); }
    .kvb-chapter--flip > .kvb-chapter-figure { order: 0; }
    .kvb-canon { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 1.75rem; }
    .kvb-canon::before { display: none; }
    .kvb-canon li { border-top: 1px solid var(--kvb-rule-dark); padding-top: 1.1rem; }
    .kvb-canon li::before { top: -6px; }
}

@media (max-width: 760px) {
    body.kvb-editorial { font-size: 1rem; padding-bottom: 72px; }
    .kvb-nav { display: none; }
    .kvb-principles, .kvb-questions { grid-template-columns: minmax(0, 1fr); }
    .kvb-pairs li { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
    .kvb-pairs .kvb-plus { text-align: left; }
    .kvb-ticks { columns: 1; }
    .kvb-stages li { grid-template-columns: 2.5rem minmax(0, 1fr); }
    .kvb-stages .kvb-stage-desc { grid-column: 2; margin-top: .25rem; }
    .kvb-without li { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
    .kvb-attrs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kvb-canon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kvb-footer-grid { grid-template-columns: minmax(0, 1fr); }
    .kvb-folio-rows li { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
    .kvb-path li { grid-template-columns: minmax(0, 1fr); }
    .kvb-display.kvb-display--about { font-size: clamp(2.05rem, 9.6vw, 2.6rem); }
    .kvb-display--about span { white-space: normal; }
    .kvb-canon-v { margin-top: .5rem; }
    .kvb-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .kvb-editorial *, .kvb-editorial *::before, .kvb-editorial *::after { animation: none !important; transition: none !important; }
}

/* Keep the shared mobile bottom nav above page content */
.kvb-editorial .bottom-nav { z-index: 40; }

/* ==========================================================================
   Editorial refinement (pass 2) — shared by /about/ and /why-key-verse-bible/
   One system for the light sections, carried over from the hero:
   paper stocks instead of stripes, a numbered gold rail, manifesto and
   statement type, ruled tenets, printed-page specimens, and a relationship
   map for cross references. These rules come last so they refine (rather
   than fork) the primitives above.
   ========================================================================== */
:root {
    --kvb-parchment: #F4EEE3;          /* softened so ivory ↔ parchment reads as paper, not stripes */
    --kvb-vellum: #EEE6D4;             /* deeper stock for the signature (connection) section */
    --kvb-cream: #FCFAF6;              /* palest stock */
    --kvb-night-2: #101D39;            /* second dark tone inside the dark interlude */
    --kvb-specimen: #FFFDF8;           /* printed-page specimens */
    --kvb-specimen-dark: #13213F;
    --kvb-rule-warm: rgba(126, 96, 48, .17);
    --kvb-thread: rgba(168, 135, 78, .3);
}

/* Paper stocks. Each band publishes its own colour so markers can "punch"
   the gold thread with the right paper behind them. */
.kvb-band--ivory { --kvb-band-bg: var(--kvb-ivory); }
.kvb-band--parchment { --kvb-band-bg: var(--kvb-parchment); }
.kvb-band--vellum { background: var(--kvb-vellum); --kvb-band-bg: var(--kvb-vellum); }
.kvb-band--cream { background: var(--kvb-cream); --kvb-band-bg: var(--kvb-cream); }
.kvb-band--night { --kvb-band-bg: var(--kvb-night); }
.kvb-band--night-2 { background: var(--kvb-night-2); --kvb-band-bg: var(--kvb-night-2); }
.kvb-band--navy { --kvb-band-bg: var(--kvb-navy); }
/* Light → light: a hairline at the joint, like a change of paper stock. */
:is(.kvb-band--ivory, .kvb-band--parchment, .kvb-band--vellum, .kvb-band--cream) + :is(.kvb-band--ivory, .kvb-band--parchment, .kvb-band--vellum, .kvb-band--cream) {
    box-shadow: inset 0 1px 0 rgba(126, 96, 48, .1);
}
/* Dark sections that continue one interlude: tighter top, a fine gold rule. */
.kvb-band--joined { padding-top: clamp(3.5rem, 7vw, 6rem); }
.kvb-band--joined::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: calc(min(var(--kvb-page), 100%) - 2 * var(--kvb-gutter)); height: 1px; background: var(--kvb-rule-dark);
}
.kvb-band--ceremony { padding: clamp(5.5rem, 11vw, 10rem) 0; }
.kvb-band--open { padding-top: clamp(5rem, 10vw, 9rem); }

/* ---- Rail: numbered labels on a quieter thread ------------------------ */
.kvb-thread::before { background: linear-gradient(180deg, transparent, var(--kvb-thread) 4%, var(--kvb-thread) 96%, transparent); }
.kvb-label {
    z-index: 2; padding-left: 1.65rem; max-width: 10.5rem;
    font-size: .72rem; letter-spacing: .16em; line-height: 1.55;
}
.kvb-label::before {
    left: -1px; top: .36em; width: 9px; height: 9px;
    background: var(--kvb-band-bg, var(--kvb-ivory)); border-color: var(--kvb-gold);
}
.kvb-band--night .kvb-label::before, .kvb-band--navy .kvb-label::before { border-color: var(--kvb-gold-light); }
.kvb-label-num { font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(126, 96, 48, .62); }
.kvb-label-num::after { content: '\00B7'; margin: 0 .5em; color: rgba(126, 96, 48, .45); }
.kvb-band--night .kvb-label-num, .kvb-band--navy .kvb-label-num { color: rgba(201, 174, 124, .62); }
.kvb-band--night .kvb-label-num::after, .kvb-band--navy .kvb-label-num::after { color: rgba(201, 174, 124, .45); }

/* ---- Headings and editorial text roles -------------------------------- */
.kvb-h2 { margin-bottom: 2rem; }
.kvb-h2--quiet {
    font-size: clamp(1.3rem, 1.9vw, 1.55rem); font-style: italic; font-weight: 500;
    color: var(--kvb-ink-muted); margin-bottom: 1.5rem;
}
.kvb-h3 { font-size: clamp(1.6rem, 2.3vw, 2.05rem); margin-bottom: .9rem; }

/* Manifesto: the conviction read as a charter, set off by a gold rule. */
.kvb-manifesto {
    margin: 0; max-width: 34rem;
    padding-left: clamp(1.25rem, 2.4vw, 2rem); border-left: 1px solid var(--kvb-gold);
    font-family: var(--kvb-display); font-weight: 500;
    font-size: clamp(1.4rem, 2.15vw, 1.78rem); line-height: 1.55; color: var(--kvb-ink);
}
.kvb-reflection {
    margin: 2.5rem 0 0; max-width: 31rem; padding-left: clamp(1.25rem, 2.4vw, 2rem);
    font-size: .97rem; line-height: 1.8; color: var(--kvb-ink-muted);
}
/* Statement: the mission as the dominant object of its section. */
.kvb-statement {
    margin: 0; max-width: 13.5em;
    font-family: var(--kvb-display); font-weight: 500;
    font-size: clamp(1.95rem, 3.7vw, 3.15rem); line-height: 1.22; letter-spacing: -.005em;
}
.kvb-accent { color: var(--kvb-gold-text); }
.kvb-band--night .kvb-accent, .kvb-band--navy .kvb-accent { color: var(--kvb-gold-light); }
/* Marginal note: a closing thought, inset under a fine gold rule. */
.kvb-marginal {
    margin: clamp(3rem, 5vw, 4.25rem) 0 0 clamp(0rem, 2.5vw, 2rem); max-width: 31em;
    padding: .2rem 0 .2rem 1.35rem; border-left: 1px solid var(--kvb-gold);
    font-family: var(--kvb-display); font-style: italic; font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.5;
}
/* Distinction: a short conceptual pair, larger than a pull quote. */
.kvb-distinction, .kvb-prose .kvb-distinction {
    margin: 2.75rem 0 0; padding: .3rem 0 .3rem 1.35rem; border-left: 1px solid var(--kvb-gold);
    font-family: var(--kvb-display); font-style: italic; font-size: clamp(1.3rem, 1.7vw, 1.5rem); line-height: 1.4;
}
.kvb-distinction span { display: block; }
.kvb-intro { margin: 0; max-width: 35rem; font-size: 1.04rem; line-height: 1.75; color: var(--kvb-ink-muted); }
.kvb-band--night .kvb-intro, .kvb-band--navy .kvb-intro { color: var(--kvb-on-dark-muted); }
.kvb-intro--after { margin-top: 2.75rem; }
/* Full-width pull quote between movements of the page. */
.kvb-pullquote {
    position: relative; margin: clamp(4.5rem, 8vw, 6.5rem) auto 0; padding-top: 2.5rem;
    max-width: 22em; text-align: center;
    font-family: var(--kvb-display); font-style: italic; font-weight: 500;
    font-size: clamp(1.75rem, 3.5vw, 2.85rem); line-height: 1.25;
}
.kvb-pullquote::before { content: ''; position: absolute; top: 0; left: 50%; width: 3rem; height: 1px; background: var(--kvb-gold); transform: translateX(-50%); }
.kvb-prose--split { max-width: none; columns: 2; column-gap: clamp(2rem, 4vw, 3.5rem); }
.kvb-prose--split p { break-inside: avoid; }

/* ---- Tenets: ruled editorial grid (no cards) --------------------------- */
.kvb-tenets {
    list-style: none; padding: 0; margin: clamp(3.5rem, 6vw, 5rem) 0 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem clamp(1.75rem, 3.5vw, 3rem);
}
.kvb-tenets li { position: relative; padding-top: 1.3rem; border-top: 1px solid var(--kvb-rule-warm); }
.kvb-tenets li::before { content: ''; position: absolute; top: -1px; left: 0; width: 2.25rem; height: 1px; background: var(--kvb-gold); }
.kvb-tenets h3 { margin: 0 0 .55rem; font-family: var(--kvb-display); font-weight: 600; font-size: clamp(1.25rem, 1.55vw, 1.4rem); line-height: 1.2; }
.kvb-tenets p { margin: 0; font-size: .93rem; line-height: 1.65; color: var(--kvb-ink-muted); }
.kvb-band--night .kvb-tenets li, .kvb-band--navy .kvb-tenets li { border-top-color: var(--kvb-rule-dark); }
.kvb-band--night .kvb-tenets li::before, .kvb-band--navy .kvb-tenets li::before { background: var(--kvb-gold-light); }
.kvb-band--night .kvb-tenets p, .kvb-band--navy .kvb-tenets p { color: var(--kvb-on-dark-muted); }

/* ---- Paired commitments: balanced around a gold "+" -------------------- */
.kvb-pairs { margin: clamp(3rem, 5vw, 4.5rem) 0 0; max-width: 46rem; }
.kvb-pairs li {
    grid-template-columns: minmax(0, 1fr) 3.25rem minmax(0, 1fr);
    padding: 1.15rem 0; border-top-color: var(--kvb-rule-warm);
    font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.25;
}
.kvb-pairs li:last-child { border-bottom-color: var(--kvb-rule-warm); }
.kvb-pairs li > span:first-child { text-align: right; }
.kvb-pairs .kvb-plus { font-family: var(--kvb-display); font-size: 1.3rem; }

/* ---- Feature chapters ------------------------------------------------- */
.kvb-chapter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: clamp(3.5rem, 6vw, 5.5rem) 0; border-top-color: var(--kvb-rule-warm); }
.kvb-frame { --kvb-rail: 10rem; }
.kvb-intro + .kvb-chapter { margin-top: clamp(3rem, 5vw, 4.5rem); }
.kvb-chapter--lead { border-top: 0; padding: 0; }
.kvb-chapter--map { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.kvb-status {
    margin-bottom: 1.15rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
}
.kvb-status::before { width: 5px; height: 5px; margin-right: .6rem; vertical-align: .18em; }
.kvb-ticks { columns: 1; margin-top: 1.6rem; font-size: .93rem; }
.kvb-ticks li { padding: .28rem 0 .28rem 1.4rem; }
.kvb-ticks li::before { width: .6rem; }
/* Index variant (dark interlude): serif entries on fine rules. */
.kvb-ticks--index { margin: 0; font-family: var(--kvb-display); font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
.kvb-ticks--index li { padding: .6rem 0 .6rem 1.5rem; border-top: 1px solid var(--kvb-rule-dark); }
.kvb-ticks--index li:last-child { border-bottom: 1px solid var(--kvb-rule-dark); }
.kvb-ticks--index li::before { top: 1.25em; background: var(--kvb-gold-light); }
.kvb-more { margin: 2.5rem 0 0; font-size: .92rem; font-weight: 500; }
.kvb-more a {
    display: inline-flex; align-items: flex-end; min-height: 44px; padding-bottom: .25rem;
    text-decoration: none; border-bottom: 1px solid var(--kvb-gold-hair); transition: border-color .2s ease;
}
.kvb-more a:hover { border-bottom-color: var(--kvb-gold); }
.kvb-band--night .kvb-more a, .kvb-band--navy .kvb-more a { color: var(--kvb-on-dark); border-bottom-color: var(--kvb-rule-dark); }
.kvb-band--night .kvb-more a:hover, .kvb-band--navy .kvb-more a:hover { border-bottom-color: var(--kvb-gold-light); }

/* Reading modes key */
.kvb-prose .kvb-modes, .kvb-modes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; font-size: .85rem; color: var(--kvb-ink-muted); }
.kvb-modes li { display: inline-flex; align-items: center; gap: .65rem; }
.kvb-mode { display: inline-flex; flex-direction: column; justify-content: center; gap: 3px; width: 2.1rem; height: 1.55rem; padding: 0 .35rem; border-radius: 2px; border: 1px solid var(--kvb-rule-warm); }
.kvb-mode i { display: block; height: 1px; background: currentColor; opacity: .75; }
.kvb-mode i:nth-child(2) { width: 80%; }
.kvb-mode i:nth-child(3) { width: 55%; }
.kvb-mode--light { background: #FFFFFF; color: #1C2333; }
.kvb-mode--parchment { background: #F1E4C8; color: #4A3721; }
.kvb-mode--night { background: #0F1A30; color: #D8DEEA; border-color: #0F1A30; }

/* ---- Specimens: printed-page excerpts, not UI cards -------------------- */
.kvb-figure.kvb-specimen {
    background: var(--kvb-specimen); border: 1px solid var(--kvb-rule-warm); border-radius: 2px;
    padding: clamp(1.75rem, 2.8vw, 2.4rem);
    box-shadow:
        inset 0 0 0 6px var(--kvb-specimen), inset 0 0 0 7px rgba(168, 135, 78, .16),
        0 1px 2px rgba(28, 35, 51, .04), 0 26px 50px -34px rgba(28, 35, 51, .3);
}
.kvb-band--night .kvb-figure.kvb-specimen, .kvb-band--navy .kvb-figure.kvb-specimen {
    background: var(--kvb-specimen-dark); border-color: var(--kvb-rule-dark);
    box-shadow: inset 0 0 0 6px var(--kvb-specimen-dark), inset 0 0 0 7px rgba(201, 174, 124, .14);
}
.kvb-band--night .kvb-specimen .kvb-graph .kvb-node, .kvb-band--navy .kvb-specimen .kvb-graph .kvb-node { fill: var(--kvb-specimen-dark); }
.kvb-band--night .kvb-specimen .kvb-graph .kvb-node--key, .kvb-band--navy .kvb-specimen .kvb-graph .kvb-node--key { fill: var(--kvb-gold-light); }
.kvb-spec-head {
    display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1.6rem; padding-bottom: .8rem;
    border-bottom: 1px solid var(--kvb-rule-warm);
    font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; color: var(--kvb-gold-text);
}
.kvb-spec-head span + span { color: var(--kvb-ink-muted); font-weight: 500; text-align: right; }
/* Figure captions: numbered, under a short gold rule. */
.kvb-thread { counter-reset: kvb-fig; }
.kvb-figure figcaption, .kvb-xmap figcaption {
    margin-top: 1.6rem; padding-top: 1rem; border-top: 0;
    background: linear-gradient(var(--kvb-gold-hair), var(--kvb-gold-hair)) top left / 2rem 1px no-repeat;
    font-size: .78rem; line-height: 1.6; color: var(--kvb-ink-muted);
}
.kvb-figure figcaption::before, .kvb-xmap figcaption::before {
    counter-increment: kvb-fig; content: 'Fig. ' counter(kvb-fig);
    margin-right: .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--kvb-gold-text);
}
.kvb-band--night .kvb-figure figcaption::before, .kvb-band--navy .kvb-figure figcaption::before { color: var(--kvb-gold-light); }
.kvb-band--night .kvb-spec-head { border-bottom-color: var(--kvb-rule-dark); color: var(--kvb-gold-light); }

/* Verse specimen */
.kvb-specimen .kvb-fig-verse { font-size: clamp(1.3rem, 1.75vw, 1.45rem); line-height: 1.75; margin-bottom: 1.4rem; }
.kvb-specimen .kvb-fig-verse sup { font-size: .72rem; font-weight: 600; color: var(--kvb-gold-text); margin-right: .45rem; }
.kvb-specimen .kvb-u { text-decoration-thickness: 1px; text-decoration-color: rgba(168, 135, 78, .75); text-underline-offset: 6px; }
.kvb-specimen .kvb-chip {
    margin-left: .2rem; padding: .28rem .6rem .26rem; vertical-align: .3em;
    font: 600 .64rem/1 var(--kvb-text); letter-spacing: .14em; text-transform: uppercase;
    color: var(--kvb-gold-text); background: transparent; border-color: rgba(168, 135, 78, .45);
}
.kvb-specimen .kvb-fig-legend { flex-direction: column; gap: .45rem; font-size: .78rem; }
.kvb-specimen .kvb-fig-legend li { display: block; }
.kvb-legend-u, .kvb-legend-chip { display: inline-block; width: 1.5rem; margin-right: .6rem; vertical-align: middle; }
.kvb-legend-u { height: 1px; background: rgba(168, 135, 78, .75); }
.kvb-legend-chip { height: .65rem; border: 1px solid rgba(168, 135, 78, .45); border-radius: 999px; }

/* Folio / plate specimen (book introduction) */
.kvb-specimen .kvb-folio-title { font-size: clamp(2rem, 2.8vw, 2.5rem); font-weight: 600; line-height: 1.05; }
.kvb-specimen .kvb-folio-sub { margin: .45rem 0 1.6rem; font-family: var(--kvb-display); font-style: italic; font-size: 1.12rem; line-height: 1.35; }
.kvb-plate { margin: 0; }
.kvb-plate > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; padding: 1rem 0; border-top: 1px solid var(--kvb-rule-warm); }
.kvb-plate dt { padding-top: 0; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--kvb-gold-text); }
.kvb-plate dd { margin: 0; font-size: .93rem; line-height: 1.55; }
.kvb-plate .kvb-plate-verse { font-family: var(--kvb-display); font-style: italic; font-size: 1.15rem; line-height: 1.4; }
.kvb-movement { list-style: none; margin: 0; padding: 0; counter-reset: kvb-mv; columns: 2; column-gap: 1.25rem; }
.kvb-movement li { break-inside: avoid; }
.kvb-movement li { position: relative; padding: .12rem 0 .12rem 1.6rem; }
.kvb-movement li::before {
    counter-increment: kvb-mv; content: counter(kvb-mv);
    position: absolute; left: 0; top: .32rem; font-size: .72rem; font-variant-numeric: tabular-nums; color: var(--kvb-gold-text);
}
/* Translations panel */
.kvb-folio-rows--langs li { grid-template-columns: 6.25rem minmax(0, 1fr); align-items: baseline; padding: .8rem 0; border-top-color: var(--kvb-rule-warm); }
.kvb-folio-rows--langs li:first-child { border-top: 0; padding-top: 0; }
.kvb-folio-rows--langs span:first-child { font-size: .72rem; font-weight: 600; letter-spacing: .14em; padding-top: 0; }
.kvb-folio-rows--langs span:last-child { font-family: var(--kvb-display); font-size: 1.14rem; line-height: 1.3; }
/* Outline specimen (chapter guidance) */
.kvb-specimen .kvb-folio-title + .kvb-outline { margin-top: 1.25rem; }
.kvb-specimen .kvb-outline li { grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1.25rem; padding: .95rem 0; border-top-color: var(--kvb-rule-warm); }
.kvb-specimen .kvb-outline li:first-child { border-top: 1px solid var(--kvb-rule-warm); }
.kvb-specimen .kvb-outline .kvb-range { text-align: right; font-size: .76rem; letter-spacing: .04em; padding-top: .35rem; }
.kvb-specimen .kvb-outline .kvb-head { font-size: 1.3rem; }
.kvb-specimen .kvb-outline .kvb-note { font-size: .79rem; line-height: 1.5; margin-top: .3rem; }
/* Commentary edition switch: typographic tabs instead of a pill */
.kvb-specimen .kvb-toggle {
    display: flex; gap: 1.75rem; width: 100%; margin: 0 0 1.6rem; padding: 0;
    border: 0; border-bottom: 1px solid var(--kvb-rule-warm); border-radius: 0;
}
.kvb-specimen .kvb-toggle button {
    min-height: 44px; margin-bottom: -1px; padding: .5rem 0; border-radius: 0;
    border-bottom: 1px solid transparent; background: transparent; color: var(--kvb-ink-muted);
    font: 600 .72rem/1 var(--kvb-text); letter-spacing: .15em; text-transform: uppercase;
    transition: color .2s ease, border-color .2s ease;
}
.kvb-specimen .kvb-toggle button:hover { color: var(--kvb-ink); }
.kvb-specimen .kvb-toggle button[aria-pressed="true"] { background: transparent; color: var(--kvb-ink); border-bottom-color: var(--kvb-gold); }
.kvb-specimen .kvb-mh-text { font-size: clamp(1.3rem, 1.75vw, 1.45rem); line-height: 1.55; min-height: 6.5em; }

/* ---- Cross-reference relationship map (signature figure) -------------- */
.kvb-xmap { margin: 0; }
.kvb-xmap-list { list-style: none; margin: 0; padding: 0 0 0 2.4rem; }
.kvb-xmap-list li { position: relative; }
.kvb-xmap-ref {
    position: relative; display: block;
    font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; color: var(--kvb-gold-text);
}
.kvb-xmap-text {
    position: relative; display: block; margin-top: .35rem; padding-bottom: .1rem;
    font-family: var(--kvb-display); font-style: italic; font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.25; color: var(--kvb-ink);
}
.kvb-xmap-rel {
    position: relative; display: block; padding: 1.5rem 0;
    font-family: var(--kvb-display); font-style: italic; font-size: 1.05rem; line-height: 1.3; color: var(--kvb-ink-muted);
}
/* Nodes sit on the reference line; the thread is drawn in segments so it
   runs exactly from the first node to the last. */
.kvb-xmap-ref::before {
    content: ''; position: absolute; left: calc(-2.4rem); top: .1em; width: 11px; height: 11px; border-radius: 50%;
    background: var(--kvb-band-bg, var(--kvb-ivory)); border: 1px solid var(--kvb-gold); z-index: 1;
}
.kvb-xmap-list li:not(:last-child) .kvb-xmap-ref::after,
.kvb-xmap-list li:not(:last-child) .kvb-xmap-text::before,
.kvb-xmap-rel::before {
    content: ''; position: absolute; left: calc(-2.4rem + 5px); width: 1px; background: rgba(168, 135, 78, .6);
}
.kvb-xmap-list li:not(:last-child) .kvb-xmap-ref::after { top: .6em; bottom: 0; }
.kvb-xmap-list li:not(:last-child) .kvb-xmap-text::before { top: 0; bottom: 0; }
.kvb-xmap-rel::before { top: 0; bottom: 0; }
.kvb-xmap-rel::after { content: ''; position: absolute; left: calc(-2.4rem + 2px); top: 50%; width: 7px; height: 1px; background: var(--kvb-gold); }
.kvb-xmap-list li.is-key .kvb-xmap-ref::before {
    left: calc(-2.4rem - 1px); top: 0; width: 13px; height: 13px; background: var(--kvb-gold); border-color: var(--kvb-gold);
    box-shadow: 0 0 0 4px var(--kvb-band-bg, var(--kvb-ivory)), 0 0 0 5px rgba(168, 135, 78, .45);
}
.kvb-xmap-list li.is-key .kvb-xmap-ref::after { top: .7em; }
.kvb-xmap figcaption { margin-top: 2.5rem; max-width: 26rem; }

/* ---- Paths on light paper use the band's own colour for their markers -- */
:is(.kvb-band--ivory, .kvb-band--parchment, .kvb-band--vellum, .kvb-band--cream) .kvb-path li::before {
    background: var(--kvb-band-bg);
    box-shadow: inset 0 0 0 3px var(--kvb-band-bg), inset 0 0 0 4px rgba(168, 135, 78, .55);
}
.kvb-path--rows { grid-auto-flow: row; grid-auto-columns: auto; margin-left: .25rem; max-width: 44rem; }
.kvb-path--rows::before { left: 7px; right: auto; top: .5rem; bottom: .5rem; width: 1px; height: auto; background: linear-gradient(180deg, var(--kvb-gold-light), var(--kvb-gold-light) 92%, transparent); }
.kvb-path--rows li { padding: 0 0 1.35rem 2.75rem; display: grid; grid-template-columns: 12rem minmax(0, 1fr); align-items: baseline; gap: .25rem 1.25rem; }
.kvb-path--rows li:last-child { padding-bottom: 0; }
.kvb-path--rows .kvb-path-name { font-size: clamp(1.3rem, 1.8vw, 1.5rem); }
.kvb-path--rows .kvb-path-desc { max-width: none; margin-top: 0; }
.kvb-path--words .kvb-path-name { font-size: clamp(1.25rem, 1.7vw, 1.55rem); }

/* ---- Buttons: editorial, square-shouldered ---------------------------- */
.kvb-btn { border-radius: 2px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: .75rem 1.6rem; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1199px) {
    .kvb-frame { --kvb-rail: 9rem; }
    .kvb-tenets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
    .kvb-chapter, .kvb-chapter--map { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .kvb-chapter--flip > .kvb-chapter-figure { order: 0; }
    .kvb-chapter-figure { max-width: 36rem; }
}
@media (max-width: 1023px) {
    .kvb-label { max-width: none; }
    .kvb-label::before { left: 0; }
}
@media (max-width: 760px) {
    .kvb-tenets { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .kvb-pairs li { display: block; }
    .kvb-pairs li > span:first-child { text-align: left; }
    .kvb-pairs .kvb-plus { margin: 0 .45rem; }
    .kvb-prose--split { columns: 1; }
    .kvb-marginal { margin-left: 0; }
    .kvb-manifesto, .kvb-reflection { padding-left: 1.1rem; }
    .kvb-figure.kvb-specimen { padding: 1.5rem 1.35rem; box-shadow: inset 0 0 0 5px var(--kvb-specimen), inset 0 0 0 6px rgba(168, 135, 78, .16), 0 20px 40px -30px rgba(28, 35, 51, .3); }
    .kvb-band--night .kvb-figure.kvb-specimen { box-shadow: inset 0 0 0 5px var(--kvb-specimen-dark), inset 0 0 0 6px rgba(201, 174, 124, .14); }
    .kvb-movement { columns: 1; }
    .kvb-folio-rows--langs li { grid-template-columns: 6rem minmax(0, 1fr); gap: .75rem; }
    .kvb-xmap-list { padding-left: 2.1rem; }
    .kvb-xmap-ref::before { left: -2.1rem; }
    .kvb-xmap-list li:not(:last-child) .kvb-xmap-ref::after,
    .kvb-xmap-list li:not(:last-child) .kvb-xmap-text::before,
    .kvb-xmap-rel::before { left: calc(-2.1rem + 5px); }
    .kvb-xmap-rel::after { left: calc(-2.1rem + 2px); }
    .kvb-xmap-list li.is-key .kvb-xmap-ref::before { left: calc(-2.1rem - 1px); }
    .kvb-pullquote { padding-left: .5rem; padding-right: .5rem; }
    .kvb-path--rows li { grid-template-columns: minmax(0, 1fr); padding-left: 2.25rem; }
    .kvb-btn { letter-spacing: .12em; }
}

/* ---- Why page roles (same system) ------------------------------------- */
.kvb-statement--after { margin-top: clamp(3rem, 5vw, 4rem); font-size: clamp(1.75rem, 3.1vw, 2.65rem); max-width: 16em; }
.kvb-terms--ruled {
    margin-top: 2.25rem; padding: 1.1rem 0; max-width: 46rem; gap: .35rem 0;
    border-top: 1px solid var(--kvb-rule-warm); border-bottom: 1px solid var(--kvb-rule-warm);
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}
.kvb-terms--ruled li:not(:last-child)::after { content: '\00B7'; margin: 0 .7rem; font-family: var(--kvb-display); font-size: 1.2rem; vertical-align: 0; }
.kvb-band--interlude { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.kvb-pullquote--interlude { margin-top: 0; max-width: 20em; color: var(--kvb-on-dark); }
.kvb-band--night .kvb-pullquote::before, .kvb-band--navy .kvb-pullquote::before { background: var(--kvb-gold-light); }
.kvb-attrs { border-top-color: var(--kvb-rule-warm); max-width: 50rem; }
.kvb-attrs li { border-bottom-color: var(--kvb-rule-warm); padding: 1.1rem 0; }
.kvb-without { max-width: 50rem; margin-top: clamp(2.5rem, 4vw, 3.25rem); }
.kvb-without li { border-top-color: var(--kvb-rule-warm); padding: 1.15rem 0; }
.kvb-without li:last-child { border-bottom-color: var(--kvb-rule-warm); }
.kvb-questions { max-width: 50rem; margin-top: 2.5rem; }
.kvb-questions li { border-top-color: var(--kvb-rule-warm); padding: 1rem 0; }
.kvb-scripture { margin-top: 2rem; padding-left: 1.35rem; border-left: 1px solid var(--kvb-gold); }
.kvb-whatif { max-width: 48rem; }
.kvb-stages { margin-top: 2.5rem; }
.kvb-scripture p { max-width: 36ch; }

/* ---- Index specimen (translations panel) -------------------------------
   A study-Bible appendix entry: tracked gold labels on a narrow column,
   translation names as the readable serif content, warm hairlines, and a
   numbered caption. Reusable for any label → value reference panel. */
.kvb-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.kvb-figure.kvb-specimen--index { padding: clamp(2.4rem, 3.6vw, 3rem) clamp(1.75rem, 2.6vw, 2.35rem) clamp(1.9rem, 3vw, 2.5rem); }
.kvb-specimen--index .kvb-spec-head { position: relative; margin-bottom: .35rem; padding-bottom: 1rem; letter-spacing: .18em; }
.kvb-specimen--index .kvb-spec-head::before { content: ''; position: absolute; top: -1rem; left: 0; width: 1.75rem; height: 1px; background: var(--kvb-gold); }
.kvb-specimen--index .kvb-spec-head span + span { letter-spacing: .14em; font-weight: 500; }
.kvb-chapter--index { grid-template-columns: minmax(0, 10fr) minmax(0, 11fr); }
/* One label column shared by every row (sized to the longest label). */
.kvb-index { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 1.5rem; }
.kvb-index-row {
    grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline;
    padding: 1.05rem 0; border-bottom: 1px solid rgba(126, 96, 48, .13);
}
.kvb-index-row:last-child { border-bottom: 0; padding-bottom: .25rem; }
.kvb-index dt { font-size: .72rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--kvb-gold-text); }
.kvb-index dd { margin: 0; font-family: var(--kvb-display); font-size: clamp(1.15rem, 1.45vw, 1.24rem); font-weight: 500; line-height: 1.35; color: var(--kvb-ink); }
/* English: the six abbreviations set as a small 3 × 2 catalogue grid, so the
   densest row wraps by design rather than wherever the comma falls. */
.kvb-index-row--rich { padding: 1.15rem 0 1.25rem; }
.kvb-abbrs { display: grid; grid-template-columns: repeat(3, max-content); gap: .3rem 1.35rem; letter-spacing: .05em; }
.kvb-specimen--index figcaption { margin-top: 2rem; }
@media (max-width: 760px) {
    .kvb-index { column-gap: 1rem; }
    .kvb-index-row { padding: .95rem 0; }
    .kvb-index dt { letter-spacing: .14em; }
    .kvb-index dd { font-size: 1.1rem; }
    .kvb-figure.kvb-specimen--index { padding-left: 1.3rem; padding-right: 1.3rem; }
    .kvb-abbrs { gap: .25rem 1rem; }
}
@media (max-width: 1099px) { .kvb-chapter--index { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 359px) {
    .kvb-index { grid-template-columns: minmax(0, 1fr); }
    .kvb-index-row { row-gap: .3rem; }
}

/* Phones: the About / Why pages open and close on night navy (hero and
   footer), so the page behind them is navy too — the status-bar area and
   overscroll read as part of the page instead of a cream band. */
@media (max-width: 768px) {
    html:has(body.kvb-editorial), body.kvb-editorial { background: #0D1830; }
}
