/* Noto Sans JP - Self-hosted Japanese Font Subset
 * Source: Google Fonts (https://fonts.google.com/specimen/Noto+Sans+JP)
 * License: SIL Open Font License 1.1
 * 
 * This file contains @font-face declarations for Noto Sans JP.
 * This is a subset containing only the Japanese characters used on zenomm.com/ja-JP/
 * plus basic Latin characters for mixed content.
 *
 * 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
 * Japanese system font would render permanent tofu. (Inter / Latin / Cyrillic stay
 * font-display: optional, where system fonts always cover the glyphs.)
 */

/* ==========================================================================
   Noto Sans JP - Japanese Subset (Variable Weight 100-900)
   ========================================================================== */
@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/noto-sans-jp-subset.woff2') format('woff2');
    /* Unicode ranges for Japanese characters used on this site:
     * - Hiragana: U+3040-309F
     * - Katakana: U+30A0-30FF
     * - CJK Kanji: U+4E00-9FFF
     * - Basic Latin: U+0020-007F
     * - General Punctuation: U+2000-206F
     * - Japanese Punctuation: U+3000-303F
     */
    unicode-range: U+3040-309F, U+30A0-30FF, U+4E00-9FFF, U+0020-007F, U+2000-206F, U+3000-303F, U+FF00-FFEF;
}

/* ==========================================================================
   Font Stack for Japanese Pages
   ========================================================================== */
/*
 * Usage in Japanese pages:
 * font-family: 'Noto Sans JP', 'Inter', system-ui, -apple-system, sans-serif;
 * 
 * Or use the CSS custom property:
 * font-family: var(--font-japanese);
 */
:root {
    --font-japanese: 'Noto Sans JP', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
