/* PC Motion: styles that only apply while the GSAP layer is active (html.pc-motion). */

/* GSAP now handles section reveals, so the older CSS-only fade stands down. */
html.pc-motion.hx-anim body:not(#_):not(#__) .hx .wrap{opacity:1!important;transform:none!important;transition:none!important}

/* Header: a soft shadow once the page has scrolled (it slides away on scroll down, back on scroll up). */
html.pc-motion .hxh-bar{will-change:transform}
html.pc-motion .hxh-bar.pcm-scrolled{box-shadow:0 12px 30px -20px rgba(22,36,37,.45)}

/* Links in body text: an underline that draws in from the left on hover. */
html.pc-motion :is(.pcb-content,.pcp-content,.hx p,.hx li,.hx td,.elementor-widget-text-editor) a:not([class*="btn"]):not(.elementor-button):not(:has(img)){background-image:linear-gradient(currentColor,currentColor);background-position:0 100%;background-repeat:no-repeat;background-size:0% 1.5px;transition:background-size .35s cubic-bezier(.2,.7,.2,1),color .2s,text-decoration-color .2s}
@media (hover:hover){
 html.pc-motion :is(.pcb-content,.pcp-content,.hx p,.hx li,.hx td,.elementor-widget-text-editor) a:not([class*="btn"]):not(.elementor-button):not(:has(img)):hover{background-size:100% 1.5px;text-decoration-color:transparent}
}

/* Buttons and cards: a small lift on hover. */
html.pc-motion :is(.hx .btn,.pcb-btn,.elementor-button,.hxh-cta,.hxf-btn){transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s,background .15s,color .15s,border-color .15s}
html.pc-motion :is(.hx .card,.pcb-card){transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
@media (hover:hover){
 html.pc-motion :is(.hx .btn,.pcb-btn,.elementor-button,.hxh-cta,.hxf-btn):hover{transform:translateY(-2px)}
 html.pc-motion :is(.hx .card,.pcb-card):hover{transform:translateY(-6px);box-shadow:0 26px 50px -26px rgba(22,36,37,.45)}
}

/* Images that drift inside their frames on scroll need a little room. */
html.pc-motion .pcm-drift{will-change:transform}

@media (prefers-reduced-motion:reduce){html.pc-motion *{transition:none!important}}