/* Homepage motion: button color fills and quiet card lift. */
.home{--motion-ease:cubic-bezier(.22,1,.36,1)}
.services-available{margin-top:38px}.services-available .eyebrow{margin-bottom:12px}.services-available a{text-decoration:underline;text-underline-offset:4px}.services-available p:last-child{margin-bottom:0}
.hero-portrait[data-hero-slider]{overflow:hidden;border-radius:20px}.hero-portrait .hero-slide{position:absolute;inset:0}.card-track[data-sliding=true]{overflow-x:hidden;scroll-snap-type:none}
.home .card-track{padding-block:16px;margin-block:-16px}.home .progress-line span{transform-origin:left center}
@media(prefers-reduced-motion:no-preference){
.home .card-top>a span{display:inline-block;transition:transform .4s var(--motion-ease)}
.home .hero-lines button{transition:flex .5s var(--motion-ease)}.home .hero-lines button::after{transition:opacity .4s ease}
.home .service-card,.home .testimonial-card,.home .contact-card{transition:background-color .4s ease,translate .4s var(--motion-ease),box-shadow .4s ease,border-color .4s ease}
.home .intro-image>img{transition:scale .8s var(--motion-ease)}.home .square-icon,.home .contact-card svg{transition:background .35s ease,rotate .4s var(--motion-ease);transform-origin:center}
.home .carousel-arrow{transition:background .25s ease,color .25s ease,box-shadow .25s ease}
.home .talk-form input{transition:border-color .25s ease,box-shadow .25s ease}.home .talk-form input:focus{border-color:#6f8c68;box-shadow:0 0 0 3px #78988720}
.home .primary-nav li>a,.home .footer-grid li>a{position:relative;display:inline-block}
.home .primary-nav li>a::after,.home .footer-grid li>a::after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .35s var(--motion-ease)}
.home .primary-nav li>a:is(:hover,:focus-visible)::after,.home .footer-grid li>a:is(:hover,:focus-visible)::after{transform:scaleX(1)}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
.home .service-card:hover,.home .testimonial-card:hover,.home .contact-card:hover{translate:0 -5px;border-color:#bdcec3;box-shadow:0 12px 24px -12px #163e3940}
.home .card-top>a:hover span{transform:translateX(4px)}.home .intro-image:hover>img{scale:1.025}
.home .service-card:hover .square-icon,.home .testimonial-card:hover .square-icon{rotate:-10deg;background:#0c5062}.home .contact-card:hover svg{rotate:-10deg}.home .carousel-arrow:hover{background:var(--teal);color:#fff;box-shadow:0 4px 12px #0c506222}
}
@media(hover:hover) and (pointer:fine){
.home .service-card:hover,.home .testimonial-card:hover{background-color:#e2ebe1}
.home .contact-card:hover{background-color:#0c5062}
}
.home .service-card:focus-within,.home .testimonial-card:focus-within{background-color:#e2ebe1}
.home .contact-card:focus-within{background-color:#0c5062}
@media(prefers-reduced-motion:no-preference){
.home .service-card:focus-within .square-icon,.home .testimonial-card:focus-within .square-icon{rotate:-10deg;background:#0c5062}
.home .contact-card:focus-within svg{rotate:-10deg}
}
