/* 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 724 Japanese characters used on yaytimer.com/ja/
 * plus basic Latin characters for mixed content.
 * 
 * Character breakdown:
 *   - Hiragana: 63 characters
 *   - Katakana: 77 characters
 *   - Kanji: 584 characters
 * 
 * Original font: ~9 MB
 * Subset font: ~314 KB (96.6% reduction)
 * 
 * font-display: optional - Uses fallback font if web font doesn't load in ~100ms
 * This eliminates "render delay" for LCP optimization (target < 2.5s)
 * 
 * Generated: January 31, 2026
 */

/* ==========================================================================
   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: optional;
    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;
}
