:root {
  --page-bg: #e8e1d3;
  --navy: #0b1726;
  --paper: #f6f0e4;
  --paper-soft: #eee4d2;
  --ink: #172231;
  --muted: #5e6873;
  --bronze: #a9652d;
  --bronze-soft: #ead8c2;
  --border: #cdbfa8;
  --positive: #315f56;
  --navy-soft: #152a3b;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --reader-font-family: var(--serif);
  --reader-font-size: 20px;
  --reader-line-height: 2;
  --reader-width: 720px;
  --header-height: 72px;
  color-scheme: light;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page-bg);
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding-top: calc(var(--header-height) + env(safe-area-inset-top));
  overflow-x: clip;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--sans);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--bronze);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  min-height: calc(var(--header-height) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid #243344;
  background: var(--navy);
  color: var(--paper);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(180px, auto) minmax(190px, 1fr);
  align-items: center;
  width: min(1440px, 100%);
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 30px;
}

.brand-link {
  display: inline-flex;
  align-items: baseline;
  justify-self: start;
  gap: 14px;
  color: var(--paper);
  text-decoration: none;
}

.brand-link b {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #d9d4c8;
}

.brand-link span {
  color: #bdc5c9;
  font-size: 10px;
  letter-spacing: 0.2em;
}

.header-chapter {
  max-width: 380px;
  overflow: hidden;
  color: #d9d4c8;
  font-family: var(--serif);
  font-size: 15px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.header-button {
  display: inline-flex;
  min-width: 44px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #354556;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.header-button:hover {
  border-color: var(--bronze);
  color: #fff8e9;
}

.header-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.header-button span {
  font-size: 12px;
}

.reading-progress-track {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  overflow: hidden;
  background: #273644;
}

.reading-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--bronze);
  transition: width 160ms linear;
}

.route-progress {
  position: fixed;
  z-index: 120;
  top: calc(var(--header-height) + env(safe-area-inset-top) - 2px);
  left: 0;
  width: 24%;
  height: 2px;
  opacity: 0;
  background: #d79a62;
  transform: translateX(-110%);
  pointer-events: none;
}

.route-progress.is-loading {
  opacity: 1;
  animation: route-loading 900ms ease-in-out infinite;
}

@keyframes route-loading {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(520%); }
}

.loading-state,
.error-page {
  display: grid;
  min-height: 60vh;
  place-content: center;
  gap: 18px;
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 28px;
  text-align: center;
}

.error-page h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 58px);
}

.error-page p {
  color: var(--muted);
  line-height: 1.8;
}

.eyebrow,
.section-label,
.cover-kicker {
  margin: 0;
  color: var(--bronze);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  border-color: var(--bronze);
  background: var(--bronze);
  color: #fffaf0;
}

.button-primary:hover {
  border-color: #bf7840;
  background: #bf7840;
}

.button-secondary {
  border-color: #65717d;
  background: transparent;
  color: var(--paper);
}

.button-secondary:hover {
  border-color: var(--bronze);
}

.button-secondary.is-muted {
  color: #c5c5bd;
}

.button-quiet {
  border-color: var(--border);
  background: transparent;
  color: var(--ink);
}

.button-quiet:hover {
  border-color: var(--bronze);
  color: var(--bronze);
}

.text-link {
  color: var(--bronze);
  text-underline-offset: 4px;
}

/* Home */
.home-page {
  min-height: 100vh;
}

.cover-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.75fr);
  min-height: calc(100vh - var(--header-height));
  background: var(--navy);
  color: var(--paper);
}

.cover-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(42px, 7vw, 118px);
}

.cover-kicker {
  color: #c48a55;
}

.cover-copy h1 {
  max-width: 650px;
  margin: 24px 0 14px;
  font-family: var(--serif);
  font-size: clamp(72px, 8vw, 126px);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.12;
}

.cover-subtitle {
  max-width: 660px;
  margin: 0;
  color: #d9d2c3;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.75;
}

.cover-type,
.cover-author-role {
  margin: 14px 0 0;
  color: rgba(242, 237, 226, 0.7);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.cover-author-role {
  margin-top: 6px;
  color: rgba(242, 237, 226, 0.58);
}

.cover-byline {
  margin: 18px 0 0;
  color: #aeb8bc;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.cover-intro {
  max-width: 660px;
  margin: 30px 0 0;
  padding-top: 28px;
  border-top: 1px solid #314253;
  color: #c0c7c8;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.cover-progress {
  max-width: 520px;
  margin-top: 44px;
}

.cover-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #aeb8bc;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.cover-progress > div b {
  color: var(--paper);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.cover-progress > i {
  display: block;
  height: 4px;
  margin: 10px 0 12px;
  background: #2b3a49;
}

.cover-progress > i span {
  display: block;
  height: 100%;
  background: var(--bronze);
}

.cover-progress small {
  color: #89959c;
  font-size: 12px;
}

.cover-art {
  position: relative;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid #314253;
  background: #0f221f;
}

.cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 67%;
}

.home-premise,
.home-contents {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.home-premise {
  padding: 100px 0 88px;
  border-bottom: 1px solid var(--border);
}

.home-premise h2,
.section-heading h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.3;
}

.premise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 94px);
  margin-top: 46px;
}

.premise-grid p {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 2;
}

.premise-grid p:first-child::first-letter {
  color: var(--bronze);
  font-size: 2.8em;
  line-height: 0.8;
}

.home-contents {
  padding: 88px 0 120px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}

.section-heading > p {
  max-width: 360px;
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.8;
}

.home-toc {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--navy);
  list-style: none;
}

.home-toc-item a {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 120px;
  align-items: center;
  min-height: 96px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.home-toc-item a:hover {
  background: var(--paper-soft);
}

.home-toc-number {
  color: var(--bronze);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-toc-title {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 28px;
}

.home-toc-title small {
  width: 62px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.home-toc-title b {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-toc-progress {
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.home-toc-progress::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  height: 2px;
  background: var(--border);
}

.home-toc-progress i {
  grid-column: 1;
  grid-row: 1;
  width: var(--chapter-progress);
  height: 2px;
  background: var(--bronze);
}

/* Reader */
.reader-page {
  display: grid;
  grid-template-columns: 240px minmax(0, 920px);
  justify-content: center;
  gap: 42px;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 88px;
}

.reader-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
  max-height: calc(100vh - var(--header-height) - 56px);
  overflow: hidden auto;
  border-top: 2px solid var(--navy);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.sidebar-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 8px 14px;
  border-bottom: 1px solid var(--border);
}

.sidebar-heading span {
  color: var(--bronze);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.sidebar-heading b {
  font-family: var(--serif);
  font-size: 20px;
}

.reader-sidebar ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reader-sidebar li a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 9px 8px;
  border-bottom: 1px solid rgba(205, 191, 168, 0.68);
  text-decoration: none;
}

.reader-sidebar li a > span {
  color: var(--muted);
  font-size: 10px;
}

.reader-sidebar li a > b {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-sidebar li a > i {
  color: #737b80;
  font-size: 9px;
  font-style: normal;
}

.reader-sidebar li a:hover {
  background: var(--paper-soft);
}

.reader-sidebar li a.is-current {
  border-left: 3px solid var(--bronze);
  background: var(--paper);
}

.reader-sidebar li a.is-current > b {
  color: var(--bronze);
  font-weight: 700;
}

.chapter-sheet {
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--paper);
}

.chapter-masthead {
  padding: 56px 58px 48px;
  border-bottom: 1px solid var(--border);
}

.chapter-heading-copy {
  width: min(var(--reader-width), 100%);
  margin: 0 auto 34px;
}

.chapter-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--bronze);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.chapter-label b {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 10px;
}

.chapter-masthead h1 {
  margin: 20px 0 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.28;
}

.chapter-masthead h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 1px;
  margin-top: 20px;
  background: linear-gradient(90deg, #9a6b2f, #d0ad68 72%, transparent);
}

.chapter-reading-status {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.chapter-reading-status span {
  color: var(--bronze);
  font-weight: 700;
}

.chapter-art {
  width: min(804px, 100%);
  aspect-ratio: 16 / 7;
  margin: 0 auto;
  overflow: hidden;
  border-top: 3px solid var(--navy);
  background: var(--paper-soft);
}

.chapter-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter-content {
  width: min(var(--reader-width), calc(100% - 72px));
  margin: 0 auto;
  padding: 64px 0 42px;
  color: var(--ink);
  font-family: var(--reader-font-family);
  font-size: var(--reader-font-size);
  line-height: var(--reader-line-height);
  transition: width 120ms ease, font-size 120ms ease;
}

.chapter-paragraph {
  margin: 0 0 1.55em;
  text-align: justify;
  text-justify: inter-ideograph;
  overflow-wrap: break-word;
}

.chapter-epigraph {
  position: relative;
  margin: 0 0 2.4em;
  padding: 0.15em 0 1.2em 1.35em;
  border-bottom: 1px solid rgba(13, 54, 51, 0.2);
  color: var(--deep-green);
  font-family: var(--serif);
  font-size: clamp(24px, 2.15vw, 32px);
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.6;
  text-align: left;
}

.chapter-epigraph::before {
  position: absolute;
  top: 0.35em;
  bottom: 1.35em;
  left: 0;
  width: 3px;
  background: var(--bronze);
  content: "";
}

.chapter-subheading {
  margin: 2.7em 0 1.1em;
  padding-top: 0.7em;
  border-top: 1px solid var(--border);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.35em;
  font-weight: 700;
  line-height: 1.55;
}

h4.chapter-subheading {
  font-size: 1.08em;
}

.chapter-quote {
  margin: 2.25em 0;
  padding: 1.25em 1.45em;
  border: 0;
  border-left: 3px solid var(--bronze);
  background: var(--paper-soft);
  color: #2e3b47;
}

.chapter-quote p {
  margin: 0;
}

.chapter-paragraph,
.chapter-subheading,
.chapter-quote,
.reader-media,
.content-diagram,
.evidence-framework,
.reader-channel {
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.search-target {
  outline: 2px solid var(--bronze);
  outline-offset: 8px;
  background-color: var(--bronze-soft) !important;
}

/* Reader channels */
.reader-channel {
  width: calc(100% + 72px);
  margin: 3.3em -36px;
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid var(--border);
  font-size: 0.95em;
}

.channel-header {
  padding: 1.7em 1.9em 1.45em;
  border-bottom: 1px solid var(--border);
}

.channel-header > span {
  color: var(--bronze);
  font-family: var(--sans);
  font-size: 0.55em;
  font-weight: 750;
  letter-spacing: 0.22em;
}

.channel-header h3 {
  margin: 0.35em 0 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.6em;
  line-height: 1.4;
}

.channel-header p {
  margin: 0.35em 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.7em;
  line-height: 1.6;
}

.channel-body {
  padding: 2em 1.9em 0.6em;
}

.channel-body > :first-child {
  margin-top: 0;
}

.channel-log {
  border-top-color: var(--positive);
  background: #e5ebe5;
}

.channel-log .channel-header {
  background: #dde5df;
}

.channel-log .channel-header > span {
  color: var(--positive);
}

.channel-review {
  border-top-color: var(--bronze);
  background: #f0e6d6;
}

.channel-review .channel-header {
  background: var(--bronze-soft);
}

.channel-note {
  border-top-color: var(--navy);
  background: #e1e5e4;
}

.channel-note .channel-header {
  background: #d7dedc;
}

.channel-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 1.05em 1.9em;
  border-top: 1px solid #bdc9c1;
  color: var(--positive);
  font-family: var(--sans);
  font-size: 0.63em;
  letter-spacing: 0.04em;
}

.channel-footer b {
  color: var(--ink);
}

.channel-boundary {
  margin: 1.5em 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72em;
  text-align: center;
}

/* Media and engineering structures */
.reader-media {
  width: calc(100% + 112px);
  margin: 3em -56px;
}

.media-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper-soft);
  cursor: zoom-in;
}

.media-open img {
  width: 100%;
  height: auto;
}

.reader-figure .media-open {
  aspect-ratio: 16 / 9;
}

.reader-figure .media-open img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reader-illustration .media-open {
  aspect-ratio: 3 / 2;
}

.reader-illustration .media-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-open > span {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.media-open:hover {
  border-color: var(--bronze);
}

.reader-media.has-error .media-open {
  display: none;
}

.media-error,
.media-fallback {
  display: grid;
  min-height: 160px;
  place-content: center;
  gap: 8px;
  margin: 2em 0;
  padding: 28px;
  border: 1px dashed var(--border);
  background: var(--paper-soft);
  color: var(--muted);
  font-family: var(--sans);
  text-align: center;
}

.media-error[hidden] {
  display: none;
}

.media-error b {
  color: var(--ink);
}

.content-diagram,
.evidence-framework {
  width: calc(100% + 112px);
  margin: 3.2em -56px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  background: #edf0ea;
  font-family: var(--sans);
  font-size: 0.82em;
  line-height: 1.65;
}

.content-diagram > header,
.evidence-framework > header {
  padding: 1.55em 1.75em 1.35em;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.content-diagram > header span,
.evidence-framework > header span {
  color: var(--bronze);
  font-size: 0.7em;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.content-diagram > header h3,
.evidence-framework > header h3 {
  margin: 0.35em 0 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.8em;
  line-height: 1.4;
}

.content-diagram > header p {
  margin: 0.55em 0 0;
  color: var(--muted);
}

.diagram-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--border);
}

.diagram-grid article {
  min-height: 170px;
  padding: 1.5em;
  background: #e8ede8;
}

.diagram-grid article:nth-child(even) {
  background: #efe7d9;
}

.diagram-grid article > span {
  display: block;
  color: var(--bronze);
  font-size: 0.84em;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.diagram-grid article h4 {
  margin: 0.65em 0 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.3em;
}

.diagram-grid article p {
  margin: 0.6em 0 0;
  color: #4f5a63;
}

.content-diagram > figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 1.2em 1.5em;
  background: var(--navy);
  color: var(--paper);
}

.content-diagram > figcaption b {
  color: #d5975d;
  font-size: 0.8em;
  letter-spacing: 0.08em;
}

.content-diagram > figcaption p {
  margin: 0;
}

.evidence-states {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
}

.evidence-states article {
  padding: 1.45em;
  background: #e6ebe6;
}

.evidence-number {
  color: var(--bronze);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.evidence-states h4,
.evidence-priority h4 {
  margin: 0.65em 0 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.25em;
}

.evidence-states p,
.evidence-priority p {
  margin: 0.55em 0 0;
  color: #4f5a63;
}

.evidence-states article > div {
  display: grid;
  gap: 0.35em;
  margin-top: 1.1em;
  padding-top: 0.85em;
  border-top: 1px solid var(--border);
}

.evidence-states article > div b,
.evidence-priority b {
  color: var(--bronze);
  font-size: 0.75em;
  letter-spacing: 0.08em;
}

.evidence-priority {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 22px;
  padding: 1.45em;
  border-top: 3px solid var(--bronze);
  background: var(--navy);
  color: var(--paper);
}

.evidence-priority > span {
  color: #d5975d;
  font-size: 0.72em;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.evidence-priority h4,
.evidence-priority p {
  color: var(--paper);
}

.unknown-block {
  display: grid;
  gap: 8px;
  margin: 2em 0;
  padding: 18px;
  border: 1px dashed var(--bronze);
  background: var(--bronze-soft);
  font-family: var(--sans);
  font-size: 0.75em;
}

.chapter-end {
  width: min(var(--reader-width), calc(100% - 72px));
  margin: 34px auto 0;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.chapter-end-mark {
  position: relative;
  display: block;
  width: 92px;
  height: 1px;
  margin: 0 auto 25px;
  background: linear-gradient(90deg, transparent, #aa7a35 22%, #e2c477 50%, #aa7a35 78%, transparent);
  box-shadow: 0 0 12px rgba(190, 143, 61, 0.24);
}

.chapter-end-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid #bd9149;
  background: var(--paper);
  box-shadow: 0 0 9px rgba(205, 162, 82, 0.38);
  transform: translate(-50%, -50%) rotate(45deg);
}

.book-end {
  padding-top: 62px;
  padding-bottom: 66px;
}

.book-end-cursor {
  display: block;
  width: 2px;
  height: 24px;
  margin: 0 auto 25px;
  background: #75c98d;
  box-shadow: 0 0 10px rgba(81, 201, 116, 0.42);
  animation: book-cursor 1.35s steps(1, end) infinite;
}

.book-end h2 {
  font-size: 22px;
  letter-spacing: 0.16em;
}

@keyframes book-cursor {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0.22; }
}

.chapter-end > span {
  color: var(--bronze);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.2em;
}

.chapter-end h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.chapter-end p {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.8;
}

.chapter-navigation {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  border-top: 1px solid var(--border);
  background: var(--paper-soft);
}

.chapter-navigation.is-first-chapter {
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
}

.chapter-navigation > a,
.chapter-navigation > span {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 22px 28px;
  text-decoration: none;
}

.chapter-navigation > a {
  border-right: 1px solid var(--border);
}

.chapter-navigation > a:last-child {
  border-right: 0;
}

.chapter-navigation a:hover {
  background: var(--bronze-soft);
}

.chapter-navigation span span,
.chapter-navigation a span {
  color: var(--bronze);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.chapter-navigation b {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.chapter-navigation .is-next,
.chapter-finished {
  text-align: right;
}

.chapter-nav-home {
  align-items: center;
  border-right: 1px solid var(--border) !important;
  text-align: center;
}

/* Dialogs */
dialog {
  width: min(680px, calc(100% - 32px));
  max-height: min(84vh, 900px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #4c5965;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(5, 12, 21, 0.76);
}

.dialog-shell {
  display: flex;
  max-height: min(84vh, 900px);
  flex-direction: column;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 18px 14px 24px;
  border-bottom: 1px solid #314253;
  background: var(--navy);
  color: var(--paper);
}

.dialog-header > div span {
  color: #d09258;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.dialog-header h2 {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 24px;
}

.dialog-close {
  width: 44px;
  height: 44px;
  border: 1px solid #485767;
  background: transparent;
  color: var(--paper);
  font-size: 23px;
  cursor: pointer;
}

.dialog-close:hover {
  border-color: var(--bronze);
}

.toc-dialog-body,
.search-dialog-body,
.settings-dialog-body {
  min-height: 0;
  overflow: auto;
  padding: 22px 24px 30px;
}

.toc-dialog-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--navy);
  list-style: none;
}

.toc-dialog-link {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 15px 8px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.toc-dialog-link:hover,
.toc-dialog-link.is-current {
  background: var(--paper-soft);
}

.toc-dialog-link.is-current {
  border-left: 3px solid var(--bronze);
}

.toc-index {
  padding-top: 4px;
  color: var(--bronze);
  font-size: 11px;
  font-weight: 750;
}

.toc-copy {
  display: grid;
  gap: 3px;
}

.toc-copy b {
  font-family: var(--serif);
  font-size: 18px;
}

.toc-copy small {
  color: var(--muted);
  font-size: 11px;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.search-form input {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--paper-soft);
  color: var(--ink);
}

.search-summary {
  min-height: 22px;
  margin: 16px 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.search-results {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.search-result {
  display: grid;
  gap: 7px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.search-result:hover {
  background: var(--paper-soft);
}

.search-result > span {
  color: var(--bronze);
  font-size: 11px;
  font-weight: 700;
}

.search-result p {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.75;
}

.search-result small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

mark {
  padding: 0 0.1em;
  background: var(--bronze-soft);
  color: var(--navy);
}

.settings-form {
  display: grid;
  gap: 28px;
}

.setting-row {
  display: grid;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.setting-row label,
.setting-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: var(--navy);
  font-weight: 650;
}

.setting-row output {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 750;
}

.setting-row input[type="range"] {
  width: 100%;
  accent-color: var(--bronze);
}

.setting-row select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--paper-soft);
  color: var(--ink);
}

.settings-preview {
  padding: 20px;
  border-left: 3px solid var(--bronze);
  background: var(--paper-soft);
  font-family: var(--reader-font-family);
  font-size: min(var(--reader-font-size), 22px);
  line-height: var(--reader-line-height);
}

.settings-preview p {
  margin: 0;
}

.settings-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.image-dialog {
  width: min(1200px, calc(100% - 24px));
  max-height: 92vh;
  border-color: #4d5b68;
  background: var(--navy);
}

.image-dialog .dialog-shell {
  max-height: 92vh;
}

.image-dialog-body {
  min-height: 0;
  overflow: auto;
  padding: 18px;
}

.image-dialog figure {
  margin: 0;
}

.image-dialog img {
  width: auto;
  max-width: 100%;
  max-height: calc(92vh - 140px);
  margin: 0 auto;
  object-fit: contain;
}

.image-dialog figcaption {
  padding: 14px 4px 2px;
  color: #ddd7ca;
  font-family: var(--serif);
  line-height: 1.6;
  text-align: center;
}

.image-dialog-error {
  display: grid;
  min-height: 260px;
  place-content: center;
  color: var(--paper);
  text-align: center;
}

.image-dialog-error[hidden] {
  display: none;
}

@media (max-width: 1120px) {
  .reader-page {
    grid-template-columns: 210px minmax(0, 820px);
    gap: 26px;
    width: min(1080px, calc(100% - 32px));
  }

  .chapter-masthead {
    padding-right: 42px;
    padding-left: 42px;
  }

  .reader-media,
  .content-diagram,
  .evidence-framework {
    width: calc(100% + 64px);
    margin-right: -32px;
    margin-left: -32px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding: 0 18px;
  }

  .brand-link span {
    display: none;
  }

  .header-chapter {
    padding: 0 12px;
    font-size: 13px;
  }

  .cover-stage {
    grid-template-columns: 1fr;
  }

  .cover-copy {
    min-height: 660px;
    padding: 64px 8vw;
  }

  .cover-art {
    min-height: 520px;
    border-top: 1px solid #314253;
    border-left: 0;
  }

  .reader-page {
    display: block;
    width: min(920px, calc(100% - 28px));
  }

  .reader-sidebar {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 62px;
    --reader-font-size: 19px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 0 10px;
  }

  .brand-link b {
    font-size: 14px;
    letter-spacing: 0.06em;
  }

  .header-chapter {
    font-size: 11px;
    text-align: left;
  }

  .header-actions {
    gap: 4px;
  }

  .header-button {
    min-width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .header-button span {
    display: none;
  }

  .cover-copy {
    min-height: auto;
    padding: 58px 24px 52px;
  }

  .cover-copy h1 {
    margin-top: 18px;
    font-size: clamp(56px, 19vw, 78px);
    letter-spacing: 0.08em;
  }

  .cover-subtitle {
    font-size: 18px;
  }

  .cover-intro {
    margin-top: 24px;
    padding-top: 22px;
    font-size: 15px;
    line-height: 1.9;
  }

  .cover-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cover-actions .button {
    padding: 0 12px;
  }

  .cover-progress {
    margin-top: 34px;
  }

  .cover-art {
    min-height: 390px;
    max-height: 54vh;
  }

  .home-premise,
  .home-contents {
    width: calc(100% - 40px);
  }

  .home-premise {
    padding: 70px 0 62px;
  }

  .premise-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 32px;
  }

  .premise-grid p {
    font-size: 17px;
    line-height: 1.95;
  }

  .home-contents {
    padding: 64px 0 84px;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading > p {
    margin-top: 16px;
  }

  .home-toc-item a {
    grid-template-columns: 38px minmax(0, 1fr) 48px;
    min-height: 84px;
    padding: 12px 0;
  }

  .home-toc-title {
    display: grid;
    gap: 3px;
  }

  .home-toc-title small {
    width: auto;
  }

  .home-toc-title b {
    font-size: 19px;
  }

  .home-toc-progress {
    display: block;
  }

  .home-toc-progress::before,
  .home-toc-progress i {
    display: none;
  }

  .reader-page {
    width: 100%;
    padding: 0 0 48px;
  }

  .chapter-sheet {
    border-right: 0;
    border-left: 0;
  }

  .chapter-masthead {
    padding: 42px 20px 30px;
  }

  .chapter-heading-copy {
    margin-bottom: 26px;
  }

  .chapter-masthead h1 {
    font-size: clamp(38px, 12vw, 54px);
    letter-spacing: 0.02em;
  }

  .chapter-art {
    width: 100%;
  }

  .chapter-art {
    aspect-ratio: 16 / 8.5;
  }

  .chapter-content {
    width: calc(100% - 40px);
    padding-top: 44px;
  }

  .chapter-paragraph {
    text-align: left;
  }

  .chapter-epigraph {
    margin-bottom: 2em;
    padding-left: 1em;
    font-size: clamp(22px, 7vw, 28px);
    line-height: 1.55;
  }

  .reader-channel {
    width: calc(100% + 20px);
    margin-right: -10px;
    margin-left: -10px;
  }

  .channel-header {
    padding: 1.45em 1.25em 1.2em;
  }

  .channel-header h3 {
    font-size: 1.4em;
  }

  .channel-body {
    padding: 1.55em 1.25em 0.4em;
  }

  .channel-footer {
    display: grid;
    padding: 1em 1.25em;
  }

  .reader-media,
  .content-diagram,
  .evidence-framework {
    width: calc(100% + 20px);
    margin-right: -10px;
    margin-left: -10px;
  }

  .reader-media {
    margin-top: 2.3em;
    margin-bottom: 2.3em;
  }

  .content-diagram > header,
  .evidence-framework > header {
    padding: 1.35em 1.2em 1.15em;
  }

  .content-diagram > header h3,
  .evidence-framework > header h3 {
    font-size: 1.5em;
  }

  .diagram-grid,
  .evidence-states {
    grid-template-columns: 1fr;
  }

  .diagram-grid article {
    min-height: 0;
  }

  .content-diagram > figcaption {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .evidence-priority {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .chapter-end {
    width: calc(100% - 40px);
  }

  .chapter-navigation {
    grid-template-columns: 1fr 1fr;
  }

  .chapter-navigation.is-first-chapter {
    grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  }

  .chapter-navigation > a,
  .chapter-navigation > span {
    min-height: 92px;
    padding: 18px 20px;
  }

  .chapter-nav-home {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 68px !important;
    border-bottom: 1px solid var(--border);
    border-right: 0 !important;
  }

  .chapter-navigation:not(.is-first-chapter) > :first-child {
    grid-column: 1;
    grid-row: 2;
  }

  .chapter-navigation:not(.is-first-chapter) > :last-child {
    grid-column: 2;
    grid-row: 2;
  }

  .chapter-navigation.is-first-chapter .chapter-nav-home {
    grid-column: 1;
    grid-row: 1;
    min-height: 92px !important;
    border-right: 1px solid var(--border) !important;
    border-bottom: 0;
  }

  .chapter-navigation.is-first-chapter .is-next {
    grid-column: 2;
    grid-row: 1;
  }

  dialog {
    width: calc(100% - 18px);
    max-height: calc(100dvh - 18px);
  }

  .dialog-shell {
    max-height: calc(100dvh - 18px);
  }

  .dialog-header {
    min-height: 64px;
    padding-left: 18px;
  }

  .toc-dialog-body,
  .search-dialog-body,
  .settings-dialog-body {
    padding: 18px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-form .button {
    min-height: 44px;
  }

  .settings-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .image-dialog {
    width: calc(100% - 10px);
    max-height: calc(100dvh - 10px);
  }

  .image-dialog .dialog-shell {
    max-height: calc(100dvh - 10px);
  }

  .image-dialog-body {
    padding: 8px;
  }
}

.setting-help {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.home-toc-parts,
.home-toc-parts ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-part {
  margin-top: 52px;
}

.home-part > header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 0 0 18px;
  border-bottom: 2px solid var(--ink);
}

.home-part > header span {
  color: var(--bronze);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.home-part > header h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.how-to-read {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 60px;
  width: min(1180px, calc(100% - 64px));
  margin: 100px auto 0;
  padding: 58px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-to-read h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
}

.how-to-read ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-to-read li {
  padding: 18px 24px;
  border-left: 1px solid var(--line);
}

.how-to-read li:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.how-to-read b {
  font-family: var(--serif);
  font-size: 17px;
}

.how-to-read p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.chapter-context {
  margin: 24px 0 0;
  padding: 16px 18px 17px;
  border-left: 2px solid #ad8244;
  background:
    linear-gradient(90deg, rgba(185, 143, 73, 0.085), rgba(185, 143, 73, 0.018) 62%, transparent),
    var(--paper);
  box-shadow: inset 0 1px rgba(173, 130, 68, 0.22), inset 0 -1px rgba(173, 130, 68, 0.13);
}

.chapter-context p {
  margin: 0;
}

.chapter-context-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  color: #6f665b;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.65;
}

.chapter-context-line span + span::before {
  content: "·";
  margin: 0 9px;
  color: #ad8244;
}

.chapter-context-question {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-top: 7px !important;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.65;
}

.chapter-context-question b {
  flex: 0 0 auto;
  color: #a45e28;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.channel-collapsible {
  padding: 0;
}

.channel-collapsible > summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7px 18px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
}

.channel-collapsible > summary::-webkit-details-marker {
  display: none;
}

.channel-collapsible > summary .channel-summary-kicker,
.channel-collapsible > summary small {
  color: var(--bronze);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.channel-summary-kicker {
  grid-column: 1;
  grid-row: 1 / 3;
}

.channel-collapsible > summary b {
  grid-column: 2;
  grid-row: 1;
}

.channel-summary-meta {
  display: flex;
  grid-column: 2;
  grid-row: 2;
  flex-wrap: wrap;
  gap: 4px 14px;
  color: #746b60;
  font-size: 10px;
  line-height: 1.55;
}

.channel-summary-meta em {
  font-style: normal;
}

.channel-summary-meta em + em::before {
  content: "·";
  margin-right: 14px;
  color: #b18549;
}

.channel-collapsible > summary small {
  grid-column: 3;
  grid-row: 1 / 3;
}

.channel-collapsible > summary b {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.channel-collapsible[open] > summary {
  border-bottom: 1px solid var(--line);
}

.channel-collapsible > .channel-header {
  display: none;
}

.appendix-page {
  width: min(1040px, calc(100% - 64px));
  margin: 0 auto;
  padding: 90px 0 120px;
}

.appendix-masthead {
  padding: 0 0 56px;
  border-bottom: 1px solid var(--line);
}

.appendix-masthead h1 {
  margin: 16px 0 24px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 500;
  line-height: 1.2;
}

.appendix-masthead > p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2;
}

.appendix-sheet {
  width: min(var(--reader-width), 100%);
  margin: 70px auto 100px;
  font-family: var(--reader-font-family);
  font-size: var(--reader-font-size);
  line-height: var(--reader-line-height);
}

.appendix-sheet .chapter-subheading {
  margin-top: 64px;
}

.cover-byline a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(174, 184, 188, 0.38);
}

.cover-byline a:hover {
  color: var(--paper);
  border-bottom-color: var(--bronze);
}

.home-author {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  width: min(1180px, calc(100% - 64px));
  margin: 100px auto 120px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-author-mark {
  display: grid;
  min-height: 320px;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--bronze);
  font-family: var(--serif);
  font-size: clamp(110px, 15vw, 190px);
  line-height: 1;
}

.home-author-copy {
  align-self: center;
  padding: 52px clamp(32px, 6vw, 78px);
}

.home-author-copy h2 {
  margin: 12px 0 20px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.35;
}

.home-author-copy > p:not(.section-label) {
  max-width: 720px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2;
}

.author-page {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 88px 0 120px;
}

.author-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  min-height: 560px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.author-portrait {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  padding: 34px;
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
}

.author-portrait > span,
.author-portrait > small {
  color: #bdc5c9;
  font-size: 11px;
  letter-spacing: 0.24em;
}

.author-portrait > b {
  align-self: center;
  color: var(--bronze);
  font-family: var(--serif);
  font-size: clamp(210px, 28vw, 360px);
  font-weight: 400;
  line-height: 0.8;
}

.author-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 96px);
}

.author-intro h1 {
  margin: 18px 0 12px;
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 104px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.author-role {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.author-intro blockquote {
  margin: 50px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.8;
}

.author-body {
  display: grid;
  grid-template-columns: 120px minmax(0, 760px);
  justify-content: center;
  gap: 48px;
  padding: 110px 0;
}

.author-section-number {
  color: var(--bronze);
  font-family: var(--serif);
  font-size: 56px;
}

.author-body h2,
.author-focus h2 {
  margin: 12px 0 28px;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.35;
}

.author-body p:not(.section-label) {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 2.15;
}

.author-statement {
  padding: 78px clamp(32px, 8vw, 110px);
  background: var(--navy);
  color: var(--paper);
}

.author-statement blockquote {
  max-width: 900px;
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.75;
}

.author-focus {
  padding: 110px 0;
}

.author-focus ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 46px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.author-focus li {
  min-height: 250px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.author-focus li:last-child {
  border-right: 0;
}

.author-focus li span {
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.author-focus li b {
  display: block;
  margin: 34px 0 16px;
  font-family: var(--serif);
  font-size: 22px;
}

.author-focus li p {
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.85;
}

.author-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.author-navigation a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px;
  color: var(--ink);
  text-decoration: none;
}

.author-navigation a + a {
  align-items: flex-end;
  border-left: 1px solid var(--line);
  text-align: right;
}

.author-navigation span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.author-navigation b {
  font-family: var(--serif);
  font-size: 19px;
}

@media (max-width: 760px) {
  .how-to-read {
    grid-template-columns: 1fr;
    gap: 30px;
    width: calc(100% - 40px);
    margin-top: 72px;
  }

  .how-to-read ol {
    grid-template-columns: 1fr;
  }

  .how-to-read li,
  .how-to-read li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 18px 0;
  }

  .chapter-context {
    padding: 14px 15px 15px;
  }

  .chapter-context-line {
    font-size: 10px;
  }

  .chapter-context-question {
    display: block;
    font-size: 14px;
  }

  .chapter-context-question b {
    display: block;
    margin-bottom: 3px;
  }

  .channel-collapsible > summary {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding: 20px;
  }

  .channel-summary-kicker {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .channel-collapsible > summary b {
    grid-column: 1;
    grid-row: 2;
  }

  .channel-summary-meta {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .channel-collapsible > summary small {
    grid-column: 2;
    grid-row: 2;
  }

  .appendix-page {
    width: calc(100% - 32px);
    padding: 50px 0 80px;
  }

  .home-author,
  .author-hero,
  .author-focus ol {
    grid-template-columns: 1fr;
  }

  .home-author {
    width: calc(100% - 40px);
    margin: 72px auto 88px;
  }

  .home-author-mark {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-size: 110px;
  }

  .home-author-copy {
    padding: 36px 24px 42px;
  }

  .author-page {
    width: calc(100% - 32px);
    padding: 34px 0 80px;
  }

  .author-portrait {
    min-height: 330px;
  }

  .author-portrait > b {
    font-size: 220px;
  }

  .author-intro {
    padding: 42px 24px 48px;
  }

  .author-intro h1 {
    font-size: 54px;
  }

  .author-body {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 72px 8px;
  }

  .author-section-number {
    font-size: 36px;
  }

  .author-statement {
    padding: 54px 24px;
  }

  .author-focus {
    padding: 76px 0;
  }

  .author-focus li {
    min-height: 0;
    border-right: 0;
  }
}

@media (max-width: 430px) {
  .header-chapter {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .cover-actions {
    grid-template-columns: 1fr;
  }

  .cover-art {
    min-height: 340px;
  }

  .home-premise h2,
  .section-heading h2 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .reader-sidebar,
  .chapter-navigation,
  dialog {
    display: none !important;
  }

  body {
    padding: 0;
    background: #fff;
  }

  .reader-page,
  .chapter-sheet {
    display: block;
    width: 100%;
    border: 0;
    background: #fff;
  }
}

/* 2026-07-19 immersive home */
.brand-reading { display: inline; }
.brand-home { display: none; }
.aa-mark { font-family: Georgia, var(--serif); font-size: 17px; letter-spacing: -0.04em; }
body[data-view="home"] .header-button .aa-mark { display: inline; }

body[data-view="home"] { padding-top: 0; }
body[data-view="home"] .site-header {
  min-height: calc(54px + env(safe-area-inset-top));
  border-bottom-color: transparent;
  background: linear-gradient(180deg, rgba(7, 17, 30, 0.72), rgba(7, 17, 30, 0));
  transition: background-color 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease;
}
body[data-view="home"] .header-inner { height: 54px; }
body[data-view="home"] .brand-reading { display: none; }
body[data-view="home"] .brand-home { display: inline; }
body[data-view="home"] .header-chapter { display: none; }
body[data-view="home"] .reading-progress-track { display: none; }
body[data-view="home"] .site-header.is-home-scrolled {
  border-bottom-color: rgba(236, 224, 204, 0.16);
  background: rgba(8, 19, 33, 0.93);
  backdrop-filter: blur(14px);
}
body[data-view="home"] .site-header.is-home-scrolled .brand-home { display: none; }
body[data-view="home"] .site-header.is-home-scrolled .brand-reading { display: inline; }
body[data-view="home"] .brand-link b { font-family: var(--sans); font-size: 15px; font-weight: 650; letter-spacing: 0.16em; }
body[data-view="home"] .site-header.is-home-scrolled .brand-link b { font-family: var(--serif); font-size: 17px; letter-spacing: 0.1em; }
body[data-view="home"] .header-actions { gap: 2px; }
body[data-view="home"] .header-button {
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: rgba(248, 242, 230, 0.92);
}
body[data-view="home"] .header-button:hover { background: rgba(255, 255, 255, 0.1); color: #fffaf0; }

.home-page { background: var(--paper); }
.home-page .cover-stage {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  background: #071321;
  isolation: isolate;
}
.home-page .cover-stage::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 15, 27, 0.96) 0%, rgba(5, 15, 27, 0.82) 27%, rgba(5, 15, 27, 0.22) 62%, rgba(5, 15, 27, 0.08) 100%),
    linear-gradient(0deg, rgba(5, 15, 27, 0.7) 0%, transparent 46%);
  content: "";
  pointer-events: none;
}
.home-page .cover-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 0;
  border: 0;
  background: #102331;
}
.home-page .cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(0.82) contrast(1.04) brightness(0.82);
}
.home-page .cover-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 58vw);
  align-self: end;
  padding: clamp(94px, 15vh, 150px) 0 clamp(58px, 8vh, 84px) clamp(42px, 7vw, 112px);
}
.home-page .cover-kicker {
  color: #d7a36e;
  font-family: var(--serif);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: none;
}
.home-page .cover-copy h1 {
  max-width: none;
  margin: 16px 0 20px;
  font-size: clamp(76px, 8vw, 112px);
  font-weight: 560;
  letter-spacing: 0.13em;
  line-height: 1.02;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.24);
}
.home-page .cover-subtitle {
  max-width: 13em;
  color: #f2eadb;
  font-size: clamp(28px, 2.75vw, 40px);
  line-height: 1.48;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}
.home-page .cover-byline { margin-top: 19px; color: rgba(244, 237, 224, 0.72); font: 500 13px/1.5 var(--sans); letter-spacing: 0.15em; }
.home-page .cover-byline a { text-decoration: none; }
.home-page .cover-actions { align-items: center; gap: 22px; margin-top: 30px; }
.home-page .cover-primary {
  min-width: 210px;
  min-height: 50px;
  border-radius: 999px;
  background: #b8753e;
  border-color: #b8753e;
  font-size: 16px;
}
.home-page .cover-primary:hover { background: #c7844c; border-color: #c7844c; }
.cover-restart { color: rgba(246, 239, 226, 0.82); font-size: 13px; text-underline-offset: 5px; }
.cover-progress-note { margin: 16px 0 0; color: rgba(232, 225, 214, 0.7); font-size: 12px; line-height: 1.6; }

.book-facts { background: #eee5d6; border-bottom: 1px solid var(--border); }
.book-facts dl {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.8fr 1.3fr 0.9fr;
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
  scrollbar-width: none;
}
.book-facts dl::-webkit-scrollbar { display: none; }
.book-facts dl > div { min-width: 0; padding: 28px 26px 30px; border-left: 1px solid rgba(86, 71, 48, 0.16); }
.book-facts dl > div:first-child { border-left: 0; }
.book-facts dt { margin-bottom: 10px; color: #776d60; font-size: 10px; font-weight: 700; letter-spacing: 0.15em; }
.book-facts dd { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(18px, 1.55vw, 23px); font-weight: 600; line-height: 1.35; }
.book-facts small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.5; }

.transaction-clock { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 96px 0 80px; }
.transaction-clock h2 { margin: 13px 0 52px; font: 600 clamp(38px, 5vw, 64px)/1.25 var(--serif); }
.transaction-tracks { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 16px; color: var(--navy); }
.transaction-tracks > span { font: 600 19px/1.4 var(--serif); white-space: nowrap; }
.transaction-tracks > i { position: relative; height: 1px; background: linear-gradient(90deg, var(--border), var(--bronze)); }
.transaction-tracks > i::after { position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); content: ""; transform: translate(1px, -50%); }
.transaction-tracks > b { padding: 13px 17px; border-left: 2px solid var(--bronze); font: 600 16px/1.4 var(--serif); }
.transaction-tracks > b small { color: var(--muted); font: 500 10px/1.4 var(--sans); letter-spacing: 0.08em; }

.home-page .home-premise { padding-top: 78px; }
.premise-summary { max-width: 880px; margin: 42px 0 0; font: 19px/2 var(--serif); }
.home-author-role { color: var(--bronze); font-size: 13px; letter-spacing: 0.05em; }

@media (max-width: 1024px) {
  .home-page .cover-copy { width: min(660px, 70vw); padding-left: 54px; }
  .home-page .cover-stage::before { background: linear-gradient(90deg, rgba(5,15,27,.94), rgba(5,15,27,.62) 48%, rgba(5,15,27,.12)); }
  .book-facts dl { grid-template-columns: repeat(5, minmax(150px, 1fr)); width: 100%; overflow-x: auto; }
  .book-facts dl > div { min-width: 170px; }
}

@media (max-width: 768px) {
  :root { --header-height: 58px; }
  body[data-view="home"] .header-inner { grid-template-columns: 1fr auto; padding: 0 12px 0 18px; }
  body[data-view="home"] .header-actions { grid-column: 2; }
  body[data-view="home"] .header-button { padding: 0 8px; }
  body[data-view="home"] #toc-button span:not(.sr-only),
  body[data-view="home"] #search-button span:not(.sr-only) { display: none; }
  .home-page .cover-stage { min-height: max(100svh, 680px); }
  .home-page .cover-stage::before {
    background: linear-gradient(0deg, rgba(5,15,27,.98) 0%, rgba(5,15,27,.83) 46%, rgba(5,15,27,.2) 78%, rgba(5,15,27,.08) 100%);
  }
  .home-page .cover-art img { object-position: 50% 38%; }
  .home-page .cover-copy { width: 100%; padding: 40vh 24px 38px; }
  .home-page .cover-kicker { font-size: 15px; }
  .home-page .cover-copy h1 { margin-top: 12px; font-size: clamp(48px, 14vw, 62px); }
  .home-page .cover-subtitle { font-size: clamp(24px, 7.2vw, 30px); line-height: 1.42; }
  .home-page .cover-byline { margin-top: 13px; }
  .home-page .cover-actions { display: grid; gap: 13px; margin-top: 24px; }
  .home-page .cover-primary { width: 100%; min-width: 0; }
  .cover-restart { justify-self: center; }
  .cover-progress-note { text-align: center; }
  .book-facts dl { grid-template-columns: repeat(5, minmax(158px, 1fr)); width: 100%; overflow-x: auto; scroll-snap-type: x proximity; }
  .book-facts dl > div { min-width: 158px; padding: 23px 20px 25px; scroll-snap-align: start; }
  .transaction-clock { width: calc(100% - 40px); padding: 68px 0 56px; }
  .transaction-clock h2 { margin-bottom: 36px; font-size: 38px; }
  .transaction-tracks { grid-template-columns: auto 1fr auto; gap: 13px 12px; }
  .transaction-tracks > i { min-width: 32px; }
  .transaction-tracks > b { grid-column: 3; grid-row: 1 / span 3; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
  .home-page .home-premise { width: calc(100% - 40px); padding: 60px 0; }
  .premise-summary { margin-top: 30px; font-size: 18px; }
}

@media (max-width: 380px) {
  body[data-view="home"] .header-button { min-width: 42px; padding: 0 6px; }
  .home-page .cover-copy { padding-right: 20px; padding-left: 20px; }
  .home-page .cover-copy h1 { font-size: 48px; }
  .home-page .cover-subtitle { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-view="home"] .site-header { transition: none; }
  .home-page .cover-art img { animation: none; }
  .route-progress.is-loading { animation: none; }
}
