/* ==========================================================================
   fonts.css — @font-face registrations for the Higgins site
   ==========================================================================
   This file only REGISTERS the fonts (it tells the browser where the font
   files live and what to call them). Which font each element actually uses
   is decided in home.css / builder.css via font-family rules.

   Loaded by both index.html and builder.html, before home.css.

   The fonts themselves are local files in the sibling folder ../fonts/
   (i.e. upload/fonts/ — the paths below are relative to this assets/
   folder, so moving this file would break them):
   - General Sans   Regular (400) + Medium (500) OTFs
                    (Fontshare ITF Free Font License)
   - Hanken Grotesk Regular (400) woff2
                    (OFL, latin subset from Google Fonts — used only by the
                    panel footer)

   font-display: swap means text renders immediately in a fallback font and
   swaps to the real one when it finishes loading — no invisible text.

   EDIT THIS FILE WHEN…
   - adding a new weight or font: drop the file into upload/fonts/, copy one
     of the blocks below, and point src at the new file. Keep font-family
     identical across weights of the same family — the browser picks the
     file by font-weight.
   - after any change here: bump the ?v= cache stamp on the fonts.css link
     in BOTH index.html and builder.html (e.g. assets/fonts.css?v=20260813b).
   ========================================================================== */

/* General Sans — the main site face (all panel text except the footer). */
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Hanken Grotesk — no current page uses it (the panel footer switched to
   General Sans); kept registered for the legacy study/builder pages. */
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/HankenGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
