:root { color-scheme: light; --paper:#f5f2e9; --ink:#2e3029; --muted:#686a5f; --line:#d5d4c6; --accent:#586144; }
* { box-sizing:border-box; }
html { scroll-behavior:auto; scroll-padding-top:24px; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Georgia,'Times New Roman',serif; line-height:1.7; }
a { color:inherit; text-underline-offset:5px; }
a:focus-visible { outline:2px solid var(--accent); outline-offset:6px; }
.page { width:100%; padding:0 clamp(24px,4vw,64px); margin:0; }
header { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:24px; min-height:112px; padding:20px 0; border-bottom:1px solid var(--line); }
.brand {  text-decoration:none; letter-spacing:-.6px; }
.brand, .footer-brand { display:inline-flex; align-items:center; gap:.4em; white-space:nowrap; }
.brand-name { color:var(--ink); }
.brand-name span { color:var(--muted); }
.site-logo { display:block; width:1.5em; height:1.5em; width:2cap; height:2cap; flex-shrink:0; }
nav { display:flex; flex-wrap:wrap; gap:30px; margin-left:auto;   }
nav a { text-decoration:none; }
nav a:hover { text-decoration:underline; }
.intro { padding:40px 0; }
.intro .eyebrow { margin-bottom:16px; }
.intro h1 { margin-bottom:24px; }
.intro .note { margin-bottom:0; }
.eyebrow, .small {  color:var(--muted); }
.eyebrow { letter-spacing:1.8px; text-transform:uppercase; margin:0 0 22px; }
h1 { font-size:clamp(40px,5.4vw,66px); line-height:1.13; font-weight:400; letter-spacing:-2px; margin:0 0 32px; }
h1 em { font-weight:400; color:var(--accent); }
.lead {   margin:0 0 17px; }
.note {  color:var(--muted); margin:0 0 30px; }
.text-link { font:15px/1.6 Arial,sans-serif; }

.questions { border-top:1px solid var(--line); padding:26px 0 40px; }
.section-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:8px 24px; margin-bottom:26px; }
.section-heading .eyebrow { margin-bottom:0; }
.research-entry { display:grid; grid-template-columns:80px 1fr; gap:18px; align-items:baseline; padding:16px 0 0; }
.research-entry + .research-entry { border-top:1px solid var(--line); margin-top:28px; padding-top:28px; }
.research-start { margin:10px 0 0; }
.research-title-link { text-decoration:none; }
.research-title-link:hover { text-decoration:underline; }
.research-summary { margin:16px 0 12px;  color:var(--muted); }
.entry-number { color:#7f826e; font-size:35px; line-height:1.3; }
h2 { font-size:31px; line-height:1.25; font-weight:400; letter-spacing:-.6px; margin:0; }
.literature { border-top:1px solid var(--line); padding:40px 0 48px; }
.home-library { padding:26px 0 40px; }
.literature h3 { font-size:21px; line-height:1.4; font-weight:400; margin:0 0 12px; }
.literature p { margin:0; font-size:16px; color:var(--muted); }
.literature-policy { margin-top:26px; padding-left:22px; border-left:2px solid var(--accent); }
.literature-policy p + p { margin-top:12px; }
.literature-catalogue { margin-top:30px; }
.literature .literature-more { margin-top:26px; }
.reading-plan { margin-top:48px; padding-top:28px; border-top:2px solid var(--line); }
.literature .literature-empty { margin-top:20px; font-size:14px; font-style:italic; }
.book-entry { margin-top:24px; border-top:1px solid var(--line); padding-top:24px; scroll-margin-top:30px; }
.literature .book-entry .eyebrow { margin-bottom:12px; font:11px/1.6 Arial,sans-serif; }
.literature .book-entry h3 { font-size:27px; }
.literature .book-entry p + p { margin-top:12px; }
.literature .book-entry .book-added { font:12px/1.6 Arial,sans-serif; margin-top:18px; }
footer { border-top:1px solid var(--line); padding:24px 0 34px; display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px; font:11px/1.7 Arial,sans-serif; color:var(--muted); }
.footer-services { display:flex; align-items:center; gap:20px; margin-left:auto; }
.footer-project { display:flex; align-items:baseline; gap:12px; }
.site-version { white-space:nowrap; }
.footer-brand { color:var(--ink); font:16px/1.4 Georgia,'Times New Roman',serif; text-decoration:none; }
.footer-brand .brand-name { position:relative; top:.15em; }
.service-badge { display:inline-flex; align-items:center; gap:7px; font-size:12px; text-decoration:none; white-space:nowrap; }
.service-badge img { display:block; width:24px; height:24px; object-fit:contain; }
.chatgpt-logo { mix-blend-mode:multiply; }
.service-badge:hover { color:var(--ink); text-decoration:underline; }
.skip { position:absolute; left:16px; top:-100px; padding:8px 14px; background:var(--paper); }
.skip:focus { top:10px; }
@media(max-width:640px) { .page { padding:0 24px; } header { min-height:90px; gap:16px; } .brand {  } nav { gap:16px;  } .intro { padding:30px 0; } h1 { letter-spacing:-1.3px; } .lead {  } .eyebrow {  letter-spacing:1.3px; } .research-entry { grid-template-columns:40px 1fr; gap:14px; } .entry-number { font-size:28px; } h2 { font-size:27px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Small decorative marks for book titles and people. */
.book-heading h3::before,
.bible-books h4 > a::before,
.bible-author::before,
.person-book-list > li > a::before,
.prophet-name h2::before,
.book-tag-person::before {
 content:"";
 display:inline-block;
 width:1em;
 height:1em;
 margin-right:.4em;
 vertical-align:-.12em;
 background-color:var(--accent);
 -webkit-mask-position:center;
 mask-position:center;
 -webkit-mask-repeat:no-repeat;
 mask-repeat:no-repeat;
 -webkit-mask-size:contain;
 mask-size:contain;
}
.book-heading h3::before,
.bible-books h4 > a::before,
.person-book-list > li > a::before { -webkit-mask-image:url("assets/book-closed.svg?v=2aaf22916c64"); mask-image:url("assets/book-closed.svg?v=2aaf22916c64"); }
.prophet-name h2::before,
.bible-author::before,
.book-tag-person::before { -webkit-mask-image:url("assets/person-outline.svg?v=029ddcedddb7"); mask-image:url("assets/person-outline.svg?v=029ddcedddb7"); }

/* One style for all links to person cards, including authors and notes. */
:root a.book-tag-person, :root span.book-tag-person { display:inline-block; max-width:100%; padding:6px 12px; border:1px solid #d6ddca; border-radius:4px; background:#f0f3e9; color:#4b5141; font:15px/1.5 Georgia,'Times New Roman',serif; text-decoration:none; overflow-wrap:anywhere; }
:root a.book-tag-person:hover { background:#dce4cf; border-color:#aebc98; color:#303d23; }
:root a.book-tag-person:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }

/* Shared navigation labels and decorative direction marks. */
:root a.transition-link { display:inline-flex; align-items:baseline; gap:6px; max-width:100%; font:15px/1.6 Arial,sans-serif; text-decoration:none; }
.transition-link .transition-label { min-width:0; text-decoration:underline; text-underline-offset:3px; }
.transition-link .transition-symbol { flex:none; margin:0; text-decoration:none; }
.read-action.transition-link .transition-label { text-decoration:none; }
