/* ============================================================
   A LITTLE MOVEMENT (4 Nov 2026) – all of it lives in this file
   and motion.js. To switch it off: set  motion = false  in
   src/content.toml [site] and rebuild. Never runs for people who
   ask their phone/computer for reduced motion.
   ============================================================ */
/* 1. gentle fade-up on scroll (only when motion.js has added .mo) */
html.mo .rv{opacity:0;transform:translateY(22px);transition:opacity .9s ease,transform .9s cubic-bezier(.2,.6,.2,1)}
html.mo .rv.in{opacity:1;transform:none}
/* 2. soft photo reveal: the picture settles from a tiny zoom */
html.mo .pic img{transition:transform 1.6s cubic-bezier(.2,.6,.2,1)}
html.mo .rv:not(.in) .pic img,html.mo .pic.rv:not(.in) img{transform:scale(1.07)}
/* 3. slow hover zoom on photos (mouse only, not on phones) */
@media(hover:hover){html.mo .pic:hover img,html.mo a:hover .pic img{transform:scale(1.035);transition-duration:1.2s}}
/* 4. hero words drift in once */
html.mo .hero-in{animation:moUp 1.2s cubic-bezier(.2,.6,.2,1) both}
@keyframes moUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
/* 5. links: underline grows in, arrows nudge */
html.mo .link span{display:inline-block;transition:transform .35s ease}
html.mo .link:hover span,html.mo .link:focus-visible span{transform:translateX(5px)}
html.mo footer ul a,html.mo .menu a,html.mo .grid4 h3{background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .45s ease;padding-bottom:2px}
html.mo footer ul a:hover,html.mo .menu a:hover,html.mo footer ul a:focus-visible,html.mo .menu a:focus-visible,html.mo .grid4 a:hover h3{background-size:100% 1px}
html.mo .pill{transition:background-color .3s,color .3s,transform .3s}
@media(hover:hover){html.mo .pill:not(.dis):hover{transform:translateY(-2px)}}
/* 6. one tiny wiggle: the "&" in EVIE & COOPER, once, when it shows up */
html.mo .crew h2 em{display:inline-block}
html.mo .crew h2.in em{animation:moWig 1s ease .5s 1}
@keyframes moWig{0%,100%{transform:rotate(0)}25%{transform:rotate(-9deg)}50%{transform:rotate(7deg)}75%{transform:rotate(-3deg)}}
/* the rotating "Say hello" badge on Home stays as it was (style.css) */
@media(prefers-reduced-motion:reduce){html.mo .rv{opacity:1!important;transform:none!important}html.mo *{animation:none!important;transition:none!important}}
@media print{html.mo .rv{opacity:1!important;transform:none!important}}
