/**
 * Self-hosted typefaces. No CDN, same rule as the rest of the product.
 *
 * Two families doing two different jobs, which is the point. The product previously ran
 * on `ui-sans-serif, system-ui`, which on a Spanish agency's Windows laptop means every
 * client was reading the product in Segoe UI -- the font their file explorer is in. That
 * is not a brand, it is an operating system, and it was the single loudest reason the
 * design read as generated rather than chosen.
 *
 *   Instrument Serif  DISPLAY ONLY -- headings, prices, the closing frame. High contrast,
 *                     tightly fitted, one weight. It is the current language of film and
 *                     production branding rather than a wedding-invitation Didone.
 *                     NEVER set below 24px: one weight and delicate joins, and at 15px it
 *                     turns to mush and looks like an accident.
 *   Archivo           EVERYTHING else. A grotesque from an Argentine foundry, drawn with
 *                     Spanish typesetting in mind, so the accents and the enye are
 *                     designed rather than bolted on. Variable weight 400-700 in one file.
 *                     Chosen over Inter deliberately: Inter has itself become a tell.
 *
 * Both are SIL Open Font Licence, so self-hosting and commercial use are fine.
 *
 * ## Subsets
 *
 * `latin` and `latin-ext` only -- Spanish needs the accents and the enye; Cyrillic and
 * Greek would be bytes every agency downloads before the page paints and nobody renders.
 * ~148 KB for the set, which is less than one listing photograph.
 *
 * ## font-display: swap
 *
 * Text is readable in the fallback immediately and reflows when the file lands. The
 * alternative -- invisible text for up to three seconds on an office connection -- is the
 * worse trade for a form somebody is trying to fill in.
 */

/* Latin: Spanish accents, the enye, the euro sign, the superscript 2 in m². */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/archivo-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;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/archivo-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;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-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;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-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;
}

/* Italic earns its 22 KB on the tier taglines -- "El recorrido", "Cada estancia se mueve" --
   where it separates the descriptor from the name without another weight or another size. */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-italic-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;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-italic-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;
}
