/* Map the accepted main components to the common REZIM UI scale. */
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page] {font-family:var(--rz-font)!important;font-size:var(--rz-text)!important;font-weight:400!important;line-height:var(--rz-leading)!important;font-synthesis:none!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page] main .cinematicHero h1{font-size:var(--rz-display)!important;font-weight:600!important;line-height:var(--rz-display-leading)!important;letter-spacing:var(--rz-display-tracking)!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page] main :is(.pageHero,.projectsHero,.caseHero,.accountHero,.partnersIntro) h1{font-size:var(--rz-page)!important;font-weight:600!important;line-height:var(--rz-heading-leading)!important;letter-spacing:var(--rz-heading-tracking)!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page] main :is(.sectionHead,.cinematicSectionHead,.homeScaleHeading,.conceptWorkspaceHeader) h2{font-size:var(--rz-section)!important;font-weight:600!important;line-height:var(--rz-heading-leading)!important;letter-spacing:var(--rz-heading-tracking)!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page] main :is(.partnerCopy h2,.processGrid h3,.eventStaticList strong){font-size:var(--rz-subheading)!important;font-weight:600!important;line-height:var(--rz-card-leading)!important;letter-spacing:var(--rz-card-tracking)!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page] main .equipmentCardBody h3{font-size:var(--rz-card)!important;font-weight:600!important;line-height:var(--rz-card-leading)!important;letter-spacing:var(--rz-card-tracking)!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page] main :is(.pageHero p,.cinematicLead,.partnerCopy p){font-size:var(--rz-text)!important;line-height:var(--rz-leading)!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page] .topbar :is(.nav a,.accountTopAction,.topAction){font-size:var(--rz-label)!important;font-weight:500!important;line-height:1.5!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page] main :is(.buttonPrimary,.buttonGhost){font-size:var(--rz-label)!important;font-weight:500!important;line-height:1.5!important;min-height:var(--rz-button-height)!important;padding:12px var(--rz-button-x)!important;border-radius:var(--rz-control-radius)!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page] main :is(.sectionHead,.cinematicSectionHead,.homeScaleHeading){margin-bottom:var(--rz-heading-gap)!important;gap:var(--rz-space-3)!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page] main>:is(.section:not(.pageHero):not(.projectsHero):not(.caseHero):not(.accountHero):not(.partnersIntro):not(.partnersList):not(.toolHubFlow),.eventReelSection){padding-block:var(--rz-section-space)!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page] main>:is(.section:not(.pageHero):not(.projectsHero):not(.caseHero):not(.accountHero):not(.partnersIntro):not(.partnersList):not(.toolHubFlow),.eventReelSection){padding-inline:var(--rz-page-pad)!important}

/* One elevated visual anchor for the welcome headings on every primary route. */
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page="home"] main .cinematicHero{padding-top:0!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page="home"] main .cinematicHero h1{margin-top:4px!important}
html:root[data-rezim-system][data-theme] body.cinematicPage[data-page="account"] main .accountHeroCopy{transform:translateY(-84px)!important}
@media(max-width:760px){
  html:root[data-rezim-system][data-theme] body.cinematicPage[data-page="home"] main .cinematicHero{padding-top:8px!important}
  html:root[data-rezim-system][data-theme] body.cinematicPage[data-page="home"] main .cinematicHero h1{margin-top:8px!important}
  html:root[data-rezim-system][data-theme] body.cinematicPage[data-page="account"] main .accountHeroCopy{transform:translateY(-40px)!important}
}
