/*
 * Global self-hosted font faces for the Weilo child theme.
 * Loaded site-wide so any section CSS can reference the families directly.
 *
 * Google Sans Flex — variable woff2 (wght + opsz axes preserved; GRAD/ROND/
 * slnt/wdth pinned at instance time to shrink the file). Subset to Latin +
 * Latin Extended (covers ES/EN/PT). Licensed under SIL OFL — see OFL.txt
 * alongside the .woff2 file.
 */
@font-face {
  font-family: "Google Sans Flex";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./google-sans-flex/google-sans-flex.woff2") format("woff2-variations"),
       url("./google-sans-flex/google-sans-flex.woff2") format("woff2");
}

/*
 * Absans Regular — by Collletttivo, SIL OFL. Subset to Latin + Latin
 * Extended (covers ES/EN/PT) and converted to woff2 (≈25 KB).
 * Replaces the parent theme's heavier OTF copy when the browser composes
 * the cascade. License at ./absans/OFL.txt.
 */
@font-face {
  font-family: "Absans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./absans/absans-regular.woff2") format("woff2");
}

/*
 * PP Nikkei Journal — Regular (400). Pangram Pangram, commercial license.
 * Ultrabold (800) is registered in hero.css; this completes the family so
 * non-display copy that uses Nikkei at weight 400/500/600 actually renders
 * with the regular cut instead of a synthesized fallback off the 800.
 * Subset to Latin + Latin Extended → ≈23 KB.
 */
@font-face {
  font-family: "PP Nikkei Journal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./pp-nikkei-journal/PPNikkeiJournal-Regular.woff2") format("woff2");
}
