/* pairing: newsreader-figtree (Journal Serif) — generated by
 * `moon run web:font-build` (apps/web/scripts/build-fonts.mjs). Do not
 * edit by hand.
 *
 * Element rules below (not the --font-* custom properties alone) are what
 * make this pairing apply to UNCLASSED headings/body text — these 0-0-1
 * selectors reliably win the cascade over Tailwind preflight and any
 * template's own font rules purely on source order — this stylesheet's
 * <link> MUST be emitted after the palette sheet's (layout.tsx).
 *
 * --font-serif is ALSO aliased below (not just --font-heading/--font-body):
 * craft-retail/home.tsx's hero subheadline uses Tailwind's `font-serif`
 * UTILITY class, which resolves against Tailwind's own built-in
 * --font-serif theme token — a value this file's :root block previously
 * never touched, so that one node silently fell through to Tailwind's
 * hardcoded system-serif default instead of the active pairing's heading
 * font (caught via visual inspection post-Task-8, not the grep the plan
 * relied on — a grep for zero `font-*` utility classes in JSX has exactly
 * one live counterexample). Aliasing --font-serif here, not deleting the
 * utility class from JSX, keeps this fix general: ANY future font-serif
 * utility usage in ANY template tracks its pairing automatically. */
@font-face {
  font-family: "Newsreader Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/newsreader-normal.62981321d9.woff2) format("woff2-variations");
}

@font-face {
  font-family: "Newsreader Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/newsreader-italic.48bc8861b9.woff2) format("woff2-variations");
}

@font-face {
  font-family: "Newsreader Variable Fallback";
  src: local("Times New Roman"), local("TimesNewRomanPSMT");
  size-adjust: 105.477%;
  ascent-override: 69.683%;
  descent-override: 25.124%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Figtree Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url(/assets/figtree-normal.4ba7d3d096.woff2) format("woff2-variations");
}

@font-face {
  font-family: "Figtree Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 300 900;
  src: url(/assets/figtree-italic.7242fa62d1.woff2) format("woff2-variations");
}

@font-face {
  font-family: "Figtree Variable Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 100.718%;
  ascent-override: 94.323%;
  descent-override: 24.822%;
  line-gap-override: 0%;
}

:root,:host{
  --font-heading: "Newsreader Variable", "Newsreader Variable Fallback", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-body: "Figtree Variable", "Figtree Variable Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: var(--font-body);
  --font-serif: var(--font-heading);
}

html,
body {
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-optical-sizing: auto;
}
