@charset "UTF-8";

:root {
  color-scheme: light dark;
  --paper: #f5f3ed;
  --ink: #253d34;
  --muted: #626a61;
  --line: #d7dbd1;
  --accent: #406250;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
button { color: inherit; }
button:disabled, input:disabled { cursor: default; opacity: .4; }
a { color: inherit; text-underline-offset: .25em; }
a, button, summary { touch-action: manipulation; }
button, select { min-height: 44px; }
button { border: 0; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 14px 20px; color: var(--ink); background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
/* The photograph stays full-bleed; only foreground content clears iOS system UI. */
.hero { position: relative; isolation: isolate; min-height: 640px; min-height: max(640px, 100svh); display: flex; flex-direction: column; padding: calc(26px + env(safe-area-inset-top, 0px)) calc(clamp(24px, 5.5vw, 88px) + env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) calc(clamp(24px, 5.5vw, 88px) + env(safe-area-inset-left, 0px)); color: #fcf9ef; background: #394d42; }
.landscape, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.landscape { object-fit: cover; object-position: center; }
.hero-shade { z-index: -1; background: linear-gradient(180deg, rgb(12 29 24 / 62%), rgb(12 29 24 / 62%) 26%, rgb(15 32 26 / 6%) 50%, rgb(11 25 21 / 35%) 75%, rgb(11 25 21 / 55%)); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--serif); font-size: 23px; letter-spacing: -.7px; }
.wordmark svg { width: 29px; height: 29px; }
.archive-link { display: flex; align-items: center; gap: 16px; min-height: 44px; font-size: 13px; text-decoration: none; }
.welcome { margin-top: clamp(48px, 9vh, 106px); text-shadow: 0 2px 22px rgb(11 25 21 / 28%); }
.eyebrow { margin: 0 0 13px; font-size: 10px; font-weight: 600; letter-spacing: .17em; line-height: 1.6; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 45px); line-height: 1.18; letter-spacing: -.025em; margin: 0; }
.welcome-note { font-size: 12px; margin: 15px 0 0; opacity: .88; }
.hero-bottom { width: min(100%, 670px); margin: auto auto 0; padding-top: 74px; }
.player { background: rgb(22 42 34 / 72%); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border: 1px solid rgb(255 255 255 / 19%); border-radius: 18px; padding: 25px 30px 17px; box-shadow: 0 8px 35px rgb(5 19 11 / 10%); }
.player-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.player .eyebrow { margin-bottom: 5px; font-size: 9px; color: #dde6d9; }
.player h2 { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.3; letter-spacing: -.025em; }
.format-label { flex-shrink: 0; font-size: 10px; padding-top: 4px; color: #e1e6d9; }
.player-note { font-size: 12px; line-height: 1.7; margin: 12px 0 0; color: #e0e5db; }
.transport { display: flex; align-items: center; justify-content: center; gap: 26px; margin: 17px 0 5px; }
.icon-button { display: grid; place-items: center; width: 48px; height: 48px; background: transparent; border-radius: 50%; }
.icon-button:hover:not(:disabled) { background: rgb(255 255 255 / 9%); }
.play-button { display: grid; place-items: center; height: 55px; width: 55px; border-radius: 50%; background: #f4f2e9; color: #2a4035; transition: transform .2s; }
.play-button:hover:not(:disabled) { transform: scale(1.05); }
.play-button svg { height: 24px; width: 24px; }
.timeline { display: flex; align-items: center; gap: 13px; }
.time { font-size: 10px; min-width: 32px; font-variant-numeric: tabular-nums; }
.time:last-child { text-align: right; }
input[type="range"] { min-width: 0; width: 100%; height: 30px; margin: 0; accent-color: #e9ead9; cursor: pointer; }
.player-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; color: #e0e5db; }
.player-meta p { margin: 0; line-height: 1.5; }
.rate-label { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.rate-label select { background: transparent; border: 0; padding: 4px; color: inherit; font-size: 11px; }
.rate-label option { color: #253d34; background: #f5f3ed; }
.text-link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgb(255 255 255 / 16%); margin-top: 14px; padding-top: 15px; min-height: 44px; text-decoration: none; font-size: 11px; }
.hero-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 12px; font-size: 9px; line-height: 1.5; color: #f0f1e6; }
.hero-caption > span { max-width: 65%; }
.hero-caption a { text-decoration: none; }
.hero-caption > a { flex-shrink: 0; }
.reading-surface { max-width: 1096px; padding: 0 44px; margin: auto; }
.connection-bar { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 11px; line-height: 1.7; color: var(--muted); }
.connection-bar p { margin: 0; }
.quiet-button { flex-shrink: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; padding: 0 4px; font-size: 11px; }
.app-message { border-left: 2px solid var(--accent); padding: 8px 18px; font-size: 13px; line-height: 1.7; }
.section { scroll-margin-top: 30px; padding: 68px 0; }
.section h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); font-weight: 400; letter-spacing: -.035em; line-height: 1.15; margin: 0; }
.section-intro { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 600px; margin: 20px 0 0; }
.editorial-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 60px; }
.editorial-layout:has(.chapter-text:empty) { display: none; }
.chapter-nav { align-self: start; position: sticky; top: 30px; margin-top: 42px; }
.chapter-nav ol { list-style: none; margin: 10px 0 0; padding: 0; }
.chapter-nav li { border-top: 1px solid var(--line); }
.chapter-nav a { display: grid; grid-template-columns: 24px 1fr; align-items: baseline; gap: 6px; min-height: 48px; padding: 13px 5px; text-decoration: none; font-size: 12px; line-height: 1.6; }
.chapter-nav a[aria-current="true"] { color: var(--accent); font-weight: 600; }
.chapter-number { font-size: 9px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chapter-text { margin-top: 36px; min-width: 0; }
.chapter { border-top: 1px solid var(--line); padding: 7px 0; scroll-margin-top: 30px; }
.chapter.current { border-top-color: var(--accent); }
.chapter summary { list-style: none; position: relative; padding: 19px 32px 18px 0; }
.chapter summary::-webkit-details-marker { display: none; }
.chapter summary::after { position: absolute; right: 4px; top: 32px; content: "+"; font-size: 20px; font-weight: 300; }
.chapter[open] summary::after { content: "−"; }
.chapter .eyebrow { display: block; font-family: var(--sans); font-size: 9px; margin-bottom: 6px; color: var(--muted); }
.chapter h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: -.02em; line-height: 1.3; margin: 0; }
.chapter-body { padding-bottom: 20px; }
.chapter-copy { font-size: 14px; line-height: 1.95; margin: 0 0 16px; white-space: pre-line; }
.chapter-seek { background: transparent; padding: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; font-size: 11px; }
.sources { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 10px 0 0; font-size: 11px; line-height: 1.8; color: var(--muted); }
.sources a::after { content: " ↗"; }
.warnings { padding-left: 20px; font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 26px; }
.archive { border-top: 1px solid var(--line); }
.archive-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.archive h2 { font-size: 34px; }
.muted { color: var(--muted); font-size: 12px; line-height: 1.8; }
.archive-list { padding: 0; margin: 0; list-style: none; }
.archive-list li { border-top: 1px solid var(--line); }
.archive-list button { display: grid; grid-template-columns: 145px 1fr auto; width: 100%; gap: 25px; text-align: left; align-items: baseline; background: transparent; padding: 23px 0; }
.archive-list button:hover .archive-title { text-decoration: underline; text-underline-offset: 5px; }
.archive-list button[aria-current="true"] .archive-title::before { content: "• "; color: var(--accent); }
.archive-date, .archive-format { font-size: 11px; color: var(--muted); line-height: 1.7; }
.archive-title { font-family: var(--serif); font-size: 21px; line-height: 1.4; overflow-wrap: anywhere; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0 max(38px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer p, .footer > a:last-child { color: var(--muted); font-size: 10px; line-height: 1.8; }
.footer > a:last-child { text-decoration: none; }
.wordmark-dot { color: var(--accent); margin-left: -8px; }
.noscript { position: fixed; bottom: 0; padding: 20px; background: var(--paper); color: var(--ink); z-index: 10; }
@media (min-width: 1100px) and (min-height: 800px) { .hero { padding-bottom: calc(27px + env(safe-area-inset-bottom, 0px)); } .hero-bottom { margin-bottom: 12px; } }
@media (max-width: 650px) {
  .hero { min-height: max(650px, 100svh); padding: calc(18px + env(safe-area-inset-top, 0px)) calc(22px + env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) calc(22px + env(safe-area-inset-left, 0px)); }
  .wordmark { font-size: 22px; }
  .welcome { margin-top: 53px; }
  .welcome-note { font-size: 11px; }
  .hero-bottom { padding-top: 60px; }
  .player { padding: 20px 20px 13px; border-radius: 15px; }
  .player h2 { font-size: 22px; }
  .player-heading { gap: 12px; }
  .format-label { font-size: 9px; }
  .player-meta { font-size: 9px; }
  .transport { margin-top: 18px; }
  .rate-label { font-size: 0; }
  .reading-surface { padding: 0 25px; }
  .section { padding: 46px 0; }
  .editorial-layout { display: block; }
  .chapter-nav { position: static; margin-top: 28px; }
  .chapter-nav ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .chapter-text { margin-top: 25px; }
  .chapter h3 { font-size: 23px; }
  .chapter-copy { font-size: 14px; }
  .archive-list button { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 20px 0; }
  .archive-date { grid-column: 1; grid-row: 1; }
  .archive-format { grid-column: 2; grid-row: 1; }
  .archive-title { grid-column: 1 / -1; grid-row: 2; }
  .footer { flex-wrap: wrap; gap: 12px; }
  .footer p { width: 100%; order: 3; margin: 0; }
}
@media (max-width: 360px) { .hero { padding-left: calc(16px + env(safe-area-inset-left, 0px)); padding-right: calc(16px + env(safe-area-inset-right, 0px)); } .player { padding-inline: 16px; } .format-label { max-width: 70px; text-align: right; } }
@media (prefers-color-scheme: dark) {
  :root { --paper: #17251f; --ink: #e7e8dc; --muted: #adb6a8; --line: #35443a; --accent: #b1c7aa; }
  .hero-shade { background: linear-gradient(180deg, rgb(12 29 24 / 62%), rgb(12 29 24 / 62%) 26%, rgb(15 32 26 / 12%) 50%, rgb(11 25 21 / 38%) 75%, rgb(11 25 21 / 60%)); }
  .player { background: rgb(15 31 25 / 72%); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .player { background: Canvas; color: CanvasText; border-color: CanvasText; } .hero-shade { background: Canvas; opacity: .85; } .play-button { border: 1px solid ButtonText; } }
