/* Massimobility | Sitewide editorial typography system
   Matches the serif MASSIMO / blue BILITY wordmark on the newer body-area pages.
   Keeps interface and educational reading copy in a consistent, legible sans serif.
   Loaded last across all 23 pages to avoid page-specific font drift. */
:root{
  --mm-display-font: "Times New Roman", Georgia, serif;
  --mm-reading-font: "DM Sans", Arial, sans-serif;
}

/* Reading copy, controls, navigation, source lists and study/quiz interactions. */
body, input, textarea, select, button, .nav a, .nav-dropdown-toggle,
.button, .filter, .region-expansion-eyebrow, .region-expansion-kicker,
.section-kicker, .eyebrow, .signature-overline, .signature-path-top{
  font-family:var(--mm-reading-font) !important;
}

/* The strong, cinematic editorial heading treatment now appears on every page. */
h1,h2,h3,h4,h5,h6,
.region-expansion-hero h1, .region-expansion-block h2,
.region-expansion-quiz h2, .region-evidence-expansion h2,
.signature-path-heading h2,.signature-path h3,
.about-copy h1,.about-copy h2,
.pt-highlight strong,.source-card>b,
.region-memory-cue strong, .dad-joke strong,
.life-row>strong,.life-row b,
.footer-brand .footer-wordmark{
  font-family:var(--mm-display-font) !important;
}

/* Keep serif display tracking open and sharp, not over-compressed by old sans headings. */
h1,h2,h3,h4,h5,h6 {letter-spacing:-.023em}
body[data-page="index.html"] .hero h1,
.region-expansion-hero h1,
.signature-path-heading h2 {letter-spacing:-.038em}

/* Brand lockup: serif exactly as seen in the modern body-area header reference.
   Logo artwork and MASSIMO white / BILITY blue split remain unchanged. */
.site-header .brand-name,
.brand-name,
.footer-brand>.footer-wordmark,
.footer-brand .footer-wordmark {
  font-family:var(--mm-display-font) !important;
  font-weight:700;
  letter-spacing:.015em;
}
.site-header .brand-name small,.brand-name small{
  font-family:var(--mm-display-font) !important;
  font-weight:700;
  letter-spacing:.20em;
}
.site-header .brand-name>span,.footer-brand .footer-wordmark>span{
  color:#42bdea;
}
.footer-brand .footer-wordmark {color:#fff;white-space:nowrap}

/* Allow the serif wordmark to remain visible without colliding with header links. */
.site-header .brand{min-width:0}
@media(max-width:480px){
 .site-header .brand-name{font-size:clamp(13px,3.8vw,16px)}
 .site-header .brand-name small{letter-spacing:.12em}
 .footer-brand .footer-wordmark{font-size:16px}
}
