/* sj-tokens.css · Siam855 (designer, 14.10.2026): Thai web fonts (OFL, files in /assets/type/, licences next to them) and home tokens.
   Kanit ships one weight (600); it is declared for 500–900 so headings set to 700/800 use the real glyphs, never a synthesised bold.
   Noto Sans Thai Looped is a variable font 400–700. Every subset of a family declares the same weight range (typo_check.py). */
@font-face{font-family:"Kanit";font-style:normal;font-weight:500 900;font-display:swap;src:url(/assets/type/kanit-600-thai.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"Kanit";font-style:normal;font-weight:500 900;font-display:swap;src:url(/assets/type/kanit-600-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Noto Sans Thai Looped";font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/type/notolooped-var-thai.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"Noto Sans Thai Looped";font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/type/notolooped-var-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{
  --sj-hx-measure:68ch;          /* line length of section intros and prose */
  --sj-hx-gap-in:18px;           /* intro paragraph → block */
  --sj-hx-gap-out:22px;          /* block → paragraph after it */
  --sj-hx-glow:radial-gradient(760px 420px at 88% 0%,rgba(214,0,227,.22),transparent 62%),radial-gradient(620px 380px at 0% 100%,rgba(139,92,246,.18),transparent 60%);
  --sj-hx-card:linear-gradient(180deg,#231d2f 0%,#1a1623 100%);
  --sj-hx-card-lead:linear-gradient(180deg,#2c1838 0%,#1b1424 100%);
}
