/* ==========================================================================
   Mirage Furniture — Self-hosted webfonts
   Previously loaded from fonts.googleapis.com, which put two extra origins
   (googleapis for the CSS, gstatic for the woff2) and a chained, render-
   blocking round trip on the critical path. Serving them from our own
   origin removes that entirely: same bytes, one already-open connection.

   These are the latin subsets Google served, unmodified. Newsreader is kept
   as the VARIABLE font so its optical-size (opsz) axis survives: browsers
   apply `font-optical-sizing: auto` by default, and it measurably widens and
   strengthens small text (+13.6% at 12px, +9% at 14px). The site has ~100
   elements under 14px on mobile, so that axis is doing real legibility work
   and is worth its file size. Do not swap these for static instances.

   Cache headers live in netlify.toml. The filenames are NOT content-hashed,
   so bump the ?v= query on the <link> if a font file is ever replaced.
   ========================================================================== */

/* Newsreader — headings + body copy. Variable: weight 400-500, opsz 6-72. */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/newsreader-var-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;
}

/* Italic is used only by the testimonial quotes, but it is a real 62KB, so
   it is deliberately kept rather than faux-slanted by the browser. */
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/newsreader-var-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;
}

/* Tenor Sans — logo, nav and tracked-caps labels only. Static, single weight. */
@font-face {
  font-family: "Tenor Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tenor-sans-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;
}
