/* Sunday in Lisbon: web fonts.
   Paths are relative to this file: copy brand/fonts/ to the site (e.g. /assets/fonts/) unchanged.
   Figtree (OFL 1.1): variable 300-700, Latin subset (pt + en). Text, UI, prices, hours.
   Melodrama (ITF Free Font License 2.0): the official Fontshare file, unmodified, variable 300-700.
   FFL 2.0 forbids subsetting or converting it, so it ships as downloaded. Display only, 32 px and up.

   Preload only the text face, in every page head:
   <link rel="preload" href="/assets/fonts/Figtree-Variable-latin.woff2" as="font" type="font/woff2" crossorigin>
*/

@font-face {
  font-family: "Figtree";
  src: url("Figtree-Variable-latin.woff2?v=8a356f7f") format("woff2-variations"),
       url("Figtree-Variable-latin.woff2?v=8a356f7f") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  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+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Melodrama";
  src: url("Melodrama-Variable.woff2?v=a9e5a59a") format("woff2-variations"),
       url("Melodrama-Variable.woff2?v=a9e5a59a") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallbacks: the swap does not move the layout.
   Values computed against Arial/Liberation Sans metrics (letter-frequency weighted average width). */
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 101.51%;
  ascent-override: 93.59%;
  descent-override: 24.63%;
  line-gap-override: 0%;
  font-display: swap;
}

@font-face {
  font-family: "Melodrama Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 95.18%;
  ascent-override: 102.96%;
  descent-override: 29.42%;
  line-gap-override: 9.46%;
  font-display: swap;
}
