/* Crestcon: a small, local, build-free editorial design. */
:root {
    --ink: #101c26;
    --muted: #52616b;
    --paper: #fff;
    --wash: #f5f4ee;
    --green: #c4dc9e;
    --green-ink: #668033;
    --line: #d2d6d6;
    --rule: #75818a;
    --focus: #315b8c;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Arial, Helvetica, sans-serif;
    --width: 1280px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--sans); overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
img { max-width: 100%; height: auto; }
svg { display: block; }
button, input { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { text-wrap: pretty; }
.container { width: min(var(--width), calc(100% - 80px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; color: #fff; background: var(--ink); }
.skip-link:focus { top: 12px; }
.site-main:focus { outline: none; }
.js-only { display: none; }
.js .js-only { display: inline-flex; }

/* Masthead */
.site-header { border-bottom: 1px solid var(--rule); background: #fff; }
.header-inner { display: flex; align-items: center; gap: 56px; min-height: 82px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: -.055em; text-decoration: none; flex-shrink: 0; }
.brand-square { display: inline-block; width: 18px; height: 18px; background: var(--green); flex: 0 0 18px; }
.primary-nav { display: flex; align-items: center; gap: 36px; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { text-decoration: underline; }
.search-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 3px 17px; margin-left: auto; border: 1px solid var(--ink); font-size: 15px; line-height: 1.35; }
.search-link:hover { color: #fff; background: var(--ink); }
.mobile-menu { display: none; }
.demo-note { background: var(--wash); font-size: .8rem; padding: 9px 0; }

/* Homepage: a typographic opening, ruled archive, useful reading routes. */
.home-hero { background: var(--wash); }
.hero-inner { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 40px; padding-block: 62px 58px; align-items: start; }
.hero-copy h1 { font: 700 clamp(42px,4.4vw,64px)/1.07 var(--serif); letter-spacing: -.045em; margin: 0 0 22px; max-width: 810px; }
.hero-description { font-size: clamp(18px,1.55vw,22px); line-height: 1.5; margin-bottom: 31px; max-width: 750px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 30px; }
.button-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 12px 24px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-size: 18px; line-height: 1.4; font-weight: 700; text-decoration: none; }
.button-link:hover { background: #273b49; }
.text-link { display: inline; font-size: 18px; line-height: 1.5; text-decoration: underline; text-underline-offset: .28em; }
.text-link span[aria-hidden] { margin-left: 5px; white-space: nowrap; }
.year-list { border-top: 1px solid var(--rule); margin-top: 7px; }
.year-list a { display: flex; align-items: center; gap: 26px; padding: 14px 0 16px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.year-list a:hover .year-label { text-decoration: underline; }
.year { font: 700 clamp(48px,4.8vw,70px)/1 var(--serif); letter-spacing: -.035em; flex-shrink: 0; }
.year-label { font-size: 19px; line-height: 1.4; }
.independence-strip { background: var(--green); padding-block: 11px; font-size: 17px; line-height: 1.5; }
.independence-strip p { margin: 0; }
.independence-strip a { text-decoration-thickness: 1px; }
.home-archive { padding-block: 46px 58px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-top: 1px solid var(--rule); padding-top: 22px; margin-bottom: 16px; }
.section-heading h2 { font: 700 clamp(30px,3.25vw,44px)/1.15 var(--serif); letter-spacing: -.03em; margin: 0; }
.section-heading > span { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.home-archive .section-heading { border-top: 0; border-bottom: 1px solid var(--rule); padding: 0 0 17px; margin-bottom: 24px; }
.home-archive .section-heading .text-link { white-space: nowrap; }
.archive-records { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; }
.archive-year { font: 700 clamp(48px,5.3vw,76px)/1 var(--serif); letter-spacing: -.04em; margin: 0 0 16px; }
.archive-record h3 { font-size: 23px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; margin-bottom: 13px; }
.archive-record > p:not(.archive-year) { font-size: 17px; line-height: 1.65; margin-bottom: 16px; }
.home-guides { background: var(--wash); }
.guides-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0,1.15fr); gap: 76px; padding-block: 54px 52px; align-items: start; }
.guides-intro h2 { font: 700 clamp(38px,4.3vw,62px)/1.09 var(--serif); letter-spacing: -.04em; max-width: 490px; margin-bottom: 27px; }
.guides-intro > p { color: var(--muted); font-size: 25px; line-height: 1.5; max-width: 480px; margin-bottom: 0; }
.guide-rows { list-style: none; margin: 0; padding: 0; }
.guide-rows li { display: grid; grid-template-columns: 94px minmax(0,1fr); gap: 20px; border-top: 1px solid var(--rule); padding: 17px 0 20px; }
.guide-rows li:last-child { padding-bottom: 0; }
.guide-number { color: var(--green-ink); font: 700 62px/1 var(--serif); letter-spacing: -.04em; white-space: nowrap; }
.guide-rows h3 { font: 700 clamp(25px,2.5vw,34px)/1.2 var(--serif); letter-spacing: -.025em; margin: 0 0 5px; }
.guide-rows h3 a { text-decoration-color: #91af5c; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.guide-rows h3 a:hover { text-decoration-color: var(--ink); }
.guide-rows p { color: var(--muted); font-size: 19px; line-height: 1.5; margin: 0; }
.home-resources { padding-block: 48px 54px; }
.home-resources > h2 { font: 700 clamp(30px,3.7vw,48px)/1.18 var(--serif); letter-spacing: -.035em; margin: 0 0 12px; }
.resource-intro { font-size: 21px; line-height: 1.5; color: var(--muted); margin-bottom: 30px; }
.resource-tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.resource-tile { border: 1px solid var(--rule); padding: 20px 22px 21px; }
.resource-tile h3 { font: 700 26px/1.25 var(--serif); letter-spacing: -.02em; margin-bottom: 14px; }
.resource-tile .text-link { text-decoration-color: #91af5c; text-decoration-thickness: 2px; }

/* Reading pages */
.breadcrumbs { margin-top: 27px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: 12px; color: var(--rule); }
.breadcrumbs a { color: var(--muted); }
.page-heading { padding: 30px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
h1 { font: 700 clamp(36px,4.1vw,58px)/1.1 var(--serif); letter-spacing: -.037em; margin: 0 0 17px; max-width: 1180px; }
.page-intro { color: var(--muted); font-size: clamp(18px,1.6vw,22px); line-height: 1.5; max-width: 1020px; margin-bottom: 0; }
.page-number { display: block; margin-top: 18px; font: 600 .95rem/1.5 var(--sans); letter-spacing: 0; color: var(--muted); }
.page-utilities { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px 24px; margin-top: 20px; min-height: 40px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.article-meta a { text-decoration: none; }
.article-meta a:hover { text-decoration: underline; }
.print-button { align-items: center; gap: 10px; margin-left: auto; padding: 8px 15px; min-height: 40px; border: 1px solid var(--rule); color: var(--ink); background: #fff; border-radius: 2px; font-size: .88rem; line-height: 1.4; font-weight: 600; }
.print-button:hover { background: var(--wash); }
.hero-media { margin: 0 0 34px; }
.hero-media img { display: block; width: 100%; max-height: 650px; object-fit: cover; }
.reading-layout { padding-bottom: 15px; }
.reading-layout.has-toc { display: grid; grid-template-columns: minmax(0,840px) minmax(230px,265px); justify-content: space-between; gap: 55px; align-items: start; }
.reading-body { min-width: 0; max-width: 840px; }
.reading-layout.has-toc .reading-body { grid-column: 1; grid-row: 1; }
.contents-rail { grid-column: 2; grid-row: 1; position: sticky; top: 24px; border-left: 1px solid var(--line); padding-left: 25px; max-height: calc(100vh - 48px); overflow-y: auto; scrollbar-width: thin; }
.page-contents > summary { cursor: pointer; font: 700 23px/1.3 var(--serif); list-style: none; }
.page-contents > summary::-webkit-details-marker { display: none; }
.page-contents > summary::after { content: ' −'; color: var(--muted); font: 400 18px/1 var(--sans); }
.page-contents:not([open]) > summary::after { content: ' +'; }
.contents-rail ol { margin: 20px 0 0; padding: 0; list-style: none; }
.contents-rail li { margin-bottom: 13px; font-size: .92rem; line-height: 1.5; }
.contents-rail a { color: var(--muted); text-decoration-color: #a7b0b5; }
.contents-rail a:hover { color: var(--ink); }
.contents-rail .toc-level-3 { margin-left: 16px; font-size: .86rem; }
.prose { font-size: 17px; line-height: 1.85; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: 24px; }
.prose ul, .prose ol { padding-left: 25px; }
.prose li { padding-left: 4px; margin-bottom: 8px; }
.prose h2 { font: 700 clamp(28px,2.6vw,36px)/1.2 var(--serif); letter-spacing: -.025em; margin: 43px 0 18px; }
.prose h3 { font: 700 24px/1.3 var(--serif); letter-spacing: -.015em; margin: 31px 0 15px; }
.prose h4 { font: 700 18px/1.4 var(--sans); margin: 25px 0 12px; }
.prose a { text-decoration-color: #788c61; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 30px 0; padding: 19px 24px; border-left: 6px solid var(--green); background: var(--wash); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote h2, .prose blockquote h3 { margin-top: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.prose .table-wrap { max-width: 100%; overflow-x: auto; margin: 25px 0 30px; border: 1px solid var(--line); }
.prose table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; line-height: 1.6; text-align: left; }
.prose th, .prose td { padding: 11px 14px; vertical-align: top; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose th:last-child, .prose td:last-child { border-right: 0; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose th { background: var(--wash); font-weight: 700; }
.prose td:first-child { font-weight: 500; }
.prose code { background: var(--wash); padding: .12em .3em; font: .9em/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: break-spaces; overflow-wrap: anywhere; }
.prose pre { overflow: auto; background: var(--wash); padding: 20px; border-left: 3px solid var(--green); margin: 25px 0; }
.prose pre code { background: transparent; padding: 0; white-space: pre; }
.prose img { display: block; margin: 24px 0; }
.anchor-alias { display: block; scroll-margin-top: 24px; }
.sources { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 42px; font-size: .94rem; }
.sources h2 { margin: 0 0 18px; font-size: 28px; }
.sources ol { padding-left: 23px; }
.sources li { margin-bottom: 14px; }
.source-date { display: inline; font-size: .83rem; color: var(--muted); }
.collection-section { margin: 38px 0 48px; }
.collection-section .section-heading { margin-bottom: 6px; }
.collection-section .section-heading h2 { font-size: 34px; }
.page-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 48px; }
.list-entry { min-width: 0; padding: 25px 0 28px; border-bottom: 1px solid var(--line); }
.list-entry h3 { font: 700 27px/1.25 var(--serif); letter-spacing: -.02em; margin-bottom: 12px; }
.list-entry h3 a { text-decoration: none; }
.list-entry h3 a:hover { text-decoration: underline; text-decoration-color: #91af5c; }
.list-entry h3 span { display: inline; white-space: nowrap; font: 400 20px/1 var(--sans); }
.list-entry p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 58ch; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .9rem; padding-top: 24px; }
.pagination [aria-disabled="true"] { color: var(--muted); }

/* Local search remains a full link directory without JavaScript. */
.search-panel, .local-search-panel, .search-form { max-width: 840px; margin: 0 0 36px; }
.search-panel label, .local-search-panel label, .search-form label, label[for="local-search"] { display: block; font-size: 17px; font-weight: 700; margin-bottom: 12px; }
#local-search, .search-controls input { display: block; width: 100%; min-width: 0; min-height: 54px; padding: 13px 16px; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 0; font-size: 18px; }
.search-hint, .search-note, .local-search-note { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 12px; }
.search-controls { display: flex; gap: 12px; }
.search-controls input { flex: 1; }
.search-controls button { color: #fff; background: var(--ink); padding: 12px 24px; border: 1px solid var(--ink); }
.empty-state, #local-search-empty { color: var(--muted); max-width: 65ch; padding: 18px 0; }
.search-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 48px; }
.search-results > [data-search] { min-width: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
.search-results h2, .search-results h3 { font: 700 27px/1.25 var(--serif); margin-bottom: 12px; letter-spacing: -.02em; }
.search-results p { color: var(--muted); margin-bottom: 0; }

/* Footer and error routes */
.site-footer { margin-top: 62px; background: var(--ink); color: #fff; padding-block: 34px 22px; }
.home-main + .site-footer { margin-top: 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-name { color: #fff; font-size: 39px; }
.footer-identity { max-width: 460px; }
.footer-identity p { font-size: 14px; line-height: 1.6; margin: 14px 0 0; color: #e4e9eb; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 22px; max-width: 660px; font-size: 14px; line-height: 1.5; }
.footer-inner nav a { text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: .35em; }
.footer-base { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 25px; margin-top: 28px; padding-top: 18px; border-top: 1px solid #3c4851; font-size: 12px; line-height: 1.5; color: #c8d0d5; }
.footer-base a { text-decoration: none; }
.footer-base a:hover { text-decoration: underline; }
.footer-base a:last-child { margin-left: auto; }
.error-header { padding-block: 27px; border-bottom: 1px solid var(--line); }
.error-page { padding-block: 76px; max-width: 940px; }
.error-code { color: var(--muted); font: 700 18px/1.5 var(--sans); margin-bottom: 20px; }
.error-page .page-intro { margin-bottom: 30px; }
.error-page p { max-width: 68ch; }
.error-nav { display: flex; flex-wrap: wrap; gap: 16px 30px; border-top: 1px solid var(--line); padding-top: 25px; margin-top: 34px; }
.error-nav a { font-size: 17px; }

@media (min-width: 1600px) {
    .hero-inner { grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); }
}
@media (max-width: 1180px) {
    .header-inner { gap: 40px; }
    .primary-nav { gap: 28px; }
    .hero-inner { gap: 40px; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); }
    .hero-actions { gap: 18px 22px; }
    .hero-actions .text-link, .button-link { font-size: 16px; }
    .button-link { padding-inline: 20px; }
    .year-list a { gap: 20px; }
    .year-label { font-size: 17px; }
    .guides-inner { gap: 50px; }
    .guide-rows li { grid-template-columns: 75px minmax(0,1fr); }
    .guide-number { font-size: 55px; }
    .archive-records { gap: 32px; }
    .reading-layout.has-toc { gap: 35px; grid-template-columns: minmax(0,1fr) 240px; }
    .footer-inner { align-items: flex-start; }
    .footer-inner nav { max-width: 520px; }
}
@media (max-width: 900px) {
    .container { width: calc(100% - 48px); }
    .header-inner { min-height: 76px; gap: 32px; }
    .brand { font-size: 33px; }
    .brand-square { width: 16px; height: 16px; flex-basis: 16px; }
    .primary-nav { gap: 23px; }
    .primary-nav a { font-size: 16px; }
    .hero-inner { grid-template-columns: minmax(0,1fr); padding-block: 44px; gap: 36px; }
    .hero-copy h1 { font-size: clamp(42px,6.9vw,62px); max-width: 720px; }
    .hero-description { max-width: 680px; font-size: 20px; }
    .year-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 0; }
    .year-list a { align-items: flex-start; flex-direction: column; gap: 10px; padding: 18px 15px 20px; }
    .year-list a:first-child { padding-left: 0; }
    .year-list a:last-child { padding-right: 0; }
    .year { font-size: 57px; }
    .year-label { font-size: 16px; }
    .independence-strip { font-size: 15px; }
    .home-archive { padding-block: 38px 42px; }
    .section-heading h2 { font-size: 36px; }
    .archive-records { gap: 24px; }
    .archive-year { font-size: 60px; }
    .archive-record h3 { font-size: 20px; }
    .archive-record > p:not(.archive-year) { font-size: 16px; }
    .guides-inner { gap: 35px; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); padding-block: 42px; }
    .guides-intro h2 { font-size: 43px; }
    .guides-intro > p { font-size: 21px; }
    .guide-rows li { grid-template-columns: 66px minmax(0,1fr); gap: 15px; }
    .guide-number { font-size: 47px; }
    .guide-rows h3 { font-size: 26px; }
    .guide-rows p { font-size: 17px; }
    .home-resources > h2 { font-size: 37px; }
    .resource-intro { font-size: 19px; }
    .resource-tiles { gap: 16px; }
    .resource-tile { padding: 18px; }
    .resource-tile h3 { font-size: 23px; }
    .resource-tile .text-link { font-size: 16px; }
    .reading-layout.has-toc { display: flex; flex-direction: column; gap: 28px; }
    .contents-rail { position: static; width: 100%; max-height: none; padding: 17px 21px; border: 1px solid var(--line); background: var(--wash); overflow: visible; }
    .page-contents > summary { font-size: 21px; }
    .page-contents > summary::after { float: right; margin-top: 5px; }
    .contents-rail ol { margin-top: 18px; columns: 2; column-gap: 28px; }
    .contents-rail li { break-inside: avoid; }
    .reading-body { width: 100%; max-width: 840px; }
    h1 { font-size: 46px; }
    .page-heading { margin-bottom: 25px; }
    .page-list { gap: 0 30px; }
    .footer-inner { flex-direction: column; gap: 25px; }
    .footer-inner nav { max-width: none; justify-content: flex-start; }
    .desktop-break { display: none; }
    .footer-identity { max-width: none; }
}
@media (max-width: 680px) {
    .container { width: calc(100% - 36px); }
    .header-inner { min-height: 72px; justify-content: space-between; gap: 16px; }
    .brand { font-size: 31px; gap: 10px; }
    .brand-square { width: 14px; height: 14px; flex-basis: 14px; }
    .primary-nav, .header-inner > .search-link { display: none; }
    .mobile-menu { display: block; margin-left: auto; }
    .mobile-menu > summary { cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 6px 10px; font-size: 16px; font-weight: 600; list-style: none; }
    .mobile-menu > summary::-webkit-details-marker { display: none; }
    .mobile-menu > summary > span { font-size: 24px; line-height: 1; font-weight: 400; }
    .mobile-menu[open] > summary > span { transform: rotate(45deg); }
    .mobile-menu nav { position: absolute; z-index: 20; top: calc(100% + 1px); left: -18px; right: -18px; display: flex; flex-direction: column; padding: 10px 18px 18px; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 12px 18px -18px rgba(16,28,38,.7); }
    .mobile-menu nav a { display: block; padding: 12px 10px; min-height: 48px; text-decoration: none; border-bottom: 1px solid var(--line); }
    .mobile-menu nav a:last-child { border: 0; }
    .mobile-menu nav a[aria-current="page"] { text-decoration: underline; }
    .hero-inner { padding-block: 34px 30px; gap: 28px; }
    .hero-copy h1 { font-size: clamp(37px,9.8vw,51px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 20px; }
    .hero-description { font-size: 18px; line-height: 1.55; margin-bottom: 24px; }
    .hero-actions { gap: 20px; align-items: flex-start; }
    .hero-actions .button-link { min-height: 50px; padding: 12px 18px; font-size: 17px; }
    .hero-actions .text-link { font-size: 17px; display: inline-block; padding-block: 3px; }
    .year-list a { gap: 9px; padding: 15px 6px 17px; }
    .year { font-size: clamp(28px,8.5vw,38px); white-space: nowrap; }
    .year-label { font-size: 13px; line-height: 1.45; }
    .independence-strip { padding-block: 12px; font-size: 14px; line-height: 1.6; }
    .home-archive { padding-block: 32px 36px; }
    .home-archive .section-heading { align-items: flex-start; gap: 18px; flex-direction: column; padding-bottom: 18px; margin-bottom: 0; }
    .section-heading h2 { font-size: 33px; }
    .home-archive .section-heading .text-link { font-size: 16px; }
    .archive-records { display: block; }
    .archive-record { padding-block: 26px; border-bottom: 1px solid var(--line); }
    .archive-record:last-child { padding-bottom: 0; border: 0; }
    .archive-year { font-size: 59px; margin-bottom: 12px; }
    .archive-record h3 { font-size: 22px; margin-bottom: 9px; }
    .archive-record > p:not(.archive-year) { font-size: 16px; line-height: 1.65; margin-bottom: 13px; max-width: 52ch; }
    .archive-record .text-link { font-size: 17px; }
    .guides-inner { display: block; padding-block: 33px 36px; }
    .guides-intro h2 { font-size: 43px; max-width: 430px; margin-bottom: 18px; }
    .guides-intro > p { font-size: 20px; margin-bottom: 29px; }
    .guide-rows li { grid-template-columns: 62px minmax(0,1fr); gap: 16px; padding-block: 19px 21px; }
    .guide-number { font-size: 42px; }
    .guide-rows h3 { font-size: 26px; margin-bottom: 9px; }
    .guide-rows p { font-size: 16px; }
    .home-resources { padding-block: 34px 37px; }
    .home-resources > h2 { font-size: 34px; }
    .resource-intro { font-size: 18px; line-height: 1.6; margin-bottom: 23px; }
    .resource-tiles { grid-template-columns: 1fr; gap: 14px; }
    .resource-tile { padding: 21px 20px; }
    .resource-tile h3 { font-size: 26px; margin-bottom: 13px; }
    .resource-tile .text-link { font-size: 17px; }
    .breadcrumbs { margin-top: 22px; font-size: 12px; line-height: 1.65; }
    .breadcrumbs ol { gap: 6px 8px; }
    .breadcrumbs li + li::before { margin-right: 8px; }
    .page-heading { padding-top: 25px; padding-bottom: 23px; margin-bottom: 24px; }
    h1 { font-size: clamp(34px,8.8vw,44px); line-height: 1.13; letter-spacing: -.035em; margin-bottom: 17px; }
    .page-intro { font-size: 18px; line-height: 1.6; }
    .page-utilities { align-items: flex-start; gap: 15px; margin-top: 19px; }
    .article-meta { font-size: 12px; gap: 6px 13px; }
    .print-button { margin-left: 0; min-height: 44px; font-size: 13px; }
    .contents-rail { padding: 16px 18px; }
    .contents-rail ol { columns: auto; }
    .contents-rail li { font-size: 14px; }
    .reading-layout.has-toc { gap: 24px; }
    .prose { font-size: 16px; line-height: 1.8; }
    .prose p, .prose ul, .prose ol { margin-bottom: 22px; }
    .prose h2 { font-size: 29px; margin: 35px 0 16px; }
    .prose h3 { font-size: 23px; margin: 27px 0 14px; }
    .prose blockquote { padding: 17px 18px; border-left-width: 5px; }
    .prose table { font-size: 14px; }
    .prose th, .prose td { padding: 10px 12px; }
    .prose .table-wrap { margin-block: 23px; }
    .sources { margin-top: 35px; font-size: 14px; }
    .sources h2 { font-size: 26px; }
    .source-date { font-size: 12px; }
    .collection-section { margin: 30px 0 38px; }
    .collection-section .section-heading { padding-top: 20px; gap: 16px; }
    .collection-section .section-heading h2 { font-size: 30px; }
    .page-list, .search-results { grid-template-columns: 1fr; }
    .list-entry { padding-block: 23px; }
    .list-entry h3, .search-results h2, .search-results h3 { font-size: 26px; }
    .list-entry p { font-size: 15px; }
    .pagination { font-size: 13px; gap: 12px; }
    #local-search { font-size: 16px; min-height: 52px; }
    .search-panel label, .local-search-panel label, label[for="local-search"] { font-size: 16px; }
    .site-footer { margin-top: 43px; padding-block: 31px 23px; }
    .footer-name { font-size: 36px; }
    .footer-identity p { font-size: 13px; margin-top: 14px; }
    .footer-inner { gap: 25px; }
    .footer-inner nav { gap: 14px 21px; font-size: 13px; }
    .footer-base { display: grid; grid-template-columns: minmax(0,1fr) auto; margin-top: 28px; gap: 12px; font-size: 11px; }
    .footer-base > span { grid-column: 1 / -1; }
    .footer-base a:last-child { margin-left: 0; }
    .error-header { padding-block: 23px; }
    .error-page { padding-block: 50px; }
    .error-nav { flex-direction: column; gap: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
    a, button { transition: color .15s, background-color .15s, text-decoration-color .15s; }
}
@media print {
    @page { size: A4; margin: 17mm 15mm; }
    .site-header, .site-footer, .skip-link, .contents-rail, .print-button, .collection-section, .demo-note, .breadcrumbs, .page-utilities .print-button { display: none !important; }
    html, body { background: #fff !important; color: #000 !important; font-size: 10pt; }
    .container { width: 100%; max-width: none; }
    .page-heading { padding-top: 0; margin-bottom: 15pt; border-bottom-color: #aaa; }
    h1 { font-size: 25pt; color: #000; }
    .page-intro { font-size: 11pt; color: #333; }
    .article-meta { font-size: 8pt; color: #333; }
    .page-utilities { min-height: 0; margin-top: 10pt; }
    .reading-layout, .reading-layout.has-toc { display: block; padding: 0; }
    .reading-body { width: 100%; max-width: none; }
    .prose { font-size: 10pt; line-height: 1.5; }
    .prose h2 { font-size: 17pt; margin-top: 22pt; }
    .prose h3 { font-size: 13pt; }
    .prose h2, .prose h3, .prose h4 { break-after: avoid; page-break-after: avoid; }
    .prose p, .prose li { orphans: 3; widows: 3; }
    .prose p, .prose ul, .prose ol { margin-bottom: 11pt; }
    .prose .table-wrap { overflow: visible !important; border: 0; margin: 14pt 0; }
    .prose table { display: table; width: 100%; min-width: 0; max-width: 100%; table-layout: fixed; font-size: 8.4pt; line-height: 1.4; }
    .prose thead { display: table-header-group; }
    .prose tr { break-inside: avoid; page-break-inside: avoid; }
    .prose th, .prose td, .prose th:last-child, .prose td:last-child, .prose tbody tr:last-child td { padding: 5pt 6pt; border: 1px solid #aaa; overflow-wrap: anywhere; }
    .prose th { background: #eee !important; print-color-adjust: exact; }
    .prose pre { white-space: pre-wrap; overflow: visible; }
    .prose pre code { white-space: pre-wrap; }
    .prose code { font-size: 8pt; }
    .prose blockquote { background: #f4f4f4; border-color: #888; padding: 10pt 12pt; break-inside: avoid; }
    .sources { font-size: 8.5pt; margin-top: 20pt; padding-top: 15pt; }
    .sources h2 { font-size: 15pt; }
    .source-date { font-size: 8pt; color: #333; }
    a { color: #000; text-decoration: underline; }
    .hero-media { max-width: 70%; }
    .home-hero, .home-guides, .independence-strip { background: #fff; }
    .hero-inner, .guides-inner { display: block; padding: 15pt 0; }
    .hero-copy h1 { font-size: 27pt; }
    .hero-description, .guides-intro > p, .resource-intro { font-size: 11pt; }
    .hero-actions, .year-list { display: none; }
    .home-archive, .home-resources { padding-block: 15pt; }
    .archive-records, .resource-tiles { display: block; }
    .archive-record, .resource-tile { break-inside: avoid; margin-bottom: 15pt; }
    .archive-year { font-size: 26pt; }
    .guides-intro h2, .home-resources > h2, .section-heading h2 { font-size: 22pt; }
    .guide-rows li { grid-template-columns: 40pt minmax(0,1fr); gap: 15pt; padding: 12pt 0; }
    .guide-number { font-size: 30pt; color: #444; }
    .guide-rows h3 { font-size: 17pt; }
    .guide-rows p { font-size: 10pt; }
}
