/* =============================================================
   Self-hosted fonts.

   Loading these from Google sends every visitor's IP address to Google
   on page load - a third-party transfer that needs disclosing, and
   arguably consent, under UK GDPR. Serving them ourselves removes the
   transfer entirely, along with a render-blocking DNS lookup and TLS
   handshake to another origin.

   Latin subset only: this is a UK storefront.
   ============================================================= */
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('../fonts/inter-400.woff2') format('woff2');
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('../fonts/inter-500.woff2') format('woff2');
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('../fonts/inter-600.woff2') format('woff2');
}
@font-face{
  font-family:'JetBrains Mono';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('../fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face{
  font-family:'JetBrains Mono';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('../fonts/jetbrains-mono-500.woff2') format('woff2');
}

/* General Sans replaces Space Grotesk as the display face.

   Space Grotesk draws lowercase g and p with short descenders that stop in
   a blunt horizontal cut. That is the letterform, not a rendering fault --
   an unclipped copy overlaid on the page matched it exactly -- but at hero
   size it reads as though the text has been trimmed, which is not a thing a
   storefront can afford to look like. General Sans keeps the same
   geometric, slightly technical character with conventional hooked
   descenders. Fontshare licence, self-hosted for the same privacy reason as
   the rest. */
@font-face{
  font-family:'General Sans';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('../fonts/general-sans-400.woff2') format('woff2');
}
@font-face{
  font-family:'General Sans';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('../fonts/general-sans-500.woff2') format('woff2');
}
@font-face{
  font-family:'General Sans';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('../fonts/general-sans-600.woff2') format('woff2');
}
@font-face{
  font-family:'General Sans';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('../fonts/general-sans-700.woff2') format('woff2');
}
