/* Marrow — fonts.css
   Three WOFF2 files, latin subset only, 69,172 bytes total (~67.6 KB; budget ≤120 KB):
     cardo-400.woff2          15,500 B
     cardo-400-italic.woff2   18,968 B
     hanken-grotesk-var.woff2 34,704 B  (variable, wght 300–700 — covers the 4th slot)
   Preload exactly two (the above-the-fold faces):
     <link rel="preload" href="/fonts/cardo-400.woff2" as="font" type="font/woff2" crossorigin>
     <link rel="preload" href="/fonts/hanken-grotesk-var.woff2" as="font" type="font/woff2" crossorigin>
   Fallback overrides computed from real metrics — derivation in ../fonts/METRICS.md.
   This file carries fonts only: no colours, no components. */

/* ---- Web faces ---- */

@font-face {
  font-family: "Cardo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cardo-400.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;
}

@font-face {
  font-family: "Cardo";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cardo-400-italic.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;
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: optional;
  src: url("../fonts/hanken-grotesk-var.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;
}

/* ---- Metric-matched fallbacks (values derived in ../fonts/METRICS.md) ---- */

@font-face {
  font-family: "Cardo Fallback";
  font-style: normal;
  font-weight: 400;
  src: local("Georgia");
  size-adjust: 95.6992%;
  ascent-override: 103.4737%;
  descent-override: 38.0118%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Cardo Fallback";
  font-style: italic;
  font-weight: 400;
  src: local("Georgia Italic"), local("Georgia");
  size-adjust: 85.9362%;
  ascent-override: 115.229%;
  descent-override: 42.3302%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Hanken Grotesk Fallback";
  font-style: normal;
  font-weight: 300 700;
  src: local("Arial");
  size-adjust: 101.6196%;
  ascent-override: 98.4062%;
  descent-override: 29.8171%;
  line-gap-override: 0%;
}

/* ---- Stacks ---- */

:root {
  --font-display: "Cardo", "Cardo Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", "Hanken Grotesk Fallback", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
