:root {
  --ink: #07110d;
  --green: #173b2b;
  --gold: #cdaa5d;
  --gold-light: #efd98e;
  --cream: #f6f0e4;
  --paper: #fbf8f1;
  --manual-accent: #cdaa5d;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: #f9f4e9; font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.reader-skip { position: fixed; z-index: 1000; top: -100px; left: 16px; padding: 12px 18px; background: var(--gold-light); color: var(--ink); font-weight: 800; }
.reader-skip:focus { top: 16px; }

.reader-header { position: sticky; z-index: 50; top: 0; min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px clamp(20px, 5vw, 72px); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(7,17,13,.94); backdrop-filter: blur(15px); }
.reader-brand { display: flex; align-items: center; gap: 12px; }
.reader-brand > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(205,170,93,.62); color: var(--gold-light); font-family: var(--serif); }
.reader-brand strong { color: #fff8ea; font-family: var(--serif); font-size: 15px; line-height: 1.1; }
.reader-brand small { display: block; margin-top: 4px; color: #798078; font-family: var(--sans); font-size: 6px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.reader-header nav { display: flex; gap: clamp(15px, 2.5vw, 34px); }
.reader-header nav a { color: #a8aea8; font-size: 8px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.reader-header nav a:hover { color: var(--gold-light); }

.reader-hero { min-height: 770px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); background: radial-gradient(circle at 18% 25%, color-mix(in srgb, var(--manual-accent) 17%, transparent), transparent 42%), linear-gradient(135deg, #0a2016, #06100c 68%); }
.hero-copy { align-self: center; padding: clamp(80px, 10vw, 145px) clamp(28px, 7vw, 110px); }
.eyebrow, .section-kicker { margin: 0; color: var(--gold-light); font-size: 8px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 30px; height: 1px; background: var(--manual-accent); }
.hero-copy h1 { max-width: 950px; margin: 26px 0 23px; color: #fff8ea; font-family: var(--serif); font-size: clamp(58px, 7.5vw, 108px); font-weight: 400; letter-spacing: -.055em; line-height: .88; }
.hero-subtitle { max-width: 820px; margin: 0; color: #c0c2bc; font-family: var(--serif); font-size: clamp(20px, 2vw, 31px); line-height: 1.35; }
.hero-audience { max-width: 760px; margin: 17px 0 0; color: #7f8982; font-size: 11px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 35px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 22px; border: 1px solid transparent; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.button-gold { background: var(--gold-light); color: #172116; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid rgba(239,217,142,.32); color: #d7d6cf; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hero-stats { max-width: 740px; display: grid; grid-template-columns: repeat(3, 1fr); margin: 42px 0 0; border-block: 1px solid rgba(255,255,255,.12); }
.hero-stats div { padding: 16px 13px; }
.hero-stats div + div { border-left: 1px solid rgba(255,255,255,.12); }
.hero-stats dt { min-height: 34px; color: var(--gold-light); font-family: var(--serif); font-size: 29px; line-height: 1.05; }
.hero-stats dd { margin: 5px 0 0; color: #78817a; font-size: 6px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hero-photo { min-height: 770px; position: relative; overflow: hidden; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #07110d 0%, transparent 25%), linear-gradient(180deg, transparent 45%, rgba(3,8,5,.86)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 13%; filter: saturate(.82) contrast(1.03); }
.hero-photo blockquote { position: absolute; z-index: 2; left: 32px; right: 28px; bottom: 34px; margin: 0; color: #fff8ea; font-family: var(--serif); font-size: clamp(24px, 2.5vw, 39px); font-style: italic; line-height: 1.16; }
.hero-seal { position: absolute; z-index: 2; top: 30px; right: 28px; width: 108px; height: 108px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(239,217,142,.7); border-radius: 50%; background: rgba(5,12,8,.74); backdrop-filter: blur(8px); }
.hero-seal strong { color: var(--gold-light); font-family: var(--serif); font-size: 24px; }
.hero-seal span { color: #aab0aa; font-size: 6px; font-weight: 900; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }

.reader-intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; padding: clamp(80px, 10vw, 145px) clamp(25px, 8vw, 125px); background: #eee6d8; color: var(--ink); }
.reader-intro .section-kicker, .reader-section .section-kicker, .downloads .section-kicker, .evidence .section-kicker, .safety .section-kicker { color: #8b672f; }
.reader-intro h2, .reader-heading h2, .downloads h2, .evidence h2 { margin: 15px 0 0; font-family: var(--serif); font-size: clamp(45px, 5.4vw, 78px); font-weight: 400; letter-spacing: -.05em; line-height: .98; }
.reader-intro h2 em, .downloads h2 em, .evidence h2 em { color: #8b672f; font-weight: 400; }
.reader-intro > p { margin: 0; color: #60675f; font-size: 14px; line-height: 1.8; }

.reader-section { padding: clamp(80px, 9vw, 135px) clamp(18px, 5vw, 76px); background: var(--paper); color: var(--ink); }
.reader-heading { max-width: 1500px; display: flex; align-items: end; justify-content: space-between; gap: 45px; margin: 0 auto 55px; }
.reader-heading h2 { color: var(--ink); }
.reader-heading > div:first-child > p:last-child { max-width: 800px; margin: 18px 0 0; color: #6c716b; font-size: 12px; line-height: 1.7; }
.progress-card { min-width: 255px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid #d8d0c2; background: #fff; }
.progress-ring { --progress: 0%; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--manual-accent) var(--progress), #e7e2d9 0); position: relative; }
.progress-ring::after { content: ""; position: absolute; inset: 6px; border-radius: inherit; background: #fff; }
.progress-ring span { position: relative; z-index: 2; color: #475047; font-size: 10px; font-weight: 900; }
.progress-card strong { display: block; color: #243229; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.progress-card > div:last-child span { display: block; margin-top: 4px; color: #8a8d87; font-size: 6px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.reader-shell { max-width: 1500px; display: grid; grid-template-columns: 350px minmax(0, 1fr); margin: 0 auto; border: 1px solid #d9d2c6; background: #fff; box-shadow: 0 28px 85px rgba(14,25,18,.08); }
.chapter-library { min-width: 0; max-height: calc(100svh - 110px); position: sticky; top: 90px; overflow: auto; border-right: 1px solid #ddd6ca; background: #f2ede4; }
.library-search { position: sticky; z-index: 2; top: 0; padding: 20px; border-bottom: 1px solid #d9d2c6; background: #f2ede4; }
.library-search label { display: block; margin-bottom: 8px; color: #696e68; font-size: 7px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.library-search input { width: 100%; padding: 12px 13px; border: 1px solid #cec6b9; background: #fff; color: var(--ink); outline: 0; font-size: 11px; }
.library-search input:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(23,59,43,.12); }
.part-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 20px 10px; }
.part-filters button { width: 38px; height: 31px; border: 1px solid #cec7bb; background: transparent; color: #6d726d; font-size: 7px; font-weight: 900; cursor: pointer; }
.part-filters button.active { border-color: var(--green); background: var(--green); color: #fff; }
.result-count { margin: 0; padding: 0 20px 11px; color: #898d87; font-size: 8px; }
.chapter-list button { width: 100%; min-height: 69px; display: grid; grid-template-columns: 35px 1fr auto; gap: 10px; align-items: center; padding: 12px 16px; border: 0; border-top: 1px solid #ddd6ca; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.chapter-list button:hover { background: #e8e1d6; }
.chapter-list button.selected { background: #fff; box-shadow: inset 4px 0 0 var(--manual-accent); }
.chapter-list button > span:first-child { color: #9a773a; font-family: var(--serif); font-size: 16px; }
.chapter-list strong { display: block; font-family: var(--serif); font-size: 13px; font-weight: 400; line-height: 1.25; }
.chapter-list small { display: block; margin-top: 4px; color: #888b85; font-size: 6px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.chapter-list b { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 10px; }
.empty-results { padding: 22px; color: #777d77; font-size: 11px; line-height: 1.6; }
.chapter-reader { --reader-scale: 1; min-width: 0; padding: clamp(27px, 5vw, 78px); outline: 0; }
.reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 19px; border-bottom: 1px solid #e0dacf; color: #838680; font-size: 7px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.font-controls { display: flex; align-items: center; gap: 9px; }
.font-controls button { width: 34px; height: 31px; border: 1px solid #d3ccbf; background: #fff; color: #4e554e; font-weight: 900; cursor: pointer; }
.chapter-header { padding: 46px 0 24px; }
.chapter-header > p { margin: 0 0 11px; color: #8b672f; font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.chapter-header h2 { margin: 0; color: #152119; font-family: var(--serif); font-size: calc(clamp(38px, 4.5vw, 62px) * var(--reader-scale)); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.chapter-header blockquote { margin: 24px 0 0; padding-left: 20px; border-left: 2px solid var(--manual-accent); color: #82632e; font-family: var(--serif); font-size: calc(17px * var(--reader-scale)); font-style: italic; line-height: 1.55; }
.chapter-body { color: #363d37; font-family: Georgia, "Times New Roman", serif; font-size: calc(16px * var(--reader-scale)); line-height: 1.82; }
.chapter-body p { margin: 0 0 1.25em; }
.chapter-body h3 { margin: 2.2em 0 .7em; color: #173b2b; font-family: var(--sans); font-size: calc(19px * var(--reader-scale)); line-height: 1.25; }
.chapter-body h4 { margin: 1.8em 0 .6em; color: #805f29; font-family: var(--sans); font-size: calc(15px * var(--reader-scale)); }
.chapter-list-body { margin: 0 0 1.55em; padding-left: 1.4em; }
.chapter-list-body li { margin: .55em 0; padding-left: .25em; }
.chapter-callout { margin: 2em 0; padding: 22px 24px; border-left: 4px solid var(--manual-accent); background: #f1ecdf; }
.chapter-callout span { display: block; margin-bottom: 8px; color: #8b672f; font-family: var(--sans); font-size: 7px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.chapter-callout p { margin: 0; color: #344139; font-family: var(--serif); font-size: calc(17px * var(--reader-scale)); font-style: italic; line-height: 1.6; }
.chapter-table-wrap { max-width: 100%; margin: 1.7em 0 2em; overflow-x: auto; border: 1px solid #d8d1c5; }
.chapter-table-wrap table { width: 100%; border-collapse: collapse; min-width: 600px; font-family: var(--sans); font-size: calc(10px * var(--reader-scale)); }
.chapter-table-wrap th, .chapter-table-wrap td { padding: 12px 13px; border-bottom: 1px solid #e3ddd2; border-right: 1px solid #e3ddd2; text-align: left; vertical-align: top; line-height: 1.45; }
.chapter-table-wrap th { background: var(--green); color: #fff; font-size: .82em; letter-spacing: .06em; text-transform: uppercase; }
.chapter-table-wrap tr:nth-child(even) td { background: #f7f3eb; }
.chapter-complete { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 55px; padding: 25px; border: 1px solid #d8d1c5; background: #f3eee5; }
.chapter-complete span { display: block; color: #8b672f; font-size: 7px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.chapter-complete strong { display: block; margin-top: 6px; color: #2c3931; font-family: var(--serif); font-size: 15px; font-weight: 400; }
.chapter-complete button { flex: 0 0 auto; padding: 13px 16px; border: 1px solid var(--green); background: transparent; color: var(--green); font-size: 7px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; }
.chapter-complete button.is-complete { background: var(--green); color: #fff; }
.chapter-pagination { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 25px; border: 1px solid #ddd6ca; }
.chapter-pagination button { min-height: 85px; padding: 15px 18px; border: 0; background: #fff; color: #2d3931; text-align: left; cursor: pointer; font-family: var(--serif); font-size: 14px; }
.chapter-pagination button + button { border-left: 1px solid #ddd6ca; text-align: right; }
.chapter-pagination button:hover:not(:disabled) { background: #f4f0e8; }
.chapter-pagination button:disabled { color: #aaa; cursor: default; }
.chapter-pagination span { display: block; margin-bottom: 5px; color: #8d908b; font-family: var(--sans); font-size: 6px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.noscript { max-width: 900px; margin: 30px auto; padding: 20px; background: #f0e8d7; color: #5d635d; }

.downloads { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; padding: clamp(90px, 10vw, 145px) clamp(25px, 8vw, 125px); background: #0d2118; }
.downloads h2 { color: #fff8ea; }
.downloads h2 em { color: var(--gold-light); }
.downloads > div:first-child > p:last-child { max-width: 690px; color: #929b94; font-size: 12px; line-height: 1.8; }
.download-cards { display: grid; gap: 12px; }
.download-cards a { display: grid; grid-template-columns: 65px 1fr auto; align-items: center; gap: 18px; min-height: 92px; padding: 15px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.03); }
.download-cards a:hover { border-color: rgba(239,217,142,.6); background: rgba(255,255,255,.055); }
.download-cards > a > span { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(239,217,142,.5); color: var(--gold-light); font-size: 9px; font-weight: 900; }
.download-cards strong { display: block; color: #fff5e7; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.download-cards small { display: block; margin-top: 5px; color: #7f8981; font-size: 7px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.download-cards b { color: var(--gold-light); font-size: 20px; }

.evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: clamp(80px, 9vw, 130px) clamp(25px, 8vw, 125px); background: #eee6d8; color: var(--ink); }
.evidence > div:last-child > p { margin-top: 0; color: #60675f; font-size: 13px; line-height: 1.8; }
.evidence details { margin-top: 25px; border-top: 1px solid #cfc6b6; }
.evidence summary { padding: 16px 0; color: #4c554e; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.evidence ol { margin: 0; padding: 0 0 0 22px; }
.evidence li { margin: 12px 0; padding-left: 5px; color: #656b65; font-size: 10px; line-height: 1.6; }
.evidence li a { color: #28573f; text-decoration: underline; text-underline-offset: 2px; }

.safety { display: grid; grid-template-columns: auto 1fr; gap: 35px; padding: clamp(60px, 8vw, 100px) clamp(25px, 8vw, 125px); background: #f7f2e9; color: var(--ink); }
.safety > span { width: 74px; height: 74px; display: grid; place-items: center; border: 1px solid #cdbd99; border-radius: 50%; color: #8b672f; font-family: var(--serif); font-size: 36px; }
.safety h2 { margin: 13px 0; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 48px); font-weight: 400; }
.safety p:last-child { max-width: 1000px; color: #626963; font-size: 11px; line-height: 1.8; }

footer { min-height: 140px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px clamp(22px, 6vw, 90px); border-top: 1px solid rgba(255,255,255,.1); background: #050b08; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(205,170,93,.48); color: var(--gold-light); font-family: var(--serif); }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 15px; }
.footer-brand small { display: block; margin-top: 4px; color: #707a72; font-size: 6px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
footer > p, footer > a { color: #687169; font-size: 7px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 1100px) {
  .reader-hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 720px; }
  .hero-photo::after { background: linear-gradient(180deg, #07110d 0%, transparent 24%), linear-gradient(180deg, transparent 50%, rgba(3,8,5,.88)); }
  .reader-shell { grid-template-columns: 300px minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .reader-header nav a:nth-child(2), .reader-header nav a:nth-child(3) { display: none; }
  .reader-intro, .downloads, .evidence { grid-template-columns: 1fr; gap: 30px; }
  .reader-heading { align-items: flex-start; flex-direction: column; }
  .progress-card { min-width: 0; width: 100%; }
  .reader-shell { display: block; }
  .chapter-library { max-height: 470px; position: static; border-right: 0; border-bottom: 1px solid #ddd6ca; }
  .library-search { position: static; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .reader-header { min-height: 65px; padding: 9px 14px; }
  .reader-brand > span { width: 39px; height: 39px; }
  .reader-brand strong { max-width: 180px; font-size: 13px; }
  .reader-header nav a { display: none !important; }
  .hero-copy { padding: 70px 21px 75px; }
  .hero-copy h1 { font-size: clamp(52px, 17vw, 75px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { align-self: flex-start; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div + div { border-top: 1px solid rgba(255,255,255,.12); border-left: 0; }
  .hero-photo { min-height: 560px; }
  .hero-seal { width: 91px; height: 91px; top: 18px; right: 17px; }
  .reader-intro, .downloads, .evidence, .safety { padding-inline: 20px; }
  .reader-intro h2, .reader-heading h2, .downloads h2, .evidence h2 { font-size: 43px; }
  .reader-section { padding-inline: 10px; }
  .reader-heading { padding-inline: 10px; }
  .chapter-reader { padding: 30px 20px; }
  .chapter-header h2 { font-size: calc(42px * var(--reader-scale)); }
  .chapter-complete { align-items: stretch; flex-direction: column; }
  .chapter-pagination { grid-template-columns: 1fr; }
  .chapter-pagination button + button { border-top: 1px solid #ddd6ca; border-left: 0; }
  .safety { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
