/* Self-hosted fonts (latin subset, licences in assets/fonts/): no request ever leaves for Google. */
@font-face { font-family: Fraunces; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-opsz-normal-SfWU466.woff2") format('woff2'); }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-opsz-italic-D4zzevS.woff2") format('woff2'); }
@font-face { font-family: Caveat; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/caveat-latin-wght-normal-jM9h_2u.woff2") format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal-Gz7AlRl.woff2") format('woff2'); }
@font-face { font-family: "Special Elite"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/special-elite-latin-400-normal-KE0hEFZ.woff2") format('woff2'); }

:root {
  --red-900: #4a0f12; --red-800: #64161a; --red-700: #7d1e22; --red-600: #9a2a2c;
  --pine-900: #0f2a20; --pine-700: #1d4a37; --pine-500: #2f6b4f;
  --cream: #fbf4e6; --gold: #e7b75f; --gold-2: #c8913a; --ink: #3a2418; --ink-soft: #7a6450;
  --line: 38px; /* the paper's ruling: every element inside the letter snaps to it */
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Inter, system-ui, sans-serif; color: var(--cream); background: var(--red-800); overflow-x: hidden; }
button, select, textarea, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* headings and screens receive focus from script only, to be read out: no ring for them */
[tabindex="-1"]:focus { outline: none; }

.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; }
/* the honeypot: off-screen for people, still filled by naive bots */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
