/* Motion is progressive enhancement: content stays visible without JavaScript. */
.jb-scroll-progress{position:fixed;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#83aa92,#4b91b5 65%,#e6a064);z-index:99999;transform:scaleX(0);transform-origin:left;pointer-events:none}
.jb-motion-toggle{position:fixed;right:18px;bottom:18px;z-index:9000;width:36px;height:36px;padding:0;display:grid;place-items:center;background:#315f73e8;border:1px solid #ffffffb0;border-radius:50%;box-shadow:0 2px 9px #293e4920;color:#fff;cursor:pointer}
.jb-motion-toggle:hover{background:#234e62}
.jb-motion-toggle:focus-visible{outline:3px solid #e6a064;outline-offset:4px}
.jb-motion-toggle[hidden]{display:none}
body.jb-home-refresh :is(.hero-actions .button,.jb-care-finale .jbf-button){position:relative;overflow:hidden}
.jb-button-sheen{position:absolute;pointer-events:none;inset:-40% auto -40% -70%;width:45%;background:linear-gradient(90deg,transparent,#ffffff4d,transparent);transform:skewX(-22deg);transition:left .7s ease;z-index:1}
body.jb-motion-fine :is(.hero-actions .button,.jb-care-finale .jbf-button):hover .jb-button-sheen,body.jb-home-refresh :is(.hero-actions .button,.jb-care-finale .jbf-button):focus-visible .jb-button-sheen{left:135%}
body.jb-motion-fine .care-portal{transition:transform .3s,box-shadow .3s,border-color .3s}
body.jb-motion-fine .care-portal:hover{transform:translateY(-7px);border-color:#a8c6cb;box-shadow:0 18px 35px #365d6b1c}
body.jb-motion-fine .care-portal:nth-child(2):hover{transform:translateY(9px)}
body.jb-motion-fine .jb-portal-art>img{transition:transform .75s cubic-bezier(.2,.65,.3,1)}
body.jb-motion-fine .care-portal:hover .jb-portal-art>img{transform:scale(1.035)}
body.jb-motion-fine .jb-portal-badge{transition:transform .35s}
body.jb-motion-fine .care-portal:hover .jb-portal-badge{transform:rotate(-7deg) scale(1.07)}
@keyframes jb-scene-breathe{from{transform:scale(1)}to{transform:scale(1.035)}}
@keyframes jb-pond-drift{from{transform:translateX(-4px)}to{transform:translateX(4px)}}
@keyframes jb-landscape-drift{from{background-position:48% center,center}to{background-position:52% center,center}}
@media(min-width:768px) and (prefers-reduced-motion:no-preference){
 body[data-jb-motion] .home-hero .jb-hero-illustration img,body[data-jb-motion] .jb-finale-art img{animation:jb-scene-breathe 16s ease-in-out infinite alternate;animation-play-state:paused}
 body[data-jb-motion] .home-hero.jb-motion-inview .jb-hero-illustration img,body[data-jb-motion] .jb-care-finale.jb-motion-inview .jb-finale-art img{animation-play-state:running}
 body[data-jb-motion] .jb-home-posts:before{animation:jb-pond-drift 9s ease-in-out infinite alternate;animation-play-state:paused}
 body[data-jb-motion] .jb-home-posts.jb-motion-inview:before{animation-play-state:running}
 body[data-jb-motion] .section.soft{background-size:104% 100%,auto;animation:jb-landscape-drift 18s ease-in-out infinite alternate;animation-play-state:paused}
 body[data-jb-motion] .section.soft.jb-motion-inview{animation-play-state:running}
}
body.jb-motion-paused :is(.jb-hero-illustration img,.jb-finale-art img,.section.soft),body.jb-motion-paused .jb-home-posts:before{animation-play-state:paused!important}
@media(max-width:767px){
 .jb-motion-toggle{right:12px;bottom:12px;width:33px;height:33px}
 body.jb-motion-fine .care-portal:nth-child(2):hover{transform:translateY(-3px)}
}
@media(prefers-reduced-motion:reduce){
 body.jb-home-refresh{scroll-behavior:auto}
 body.jb-home-refresh :is(.care-portal,.jb-card,.jbf-button,.jb-portal-badge,.jb-portal-art>img,.jb-button-sheen){transition:none!important;transform:none!important}
 body.jb-home-refresh :is(.jb-hero-illustration img,.jb-finale-art img,.section.soft),body.jb-home-refresh .jb-home-posts:before{animation:none!important}
 .jb-motion-toggle{display:none}
}
