:root {
    --green: #173f36;
    --green-deep: #0f2f29;
    --copper: #ad6f31;
    --gold: #d6b26d;
    --cream: #f7f2e8;
    --paper: #fffdfa;
    --ink: #14241f;
    --muted: #68736e;
    --line: #d7ddd7;
    --sans: "DM Sans", Arial, sans-serif;
    --serif: "Libre Caslon Display", Georgia, serif;
    --verse-size: 20px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); animation: gentle-page-in .42s ease both; transition: opacity .15s ease, background-color .28s ease, color .28s ease; }
body.soft-leaving { opacity: 0; }
button, input, select { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px; color: white; background: var(--green); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Index */
.bible-site-header { height: 90px; padding: 0 clamp(22px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(23,63,54,.08); background: rgba(255,253,248,.95); }
.bible-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.bible-brand-mark { width: 43px; height: 49px; display: grid; place-items: center; border: 1px solid var(--green); border-radius: 22px 22px 7px 7px; font: 16px var(--serif); }
.bible-brand > span:last-child { display: grid; gap: 3px; }
.bible-brand strong { font-size: 12px; letter-spacing: .22em; }
.bible-brand small { color: #8a918c; font: italic 10px var(--serif); }
.bible-site-header nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.bible-site-header nav a { position: relative; font-size: 13px; font-weight: 600; text-decoration: none; }
.bible-site-header nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 2px; background: var(--copper); }

.bible-hero { min-height: 690px; padding: clamp(70px, 9vw, 125px) clamp(24px, 7vw, 105px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; overflow: hidden; }
.bible-hero-copy { animation: gentle-rise .62s .06s ease both; }
.bible-hero-art { animation: gentle-rise .72s .14s ease both; }
.bible-eyebrow { margin: 0 0 26px; display: flex; align-items: center; gap: 13px; color: var(--copper); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.bible-eyebrow span { width: 32px; height: 1px; background: currentColor; }
.bible-hero h1 { max-width: 720px; margin: 0; font: clamp(68px, 7.2vw, 112px)/.92 var(--serif); letter-spacing: -.035em; }
.bible-hero h1 em { color: var(--copper); font-weight: normal; }
.bible-hero-copy > p:not(.bible-eyebrow) { max-width: 660px; margin: 34px 0 0; color: #53605a; font-size: 17px; line-height: 1.75; }
.bible-hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.bible-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-size: 13px; font-weight: 700; text-decoration: none; }
.bible-button-primary { padding: 0 24px; color: white; background: var(--green); }
.bible-button-text { border-bottom: 1px solid var(--ink); }
.resume-card { max-width: 520px; margin-top: 24px; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; border: 1px solid #ded6c7; text-decoration: none; background: rgba(255,255,255,.55); }
.resume-card span { color: var(--copper); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.resume-card strong { grid-column: 1; font: 18px var(--serif); }
.resume-card i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; }
.bible-hero-art { position: relative; min-height: 500px; display: grid; place-items: center; }
.bible-volume { position: relative; z-index: 2; width: min(335px, 70vw); aspect-ratio: .68; padding: 50px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; color: white; background: linear-gradient(150deg, #16463b, #0e2e28); box-shadow: 20px 28px 55px rgba(21,39,32,.22); transform: rotate(3deg); }
.bible-volume::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(214,178,109,.55); }
.bible-volume span { position: relative; z-index: 1; font-size: 10px; letter-spacing: .28em; }
.bible-volume strong { position: relative; z-index: 1; margin: auto 0 12px; font: 64px/.9 var(--serif); }
.bible-volume i { position: relative; z-index: 1; color: var(--gold); font: italic 16px var(--serif); }
.bible-volume b { position: relative; z-index: 1; margin-top: auto; font-size: 8px; letter-spacing: .23em; }
.bible-orbit { position: absolute; border: 1px solid rgba(173,111,49,.27); border-radius: 50%; }
.orbit-one { width: 440px; height: 440px; }
.orbit-two { width: 580px; height: 340px; transform: rotate(-22deg); }
.bible-hero-art > p { position: absolute; right: 0; bottom: 0; color: var(--copper); font: italic 13px var(--serif); }

.bible-catalog { padding: clamp(75px, 9vw, 125px) clamp(22px, 7vw, 105px); background: #fffdfa; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.catalog-heading h2 { margin: 0; font: clamp(48px, 5vw, 76px)/1 var(--serif); }
.book-search { width: min(410px, 100%); height: 56px; padding: 0 18px; display: flex; align-items: center; border: 1px solid var(--line); background: white; }
.book-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.book-search i { color: var(--copper); font: 24px var(--serif); }
.testament-tabs { margin: 54px 0 65px; display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.testament-tabs button { padding: 15px 20px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; cursor: pointer; }
.testament-tabs button span { margin-left: 7px; font: 14px var(--serif); }
.testament-tabs button.is-active { color: var(--green); border-color: var(--copper); font-weight: 700; }
.book-group { display: grid; grid-template-columns: 210px 1fr; gap: 35px; margin-bottom: 68px; }
.group-label { padding-top: 18px; border-top: 1px solid var(--ink); }
.group-label span { color: var(--copper); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.group-label h3 { margin: 15px 0 0; font: 25px/1.15 var(--serif); }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.book-tile { min-height: 145px; padding: 20px; display: grid; grid-template-columns: 1fr auto; align-content: space-between; border: 1px solid var(--line); text-decoration: none; background: white; transition: transform .2s, border-color .2s, background .2s; }
.book-tile:hover, .book-tile:focus-visible { transform: translateY(-3px); border-color: var(--copper); background: #fbf7ef; }
.book-tile > span { color: var(--copper); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.book-tile strong { grid-column: 1 / -1; font: 27px var(--serif); }
.book-tile small { color: var(--muted); font-size: 10px; }
.book-tile i { color: var(--copper); font-style: normal; }
.empty-books { padding: 40px; text-align: center; border: 1px solid var(--line); }
.bible-footer { padding: 28px clamp(22px, 7vw, 105px); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: rgba(255,255,255,.75); background: var(--green-deep); font-size: 11px; }
.bible-footer a { font-weight: 700; text-decoration: none; }

/* Reader */
html[data-theme="dark"] { --paper: #17201d; --ink: #e8ece8; --muted: #a7b1ac; --line: #35433e; --cream: #111815; }
.reader-page { min-height: 100vh; background: var(--paper); }
.reader-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 76px; padding: 0 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(12px); }
.reading-progress { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; overflow: hidden; }
.reading-progress span { display: block; width: 100%; height: 100%; background: var(--copper); transform: scaleX(0); transform-origin: left center; transition: transform .1s linear; }
.reader-home { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.reader-home span { width: 38px; height: 43px; display: grid; place-items: center; border: 1px solid var(--green); border-radius: 19px 19px 6px 6px; color: var(--green); font: 14px var(--serif); }
html[data-theme="dark"] .reader-home span { border-color: var(--gold); color: var(--gold); }
.reader-home i { font: 17px var(--serif); }
.reader-title { display: grid; text-align: center; }
.reader-title small { color: var(--copper); font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.reader-title strong { font: 18px var(--serif); }
.reader-quick-tools { justify-self: end; display: flex; gap: 8px; }
.reader-quick-tools button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; }
.reader-layout { min-height: 100vh; padding-top: 76px; display: grid; grid-template-columns: 310px minmax(0, 1fr); }
.reader-sidebar { position: fixed; z-index: 30; top: 76px; bottom: 0; left: 0; width: 310px; padding: 27px 22px 45px; overflow-y: auto; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 90%, var(--green) 10%); }
.sidebar-top { display: flex; justify-content: space-between; }
.back-library { color: var(--muted); font-size: 11px; font-weight: 600; text-decoration: none; }
.sidebar-close { display: none; }
.passage-picker { margin: 27px 0 34px; display: grid; grid-template-columns: 1fr 92px; gap: 9px; }
.passage-picker label { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.passage-picker select { width: 100%; height: 44px; margin-top: 7px; padding: 0 10px; border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
.passage-picker button { grid-column: 1 / -1; height: 40px; border: 0; color: white; background: var(--green); cursor: pointer; }
.reader-search > label { display: block; margin-bottom: 9px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.reader-search > div { display: flex; height: 45px; border: 1px solid var(--line); background: var(--paper); }
.reader-search input { min-width: 0; flex: 1; padding: 0 12px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.reader-search button { width: 38px; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.reader-search p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.chapter-list { margin: 30px 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.chapter-list a { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); font-size: 11px; text-decoration: none; }
.chapter-list a[aria-current="page"] { color: white; border-color: var(--green); background: var(--green); }
.reader-help { margin-top: 30px; padding: 20px; border-left: 2px solid var(--copper); background: color-mix(in srgb, var(--paper) 80%, var(--copper) 20%); }
.reader-help strong { font: 17px var(--serif); }
.reader-help p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.reader-help kbd { padding: 1px 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--paper); font: 700 9px var(--sans); }
.reader-profile-link { display: block; margin: 0 0 20px; padding: 11px 12px; border: 1px solid var(--line); color: var(--copper); background: color-mix(in srgb, var(--paper) 88%, var(--copper) 12%); font-size: 11px; font-weight: 700; text-decoration: none; }
.saved-passages { margin: 28px 0; padding-top: 22px; border-top: 1px solid var(--line); }
.saved-passages > strong { display: block; margin-bottom: 10px; color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.saved-passages > div { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.saved-passages a { min-width: 0; flex: 1; padding: 10px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 15px var(--serif); text-decoration: none; }
.saved-passages button { width: 30px; height: 30px; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.reader-main { grid-column: 2; min-width: 0; padding: 0 clamp(25px, 7vw, 115px) 80px; }
.reader-mobile-bar { display: none; }
.reading-toolbar { min-height: 62px; display: flex; justify-content: flex-end; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.reading-toolbar button { padding: 8px 12px; border: 1px solid transparent; color: var(--muted); background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.reading-toolbar button:hover { border-color: var(--line); color: var(--ink); }
.reading-toolbar button:disabled { opacity: .42; cursor: default; }
.reading-toolbar span { color: var(--copper); margin-right: 5px; }
.reading-intro { max-width: 850px; margin: 80px auto 60px; text-align: center; animation: gentle-rise .55s .06s ease both; }
.reading-intro > p { color: var(--copper); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.reading-intro h1 { margin: 22px 0; font: clamp(62px, 7vw, 106px)/.95 var(--serif); }
.reading-intro > div { display: flex; align-items: center; justify-content: center; gap: 14px; }
.reading-intro > div span { color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.reading-intro > div strong { color: var(--copper); font: 31px var(--serif); }
.reading-intro > div i { width: 46px; height: 1px; background: var(--copper); }

.scripture { max-width: 850px; margin: 0 auto; font-family: Georgia, "Times New Roman", serif; font-size: var(--verse-size); line-height: 1.75; }
.scripture > h1, .scripture > hr { display: none; }
.scripture h2 { margin: 0 0 30px; color: var(--ink); font: 44px/1.1 var(--serif); }
.scripture h2:not(.is-current-chapter), .scripture dl:not(.is-current-chapter) { display: none; }
.scripture dl { margin: 0; }
.scripture dl.is-current-chapter { animation: gentle-rise .5s .12s ease both; }
.scripture dt { float: left; clear: left; width: 56px; padding-top: 6px; color: var(--copper); font: 700 11px/1.5 var(--sans); cursor: pointer; }
.scripture dt a { color: inherit; text-decoration: none; }
.scripture dd { min-height: 46px; margin: 0 0 13px 56px; padding: 0 12px 11px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.scripture dt.is-selected { color: white; }
.scripture dt.is-selected::before { content: ""; position: absolute; z-index: -1; width: 40px; height: 27px; margin: -5px 0 0 -9px; border-radius: 14px; background: var(--copper); }
.scripture dd.is-selected { padding-left: 13px; border-left: 2px solid var(--copper); background: color-mix(in srgb, var(--paper) 88%, var(--copper) 12%); }
.scripture font[color="RED"], .scripture font[color="#FF0000"], .scripture font[color="red"] { color: #9b4837 !important; }
.scripture font[color="#000000"], .scripture font[color="BLACK"], .scripture font[color="black"] { color: inherit !important; }
html[data-theme="dark"] .scripture font[color="RED"], html[data-theme="dark"] .scripture font[color="#FF0000"], html[data-theme="dark"] .scripture font[color="red"] { color: #efa28e !important; }
.scripture mark { padding: 1px 2px; color: inherit; background: rgba(214,178,109,.45); }
.search-results { max-width: 850px; margin: 0 auto 50px; padding: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 92%, var(--copper) 8%); }
.search-results h2 { margin: 0 0 18px; font: 29px var(--serif); }
.search-result { width: 100%; padding: 13px 0; display: grid; grid-template-columns: 70px 1fr; gap: 12px; text-align: left; border: 0; border-top: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer; }
.search-result strong { color: var(--copper); }
.search-result span { font-family: Georgia, serif; line-height: 1.5; }
.chapter-navigation { max-width: 850px; margin: 80px auto 0; padding-top: 25px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); }
.chapter-navigation a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.chapter-navigation a:nth-child(2) { display: grid; text-align: center; }
.chapter-navigation a:last-child { justify-self: end; }
.chapter-navigation small { color: var(--muted); font-size: 10px; }
.verse-action { position: fixed; z-index: 80; right: 25px; bottom: 25px; width: min(530px, calc(100vw - 50px)); padding: 15px; display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; color: white; background: var(--green-deep); box-shadow: 0 20px 50px rgba(0,0,0,.22); }
.verse-action p { min-width: 0; margin: 0; display: grid; }
.verse-action p span { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.verse-action p strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 14px var(--serif); }
.verse-action button { padding: 8px; border: 1px solid rgba(255,255,255,.25); color: white; background: transparent; cursor: pointer; }
.reader-toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; padding: 11px 18px; color: white; background: var(--green-deep); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: .2s; }
.verse-action:not([hidden]) + .reader-toast { bottom: 112px; }
.reader-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.sidebar-backdrop { display: none; }
.reader-page.is-focus .reader-sidebar { transform: translateX(-100%); }
.reader-page.is-focus .reader-layout { grid-template-columns: 1fr; }
.reader-page.is-focus .reader-main { grid-column: 1; }

@keyframes gentle-page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes gentle-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1050px) {
    .book-grid { grid-template-columns: repeat(2, 1fr); }
    .bible-hero { grid-template-columns: 1fr 400px; gap: 25px; }
    .reader-layout { grid-template-columns: 270px minmax(0, 1fr); }
    .reader-sidebar { width: 270px; }
    .reader-main { padding-inline: 35px; }
}

@media (max-width: 900px) {
    .bible-hero {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
        gap: 80px;
    }

    .bible-hero-copy,
    .bible-hero-copy > p {
        min-width: 0;
        max-width: 100%;
    }

    .bible-hero-art {
        width: min(620px, 100%);
        margin-inline: auto;
    }

    .reader-layout {
        display: block;
    }

    .reader-sidebar {
        top: 0;
        z-index: 90;
        width: min(380px, 88vw);
        padding-top: 24px;
        transform: translateX(-105%);
        transition: transform .25s ease;
    }

    .reader-sidebar.is-open { transform: translateX(0); }
    .sidebar-close { display: block; width: 38px; height: 38px; border: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer; }
    .sidebar-backdrop { position: fixed; z-index: 85; inset: 0; background: rgba(7,22,18,.55); }
    .sidebar-backdrop.is-visible { display: block; }
    .reader-main { padding-inline: clamp(24px, 6vw, 55px); }
    .reader-mobile-bar { height: 52px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
    .reader-mobile-bar button { min-height: 44px; padding: 8px 0; border: 0; color: var(--ink); background: transparent; font-weight: 700; cursor: pointer; }
    .reader-page.is-focus .reader-sidebar { transform: translateX(-105%); }
}

@media (max-width: 760px) {
    .bible-site-header { height: 72px; padding-inline: 16px; }
    .bible-site-header nav a:not([aria-current="page"]) { display: none; }
    .bible-site-header nav a { font-size: 11px; }
    .bible-brand strong { font-size: 10px; letter-spacing: .17em; }
    .bible-brand small { display: none; }
    .bible-brand-mark { width: 38px; height: 44px; }
    .bible-hero { min-height: auto; padding: 75px 20px 95px; grid-template-columns: 1fr; gap: 70px; }
    .bible-hero h1 { font-size: clamp(54px, 15vw, 73px); }
    .bible-hero-copy > p:not(.bible-eyebrow) { font-size: 16px; }
    .bible-hero-actions, .bible-button { width: 100%; }
    .bible-button-text { width: auto; }
    .bible-hero-art { min-height: 440px; }
    .bible-volume { width: 250px; }
    .bible-volume strong { font-size: 48px; }
    .orbit-one { width: 330px; height: 330px; }
    .orbit-two { width: 430px; height: 270px; }
    .catalog-heading { align-items: stretch; flex-direction: column; }
    .catalog-heading h2 { font-size: 49px; }
    .testament-tabs { margin-block: 38px 48px; overflow-x: auto; }
    .testament-tabs button { flex: 0 0 auto; padding-inline: 13px; font-size: 11px; }
    .book-group { grid-template-columns: 1fr; gap: 18px; }
    .book-grid { grid-template-columns: 1fr; }
    .book-tile { min-height: 125px; }
    .bible-footer { align-items: flex-start; flex-direction: column; }

    .reader-header { height: 68px; padding: 0 14px; grid-template-columns: auto 1fr auto; }
    .reader-home i, .reader-title small { display: none; }
    .reader-home span { width: 34px; height: 38px; }
    .reader-title strong { font-size: 15px; }
    .reader-quick-tools button:first-child { display: none; }
    .reader-quick-tools button { width: 36px; height: 36px; }
    .reader-layout { padding-top: 68px; display: block; }
    .reader-sidebar { top: 0; z-index: 90; width: min(360px, 89vw); padding-top: 24px; transform: translateX(-105%); transition: transform .25s ease; }
    .reader-sidebar.is-open { transform: translateX(0); }
    .sidebar-close { display: block; width: 36px; height: 36px; border: 1px solid var(--line); color: var(--ink); background: transparent; }
    .sidebar-backdrop { position: fixed; z-index: 85; inset: 0; background: rgba(7,22,18,.55); }
    .sidebar-backdrop.is-visible { display: block; }
    .reader-main { padding: 0 19px 65px; }
    .reader-mobile-bar { height: 50px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
    .reader-mobile-bar button { padding: 8px 0; border: 0; color: var(--ink); background: transparent; font-weight: 700; }
    .reading-toolbar { min-height: 50px; justify-content: center; overflow-x: auto; }
    .reading-toolbar button { flex: 0 0 auto; padding-inline: 6px; font-size: 9px; }
    .reading-intro { margin: 58px auto 48px; }
    .reading-intro h1 { font-size: clamp(56px, 18vw, 78px); overflow-wrap: anywhere; }
    .scripture { font-size: var(--verse-size); line-height: 1.72; }
    .scripture h2 { font-size: 34px; }
    .scripture dt { width: 45px; }
    .scripture dd { margin-left: 45px; padding-right: 2px; }
    .chapter-navigation { grid-template-columns: 1fr auto 1fr; }
    .chapter-navigation small { display: none; }
    .verse-action { right: 10px; bottom: 10px; width: calc(100vw - 20px); grid-template-columns: 1fr auto auto; }
    .verse-action p { grid-column: 1 / -1; }
    .verse-action [data-action-close] { position: absolute; right: 6px; top: 6px; border: 0; }
    .verse-action:not([hidden]) + .reader-toast { bottom: 142px; }
    .reader-page.is-focus .reader-sidebar { transform: translateX(-105%); }
}

@media (max-width: 360px) {
    .bible-hero h1 { font-size: clamp(46px, 15vw, 54px); }
    .bible-eyebrow { font-size: 9px; letter-spacing: .16em; }
    .bible-hero-copy > p:not(.bible-eyebrow) { font-size: 15px; overflow-wrap: anywhere; }
    .bible-button { padding-inline: 16px; gap: 14px; }

    .reading-toolbar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        overflow: visible;
    }

    .reading-toolbar button {
        min-width: 0;
        padding-inline: 2px;
        overflow: hidden;
        font-size: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .reading-toolbar button span { margin-right: 4px; font-size: 10px; }
    .reading-toolbar [data-focus-toggle]::after { content: "Lecture"; font-size: 8px; }
    .reading-toolbar [data-copy-verse]::after { content: "Copier"; font-size: 8px; }
    .reading-toolbar [data-bookmark]::after { content: "Marquer"; font-size: 8px; }

    .reading-intro h1 { font-size: clamp(48px, 17vw, 62px); }
    .scripture dt { width: 42px; }
    .scripture dd { margin-left: 42px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } body, .bible-hero-copy, .bible-hero-art, .reading-intro, .scripture dl.is-current-chapter { animation: none !important; } * { transition: none !important; } }
