/* =====================================================================
   RA Lab — self-hosted fonts (Cowork, 2026-08-31)
   Replaces the Google Fonts hotlink (GDPR: no visitor IP sent to Google)
   and removes the duplicate/unused families.
   Files mirrored from retouchingacademy.com (same self-hosted set).
   Only Geist / Geist Mono / Instrument Serif are used on this site —
   verified live on homepage, PDPs, FAQ and cart, 2026-08-31.
   ===================================================================== */

/* ---------- Geist (sans) ---------- */
@font-face{font-family:'Geist';font-style:normal;font-weight:400;font-display:swap;src:url('geist-v5-latin-regular.woff2') format('woff2');}
@font-face{font-family:'Geist';font-style:italic;font-weight:400;font-display:swap;src:url('geist-v5-latin-italic.woff2') format('woff2');}
@font-face{font-family:'Geist';font-style:normal;font-weight:500;font-display:swap;src:url('geist-v5-latin-500.woff2') format('woff2');}
@font-face{font-family:'Geist';font-style:normal;font-weight:600;font-display:swap;src:url('geist-v5-latin-600.woff2') format('woff2');}
@font-face{font-family:'Geist';font-style:normal;font-weight:700;font-display:swap;src:url('geist-v5-latin-700.woff2') format('woff2');}
@font-face{font-family:'Geist';font-style:normal;font-weight:800;font-display:swap;src:url('geist-v5-latin-800.woff2') format('woff2');}
/* 300 maps to the 400 file: the design uses it once and the weight axis is
   close enough that synthesizing is worse than reusing regular. */
@font-face{font-family:'Geist';font-style:normal;font-weight:300;font-display:swap;src:url('geist-v5-latin-regular.woff2') format('woff2');}

/* ---------- Geist Mono ---------- */
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400;font-display:swap;src:url('geist-mono-v6-latin-regular.woff2') format('woff2');}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:500;font-display:swap;src:url('geist-mono-v6-latin-500.woff2') format('woff2');}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:600;font-display:swap;src:url('geist-mono-v6-latin-600.woff2') format('woff2');}

/* ---------- Instrument Serif (400 + italic only — the pull-out accent) ---------- */
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url('instrument-serif-v5-latin-regular.woff2') format('woff2');}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url('instrument-serif-v5-latin-italic.woff2') format('woff2');}

/* ---------- Metric-matched fallbacks (cut CLS while webfonts load) ----------
   Overrides tuned so the system fallback occupies near-identical space,
   so the swap doesn't reflow the page. */
@font-face{
  font-family:'Geist Fallback';
  src:local('Arial');
  ascent-override:95%; descent-override:24%; line-gap-override:0%; size-adjust:100%;
}
@font-face{
  font-family:'Geist Mono Fallback';
  src:local('Courier New');
  ascent-override:88%; descent-override:22%; line-gap-override:0%; size-adjust:104%;
}
@font-face{
  font-family:'Instrument Serif Fallback';
  src:local('Times New Roman');
  ascent-override:88%; descent-override:22%; line-gap-override:0%; size-adjust:104%;
}
