:root {
  color-scheme: light;
  --paper: #f9f8f3;
  --field: #eeede5;
  --ink: #242723;
  --muted: #555a52;
  --line: #c3c6bb;
  --accent: #ac351e;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(1rem, 4.5vw, 4.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.52 var(--sans); }
h1, h2, h3, p, ol, ul, dl, figure { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.4vw, 5.4rem); }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.65vw, 1.55rem); }
a { color: inherit; text-underline-offset: .21em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
img, svg { max-width: 100%; }
button, input, select, summary { font: inherit; color: inherit; }
input, select { padding: .61rem .7rem; background: var(--paper); border: 1px solid var(--muted); min-height: 44px; width: 100%; border-radius: 0; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: min(100%, 1536px); margin-inline: auto; padding-inline: var(--gutter); }
.label, .eyeline, .place-code, dt { font: 650 .72rem/1.45 var(--mono); letter-spacing: .075em; text-transform: uppercase; }
.eyeline { display: flex; align-items: center; gap: .55rem; color: var(--accent); margin-bottom: .4rem; }
.eyeline::before { content: ""; width: .58rem; height: .58rem; background: currentColor; }
.lead { font-size: clamp(1rem,1.5vw,1.2rem); max-width: 66ch; color: var(--muted); margin-top: .55rem; }
.skip { position: absolute; top: .4rem; left: 1rem; z-index: 10; background: var(--ink); color: white; padding: .7rem 1rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-head { border-top: 4px solid var(--ink); border-bottom: 1px solid var(--ink); }
.mast, .identity, .desktop-nav, .foot, .footer-nav, .mobile-tools { display: flex; align-items: center; }
.mast, .foot { justify-content: space-between; gap: 1rem; }
.mast { min-height: 4.2rem; }
.identity { gap: 1.1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; line-height: 1; font-weight: 800; font-size: 1.85rem; letter-spacing: -.075em; }
.wordmark img { width: 1.8rem; height: 1.8rem; }
.identity-note { font: .65rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .12em; max-width: 12ch; border-left: 1px solid var(--line); padding-left: 1rem; }
.desktop-nav, .footer-nav { flex-wrap: wrap; gap: .2rem clamp(.8rem,1.9vw,2rem); }
.desktop-nav a, .footer-nav a, .mobile-tools a, .mobile-tools summary { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .92rem; font-weight: 630; }
.desktop-nav a[aria-current], .mobile-tools a[aria-current] { color: var(--accent); text-decoration: underline; text-underline-offset: .4em; }
.mobile-tools { display: none; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .6rem; color: var(--muted); font: .79rem/1.45 var(--mono); padding-top: .8rem; }
.breadcrumb a { min-height: 36px; display: inline-flex; align-items: center; }
.breadcrumb span[aria-hidden] { color: var(--accent); }
.page-head { padding-block: clamp(1.15rem,2.8vw,2.75rem); }
.page-head h1 { max-width: 23ch; }
.action, .btn, .text-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--accent); font-weight: 650; }
.btn { background: var(--ink); color: var(--paper); text-decoration: none; padding: .7rem 1rem; }
.btn:hover { color: white; background: var(--accent); }
.arrow { font-family: Arial,sans-serif; }
footer { border-top: 2px solid var(--ink); margin-top: clamp(2.5rem,5vw,5rem); background: var(--field); }
.foot { padding-block: 1.25rem; flex-wrap: wrap; }
.footer-nav .site-credit { font-size: 1rem; text-decoration: underline; }
@media(max-width: 850px) {
  .desktop-nav { display: none; }
  .mobile-tools { display: flex; gap: .85rem; align-items: center; }
  .mobile-tools details { position: relative; }
  .mobile-tools summary { display: list-item; align-content: center; cursor: pointer; padding: .6rem 0; }
  .mobile-tools details nav { position: absolute; top: 100%; right: 0; z-index: 5; display: grid; width: min(16rem,85vw); border: 1px solid var(--ink); background: var(--paper); box-shadow: 3px 3px 0 var(--ink); padding: .35rem .9rem; }
  .mobile-tools details nav a + a { border-top: 1px solid var(--line); }
  .mast { min-height: 3.8rem; }
}
@media(max-width: 540px) {
  .identity-note { display: none; }
  .mast { gap: .5rem; }
  .wordmark { font-size: 1.55rem; gap: .35rem; }
  .foot { align-items: flex-start; flex-direction: column; }
  .footer-nav { gap: .1rem 1rem; }
  .breadcrumb { padding-top: .4rem; font-size: .75rem; }
}
@media(prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
