/* Motion adds atmosphere without changing the approved Aqua palette or card shapes. */
.site-motion-rule{display:block;width:48px;height:3px;margin:0 0 20px;background:linear-gradient(90deg,#45c2c7,#7fd8db);border-radius:8px;transform-origin:left;pointer-events:none}
.sb-center h2>.site-motion-rule,#hm-faqs h2.hm-title>.site-motion-rule,.sec-head--center h2>.site-motion-rule{margin-inline:auto;transform-origin:center}
.band--coral .site-motion-rule,.sb-coral .site-motion-rule{background:#7fd8db}
.site-motion-progress{position:fixed;z-index:10001;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--ink-mark),var(--ink-aqua));transform:scaleX(0);transform-origin:left;pointer-events:none}
.site-nav-header{transition:border-color 250ms ease}
.site-nav-header.motion-scrolled{box-shadow:0 4px 22px #12283A0e}
.site-motion-toggle{appearance:none;display:inline-flex;align-items:center;gap:8px;border:1px solid #C7D0DC;border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:14px!important;padding:9px 15px;cursor:pointer;white-space:nowrap}
.site-motion-toggle::before{content:'';width:7px;height:7px;border-radius:50%;background:#0d6e73}
.site-motion-toggle[aria-pressed=true]::before{background:currentColor;opacity:.4}
.site-motion-toggle:focus-visible{outline:2px solid #0d6e73;outline-offset:4px}
@media(max-width:700px){.site-motion-rule{width:36px;height:3px;margin-bottom:16px}.site-motion-toggle{margin-top:8px}}
/* Keep content available in print and when either device or visitor reduces motion. */
html[data-site-motion=reduced] *,html[data-site-motion=reduced] *::before,html[data-site-motion=reduced] *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
html[data-site-motion=reduced] :is(.reveal-pending,.sb-reveal-pending,.ref-pending,.restored-pending,.anim,.cardanim){opacity:1!important;transform:none!important}
@media(prefers-reduced-motion:reduce){.site-motion-progress{transition:none}.site-motion-rule{transform:none!important}}
@media print{.site-motion-progress,.site-motion-toggle,.site-motion-rule{display:none!important}}
/* Contain decorative/hover layers while short entrance offsets settle on narrow courses. */
@media(max-width:700px){.restored-course-main{overflow-x:clip}}

/* Layered important card styles outrank unlayered resets. Keep manual reduction
   in their owning layer with enough specificity to beat hover/focus selectors. */
@layer card-design{
 html[data-site-motion=reduced] body .sb-logo-stage .sb-card-logo,
 html[data-site-motion=reduced] :is(.course-page,.restored-course-page) .referral-course :is(.trainer .trainer-certs img,.restored-schedule-card .restored-badge,.pb img,.gstep .gstep__icon--ain img),
 html[data-site-motion=reduced] body[data-captured-at] .client-tile img{
  animation:none!important;transition:none!important;transform:none!important;
 }
}

/* One owner for source entrances. WAAPI uses individual translate/scale, so the
   legacy transform never compounds with the shared choreography. Opacity is set
   inline by the engine and remains animatable, never hidden by this stylesheet. */
html[data-site-motion] body [data-motion-legacy]{animation:none!important;transform:none!important;clip-path:none!important;transition-property:color,background-color,border-color!important}
html[data-site-motion] body .site-motion-word{display:inline-block;font:inherit!important;font-size:inherit!important;line-height:inherit!important;letter-spacing:inherit;vertical-align:baseline;white-space:pre;transform-origin:50% 100%}
.site-motion-rule{width:76px;margin-bottom:20px}
.site-motion-progress{height:4px}
[data-motion-active=true]{will-change:transform,opacity}
@media(max-width:700px){.site-motion-rule{width:52px}.site-motion-progress{height:3px}}
html[data-site-motion=reduced] .site-motion-word,
html[data-site-motion=reduced] [data-motion-kind]{translate:none!important;scale:none!important;rotate:none!important;opacity:1!important}
html[data-site-motion=reduced] [data-motion-depth]{translate:none!important;scale:none!important;rotate:none!important}
@media(prefers-reduced-motion:reduce){.site-motion-word,[data-motion-kind],[data-motion-depth]{translate:none!important;scale:none!important;rotate:none!important}}
@media print{.site-motion-word,[data-motion-kind]{translate:none!important;scale:none!important;rotate:none!important;opacity:1!important}[data-motion-depth]{translate:none!important;scale:none!important;rotate:none!important}}

/* Conceal only prepared offscreen entrances. JavaScript-free pages stay visible. */
html[data-site-motion=full] [data-motion-prepared=true][data-motion-state=ready]{opacity:0!important}
