/*
 * Thai — Noto Sans Thai.
 *
 * GENERATED-ISH, BUT COMMITTED AND EDITABLE. Like every other face on this site the files are
 * served from our own origin, never a webfont CDN — the page states that no request leaves for
 * anybody else's server, and the host ships a strict CSP.
 *
 * ⚠ THIS FILE IS LOADED BY ONE LOCALE GROUP ONLY (th), from
 * src/components/ScriptFont.tsx. That is the whole design: see the header of
 * src/styles/fonts.css for why unicode-range alone could not do this job.
 *
 * It sets --font-script / --font-mono-script rather than --font, so it never has to win a
 * cascade race against tokens.css: those two are consumed through var() inside --font, so the
 * order the stylesheets happen to load in cannot change the result.
 */

@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/noto-sans-thai-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/noto-sans-thai-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/noto-sans-thai-700-normal.woff2") format("woff2");
}

:root {
  --font-script: "Noto Sans Thai";
  --font-mono-script: "Noto Sans Thai";
}
