/* Self-hosted brand faces for elderfacts.com public pages (no runtime Google/CDN — mems pattern).
   Inter = the lead face (all UI, headings, body). JetBrains Mono = infographics / stat readouts /
   badges ONLY (founder rule). Fraunces = display accents only; Inter leads.
   URLs are relative to this file: serve the woff2 set from the same directory (/assets/fonts/). */

/* ---- Inter (lead sans) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('Inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('Inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('Inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('Inter-700.woff2') format('woff2');
}

/* ---- JetBrains Mono (readouts, badges, infographic text) ---- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('JetBrainsMono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('JetBrainsMono-700.woff2') format('woff2');
}

/* ---- Fraunces (display accents; variable 400–700) ----
   -01 = latin-ext subset (unicode-range gated) · -02 = latin (unranged fallback). No -00 file. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fraunces-400_700-normal-01.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fraunces-400_700-normal-02.woff2') format('woff2');
}
