/* Rakuten Sans JP-2 — self-hosted brand font.
   Satisfies constitution Principle II (Brand Typography).
   Single shared font-override stylesheet used by all marketing pages.

   Only Regular (400) and Bold (700) WOFF2 weights are available in
   wp-content/uploads/fonts/rakuten-sans-jp2/.
   We use CSS font-weight RANGES so intermediate weights map predictably
   to the closest available file (per Rakuten Font User Manual v4.0,
   section 3-4: "use DemiBold to match Noto Sans JP Bold" — i.e. weights
   >=600 should render as Bold, not silently fall back to Regular).

   Weight matching:
     100-500  -> Regular file  (Light, Regular, Medium designs)
     600-900  -> Bold file     (DemiBold, Bold, Heavy designs)

   To add real Medium / DemiBold / Heavy later, drop the matching WOFF2
   into the same folder and replace the ranges with single-weight blocks. */

@font-face {
  font-family: 'Rakuten Sans JP-2';
  font-style: normal;
  font-weight: 100 500;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/rakuten-sans-jp2/RakutenSansJP2_W-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Rakuten Sans JP-2';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('/wp-content/uploads/fonts/rakuten-sans-jp2/RakutenSansJP2_W-Bold.woff2') format('woff2');
}

/* We don't ship an Italic file, and synthesized obliques on Japanese
   glyphs look broken. Allow weight synthesis only. */
:root {
  font-synthesis: weight;
}
