/* AJ AI — self-hosted webfonts (replaces the Fontshare + Google Fonts render-path).
   Faces are byte-identical to the previous CDN loads (Clash Display + Satoshi pulled
   from Fontshare; JetBrains Mono from Google's latin file) so rendering is unchanged.

   font-display: swap — matches the previous Fontshare/Google `&display=swap` behaviour
   (fallback paints immediately, then swaps to the webface). The hero wordmark weight
   (Clash Display 600) is <link rel=preload>-ed in the head so the LCP headline paints
   in its real type on the first frame.

   Weights shipped (the set the document requests):
     Clash Display  300, 400, 500, 600, 700   (wordmark 600 · heads 500)
     Satoshi        400, 500, 700             (body is 400)
     JetBrains Mono 400 / 500                 (one latin file serves both — labels/code)
*/

/* ---- Clash Display (display face) ---- */
@font-face {
  font-family: "Clash Display";
  src: url("clash-display-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("clash-display-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("clash-display-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("clash-display-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("clash-display-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Satoshi (body face) ---- */
@font-face {
  font-family: "Satoshi";
  src: url("satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- JetBrains Mono (code + uppercase labels only) ---- */
/* Google ships one latin woff2 covering the weight axis, so 400 & 500 both map to it. */
@font-face {
  font-family: "JetBrains Mono";
  src: url("jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("jetbrains-mono-400.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
