/* Shared base: fonts, reset, pixel utilities. Self-hosted fonts only (no third-party requests). */
@font-face { font-family: "Silkscreen"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/silkscreen-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Silkscreen"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/silkscreen-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "VT323"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/vt323-latin-400-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1.0625rem; line-height: 1.6; background: var(--bg); color: var(--ink); }
main { flex: 1; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: "Silkscreen", "Courier New", monospace; font-weight: 700; line-height: 1.2; margin: 0 0 .6em; letter-spacing: .02em; }
h1 { font-size: clamp(1.9rem, 7vw, 3.2rem); }
h2 { font-size: clamp(1.35rem, 4.5vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, 44rem); margin-inline: auto; }
.pixel, .sprite { image-rendering: pixelated; image-rendering: crisp-edges; image-rendering: pixelated; }
.skip { position: absolute; left: .5rem; top: -4rem; background: var(--ink); color: var(--bg); padding: .5rem .9rem; z-index: 99; font-family: "Silkscreen", monospace; }
.skip:focus { top: .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow { font-family: "VT323", monospace; font-size: 1.4rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 .25rem; line-height: 1.1; }
.prose h2 { margin-top: 2.2rem; font-size: 1.3rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose { overflow-wrap: anywhere; }
.site-footer { border-top: 2px dashed var(--line); padding: 1.6rem 0 2.2rem; font-size: .95rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-footer a { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
