/* ERRIESE — Self-hosted web fonts
   Replaces fonts.googleapis.com (blocked/slow in mainland China).
   Source: @fontsource/* npm packages (latin + chinese-simplified subsets, woff2 only).
   font-display: swap → render fallback first, swap when font loads. */

/* ─────────── Inter ─────────── */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 300; src: url('fonts/inter-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 500; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 600; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 700; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 800; src: url('fonts/inter-latin-800-normal.woff2') format('woff2'); }

/* ─────────── Cormorant Garamond ─────────── */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-display: swap; font-weight: 300; src: url('fonts/cormorant-garamond-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-display: swap; font-weight: 400; src: url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-display: swap; font-weight: 500; src: url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-display: swap; font-weight: 300; src: url('fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-display: swap; font-weight: 400; src: url('fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-display: swap; font-weight: 500; src: url('fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }

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

/* ─────────── Noto Serif SC (中文衬线) ───────────
   Two faces per weight: chinese-simplified (汉字 ~3MB each) + latin (~10KB each).
   Browser picks based on the unicode-range automatically — no need to declare ranges. */
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-display: swap; font-weight: 400; src: url('fonts/noto-serif-sc-chinese-simplified-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-display: swap; font-weight: 500; src: url('fonts/noto-serif-sc-chinese-simplified-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-display: swap; font-weight: 600; src: url('fonts/noto-serif-sc-chinese-simplified-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-display: swap; font-weight: 400; src: url('fonts/noto-serif-sc-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-024F; }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-display: swap; font-weight: 500; src: url('fonts/noto-serif-sc-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-024F; }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-display: swap; font-weight: 600; src: url('fonts/noto-serif-sc-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-024F; }
</content>
</invoke>