@charset "UTF-8";

:root {
  color-scheme: dark;
  --black: #080808;
  --surface: #111111;
  --raised: #1b1b1b;
  --white: #eeeae2;
  --muted: #a6a6a2;
  --line: #333332;
  --control-line: #686866;
  --display: Impact, "Arial Narrow", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--black);
  color: var(--white);
  font: 16px/1.65 var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; min-width: 300px; background: var(--black); }
button, input, textarea, select { font: inherit; }
a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, .button { touch-action: manipulation; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
button { cursor: pointer; }
button:disabled, input:disabled, select:disabled { opacity: .45; cursor: not-allowed; }
button, a { transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible, label.button:focus-within { outline: 2px solid #f7f5ee; outline-offset: 5px; }
::selection { color: #080808; background: #eeeae2; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4, .display, .hero-title { font-family: var(--display); font-weight: 400; font-style: normal; text-transform: uppercase; line-height: 1; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(3.5rem, 6.8vw, 7rem); }
h2 { font-size: clamp(2.4rem, 4.1vw, 4.2rem); }
h3 { font-size: clamp(1.7rem, 2.3vw, 2.5rem); }
h4 { font-size: 1.45rem; }
h1 em, h2 em, h3 em, h4 em, h1 i, h2 i, h3 i, h4 i, cite, .display em, .hero-title em { font-family: inherit; font-weight: inherit; font-style: normal; color: inherit; }
p { overflow-wrap: anywhere; }
p + p { margin-top: 1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .4em; }
strong { font-weight: 650; }
small { font-size: .79rem; }
hr { height: 1px; background: var(--line); border: 0; margin: 28px 0; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
fieldset { min-width: 0; border: 1px solid var(--control-line); padding: 20px; }
legend { padding: 0 8px; font-weight: 600; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-size: .85rem; font-weight: 650; min-height: 44px; }
details[open] summary { margin-bottom: 16px; }
table { border-collapse: collapse; width: 100%; font-size: .84rem; }
th, td { padding: 14px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
th { font-size: .7rem; line-height: 1.5; text-transform: uppercase; font-weight: 600; letter-spacing: .06em; }
caption { color: var(--muted); caption-side: bottom; text-align: left; padding: 16px 10px 0; font-size: .73rem; }
kbd { font: .75rem var(--mono); border: 1px solid #737370; border-bottom-width: 2px; padding: 1px 5px; background: #202020; color: var(--white); }

.shell { width: min(1480px, calc(100% - 96px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header.shell, .site-header > .shell, .header-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; min-height: 110px; }
.brand { font-family: var(--display); font-size: 1.6rem; line-height: .95; font-weight: 400; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand small { display: block; font-family: var(--sans); font-size: .57rem; line-height: 1.5; letter-spacing: .14em; color: var(--muted); margin-top: 10px; font-weight: 400; }
.brand-mark { display: none; }
.nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nav a, .nav button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 2px; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--muted); text-decoration: none; font-size: .74rem; line-height: 1.4; }
.nav a:hover, .nav button:hover { color: var(--white); border-bottom-color: #777; }
.nav .active, .nav .is-active, .nav [aria-current="page"], .nav .active:hover, .nav [aria-current="page"]:hover { color: var(--white); border-bottom-color: var(--white); background: transparent; }
.nav-cta { flex: 0 0 auto; }
main { min-height: 65vh; }
.skip-link { position: fixed; left: 20px; top: -90px; z-index: 99; padding: 12px 18px; background: var(--white); color: #080808; }
.skip-link:focus { top: 16px; }

.editorial-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 54px 0 72px; }
.hero-copy { min-width: 0; }
.hero-meta { display: flex; justify-content: space-between; gap: 20px; font-size: .64rem; line-height: 1.5; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 48px; }
.hero-title { font-size: clamp(5.5rem, 9.5vw, 10rem); line-height: .87; letter-spacing: -.015em; margin: 0 0 34px; }
.hero-title span { display: block; }
.hero-intro { max-width: 440px; font-size: 1.04rem; line-height: 1.75; color: #c4c3bd; }
.hero-copy > .toolbar { margin-top: 30px; }
.hero-bottom { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 46px; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.hero-index { color: var(--muted); font-size: .63rem; line-height: 1.8; letter-spacing: .1em; text-transform: uppercase; }
.archive-frame { min-width: 0; margin: 0; }
.archive-frame picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #181818; }
.archive-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; filter: saturate(.62) brightness(.88) contrast(1.04); }
.archive-frame > img { height: auto; aspect-ratio: 4 / 5; }
.archive-caption { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .62rem; letter-spacing: .08em; line-height: 1.7; text-transform: uppercase; margin-top: 12px; }
.editorial-index { margin: 10px 0 72px; }
.index-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) 44px; gap: 26px; align-items: start; padding: 32px 0; border-top: 1px solid var(--line); text-decoration: none; }
.index-row:last-child { border-bottom: 1px solid var(--line); }
.index-number { font-size: .68rem; font-family: var(--mono); color: var(--muted); margin-top: 10px; }
.index-copy { min-width: 0; }
.index-copy h2, .index-copy h3 { font-size: clamp(2.4rem, 3.8vw, 4rem); }
.index-copy p { font-size: .89rem; color: var(--muted); margin-top: 14px; max-width: 650px; }
.index-arrow { font-size: 2.1rem; line-height: 1.3; font-weight: 300; }
.index-row:hover .index-copy h2, .index-row:hover .index-copy h3 { color: #fff; }
.archive-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 0 0 72px; }
.archive-story picture { display: block; background: var(--surface); }
.archive-story img { width: 100%; height: auto; filter: saturate(.65) brightness(.9); }
.archive-story h2 { margin-bottom: 24px; }
.archive-story p { max-width: 560px; color: var(--muted); font-size: .94rem; }
.archive-story .button { margin-top: 26px; }
.section { padding: 62px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-head p { margin-top: 14px; max-width: 520px; color: var(--muted); }
.eyebrow, .kicker { font: 500 .63rem/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.lede { font-size: 1.02rem; line-height: 1.75; color: #bcbcb7; max-width: 780px; margin-top: 26px; }
.page-intro { padding: 64px 0 38px; max-width: 1200px; }
.page-intro .eyebrow { margin-bottom: 22px; }
.page-intro .lede { max-width: 810px; }

.button, :where(button:not(.nav button):not(.unstyled)) { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 12px 18px; border: 1px solid var(--control-line); border-radius: 0; color: var(--white); background: transparent; font-size: .77rem; line-height: 1.4; font-weight: 500; text-decoration: none; cursor: pointer; }
.button:hover, :where(button:not(.nav button):not(.unstyled)):hover { background: #242424; border-color: #b3b3ab; color: #fff; }
.button.primary, button.primary { background: var(--white); border-color: var(--white); color: #111; }
.button.primary:hover, button.primary:hover { background: #fff; border-color: #fff; color: #080808; }
.button.secondary, button.secondary { background: #111; }
.button.secondary:hover, button.secondary:hover { background: #242424; }
.button.danger, button.danger, .text-button.danger { color: #ffb4a7; border-color: #a96b62; }
.button.small, button.small { min-height: 44px; padding: 10px 14px; font-size: .73rem; }
.toolbar, .form-actions, .reader-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar.between { justify-content: space-between; }
.toolbar + .workspace { margin-top: 28px; }
.toolbar + p, .toolbar + .notice { margin-top: 18px; }
.form-actions { margin-top: 22px; }
.grid-3, .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.card { min-width: 0; padding: 28px 0; border: 0; border-top: 1px solid var(--line); background: transparent; display: flex; flex-direction: column; align-items: flex-start; }
.card > p { color: var(--muted); font-size: .88rem; margin-top: 18px; }
.card > .button, .card > a:last-child { margin-top: 26px; }
.card > .eyebrow { margin-bottom: 24px; }
.card-number { font-size: .65rem; letter-spacing: .12em; color: var(--muted); margin-bottom: 24px; }
.panel { min-width: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.panel + .panel { margin-top: 28px; }
.panel h2 { font-size: 2.6rem; margin-bottom: 22px; }
.panel h3 { margin-bottom: 18px; }
.panel .section-head h2, .panel .section-head h3 { margin-bottom: 0; }
.panel > p + form { margin-top: 24px; }
.badge, .chip { display: inline-flex; width: fit-content; max-width: 100%; padding: 5px 8px; border: 1px solid #5a5a56; border-radius: 0; color: #d7d7d0; font-size: .57rem; line-height: 1.6; letter-spacing: .1em; font-weight: 500; text-transform: uppercase; background: #191919; }
.badge.warning { color: #e8d9ac; border-color: #827c65; }
.notice { border: 1px solid #4c4c49; border-left: 2px solid #b0b0a7; padding: 17px 20px; color: #c3c3bc; background: #181818; font-size: .82rem; line-height: 1.75; }
.notice.error { border-left-color: #e1a194; color: #ffcebf; }
.notice.success { border-left-color: #c0c9bd; }
.notice + .notice { margin-top: 14px; }
.notice h4 { color: var(--white); margin-bottom: 14px; }
.muted, .source-note { color: var(--muted); }
.small { font-size: .79rem; }
.stack { display: grid; gap: 24px; }
.stack-sm { display: grid; gap: 14px; }
.spacer { margin-top: 28px; }
.text-link { font-size: .79rem; }
.source-note { font-size: .73rem; margin-top: 22px; }
.empty { border: 1px dashed #53534e; padding: 34px 24px; background: #111; color: var(--muted); text-align: center; font-size: .85rem; }
.empty h3 { color: var(--white); margin-bottom: 14px; }
.empty .button, .empty button { margin-top: 22px; }
.large-empty { padding: 58px 32px; }
.large-empty h2 { font-size: clamp(2.8rem, 4vw, 4.5rem); }
.large-empty p { max-width: 560px; margin-left: auto; margin-right: auto; }
.empty-symbol { display: block; font-size: 2rem; margin-bottom: 20px; color: #d9d9cf; }

.workspace { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 28px; padding-bottom: 62px; align-items: start; }
.workspace > :last-child { min-width: 0; }
.sidebar { position: sticky; top: 24px; padding: 20px; background: #101010; }
.sidebar h2, .sidebar h3 { font-size: 1.7rem; margin-bottom: 0; }
.sidebar > .section-head { align-items: center; margin-bottom: 22px; }
.sidebar .empty { padding: 24px 15px; }
.sidebar .empty h3 { font-size: 1.8rem; }
.sidebar .empty p { font-size: .76rem; }
.sidebar .button { padding: 10px 13px; font-size: .72rem; }
.sidebar > .muted { font-size: .72rem; }
.couple-block + .couple-block { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.couple-block > p { font-size: .81rem; margin-bottom: 14px; }
.couple-block strong { overflow-wrap: anywhere; }
.couple-block small { font-size: .69rem; color: var(--muted); }
.session-link { display: flex !important; flex-direction: column; align-items: flex-start !important; justify-content: flex-start !important; gap: 5px !important; width: 100%; padding: 12px !important; border: 1px solid transparent !important; border-left: 2px solid transparent !important; margin-top: 8px; text-align: left; background: transparent; }
.session-link strong { font-size: .77rem; font-weight: 500; }
.session-link span { font-size: .65rem; color: var(--muted); font-weight: 400; }
.session-link.active { background: #222; border-left-color: var(--white) !important; }
.session-link:hover { background: #242424; }
.text-button, .sidebar .text-button { min-height: 44px !important; padding: 9px 0 !important; border: 0 !important; background: transparent !important; text-align: left; justify-content: flex-start !important; font-size: .75rem !important; text-decoration: underline; text-underline-offset: 5px; }
.icon-button, .sidebar .icon-button, .toolbar .icon-button { flex: 0 0 44px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 7px !important; border: 1px solid #656560 !important; font-size: 1.1rem !important; line-height: 1 !important; }
.time-button, .toolbar .time-button { min-height: 44px !important; padding: 9px 12px !important; border: 1px solid #686861 !important; background: #252525; font: .74rem/1.4 var(--mono) !important; }
.tabs { display: flex; gap: 8px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 28px 0; padding-bottom: 12px; }
.tabs button, .tabs a { min-height: 44px; padding: 10px 13px; border: 1px solid transparent; font-size: .74rem; white-space: nowrap; }
.tabs .active, .tabs .is-active, .tabs [aria-pressed="true"], .tabs [aria-selected="true"] { border-color: var(--white); color: #fff; background: #252525; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 8px; font-size: .75rem; font-weight: 500; }
.field + .field { margin-top: 16px; }
.field small { color: var(--muted); font-size: .7rem; font-weight: 400; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-row .field { margin-top: 0; }
.field-row > label:not(.field) { min-height: 44px; font-size: .79rem; padding: 5px 0; }
.field-row + .field-row, .field-row + .field, .field + .field-row { margin-top: 18px; }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select { width: 100%; min-width: 0; min-height: 44px; padding: 11px 12px; border: 1px solid var(--control-line); border-radius: 0; background: #161616; color: var(--white); font-size: .86rem; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: #999992; opacity: 1; }
textarea { min-height: 110px; resize: vertical; }
select { padding-right: 30px; }
input[type="file"] { padding: 8px !important; font-size: .76rem !important; }
input::file-selector-button { border: 1px solid #86867e; background: #242424; color: var(--white); padding: 8px 12px; margin-right: 12px; font: .74rem var(--sans); cursor: pointer; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; margin: 0 8px 0 0; accent-color: #e9e7dc; vertical-align: -4px; }
input[type="range"] { accent-color: #deded4; cursor: pointer; min-width: 80px; width: 100%; }
.check-field { display: flex; align-items: flex-start; gap: 9px; font-size: .78rem; min-height: 44px; }
.check-field input { flex: 0 0 auto; margin-top: 4px; }
.field.compact { width: 145px; min-width: 90px; margin-top: 0; flex: 0 1 auto; }
.playback-toolbar { align-items: flex-end; margin: 16px 0 13px; }
.playback-toolbar .field.compact { width: 86px; }
.playback-toolbar .button { font-size: .71rem; padding: 10px 13px; }
.video-wrap { position: relative; overflow: hidden; background: #050505; border: 1px solid #55554f; aspect-ratio: 16 / 9; }
video { width: 100%; display: block; background: #050505; max-height: 72vh; }
.video-wrap video { width: 100%; height: 100%; object-fit: contain; }
.video-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; background: #151515; color: var(--muted); }
.video-empty h3 { color: var(--white); font-size: clamp(1.6rem, 2.5vw, 2.5rem); }
.video-empty p { font-size: .81rem; max-width: 420px; }
.play-symbol { font-size: 2.6rem; line-height: 1; color: #d5d5cb; }
.timecode { font-family: var(--mono); font-size: .79rem; font-variant-numeric: tabular-nums; }
.transport { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.transport input[type="range"] { flex: 1; }
.session-content > .notice, .session-content > details.notice { margin: 24px 0 34px; }
.session-content form > .button { margin-top: 20px; }
.session-content .grid-2 > div > .eyebrow:not(:first-child) { margin-top: 34px; }
.session-content .grid-2 > div > .card { margin-top: 18px; }
.session-content .grid-2 > div > .muted { font-size: .78rem; margin-top: 22px; }
.evidence-list { display: grid; gap: 16px; margin-top: 22px; }
.evidence-item { border: 1px solid #494944; background: #191919; padding: 18px; display: grid; gap: 12px; }
.evidence-item .toolbar { gap: 8px; }
.evidence-item p { font-size: .83rem; overflow-wrap: anywhere; }
.evidence-item small { color: var(--muted); }
.evidence-item > strong { font-size: .84rem; }
.rubric-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding: 20px 0; }
.rubric-row:first-child { border-top: 0; }
.rubric-row strong { display: block; font-size: .87rem; font-weight: 600; margin-bottom: 8px; }
.rubric-row p, .rubric-row small { color: var(--muted); font-size: .76rem; }
.rubric-row select { font-size: .77rem; }
.review-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.review-summary > div { padding: 22px; border-top: 1px solid var(--line); background: #161616; }
.review-summary h4 { margin-bottom: 15px; }
.goal-list { margin-top: 24px; }
.goal-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-top: 14px; }
.goal-item label { display: flex; align-items: flex-start; min-width: 0; min-height: 44px; flex: 1; gap: 12px; font-size: .83rem; }
.goal-item label input { flex: 0 0 auto; margin: 4px 0 0; }
.goal-item label span { overflow-wrap: anywhere; }
.goal-item input:checked + span { color: var(--muted); text-decoration: line-through; }
.chart { overflow-x: auto; padding: 22px 0; min-width: 0; }
.chart table { min-width: 360px; }
.chart svg { width: 100%; min-width: 340px; }
.chart text { fill: var(--muted); font: 12px var(--sans); }
.chart line { stroke: var(--line); }
.rating-cell { display: inline-block; position: relative; width: 48px; padding-bottom: 12px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.rating-cell[class*="level-"]::before { content: ""; position: absolute; bottom: 2px; left: 0; width: 100%; height: 4px; background: #4c4c46; }
.rating-cell[class*="level-"]::after { content: ""; position: absolute; bottom: 2px; left: 0; height: 4px; background: #d8d8ce; }
.rating-cell.level-1::after { width: 20%; }
.rating-cell.level-2::after { width: 40%; }
.rating-cell.level-3::after { width: 60%; }
.rating-cell.level-4::after { width: 80%; }
.rating-cell.level-5::after { width: 100%; }
.stat { border-top: 1px solid var(--line); padding-top: 18px; }
.stat strong { display: block; font: 400 3.4rem/1 var(--display); margin-bottom: 12px; }
.stat span, .stat p { font-size: .76rem; color: var(--muted); }
.metric-bars { display: grid; gap: 16px; }
.metric-bar { display: grid; grid-template-columns: minmax(90px, 1fr) 2fr 35px; gap: 12px; align-items: center; font-size: .76rem; }
.metric-bar progress { accent-color: #ddd; width: 100%; height: 6px; }
.mini-cards { margin-top: 26px; }
.mini-cards h3 { font-size: 1.8rem; }
.mini-cards p { font-size: .79rem; }

.library-intro, .library-feature { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr); gap: 64px; align-items: center; margin-bottom: 36px; }
.book-cover { width: min(100%, 330px); min-height: 450px; aspect-ratio: .7; padding: 38px 28px; background: #151515; color: var(--white); border: 1px solid #65655d; border-left: 6px solid #77776c; display: flex; flex-direction: column; justify-content: space-between; justify-self: center; }
.book-cover h2, .book-cover h3 { font: 400 3.6rem/.94 var(--display); letter-spacing: 0; }
.book-cover p { font-size: .91rem; line-height: 1.5; color: #bbbcb3; }
.book-cover > span, .book-cover small { font-size: .61rem; letter-spacing: .13em; }
.book-cover .book-line { font-size: .55rem; }
.library-intro .panel > .button { margin: 26px 0 18px; }
.library-intro .panel > .badge { margin-top: 22px; }
.reader-section { margin-top: 34px; }
.reader-section .reader-layout { margin-top: 30px; }
.reader-section > #book-search-status { margin-top: 20px; font-size: .77rem; }
.reader-controls { padding: 0 0 24px; border-bottom: 1px solid var(--line); align-items: flex-end; }
.reader-controls .field { margin: 0; }
.reader-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 30px; align-items: start; }
.chapter-list { position: sticky; top: 24px; max-height: 70vh; overflow-y: auto; padding-right: 8px; display: grid; gap: 6px; }
.chapter-list button { font-size: .73rem; line-height: 1.6; min-height: 44px; padding: 12px; border-color: transparent; text-align: left; justify-content: flex-start; overflow-wrap: anywhere; }
.chapter-list button.active { border-color: #a1a198; background: #242424; }
.reader { min-width: 0; max-width: 850px; min-height: 450px; margin: 0 auto; padding: 48px clamp(24px, 4vw, 60px); background: #e4e0d5; color: #1b1b19; font-family: var(--sans); font-size: 20px; line-height: 1.85; }
.reader h2, .reader h3 { font-family: var(--display); font-size: 2em; font-weight: 400; font-style: normal; margin-bottom: 30px; line-height: 1.07; }
.reader .eyebrow { font: .61rem/1.7 var(--sans); letter-spacing: .14em; color: #55554f; margin-bottom: 22px; }
.manuscript-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.reader .toolbar { border-top: 1px solid #8f8f84; margin-top: 40px; padding-top: 26px; }
.reader .button { background: #20201d; color: #eeede4; border-color: #68685f; }
.reader .button:hover { background: #080808; }
.reader.text-size-18 { font-size: 18px; }
.reader.text-size-20 { font-size: 20px; }
.reader.text-size-24 { font-size: 24px; }
.reader.text-size-28 { font-size: 28px; }
.reader.reader-night, .reader.dark { background: #181818; color: #e3e2d8; border: 1px solid #686861; }
.reader-night .eyebrow, .reader.dark .eyebrow { color: #b5b5ab; }
.reader-night .button.primary { background: #e8e7dc; color: #111; }
.reader-night .button.secondary { background: #222; color: #e8e7dc; }
.reader:not(.reader-night):not(.dark) :focus-visible { outline-color: #20201d; }
.pdf-frame { width: 100%; height: 80vh; min-height: 650px; display: block; border: 1px solid #686861; background: #151515; margin-top: 22px; }
.timeline { position: relative; margin: 20px 0 50px; }
.timeline::before { content: ""; position: absolute; width: 1px; background: #5d5d56; top: 12px; bottom: 40px; left: 9px; }
.timeline > article, .timeline > li, .timeline-item { position: relative; padding: 0 0 44px 45px; list-style: none; }
.timeline > article::before, .timeline > li::before, .timeline-item::before { content: ""; position: absolute; left: 5px; top: 9px; width: 9px; height: 9px; background: #d3d3c7; border: 2px solid #080808; outline: 1px solid #88887d; }
.timeline h2, .timeline h3 { font-size: 2.7rem; margin: 18px 0; }
.timeline p { color: var(--muted); font-size: .87rem; }
.timeline + aside .card + .card { margin-top: 26px; }
.doc-stage { background: #151515; border-top: 1px solid #77776d; border-bottom: 1px solid #77776d; padding: 56px 40px; margin-bottom: 34px; }
.doc-stage h2 { font-family: var(--display); font-style: normal; font-weight: 400; font-size: clamp(3rem, 5.8vw, 6.1rem); max-width: 900px; line-height: 1; margin: 28px 0; }
.doc-stage p { max-width: 710px; color: #b8b8b0; font-size: .94rem; }
.doc-stage .muted { display: block; margin-top: 24px; font-size: .75rem; }
.doc-motif { display: none; }
.doc-stage + .cards { margin-bottom: 34px; }
.community-band { padding: 42px 0; margin: 20px 0 34px; border-top: 1px solid #77776d; border-bottom: 1px solid #77776d; background: transparent; }
.community-band h2 { max-width: 1000px; margin-bottom: 16px; }
.community-band > p { max-width: 740px; }
.community-band .badge { margin-top: 24px; }
.quote { font: 400 clamp(2rem, 3.5vw, 3.5rem)/1.1 var(--display); font-style: normal; }

.footer { border-top: 1px solid var(--line); padding: 32px 0 38px; margin-top: 62px; color: var(--muted); font-size: .7rem; }
.footer.shell, .footer > .shell, .footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer .brand { font-size: 1.4rem; color: var(--white); }
.footer a { min-height: 44px; display: inline-flex; align-items: flex-start; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; max-width: min(660px, calc(100% - 32px)); padding: 16px 22px; background: #e9e7dd; color: #111; border: 1px solid #fff; font-size: .81rem; box-shadow: 0 12px 40px #0009; }
.toast.error { border-color: #b66e60; background: #f3ded8; }
.toast:empty { display: none; }
dialog, .dialog { width: min(650px, calc(100% - 32px)); max-height: 90vh; overflow: auto; border: 1px solid #8b8b80; padding: 34px; border-radius: 0; background: #111; color: var(--white); }
dialog::backdrop { background: #000c; }
dialog h2 { font-size: 2.8rem; margin-bottom: 22px; }
dialog form { margin-top: 28px; }
dialog form > .button { margin-top: 24px; }
#close-dialog { margin-top: 24px; }
.sr-only { position: absolute !important; inset: 0 auto auto 0 !important; width: 1px !important; height: 1px !important; min-width: 1px !important; min-height: 1px !important; max-width: 1px !important; max-height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 1200px) {
  .shell { width: calc(100% - 64px); }
  .site-header.shell, .site-header > .shell, .header-inner { gap: 22px; }
  .nav { gap: 10px; }
  .nav a, .nav button { font-size: .69rem; }
  .nav-cta { font-size: .69rem; padding-left: 13px; padding-right: 13px; }
  .editorial-hero, .archive-story { gap: 40px; }
  .hero-title { font-size: clamp(5rem, 9.3vw, 9rem); }
  .hero-meta { margin-bottom: 35px; font-size: .58rem; }
  .hero-intro { font-size: .92rem; }
  .workspace { grid-template-columns: 215px minmax(0, 1fr); gap: 22px; }
  .workspace .grid-2 { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
  .rubric-row { grid-template-columns: minmax(0, 1fr) 155px; }
}
@media (max-width: 900px) {
  .site-header.shell, .site-header > .shell, .header-inner { flex-wrap: wrap; padding: 26px 0 18px; gap: 20px; min-height: 100px; }
  .nav { width: 100%; order: 3; gap: 8px 20px; }
  .nav a { font-size: .73rem; }
  .nav-cta { margin-left: auto; }
  .editorial-hero { gap: 30px; padding: 42px 0 50px; }
  .hero-title { font-size: 9.2vw; }
  .hero-copy > .toolbar { flex-direction: column; align-items: flex-start; }
  .hero-bottom { margin-top: 30px; }
  .hero-meta { margin-bottom: 28px; }
  .hero-intro { font-size: .87rem; }
  .hero-copy > .toolbar .button { font-size: .71rem; }
  .workspace { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .sidebar > .section-head { margin-bottom: 18px; }
  .cards, .grid-3 { gap: 24px; }
  .reader-layout { grid-template-columns: 1fr; gap: 24px; }
  .chapter-list { position: static; max-height: 240px; grid-template-columns: 1fr 1fr; }
  .library-intro, .library-feature { gap: 38px; grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); }
  .book-cover { min-height: 360px; padding: 30px 22px; }
  .book-cover h2 { font-size: 3rem; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .site-header.shell, .site-header > .shell, .header-inner { padding-top: 23px; padding-bottom: 15px; gap: 18px; }
  .brand { font-size: 1.5rem; }
  .brand small { font-size: .54rem; margin-top: 8px; }
  .nav { gap: 2px 20px; }
  .nav a { min-height: 44px; font-size: .7rem; }
  .nav-cta { display: none; }
  .editorial-hero { grid-template-columns: 1fr; padding: 34px 0 42px; gap: 36px; }
  .hero-meta { font-size: .56rem; margin-bottom: 30px; }
  .hero-title { font-size: clamp(4.6rem, 20.5vw, 8.8rem); margin-bottom: 28px; line-height: .87; }
  .hero-intro { font-size: .95rem; max-width: 470px; }
  .hero-copy > .toolbar { flex-direction: row; align-items: center; margin-top: 26px; }
  .hero-copy > .toolbar .button { font-size: .7rem; padding: 11px 13px; }
  .hero-bottom { margin-top: 28px; padding-top: 18px; }
  .hero-index { font-size: .58rem; }
  .archive-frame picture { aspect-ratio: 4 / 5; }
  .archive-caption { font-size: .56rem; gap: 10px; }
  .index-row { grid-template-columns: 30px minmax(0, 1fr) 25px; gap: 16px; padding: 25px 0; }
  .index-number { font-size: .58rem; margin-top: 7px; }
  .index-copy h2, .index-copy h3 { font-size: clamp(2rem, 8.7vw, 3rem); }
  .index-copy p { font-size: .79rem; margin-top: 12px; }
  .index-arrow { font-size: 1.6rem; }
  .editorial-index { margin-bottom: 44px; }
  .archive-story { grid-template-columns: 1fr; gap: 30px; padding-bottom: 42px; }
  .archive-story h2 { font-size: 2.9rem; margin-bottom: 20px; }
  .archive-story p { font-size: .85rem; }
  .section { padding: 40px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .page-intro { padding: 40px 0 30px; }
  h1 { font-size: clamp(3rem, 11.8vw, 5rem); }
  h2 { font-size: 2.7rem; }
  h3 { font-size: 2rem; }
  .lede { font-size: .94rem; margin-top: 22px; }
  .eyebrow, .kicker { font-size: .6rem; }
  .grid-2, .grid-3, .cards { grid-template-columns: 1fr; gap: 24px; }
  .card { padding: 25px 0; }
  .card > p { font-size: .84rem; }
  .panel { padding: 23px 18px; }
  .panel h2 { font-size: 2.4rem; }
  .panel h3 { font-size: 2rem; }
  .workspace { gap: 24px; padding-bottom: 35px; }
  .sidebar { padding: 20px 17px; }
  .sidebar > .section-head { flex-direction: row; align-items: center; }
  .sidebar h2 { font-size: 1.8rem; }
  .toolbar { gap: 10px; }
  .toolbar .button, .toolbar button { font-size: .71rem; }
  .badge { font-size: .54rem; }
  .field-row { grid-template-columns: 1fr; gap: 16px; }
  .field { font-size: .75rem; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select { font-size: 16px; }
  .tabs { gap: 6px; margin: 24px 0; }
  .tabs button { padding: 10px 12px; font-size: .7rem; }
  .rubric-row { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
  .rubric-row select { max-width: 260px; }
  .rubric-row p { font-size: .75rem; }
  .review-summary { grid-template-columns: 1fr; }
  .video-empty { padding: 16px; gap: 8px; }
  .video-empty h3 { font-size: 1.45rem; }
  .video-empty p { font-size: .68rem; }
  .play-symbol { font-size: 1.7rem; }
  .playback-toolbar { align-items: center; gap: 10px; }
  .playback-toolbar .button { font-size: .68rem; padding: 10px 11px; }
  .playback-toolbar .field.compact { width: 90px; }
  .evidence-item { padding: 15px; }
  .evidence-item .toolbar { gap: 7px; }
  .notice { font-size: .77rem; padding: 15px 16px; }
  .large-empty { padding: 36px 22px; }
  .large-empty h2 { font-size: 2.8rem; }
  .library-intro, .library-feature { grid-template-columns: 1fr; gap: 38px; }
  .book-cover { width: 270px; min-height: 390px; }
  .book-cover h2 { font-size: 3.4rem; }
  .reader-section { padding: 20px 14px; }
  .reader-controls { gap: 16px; }
  .reader-controls .field { flex: 1 1 120px; }
  .reader-controls .button { padding: 11px 13px; font-size: .7rem; }
  .chapter-list { grid-template-columns: 1fr; }
  .reader { padding: 32px 23px; line-height: 1.8; }
  .reader h2 { font-size: 1.8em; }
  .pdf-frame { min-height: 500px; }
  .timeline > article, .timeline > li, .timeline-item { padding-left: 35px; padding-bottom: 38px; }
  .timeline h2, .timeline h3 { font-size: 2.4rem; }
  .timeline p { font-size: .82rem; }
  .doc-stage { padding: 34px 22px; }
  .doc-stage h2 { font-size: 3.3rem; }
  .doc-stage p { font-size: .85rem; }
  .community-band { padding: 32px 0; margin-bottom: 24px; }
  .footer { margin-top: 42px; padding: 28px 0; }
  .footer.shell, .footer > .shell, .footer-inner { flex-direction: column; gap: 22px; }
  dialog, .dialog { padding: 27px 22px; }
  dialog h2 { font-size: 2.6rem; }
  .toast { bottom: 16px; padding: 15px 18px; font-size: .78rem; }
  th, td { padding: 12px 8px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  :root, body { background: #fff; color: #111; }
  .site-header, .sidebar, .tabs, .toolbar, .reader-controls, .footer, .toast, video, input, textarea, select, button { display: none !important; }
  .shell { width: 100%; }
  .workspace, .grid-2, .grid-3 { display: block; }
  .panel, .card, .reader { background: #fff; color: #111; border-color: #aaa; break-inside: avoid; box-shadow: none; }
  .reader { max-width: none; }
}
