/* Self-hosted fonts: Inter (variable, all weights) + Phosphor (subset to the
   8 icons this site uses). Replaces the Google Fonts and unpkg stylesheets so
   there are no render-blocking cross-origin requests. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
}

/* Metrics-matched fallback (Arial) so text does not reflow when Inter loads -
   this is what eliminates the layout shift on the large hero headline. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
  size-adjust: 107.4%;
}

@font-face {
  font-family: 'Phosphor';
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url('/assets/fonts/phosphor.woff2') format('woff2');
}

.ph {
  font-family: 'Phosphor' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ph.ph-arrow-right:before { content: "\e06c"; }
.ph.ph-caret-up:before { content: "\e13c"; }
.ph.ph-caret-down:before { content: "\e136"; }
.ph.ph-caret-right:before { content: "\e13a"; }
.ph.ph-chat-circle-text:before { content: "\e16e"; }
.ph.ph-check-circle:before { content: "\e184"; }
.ph.ph-map-pin:before { content: "\e316"; }
.ph.ph-warning-circle:before { content: "\e4e2"; }
