/*
 * Bengali pages only: Hind Siliguri (SIL Open Font License), self-hosted
 * Bengali subset, weights 400–700. Latin text keeps Inter / Space Grotesk /
 * JetBrains Mono; the browser picks these faces only for Bengali characters.
 */
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/hind-siliguri-bengali-400.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/hind-siliguri-bengali-500.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/hind-siliguri-bengali-600.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "Hind Siliguri"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/hind-siliguri-bengali-700.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }

/*
 * "WP Bengali Mono": for monospace labels on Bengali pages. Bengali letters
 * and the space come from Hind Siliguri, so words are not pushed apart by the
 * monospace space; Latin letters and digits (hashes, addresses, chain IDs)
 * still fall through to JetBrains Mono.
 */
@font-face { font-family: "WP Bengali Mono"; font-weight: 400 500; font-display: swap; src: url(fonts/hind-siliguri-bengali-500.woff2) format("woff2"); unicode-range: U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "WP Bengali Mono"; font-weight: 600 800; font-display: swap; src: url(fonts/hind-siliguri-bengali-600.woff2) format("woff2"); unicode-range: U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "WP Bengali Mono"; font-weight: 100 900; font-display: swap; src: url(fonts/hind-siliguri-latin-400.woff2) format("woff2"); unicode-range: U+0020; }

html[lang="bn"] {
  --font-mono: "WP Bengali Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
