/* Home Authority Lending: motion only. Headline letter reveal, smooth scrolling, magnetic buttons. No content changes. */

/* Headline: letters blur into focus. The original text stays for screen readers and translation. */
h1.hl-ready .hl-src{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hl-w{display:inline-block;white-space:nowrap}
.hl-c{display:inline-block}
h1.hl-wait .hl-c{opacity:0;filter:blur(14px)}
h1.hl-play .hl-c{animation:halBlurIn 1.1s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i) * 38ms)}
@keyframes halBlurIn{from{opacity:0;filter:blur(14px);transform:translateY(.14em)}to{opacity:1;filter:none;transform:none}}

/* Magnetic buttons: uses the separate translate property so existing hover transforms keep working */
.button.hal-mag{translate:var(--mx,0px) var(--my,0px);transition:transform .22s,box-shadow .22s,background-color .22s,translate .2s cubic-bezier(.2,.7,.2,1)}
.button.hal-mag.out{transition:transform .22s,box-shadow .22s,background-color .22s,translate .6s cubic-bezier(.3,1.5,.5,1)}

/* Smooth scrolling (Lenis) */
html.lenis,html.lenis body{height:auto}
html.lenis{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:clip}

@media (prefers-reduced-motion:reduce){h1.hl-wait .hl-c{opacity:1;filter:none}h1.hl-play .hl-c{animation:none}}
