/* ==========================================================================
   HomePezzo — Web font registration (Design System Phase 0, v0.1.163)

   HomePezzo now owns its own typography assets. Before this file existed,
   Inter and Cardo were registered into the WordPress Font Library by
   WooCommerce and served from /wp-content/plugins/woocommerce/assets/fonts/.
   That registration only runs while the store is in "Coming Soon" mode, so
   the fonts would have vanished on launch day. See assets/fonts/README.md
   for full provenance, licensing and the verification that these files are
   the same faces that were previously being served.

   Both families are SIL Open Font License 1.1. The licence text ships in
   assets/fonts/Inter-OFL.txt and assets/fonts/Cardo-OFL.txt and must not be
   removed.

   SCOPE OF THIS FILE: @font-face declarations only. It assigns fonts to
   NOTHING. Which elements use which family is still decided entirely by the
   existing stylesheets (today: only .hp-guide-editorial asks for Inter and
   Cardo). Loading this file changes no element's rendered font stack.

   THE ONE INTENDED RENDERING CHANGE: Cardo 700 is now a real designed Bold
   instead of a browser-synthesised faux bold, because a 700 face exists for
   the browser to match. Guide headings will look slightly cleaner. Vertical
   metrics are identical between Cardo 400 and 700, so no line box moves.
   ========================================================================== */

/* ── Inter — interface / body ─────────────────────────────────────────────
   Variable font, wght 100..900 + slnt -10..0. Declared across the full
   100..900 range so the browser interpolates rather than synthesising any
   weight. (WooCommerce declared 300..900; the actual axis has always been
   100..900, so this is a correction, not a widening of behaviour.)
   The slnt axis is not exposed via a font-style range here: nothing in
   HomePezzo requests oblique Inter, and declaring an italic range would let
   the browser pick a slanted instance where it previously synthesised one.
   ------------------------------------------------------------------------ */
@font-face {
    font-family:  "Inter";
    font-style:   normal;
    font-weight:  100 900;
    font-stretch: normal;
    font-display: swap;
    src: url("../fonts/inter-variable.woff2") format("woff2-variations"),
         url("../fonts/inter-variable.woff2") format("woff2");
}

/* ── Cardo — Guide editorial headings only ────────────────────────────────
   Static faces. 400 was previously the only weight available, which is why
   .hp-guide-title / .hp-guide-section-heading / .hp-guide-step__heading /
   .hp-guide-prep-title (all font-weight: 700) were being faux-bolded.
   ------------------------------------------------------------------------ */
@font-face {
    font-family:  "Cardo";
    font-style:   normal;
    font-weight:  400;
    font-display: swap;
    src: url("../fonts/cardo-400.woff2") format("woff2");
}

@font-face {
    font-family:  "Cardo";
    font-style:   normal;
    font-weight:  700;
    font-display: swap;
    src: url("../fonts/cardo-700.woff2") format("woff2");
}
