:root {
  color-scheme: light;
  --bg: #e7ddc5;
  --paper: #eee5cf;
  --card: #ded0b1;
  --ink: #29251f;
  --muted: #514638;
  --action: #84251f;
  --action-ink: #fff4dc;
  --line: #b5a68b;
  --line-strong: #88785f;
  --s-2: 8px;
  --gut: clamp(24px, 5.55vw, 80px);
  --header: 86px;
  --font-display: "Delo Display", Georgia, "Times New Roman", serif;
  --font-body: "Delo Text", Georgia, "Times New Roman", serif;
  --font-note: "Delo Mono", "Courier New", monospace;
  --paper-grain: url("paper-grain.svg");
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 24px); }
body { margin: 0; background: var(--bg) var(--paper-grain); color: var(--ink); font: 18px/1.7 var(--font-body); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--action); }
button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, blockquote, figure, ol { margin: 0; }
p + p { margin-top: 20px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
h2 { font-size: clamp(38px, 3.65vw, 54px); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: 26px; line-height: 1.3; }
cite { font-style: normal; }
.wrap { width: min(calc(100% - var(--gut) * 2), 1280px); margin-inline: auto; }
.m-link { display: inline; line-height: 1.6; }
.m-link span[aria-hidden] { display: inline-block; margin-left: 5px; }
.skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { top: 12px; left: var(--gut); width: auto; height: auto; clip-path: none; padding: 10px 16px; background: var(--paper); z-index: 30; }

.masthead { position: sticky; top: 0; z-index: 10; height: var(--header); background: #e7ddc5 var(--paper-grain); border-bottom: 1px solid var(--line); }
.masthead-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 20px; text-decoration: none; color: var(--ink); }
.brand-name { font: 400 36px/1 var(--font-display); letter-spacing: -.04em; }
.brand-subtitle { font: 13px/1.4 var(--font-note); }
.masthead-nav { display: flex; align-items: center; gap: 40px; font: 14px/1.5 var(--font-note); }
.contents { position: relative; }
.contents summary { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; list-style: none; }
.contents summary::-webkit-details-marker { display: none; }
.contents-mark { font-size: 22px; width: 16px; text-align: center; }
.contents[open] .contents-mark { transform: rotate(45deg); }
.contents-list { position: absolute; top: calc(100% + 20px); right: 0; width: 370px; padding: 20px 24px 20px 52px; background: var(--paper) var(--paper-grain); border: 1px solid var(--line-strong); box-shadow: 3px 4px 0 #9a88634d; font-size: 14px; }
.contents-list li::marker { color: var(--action); font-size: 13px; }
.contents-list a { display: block; padding: 8px 0; text-decoration: none; }
.contents-list a:hover, .contents-list a:focus-visible { text-decoration: underline; }

.hero { min-height: calc(100svh - var(--header)); position: relative; display: flex; align-items: center; background: #dcd0b3 var(--paper-grain); border-bottom: 1px solid #ac9979; box-shadow: inset 0 -10px 18px -18px #483b25; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; column-gap: 64px; align-items: center; padding-block: 48px 24px; }
.hero-copy { padding-bottom: 24px; }
.eyebrow { font: 13px/1.5 var(--font-note); color: var(--muted); margin-bottom: 32px; }
.hero-eyebrow { margin-bottom: 24px; }
h1 { font-size: clamp(60px, 7.5vw, 110px); line-height: .96; letter-spacing: -.055em; }
h1 > span { display: block; width: fit-content; }
.ink-underline { position: relative; padding-bottom: 6px; }
.ink-underline::after { content: ""; position: absolute; bottom: 0; left: 1px; right: -5px; height: 6px; background: var(--action); clip-path: polygon(0 30%, 98% 0, 100% 38%, 1% 100%); opacity: .9; }
.hero-quote { margin-top: 32px; max-width: 560px; }
.hero-quote p { font-size: 21px; line-height: 1.55; }
.hero-quote cite { display: block; margin-top: 16px; font: 13px/1.7 var(--font-note); }
.hero-next { display: inline-block; margin-top: 28px; font: 14px/1.5 var(--font-note); }
.hero-document { position: relative; width: 100%; max-width: 550px; padding-top: 32px; justify-self: end; }
.document-tab { width: fit-content; padding: 10px 20px 11px; background: #caba95 var(--paper-grain); border: 1px solid #a28d68; border-bottom: 0; font: 13px/1.5 var(--font-note); margin-left: 24px; }
.document-preview { background: #f6f1e4 var(--paper-grain); padding: 24px; border: 1px solid #bbae92; box-shadow: 2px 3px 0 #b8a681, 4px 6px 0 #c8b997; }
.document-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font: 13px/1.6 var(--font-note); color: #544a3d; padding-bottom: 16px; }
.document-image { display: block; border: 1px solid #dfd8c6; background: white; }
.document-crop { position: relative; aspect-ratio: 620 / 420; overflow: hidden; }
.document-crop img { position: absolute; max-width: none; width: 216.9355%; left: -7.0968%; top: -39.0476%; }
.document-image:focus-visible { outline-offset: 6px; }
.document-image:hover { border-color: var(--action); }
.document-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; font: 13px/1.6 var(--font-note); }
.document-note { margin: 24px 0 0 24px; font: 13px/1.65 var(--font-note); color: #584c3d; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; grid-column: 1 / -1; margin-top: 32px; padding-top: 20px; border-top: 1px solid #b8a88b; color: #584c3d; font: 13px/1.6 var(--font-note); }
.hero-bottom > span:last-child { font-size: 24px; color: var(--action); }

.chapter { padding-block: 100px 104px; border-bottom: 1px solid var(--line); }
.chapter-number { display: inline-block; min-width: 48px; color: var(--action); }
.chapter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.chapter-intro h2 { max-width: 11em; }
.lead { font-size: 23px; line-height: 1.6; }
.chapter-intro .lead { margin-top: 32px; }
.source-link { display: inline-block; margin-top: 28px; font: 13px/1.8 var(--font-note); }
.chapter-body { min-width: 0; }
.chapter-body > h2 { margin-bottom: 32px; }
.decision-list { list-style: none; padding: 0; margin-block: 32px; }
.decision-list li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.decision-list li:last-child { border-bottom: 1px solid var(--line); }
.decision-index { font: 16px/1.7 var(--font-note); color: var(--action); }
.decision-list h3 { font-size: 24px; }
.decision-list p { margin-top: 6px; font-size: 16px; line-height: 1.65; }
.note { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 16px; }
.note summary { min-height: 52px; padding-block: 14px; cursor: pointer; font: 13px/1.7 var(--font-note); color: var(--action); }
.note > p { margin: 0 0 20px; }
.note > p + p { margin-top: -4px; }
.psovaya { background: #e0d3b6 var(--paper-grain); }
.wide-heading { font-size: clamp(40px, 4.7vw, 68px); line-height: 1.12; max-width: 100%; }
.reading-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px; }
.psovaya .reading-pair { padding-top: 40px; border-top: 3px solid var(--action); }
.chapli { background: #efe5cc var(--paper-grain); }
.chapli-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.chapli-measure { padding-top: 4px; }
.large-number { font: 400 clamp(150px, 16vw, 230px)/.85 var(--font-display); letter-spacing: -.08em; color: var(--action); }
.large-number span { display: block; padding-top: 24px; padding-left: 8px; font-size: 54px; line-height: 1; letter-spacing: -.03em; }
.measure-place { margin: 20px 0 0 8px; font-size: 28px; line-height: 1.3; }
.measure-claim { margin: 40px 0 0 8px; font: 13px/1.9 var(--font-note); }
.pull-quote { margin-block: 32px; padding: 4px 0 4px 28px; border-left: 3px solid var(--action); }
.pull-quote:first-child { margin-top: 0; }
.pull-quote p { font: 400 30px/1.35 var(--font-display); letter-spacing: -.025em; }
.pull-quote cite { display: block; margin-top: 20px; font: 13px/1.7 var(--font-note); color: var(--muted); }
.gusev { background: #cab896 var(--paper-grain); }
.gusev > .wrap > h2 { max-width: 15em; }
.large-quote { position: relative; padding: 40px 0; margin-top: 20px; border-bottom: 1px solid #8f7e60; }
.large-quote p { max-width: 22em; font: 400 clamp(32px, 3.5vw, 49px)/1.25 var(--font-display); letter-spacing: -.025em; }
.large-quote cite { display: block; margin-top: 24px; font: 13px/1.7 var(--font-note); }
.gusev .reading-pair { margin-top: 36px; }
.platonov { background: #e9dfc7 var(--paper-grain); }
.statement { font-size: 23px; line-height: 1.5; }
.vlcek { background: #dfd4bb var(--paper-grain); }
.vlcek .chapter-body > .m-link { display: inline-block; margin-top: 24px; font: 13px/1.7 var(--font-note); }
.conclusion { background: #842a24 var(--paper-grain); color: #fff1d4; border-color: #62251e; }
.conclusion .eyebrow, .conclusion .chapter-number { color: #f0d9b5; }
.conclusion h2 { font-size: clamp(48px, 6vw, 86px); line-height: 1.06; letter-spacing: -.035em; }
.conclusion .reading-pair { margin-top: 40px; }
.conclusion-last { font-size: 22px; line-height: 1.6; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 0; text-decoration: none; font: 14px/1.5 var(--font-note); cursor: pointer; }
.btn--primary { background: var(--action); color: var(--action-ink); }
.conclusion .btn { --action: #fff1d4; --bg: #842a24; --ink: #fff1d4; margin-top: 40px; background: #fff1d4; color: #70221d; }
.conclusion .btn:focus-visible { outline-color: #fff1d4; }
.sources { padding-bottom: 72px; background: #e7ddc5 var(--paper-grain); }
.sources-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.sources-heading .eyebrow { margin-bottom: 16px; }
.sources-heading > p { font: 13px/1.8 var(--font-note); color: var(--muted); }
.source-list { list-style: none; padding: 0; border-top: 1px solid var(--line-strong); }
.source-list li { border-bottom: 1px solid var(--line-strong); }
.source-list a { display: grid; grid-template-columns: 100px 1fr 32px; align-items: baseline; gap: 28px; padding: 24px 8px; text-decoration: none; transition: background-color var(--m-out, 200ms) ease; }
.source-year { font: 14px/1.6 var(--font-note); color: var(--muted); }
.source-name { font: 400 26px/1.35 var(--font-display); }
.source-name > span { display: block; margin-top: 4px; font: 16px/1.7 var(--font-body); color: var(--muted); }
.source-arrow { font-size: 26px; line-height: 1; color: var(--action); }
.source-list a:hover, .source-list a:focus-visible { background: #d8caaa; }
.site-footer { padding-block: 28px 36px; background: #d6c7a8 var(--paper-grain); }
.footer-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; font: 13px/1.7 var(--font-note); }

.scan-dialog { width: min(calc(100% - 40px), 1080px); max-height: calc(100svh - 40px); padding: 0; border: 1px solid var(--line-strong); border-radius: 0; background: var(--paper); color: var(--ink); }
.scan-dialog[open] { display: flex; flex-direction: column; }
.scan-dialog::backdrop { background: #231c15d9; }
.scan-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.scan-dialog-heading h2 { font: 14px/1.6 var(--font-note); letter-spacing: 0; }
.scan-close { border: 0; padding: 10px 0 10px 16px; min-height: 44px; background: transparent; color: var(--action); font: 13px/1.5 var(--font-note); cursor: pointer; white-space: nowrap; }
.scan-close span { font-size: 22px; margin-left: 8px; }
.scan-scroll { overflow: auto; flex: 1; overscroll-behavior: contain; background: #fff; min-height: 0; }
.scan-scroll img { width: max(100%, 900px); max-width: none; height: auto; }
.scan-dialog-foot { display: flex; justify-content: space-between; gap: 20px; padding: 16px 24px; font: 13px/1.6 var(--font-note); }
body:has(.scan-dialog[open]) { overflow: hidden; }

@media (min-width: 1450px) {
  .hero-grid { padding-block: 56px 32px; }
}
@media (max-width: 1199px) {
  .hero-grid, .chapter-grid, .reading-pair, .chapli-grid { column-gap: 40px; }
  .brand { gap: 16px; }
  .hero-quote p { font-size: 19px; }
  .document-preview { padding: 20px; }
  .document-heading { font-size: 13px; }
  .document-actions { font-size: 13px; }
  .document-note { margin-left: 20px; }
}
@media (max-width: 899px) {
  :root { --gut: 32px; --header: 78px; }
  .brand { gap: 12px; }
  .brand-name { font-size: 32px; }
  .brand-subtitle { font-size: 13px; }
  .masthead-nav { gap: 24px; }
  .hero-grid { column-gap: 32px; }
  h1 { font-size: 62px; }
  .hero-eyebrow { font-size: 13px; }
  .hero-document { padding-top: 0; }
  .document-preview { padding: 16px; }
  .document-heading { gap: 4px; font-size: 13px; }
  .document-actions { gap: 12px; font-size: 13px; }
  .document-note { margin-left: 0; font-size: 13px; }
  .chapter { padding-block: 80px; }
  .chapter-grid, .reading-pair, .chapli-grid { column-gap: 32px; }
  .chapter-grid { grid-template-columns: .95fr 1.05fr; }
  .lead { font-size: 21px; }
  .chapter-body { font-size: 17px; }
  .pull-quote { padding-left: 20px; }
  .pull-quote p { font-size: 27px; }
  .decision-list h3 { font-size: 23px; }
  .sources-heading { align-items: start; }
  .source-list a { grid-template-columns: 72px 1fr 24px; gap: 20px; }
}
@media (max-width: 699px) {
  :root { --gut: 24px; --header: 76px; }
  body { font-size: 17px; line-height: 1.7; }
  .brand { display: block; }
  .brand-name { display: block; font-size: 29px; }
  .brand-subtitle { display: block; font-size: 13px; margin-top: 3px; }
  .masthead-source { display: none; }
  .masthead-nav { font-size: 13px; gap: 0; }
  .contents summary { gap: 8px; }
  .contents-list { position: fixed; top: var(--header); left: 0; right: 0; width: auto; max-height: calc(100svh - var(--header)); overflow-y: auto; padding: 20px 28px 24px 52px; border-inline: 0; font-size: 14px; box-shadow: 0 3px 0 #9a88634d; }
  .contents-list a { min-height: 44px; display: flex; align-items: center; padding-block: 10px; }
  .hero { align-items: start; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-block: 28px 24px; }
  .hero-copy { padding: 0; }
  .hero-eyebrow { display: none; }
  h1 { font-size: clamp(49px, 13.8vw, 76px); line-height: .98; letter-spacing: -.045em; }
  h1 > span { display: inline; }
  .ink-underline { padding-bottom: 3px; }
  .ink-underline::after { height: 4px; bottom: -1px; right: 0; }
  .hero-quote { margin-top: 24px; }
  .hero-quote p { font-size: 18px; line-height: 1.5; }
  .hero-quote cite { margin-top: 12px; font-size: 13px; line-height: 1.5; }
  .hero-next { display: none; }
  .hero-document { width: 100%; max-width: 460px; margin: 28px auto 0; }
  .document-tab { display: none; }
  .document-preview { padding: 14px; box-shadow: 2px 3px 0 #b8a681; }
  .document-heading { padding-bottom: 10px; font-size: 13px; gap: 4px 12px; }
  .document-actions { padding-top: 12px; font-size: 13px; line-height: 1.5; }
  .document-note, .hero-bottom { display: none; }
  .chapter { padding-block: 64px; }
  .eyebrow { font-size: 13px; margin-bottom: 24px; }
  .chapter-number { min-width: 32px; }
  .chapter-grid, .reading-pair, .chapli-grid { grid-template-columns: 1fr; gap: 32px; }
  h2 { font-size: 38px; line-height: 1.14; }
  .chapter-intro h2 { max-width: 100%; }
  .chapter-intro .lead { margin-top: 24px; }
  .lead { font-size: 21px; }
  .chapter-body { font-size: 17px; }
  .source-link { margin-top: 24px; font-size: 13px; }
  .decision-list { margin-block: 28px; }
  .decision-list li { grid-template-columns: 24px 1fr; gap: 12px; }
  .decision-list p { font-size: 16px; }
  .note summary { font-size: 13px; }
  .wide-heading { font-size: 40px; }
  .wide-heading br { display: none; }
  .reading-pair { margin-top: 32px; }
  .psovaya .reading-pair { padding-top: 28px; gap: 24px; }
  .large-number { font-size: 160px; display: flex; align-items: baseline; gap: 24px; }
  .large-number span { display: inline; padding: 0; font-size: 46px; }
  .measure-place { margin: 16px 0 0; font-size: 28px; }
  .measure-claim { margin: 20px 0 0; font-size: 13px; }
  .measure-claim br { display: none; }
  .chapli-grid { gap: 40px; }
  .pull-quote { margin-block: 28px; padding-left: 20px; }
  .pull-quote p { font-size: 29px; }
  .pull-quote cite { margin-top: 16px; font-size: 13px; }
  .large-quote { padding-block: 24px 32px; margin-top: 8px; }
  .large-quote p { font-size: 34px; line-height: 1.25; }
  .large-quote cite { font-size: 13px; }
  .statement { font-size: 22px; }
  .vlcek .chapter-body > .m-link { font-size: 13px; }
  .conclusion h2 { font-size: 50px; }
  .conclusion-last { font-size: 21px; }
  .conclusion .btn { margin-top: 32px; width: 100%; }
  .sources-heading { flex-direction: column; align-items: start; gap: 20px; margin-bottom: 28px; }
  .sources-heading > p { font-size: 13px; }
  .source-list a { grid-template-columns: 48px 1fr 20px; gap: 16px; padding: 22px 0; }
  .source-year { font-size: 13px; padding-top: 4px; }
  .source-name { font-size: 24px; }
  .source-name > span { font-size: 15px; line-height: 1.55; margin-top: 6px; }
  .source-arrow { font-size: 23px; }
  .site-footer { padding-block: 24px; }
  .footer-row { font-size: 13px; gap: 20px; }
  .footer-row p { max-width: 190px; }
  .footer-row > a { white-space: nowrap; }
  .scan-dialog { width: calc(100% - 16px); max-height: calc(100svh - 16px); }
  .scan-dialog-heading { padding: 8px 16px; gap: 12px; }
  .scan-dialog-heading h2 { font-size: 13px; }
  .scan-close { font-size: 13px; }
  .scan-dialog-foot { flex-direction: column; padding: 12px 16px; gap: 8px; font-size: 13px; }
}
@media (max-width: 374px) {
  :root { --gut: 20px; }
  .brand-name { font-size: 27px; }
  .brand-subtitle { font-size: 13px; }
  .masthead-nav { font-size: 13px; }
  h1 { font-size: 47px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media print {
  :root { --gut: 0px; }
  body { background: white; font-size: 11pt; color: black; }
  .masthead { position: static; height: auto; padding-bottom: 16px; background: white; }
  .masthead-nav, .hero-next, .hero-bottom, .scan-dialog, .site-footer { display: none; }
  .hero, .chapter, .sources { background: white; color: black; padding-block: 24px; min-height: 0; }
  .hero-grid { padding-block: 24px; }
  .hero-document { display: none; }
  .hero-grid, .chapter-grid, .reading-pair, .chapli-grid { display: block; }
  .chapter-intro, .chapli-measure { margin-bottom: 24px; }
  h1 { font-size: 52pt; }
  h2, .wide-heading, .conclusion h2 { font-size: 26pt; }
  .chapter { break-inside: avoid; }
  .source-list a { color: black; }
}

.source-group + .source-group { margin-top: 48px; }
.source-group > h3 { font: 13px/1.6 var(--font-note); margin-bottom: 20px; color: var(--muted); letter-spacing: 0; }
.letter-excerpt { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.letter-excerpt p { max-width: 780px; }
.letter-excerpt .eyebrow { margin-bottom: 16px; }
.letter-excerpt .letter-note { margin-top: 16px; font: 13px/1.8 var(--font-note); color: var(--muted); }
