/* world.ashton.is: what every translated copy adds to css/style.css.
   Typography for each language is in its own file (world-<language>.css), loaded after this one. */

/* Every font is served from this site (fonts/), never from a font service and never from what a visitor has
   installed. Inter and Poppins come with the English site itself (its css/fonts.css and fonts/, copied in by
   `build`), so "Ashton" in the wordmark, the name motion and the first slide is the very same Poppins 800 file as on
   ashton.is in every language: the motion hands the name from one to the other. What this file adds: the Inter cuts
   for Latin inside CJK text. Language controls, their name fonts and theme icons use the English site files.
   Each CJK language's Noto Sans is in world-<language>.css. */

/* Latin inside Chinese, Japanese and Korean text: Inter at the weight whose colour matches the Latin Noto Sans
   CJK was drawn with (300 -> 270, 400 -> 380, 600 -> 600, measured against Noto Sans SC, TC, JP and KR, see the
   README) and 4 % larger, so English words sit in the Noto text at its own colour and size.
   'World Latin CJK' leaves the curly quotes to the Chinese or Japanese font; 'World Latin' (Korean) keeps them. */
@font-face {
  font-family: 'World Latin CJK'; font-style: normal; font-weight: 300; font-display: swap; size-adjust: 104%;
  src: url("../fonts/inter-cjk-300.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2000-2017, U+2020-206F, U+20AC, U+2122, U+2190-2193, U+2713;
}
@font-face {
  font-family: 'World Latin CJK'; font-style: normal; font-weight: 400; font-display: swap; size-adjust: 104%;
  src: url("../fonts/inter-cjk-400.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2000-2017, U+2020-206F, U+20AC, U+2122, U+2190-2193, U+2713;
}
@font-face {
  font-family: 'World Latin CJK'; font-style: normal; font-weight: 600; font-display: swap; size-adjust: 104%;
  src: url("../fonts/inter-cjk-600.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2000-2017, U+2020-206F, U+20AC, U+2122, U+2190-2193, U+2713;
}
@font-face {
  font-family: 'World Latin'; font-style: normal; font-weight: 300; font-display: swap; size-adjust: 104%;
  src: url("../fonts/inter-cjk-300.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2713;
}
@font-face {
  font-family: 'World Latin'; font-style: normal; font-weight: 400; font-display: swap; size-adjust: 104%;
  src: url("../fonts/inter-cjk-400.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2713;
}
@font-face {
  font-family: 'World Latin'; font-style: normal; font-weight: 600; font-display: swap; size-adjust: 104%;
  src: url("../fonts/inter-cjk-600.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2713;
}

/* the end of a paragraph held on one line (js/world.js) */
.nobr { white-space: nowrap; }

