/* ============================================================
   SELF-HOSTED WEBFONTS
   ------------------------------------------------------------
   All four families live in this folder as .woff2 (244 KB total),
   so the site loads with zero external requests and works offline.

   Families:
     Archivo          — display / headlines        (500, 700, 800)
     Anuphan          — body text, Latin + Thai    (300–600)
     Instrument Serif — italic accents             (400)
     JetBrains Mono   — labels, meta, numbers      (400, 500)

   Licences: all four are SIL Open Font License 1.1 (free for
   commercial use, including self-hosting). Source: Google Fonts.

   TO SWAP A TYPEFACE
     1. Drop the new .woff2 files into this folder.
     2. Change the src: url() below to match.
     3. Update the --f-display / --f-body variables in ../../style.css.
   ============================================================ */

/* Unicode ranges keep Thai and Latin in separate files — the browser
   only downloads what the page actually uses. */

/* ---------- Archivo (display) ---------- */
@font-face{
  font-family:"Archivo"; font-style:normal; font-weight:500; font-display:swap;
  src:url("archivo-latin-500-normal.woff2") format("woff2");
}
@font-face{
  font-family:"Archivo"; font-style:normal; font-weight:700; font-display:swap;
  src:url("archivo-latin-700-normal.woff2") format("woff2");
}
@font-face{
  font-family:"Archivo"; font-style:normal; font-weight:800; font-display:swap;
  src:url("archivo-latin-800-normal.woff2") format("woff2");
}

/* ---------- Anuphan (body — Latin) ---------- */
@font-face{ font-family:"Anuphan"; font-style:normal; font-weight:300; font-display:swap;
  src:url("anuphan-latin-300-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:"Anuphan"; font-style:normal; font-weight:400; font-display:swap;
  src:url("anuphan-latin-400-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:"Anuphan"; font-style:normal; font-weight:500; font-display:swap;
  src:url("anuphan-latin-500-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:"Anuphan"; font-style:normal; font-weight:600; font-display:swap;
  src:url("anuphan-latin-600-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Anuphan (body — Thai) ---------- */
@font-face{ font-family:"Anuphan"; font-style:normal; font-weight:300; font-display:swap;
  src:url("anuphan-thai-300-normal.woff2") format("woff2");
  unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face{ font-family:"Anuphan"; font-style:normal; font-weight:400; font-display:swap;
  src:url("anuphan-thai-400-normal.woff2") format("woff2");
  unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face{ font-family:"Anuphan"; font-style:normal; font-weight:500; font-display:swap;
  src:url("anuphan-thai-500-normal.woff2") format("woff2");
  unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face{ font-family:"Anuphan"; font-style:normal; font-weight:600; font-display:swap;
  src:url("anuphan-thai-600-normal.woff2") format("woff2");
  unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }

/* Thai headlines fall back to Anuphan 600 — Archivo has no Thai glyphs,
   so the browser picks this up automatically, glyph by glyph. */
@font-face{ font-family:"Archivo"; font-style:normal; font-weight:800; font-display:swap;
  src:url("anuphan-thai-600-normal.woff2") format("woff2");
  unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face{ font-family:"Archivo"; font-style:normal; font-weight:700; font-display:swap;
  src:url("anuphan-thai-600-normal.woff2") format("woff2");
  unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face{ font-family:"Archivo"; font-style:normal; font-weight:500; font-display:swap;
  src:url("anuphan-thai-500-normal.woff2") format("woff2");
  unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC; }

/* ---------- Instrument Serif (accents) ---------- */
@font-face{ font-family:"Instrument Serif"; font-style:normal; font-weight:400; font-display:swap;
  src:url("instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face{ font-family:"Instrument Serif"; font-style:italic; font-weight:400; font-display:swap;
  src:url("instrument-serif-latin-400-italic.woff2") format("woff2"); }

/* ---------- JetBrains Mono (labels) ---------- */
@font-face{ font-family:"JetBrains Mono"; font-style:normal; font-weight:400; font-display:swap;
  src:url("jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face{ font-family:"JetBrains Mono"; font-style:normal; font-weight:500; font-display:swap;
  src:url("jetbrains-mono-latin-500-normal.woff2") format("woff2"); }
