/* R630 — canonical identity tokens for every layer (mobile / tablet / desktop).
   Mission colour system: CMU purple = structure, Science gold = accent,
   Science green = secondary identity. Layers alias these, they do not redefine. */
:root{
  --science-purple:#9E76B4;
  --science-purple-strong:#6E4E8A;
  --science-purple-deep:#5A3E72;
  --science-green:#286428;
  --science-gold:#FFD300;
  --academic-gold:#FFD300;
  --ink:#212529;
  --text-secondary:#495057;
  --text-muted:#6B7280;
  --surface:#FFFFFF;
  --surface-soft:#F5F6F7;
  --surface-purple:#F3EDF6;
  --border:#E4E7EB;
  --system-radius:14px;
  --system-shadow:0 1px 2px rgba(16,24,40,.05), 0 10px 24px rgba(16,24,40,.06);
  --system-focus:#FFD300;
}
/* ============================================================================
   R630 · 2026-12-01 — heading-outline preservation layer.
   The document outline now uses h1/h2/h3 where the markup previously used
   h3/h4/h5. These rules keep the exact size / line-height / margins that were
   measured before the tag change, so nothing moves visually.
   Loaded LAST (after mobile.css + tablet.css) and specificity-matched, because
   cmu.css / index.css / mobile.css also style these elements.
   ========================================================================== */
.vision-title,
h1.vision-title { font-size: 30.8px; line-height: 1.1; margin: 20px 0 18px; }

h2.style1,
h3.style1 { font-size: 24px; line-height: 1.1; margin: 20px 0 10px; }

.footer-title,
.cmu-footer .footer-title,
#cmu_global_foot_menu h2.footer-title { font-size: 16px; line-height: 1.1; margin: 0 0 14px; }

.tab-content > .tab-pane .col-md-12 > h2 { font-size: 18px; line-height: 1.1; margin: 10px 0; }

/* Hero backdrop: slider.php sets it as an inline background (images/bg2.png,
   1800x338 = 1.27 MB). Same picture, WebP first, PNG as the fallback. */
.body-light {
  background-image: url(/images/bg2.png) !important;
  background-image: image-set(
    url(/images/webp/ui/bg2-900.webp) type("image/webp") 1x,
    url(/images/webp/ui/bg2-1800.webp) type("image/webp") 2x,
    url(/images/bg2.png) 1x
  ) !important;
  background-position: top center !important;
  background-repeat: repeat-x !important;
}

@media (max-width: 767px) {
  /* css-info.css pins html body h1/h2 with !important at these widths, and
     index.css styles .vision-title below 767px — !important is required here
     purely to keep the measured pre-change sizes. */
  html body h1.vision-title,
  html body .vision-title { font-size: 18px !important; line-height: 1.45 !important; margin: 16px 0 10px !important; }
  html body h2.style1,
  html body h3.style1 { font-size: 18px !important; line-height: 1.45 !important; margin: 16px 0 10px !important; }
  html body .footer-title,
  html body .cmu-footer .footer-title,
  html body #cmu_global_foot_menu h2.footer-title { font-size: 17px !important; line-height: 1.1 !important; margin: 0 0 7.5px !important; }
  html body .tab-content > .tab-pane > .row > .col-md-12 > h2 { font-size: 18px !important; line-height: 1.45 !important; margin: 16px 0 10px !important; }
}
