/* ============================================================
   OpenHouse — fonts.css
   Self-hosted @font-face set (SIL OFL — licenses live beside the
   files in ../fonts/). Families match the tokens.css contract:
   "InterDisplay" (static cuts), "Inter" (variable),
   "Cormorant Garamond" (variable, converted ttf→woff2).
   No external font requests in production (DESIGN.md §3).
   ============================================================ */

/* Inter — body (variable, wght 100–900) */
@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* InterDisplay — names, titles, UI (static cuts in use: 500/600/700) */
@font-face {
  font-family: "InterDisplay";
  src: url("../fonts/InterDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

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

/* Cormorant Garamond — editorial serif (variable, wght 300–700 per fvar) */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
