/* GHMM webfonts — self-hosted, no third-party request.
 *
 * The Bubble app uses two commercial faces: Amadine for the page title and
 * Proxima Nova for everything else. Neither is licensed for this build, so each
 * has a free stand-in under the SIL Open Font Licence (see the OFL-*.txt files
 * alongside these woff2s, which the licence requires we ship):
 *
 *   Amadine      -> Bodoni Moda   high-contrast Didone, hairline serifs
 *   Proxima Nova -> Figtree       geometric humanist, screen-drawn
 *
 * Both are variable fonts, so one file per subset covers every weight we use.
 * Bodoni Moda also carries an `opsz` axis, and it is **pinned rather than left
 * automatic** — see `--ghmm-display-opsz` in variables.css. Letting
 * `font-optical-sizing: auto` run thinned the hairlines as the title grew, and
 * at the 70px hero on a 2x screen they resolved to almost nothing. The face
 * read spindly, and much lighter than the Amadine it stands in for.
 *
 * To switch to the real Amadine and Proxima — Nick's licence to interpret, the
 * files are already served from his Bubble CDN — replace the two families here
 * and nothing else: everything downstream goes through --bulma-family-primary
 * and --bulma-family-secondary in variables.css.
 *
 * Subsets and unicode-range are Google's own, taken from the css2 API.
 */

/* Figtree — body, and every heading except the page title */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin.392aed3eb142.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;
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.8811e895c448.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;
}

/* Bodoni Moda — the page title only, as Amadine is in the original */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/bodoni-moda-latin.2c2bff3fe09a.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;
}

@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/bodoni-moda-latin-ext.16f173db2e26.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;
}
