:root {
  --site-bg: #005748;
  --site-surface: #006757;
  --text-body: #E5FFF4;
  --text-heading: #FFFFFF;
  --text-link: #B6FFE4;
  --brand-accent: #E5FFF0;
  --on-accent: #111111;
  --font-heading: Bahnschrift, "Arial Narrow", sans-serif;
  --font-body: Cambria, Georgia, serif;
  --font-ui: Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--site-bg); color: var(--text-body); font: 18px/1.65 var(--font-body); }
.site { max-width: 1160px; margin: auto; padding: 0 42px; }
a { color: var(--text-link); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 5px; }
a:focus-visible, summary:focus-visible { color: var(--on-accent); background: var(--brand-accent); }
h1,h2,h3 { color: var(--text-heading); font-family: var(--font-heading); line-height: 1.12; font-weight: 600; }
h1 { font-size: clamp(38px, 5vw, 62px); max-width: 930px; margin: 18px 0 28px; letter-spacing: -.035em; overflow-wrap: anywhere; }
h2 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 18px; }
h3 { font-size: 23px; }
p { margin: 0 0 22px; }
address { font-style: normal; overflow-wrap: anywhere; }
.skip { position: absolute; left: 24px; top: 8px; padding: 8px 14px; background: var(--brand-accent); color: var(--on-accent); transform: translateY(-180%); z-index: 3; }
.skip:focus { transform: none; }
.masthead { padding: 30px 0 0; text-align: center; }
.wordmark { font: 600 20px/1.4 var(--font-heading); color: var(--text-heading); display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; max-width: 100%; }
.wordmark img { flex-shrink: 0; }
.masthead nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 20px 0 22px; margin-top: 18px; border-block: 1px solid var(--text-link); font: 14px/1.5 var(--font-ui); }
[aria-current="page"] { font-weight: bold; text-decoration-style: double; }
.masthead [aria-current="page"]::before { content: "[ "; }
.masthead [aria-current="page"]::after { content: " ]"; }
.page-content { padding-top: 48px; }
.page-content:focus { outline: none; }
.eyebrow,.fine,.breadcrumb,.source { font: 13px/1.65 var(--font-ui); }
.eyebrow { letter-spacing: .055em; }
.home-cover { text-align: center; }
.home-cover h1 { font-size: clamp(46px,7vw,84px); line-height: 1.02; letter-spacing: -.045em; margin: 23px auto 27px; }
.home-deck { font-size: 21px; line-height: 1.55; }
.identity { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; max-width: 850px; margin: 35px auto 50px; background: var(--site-surface); border: 1px solid var(--text-link); padding: 20px 24px; text-align: left; }
.identity p { margin: 0; }
.identity strong { color: var(--text-heading); font-family: var(--font-heading); font-size: 18px; }
.identity address { font-size: 16px; }
.directory { border-top: 5px double var(--text-link); padding-top: 32px; scroll-margin-top: 24px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.directory > p { max-width: 780px; }
.directory-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 27px 0 14px; font: 13px/1.5 var(--font-ui); }
[hidden] { display: none !important; }
select, button { border: 2px outset var(--brand-accent); background: var(--brand-accent); color: var(--on-accent); padding: 8px 10px; font: 14px/1.4 var(--font-ui); border-radius: 0; max-width: 100%; }
select { cursor: pointer; }
button { cursor: pointer; }
button:active { border-style: inset; }
button:disabled { opacity: .58; cursor: default; }
#filter-status { margin-left: auto; }
.directory-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.directory-table th,.directory-table td { border: 1px solid var(--text-link); padding: 18px 20px; text-align: left; }
.directory-table thead th { background: var(--site-surface); font: 13px/1.5 var(--font-ui); }
.directory-table thead th:first-child { width: 72px; }
.directory-table thead th:nth-child(2) { width: 36%; }
.directory-table tbody th { font: 600 23px/1.3 var(--font-heading); }
.directory-table tbody tr:hover { background: var(--site-surface); }
.record-no { font: 14px/1.5 var(--font-ui); vertical-align: top; }
.question-cell { font-size: 18px; line-height: 1.5; }
.reading-route { margin: 20px 0 0; padding: 15px 0; border-bottom: 1px solid var(--text-link); }
summary { width: fit-content; font: 14px/1.6 var(--font-ui); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.reading-route p { max-width: 760px; margin: 22px 0 6px; }
.afterword { display: grid; grid-template-columns: 1.3fr 1fr; gap: 65px; padding: 48px 0 12px; }
.afterword h2 { font-size: 26px; }
.postal-cue { border-left: 1px solid var(--text-link); padding-left: 28px; }
footer { margin-top: 52px; padding: 22px 0 30px; border-top: 5px double var(--text-link); font: 13px/1.6 var(--font-ui); }
.footer-top { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 9px 23px; margin-bottom: 22px; }
footer .fine { margin-bottom: 0; }
.lead { font-size: 22px; line-height: 1.6; max-width: 850px; margin-bottom: 35px; }
.breadcrumb { margin: 0 0 35px; }
.article-header h1 { max-width: 850px; }
.article-guide { display: flex; flex-wrap: wrap; gap: 15px 28px; padding: 18px 0; border-block: 1px solid var(--text-link); margin-bottom: 40px; font: 14px/1.5 var(--font-ui); }
.prose { max-width: 740px; margin: 0 auto; }
.prose section { margin: 0 0 37px; scroll-margin-top: 24px; }
.prose h2 { padding-top: 3px; }
.reading-check { border: 1px solid var(--text-link); border-left-width: 5px; background: var(--site-surface); padding: 22px 26px; margin: 38px 0 30px; }
.reading-check h2 { font-size: 23px; }
.reading-check p { margin-bottom: 0; }
.continuation { display: flex; gap: 20px; justify-content: space-between; border-top: 1px solid var(--text-link); padding-top: 24px; margin-top: 45px; font: 14px/1.7 var(--font-ui); }
.company-record { margin: 40px 0; border: 1px solid var(--text-link); }
.company-record > div { display: grid; grid-template-columns: 240px 1fr; padding: 20px 25px; gap: 25px; }
.company-record > div + div { border-top: 1px solid var(--text-link); }
.company-record dt { font: 14px/1.65 var(--font-ui); }
.company-record dd { margin: 0; font-size: 21px; }
.company-record > div:first-child { background: var(--site-surface); }
.company-note { max-width: 740px; margin-left: auto; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 42px; margin: 40px 0; align-items: start; }
.letter-label { border: 5px double var(--text-link); background: var(--site-surface); padding: 30px; }
.letter-label h2 { font: 600 20px/1.4 var(--font-heading); margin-bottom: 30px; }
.letter-label address { font-size: 21px; line-height: 1.8; }
.letter-label .fine { margin: 35px 0 0; }
.letter-guide ol { padding-left: 24px; margin-top: 0; }
.letter-guide li { padding-left: 5px; margin-bottom: 18px; }
.contact-note { max-width: 740px; border-top: 1px solid var(--text-link); padding-top: 28px; }
.error-content { padding: 35px 0; max-width: 750px; }
.native-link { display: inline-block; border: 3px outset var(--brand-accent); padding: 10px 20px; background: var(--brand-accent); color: var(--on-accent); font: 14px/1.5 var(--font-ui); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 800px) {
  .site { padding: 0 28px; }
  .masthead nav { gap: 12px 20px; }
  .afterword { gap: 30px; }
  .directory-table th,.directory-table td { padding: 16px 13px; }
  .directory-table thead th:first-child { width: 56px; }
  .directory-table tbody th { font-size: 21px; }
  .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .letter-label { max-width: 640px; }
}
@media (max-width: 560px) {
  .site { padding: 0 19px; }
  .masthead { padding-top: 23px; }
  .wordmark { font-size: 17px; text-align: left; gap: 10px; }
  .masthead nav { justify-content: flex-start; gap: 13px 19px; font-size: 13px; padding-block: 17px; }
  .page-content { padding-top: 33px; }
  .home-cover h1 { font-size: clamp(43px,11vw,62px); }
  .home-deck { font-size: 19px; }
  .desktop-break { display: none; }
  .identity { grid-template-columns: 1fr; padding: 20px; gap: 12px; margin-bottom: 35px; }
  .identity address { border-top: 1px solid var(--text-link); padding-top: 12px; }
  .section-heading .eyebrow { margin-bottom: 12px; }
  .directory-tools { gap: 10px; }
  .directory-tools label { width: 100%; }
  #filter-status { width: 100%; margin-left: 0; }
  .directory-table,.directory-table tbody { display: block; }
  .directory-table tbody { border-top: 1px solid var(--text-link); }
  .directory-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .directory-table tr { display: grid; grid-template-columns: 35px minmax(0,1fr); border: 1px solid var(--text-link); border-top: 0; padding: 18px 15px; }
  .directory-table th,.directory-table td { border: 0; padding: 0; }
  .directory-table tbody th { font-size: 23px; }
  .directory-table .record-no { padding-top: 4px; grid-row: 1 / 3; }
  .directory-table .question-cell { grid-column: 2; padding-top: 10px; }
  .question-cell::before { content: "Reading question: "; display: block; font: 12px/1.7 var(--font-ui); margin-bottom: 2px; }
  .afterword { grid-template-columns: 1fr; padding-top: 36px; gap: 15px; }
  .postal-cue { padding-left: 0; border-left: 0; border-top: 1px solid var(--text-link); padding-top: 27px; }
  .lead { font-size: 21px; }
  h1 { font-size: 39px; }
  .prose h2 { font-size: 27px; }
  .company-record > div { grid-template-columns: 1fr; gap: 9px; padding: 20px; }
  .company-record dd { font-size: 20px; }
  .letter-label { padding: 22px; }
  .letter-label address { font-size: 19px; }
  .reading-check { padding: 20px; }
  .continuation { flex-direction: column; }
  footer { margin-top: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
