/* Rysana Sans - self-hosted variable web fonts (SIL Open Font License 1.1).
   Source: https://rysana.com/type  (github.com/rysana-os/type).
   Core (Latin) subset is declared last so it wins for Latin text; the full
   faces cover the remaining scripts and load only when such glyphs are used. */
@font-face {
  font-family: 'Rysana Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/rysana-sans-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Rysana Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/rysana-sans-var-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Rysana Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/rysana-sans-var-core.woff2') format('woff2');
  unicode-range: U+0-36F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-215F, U+2190-21FF, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rysana Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/rysana-sans-var-italic-core.woff2') format('woff2');
  unicode-range: U+0-36F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-215F, U+2190-21FF, U+2212, U+FEFF, U+FFFD;
}

:root {
  --bg: #FAF3E0;
  --fg: #5A6B3C;
  --muted: #8A9A5B;
  --accent: #4A90A4;
  --highlight: #8B7BA8;
  --line: #E8E4D9;
  --panel: #FFFFFF;
}
:root[data-theme="dark"] {
  --bg: #1a1815;
  --fg: #c8d4b8;
  --muted: #8a9a7b;
  --accent: #6bb3d9;
  --highlight: #b19cd9;
  --line: #2d2a24;
  --panel: #252320;
}

/* VT323 - self-hosted pixel/CRT face (SIL Open Font License 1.1).
   Source: https://github.com/google/fonts/tree/main/ofl/vt323
   Used for Gaming article body copy (.prose) at 19px via the per-article
   rule; declared here so every page that links /rysana.css can resolve it. */
@font-face {
  font-family: "VT323";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/vt323.woff2') format('woff2');
}

/* sitewide: logo/brand text uppercase */
.logo, .brand, .np-brand, .footer-logo, .huge-menu-logo, .huge-menu-logo span, .huge-menu-logo small { text-transform: uppercase; }
