@layer legacy-base, legacy-header-theme, legacy-grow, legacy-minimal, legacy-spacing, v4tokens, v4components, v4dark;
@layer legacy-base {
/* ===== Sitewide typography & colour update (2026-09-17) =====
   Approved neutral greyscale hierarchy: H1/H2 #333333 bold anchor (600),
   body copy #333333, secondary/meta text #666666. Redefining the
   ink/slate/muted tokens cascades to everything already consuming them.
   H1 46px / H2 38px, both weight 600, both line-height unified to 50px.
   Placed at the end of body (not <head>) and the hero-restoration rules
   below use #kgm/#kg-prefixed selectors, matching the specificity of the
   per-page Tier-2 hero blocks so this reliably wins cascade ties by
   source order instead of losing to an ID-scoped hero rule. */
#kgm, #kg {
  --k2-ink: #333333;
  --k2-slate: #333333;
  --k2-muted: #666666;
}
h1, h2, .sec-title, .sm-card-head h2 {
  color: #333333;
  font-weight: 600;
  line-height: 50px;
}
h1 { font-size: 46px; }
h2, .sec-title, .sm-card-head h2 { font-size: 46px; }

/* Hero titles sit on a photo/gradient scrim and must stay white at their
   original responsive size; restore that explicitly so the generic h1
   rule above doesn't make them dark and oversized. */
#kgm .hero h1, #kg .hero h1, #kgm .hero .hero-h, #kg .hero .hero-h,
#kgm .phero-inner h1, #kg .phero-inner h1,
#kgm .hero-inner h1, #kg .hero-inner h1,
#kgm .hero-banner-content h1, #kg .hero-banner-content h1,
.hero-banner h1,
.kgc.contact-hero .page-title h1 {
  color: #ffffff;
  font-weight: 500;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.15;
}

}
