@charset "UTF-8";
:root {
  --paper: #fffef8;
  --white: #fffef8;
  --ink: #1c2026;
  --muted: #596171;
  --line: #c9cbd0;
  --yellow: #eee84a;
  --blue: #1d40c4;
  --green: #1d40c4;
  --lime: #eee84a;
  --orange: #1d40c4;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: var(--sans);
  --mono: Consolas, "SFMono-Regular", monospace;
  --display: Impact, "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.75 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select { touch-action: manipulation; }
button { cursor: pointer; border: 0; background: none; }
button:disabled { cursor: default; opacity: .6; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px dashed var(--blue); outline-offset: 4px; }
::selection { background: var(--yellow); color: var(--ink); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.45; letter-spacing: 0; text-wrap: balance; }
p { color: #414854; text-wrap: pretty; }
small { font-size: 12px; }
.masthead { position: sticky; top: 0; z-index: 20; min-height: 84px; padding: 0 4%; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--blue); color: #fff; border-bottom: 2px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brand-mark { font-size: 31px; line-height: 1; font-weight: 600; letter-spacing: .05em; }
.brand-title { font-size: 17px; line-height: 1.35; }
.brand-title small { display: block; font: 10px/1.5 var(--mono); letter-spacing: .12em; margin-top: 3px; }
.masthead nav { display: flex; align-self: stretch; align-items: stretch; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.masthead nav::-webkit-scrollbar { display: none; }
.masthead nav a { display: flex; align-items: center; padding: 0 19px; white-space: nowrap; font-size: 14px; border-left: 1px solid transparent; border-right: 1px solid transparent; }
.masthead nav a.active { color: var(--ink); background: var(--yellow); border-color: var(--ink); }
.masthead nav a span { font: 11px var(--mono); margin-left: 6px; }
.search-trigger { padding: 8px 12px; border: 1px solid #ffffffb3; font-size: 13px; white-space: nowrap; min-height: 42px; }
.search-trigger>span { font-size: 22px; vertical-align: middle; margin-right: 8px; }
.search-trigger kbd { font: 11px var(--mono); margin-left: 24px; border: 1px solid #ffffff9c; padding: 1px 5px; }
.masthead :focus-visible { outline-color: var(--yellow); }
main { max-width: 1480px; min-height: 75vh; margin: auto; padding: 0 64px 88px; }
.yearbook-cover { display: grid; grid-template-columns: 95px minmax(0,1fr); margin: 0 -64px; background: var(--yellow); border-bottom: 2px solid var(--ink); }
.cover-spine { padding: 32px 15px 26px; border-right: 2px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 35px; }
.cover-spine>span { writing-mode: vertical-rl; font: 12px/1.4 var(--mono); letter-spacing: .12em; }
.cover-spine strong { font: 37px/1.1 var(--display); text-align: center; font-weight: 400; }
.cover-spine strong span { font: 25px var(--mono); }
.cover-spine small { writing-mode: vertical-rl; letter-spacing: .2em; font-size: 12px; }
.cover-main { min-width: 0; }
.cover-spread { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6%; padding: 36px 50px 30px; }
.cover-label { font-size: 12px; letter-spacing: .14em; }
.cover-heading h1 { font-size: clamp(38px,4vw,56px); line-height: 1.5; margin: 18px 0 22px; }
.cover-heading p { color: var(--ink); font-size: 14px; line-height: 1.8; margin-bottom: 0; }
.cover-index { padding-top: 12px; align-self: center; }
.cover-index h2 { font-size: 15px; margin-bottom: 20px; }
.cover-index>a { display: block; padding: 18px 0; border-top: 2px solid var(--ink); }
.cover-index>a strong { font-size: 20px; line-height: 1.6; font-weight: 500; }
.cover-index>a span { display: block; font: 12px/1.6 var(--mono); margin-top: 7px; }
.cover-index>a span b { float: right; font-size: 22px; font-weight: 400; }
.cover-index .cover-all { font-size: 13px; border-top: 1px solid var(--ink); padding: 12px 0 0; }
.cover-all>b { float: right; font-size: 20px; font-weight: 400; }
.stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: var(--paper); border-top: 2px solid var(--ink); }
.stat { display: flex; flex-direction: column; padding: 22px 32px; border-right: 1px solid var(--ink); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat b { font: 51px/1 var(--display); font-weight: 400; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; margin-top: 9px; }
.chapter-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 45px; padding: 57px 0 20px; }
.chapter-caption { font-size: 12px; color: var(--blue); }
.chapter-intro { padding-top: 18px; }
.chapter-intro h2 { font-size: 35px; margin: 10px 0 16px; }
.chapter-intro p { font-size: 14px; line-height: 1.9; margin-bottom: 25px; }
.text-link { font-size: 13px; color: var(--blue); border-bottom: 1px solid var(--blue); padding-bottom: 4px; }
.projects-grid { display: block; min-width: 0; }
.project-card { display: grid; grid-template-columns: 54px minmax(0,1fr) 30px; gap: 16px; padding: 27px 0; border-top: 2px solid var(--ink); }
.project-card:last-child { border-bottom: 2px solid var(--ink); }
.chapter-number { font: 37px/1.3 var(--display); color: var(--blue); }
.project-copy { min-width: 0; }
.project-heading { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.project-heading h3 { margin: 0 0 14px; font-size: 24px; }
.project-card p { font-size: 14px; line-height: 1.8; margin: 0 0 13px; max-width: 43em; }
.project-arrow { font-size: 27px; line-height: 1.3; text-align: right; }
.card-bottom { font: 12px/1.7 var(--mono); color: var(--muted); }
.status { display: inline-block; font-size: 10px; line-height: 1.7; border: 1px solid var(--blue); color: var(--blue); padding: 2px 7px; white-space: nowrap; font-weight: 400; }
.status.open { color: var(--ink); border-color: var(--ink); background: var(--yellow); }
.two-columns { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 42px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 22px; }
.section-title h2 { font-size: 29px; margin: 0; }
.recent-row { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 16px; border-top: 1px solid var(--ink); padding: 22px 0; }
.recent-row time { font: 12px/1.7 var(--mono); color: var(--muted); padding-top: 5px; }
.recent-row h3 { font-size: 18px; margin-bottom: 9px; }
.recent-row p { font-size: 14px; margin-bottom: 8px; }
.research-panel { background: var(--blue); color: white; padding: 28px; align-self: start; }
.research-panel-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.research-panel h2 { font-size: 30px; margin: 0; }
.research-panel-heading strong { font: 63px/1 var(--display); color: var(--yellow); font-weight: 400; }
.research-panel p { color: #ffffffdb; font-size: 14px; line-height: 1.9; margin: 19px 0 25px; }
.research-panel>a { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #ffffff8a; padding: 17px 0; font-size: 14px; }
.research-panel>a span { color: var(--yellow); font-size: 21px; flex-shrink: 0; }
.research-panel :focus-visible { outline-color: var(--yellow); }
.source-note { padding: 21px 0; margin-top: 34px; border-top: 1px solid var(--ink); font-size: 12px; color: var(--muted); line-height: 1.8; }
.source-note a { display: inline-block; color: var(--blue); margin-left: 8px; }
.page-head { padding: 45px 64px 39px; margin: 0 -64px 39px; background: var(--yellow); border-bottom: 2px solid var(--ink); }
.page-head h1 { font-size: clamp(31px,4.3vw,55px); max-width: 1000px; margin: 14px 0 17px; }
.page-head p { font-size: 15px; line-height: 1.85; max-width: 56em; color: var(--ink); margin: 0; }
.eyebrow { font: 11px/1.6 var(--mono); letter-spacing: .06em; color: var(--blue); }
.breadcrumb { font-size: 12px; margin-bottom: 24px; color: #45464c; overflow-wrap: anywhere; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 30px; padding: 0 0 23px; border-bottom: 2px solid var(--ink); }
.filters input, .filters select { border: 1px solid var(--ink); background: var(--paper); padding: 10px 12px; min-height: 46px; font-size: 14px; min-width: 0; max-width: 100%; border-radius: 0; }
.filters input { flex: 1; min-width: 220px; }
.filters label { font-size: 12px; }
.filter-reset { color: var(--blue); font-size: 12px; padding: 9px 5px; min-height: 42px; white-space: nowrap; }
.count-label { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.project-detail { display: grid; grid-template-columns: minmax(0,1fr) 245px; gap: 50px; align-items: start; }
.project-detail section { margin-bottom: 48px; }
.project-detail h2 { font-size: 27px; margin-bottom: 23px; }
.project-detail p { max-width: 44em; }
.side-note { position: sticky; top: 110px; padding: 22px; border: 2px solid var(--ink); background: var(--paper); }
.side-note h3 { font-size: 18px; margin: 10px 0 13px; }
.side-note p, .side-note a { font-size: 12px; line-height: 1.9; }
.side-note p { margin-top: 17px; }
.side-note a { display: block; border-top: 1px solid var(--line); padding: 9px 0; color: var(--blue); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 10px; padding: 2px 7px; background: #f0f0e7; border: 1px solid #d0d0c5; }
.achievement { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 13px; border-top: 1px solid var(--ink); padding: 22px 0; }
.achievement>span { font: 26px/1.5 var(--display); color: var(--blue); }
.achievement p { margin: 0; font-size: 16px; line-height: 1.85; }
.refs { display: inline-flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; max-width: 100%; }
.ref { font: 11px/1.5 var(--mono); padding: 3px 7px; border: 1px solid #7789c3; color: var(--blue); min-height: 25px; background: transparent; }
.timeline { position: relative; }
.event { display: grid; grid-template-columns: 94px minmax(0,1fr); gap: 25px; padding: 22px 0; border-top: 1px solid var(--line); }
.event time { font: 12px/1.7 var(--mono); color: var(--blue); padding-top: 4px; }
.event h3 { font-size: 19px; margin: 0 0 8px; }
.event p { margin-bottom: 0; font-size: 15px; line-height: 1.85; max-width: 47em; }
.event .meta { font-size: 11px; line-height: 1.8; color: var(--muted); margin-top: 9px; }
.event .meta a { color: var(--blue); }
.event-year { font: 49px/1.2 var(--display); margin: 33px 0 10px; color: var(--blue); font-weight: 400; border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.issue-card { display: block; padding: 25px 0; border-top: 1px solid var(--ink); }
.issue-card:last-child { border-bottom: 1px solid var(--ink); }
.issue-card .eyebrow { font-size: 10px; }
.issue-card h3 { font-size: 23px; margin: 11px 0 12px; max-width: 40em; }
.issue-card p { font-size: 15px; line-height: 1.85; margin-bottom: 15px; max-width: 53em; }
.issue-meta { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--blue); }
.issue-heading { display: flex; align-items: center; gap: 14px; }
.attempt { padding: 20px 0; border-top: 1px solid var(--line); }
.attempt p { margin-bottom: 0; font-size: 16px; }
.last-known { padding: 25px; border: 2px solid var(--ink); background: #f7f5d8; }
.last-known p { margin: 0; font-size: 16px; line-height: 1.85; }
.next-steps { padding-left: 24px; max-width: 44em; }
.next-steps li { padding: 6px 0; color: #414854; }
.research-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 46px; padding: 10px 20px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 13px; white-space: nowrap; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.research-prompt { padding: 23px; border: 1px solid var(--ink); white-space: pre-wrap; font: 13px/1.8 var(--sans); max-height: 370px; overflow: auto; overflow-wrap: anywhere; background: #fff; }
.library-row { display: grid; grid-template-columns: 52px minmax(0,1fr) 120px; gap: 22px; padding: 28px 0; border-top: 1px solid var(--ink); align-items: start; }
.file-type { width: 48px; height: 54px; border: 1px solid var(--blue); color: var(--blue); display: flex; align-items: center; justify-content: center; font: 10px/1 var(--mono); }
.library-row h3 { font-size: 20px; line-height: 1.6; margin: 0 0 7px; overflow-wrap: anywhere; }
.library-row .file-meta { font-size: 11px; color: var(--muted); line-height: 1.85; margin: 0; }
.file-meta a { color: var(--blue); border-bottom: 1px solid #a5aed4; }
.library-row .document-summary { font-size: 16px; line-height: 1.85; margin: 20px 0 12px; max-width: 43em; color: #303945; }
.summary-points { padding-left: 19px; margin: 12px 0; font-size: 14px; line-height: 1.9; color: #454d5b; max-width: 47em; }
.summary-points li { padding: 3px 0; }
.library-row .summary-caveat { font-size: 14px; line-height: 1.85; color: #596171; margin: 13px 0; max-width: 47em; }
.document-source { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--muted); margin-top: 16px; }
.document-source .refs { margin: 0; }
.library-row .reading-scope { font-size: 14px; line-height: 1.8; color: var(--muted); margin-top: 14px; }
.reading-scope p { font-size: 14px; margin-top: 10px; }
.library-row summary { cursor: pointer; }
.library-row details ul { padding-left: 18px; }
.library-action { text-align: right; }
.file-button { display: inline-block; font-size: 12px; color: var(--blue); border: 1px solid var(--blue); padding: 7px 12px; white-space: nowrap; }
.summary-only { font-size: 10px; color: var(--muted); }
.library-more { padding: 30px 0 0; border-top: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; gap: 25px; }
.library-more span { font-size: 12px; color: var(--muted); }
.output-intro { font-size: 14px; line-height: 1.85; max-width: 48em; }
.output-intro a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.output-row { padding: 24px 0; border-top: 1px solid var(--line); }
.output-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 12px; }
.output-heading h3 { font-size: 19px; margin: 5px 0 0; }
.output-heading .file-button { min-height: 44px; display: inline-flex; align-items: center; flex-shrink: 0; }
.output-row p { font-size: 14px; line-height: 1.85; margin-bottom: 9px; max-width: 48em; }
.output-row .output-scope { color: var(--muted); }
.output-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 16px; margin-top: 14px; font-size: 14px; line-height: 1.8; }
.output-links>span { color: var(--muted); font-size: 12px; }
.output-links>a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
@media(max-width:600px) {
  .output-heading { flex-wrap: wrap; gap: 12px; }
  .output-links { gap: 6px 12px; }
}
.figure-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 18px; }
.figure-grid:empty { display: none; }
.figure-grid figure { margin: 0 0 24px; padding: 14px; border: 1px solid var(--line); background: #fff; }
.figure-grid img { width: 100%; height: 260px; object-fit: contain; }
.figure-grid figcaption { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.prose { max-width: 850px; margin: auto; }
.prose h2 { font-size: 27px; margin: 40px 0 20px; }
.prose p, .prose li { font-size: 16px; line-height: 1.9; color: #414854; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose td, .prose th { text-align: left; padding: 15px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; border-top: 2px solid var(--ink); background: var(--yellow); }
.chart-bars { height: 125px; display: flex; align-items: end; gap: 13px; margin: 35px 0 25px; }
.chart-col { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 7px; font: 11px var(--mono); color: var(--muted); }
.chart-col small { font: 10px var(--mono); }
.chart-bar { width: 100%; min-height: 2px; background: var(--blue); }
.empty { padding: 48px 25px; border: 1px dashed #6d7ba5; text-align: center; color: var(--muted); font-size: 15px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 35px; border-top: 2px solid var(--ink); padding: 32px 5%; background: var(--blue); color: #fff; font-size: 11px; }
footer strong { display: block; font-size: 23px; font-weight: 600; margin-bottom: 5px; }
footer div span { color: #ffffffd1; font-size: 12px; }
footer>a { border-bottom: 1px solid #ffffff80; padding-bottom: 3px; }
footer>span { font: 13px var(--mono); color: var(--yellow); }
dialog { border: 2px solid var(--ink); background: var(--paper); padding: 26px; color: var(--ink); }
dialog::backdrop { background: #17203d7a; }
#evidence-dialog { width: min(600px,100%); max-width: 100%; min-height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-top: 0; border-bottom: 0; overflow: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 15px; margin-bottom: 25px; gap: 15px; }
.drawer-head button { min-width: 40px; min-height: 40px; font-size: 28px; }
.drawer-head h2 { font-size: 24px; margin: 0; }
#evidence-title { font-size: 20px; }
.evidence-meta { font-size: 12px; color: var(--muted); line-height: 1.85; margin-bottom: 20px; }
.evidence-text { font-size: 15px; line-height: 1.9; padding: 22px; border: 1px solid var(--line); background: #fff; white-space: pre-wrap; overflow-wrap: anywhere; }
.evidence-asset img { max-width: 100%; max-height: 400px; object-fit: contain; margin-top: 16px; }
.evidence-asset a { display: block; color: var(--blue); padding: 12px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.evidence-asset p, .dialog-note { font-size: 12px; color: var(--muted); line-height: 1.8; }
.dialog-note { margin-top: 20px; }
#search-dialog { width: 730px; max-width: calc(100% - 28px); max-height: 86dvh; margin-top: 6vh; }
#global-search { width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; padding: 13px 0; font-size: 20px; }
#search-results { max-height: 53vh; overflow: auto; }
.search-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.search-item small { color: var(--blue); font-size: 11px; }
.search-item h3 { font-size: 17px; margin: 6px 0; }
.search-item p { font-size: 13px; line-height: 1.85; margin: 0; }
.search-item button { text-align: left; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: fixed; top: -100px; left: 15px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px; }
.skip:focus { top: 8px; }
#toast { position: fixed; bottom: 25px; left: 50%; z-index: 100; background: var(--blue); border: 1px solid var(--ink); color: white; padding: 11px 25px; font-size: 13px; max-width: 92%; opacity: 0; transform: translate(-50%,10px); pointer-events: none; transition: opacity 150ms,transform 150ms cubic-bezier(.2,.8,.2,1); }
#toast.visible { opacity: 1; transform: translate(-50%,0); }
.loading { padding: 60px 0; }
.research-note { font-size: 14px; line-height: 1.85; }
.btn:active, .file-button:active, .ref:active { background: var(--yellow); color: var(--ink); }
.fade-in { animation: reveal 180ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes reveal { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (hover:hover) and (pointer:fine) {
  .masthead nav a:not(.active):hover { background: #1633a3; }
  .search-trigger:hover { background: #ffffff1f; }
  .cover-index>a:hover, .stat:hover { background: #ffffff55; }
  .project-card:hover .project-heading h3, .issue-card:hover h3 { color: var(--blue); }
  .project-card:hover .project-arrow { transform: translate(2px,-2px); }
  .project-arrow { transition: transform 150ms cubic-bezier(.2,.8,.2,1); }
  .btn:hover, .file-button:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
  .ref:hover { background: var(--yellow); }
  .text-link:hover, .filter-reset:hover { color: var(--ink); }
  .research-panel>a:hover { color: var(--yellow); }
}
@media(min-width:1480px) {
  .masthead { padding-left: max(4%,calc((100vw - 1360px)/2)); padding-right: max(4%,calc((100vw - 1360px)/2)); }
}
@media(max-width:1120px) {
  .masthead { gap: 16px; padding: 0 3%; }
  .brand { gap: 10px; }
  .brand-mark { font-size: 26px; }
  .brand-title { font-size: 14px; }
  .masthead nav a { padding: 0 13px; font-size: 13px; }
  .search-trigger kbd { display: none; }
  main { padding-left: 40px; padding-right: 40px; }
  .yearbook-cover, .page-head { margin-left: -40px; margin-right: -40px; }
  .page-head { padding-left: 40px; padding-right: 40px; }
  .yearbook-cover { grid-template-columns: 75px minmax(0,1fr); }
  .cover-spread { padding: 35px; gap: 35px; }
  .cover-heading h1 { font-size: 43px; }
  .cover-index>a strong { font-size: 17px; }
  .stat { padding: 20px 24px; }
  .chapter-layout { grid-template-columns: 180px minmax(0,1fr); gap: 30px; }
  .project-heading { display: block; }
  .project-heading .status { margin: 0 0 12px; }
  .project-detail { gap: 30px; grid-template-columns: minmax(0,1fr) 220px; }
  .two-columns { gap: 30px; }
}
@media(max-width:900px) {
  .masthead { flex-wrap: wrap; min-height: 100px; padding: 14px 4% 0; gap: 6px 20px; }
  .brand-mark { font-size: 27px; }
  .brand-title { font-size: 15px; }
  .masthead nav { order: 3; width: 100%; height: 44px; }
  .masthead nav a { padding: 0 17px; }
  .search-trigger { margin-left: auto; min-height: 38px; padding: 5px 10px; }
  .cover-spread { grid-template-columns: 1fr; padding: 32px; gap: 34px; }
  .cover-heading h1 { font-size: 47px; margin: 15px 0 22px; }
  .cover-heading p br { display: none; }
  .cover-index { padding: 0; }
  .cover-index h2 { margin-bottom: 13px; }
  .cover-index>a { padding: 13px 0; }
  .cover-index>a strong { font-size: 18px; }
  .cover-index>a span { display: inline; float: right; margin-left: 20px; }
  .cover-index>a span b { float: none; margin-left: 10px; }
  .stat { padding: 19px 17px; }
  .stat b { font-size: 40px; }
  .chapter-layout { grid-template-columns: 1fr; gap: 15px; padding-top: 32px; }
  .chapter-intro h2 { font-size: 32px; margin: 5px 0; }
  .chapter-intro p { display: none; }
  .chapter-intro .text-link { display: inline-block; margin: 9px 0; }
  .two-columns { grid-template-columns: 1fr; gap: 28px; }
  .project-detail { grid-template-columns: 1fr; }
  .side-note { position: static; }
  .side-note h3 { margin: 7px 0; }
  .side-note a { display: inline-block; border: 0; padding-right: 15px; }
  .library-row { grid-template-columns: 42px minmax(0,1fr); gap: 16px; }
  .file-type { width: 39px; height: 47px; font-size: 9px; }
  .library-action { grid-column: 2; text-align: left; }
  .filters .count-label { margin-left: 0; }
  footer { align-items: start; flex-wrap: wrap; gap: 22px; }
}
@media(max-width:600px) {
  html { scroll-padding-top: 125px; }
  main { padding: 0 20px 52px; }
  .masthead { padding-left: 20px; padding-right: 20px; }
  .masthead nav a { padding: 0 13px; font-size: 12px; }
  .brand-mark { font-size: 25px; }
  .brand-title { font-size: 14px; }
  .brand-title small { font-size: 9px; }
  .search-trigger { font-size: 11px; }
  .search-trigger>span { margin-right: 3px; }
  .yearbook-cover { display: block; margin: 0 -20px; }
  .cover-spine { display: flex; flex-direction: row; gap: 12px; padding: 12px 20px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .cover-spine>span { writing-mode: horizontal-tb; font-size: 10px; }
  .cover-spine strong { font: 14px/1.3 var(--mono); }
  .cover-spine strong br { display: none; }
  .cover-spine strong span { font: 14px var(--mono); margin: 0 6px; }
  .cover-spine small { display: none; }
  .cover-spread { padding: 27px 24px 25px; gap: 30px; }
  .cover-label { font-size: 11px; }
  .cover-heading h1 { font-size: clamp(30px,9vw,39px); line-height: 1.5; margin: 14px 0 20px; }
  .cover-heading p { font-size: 14px; line-height: 1.8; }
  .cover-index h2 { font-size: 14px; }
  .cover-index>a strong { font-size: 16px; }
  .cover-index>a span { display: block; float: none; margin: 6px 0 0; font-size: 11px; }
  .cover-index>a span b { float: right; }
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat { padding: 21px 24px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .stat b { font-size: 44px; }
  .chapter-layout { padding-top: 22px; }
  .project-card { grid-template-columns: 31px minmax(0,1fr) 19px; gap: 10px; padding: 22px 0; }
  .chapter-number { font-size: 28px; }
  .project-heading h3 { font-size: 21px; line-height: 1.5; }
  .project-card p { font-size: 14px; line-height: 1.8; }
  .project-arrow { font-size: 22px; }
  .card-bottom { font-size: 11px; }
  .section-title h2 { font-size: 25px; }
  .section-title .text-link { font-size: 11px; }
  .recent-row { grid-template-columns: 63px minmax(0,1fr); gap: 13px; }
  .recent-row time { font-size: 10px; }
  .recent-row h3 { font-size: 17px; }
  .research-panel { padding: 23px; }
  .research-panel h2 { font-size: 28px; }
  .research-panel-heading strong { font-size: 56px; }
  .source-note { margin-top: 27px; }
  .source-note a { margin: 8px 0 0; display: block; }
  .page-head { padding: 28px 20px; margin: 0 -20px 26px; }
  .page-head h1 { font-size: 32px; line-height: 1.45; margin: 14px 0 17px; }
  body[data-view="question"] .page-head h1 { font-size: 26px; line-height: 1.6; }
  .page-head p { font-size: 14px; line-height: 1.85; }
  .eyebrow { font-size: 10px; }
  .breadcrumb { margin-bottom: 20px; font-size: 10px; }
  .filters { gap: 9px; padding-bottom: 19px; }
  .filters input { width: 100%; flex-basis: 100%; }
  .filters select { flex: 1; min-width: 100px; max-width: 100%; font-size: 12px; padding: 9px; }
  .filters label:not(.sr-only) { display: none; }
  .filters .count-label { flex-basis: auto; font-size: 11px; margin-left: auto; }
  .filter-reset { font-size: 11px; }
  .event { grid-template-columns: 68px minmax(0,1fr); gap: 15px; padding: 20px 0; }
  .event time { font-size: 10px; }
  .event h3 { font-size: 17px; }
  .event p { font-size: 14px; }
  .event-year { font-size: 39px; }
  .ref { min-height: 44px; padding: 10px; }
  .issue-card h3 { font-size: 21px; }
  .issue-card p { font-size: 14px; }
  .issue-meta { flex-wrap: wrap; gap: 8px; font-size: 11px; }
  .project-detail h2 { font-size: 25px; }
  .achievement { grid-template-columns: 28px minmax(0,1fr); gap: 10px; }
  .achievement p, .attempt p, .last-known p { font-size: 15px; line-height: 1.85; }
  .last-known { padding: 19px; }
  .next-steps { font-size: 15px; }
  .library-row { grid-template-columns: 30px minmax(0,1fr); gap: 12px; padding: 24px 0; }
  .file-type { width: 28px; height: 39px; font-size: 8px; }
  .library-row h3 { font-size: 18px; }
  .library-row .document-summary { font-size: 15px; line-height: 1.85; margin-top: 16px; }
  .summary-points { font-size: 14px; }
  .document-source { gap: 8px; flex-wrap: wrap; }
  .library-more { flex-direction: column; gap: 12px; }
  .btn { padding: 10px 15px; font-size: 12px; gap: 14px; }
  .prose p, .prose li { font-size: 15px; }
  .prose table { font-size: 12px; }
  .prose td, .prose th { padding: 12px 6px; }
  .chart-bars { gap: 6px; }
  .chart-col, .chart-col small { font-size: 8px; }
  #evidence-dialog { padding: 20px; }
  .evidence-text { padding: 17px; font-size: 14px; }
  #search-dialog { padding: 20px; margin-top: 4vh; }
  #global-search { font-size: 17px; }
  footer { padding: 28px 20px; }
  footer strong { font-size: 22px; }
  footer div span { font-size: 11px; }
  footer>span { font-size: 11px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none!important; transition: none!important; }
}
@media print {
  .masthead, footer, button, .filters, .side-note, .cover-index { display: none; }
  body { background: #fff; color: #111; }
  main { max-width: none; padding: 0; }
  .page-head, .yearbook-cover { margin: 0; padding: 20px 0; background: #fff; }
  .project-detail, .chapter-layout, .two-columns { display: block; }
  .research-panel { color: #111; background: #fff; border: 1px solid #111; }
  .research-panel p, .research-panel a { color: #111; }
  .project-card, .library-row, .issue-card { break-inside: avoid; }
}
