/* Japanese (ja-APAC) font supplement. Loaded conditionally by `src/app/layout.tsx` only when
 * the active locale is Japanese — non-JP visitors don't pay the ~10MB cost of these font files.
 *
 * Strategy mirrors `style-rtl.css`: declare the Noto Sans JP font files under the EXISTING
 * `Open Sans` and `Open Sans Condensed` family names with a `unicode-range` covering the
 * Japanese Unicode blocks (Hiragana, Katakana, CJK Unified Ideographs, Halfwidth/Fullwidth
 * Forms, CJK Symbols). The browser composes the face per-character at runtime: Japanese chars
 * render from Noto Sans JP, Latin chars continue rendering from `OpenSans-*.woff2` declared
 * in `style.css`. Zero element-level `font-family` overrides needed — every existing
 * `font-family: "Open Sans"` and `font-family: "Open Sans Condensed"` rule in `style.css`
 * "just works" for both scripts.
 *
 * This matches Sitecore's `style-jp.css` cascade (`"Open Sans", "Noto Sans JP", sans-serif`)
 * but without having to override every heading / paragraph / button selector individually. */

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(noto-sans-jp-v23-japanese_latin-300.woff2) format("woff2"),
         url(noto-sans-jp-v23-japanese_latin-300.woff) format("woff");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+4E00-9FFF, U+FF00-FFEF;
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(noto-sans-jp-v23-japanese_latin-regular.woff2) format("woff2"),
         url(noto-sans-jp-v23-japanese_latin-regular.woff) format("woff");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+4E00-9FFF, U+FF00-FFEF;
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(noto-sans-jp-v23-japanese_latin-700.woff2) format("woff2"),
         url(noto-sans-jp-v23-japanese_latin-700.woff) format("woff");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+4E00-9FFF, U+FF00-FFEF;
}

@font-face {
    font-family: "Open Sans Condensed";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(noto-sans-jp-v23-japanese_latin-300.woff2) format("woff2"),
         url(noto-sans-jp-v23-japanese_latin-300.woff) format("woff");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+4E00-9FFF, U+FF00-FFEF;
}
@font-face {
    font-family: "Open Sans Condensed";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(noto-sans-jp-v23-japanese_latin-regular.woff2) format("woff2"),
         url(noto-sans-jp-v23-japanese_latin-regular.woff) format("woff");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+4E00-9FFF, U+FF00-FFEF;
}
@font-face {
    font-family: "Open Sans Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(noto-sans-jp-v23-japanese_latin-700.woff2) format("woff2"),
         url(noto-sans-jp-v23-japanese_latin-700.woff) format("woff");
    unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+4E00-9FFF, U+FF00-FFEF;
}
