/* Self-hosted brand faces.
 *
 * All OFL-licensed and therefore redistributable. Self-hosted rather than
 * loaded from Google so the site has no third-party dependency in its critical
 * render path — one of the concrete wins over the Wix build, which pulled fonts
 * from Wix's CDN.
 *
 * Google serves one variable file per family and points discrete weight
 * declarations at it; the files for 400 and 700 came down byte-identical. So
 * there is one file per family here, referenced by both weights, exactly as
 * Google's own stylesheet does.
 *
 * Assistant, Nunito Sans and Playfair Display are here for the same reason and
 * on the same terms. Wix names some weights as separate families --
 * assistant-light, assistant-semibold, nunito-sans-light -- but they are the
 * Google families at 300 and 600, so the OFL files reproduce them exactly.
 *
 * Faces deliberately NOT self-hosted, because Monotype licenses them to Wix
 * and not to us: avenir-lt-w01, madefor, helveticaneuew01, din-next-w01 and
 * the helvetica-w01 family.
 *
 * That list used to carry the claim that the helvetica-w01 faces "appear only
 * inside Wix widget chrome, and are not part of HKQ's design." That was wrong,
 * in the same way the identical claim about Avenir was wrong. helvetica-w01
 * paints real homepage copy: the recent-wins amount, "Our Practice Areas.",
 * "call us now", "free consultations" and the practice-areas intro paragraph.
 *
 * It costs us nothing, though. Helvetica and Arial are metrically compatible
 * with the helvetica-w01 family -- measured on the live page, the substituted
 * strings land within 0.4% -- so those runs use a plain system stack and match
 * without a license. Avenir is the only face where the gap is real; see
 * docs/PARITY-AUDIT.md section 3b.
 */

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* A real italic, not a slanted regular. Without this the browser synthesises
   the oblique from the roman, which sets about 1.8% narrower -- enough to
   break a line in a different place from the source on the team cards. */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Libre Baskerville';
  src: url('../fonts/libre-baskerville.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Libre Baskerville';
  src: url('../fonts/libre-baskerville.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Libre Baskerville';
  src: url('../fonts/libre-baskerville-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Only the FAQ index category buttons are set in this -- /faqs and
 * /commercial-faqs, in both locales, and nothing else on the site. So this is
 * Google's `latin` subset rather than a whole family: U+0000-00FF plus general
 * punctuation, which covers those labels in both locales, the Spanish accents
 * and the apostrophe in "Workers' Comp" included.
 *
 * Weight 400 only, unlike the families above. Google serves Playfair as two
 * distinct files rather than one variable file shared by both weights, and the
 * source sets these buttons at 400, so shipping 700 would be 23KB nothing asks
 * for.
 *
 * Substituting Libre Baskerville here was measurably wrong: at the same size,
 * weight and tracking the ten labels ran 16 to 47px wider than the source.
 *
 * (Two branches self-hosted this independently with different subsets. The
 * wider one survived the merge -- a subset missing the Spanish accents would
 * have broken the /es-us buttons and nothing would have said so.) */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Assistant';
  src: url('../fonts/assistant.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Assistant';
  src: url('../fonts/assistant.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/nunito-sans.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
