/*
 * CHEIFS brand typefaces (licensed; Nov 2026), matched to cheifs.com:
 *   - Reckless Neue (serif)  -> headings
 *   - Axiforma (sans-serif)  -> body text, navigation, buttons, forms, numbers
 *
 * Loaded by every template before its own <style> block. Templates use
 * var(--cheifs-font-body) / var(--cheifs-font-display) instead of naming
 * a font, so changing the stack here changes every page.
 *
 * Weight ranges: each family has only some weights, so each face covers
 * a range. "font-weight: bold" (700) therefore uses Medium instead of the
 * browser drawing a fake bold.
 *
 * cheifs.com sets body text in Axiforma Regular and supporting lines in
 * Reckless Neue Light. Neither file is in the licensed set yet (Marketing
 * is checking), so Axiforma Book stands in for Regular and Reckless Neue
 * Book for Light. When those files arrive: add Axiforma-Regular.woff2 as
 * weight 400 (and narrow Book to 350-399), and Reckless Neue Light as
 * 100-349 -- no template changes needed.
 */

@font-face {
  font-family: "Axiforma";
  src: url("../fonts/Axiforma-Light.woff2") format("woff2");
  font-weight: 100 349;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Axiforma";
  src: url("../fonts/Axiforma-Book.woff2") format("woff2");
  font-weight: 350 449;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Axiforma";
  src: url("../fonts/Axiforma-Medium.woff2") format("woff2");
  font-weight: 450 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reckless Neue";
  src: url("../fonts/RecklessNeue-Book.woff2") format("woff2");
  font-weight: 100 399;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reckless Neue";
  src: url("../fonts/RecklessNeue-Regular.woff2") format("woff2");
  font-weight: 400 449;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reckless Neue";
  src: url("../fonts/RecklessNeue-Medium.woff2") format("woff2");
  font-weight: 450 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --cheifs-font-body: "Axiforma", Arial, Helvetica, sans-serif;
  --cheifs-font-display: "Reckless Neue", Georgia, "Times New Roman", serif;
}

/* Form controls don't inherit the page font by default. */
button,
input,
select,
textarea {
  font-family: inherit;
}

/* Headings: Reckless Neue Medium, slightly tightened, as on cheifs.com. */
h1,
h2,
h3,
h4 {
  font-family: var(--cheifs-font-display);
  font-weight: 500;
}

h1,
h2 {
  letter-spacing: -0.01em;
}

/* Small all-caps labels that happen to be headings stay in the sans,
   as cheifs.com sets its eyebrow labels. */
.scenario-box h3,
.index h2,
h4.field-group-title {
  font-family: var(--cheifs-font-body);
  font-weight: 500;
}
