/* academy-design-sitewide-r1 (2026-11-06): luminous chrome clarity sitewide.
   Free UHD digital only. No fiqh. Loaded after Sonoma shell / with contrast. */

/* A. Header wordmark AA on light + dark (atlas home + injected site-head) */
:root:not(#asw0):not(#asw1) header.site-head .brand-main,
:root:not(#asw0):not(#asw1) .atlas-shared-header .brand-main,
:root:not(#asw0):not(#asw1) .brand-words .brand-main{
  color:#0b1532!important;
  -webkit-text-fill-color:#0b1532!important;
  opacity:1!important;
  font-weight:800!important;
}
:root:not(#asw0):not(#asw1) header.site-head .brand-sub,
:root:not(#asw0):not(#asw1) .atlas-shared-header .brand-sub,
:root:not(#asw0):not(#asw1) .brand-words .brand-sub{
  color:#5b4bb5!important;
  -webkit-text-fill-color:#5b4bb5!important;
  opacity:1!important;
  font-weight:800!important;
}
:root:not(#asw0):not(#asw1) header.atlas-header .atlas-brand b{
  color:#0b1532!important;
  -webkit-text-fill-color:#0b1532!important;
  opacity:1!important;
  font-weight:800!important;
}
:root:not(#asw0):not(#asw1) header.atlas-header .atlas-brand small{
  color:#5b4bb5!important;
  -webkit-text-fill-color:#5b4bb5!important;
  opacity:1!important;
}
:root:not(#asw0):not(#asw1) .brand-cap{
  color:#0b1532!important;
}
/* Dark / pitch */
html[data-theme=dark]:not(#asw0):not(#asw1) header.site-head .brand-main,
html[data-theme=dark]:not(#asw0):not(#asw1) .atlas-shared-header .brand-main,
html[data-theme=dark]:not(#asw0):not(#asw1) .brand-words .brand-main,
html[data-theme=dark]:not(#asw0):not(#asw1) header.atlas-header .atlas-brand b,
html[data-theme=pitch]:not(#asw0):not(#asw1) header.site-head .brand-main,
html[data-theme=pitch]:not(#asw0):not(#asw1) .brand-words .brand-main,
html[data-theme=pitch]:not(#asw0):not(#asw1) header.atlas-header .atlas-brand b{
  color:#f4f6fb!important;
  -webkit-text-fill-color:#f4f6fb!important;
}
html[data-theme=dark]:not(#asw0):not(#asw1) header.site-head .brand-sub,
html[data-theme=dark]:not(#asw0):not(#asw1) .brand-words .brand-sub,
html[data-theme=dark]:not(#asw0):not(#asw1) header.atlas-header .atlas-brand small,
html[data-theme=pitch]:not(#asw0):not(#asw1) .brand-words .brand-sub,
html[data-theme=pitch]:not(#asw0):not(#asw1) header.atlas-header .atlas-brand small{
  color:#b7a8ff!important;
  -webkit-text-fill-color:#b7a8ff!important;
}
html[data-theme=dark]:not(#asw0):not(#asw1) .brand-cap,
html[data-theme=pitch]:not(#asw0):not(#asw1) .brand-cap{color:#f4f6fb!important}

/* Donate + menu usable, same language */
:root:not(#asw0):not(#asw1) .mp-donate,
:root:not(#asw0):not(#asw1) a.mp-donate,
:root:not(#asw0):not(#asw1) button.mp-donate{
  color:#5c4316!important;
  border-color:#8a6a2c!important;
  background:#fff8e8!important;
  font-weight:700!important;
}
:root:not(#asw0):not(#asw1) .nav-toggle span,
:root:not(#asw0):not(#asw1) .atlas-menu-button span{background:#0b1532!important}
html[data-theme=dark]:not(#asw0):not(#asw1) .nav-toggle span,
html[data-theme=dark]:not(#asw0):not(#asw1) .atlas-menu-button span,
html[data-theme=pitch]:not(#asw0):not(#asw1) .nav-toggle span{background:#f4f6fb!important}

/* B. Dock labels + safe-area — content clear of dock */
:root:not(#asw0):not(#asw1) .mpw-di .lbl{
  color:#1d1d1f!important;
  font-weight:600!important;
  font-size:11px!important;
  letter-spacing:.01em;
}
:root:not(#asw0):not(#asw1) .mpw-di[aria-current] .lbl,
:root:not(#asw0):not(#asw1) .mpw-di.on .lbl{color:#0a5cc2!important;font-weight:800!important}
html[data-theme=dark]:not(#asw0):not(#asw1) .mpw-di .lbl,
html[data-theme=pitch]:not(#asw0):not(#asw1) .mpw-di .lbl{color:#e8eaf0!important}
:root:not(#asw0):not(#asw1) body:has(.mpw-dock){
  padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;
}
@media (max-width:700px){
  :root:not(#asw0):not(#asw1) body:has(.mpw-dock){
    padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;
  }
  :root:not(#asw0):not(#asw1) .mpw-dock{
    padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;
  }
  :root:not(#asw0):not(#asw1) .mpw-winsec,
  :root:not(#asw0):not(#asw1) main,
  :root:not(#asw0):not(#asw1) .field-hero .wrap{
    padding-bottom:8px;
  }
}

/* C/D. Hub typography + course list clarity */
:root:not(#asw0):not(#asw1) .field-hero h1#fieldTitle,
:root:not(#asw0):not(#asw1) .field-hero h1{
  color:#0b1532!important;
  font-weight:800!important;
  letter-spacing:-.02em;
  line-height:1.15;
  margin:.35rem 0 .5rem!important;
}
:root:not(#asw0):not(#asw1) .field-hero .lead#fieldDesc,
:root:not(#asw0):not(#asw1) .field-hero .lead{
  color:#3a4258!important;
  font-size:1.02rem!important;
  line-height:1.55!important;
  max-width:42rem;
}
:root:not(#asw0):not(#asw1) .static-seo-subhead{
  color:#0b1532!important;
  font-size:1.05rem!important;
  font-weight:750!important;
  margin:1.25rem 0 .55rem!important;
  letter-spacing:-.01em;
}
:root:not(#asw0):not(#asw1) .static-seo-courselist{
  list-style:none;
  margin:.4rem 0 1rem;
  padding:0;
  display:grid;
  gap:.45rem;
}
:root:not(#asw0):not(#asw1) .static-seo-courselist li a{
  display:block;
  padding:.7rem .9rem;
  border:1px solid #d9d4c7;
  border-radius:12px;
  background:#fffcf7;
  color:#0a5cc2!important;
  font-weight:650!important;
  line-height:1.35;
  text-decoration:none;
}
:root:not(#asw0):not(#asw1) .static-seo-courselist li a:hover,
:root:not(#asw0):not(#asw1) .static-seo-courselist li a:focus-visible{
  border-color:#0a5cc2;
  background:#f3f7ff;
}
:root:not(#asw0):not(#asw1) .static-seo-intro{
  color:#3a4258!important;
  line-height:1.55!important;
  max-width:44rem;
}
:root:not(#asw0):not(#asw1) .crumb{
  color:#5a6478!important;
  font-size:.72rem!important;
}
:root:not(#asw0):not(#asw1) .mpw-tt,
:root:not(#asw0):not(#asw1) .mpw-title{
  color:#1d1d1f!important;
  font-weight:700!important;
}
html[data-theme=dark]:not(#asw0):not(#asw1) .field-hero h1#fieldTitle,
html[data-theme=dark]:not(#asw0):not(#asw1) .static-seo-subhead,
html[data-theme=pitch]:not(#asw0):not(#asw1) .field-hero h1#fieldTitle{color:#f4f6fb!important}
html[data-theme=dark]:not(#asw0):not(#asw1) .static-seo-courselist li a{
  background:#1a2233;border-color:#2c364c;color:#8ec5ff!important;
}
/* Section chip-style note for finance credentials */
:root:not(#asw0):not(#asw1) .asw-chiprow{display:flex;flex-wrap:wrap;gap:.4rem;margin:.5rem 0 .85rem}
:root:not(#asw0):not(#asw1) .asw-chip{
  display:inline-flex;align-items:center;gap:.35rem;
  padding:.28rem .7rem;border-radius:999px;
  border:1px solid #cfc9ba;background:#fff;
  color:#1d1d1f;font-size:.78rem;font-weight:700;
}
:root:not(#asw0):not(#asw1) .asw-chip a{color:inherit;text-decoration:none}
