:root {
  --ink: #1d1a16; --paper: #faf7f1; --card: #ffffff; --line: #e6dfd2; --muted: #6d655a;
  --gold: #c89b6a; --tan: #9c7748; --dark: #0b0b0d; --dark-2: #151517; --wj: #8c2f24;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.65; }
a { color: var(--tan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img, video { max-width: 100%; }

.top { background-color: #080809; background-image: url(/img/leather.svg); background-size: 130px 130px; color: #f4efe6; border-bottom: 1px solid #2a2418; position: sticky; top: 0; z-index: 10; }
.top .in { max-width: 1120px; margin: 0 auto; padding: .55rem 16px; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .6rem; color: #f4efe6; text-decoration: none; font-family: var(--sans); letter-spacing: .32em; font-size: .82rem; text-transform: uppercase; }
.brand:hover { color: var(--gold); }
.brand img { width: 34px; height: 34px; display: block; }
.top nav { margin-left: auto; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.top nav a { color: #d9cfbf; text-decoration: none; font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; padding: .3rem 0; border-bottom: 1px solid transparent; }
.top nav a:hover, .top nav a.on { color: var(--gold); border-bottom-color: var(--gold); }

main { max-width: 760px; margin: 0 auto; padding: 2.2rem 16px 4rem; }
main.wide { max-width: 1060px; }
h1, h2, h3, .caps { font-family: var(--sans); font-weight: 500; }
h1 { font-size: 1.7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tan); text-align: center; margin: .4rem 0 1.6rem; line-height: 1.3; }
h2 { font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tan); margin: 2.4rem 0 .8rem; }
h3 { font-size: 1.02rem; letter-spacing: .04em; margin: 1.8rem 0 .4rem; }
.lede { font-size: 1.12rem; text-align: center; color: #3b352d; max-width: 620px; margin: 0 auto 1.6rem; }
.crumbs { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; }
.crumbs a { color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }

/* home */
.leather { background-color: #080809; background-image: url(/img/leather.svg); background-size: 130px 130px; }
.hero { position: relative; color: #f4efe6; text-align: center; padding: 2.2rem 16px 3.4rem; margin: 0;
  background-color: #080809;
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(255, 244, 225, .13), rgba(255, 244, 225, 0) 70%),
    radial-gradient(ellipse 120% 100% at 50% 45%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .7) 100%),
    url(/img/leather.svg);
  background-size: auto, auto, 130px 130px; }
.hero::before { content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(214, 172, 120, .5); border-radius: 8px; pointer-events: none; }
.hero > * { position: relative; }
.hero p.tag { text-shadow: 0 1px 6px #000, 0 0 14px #000; }
.hero img { width: min(560px, 90vw); height: auto; display: block; margin: 0 auto; position: relative; }
.hero p.tag { font-size: 1.15rem; max-width: 620px; margin: .2rem auto 1.6rem; color: #e7dfd2; }
.btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.btn { font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: .8rem 1.3rem; border: 1px solid var(--gold); color: var(--gold); border-radius: 2px; }
.btn.solid { background: var(--gold); color: var(--dark); }
.btn:hover { background: #e2bb8d; color: var(--dark); }
.verse-band { text-align: center; padding: 3rem 16px; border-bottom: 1px solid var(--line); border-top: 3px solid #1a1712; }
.verse-band blockquote { font-size: 1.35rem; font-style: italic; max-width: 640px; margin: 0 auto .8rem; line-height: 1.55; }
.verse-band blockquote strong { font-style: normal; color: var(--tan); }
.verse-band cite { font-family: var(--sans); font-style: normal; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--tan); display: block; line-height: 2; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.card { background: var(--card); border: 1px solid var(--line); padding: 1.3rem 1.3rem 1.1rem; text-decoration: none; color: var(--ink); border-radius: 3px; display: block; }
.card:hover { border-color: var(--gold); color: var(--ink); }
.card b { font-family: var(--sans); font-weight: 500; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tan); display: block; margin-bottom: .4rem; }
.card span { font-size: .95rem; color: #4a4339; }
.card .num { font-family: var(--sans); font-size: 1.5rem; color: var(--ink); display: block; }

/* lists of books and chapters */
.books { columns: 3 190px; column-gap: 2rem; padding: 0; list-style: none; margin: 0 0 1.5rem; }
.books li { break-inside: avoid; padding: .12rem 0; }
.books a { text-decoration: none; }
.books .n { color: var(--muted); font-size: .8rem; font-family: var(--sans); }
.chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: .45rem; margin: 1rem 0 2rem; }
.chapters a { text-align: center; padding: .5rem 0; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-family: var(--sans); font-size: .9rem; border-radius: 2px; }
.chapters a:hover { border-color: var(--gold); }

/* Bible text */
.scripture { font-size: 1.12rem; line-height: 1.75; }
.scripture p { margin: 0 0 .15rem; text-indent: 1.3em; }
.scripture .s1, .scripture .s2, .scripture .ms { font-family: var(--sans); text-indent: 0; text-align: center; margin: 1.9rem 0 .2rem; color: var(--ink); font-size: .95rem; letter-spacing: .03em; font-weight: 600; }
.scripture .ms { text-transform: uppercase; letter-spacing: .16em; color: var(--tan); font-weight: 500; }
.scripture .r { text-indent: 0; text-align: center; font-size: .82rem; color: var(--muted); margin: 0 0 .7rem; }
.scripture .d { text-indent: 0; font-style: italic; color: #4a4339; margin: .3rem 0 .6rem; }
.scripture .q1, .scripture .q2, .scripture .qr, .scripture .qa, .scripture .li1, .scripture .li2 { text-indent: -1.3em; margin: 0; }
.scripture .q1, .scripture .li1 { padding-left: 2.6em; }
.scripture .q2, .scripture .li2 { padding-left: 4.2em; }
.scripture .qr { text-align: right; font-style: italic; }
.scripture .qa { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tan); margin-top: 1rem; padding-left: 1.3em; }
.scripture .pc { text-indent: 0; text-align: center; }
.scripture .b { height: .8rem; }
.v { font-family: var(--sans); font-size: .58em; color: var(--tan); font-weight: 600; margin-right: .25em; vertical-align: .55em; line-height: 0; }
.plus { font-family: var(--sans); font-size: .62em; color: var(--tan); margin-right: .2em; vertical-align: -.1em; }
.add { font-style: italic; }
.wj { color: var(--wj); }
.sc { font-variant: small-caps; letter-spacing: .06em; }
a.fn { text-decoration: none; font-size: .7em; vertical-align: .45em; line-height: 0; padding: 0 .1em; color: var(--tan); }
.notes { border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1rem; font-size: .88rem; color: #3f3930; }
.notes ol { padding-left: 1.6rem; margin: .4rem 0; }
.notes li { margin-bottom: .3rem; }
.notes li:target { background: #f1e6d3; }
sup.v:target { background: #f1e6d3; outline: 3px solid #f1e6d3; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin: 2.4rem 0 0; font-family: var(--sans); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.pager a { text-decoration: none; }
.also { text-align: center; font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1.6rem; }
.also a { margin: 0 .6rem; text-decoration: none; white-space: nowrap; }

/* preface */
.preface p { text-indent: 1.3em; margin: 0 0 .5rem; }
.preface p.first, .preface .ili, .preface .pc { text-indent: 0; }
.preface .ili { font-size: .86rem; padding-left: 1.3em; text-indent: -1.3em; margin: 0 0 .3rem; }
.preface .pc { text-align: center; }
.closing { text-align: center; margin: 3rem 0 0; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.closing p { text-indent: 0; }
.closing .sc { font-family: var(--sans); font-variant: normal; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--tan); }

/* changes */
.change { background: var(--card); border: 1px solid var(--line); border-radius: 3px; padding: 1rem 1.2rem; margin: 0 0 .9rem; }
.change h3 { margin: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; }
.change h3 a { text-decoration: none; color: var(--ink); }
.pill { font-family: var(--sans); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tan); border: 1px solid #dccdb6; border-radius: 20px; padding: .12rem .6rem; white-space: nowrap; text-decoration: none; }
.change .row { display: grid; grid-template-columns: 5.2rem 1fr; gap: .2rem .8rem; font-size: .98rem; margin-bottom: .35rem; }
.change .k { font-family: var(--sans); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .42rem; }
.change .bsb { color: #5b544a; }
.change strong { color: #6b4a1f; background: #f6ecd9; padding: 0 .12em; border-radius: 2px; font-weight: 600; }
.change .why { font-size: .9rem; color: #3f3930; margin: .5rem 0 0; padding-top: .5rem; border-top: 1px dotted var(--line); }
.chap-head { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tan); margin: 2rem 0 .7rem; }
table.tally { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.tally td, table.tally th { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tally th { font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
table.tally td.n { font-family: var(--sans); white-space: nowrap; text-align: right; }

/* commentary */
.entry { margin: 0 0 2.2rem; }
.entry h3 a { color: var(--ink); text-decoration: none; }
.entry blockquote { margin: .3rem 0 .8rem; padding: .1rem 0 .1rem 1rem; border-left: 2px solid var(--gold); font-size: 1.04rem; }
.entry p { margin: 0 0 .7rem; font-size: .98rem; }

/* features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.feature:nth-child(even) .clip { order: 2; }
.feature h2 { margin-top: 0; }
.clip { background: var(--dark); border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.clip video { width: 100%; height: 100%; object-fit: contain; display: block; }
.clip img { width: 38%; opacity: .5; }

.draft { border: 1px dashed #c0392b; background: #fff5f2; color: #7a2418; font-family: var(--sans); font-size: .8rem; padding: .7rem .9rem; border-radius: 3px; margin: 1rem 0; }
.draft b { letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; display: block; }

footer { background-color: #080809; background-image: url(/img/leather.svg); background-size: 130px 130px; color: #cfc6b6; text-align: center; padding: 2.4rem 16px; font-size: .82rem; }
footer .mark { width: 54px; margin: 0 auto .6rem; display: block; }
footer a { color: #d9cfbf; }
footer a:hover { color: var(--gold); }
footer p { max-width: 640px; margin: .4rem auto; }

@media (max-width: 700px) {
  body { font-size: 17.5px; }
  .top nav { margin-left: 0; gap: .9rem; }
  .feature { grid-template-columns: 1fr; gap: 1rem; }
  .feature:nth-child(even) .clip { order: 0; }
  .change .row { grid-template-columns: 1fr; }
  .change .k { padding-top: 0; }
  .scripture .q1, .scripture .li1 { padding-left: 1.9em; }
  .scripture .q2, .scripture .li2 { padding-left: 3em; }
}
