/* ---------------------------------------------------------------------------
   Local web fonts. No request ever leaves this host (GDPR: no IP address is
   handed to Google). Files live in ../assets/fonts/, licences next to them.

   Space Grotesk  - SIL Open Font License 1.1 (LICENSE-OFL-SpaceGrotesk.txt)
   Inter          - SIL Open Font License 1.1 (LICENSE-OFL-Inter.txt)
   Material Symbols Outlined - Apache License 2.0 (LICENSE-Apache-MaterialSymbols.txt)

   All three files are variable fonts, so one file per subset covers every
   weight the page uses; the declared weight range clamps the wght axis.
   unicode-range values are taken verbatim from the Google Fonts CSS, so the
   browser still downloads only the subsets a language actually needs.

   Subsets kept: Space Grotesk latin + latin-ext (latin-ext carries Turkish),
   Inter latin + latin-ext + cyrillic + cyrillic-ext (Russian). Greek and
   Vietnamese are left out - no planned app language needs them.
   Space Grotesk has no Cyrillic at all; for Russian headings the fallback
   chain of --font-head (Inter, then system-ui) takes over.

   The Material Symbols file is a subset of exactly the icon names the pages
   use (see the list below); the ligature lookups for those names are part of
   the subset, so writing the icon name as text still resolves to the glyph.
   Icons in the subset (49):
   4k, arrow_back, arrow_forward, article, backup, calendar_month, cast,
   check, child_care, close, cloud_sync, contact_mail, description, devices,
   expand_more, family_restroom, favorite, fiber_manual_record, gavel, hd,
   high_quality, history, home, language, list, live_tv, location_on, lock,
   mail, menu, movie, open_in_new, play_circle, policy, public,
   radio_button_checked, rocket_launch, satellite_alt, schedule, search,
   settings_remote, shield, smartphone, subtitles, tablet_mac, tv,
   verified_user, video_library, workspace_premium
   Adding an icon means refetching the subset with the extended, alphabetically
   sorted icon_names list.
--------------------------------------------------------------------------- */

/* ---- Space Grotesk (headings), weights 500-700 ------------------------- */

/* latin */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext (Turkish, Central and Eastern European) */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Inter (body), weights 400-600 ------------------------------------- */

/* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext (Turkish, Central and Eastern European) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* cyrillic (Russian) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* cyrillic-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../assets/fonts/inter-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* ---- Material Symbols Outlined (icons), subset ------------------------- */

@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url(../assets/fonts/material-symbols-outlined-subset.woff2) format("woff2");
}

/* Base rule from the Google Fonts CSS. css/styles.css is loaded after this
   file and refines size, layout and font-variation-settings on top of it. */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
