/* Fonts loaded via Adobe Fonts (Typekit) — see functions.php */


:root {

  /* ── Fluid type scale (375px → 1728px) ───────────────────── */
  --text-lg      : clamp(1.750rem, 1.334rem + 1.774vw, 3.250rem);  /* 28px → 52px */
  --text-md      : clamp(1.500rem, 1.223rem + 1.183vw, 2.500rem);  /* 24px → 40px */
  --text-sm      : clamp(1.125rem, 0.883rem + 1.035vw, 2.000rem);  /* 18px → 32px */
  --text-sub-lg  : clamp(1.250rem, 1.181rem + 0.296vw, 1.500rem);  /* 20px → 24px */
  --text-sub-md  : clamp(1.000rem, 0.931rem + 0.296vw, 1.250rem);  /* 16px → 20px */
  --text-sub-sm  : clamp(0.750rem, 0.681rem + 0.296vw, 1.000rem);  /* 12px → 16px */
  --text-body-xl : clamp(1.250rem, 1.181rem + 0.296vw, 1.500rem);  /* 20px → 24px */
  --text-body-lg : clamp(1.125rem, 1.090rem + 0.148vw, 1.250rem);  /* 18px → 20px */
  --text-body-sm : 0.750rem;                                         /* 12px fixed  */
  --text-btn-lg    : clamp(1.000rem, 0.931rem + 0.296vw, 1.250rem);  /* 16px → 20px */
  --text-btn-xl : clamp(1.250rem, 1.111rem + 0.591vw, 1.750rem);  /* 20px → 28px */

}


h1, h2, h3, h4, h5, h6 { padding-bottom: 0; color: inherit; }


/* ── Font weight ──────────────────────────────────────────── */
/* Loaded weights: P22 Mackinac Pro 400, Pacaembu 300          */
.font-thin       { font-weight: 100 !important; }
.font-extralight { font-weight: 200 !important; }
.font-light      { font-weight: 300 !important; }
.font-normal     { font-weight: 400 !important; }
.font-medium     { font-weight: 500 !important; }
.font-semibold   { font-weight: 600 !important; }
.font-bold       { font-weight: 700 !important; }
.font-extrabold  { font-weight: 800 !important; }
.font-black      { font-weight: 900 !important; }

/* ── Line height ──────────────────────────────────────────── */
.leading-none    { line-height: 1; }
.leading-tight   { line-height: 1.1; }
.leading-snug    { line-height: 1.25; }
.leading-normal  { line-height: normal; }
.leading-relaxed { line-height: 1.5; }
.leading-loose   { line-height: 1.75; }

/* ── Type scale ───────────────────────────────────────────── */
.heading-lg { font-size: var(--text-lg); font-family: var(--font-p22-mackinac-pro); line-height: normal; }
.heading-lg h1, .heading-lg h2, .heading-lg h3,
.heading-lg h4, .heading-lg h5, .heading-lg h6,
.heading-lg p  { font-size: inherit; font-family: inherit; line-height: inherit; }

.heading-md { font-size: var(--text-md); font-family: var(--font-p22-mackinac-pro); line-height: normal; }
.heading-md h1, .heading-md h2, .heading-md h3,
.heading-md h4, .heading-md h5, .heading-md h6,
.heading-md p  { font-size: inherit; font-family: inherit; line-height: inherit; }

.heading-sm { font-size: var(--text-sm); font-family: var(--font-p22-mackinac-pro); line-height: normal; }
.heading-sm h1, .heading-sm h2, .heading-sm h3,
.heading-sm h4, .heading-sm h5, .heading-sm h6,
.heading-sm p  { font-size: inherit; font-family: inherit; line-height: inherit; }

.subheading-lg { font-size: var(--text-sub-lg); font-family: var(--font-pacaembu); line-height: normal; letter-spacing: 0.3em; text-transform: uppercase; }
.subheading-lg h1, .subheading-lg h2, .subheading-lg h3,
.subheading-lg h4, .subheading-lg h5, .subheading-lg h6,
.subheading-lg p, .subheading-lg li { font-size: inherit; font-family: inherit; line-height: inherit; text-transform: inherit; }

.subheading-md { font-size: var(--text-sub-md); font-family: var(--font-pacaembu); line-height: normal; letter-spacing: 0.3em; text-transform: uppercase; }
.subheading-md h1, .subheading-md h2, .subheading-md h3,
.subheading-md h4, .subheading-md h5, .subheading-md h6,
.subheading-md p, .subheading-md li { font-size: inherit; font-family: inherit; line-height: inherit; text-transform: inherit; }

.subheading-sm { font-size: var(--text-sub-sm); font-family: var(--font-pacaembu); line-height: normal; letter-spacing: 0.3em; text-transform: uppercase; }
.subheading-sm h1, .subheading-sm h2, .subheading-sm h3,
.subheading-sm h4, .subheading-sm h5, .subheading-sm h6,
.subheading-sm p, .subheading-sm li { font-size: inherit; font-family: inherit; line-height: inherit; text-transform: inherit; }

.body-xl { font-size: var(--text-body-xl); font-family: var(--font-pacaembu); line-height: 1.25; }
.body-xl h1, .body-xl h2, .body-xl h3,
.body-xl h4, .body-xl h5, .body-xl h6,
.body-xl p, .body-xl li { font-size: inherit; font-family: inherit; line-height: inherit; }

.body-lg { font-size: var(--text-body-lg); font-family: var(--font-pacaembu); line-height: 1.333; letter-spacing: 0.1em; }
.body-lg h1, .body-lg h2, .body-lg h3,
.body-lg h4, .body-lg h5, .body-lg h6,
.body-lg p, .body-lg li { font-size: inherit; font-family: inherit; line-height: inherit; }

.body-sm { font-size: var(--text-body-sm); font-family: var(--font-pacaembu); line-height: normal; letter-spacing: 0.1em; }
.body-sm h1, .body-sm h2, .body-sm h3,
.body-sm h4, .body-sm h5, .body-sm h6,
.body-sm p, .body-sm li { font-size: inherit; font-family: inherit; line-height: inherit; }


/* ── Buttons ──────────────────────────────────────────────── */
.btn-lg { font-size: var(--text-btn-lg); font-family: var(--font-pacaembu); font-weight: 300; line-height: normal; letter-spacing: 0.1em; text-transform: uppercase; }
.btn-lg h1, .btn-lg h2, .btn-lg h3,
.btn-lg h4, .btn-lg h5, .btn-lg h6,
.btn-lg p, .btn-lg a, .btn-lg button { font-size: inherit; font-family: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; text-transform: inherit; }

.btn-xl { font-size: var(--text-btn-xl); font-family: var(--font-pacaembu); font-weight: 300; line-height: normal; letter-spacing: 0.1em; text-transform: uppercase; }
.btn-xl h1, .btn-xl h2, .btn-xl h3,
.btn-xl h4, .btn-xl h5, .btn-xl h6,
.btn-xl p, .btn-xl a, .btn-xl button { font-size: inherit; font-family: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; text-transform: inherit; }


/* ── Rich text ────────────────────────────────────────────── */
.rich-text h1,
.rich-text h2 { font-size: var(--text-md); font-family: var(--font-p22-mackinac-pro); line-height: normal; }

.rich-text h3,
.rich-text h4,
.rich-text h5,
.rich-text h6 { font-size: var(--text-sub-lg); font-family: var(--font-arial); line-height: normal; letter-spacing: 0.3em; text-transform: uppercase; }

.rich-text p,
.rich-text li {
  font-size   : var(--text-body-xl);
  font-family : var(--font-pacaembu);
  line-height : 1.25;
}

.rich-text ol,
.rich-text ul  { padding-left: 1.5em; }

.rich-text a   { text-decoration: underline; color: inherit; }
