/* Noto Sans SC - Self-hosted Simplified Chinese Font Subset
 * Source: Google Fonts (https://fonts.google.com/specimen/Noto+Sans+SC)
 * License: SIL Open Font License 1.1
 *
 * This file contains @font-face declarations for Noto Sans SC.
 * This is a subset containing only the Simplified Chinese characters used on
 * zenomm.com/zh-CN/ (plus the CJK selector labels that render on every page,
 * basic Latin, and CJK punctuation for mixed content). Re-subset after the
 * zh-CN translation lands (Phase 9 / Phase 16) via track_char_changes.py.
 *
 * NEW for the ZenOmm website — the sibling reference project shipped Traditional
 * Chinese only. This is the Simplified (zh-CN) counterpart of noto-sans-tc-font.css.
 *
 * font-display: swap — RELIABILITY over LCP for non-Latin scripts. A slow network
 * must never leave the web font permanently unloaded, which on an OS lacking a
 * Simplified-Chinese system font would render permanent tofu. (Inter / Latin /
 * Cyrillic stay font-display: optional, where system fonts always cover the glyphs.)
 */

/* ==========================================================================
   Noto Sans SC - Simplified Chinese Subset (Variable Weight 100-900)
   ========================================================================== */
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/noto-sans-sc-subset.woff2') format('woff2');
    /* Unicode ranges for CJK characters used on this site */
    unicode-range: U+4E00-9FFF, U+3000-303F, U+FF00-FFEF, U+0020-007F, U+2000-206F, U+2190-21FF, U+2600-26FF, U+2700-27BF;
}

/* ==========================================================================
   Font Stack for Simplified Chinese Pages
   ========================================================================== */
/*
 * Usage in Simplified Chinese pages:
 * font-family: 'Noto Sans SC', 'Inter', system-ui, -apple-system, sans-serif;
 *
 * Or use the CSS custom property:
 * font-family: var(--font-chinese-sc);
 */
:root {
    --font-chinese-sc: 'Noto Sans SC', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
