/*
 * Typeface.
 *
 * The theme asks for "Sofia Pro" and loaded it from an Adobe Fonts kit at
 * use.typekit.net/zgv6ipq.css. That kit has been returning 404 for some time,
 * so the site has been falling back to whatever sans serif the visitor's
 * browser defaults to: Helvetica on a Mac, Segoe on Windows, Roboto on Android.
 * The design was never actually rendering as drawn.
 *
 * Figtree replaces it. It is a geometric sans with the same double storey "a"
 * and similar proportions to Sofia Pro, licensed under the SIL Open Font
 * License so it can be used commercially without a subscription. It was chosen
 * over Montserrat and Poppins because those are wider and push body copy onto
 * extra lines, which would move the layout.
 *
 * Self hosted rather than pulled from Google, so there is no third party
 * request on page load and no visitor IP sent to Google for every view.
 *
 * To go back to a licensed Sofia Pro later, reactivate the Adobe kit and delete
 * this file: the theme's own "Sofia Pro" declarations are untouched.
 */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/figtree-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/figtree-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/figtree-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/figtree-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/figtree-900.woff2') format('woff2');
}

/*
 * The theme sets the family in exactly two places, "body,p" and the headings.
 * Both are matched here at the same specificity, and this sheet loads last.
 * "Sofia Pro" is kept in the stack so a reactivated Adobe kit would win again.
 */
body,
p,
h1, h2, h3, h4, h5, h6,
button,
input,
select,
textarea,
.wpcf7-form-control,
.pgs-related-title,
.pgs-related-list a,
.footer-areas,
.footer-areas a {
  font-family: 'Sofia Pro', 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
