/* Homepage motion. Content remains visible without JavaScript or animation support. */
body.qm-home-motion{--hm-ease:cubic-bezier(.19,1,.22,1);--hm-accent:#73d2a7}
.hm-reading-progress{position:fixed;z-index:10001;inset:0 0 auto;height:2px;background:linear-gradient(90deg,#3b9b78,#a0e5c5);transform:scaleX(0);transform-origin:left;pointer-events:none}
body.qm-home-motion .hm-hero-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:22px 32px;margin-top:28px;font-size:12px;line-height:1.5}
body.qm-home-motion .hm-explore{display:inline-flex;align-items:center;gap:16px;color:#c8d8d1;text-decoration:none;padding:9px 0}
.hm-explore>span{width:1px;height:24px;position:relative;background:rgba(177,218,197,.3);overflow:hidden}
.hm-explore>span:after{content:"";display:block;width:1px;height:12px;background:#a0e5c5;animation:hm-scroll-hint 2.6s cubic-bezier(.4,0,.2,1) infinite}
.hm-motion-toggle{display:inline-flex;align-items:center;gap:9px;appearance:none;border:1px solid rgba(159,204,181,.3);border-radius:30px;padding:8px 14px;background:rgba(6,24,18,.22);color:#c4d6cc;font:inherit;cursor:pointer;transition:border-color .2s,background .2s}
.hm-motion-toggle[hidden]{display:none}
.hm-motion-toggle:hover{border-color:#82c4a7;background:rgba(41,82,64,.4)}
.hm-motion-toggle svg{width:12px;height:12px;fill:currentColor;flex:none}
body.qm-home-motion .hm-hero-tools a:focus-visible,.hm-motion-toggle:focus-visible{outline:2px solid #9ee0bc;outline-offset:5px}
body.qm-home-motion .hm-reveal{animation:none!important}
body.qm-home-motion .hm-parallax-frame{overflow:hidden}
body.qm-home-motion .hm-parallax-image{translate:0 var(--hm-shift,0px);scale:1.035;transform-origin:center}
body.qm-home-motion :is(.qh-project-photo,.qhp-media,.qm-service-image){position:relative}
body.qm-home-motion :is(.qh-project-photo,.qhp-media,.qm-service-image)::after{content:"";position:absolute;inset:0;pointer-events:none;border:1px solid rgba(200,241,220,.25);opacity:0;transition:opacity .45s;z-index:2}
body.qm-home-motion :is(.qh-project:hover .qh-project-photo,.qhp-card:hover .qhp-media,.qm-service-option:hover .qm-service-image)::after{opacity:1}
@media(hover:hover) and (pointer:fine){
  body.qm-home-motion .qmqm-item-card .qmqm-cover-img{transition:transform 1000ms var(--hm-ease)!important}
  body.qm-home-motion .qmqm-item-card:hover .qmqm-cover-img{transform:scale(1.045)!important}
  body.qm-home-motion :is(.qh-project,.qhp-article,.qm-service-option){transition:box-shadow .5s var(--hm-ease),border-color .5s}
  body.qm-home-motion :is(.qhp-article,.qm-service-option):hover{box-shadow:0 16px 42px rgba(10,45,30,.10)}
  body.qm-home-motion .qm-home-industry-card:after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:radial-gradient(ellipse at var(--hm-pointer-x,50%) var(--hm-pointer-y,50%),rgba(237,255,249,.17),transparent 55%);opacity:0;transition:opacity .4s}
  body.qm-home-motion .qm-home-industry-card:hover:after{opacity:1}
}
body.qm-home-motion .hm-step-track{position:relative}
body.qm-home-motion .hm-step-track:after{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:#73d2a7;transform:scaleX(var(--hm-step-progress,0));transform-origin:left;pointer-events:none}
body.qm-home-motion[data-home-motion="paused"] :is(.hm-parallax-image){translate:none;scale:1}
body.qm-home-motion[data-home-motion="paused"] .hm-explore>span:after{animation:none;transform:translateY(6px)}
body.qm-home-motion[data-home-motion="paused"] .hm-reading-progress{display:none}
body.qm-home-motion[data-home-motion="paused"] :is(.qm-home-industry-card,.qm-industry-image,.qmqm-cover-img,.qh-project-photo img,.qm-service-image img,.qhp-media img){transition:none!important}
body.qm-home-motion[data-home-motion="paused"] :is(.qmqm-item-card:hover .qmqm-cover-img,.qh-project:hover img,.qhp-card:hover img,.qm-service-option:hover img,.qm-home-industry-card:hover .qm-industry-image){transform:none!important}
body.qm-home-motion[data-home-motion="paused"] .hm-step-track:after{display:none}
@keyframes hm-scroll-hint{0%,15%{transform:translateY(-12px);opacity:0}40%{opacity:1}80%,100%{transform:translateY(24px);opacity:0}}
@media(max-width:760px){body.qm-home-motion .hm-hero-tools{margin-top:18px;gap:14px 22px;font-size:11px}body.qm-home-motion .hm-step-track:after{display:none}body.qm-home-motion .hm-parallax-image{translate:none;scale:1}}
@media(prefers-reduced-motion:reduce){
  body.qm-home-motion .hm-reading-progress,body.qm-home-motion .hm-step-track:after{display:none}
  body.qm-home-motion .hm-explore>span:after{animation:none;transform:translateY(6px)}
  body.qm-home-motion .hm-parallax-image{translate:none;scale:1}
  body.qm-home-motion :is(.qm-home-industry-card,.qm-industry-image,.qmqm-cover-img,.qh-project-photo img,.qm-service-image img,.qhp-media img,.qm-capability-link){animation:none!important;transition:none!important}
  body.qm-home-motion :is(.qmqm-item-card:hover .qmqm-cover-img,.qh-project:hover img,.qhp-card:hover img,.qm-service-option:hover img,.qm-home-industry-card:hover .qm-industry-image){transform:none!important}
}
