/**
 * House typeface load for the Speak player (SPEAK_UX_SPEC.md TOK-5 / X3).
 *
 * WHY THIS FILE IS SEPARATE FROM player.css. player.css is built by Vite in
 * IIFE/library mode into the gitignored assets/dist/ (see vite.config.ts),
 * rebuilt fresh at package time by scripts/build-plugin-zip.sh. A relative
 * url(...) inside that bundle would need to keep resolving from wherever the
 * built CSS lands in the shipped zip, which Vite's asset pipeline is not
 * asked to guarantee here. This file instead lives as a plain, hand-authored
 * stylesheet under assets/ (same tree as assets/oral-hub/hub.css,
 * assets/compo-hub/hub.css etc.) — never touched by Vite, copied verbatim by
 * build-plugin-zip.sh's blanket `rsync assets/`, and enqueued by
 * SpeakRenderer::enqueue() as a dependency of the built player stylesheet.
 * Its own url(...) references are relative to THIS file's own directory
 * (assets/fonts/), which does not move, so they resolve identically in the
 * dev tree and inside the built zip.
 *
 * PATTERN. Mirrors the sibling product tamilcube-academy's existing
 * @font-face declarations for the same two families byte-for-byte in
 * structure (font-display: swap, per-weight src blocks) — see
 * tamilcube-academy's built assets/css/style.*.css. Not invented fresh.
 *
 * SELF-HOST, NOT CDN (X3, resolved 2026-07-30/31). Avoids a third-party
 * request per pageview on a children's education product, and keeps the
 * fonts available even when a learner's network blocks Google Fonts.
 *
 * LICENSE. Both families are SIL Open Font License 1.1 — see OFL-Nunito.txt
 * and OFL-NotoSansTamil.txt in this same directory, plus NOTICE.txt for full
 * attribution and provenance.
 *
 * These are the ONLY @font-face rules for these families; tokens.css's
 * `--asai-ta`/`--asai-ui` stacks (plugin-asiriyai/src/widgets/shared/
 * tokens.css) name "Nunito" and "Noto Sans Tamil" as their first two
 * choices — this file is what makes those names actually resolve to a
 * loaded font instead of falling through to system-ui.
 */

@font-face {
  font-family: "Nunito";
  src: url("Nunito-Variable.woff2") format("woff2-variations"),
       url("Nunito-Variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Tamil";
  src: url("NotoSansTamil-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Tamil";
  src: url("NotoSansTamil-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
