/**
 * TU Consent Manager — Self-Hosted Fallback Fonts (variable)
 *
 * No Adobe license required. Premium primaries (owners-text,
 * pennypacker-compressed, panel-sans-mono) stay FIRST in the
 * font-family stacks in banner.css purely opportunistically — if the
 * site/theme already has them loaded, they win; otherwise the
 * self-hosted variable Roboto fallbacks below render. No external
 * request is ever made. Farnham/Faustina is not used by this plugin.
 *
 * BUNDLED (variable WOFF 1.0, OFL licensed — full charset):
 *  ../fonts/Roboto/Roboto-VariableFont_wdth,wght.woff            (wght 100-900, wdth 75-100)
 *  ../fonts/Roboto_Condensed/RobotoCondensed-VariableFont_wght.woff        (wght 100-900)
 *  ../fonts/Roboto_Mono/RobotoMono-VariableFont_wght.woff             (wght 100-700)
 *
 * Sources: https://fonts.google.com/specimen/Roboto (+Condensed, +Mono).
 * Optional follow-up: subset to latin + convert to woff2 to cut ~50-60%
 * of the file weight, then update the src/format lines below.
 *
 * FALLBACK MAP (opportunistic primary -> self-hosted fallback):
 *  owners-text            -> "TU CMP Roboto" (variable)
 *  pennypacker-compressed -> "TU CMP Roboto Condensed" (variable)
 *  panel-sans-mono        -> "TU CMP Roboto Mono" (variable)
 *
 * Self-contained tokens live in banner.css (:root --tu-cmp-* bridge);
 * this file only declares the variable @font-face binaries.
 *
 * @package Temple\Plugin\ConsentManager
 */

/*
 * Self-hosted fallback fonts use a private "TU CMP" family prefix so the
 * plugin's @font-face binaries never collide with site/theme fonts that may
 * also register under generic names such as "Roboto". Without the prefix, a
 * site using "Roboto" with a limited weight set could have its typography
 * changed by our variable-font weight range (100-900) being applied globally.
 */

/* Roboto (variable) — fallback for owners-text / UI + body. */
@font-face {
  font-family: "TU CMP Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/Roboto/Roboto-VariableFont_wdth,wght.woff") format("woff-variations");
}

/* Roboto Condensed (variable) — fallback for pennypacker-compressed / headings. */
@font-face {
  font-family: "TU CMP Roboto Condensed";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/Roboto_Condensed/RobotoCondensed-VariableFont_wght.woff") format("woff-variations");
}

/* Roboto Mono (variable) — fallback for panel-sans-mono / buttons + code. */
@font-face {
  font-family: "TU CMP Roboto Mono";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("../fonts/Roboto_Mono/RobotoMono-VariableFont_wght.woff") format("woff-variations");
}
