/* Shared motion for every public marketing page. Decorative only: content is
   always visible without it, and reduced-motion users get none of it. */
@media (prefers-reduced-motion:no-preference){
  /* Headlines rise in once on load. */
  .hero h1,.page-hero h1{animation:sm-rise .9s cubic-bezier(.22,.7,.2,1) both}
  .hero-description,.page-hero>p:not(.eyebrow){animation:sm-rise .9s .12s cubic-bezier(.22,.7,.2,1) both}
  .hero-actions,.page-hero .hero-actions{animation:sm-rise .9s .22s cubic-bezier(.22,.7,.2,1) both}
  @keyframes sm-rise{from{opacity:0;transform:translate3d(0,22px,0)}to{opacity:1;transform:none}}

  /* A slow ambient glow behind the top of each page. */
  .hero,.page-hero{position:relative;isolation:isolate;overflow-x:clip}
  .hero::before,.page-hero::before{content:"";position:absolute;z-index:-1;inset:-10% -5% auto auto;width:min(720px,80vw);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at center,#6c98ff2e 0%,#6c98ff10 38%,transparent 68%);pointer-events:none;animation:sm-drift 18s ease-in-out infinite alternate}
  @keyframes sm-drift{from{transform:translate3d(6%,-4%,0) scale(1)}to{transform:translate3d(-14%,10%,0) scale(1.15)}}

  /* Cards lift and catch the light on hover. */
  .service,.why-grid article,.promise-grid li,.work-card,.case-story article,.testimonial-grid figure,.maintenance-grid>*,.discussed-pricing,.quick-quote-form{transition:transform .35s cubic-bezier(.22,.7,.2,1),border-color .35s,box-shadow .35s}
  .service:hover,.promise-grid li:hover,.testimonial-grid figure:hover,.maintenance-grid>*:hover{transform:translate3d(0,-5px,0);border-color:#6c98ff66;box-shadow:0 24px 50px -28px #6c98ff59}
  .why-grid article:hover{transform:translate3d(0,-4px,0)}
  .work-card:hover{transform:translate3d(0,-6px,0)}
  body:not(.corner-motion-running) .work-card img{transition:transform .8s cubic-bezier(.22,.7,.2,1)}
  body:not(.corner-motion-running) .work-card:hover img{transform:scale(1.04)}
  .service-icon,.promise-check{transition:transform .45s cubic-bezier(.34,1.56,.64,1),background-color .3s}
  .service:hover .service-icon,.promise-grid li:hover .promise-check{transform:scale(1.12) rotate(-6deg)}

  /* Arrows nudge forward; text links draw their underline. */
  .button svg,.text-link svg{transition:transform .3s cubic-bezier(.22,.7,.2,1)}
  .button:hover svg,.text-link:hover svg{transform:translate3d(4px,0,0)}
  .text-link{background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-position:0 100%;background-repeat:no-repeat;transition:background-size .35s cubic-bezier(.22,.7,.2,1)}
  .text-link:hover{background-size:100% 1px}

  /* Headline accents shimmer gently. */
  .hero h1 span,.page-hero h1 span,.section-intro h2 span{background:linear-gradient(100deg,var(--accent) 0%,#c3d4ff 45%,var(--accent) 70%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:sm-shimmer 7s ease-in-out infinite}
  @keyframes sm-shimmer{0%,100%{background-position:100% 0}50%{background-position:0 0}}
}
