:root {
  color-scheme: light;
  --ink: #203439;
  --muted: #587076;
  --forest: #133e44;
  --forest-deep: #0e3035;
  --accent: #b77642;
  --paper: #fffefa;
  --canvas: #f4f3ec;
  --line: #d8ded8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Georgia, "Times New Roman", serif; line-height: 1.68; }
a { color: #136276; text-decoration-color: #a5c6c5; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: #985629; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 20; background: white; padding: .5rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 4.5rem; background: var(--forest-deep); color: white; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem clamp(1rem, 3vw, 3rem); }
.site-header a { color: #f4f2e8; text-decoration: none; }
.site-header a:hover { color: #d9ab80; }
.brand { font: 700 1.15rem/1.2 system-ui, sans-serif; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; background: #d7a46d; color: var(--forest-deep); width: 1.8rem; height: 1.8rem; border-radius: 50%; margin-right: .35rem; }
.top-links { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 2rem); font: 600 .83rem/1.4 system-ui, sans-serif; }
.top-links a[aria-current="page"] { color: #e6ae79; }
.site-layout { max-width: 1500px; min-height: calc(100vh - 9rem); margin: auto; display: grid; grid-template-columns: minmax(225px, 270px) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 4rem); padding: 0 clamp(1rem, 3vw, 3rem) 4rem; }
.sidebar { position: sticky; top: 0; align-self: start; max-height: 100vh; overflow-y: auto; padding: 2.3rem .8rem 2rem 0; scrollbar-width: thin; font: .82rem/1.4 system-ui, sans-serif; }
.sidebar-label, .eyebrow { color: var(--accent); text-transform: uppercase; font: 700 .72rem/1.4 system-ui, sans-serif; letter-spacing: .19em; }
.sidebar nav, .mobile-menu nav { display: grid; gap: .1rem; }
.sidebar nav a, .mobile-menu nav a { display: block; padding: .45rem .55rem; color: var(--ink); border-radius: .3rem; text-decoration: none; }
.sidebar nav a:hover, .mobile-menu nav a:hover { background: #e6ece5; }
.sidebar nav a[aria-current="page"], .mobile-menu nav a[aria-current="page"] { background: #dce7df; color: var(--forest-deep); font-weight: 700; }
.nav-number { display: inline-block; width: 2rem; color: #9c6844; }
.nav-part { margin: 1.15rem .55rem .35rem; color: var(--forest); font: 700 .72rem/1.35 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.nav-part span { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
.mobile-menu { display: none; }
main { min-width: 0; }
.reading-page, .home-content { background: var(--paper); max-width: 860px; padding: clamp(1.5rem, 5vw, 4.5rem); margin: 2rem auto 0; box-shadow: 0 12px 50px #1638380d; }
h1, h2, h3 { line-height: 1.2; color: var(--forest-deep); }
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); letter-spacing: -.035em; margin: .55rem 0 1.5rem; }
h2 { margin-top: 2.8rem; font-size: 1.6rem; letter-spacing: -.02em; }
h3 { margin-top: 2rem; font-size: 1.2rem; }
p { margin: 0 0 1.15rem; }
.prose { font-size: clamp(1.03rem, 1.4vw, 1.16rem); }
.prose h1:first-child { display: none; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin: .35rem 0; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font: .88rem/1.5 system-ui, sans-serif; margin: 2rem 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .75rem; min-width: 8.5rem; vertical-align: top; }
.prose th { background: #eaf0e9; text-align: left; }
.prose code { font: .9em/1.3 ui-monospace, monospace; background: #eef2ef; padding: .1em .25em; }
.lead { font-size: 1.25rem; color: #3c5558; }
.status-note { padding: 1rem 1.2rem; background: #f5eee4; border-left: 4px solid var(--accent); font: .89rem/1.55 system-ui, sans-serif; color: #58483d; }
.chapter-sources { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1rem; font: .86rem/1.55 system-ui, sans-serif; }
.chapter-sources h2 { font: 700 1rem/1.3 system-ui, sans-serif; margin: 1rem 0; }
.chapter-sources li { margin: .6rem 0; }
.page-nav { border-top: 1px solid var(--line); margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 1.5rem; font: 600 .94rem/1.35 system-ui, sans-serif; }
.page-nav a { display: grid; gap: .35rem; padding: 1rem; border: 1px solid var(--line); border-radius: .3rem; text-decoration: none; }
.page-nav a:last-child { text-align: right; }
.page-nav small { font: 500 .75rem/1.3 system-ui, sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.back-link { margin: 3rem 0 0; border-top: 1px solid var(--line); padding-top: 1rem; }
.reference-list, .resource-list { padding-left: 1.4rem; }
.reference-list li { margin: 0 0 1.6rem; padding-left: .4rem; }
.reference-title { font-weight: 700; }
.reference-url, .reference-uses { display: block; font: .84rem/1.5 system-ui, sans-serif; margin: .25rem 0; }
.reference-url { color: var(--muted); overflow-wrap: anywhere; }
.reference-uses { color: #425b60; }
.resource-list li { margin: .6rem 0; font-size: 1.12rem; }
.hero { margin: 2rem auto 0; max-width: 1150px; min-height: 490px; display: grid; grid-template-columns: minmax(240px, .78fr) minmax(290px, 1fr); background: var(--forest-deep); color: #f7f5ea; overflow: hidden; }
.hero-visual { position: relative; min-height: 490px; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.cover-credit { position: absolute; left: .75rem; bottom: .75rem; background: #0d282abd; color: white; padding: .3rem .5rem; border-radius: .2rem; font: .68rem/1.4 system-ui, sans-serif; }
.hero-copy { align-self: center; padding: clamp(2rem, 5vw, 5rem); }
.hero-copy h1 { font-size: clamp(3rem, 6vw, 5.5rem); color: #f7f5ea; margin-bottom: .5rem; }
.hero-copy p { max-width: 29rem; }
.hero-subtitle { color: #efcbab; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.3; }
.hero-byline { color: #e7dbca; font: 600 .95rem/1.4 system-ui, sans-serif; margin: 1.2rem 0; }
.hero-byline a { color: inherit; }
.hero-byline a:hover { color: #f3c79a; }
.primary-button { display: inline-block; margin-top: 1.2rem; padding: .75rem 1.2rem; background: #dca36a; border-radius: .22rem; color: #142f34; text-decoration: none; font: 700 .93rem/1.4 system-ui, sans-serif; }
.primary-button:hover { background: #f1c38d; color: #102d30; }
.home-content { max-width: 1150px; margin-top: 0; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, .85fr); gap: clamp(1.5rem, 3vw, 3rem); border-top: 1px solid var(--line); margin-top: 2.5rem; }
.toc-list { list-style: none; padding: 0; font: .93rem/1.45 system-ui, sans-serif; }
.toc-list li:not(.part-heading) a { display: flex; gap: .8rem; padding: .55rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.toc-list li:not(.part-heading) a span:first-child { color: #a2704e; width: 2rem; flex: 0 0 auto; }
.toc-list li:not(.part-heading) a span:last-child { margin-left: auto; }
.toc-list .part-heading { color: var(--forest); font-weight: 700; margin: 1.5rem 0 .4rem; }
.home-aside { font: .97rem/1.5 system-ui, sans-serif; }
.home-aside h2 { font-family: Georgia, serif; }
.site-footer { border-top: 1px solid var(--line); padding: 2rem clamp(1rem, 3vw, 3rem); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--muted); font: .8rem/1.5 system-ui, sans-serif; }
@media (max-width: 900px) {
  .site-layout { display: block; padding: 0 1rem 3rem; }
  .sidebar { display: none; }
  .mobile-menu { display: block; background: #e6ede7; padding: .5rem 1.25rem; font: .9rem/1.4 system-ui, sans-serif; }
  .mobile-menu summary { cursor: pointer; font-weight: 700; padding: .5rem 0; color: var(--forest); }
  .mobile-menu nav { padding: .5rem 0 1rem; max-height: 65vh; overflow-y: auto; }
  .mobile-resources { border-top: 1px solid #b8c8c2; padding-top: .6rem; margin-top: .8rem; display: grid; }
  .top-links { display: none; }
  .reading-page { margin-top: 1rem; }
}
@media (max-width: 620px) {
  .hero { display: block; margin-top: 1rem; }
  .hero-visual { min-height: 290px; height: 290px; }
  .hero-visual img { object-position: center 75%; }
  .hero-copy { padding: 2rem; }
  .hero-copy h1 { font-size: 3.3rem; }
  .home-grid { display: block; }
  .home-content { padding: 1.5rem; }
  .reading-page { padding: 1.5rem; }
  .page-nav { gap: .5rem; font-size: .8rem; }
  .page-nav a { padding: .7rem; }
}
@media print {
  body { background: white; }
  .site-header, .sidebar, .mobile-menu, .site-footer, .page-nav, .skip-link { display: none !important; }
  .site-layout { display: block; padding: 0; }
  .reading-page { box-shadow: none; max-width: none; margin: 0; padding: 0; }
  .prose table { display: table; }
}
