/* Homepage-only motion (hero entrance, section reveals, magnetic buttons, Lenis). Loaded only on index.html. */
html.lenis,html.lenis body{height:auto}
html.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:clip}
@keyframes hmUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes hmZoom{from{opacity:0;transform:scale(1.07)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
 html.hm-js .ed-hero-copy>.ed-script,
 html.hm-js .ed-hero-copy>.ed-kicker,
 html.hm-js .ed-hero h1 .hm-l,
 html.hm-js .ed-hero-copy>.ed-intro,
 html.hm-js .ed-hero-copy>.ed-actions,
 html.hm-js .ed-hero-copy>.ed-signoff{animation:hmUp .9s cubic-bezier(.2,.7,.2,1) both}
 html.hm-js .ed-hero h1 .hm-l{display:inline-block}
 html.hm-js .ed-hero-copy>.ed-script{animation-delay:.05s}
 html.hm-js .ed-hero-copy>.ed-kicker{animation-delay:.18s}
 html.hm-js .ed-hero h1 .hm-l1{animation-delay:.32s}
 html.hm-js .ed-hero h1 .hm-l2{animation-delay:.58s}
 html.hm-js .ed-hero-copy>.ed-intro{animation-delay:.8s}
 html.hm-js .ed-hero-copy>.ed-actions{animation-delay:.95s}
 html.hm-js .ed-hero-copy>.ed-signoff{animation-delay:1.1s}
 html.hm-js .ed-photo-main img{animation:hmZoom 1.6s cubic-bezier(.2,.7,.2,1) .1s both;transform-origin:50% 80%}
 html.hm-js .hm-rv{opacity:0;transform:translateY(34px);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1)}
 html.hm-js .hm-rv.hm-in{opacity:1;transform:none}
 .ed-btn,.ed-pills a,.ed-text-link{transition:translate .35s cubic-bezier(.2,.7,.2,1),transform .18s ease,box-shadow .18s ease,background .18s}
 .ed-btn:active,.ed-pills a:active,.ed-text-link:active{transform:scale(.96)}
}
/* F: slow floating pharmacy shapes behind the hero photo (drawn in code, photo untouched) */
.hm-float{position:absolute;inset:0;z-index:0;pointer-events:none}
.hm-float svg{position:absolute;overflow:visible;fill:none;stroke-width:1.6;stroke-linecap:round}
.hm-f1{left:2%;top:18%;width:58px;stroke:#e95b4d;opacity:.55}
.hm-f2{left:8%;bottom:16%;width:30px;stroke:#126b56;opacity:.45}
.hm-f3{right:0;top:2%;width:46px;stroke:#126b56;opacity:.4}
.hm-f4{right:4%;bottom:10%;width:26px;stroke:#e95b4d;opacity:.5}
.hm-f5{left:20%;top:2%;width:22px;stroke:#e9a58f;opacity:.7}
@keyframes hmFloat{0%,100%{transform:translate(0,0) rotate(var(--r,0deg))}50%{transform:translate(var(--x,6px),var(--y,-14px)) rotate(calc(var(--r,0deg) + 10deg))}}
@media (prefers-reduced-motion:no-preference){.hm-float svg{animation:hmFloat var(--d,9s) ease-in-out infinite}}
@media (max-width:760px){.hm-f1{width:40px;left:auto;right:58%;top:34%}.hm-f3{width:32px}.hm-f5,.hm-f2{display:none}}
