/* Mamma Donella: the two families of the identity.
   Gloock (Duarte Pinto, OFL 1.1) for titles; Fira Sans (Mozilla / Telefónica, OFL 1.1) for text.
   Self-hosted WOFF2, Latin subset with Portuguese and Italian accents, « » € and the dashes
   (U+0020-007E, U+00A0-00FF, U+0152-0153, U+2013-2014, U+2018-201E, U+2026, U+20AC and a few more).
   All OpenType features kept: tnum, lnum, case, frac, ordn.
   The site copies this folder to /assets/fonts/ and keeps the relative urls.

   Preload in <head> of every page (both faces are on the first screen: the H1 and the text):
   <link rel="preload" href="/assets/fonts/fira-sans-400.woff2" as="font" type="font/woff2" crossorigin>
   <link rel="preload" href="/assets/fonts/gloock-400.woff2" as="font" type="font/woff2" crossorigin> */

@font-face {
  font-family: "Gloock";
  src: url("gloock-400.woff2?v=57d8e38c") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans";
  src: url("fira-sans-400.woff2?v=33dfb73d") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans";
  src: url("fira-sans-400-italic.woff2?v=bfdce77f") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans";
  src: url("fira-sans-500.woff2?v=f197ae68") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans";
  src: url("fira-sans-600.woff2?v=e1596a6a") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallbacks so the swap does not move the layout.
   Measured with fontTools on a line of the house's words: Fira Sans is 100,4 % of Arial's width,
   Gloock is 114,9 % of Times New Roman's. Overrides are the faces' own ascent/descent over size-adjust. */
@font-face {
  font-family: "Fira Sans fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 100.4%;
  ascent-override: 93.1%;
  descent-override: 26.4%;
  line-gap-override: 0%;
  font-display: swap;
}

@font-face {
  font-family: "Gloock fallback";
  src: local("Times New Roman"), local("Liberation Serif"), local("Times");
  size-adjust: 114.9%;
  ascent-override: 84.9%;
  descent-override: 19.6%;
  line-gap-override: 0%;
  font-display: swap;
}
