/* The zWRF site's fonts, for every page that shows zWRF: the home page (src/components/LandingPage.astro) and the wind
   scenes under /heroes/. Each links this one file, so the faces, the stack and the sizing are written once.
   A page sets its text with font-family:var(--zwrf-sans).

   Words are set in Inter and digits in Source Sans 3, as the zWRF app sets them. Both files are the site's
   own, so a page asks no other site for a font, and each has its OFL.txt beside it.
   Inter is 4.1 from its official release, latin subset, with both its axes: weight, and optical size, which
   tightens the large headings. scripts/bake-inter.py builds it, and keeps the hyphen narrow under tabular
   figures. "zWRF Figures" is the ten digits of Source Sans 3 3.052 with its weight axis, built by
   scripts/bake-figures.py. Its unicode-range gives it the digits alone, so it comes first in the stack and
   every other character falls through to Inter. */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("/fonts/inter/InterVariable-latin.woff2") format("woff2")}
@font-face{font-family:"zWRF Figures";font-style:normal;font-weight:200 900;font-display:swap;src:url("/fonts/source-sans-3/zWRFFigures.woff2") format("woff2");unicode-range:U+0030-0039}
:root{--zwrf-sans:"zWRF Figures","Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
/* Every px size on these pages was chosen for the face they were first set in, whose x-height is 0.461 em.
   Inter's is 0.546 em and Source Sans 3's 0.486 em (0.489 at weight 500, 0.496 at 700). font-size-adjust
   draws each face at 0.461 em, scaling each by its own x-height, so text keeps the size it had, line heights
   and layout stay as they were, and the digits stand as tall as Inter's capitals. Every element takes it,
   with !important, because the font shorthand the pictures of the app use resets it. cv01 is Inter's
   alternate one, the 1 without its flag, for a 1 drawn in Inter while the figures file loads. */
*,::before,::after{font-size-adjust:.461!important}
html{font-feature-settings:"cv01"}
