/* Self-hosted web fonts (SIL Open Font License): Fraunces, DM Sans, Caveat.

   One file per style holds Basic Latin, Latin-1 (de/it) and the Croatian letters
   Č Ć Đ Š Ž, so a page in any of the four languages needs exactly one file per
   style; src/site/layout.js preloads the ones every hero uses (Fraunces, Fraunces
   italic, DM Sans). The rest of Latin Extended lives in the *-ext files, which the
   browser only downloads when a page contains one of their characters (the
   unicode-ranges below do not overlap).

   Built with fontTools from the Google Fonts latin + latin-ext subsets: the
   Croatian letters were grafted into the latin file and the variable fonts were
   instanced down to what the stylesheets use:
     Fraunces        opsz 9–144, wght 400–900, WONK 0–1, SOFT pinned at 100
     Fraunces italic opsz 9–144, wght 400–600, WONK 0–1, SOFT pinned at 100
     DM Sans         opsz 9–24 (never set larger), wght 400–800
     DM Sans italic  opsz 9–24, wght 400 (only used for 400 italic text)
     Caveat          static 600 (declared 500–700 so 700 never gets a faux bold)
   SOFT is fixed, so "SOFT" values in font-variation-settings have no effect.

   The *Fallback families are local system fonts scaled and re-metricked to
   Fraunces at hero size (opsz 144), DM Sans and Caveat, so text set in the
   fallback while a font loads occupies (almost) the same space and the swap
   does not move the page. */

/* ─── Fraunces ─────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/Fraunces-ext.woff2?v=89b698c7a9) format('woff2');
  unicode-range: U+0100-0105, U+0108-010B, U+010E-010F, U+0112-0130, U+0132-0148, U+014A-0151, U+0154-015F, U+0162-017C, U+018F, U+0192, U+01A0-01A1, U+01AF-01B0, U+01C4-01CC, U+01D9-01DA, U+01E6-01E7, U+01EA-01EB, U+01FA-021B, U+022A-022D, U+0230-0233, U+0237, U+0259, U+02B9-02BA, U+02C7, U+02DD, U+1E08-1E09, U+1E0C-1E0F, U+1E14-1E17, U+1E1C-1E1D, U+1E20-1E21, U+1E24-1E25, U+1E2A-1E2B, U+1E2E-1E2F, U+1E36-1E37, U+1E3A-1E3B, U+1E42-1E43, U+1E46-1E49, U+1E4C-1E53, U+1E5A-1E5B, U+1E5E-1E5F, U+1E62-1E65, U+1E6C-1E6F, U+1E78-1E7B, U+1E80-1E85, U+1E92-1E93, U+1E97, U+1E9E, U+1EF2-1EF9, U+2020, U+20A1, U+20A3-20A4, U+20A6-20A7, U+20A9, U+20AB, U+20AD, U+20B1-20B2, U+20B5, U+20B9-20BA, U+20BC-20BD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/Fraunces.woff2?v=dac9e03c04) format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+0106-0107, U+010C-010D, U+0110-0111, U+0131, U+0152-0153, U+0160-0161, U+017D-017E, U+02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/Fraunces-Italic-ext.woff2?v=8a9784fc87) format('woff2');
  unicode-range: U+0100-0105, U+0108-010B, U+010E-010F, U+0112-0130, U+0132-0148, U+014A-0151, U+0154-015F, U+0162-017C, U+018F, U+0192, U+01A0-01A1, U+01AF-01B0, U+01C4-01CC, U+01D9-01DA, U+01E6-01E7, U+01EA-01EB, U+01FA-021B, U+022A-022D, U+0230-0233, U+0237, U+0259, U+02B9-02BA, U+02C7, U+02DD, U+1E08-1E09, U+1E0C-1E0F, U+1E14-1E17, U+1E1C-1E1D, U+1E20-1E21, U+1E24-1E25, U+1E2A-1E2B, U+1E2E-1E2F, U+1E36-1E37, U+1E3A-1E3B, U+1E42-1E43, U+1E46-1E49, U+1E4C-1E53, U+1E5A-1E5B, U+1E5E-1E5F, U+1E62-1E65, U+1E6C-1E6F, U+1E78-1E7B, U+1E80-1E85, U+1E92-1E93, U+1E97, U+1E9E, U+1EF2-1EF9, U+2020, U+20A1, U+20A3-20A4, U+20A6-20A7, U+20A9, U+20AB, U+20AD, U+20B1-20B2, U+20B5, U+20B9-20BA, U+20BC-20BD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/Fraunces-Italic.woff2?v=1a236cc3bc) format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+0106-0107, U+010C-010D, U+0110-0111, U+0131, U+0152-0153, U+0160-0161, U+017D-017E, U+02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215;
}

/* ─── DM Sans ──────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/DMSans-ext.woff2?v=ad8edf735d) format('woff2');
  unicode-range: U+0100-0101, U+0103-0105, U+010A-010B, U+010E-010F, U+0112-011B, U+011E-0123, U+0126-0130, U+0132-0133, U+0136-0137, U+0139-0148, U+014A-0151, U+0154-015B, U+015E-015F, U+0162-0165, U+0168-017C, U+018F, U+0192, U+01FC-01FD, U+0218-021B, U+0237, U+0259, U+02C7, U+02DD, U+1E80-1E85, U+1E9E, U+1EF2-1EF3, U+1EF8-1EF9, U+2020, U+20A8, U+20B9-20BA, U+20BD, U+2113;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/DMSans.woff2?v=0dbe6c7653) format('woff2');
  unicode-range: U+0020-007E, U+00A0-00AC, U+00AE-00FF, U+0102, U+0106-0107, U+010C-010D, U+0110-0111, U+0131, U+0152-0153, U+0160-0161, U+017D-017E, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/DMSans-Italic-ext.woff2?v=8510c84d55) format('woff2');
  unicode-range: U+0100-0101, U+0103-0105, U+010A-010B, U+010E-010F, U+0112-011B, U+011E-0123, U+0126-0130, U+0132-0133, U+0136-0137, U+0139-0148, U+014A-0151, U+0154-015B, U+015E-015F, U+0162-0165, U+0168-017C, U+018F, U+0192, U+01FC-01FD, U+0218-021B, U+0237, U+0259, U+02C7, U+02DD, U+1E80-1E85, U+1E9E, U+1EF2-1EF3, U+1EF8-1EF9, U+2020, U+20A8, U+20B9-20BA, U+20BD, U+2113;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/DMSans-Italic.woff2?v=07d46b7c5a) format('woff2');
  unicode-range: U+0020-007E, U+00A0-00AC, U+00AE-00FF, U+0102, U+0106-0107, U+010C-010D, U+0110-0111, U+0131, U+0152-0153, U+0160-0161, U+017D-017E, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* ─── Caveat ───────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/Caveat-ext.woff2?v=886c4edb4c) format('woff2');
  unicode-range: U+0100-0101, U+0103-0105, U+0108-010B, U+010E-010F, U+0112-0130, U+0132-0151, U+0154-015F, U+0162-017C, U+018F, U+0192, U+01C4-01CC, U+01D4, U+01E5, U+01E7, U+01E9-01EB, U+01EF, U+01F1-01F5, U+01FA-021B, U+021F, U+0237, U+0259, U+0292, U+02C7, U+02C9, U+02DD, U+1E0C-1E0D, U+1E24-1E25, U+1E44-1E45, U+1E5A-1E5B, U+1E62-1E63, U+1E6C-1E6D, U+1E80-1E85, U+1E92-1E93, U+1EF2-1EF3, U+1EF8-1EF9, U+2020, U+20A1, U+20A3-20A4, U+20A6, U+20A9, U+20AE, U+20B4, U+20B8-20BA, U+20BD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/Caveat.woff2?v=b15b03cdc5) format('woff2');
  unicode-range: U+0020-007E, U+00A0-00FF, U+0102, U+0106-0107, U+010C-010D, U+0110-0111, U+0131, U+0152-0153, U+0160-0161, U+017D-017E, U+02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215;
}

/* ─── metric-matched fallbacks (Windows, macOS, iOS) ───────────────────── */
@font-face {
  font-family: 'Fraunces Fallback';
  font-style: normal;
  font-weight: 100 900;
  src: local('Georgia');
  size-adjust: 90.4%;
  ascent-override: 108.2%;
  descent-override: 28.2%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Fraunces Fallback';
  font-style: italic;
  font-weight: 100 900;
  src: local('Georgia Italic'), local('Georgia-Italic');
  size-adjust: 84%;
  ascent-override: 116.4%;
  descent-override: 30.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'DM Sans Fallback';
  font-style: normal;
  font-weight: 100 550;
  src: local('Arial'), local('ArialMT');
  size-adjust: 103.7%;
  ascent-override: 95.7%;
  descent-override: 29.9%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'DM Sans Fallback';
  font-style: normal;
  font-weight: 551 900;
  src: local('Arial Bold'), local('Arial-BoldMT');
  size-adjust: 101.7%;
  ascent-override: 97.5%;
  descent-override: 30.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'DM Sans Fallback';
  font-style: italic;
  font-weight: 100 900;
  src: local('Arial Italic'), local('Arial-ItalicMT');
  size-adjust: 104.5%;
  ascent-override: 95%;
  descent-override: 29.7%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Caveat Fallback';
  font-style: normal;
  font-weight: 100 900;
  src: local('Segoe Print'), local('SegoePrint');
  size-adjust: 66.6%;
  ascent-override: 144.2%;
  descent-override: 45.1%;
  line-gap-override: 0%;
}
