/* Tasteful load + scroll-reveal motion. Only active when JS adds .km-motion to <html>,
   so content is always visible if the script doesn't run. */
.km-motion .km-reveal{opacity:0;transform:translate3d(0,26px,0);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:var(--km-delay,0ms);will-change:opacity,transform}
.km-motion .km-reveal.km-in{opacity:1;transform:none}
.km-motion .km-reveal-scale{transform:translate3d(0,18px,0) scale(.97)}
.km-motion .km-reveal-scale.km-in{transform:none}

/* Hero entrance on page load */
@keyframes km-rise{from{opacity:0;transform:translate3d(0,28px,0)}to{opacity:1;transform:none}}
@keyframes km-pop{from{opacity:0;transform:translate3d(0,24px,0) scale(.94)}to{opacity:1;transform:none}}
.km-motion .km-hero-in{animation:km-rise .8s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--km-delay,0ms)}
.km-motion .km-hero-pop{animation:km-pop .9s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--km-delay,0ms)}

/* Accent underline that draws in under section headings */
.km-motion h2.km-reveal{background-image:linear-gradient(var(--km-accent,#00C084),var(--km-accent,#00C084));background-repeat:no-repeat;background-position:0 100%;background-size:0 3px;padding-bottom:10px;transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1),background-size .9s cubic-bezier(.2,.7,.2,1) .25s}
.km-motion h2.km-reveal.km-in{background-size:72px 3px}

@media (prefers-reduced-motion: reduce){
  .km-motion .km-reveal,.km-motion .km-reveal-scale{opacity:1!important;transform:none!important;transition:none!important}
  .km-motion .km-hero-in,.km-motion .km-hero-pop{animation:none!important}
}
