/* ===========================================================================
   Sugarcane — Fonts
   CS PraJad (Thai + Latin UI, self-hosted .otf), Roboto (Latin display),
   JetBrains Mono (data / numerals / IDs, Google CDN).
   CS PraJad is the primary Thai/UI typeface (Regular, Bold + matching Italics).
   Weight ranges are mapped: 300–500 → Regular, 600–700 → Bold.
   NOTE: @import must precede @font-face per CSS spec, so the CDN line is first.
   =========================================================================== */

/* ---- Latin display + monospace from Google CDN ------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;600;700;800&family=JetBrains+Mono:wght@100;200;300;400;500;600;700;800&display=swap');

/* ---- CS PraJad — self-hosted Thai/UI family --------------------------- */
@font-face {
  font-family: 'CS PraJad';
  src: url('../assets/fonts/CSPraJad-Regular.otf') format('opentype');
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CS PraJad';
  src: url('../assets/fonts/CSPraJad-Bold.otf') format('opentype');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CS PraJad';
  src: url('../assets/fonts/CSPraJad-Italic.otf') format('opentype');
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'CS PraJad';
  src: url('../assets/fonts/CSPraJad-BoldItalic.otf') format('opentype');
  font-weight: 600 700;
  font-style: italic;
  font-display: swap;
}
