/**
 * Noto Sans JP — lazy-loaded @font-face declarations
 *
 * NOT imported by `styles/fonts.css` — instead injected on demand via
 * `lib/fonts/loadNotoSansJp.ts` (client helper) or a conditional <link>
 * rendered server-side in `app/layout.tsx` when `lang === 'ja'`.
 *
 * Why split out:
 *   Each weight is a ~5 MB woff2 (full CJK coverage). Loading the face on every
 *   page meant ~5 MB was downloaded just so the MAPORŌ wordmark / editor
 *   section titles could render in their canonical face, even on pages with
 *   zero Japanese content. The wordmark + section titles fall back to
 *   system-ui via `.font-noto-sans-jp` in `styles/globals.css`.
 *
 * Unicode-range split — the browser only downloads a face when a glyph in the
 * declared range is rendered. Today both range blocks point at the same
 * full-coverage file; once real pyftsubset'd files land, only the src URLs
 * change.
 */

/* Light 300 — Latin range (wordmark) */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/noto-sans-jp/NotoSansJP-Light.woff2') format('woff2');
  unicode-range: U+0020-024F, U+2014, U+2018-201F, U+2022, U+2026, U+2122;
}
/* Light 300 — Japanese range */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/noto-sans-jp/NotoSansJP-Light.woff2') format('woff2');
  unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

/* Regular 400 — Latin range */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/noto-sans-jp/NotoSansJP-Regular.woff2') format('woff2');
  unicode-range: U+0020-024F, U+2014, U+2018-201F, U+2022, U+2026, U+2122;
}
/* Regular 400 — Japanese range */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/noto-sans-jp/NotoSansJP-Regular.woff2') format('woff2');
  unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

/* Medium 500 — Latin range */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/noto-sans-jp/NotoSansJP-Medium.woff2') format('woff2');
  unicode-range: U+0020-024F, U+2014, U+2018-201F, U+2022, U+2026, U+2122;
}
/* Medium 500 — Japanese range */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/noto-sans-jp/NotoSansJP-Medium.woff2') format('woff2');
  unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}
