/* Local fonts, no framework, no remote styles or animation dependency. */
:root { color-scheme: dark; --bg: #090909; --fg: #e9e5dc; --muted: #aaa69f; --line: #383735; --soft: #171716; --mono: "Courier New", Courier, monospace; }
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.65 Georgia, "Times New Roman", serif; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 5px; }
::selection { background: var(--fg); color: var(--bg); }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: #aaa5; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.2; font-weight: normal; overflow-wrap: break-word; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); letter-spacing: -.035em; margin: .35em 0 .45em; }
h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2rem); letter-spacing: -.02em; }
h3 { margin: 0 0 .45rem; font-size: 1.25rem; }
main:focus { outline: none; }
.page { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 12px; z-index: 5; padding: 10px 16px; background: var(--fg); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: none; color: var(--bg); }
.file, .eyebrow, .primary-nav, .section-nav, .sidebar-note, .record-number, .record-date, .site-footer, .button, button, .message, .breadcrumbs, .pagination { font-family: var(--mono); }
.file { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 18px 0 14px; font-size: .65rem; letter-spacing: .09em; color: var(--muted); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; text-decoration: none; font-size: 1.05rem; font-weight: bold; line-height: 1.3; letter-spacing: .12em; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.primary-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .77rem; }
.primary-nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 1px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { border-color: var(--fg); }
.layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding-top: 54px; }
.eyebrow { margin: 0; font-size: .67rem; text-transform: uppercase; letter-spacing: .11em; color: var(--muted); }
.sidebar { padding-top: 10px; }
.section-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 18px; font-size: .77rem; }
.section-nav a { padding-block: 10px; text-decoration: none; }
.section-nav a:hover { text-decoration: underline; }
.section-nav span { padding-right: 12px; color: var(--muted); font-size: .65rem; }
.sidebar-note { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px; color: var(--muted); font-size: .65rem; line-height: 1.8; letter-spacing: .05em; }
.intro { padding-bottom: 48px; }
.intro p:not(.eyebrow) { max-width: 610px; }
.lead { font-size: clamp(1.15rem, 2.3vw, 1.35rem); line-height: 1.6; }
.intro > p:not(.lead):not(.eyebrow) { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; margin-top: 6px; font-size: .95rem; }
.section { padding: 30px 0 36px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 25px; }
.section-heading .eyebrow { text-align: right; }
.catalogue { margin: 0; padding: 0; list-style: none; }
.catalogue li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-top: 1px solid #262625; }
.catalogue li:first-child { border-top: 0; padding-top: 4px; }
.catalogue li:last-child { padding-bottom: 0; }
.record-number { font-size: .69rem; color: var(--muted); padding-top: 4px; }
.catalogue h3 { font-size: clamp(1.15rem, 2.3vw, 1.4rem); margin: 0 0 5px; }
.catalogue p { color: var(--muted); font-size: .87rem; margin: 0; }
.press-note { display: flex; gap: 28px; align-items: center; }
.press-note img { flex: 0 0 auto; width: 150px; height: 146px; object-fit: contain; }
.press-note p { color: var(--muted); max-width: 420px; margin-bottom: 0; }
.contact-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; max-width: 100%; font-size: clamp(1.15rem, 3vw, 1.65rem); overflow-wrap: anywhere; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid var(--line); margin-top: 38px; padding: 22px 0 28px; font-size: .65rem; letter-spacing: .035em; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.reading-page { max-width: 760px; margin: 0 auto; padding-top: 45px; }
.page-intro { padding-bottom: 30px; }
.page-intro h1, .article-heading h1 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); }
.page-intro > p:last-child { color: var(--muted); max-width: 580px; }
.blog-row { padding: 28px 0; border-top: 1px solid var(--line); }
.blog-row h2 { margin: 10px 0; font-size: clamp(1.45rem, 3.5vw, 1.9rem); }
.blog-row h2 a { text-decoration: none; }
.blog-row h2 a:hover { text-decoration: underline; }
.blog-excerpt { color: var(--muted); margin: 0; }
.record-date { color: var(--muted); font-size: .69rem; letter-spacing: .04em; }
.empty-state { border-block: 1px solid var(--line); padding: 34px 0; }
.empty-state p { color: var(--muted); max-width: 570px; }
.empty-state h2 { font-size: 1.5rem; margin-bottom: 12px; }
.breadcrumbs { font-size: .73rem; margin-bottom: 28px; }
.breadcrumbs a { display: inline-block; padding-block: 8px; }
.article-heading { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-heading .lead { margin-top: 24px; color: var(--muted); }
.article-body { font-size: 1.1rem; line-height: 1.85; margin: 34px 0; overflow-wrap: anywhere; }
.article-body p { margin-bottom: 1.4em; }
.article-footer { padding-top: 20px; border-top: 1px solid var(--line); }
.pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8rem; }
.pagination a { display: inline-block; padding-block: 10px; }
.button, button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 18px; background: var(--fg); color: var(--bg); border: 1px solid var(--fg); border-radius: 0; font-size: .8rem; text-decoration: none; }
.button:hover { color: var(--bg); background: #fff; }
.button.alt, button.alt { background: transparent; color: var(--fg); border-color: var(--line); }
.button.alt:hover, button.alt:hover { border-color: var(--fg); }
.admin-page { max-width: 760px; margin: 0 auto; padding-top: 40px; }
.admin-page h1 { font-size: clamp(2rem, 5vw, 3rem); }
.admin-page h2 { margin: 32px 0 18px; }
.form { max-width: 100%; }
.form label { display: block; margin: 22px 0 8px; }
.form input, .form textarea { width: 100%; background: var(--soft); border: 1px solid #64625d; border-radius: 0; color: var(--fg); padding: 12px; font-size: 1rem; }
.form textarea { resize: vertical; min-height: 112px; line-height: 1.7; }
.form #body { min-height: 320px; }
.form-hint { font-size: .85rem; color: var(--muted); margin-top: 7px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.message { min-height: 1.6em; margin-top: 16px; font-size: .8rem; overflow-wrap: anywhere; }
.message[data-kind="error"] { color: #ffc1b4; }
.editor-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.admin-record { padding: 20px 0; border-top: 1px solid var(--line); }
.admin-record h3 { overflow-wrap: anywhere; }
.admin-record .form-actions { margin-top: 14px; }
#captcha { min-height: 70px; margin-top: 22px; }
@media (min-width: 901px) { .sidebar { align-self: start; position: sticky; top: 24px; } }
@media (max-width: 900px) {
  .page { width: calc(100% - 48px); }
  .layout { grid-template-columns: 145px minmax(0, 1fr); gap: 35px; }
  .primary-nav { gap: 8px 18px; }
  .header-row { gap: 20px; }
  .brand { font-size: .95rem; }
  .press-note { align-items: start; gap: 20px; }
  .press-note img { width: 110px; height: auto; }
}
@media (max-width: 700px) {
  .page { width: calc(100% - 36px); }
  .file { padding-top: 14px; font-size: .6rem; }
  .file > span:last-child { display: none; }
  .header-row { align-items: start; flex-direction: column; padding: 22px 0 10px; gap: 18px; }
  .primary-nav { width: 100%; justify-content: space-between; gap: 4px 12px; font-size: .73rem; }
  .layout { display: block; padding-top: 0; }
  .sidebar { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .sidebar > .eyebrow, .sidebar-note { display: none; }
  .section-nav { flex-direction: row; flex-wrap: wrap; gap: 0 20px; margin: 0; font-size: .71rem; }
  .section-nav span { padding-right: 5px; }
  .section-nav a { min-height: 44px; display: flex; align-items: center; }
  .intro { padding: 32px 0 36px; }
  .intro .lead { margin-top: 22px; }
  .section { padding-block: 26px 30px; }
  .section-heading { gap: 12px; margin-bottom: 22px; }
  .section-heading .eyebrow { font-size: .59rem; }
  .catalogue li { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .press-note { gap: 20px; }
  .press-note img { width: 90px; }
  .site-footer { align-items: start; flex-direction: column; gap: 8px; margin-top: 20px; }
  .site-footer nav { gap: 24px; }
  .reading-page { padding-top: 32px; }
  .page-intro { padding-bottom: 22px; }
}
@media (max-width: 380px) {
  .page { width: calc(100% - 28px); }
  .primary-nav { font-size: .69rem; gap: 4px 10px; }
  .section-nav { gap: 0 13px; }
  .press-note { flex-direction: column; }
  .section-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
@media print {
  :root { --fg: #000; --muted: #444; --line: #bbb; --bg: #fff; }
  .page { width: 100%; }
  .sidebar, .primary-nav, .site-footer nav, .skip-link, .file { display: none; }
  .layout { display: block; padding-top: 20px; }
  .header-row { padding: 10px 0; }
  .brand img, .press-note img { display: none; }
  .intro { padding-bottom: 20px; }
  h1 { font-size: 32pt; }
  .section, .catalogue li, .blog-row { break-inside: avoid; }
}
