/* Only Services transparency and Foundation motion change from the restored home. */
.hm-home .hr-services,.hm-home .hr-service-row,.hm-home .hr-service-panel{background:transparent;backdrop-filter:none}
/* Shared background canvas remains visible through the service content. */
.hm-home .hr-service-copy{position:relative;text-shadow:0 1px 12px #02040580}
/* Cards retain their original layout, dimensions, typography and content. */
.hm-home .foundation-ready{--foundation-out:1;perspective:1200px;transform-style:preserve-3d}
.hm-home .foundation-ready.is-foundation-in{--foundation-out:0}
.hm-home .foundation-ready .hm-proof{transform:translate3d(calc(var(--foundation-start-x,0px)*var(--foundation-out) + var(--foundation-hover-x,0px)),calc(var(--foundation-start-y,0px)*var(--foundation-out) + var(--foundation-hover-y,0px)),0) rotate(calc(-10deg*(1 - var(--foundation-out)))) rotateX(calc(4deg*(1 - var(--foundation-out)))) rotateY(calc(10deg*(1 - var(--foundation-out)))) scale(var(--foundation-hover-scale,1));filter:blur(calc(5px*var(--foundation-out)));transform-origin:50% 50%;transition:transform 1.2s cubic-bezier(.16,1,.3,1) var(--foundation-delay,0s),filter .8s ease var(--foundation-delay,0s);will-change:transform,filter}
@media(hover:hover) and (pointer:fine){.hm-home .foundation-ready.is-foundation-in .hm-proof:hover{--foundation-hover-x:-12px;--foundation-hover-y:-40px;--foundation-hover-scale:1.01;transition-duration:.5s;transition-delay:0s;z-index:6}}
.hm-home .foundation-ready.foundation-still .hm-proof{transition:none;filter:none}
@media(prefers-reduced-motion:reduce){.hm-home .foundation-ready .hm-proof{transform:rotate(-10deg);filter:none;transition:none}}

/* Keep offstage Foundation cards inside the page without changing their entry motion. */
.hm-home .hm-credentials-grid{overflow-x:clip}
html:has(body.hm-home){overflow-x:clip}
