/* A desktop reading edition, narrowed deliberately for small screens. */
:root {
  --paper: #f7f4ea;
  --sheet: #fffdf7;
  --ink: #29271f;
  --muted: #625c4c;
  --ochre: #d8af39;
  --wash: #eee4bf;
  --rule: #c9c0a9;
  --focus: #674b08;
  font-family: "Literata", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; font-size: 18px; line-height: 1.65; }
button, input { font: inherit; }
button, a, summary, label { -webkit-tap-highlight-color: #d8af3955; }
button { color: inherit; }
button[hidden] { display: none; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
p { margin: 0 0 1.15em; }
h1, h2, h3 { line-height: 1.17; font-weight: 500; text-wrap: balance; }
h1 { font-size: 64px; letter-spacing: -.035em; margin: .2em 0 .42em; max-width: 16ch; }
h2 { font-size: 34px; letter-spacing: -.018em; margin: 0 0 .7em; }
h3 { font-size: 25px; margin: 1.15em 0 .65em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1.25em; }
li { padding-left: .2em; margin: .55em 0; }
li a, dd a, p a { display: inline-flex; align-items: center; min-height: 44px; }
figure { margin: 0; }
figcaption { font-size: 16px; color: var(--muted); line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; font-size: 16px; color: var(--muted); }
[data-role="skip"] { position: absolute; left: 24px; top: -100px; padding: 12px 18px; background: var(--ochre); z-index: 10; }
[data-role="skip"]:focus { top: 12px; }
[data-role="split-header"] {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  min-height: 124px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--rule);
}
[data-role="split-header"] nav { display: flex; gap: 24px; align-items: center; }
[data-role="header-right"] { justify-content: flex-end; }
[data-role="split-header"] nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  text-decoration: none;
}
[aria-current="page"] { box-shadow: inset 0 -3px var(--ochre); }
[data-role="masthead"] { text-align: center; font-size: 24px; line-height: 1.12; font-weight: 600; text-decoration: none; padding: 12px; }
[data-role="masthead"] span { display: block; font-size: 18px; font-weight: 400; }
[data-role="edition"] { width: min(1184px, calc(100% - 96px)); margin: 0 auto; }
[data-role="home-opening"] { display: grid; grid-template-columns: 1.65fr 1fr; gap: 64px; align-items: center; padding: 68px 0 72px; }
[data-role="running-title"] { font-size: 17px; margin: 0 0 26px; color: var(--muted); }
[data-role="lead"] { font-size: 22px; line-height: 1.55; max-width: 49ch; margin-bottom: 1.6em; }
[data-role="marker"] { background: linear-gradient(transparent 69%, #e6c75d 69%, #e6c75d 89%, transparent 89%); padding-bottom: .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
[data-role="hero-collage"] { position: relative; isolation: isolate; padding: 10px 0 0; }
[data-role="hero-collage"]::before { content: ""; display: block; position: absolute; width: 44%; aspect-ratio: 1; background: var(--ochre); border-radius: 50%; left: -18px; top: -8px; z-index: -1; }
[data-role="hero-collage"] img { width: 100%; aspect-ratio: 1; border-radius: 50%; background: #e9e0ca; object-fit: cover; }
[data-role="hero-collage"] figcaption { max-width: 29ch; margin: 24px auto 0; text-align: center; }
[data-role="square-link"], button[data-action="print-sheet"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ochre);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  cursor: pointer;
}
[data-role="square-link"]:hover, button[data-action="print-sheet"]:hover { background: #e5c25e; }
[data-role="text-link"] { display: inline-flex; align-items: center; min-height: 52px; font-size: 17px; margin: 12px 0 0 20px; }
[data-role="opening-comparison"] { display: grid; grid-template-columns: 1.45fr 1fr; gap: 76px; padding: 44px 0 32px; border-top: 2px solid var(--ink); }
[data-role="ink-note"] { background: var(--sheet); padding: 32px 36px; border-top: 7px solid var(--ochre); }
[data-role="ink-note"] h3 { margin-top: 0; }
[data-role="ink-note"] p:last-child { margin-bottom: 0; }
[data-role="comparison-wrap"] { margin: 44px 0 64px; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 18px; }
caption { caption-side: bottom; text-align: left; color: var(--muted); font-size: 16px; padding-top: 20px; line-height: 1.5; }
thead { background: var(--wash); }
th, td { text-align: left; vertical-align: top; padding: 24px; border-bottom: 1px solid var(--rule); line-height: 1.6; overflow-wrap: anywhere; }
thead th { font-weight: 600; padding-top: 16px; padding-bottom: 16px; }
tbody th { font-weight: 600; width: 25%; }
td a { display: inline-flex; align-items: center; min-height: 48px; }
[data-role="highlight-band"] { padding: 48px 64px; margin: 48px 0 72px; background: var(--wash); }
[data-role="highlight-band"] p { max-width: 66ch; }
[data-role="chapter-map"] { margin: 0 0 72px; }
[data-role="chapter-map"] > p { max-width: 62ch; }
[data-role="chapter-shelf"] { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; margin-top: 36px; }
[data-role="chapter-shelf"] li { padding: 0; margin: 0; border-top: 1px solid var(--rule); }
[data-role="chapter-shelf"] a { display: block; text-decoration: none; min-height: 136px; padding: 20px 0; }
[data-role="chapter-shelf"] span:first-child { display: block; font-size: 25px; margin-bottom: 8px; font-weight: 500; }
[data-role="chapter-shelf"] span:last-child { display: block; font-size: 16px; line-height: 1.6; color: var(--muted); }
[data-role="chapter-shelf"] a:hover span:first-child { text-decoration: underline; text-decoration-color: var(--focus); text-underline-offset: .2em; }
[data-role="chapter-opening"] { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: end; gap: 96px; padding: 56px 0 48px; border-bottom: 2px solid var(--ink); margin-bottom: 52px; }
[data-role="chapter-opening"] h1 { font-size: 56px; max-width: 21ch; }
[data-role="chapter-opening"] [data-role="lead"] { margin-bottom: 0; font-size: 21px; }
[data-role="opening-note"] { padding-bottom: 10px; font-size: 19px; line-height: 1.55; }
[data-role="opening-note"]::before { content: ""; display: block; width: 76px; height: 9px; margin: 0 0 26px; background: var(--ochre); transform: rotate(-3deg); border-radius: 70% 30% 45% 30%; }
[data-role="chapter-body"] > section:not([data-role]), [data-role="chapter-body"] > p { max-width: 72ch; }
[data-role="chapter-body"] > section { margin-bottom: 54px; }
[data-role="chapter-body"] > aside { margin-bottom: 54px; max-width: 75ch; }
[data-role="margin-slip"] { border-left: 7px solid var(--ochre); padding-left: 28px; margin: 32px 0; }
[data-role="margin-slip"] p { margin: 0; }
[data-role="word-pairs"] { margin: 32px 0; }
[data-role="word-pairs"] > div { display: grid; grid-template-columns: 170px 1fr; padding: 22px 0; border-top: 1px solid var(--rule); gap: 28px; }
dt { font-weight: 600; }
dd { margin: 0; }
[data-role="decision-caption"] { max-width: 72ch; padding: 28px 0 0; border-top: 7px solid var(--ochre); }
[data-role="paired-notes"] { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; }
[data-role="paired-notes"] h3 { margin-top: 5px; }
[data-role="collage-strip"] { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; margin: 44px 0 60px; }
[data-role="collage-strip"] img { width: 100%; aspect-ratio: 4/3; border-radius: 50%; object-fit: cover; background: #e9e0ca; }
[data-role="collage-strip"] figcaption { max-width: 26ch; font-size: 22px; color: var(--ink); }
[data-role="question-lines"] { list-style: none; padding: 0; }
[data-role="question-lines"] li { padding: 16px 0 16px 26px; margin: 0; border-bottom: 1px solid var(--rule); position: relative; }
[data-role="question-lines"] li::before { content: ""; width: 9px; height: 9px; background: var(--ochre); position: absolute; left: 0; top: 27px; border-radius: 50%; }
[data-role="urgent-note"] { padding: 34px 40px; background: var(--wash); border-left: 8px solid var(--focus); max-width: 75ch; }
[data-role="urgent-note"] p:last-child { font-size: 16px; margin: 0; color: var(--muted); }
[data-role="source-drawer"] { margin: 60px 0 36px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
summary { padding: 20px 6px; font-size: 18px; min-height: 64px; cursor: pointer; }
summary::marker { color: var(--focus); }
[data-role="source-leaf"] { padding: 0 28px 20px; max-width: 75ch; font-size: 17px; }
[data-role="source-leaf"] ul { padding: 0; list-style: none; }
[data-role="source-leaf"] li { margin: 0; padding: 0; }
[data-role="source-leaf"] a { display: inline-flex; align-items: center; min-height: 48px; padding: 5px 0; }
[data-role="page-turn"] { display: flex; justify-content: space-between; gap: 40px; padding: 28px 0 64px; }
[data-role="page-turn"] a { font-size: 24px; text-decoration: none; display: block; min-height: 78px; padding: 12px 0; }
[data-role="page-turn"] span { display: block; font-size: 16px; color: var(--muted); margin-bottom: 6px; }
[data-role="page-turn"] a:hover { text-decoration: underline; }
[data-role="site-footer"] { width: min(1280px, calc(100% - 80px)); margin: 0 auto; border-top: 2px solid var(--ink); padding: 30px 0 40px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 64px; font-size: 16px; }
[data-role="site-footer"] p { max-width: 54ch; margin: 8px 0; }
[data-role="site-footer"] nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; }
[data-role="site-footer"] a { min-height: 48px; display: inline-flex; align-items: center; }
[data-role="question-collage"] img { aspect-ratio: 1; width: 100%; border-radius: 50%; background: #e9e0ca; object-fit: cover; }
[data-role="question-collage"] figcaption { margin-top: 16px; }
[data-role="print-tools"] { display: flex; align-items: center; gap: 40px; max-width: 76ch; margin: 0 0 48px; }
[data-role="print-tools"] p { font-size: 17px; margin: 0; }
[data-role="checklist"] { border: 0; margin: 40px 0; padding: 0; max-width: 74ch; min-width: 0; }
legend { font-size: 28px; line-height: 1.3; font-weight: 500; padding: 0 0 16px; }
[data-role="check-item"] { display: flex; align-items: flex-start; gap: 20px; padding: 17px 8px; min-height: 64px; border-top: 1px solid var(--rule); cursor: pointer; font-size: 18px; }
[data-role="check-item"] input { width: 40px; height: 40px; flex: 0 0 40px; margin: 0; accent-color: var(--focus); }
[data-role="check-item"]:has(input:checked) { background: var(--wash); }
[data-role="write-space"] { max-width: 74ch; }
[data-role="blank-lines"] { height: 140px; background: repeating-linear-gradient(transparent 0, transparent 34px, var(--rule) 34px, var(--rule) 35px); }
[data-role="question-caption"] { max-width: 72ch; padding: 30px 0 0; border-top: 7px solid var(--ochre); }
@media (max-width: 1100px) {
  [data-role="split-header"] { width: calc(100% - 48px); gap: 18px; }
  [data-role="split-header"] nav { gap: 16px; }
  [data-role="edition"] { width: calc(100% - 64px); }
  [data-role="home-opening"] { gap: 36px; }
  h1 { font-size: 56px; }
  [data-role="chapter-opening"] { grid-template-columns: minmax(0, 1fr) 210px; gap: 48px; }
  [data-role="chapter-opening"] h1 { font-size: 48px; }
  [data-role="opening-comparison"], [data-role="paired-notes"] { gap: 40px; }
  th, td { padding: 20px; }
  [data-role="highlight-band"] { padding: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  [data-role="split-header"] { width: calc(100% - 40px); grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 18px 0 10px; }
  [data-role="masthead"] { grid-column: 1/-1; grid-row: 1; justify-self: center; font-size: 23px; }
  [data-role="masthead"] span { display: inline; margin-left: 6px; font-size: 18px; }
  [data-role="split-header"] nav { flex-direction: column; gap: 0; align-items: stretch; }
  [data-role="header-right"] a { justify-content: flex-end; text-align: right; }
  [data-role="split-header"] nav a { min-height: 46px; }
  [data-role="edition"] { width: calc(100% - 40px); }
  [data-role="home-opening"] { grid-template-columns: 1fr; gap: 36px; padding: 36px 0 44px; }
  h1 { font-size: 43px; line-height: 1.13; max-width: 17ch; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }
  [data-role="running-title"] { margin-bottom: 22px; font-size: 16px; }
  [data-role="lead"] { font-size: 21px; }
  [data-role="hero-collage"] { width: 74%; max-width: 330px; justify-self: center; }
  [data-role="hero-collage"]::before { left: -12px; top: -4px; }
  [data-role="hero-collage"] figcaption { margin-top: 18px; }
  [data-role="text-link"] { margin-left: 0; display: flex; width: fit-content; }
  [data-role="square-link"], button[data-action="print-sheet"] { font-size: 17px; max-width: 100%; text-align: left; }
  [data-role="opening-comparison"] { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  [data-role="ink-note"] { padding: 26px; }
  [data-role="comparison-wrap"] { margin: 32px 0 48px; }
  table { display: block; font-size: 17px; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody { display: block; }
  tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--rule); padding: 12px 0 18px; }
  tbody th { display: block; grid-column: 1/-1; width: auto; font-size: 23px; padding: 12px 0; border: 0; }
  td { display: block; padding: 12px 14px 0 0; border: 0; }
  td:last-child { padding-right: 0; }
  td:only-of-type { grid-column: 1/-1; }
  td::before { content: attr(data-label); display: block; margin-bottom: 12px; font-size: 16px; font-weight: 600; color: var(--muted); }
  caption { display: block; padding: 0 0 20px; }
  [data-role="highlight-band"] { margin: 40px 0 48px; padding: 30px 24px; }
  [data-role="chapter-shelf"] { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  [data-role="chapter-shelf"] a { min-height: 106px; }
  [data-role="chapter-shelf"] span:first-child { font-size: 25px; }
  [data-role="chapter-opening"] { grid-template-columns: 1fr; gap: 28px; padding: 34px 0 32px; margin-bottom: 36px; }
  [data-role="chapter-opening"] h1 { font-size: 41px; max-width: 20ch; }
  [data-role="chapter-opening"] [data-role="lead"] { font-size: 20px; }
  [data-role="opening-note"] { max-width: 33ch; font-size: 18px; }
  [data-role="opening-note"]::before { height: 6px; margin-bottom: 18px; }
  [data-role="opening-note"] p { margin-bottom: 0; }
  [data-role="word-pairs"] > div { grid-template-columns: 1fr; gap: 12px; }
  [data-role="paired-notes"] { grid-template-columns: 1fr; gap: 22px; }
  [data-role="collage-strip"] { grid-template-columns: 1fr; gap: 24px; }
  [data-role="collage-strip"] img { width: 76%; justify-self: center; }
  [data-role="collage-strip"] figcaption { font-size: 20px; }
  [data-role="urgent-note"] { padding: 26px 22px; }
  [data-role="source-leaf"] { padding: 0 6px 16px; }
  [data-role="page-turn"] { gap: 24px; padding-bottom: 40px; }
  [data-role="page-turn"] a { font-size: 21px; max-width: 46%; }
  [data-role="site-footer"] { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 20px; padding-bottom: 32px; }
  [data-role="site-footer"] nav { justify-content: flex-start; gap: 0 22px; }
  [data-role="question-collage"] { width: 54%; justify-self: center; }
  [data-role="print-tools"] { display: block; }
  [data-role="print-tools"] p { margin-top: 18px; }
  [data-role="check-item"] { gap: 14px; padding-left: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  @page { margin: 16mm; }
  :root { background: white; color: black; }
  body { background: white; font-size: 12pt; line-height: 1.45; }
  [data-role="split-header"], [data-role="skip"], [data-role="site-footer"], [data-role="page-turn"],
  [data-role="print-tools"], [data-role="question-collage"], [data-role="source-drawer"],
  [data-role="question-caption"] { display: none !important; }
  [data-role="edition"] { width: 100%; margin: 0; }
  [data-role="chapter-opening"] { display: block; margin: 0 0 20px; padding: 0 0 16px; }
  [data-role="chapter-opening"] h1 { font-size: 25pt; max-width: none; }
  [data-role="chapter-opening"] [data-role="lead"] { font-size: 12pt; margin: 0; }
  [data-role="running-title"] { font-size: 11pt; margin-bottom: 12px; }
  [data-role="checklist"] { margin: 16px 0; break-inside: avoid; }
  legend { font-size: 17pt; padding-bottom: 7px; }
  [data-role="check-item"] { padding: 8px 0; min-height: 0; gap: 12px; font-size: 12pt; break-inside: avoid; }
  [data-role="check-item"] input { width: 15px; height: 15px; flex-basis: 15px; margin-top: 4px; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  [data-role="check-item"]:has(input:checked) { background: white; }
  [data-role="write-space"] h2 { font-size: 17pt; }
  [data-role="write-space"] p { font-size: 12pt; }
  [data-role="blank-lines"] { background: none; height: 45mm; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; }
}
