@import url("direction-icons.css");
@font-face {
  font-family: "Ivar";
  src: url("assets/metamorph-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cover: #f3efe7;
  --paper: #faf8f2;
  --ink: #2b2923;
  --muted: #625e54;
  --accent: #765e41;
  --rule: #c6bdad;
  --serif: "Ivar", Georgia, serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cover);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: min(1120px, 88%); margin-inline: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: 12px; padding: 12px; background: var(--paper); transform: translateY(-170%); }
.skip:focus { z-index: 3; transform: none; }
h1, h2, p, figure, blockquote, ol { margin: 0; }
h1, h2, blockquote { font-family: var(--serif); font-weight: 400; }
.masthead, .colophon { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.masthead { min-height: 82px; border-bottom: 1px solid var(--rule); }
.imprint { display: flex; align-items: center; }
.imprint a { display: grid; align-items: center; min-height: 44px; }
.imprint img { display: block; width: 146px; height: auto; filter: brightness(0); opacity: .80; }
.imprint > span {
  margin-left: 17px;
  padding-left: 17px;
  border-left: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 19px;
  color: var(--muted);
}
.guide-link, .colophon a, .source-links a {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 44px;
  font-size: 14px;
  text-decoration: none;
}
.guide-link:hover, .colophon a:hover, .source-links a:hover { text-decoration: underline; }
.cover { padding-block: clamp(40px, 4vw, 60px) clamp(30px, 4vw, 56px); }
.eyeline, .section-date {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(63px, 7.2vw, 100px);
  line-height: .98;
  letter-spacing: -.034em;
  margin-block: 20px 22px;
}
h1 em { display: block; color: var(--accent); font-weight: 400; }
.standfirst { display: flex; gap: 30px; align-items: end; justify-content: space-between; }
.standfirst p:first-child { max-width: 52ch; font-size: clamp(19px, 1.8vw, 25px); line-height: 1.48; }
.edition { flex: none; font-size: 13px; line-height: 1.65; color: var(--muted); text-align: right; }
.edition time { display: block; }
.edition-divider { display: none; }
.cover-image { margin-top: clamp(24px, 3vw, 44px); }
picture, picture img { display: block; width: 100%; }
.cover-image img { aspect-ratio: 2.8; object-fit: cover; object-position: 50% 53%; height: auto; }
.cover-image figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 16px; padding-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.reading-surface { border-block: 1px solid var(--rule); background: var(--paper); }
.reading-layout {
  display: grid;
  grid-template-columns: minmax(155px, 210px) minmax(0, 665px);
  column-gap: clamp(52px, 8vw, 120px);
  align-items: start;
  padding-block: clamp(48px, 6vw, 90px) clamp(55px, 7vw, 100px);
}
.guide { position: sticky; top: 28px; scroll-margin-top: 20px; }
.guide h2 { font-size: 25px; letter-spacing: -.02em; margin-bottom: 14px; }
.guide ol { list-style: none; counter-reset: sections; padding: 0; border-bottom: 1px solid var(--rule); }
.guide li { counter-increment: sections; border-top: 1px solid var(--rule); }
.guide li a { display: flex; align-items: baseline; gap: 12px; min-height: 44px; padding-block: 12px; text-decoration: none; font-size: 14px; line-height: 1.5; }
.guide li a::before { content: counter(sections, decimal-leading-zero); font-family: var(--serif); color: var(--accent); }
.guide li a:hover { text-decoration: underline; }
.manuscript section { scroll-margin-top: 26px; }
.manuscript section + section { margin-top: clamp(44px, 5.5vw, 78px); padding-top: clamp(32px, 4.2vw, 55px); border-top: 1px solid var(--rule); }
.manuscript section h2 { margin: 10px 0 20px; font-size: clamp(38px, 4.1vw, 56px); letter-spacing: -.04em; line-height: 1.08; }
.manuscript section > p:not(.section-date) { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.68; }
.manuscript section > p + p { margin-top: 18px; }
.correspondence { border-left: 2px solid #aa9474; margin-block: 30px; padding-left: clamp(16px, 2.4vw, 30px); }
.correspondence blockquote { color: #584a36; font-size: clamp(26px, 2.4vw, 33px); line-height: 1.28; letter-spacing: -.015em; }
.correspondence figcaption, .source-image figcaption { margin-top: 10px; color: var(--muted); line-height: 1.5; }
.correspondence figcaption { font-size: 13px; }
.correspondence figcaption span { margin-inline: 3px; }
.source-image { margin-block: 26px; }
.source-image picture { position: relative; overflow: hidden; aspect-ratio: 1.95; background: #0d100d; }
.source-image img { position: absolute; width: 147%; height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.source-image figcaption { font-family: var(--serif); font-style: italic; font-size: 17px; }
.record { width: 100%; margin-top: 28px; border-collapse: collapse; text-align: left; font-size: 15px; line-height: 1.4; }
.record caption { text-align: left; font: 23px/1.3 var(--serif); padding-bottom: 14px; }
.record th, .record td { border-bottom: 1px solid var(--rule); padding: 12px 10px; vertical-align: top; }
.record thead { border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }
.record th { font-weight: 500; }
.record tr > :first-child { padding-left: 0; }
.record tr > :last-child { padding-right: 0; }
.record tbody td:last-child { color: #514530; font-weight: 600; }
.source-note { border-top: 1px solid var(--rule); margin-top: 44px; padding-top: 22px; }
.source-note h2 { font-size: 25px; }
.source-note p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.source-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 8px; }
.source-links a { color: #56452e; text-decoration: underline; }
.colophon { padding-block: 16px; color: var(--muted); }
.colophon > span { font: 20px/1.4 var(--serif); }
@media (max-width: 920px) {
  .reading-layout { display: block; max-width: 665px; }
  .guide { position: static; margin-bottom: 44px; }
  .guide li a { padding-block: 10px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 44px); }
  .standfirst { display: block; }
  .edition { margin-top: 18px; text-align: left; }
  .edition time, .edition-divider { display: inline; }
}
@media (max-width: 650px) {
  .masthead { min-height: 66px; gap: 8px; }
  .imprint img { width: 108px; }
  .imprint > span { font-size: 16px; margin-left: 10px; padding-left: 10px; }
  .guide-link { font-size: 13px; gap: .35em; }
  h1 { font-size: clamp(46px, 10.5vw, 65px); text-wrap: balance; line-height: 1.02; margin-block: 16px; }
  h1 em { display: inline; }
  .standfirst p:first-child { font-size: 18px; }
  .cover-image img { aspect-ratio: 1.48; object-position: center 56%; }
  .source-image picture { aspect-ratio: 1.32; }
  .source-image img { position: static; width: 100%; height: 100%; transform: none; object-fit: cover; object-position: center bottom; }
  .record th, .record td { padding-inline: 6px; }
  .record { font-size: 14px; }
  .colophon > span { font-size: 17px; }
}
@media print {
  .wrap { width: 100%; }
  .guide, .guide-link, .source-links, .colophon a { display: none; }
  .reading-layout { display: block; padding-block: 2rem; }
  .cover-image, .source-image, .record, .correspondence { break-inside: avoid; }
}

.article-link { margin-top: 20px; }
.article-link a { display: inline-block; padding-block: 5px; color: var(--accent); }
.case-strip { margin-top: clamp(26px,4vw,50px); padding: clamp(20px,3vw,34px); background: #28352f; color: #faf6e9; }
.case-strip figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; line-height: 1.5; }
.case-strip figcaption span { color: #dbd6c9; font-style: italic; }
.case-strip > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding-top: 24px; }
.case-strip p { display: grid; align-content: start; gap: 7px; padding-top: 11px; border-top: 1px solid #758078; }
.case-strip p span { color: #e0dacc; font-size: 13px; line-height: 1.4; }
.case-strip strong { font: 400 clamp(22px,3vw,39px)/1.12 var(--serif); }
.sheet-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 22px; margin-block: 24px; }
.sheet-fields label { display: grid; gap: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.sheet-fields input { min-width: 0; width: 100%; min-height: 44px; color: var(--ink); background: #fffefa; border: 1px solid #b6ae9f; border-radius: 2px; padding: 8px 10px; font: inherit; font-size: 16px; }
.file-checks { padding: 0; border: 0; margin: 30px 0 20px; min-width: 0; }
.file-checks legend { padding: 0 0 12px; font: 28px/1.15 var(--serif); }
.file-checks label { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start; padding: 15px 0; border-top: 1px solid var(--rule); font-size: 17px; line-height: 1.5; cursor: pointer; }
.file-checks label:last-child { border-bottom: 1px solid var(--rule); }
.file-checks input { width: 19px; height: 19px; margin: 3px 0 0; accent-color: #536249; }
.sheet-fields input:focus-visible, .file-checks input:focus-visible, .print-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.print-action { padding: 13px 24px; min-height: 44px; border: 1px solid #263c2c; border-radius: 2px; background: #28352f; color: #faf6e9; font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.25; cursor: pointer; }
.print-action:hover { background: #37493d; }
.print-only, .print-value { display: none; }
@media (max-width: 650px) {
  .case-strip > div { grid-template-columns: 1fr; gap: 9px; padding-top: 18px; }
  .case-strip p { grid-template-columns: 1fr 1fr; align-items: baseline; }
  .case-strip strong { text-align: right; }
}
@media (max-width: 450px) {
  .sheet-fields { grid-template-columns: 1fr; gap: 12px; }
  .file-checks label { font-size: 16px; }
}
@media print {
  @page { size: auto; margin: 0.55in; }
  body { background: white; color: black; }
  .traffic-choice, .screen-only, .skip, .colophon { display: none !important; }
  .masthead { min-height: 0; padding-bottom: 8pt; }
  .cover { padding: 14pt 0; }
  h1 { font-size: 36pt; }
  .cover-image img { max-height: 110pt; object-fit: cover; }
  .reading-surface { border: none; background: white; }
  .reading-layout { display: block; max-width: none; padding: 12pt 0; }
  .manuscript section h2 { break-after: avoid; margin: 12pt 0 6pt; font-size: 22pt; }
  .manuscript section > p:not(.section-date) { font-size: 10pt; line-height: 1.45; }
  .manuscript section + section { margin-top: 15pt; padding-top: 10pt; }
  .worksheet-page .masthead, .worksheet-page .cover, .worksheet-page .source-note, .worksheet-page .manuscript section:not(#worksheet) { display: none; }
  .worksheet-page .reading-layout { padding: 0; }
  .worksheet-page #worksheet { border: 0; }
  .worksheet-page #worksheet h2 { display: none; }
  .worksheet-page .paper-title { margin: 0 0 3pt; font: 24pt/1.1 var(--serif); }
  .worksheet-page .print-only { display: block; }
  .worksheet-page #worksheet .paper-subtitle, .worksheet-page #worksheet .paper-note { color: #444; font-size: 9pt; line-height: 1.35; margin: 0 0 6pt; }
  .sheet-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6pt 15pt; margin: 10pt 0; }
  .sheet-fields label { color: #333; font-size: 9pt; gap: 0; break-inside: avoid; }
  .sheet-fields input, .sheet-fields .print-value { min-height: 17pt; border: 0; border-bottom: 0.6pt solid #777; padding: 1pt 0; color: black; background: white; font-size: 10pt; line-height: 12pt; overflow-wrap: anywhere; }
  .has-print-values .sheet-fields input { display: none; }
  .has-print-values .sheet-fields .print-value { display: block; }
  .file-checks { margin: 10pt 0; }
  .file-checks legend { padding-bottom: 5pt; font-size: 16pt; }
  .file-checks label { grid-template-columns: 11pt 1fr; gap: 7pt; padding: 6pt 0; font-size: 10pt; line-height: 1.3; break-inside: avoid; }
  .file-checks input { width: 10pt; height: 10pt; margin-top: 1pt; }
}

@media screen {
  body:has(> .nav-shell) .guide { top: calc(var(--brand-bar-height) + 16px); }
  .guide:focus-visible h2, .reading-layout section[tabindex="-1"]:focus-visible > h2 { outline: 2px solid var(--accent); outline-offset: 4px; }
  .guide:focus, .reading-layout section[tabindex="-1"]:focus { outline: none; }
  .reading-layout > :last-child { min-width: 0; }
  body:has(> .nav-shell) .cover > .guide-link { margin-top: 8px; }
  body:has(> .nav-shell) .skip:focus { position: fixed; z-index: 45; }
}
@media screen and (min-width: 921px), screen and (horizontal-viewport-segments: 2) {
  .reading-layout .guide {
    max-height: calc(100dvh - var(--brand-bar-height, 68px) - 32px);
    overflow-y: auto;
    padding: 4px;
    margin: -4px;
  }
  .guide a:focus-visible { outline-offset: -2px; }
}
@media screen and (horizontal-viewport-segments: 2) {
  .reading-layout {
    display: grid;
    width: auto;
    max-width: none;
    margin-inline: 16px;
    grid-template-columns: minmax(0, calc(env(viewport-segment-width 0 0) - 32px)) minmax(0, 1fr);
    column-gap: calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0) + 32px);
  }
  .reading-layout .guide { position: sticky; }
}
