/* ==========================================================================
   Digicel brand typeface

   Hurme Geometric Sans 2, self-hosted. Three weights only, because that is
   all the design uses: SemiBold 600, Bold 700, Black 900. No regular, no
   italics. Files are shipped exactly as supplied and are deliberately NOT
   subsetted, because subsetting modifies the font and modification is
   commonly restricted by commercial font licences. The licence for
   call.digicelinternational.com is unconfirmed.

   IF THE LICENCE DOES NOT COME THROUGH: delete the three Hurme @font-face
   rules below. Nothing else changes. Every rule in the site references
   --font-brand, and Arial is within 3% of Hurme's metrics (see below), so
   the layout holds.
   ========================================================================== */

@font-face {
  font-family: "Hurme Geometric Sans 2";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/HurmeGeometricSans2-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Hurme Geometric Sans 2";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/HurmeGeometricSans2-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Hurme Geometric Sans 2";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/HurmeGeometricSans2-Black.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   Fallback: plain Arial, deliberately with no metric overrides.

   A metric-matched fallback was built and then removed, because measuring it
   showed it made things worse. Widths at 100px, sample string, measured in a
   browser against the real files:

     weight   Hurme     Arial     drift
     600      2912.0    2987.6    +2.60%
     700      2901.6    2987.6    +2.96%
     900      2974.6    2987.6    +0.44%

   Arial is already within 3% of Hurme, and within 0.5% at the Black weight the
   hero headline uses, so there is very little left to correct.

   The override also cannot be built safely with local(). An @font-face whose
   src is local("Arial"), declared at weight 700, binds Arial *Regular* to that
   weight and suppresses the browser's own bold selection:

     font-family: Arial              ->  2987.6   (true Arial Bold)
     @font-face src: local("Arial")  ->  2819.7   (Arial Regular, 5.6% narrower)

   Matching properly would mean naming the bold face per platform, which differs
   across macOS, Windows and Linux. That is more fragile than the 2 to 3% it
   would save, and it fails silently: it would only show once the Hurme licence
   fails and the fallback is actually doing the work.
   -------------------------------------------------------------------------- */


:root {
  /* The single source for the family. Nothing in the site hardcodes a font
     name; the prototype had three bare declarations with no fallback at all,
     which would have dropped to a serif if the font failed to load.
     This is also the licence kill switch: delete the Hurme @font-face rules
     above and every page renders in Arial, with nothing else changed. */
  --font-brand: "Hurme Geometric Sans 2", Arial, Helvetica, system-ui, sans-serif;
}
