/* Self-hosted stand-ins declared under the ORIGINAL Adobe family names, so
   every existing rule in site.css resolves them with no edits at all.

   ibm-plex-mono
     The genuine article (SIL OFL 1.1), from IBM's own @ibm/plex-mono build.
     The five faces below mirror exactly what the live site's Adobe kit serves.

     Weight 500 is the subtle one: Adobe serves "IBM Plex Mono TEXT" there,
     not "Medium". IBM ships Text with usWeightClass 450 and Adobe relabels it
     500. Fontsource instead maps Medium — a genuinely heavier cut — to 500,
     which made the site navigation (the only thing set at 500) render heavier
     than the original. Verified by pulling both files and diffing their name
     tables and metrics.

   din-condensed-web
     Barlow Condensed Medium (SIL OFL 1.1). The real face is Adobe Fonts on
     Squarespace's own domain-locked kit, so it cannot load anywhere but
     squarespace.com. Barlow is the stand-in that measured closest — see the
     table further down. */

@font-face {
  font-family: "ibm-plex-mono";
  src: url("/assets/fonts/IBMPlexMono-Regular.woff2?v=6114a47b") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "ibm-plex-mono";
  src: url("/assets/fonts/IBMPlexMono-Text.woff2?v=2e9b5fe1") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "ibm-plex-mono";
  src: url("/assets/fonts/IBMPlexMono-Bold.woff2?v=05968875") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "ibm-plex-mono";
  src: url("/assets/fonts/IBMPlexMono-Italic.woff2?v=115aed71") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: "ibm-plex-mono";
  src: url("/assets/fonts/IBMPlexMono-BoldItalic.woff2?v=88ddbb1d") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: block;
}

/* ONE face only, exactly like the kit. Adobe ships din-condensed-web as a
   single cut at weight 400; shipping a Bold as well let the browser pick it
   for headings (which default to bold), rendering ~22% heavier than the
   original. Declared 100..900 so every weight request resolves to this one
   face, and font-synthesis is off so the browser fakes nothing.

   The face itself is Barlow Condensed Medium, chosen by measuring candidates
   against Adobe's actual DIN Condensed Web file rather than by eye:

     metric        real DIN   Barlow Cond 500   D-DIN Cond 400
     stem ('I')         100                96               72
     'H' advance        455               475              478
     cap height         700               700              690
     x-height           496               509              517

   D-DIN is nominally the closer relative of DIN 1451, but its stroke is 28%
   too light, so it never matched. Barlow lands within 4% on weight and hits
   the cap height exactly. */
@font-face {
  font-family: "din-condensed-web";
  src: url("/assets/fonts/BarlowCondensed-Medium.woff2?v=c67b8cf8") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

:root {
  font-synthesis-weight: none;
  -webkit-font-synthesis: none;
}
