/* Winks v2 spec-ad fonts: free (SIL OFL 1.1) stand-ins for Gilroy + Recoleta, measured against the real getwinks.com files.
   Files sit in the same folder as this CSS (url() is relative to this file). Licenses: OFL-Figtree.txt, OFL-Urbanist.txt.
   size-adjust matches Gilroy's cap height (display) / x-height (body); ascent/descent-override reproduce Gilroy's line-box baseline
   (override values are pre-divided by size-adjust, as Chromium scales them). Latin subset only: no U+2192 arrow, check mark or star (use SVG/system fallback). */

/* Display: Figtree (variable, pinned to 800) for Gilroy ExtraBold 800, UPPERCASE headlines. 20 KB. */
@font-face {
  font-family: "Winks Display";
  src: url("figtree-var-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: block;
  size-adjust: 99.9%;
  ascent-override: 95.6%;
  descent-override: 27%;
  line-gap-override: 0%;
  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;
}

/* Body: Urbanist (variable, 400-900) for Gilroy Medium 500. Use 500 for text and 700-900 for bold (Gilroy bold on the site is its 800). 28 KB. */
@font-face {
  font-family: "Winks Body";
  src: url("urbanist-var-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 99.7%;
  ascent-override: 93.2%;
  descent-override: 24.9%;
  line-gap-override: 0%;
  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;
}


:root {
  --font-display: "Winks Display", system-ui, sans-serif;
  --font-body: "Winks Body", system-ui, sans-serif;

  /* Letter-spacing that makes each stand-in set as wide as the original (fitted per word, then verified on a 420px box).
     The *-caps value REPLACES Winks' -0.01em on UPPERCASE 800 headlines (delta -0.0357em on top of whatever tracking Winks used, e.g. eyebrow labels +0.02em -> +-0.0157em). */
  --ls-display-caps: -0.0457em;
  --ls-display-caps-delta: -0.0357em;
  --ls-display-mixed: -0.0052em;   /* sentence-case text set in Winks Display (22-36px) */
  --ls-body: 0.0412em;
  /* word-spacing, only where the fit says it matters (>= 0.01em) */
  --ws-display-caps: 0.0542em;
  --ws-display-mixed: 0.0476em;
  --ws-body: -0.0431em;
}
/* Usage:  h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: var(--ls-display-caps); word-spacing: var(--ws-display-caps); }
           p  { font-family: var(--font-body); font-weight: 500; letter-spacing: var(--ls-body); word-spacing: var(--ws-body); } */
