:root { color-scheme: light; --paper: #faf8f2; --ink: #252925; --muted: #5e665e; --accent: #365b46; }
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Georgia, 'Times New Roman', serif; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.masthead { max-width: 76rem; margin: auto; padding: 1.6rem 2rem; display: flex; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid #d6d9ce; font: 1rem/1.5 system-ui, sans-serif; }
.masthead > a { color: var(--ink); text-decoration: none; }
.masthead nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
main { width: min(100% - 3rem, 43rem); margin: 4.5rem auto; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.12; font-weight: normal; margin: .7rem 0 2rem; letter-spacing: -.025em; }
h2 { font-size: 1.6rem; font-weight: normal; margin-top: 2.5rem; }
.eyebrow { color: var(--muted); font: .8rem/1.5 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.chapter-body { font-size: clamp(1.125rem, 2vw, 1.3rem); line-height: 1.8; overflow-wrap: break-word; }
.chapter-body p { margin: 0 0 1.4em; }
.chapter-body hr { border: 0; text-align: center; margin: 2.5rem auto; }
.chapter-body hr::after { content: '* * *'; letter-spacing: .6em; color: var(--muted); }
.notice, .notes { font: 1rem/1.65 system-ui, sans-serif; color: var(--muted); }
.notice { border-left: 2px solid #abb7a3; padding-left: 1rem; }
.notes { border-top: 1px solid #d6d9ce; margin-top: 3rem; }
.notes h2 { color: var(--ink); font-family: Georgia, serif; }
.chapter-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; border-top: 1px solid #d6d9ce; padding-top: 1.5rem; margin-top: 3rem; font: 1rem/1.65 system-ui, sans-serif; }
.chapter-nav a:last-child { text-align: right; }
.chapter-nav small { display: block; color: var(--muted); }
.contents { padding: 0; list-style: none; }
.contents li { padding: .7rem 0; border-bottom: 1px solid #e3e4dc; font-size: 1.1rem; line-height: 1.5; }
.contents small { display: block; color: var(--muted); font: .8rem/1.5 system-ui, sans-serif; }
.contents [aria-current] { font-weight: bold; }
footer { text-align: center; padding: 2rem 1.5rem 3rem; color: var(--muted); font: .9rem/1.7 system-ui, sans-serif; }
.skip { position: absolute; left: 1rem; top: -5rem; background: var(--paper); padding: 1rem; }
.skip:focus { top: 0; }
@media (max-width: 560px) { .masthead { padding: 1.2rem 1.5rem; flex-direction: column; gap: .75rem; } main { margin-top: 2.5rem; } .chapter-nav { gap: 1rem; } }
@media print { .masthead, .chapter-nav, .skip, footer { display: none; } body { background: white; } main { width: 100%; margin: 0; } }

.chapter-body blockquote { margin: 1.8rem 0; padding: .2rem 0 .2rem 1.25rem; border-left: 2px solid #abb7a3; color: var(--ink); }
.chapter-body blockquote p:last-child { margin-bottom: 0; }

.part-opening { text-align: center; padding: clamp(3rem, 10vh, 7rem) 0 clamp(4rem, 12vh, 8rem); }
.part-opening .eyebrow { letter-spacing: .22em; margin-bottom: 2rem; }
.part-opening h1 { font-size: clamp(3rem, 10vw, 6.5rem); margin: 0; font-weight: normal; }
.part-rule { width: 3rem; height: 1px; background: #abb7a3; margin: 3rem auto; }
.part-begin { font: 1rem/1.6 system-ui, sans-serif; text-decoration: none; padding: .75rem; }
.part-begin:hover { text-decoration: underline; }
.part-begin span { margin-left: .5rem; }
.part-return { display: flex; justify-content: space-between; gap: 1.5rem; border-top: 1px solid #d6d9ce; padding-top: 1.5rem; font: .9rem/1.6 system-ui, sans-serif; }
@media print { .part-return { display: none; } .part-opening { padding: 5rem 0; } }
