/* ==========================================================================
   SAMM brand fonts (self-hosted, see /fonts).
   Loaded AFTER each page's own styles so the role rules below win.
   ========================================================================== */

/* ---- Clan OT: headings, brand, labels ----------------------------------- */
@font-face{font-family:"Clan OT";src:url("fonts/ClanOT-Book.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Clan OT";src:url("fonts/ClanOT-News.woff") format("woff");font-weight:450;font-style:normal;font-display:swap}
@font-face{font-family:"Clan OT";src:url("fonts/ClanOT-Medium.woff") format("woff");font-weight:500;font-style:normal;font-display:swap}
/* Bold also answers the site's 800 requests */
@font-face{font-family:"Clan OT";src:url("fonts/ClanOT-Bold.woff") format("woff");font-weight:700 900;font-style:normal;font-display:swap}

/* ---- Acumin (variable): body text --------------------------------------- */
@font-face{
  font-family:"Acumin";
  src:url("fonts/AcuminVariableConcept.woff") format("woff-variations"),
      url("fonts/AcuminVariableConcept.woff") format("woff");
  font-weight:100 900;
  font-stretch:50% 115%;
  font-style:normal; /* slant axis is set via font-variation-settings */
  font-display:swap;
}

/* ---- Amsi Pro: accent (tagline, testimonials) --------------------------- */
@font-face{font-family:"Amsi Pro";src:url("fonts/AmsiPro-SemiBoldItalic.woff") format("woff");font-weight:600;font-style:italic;font-display:swap}

/* ---- Myriad Pro: fine print, forms, footer ------------------------------ */
@font-face{font-family:"Myriad Pro";src:url("fonts/MyriadPro-Regular.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}

/* ==========================================================================
   Font roles. Change the site's typography by editing these four lines.
   ========================================================================== */
:root{
  --font-heading:"Clan OT","Helvetica Neue",Arial,sans-serif;
  --font-body:"Acumin","Myriad Pro",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-accent:"Amsi Pro","Clan OT",Georgia,serif;
  --font-ui:"Myriad Pro","Acumin",system-ui,-apple-system,"Segoe UI",sans-serif;
}

/* Headings, brand name and small uppercase labels */
h1,h2,h3,
.brand-text b,.brand-text span,
.eyebrow,.tab-title,.badge,
.phero .tag,.area small,.shot .cap small,.lb figcaption small,
.feat .num,.q i{
  font-family:var(--font-heading);
}

/* Accent: hero tagline and customer quotes */
.hero .sub,
.circle p{
  font-family:var(--font-accent);
  font-weight:600;
  font-style:italic;
}

/* Regular-weight UI text */
footer,
.crumbs,
.metrics li small,
.form-note,
input,textarea,select{
  font-family:var(--font-ui);
  font-weight:400;
}

/* Acumin's slant axis runs 0-12 (forward), the reverse of the CSS
   convention, so body emphasis sets it directly. */
:is(p,li) :is(em,i){
  font-style:normal;
  font-variation-settings:"slnt" 12;
}
