/* motion.css (Nov 3, 2026): open + scroll animation. Transforms and opacity only.
   Every hidden state sits under html.js, which motion.js adds only when it can run,
   so with no JS (or reduced motion) the page shows everything as before. */
@keyframes ft-up{from{opacity:0;translate:0 26px}to{opacity:1;translate:0 0}}
@keyframes ft-fade{from{opacity:0}to{opacity:1}}
@keyframes ft-pop{0%{opacity:0;scale:.86;translate:0 14px}70%{opacity:1;scale:1.03;translate:0 0}100%{opacity:1;scale:1;translate:0 0}}
@keyframes ft-logo{from{opacity:0;scale:.7;translate:0 -10px}to{opacity:1;scale:1;translate:0 0}}
@keyframes ft-right{from{opacity:0;translate:18px 0}to{opacity:1;translate:0 0}}
@keyframes ft-kenburns{from{scale:1.16}to{scale:1}}
@keyframes ft-dock{from{translate:0 110%}to{translate:0 0}}
@keyframes ft-zoomin{from{opacity:0;scale:.92}to{opacity:1;scale:1}}
@keyframes ft-sheen{0%,72%{translate:-130% 0}100%{translate:130% 0}}
@keyframes ft-slowzoom{from{scale:1.12}to{scale:1}}

/* ---- On open: hero ---- */
html.js .hero-bg{animation:ft-kenburns 7s cubic-bezier(.2,.6,.2,1) both;transform-origin:50% 40%}
html.js .brand{animation:ft-logo .8s cubic-bezier(.2,.8,.2,1) .1s both}
html.js .top-call{animation:ft-right .7s cubic-bezier(.2,.8,.2,1) .25s both}
html.js .hero-in .eyebrow{animation:ft-up .7s cubic-bezier(.2,.8,.2,1) .3s both}
html.js .hero h1{animation:ft-up .8s cubic-bezier(.2,.8,.2,1) .42s both}
html.js .hero h1 span{animation:ft-up .8s cubic-bezier(.2,.8,.2,1) .6s both}
html.js .hero-rating{animation:ft-fade .7s ease .78s both}
html.js .cta .btn{animation:ft-pop .65s cubic-bezier(.2,.8,.2,1) both}
html.js .cta .btn:nth-child(1){animation-delay:.9s}
html.js .cta .btn:nth-child(2){animation-delay:1.02s}
html.js .cta .btn:nth-child(3){animation-delay:1.12s}
html.js .cta .btn:nth-child(4){animation-delay:1.22s}
html.js .dock{animation:ft-dock .6s cubic-bezier(.2,.8,.2,1) 1.3s both}

/* Book now: a soft light sweep every few seconds */
.cta a[data-book]{position:relative;overflow:hidden;isolation:isolate}
.cta a[data-book]::after{content:"";position:absolute;top:0;bottom:0;left:0;width:60%;z-index:-1;pointer-events:none;
  background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.38) 50%,transparent 100%);translate:-130% 0;
  animation:ft-sheen 5s ease-in-out 2s infinite}

/* ---- On scroll: reveal (motion.js adds .rv to targets and .in when they enter) ---- */
html.js .rv:not(.in){opacity:0}
/* above-the-fold blocks stay hidden for the instant before motion.js tags them (no flash of the final numbers) */
html.js:not(.motion-ready) :is(.stats .stat,.feats .feat){opacity:0}
html.js .rv.in{animation:ft-up .75s cubic-bezier(.2,.8,.2,1) var(--rd,0s) both}
html.js .rv-zoom.in{animation-name:ft-zoomin}
html.js .fleet.in .fleet-bg{animation:ft-slowzoom 6s cubic-bezier(.2,.6,.2,1) both}
/* the booking form fades in each time a size is picked */
html.js .book-step:not([hidden]){animation:ft-fade .5s ease both}

/* ---- Hover and press ---- */
.btn{transition:background .15s,border-color .15s,transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .2s}
.size-card{transition:border-color .15s,transform .18s cubic-bezier(.2,.8,.2,1)}
@media (hover:hover){
  .btn:hover{transform:translateY(-2px)}
  .btn-rose:hover{box-shadow:0 10px 28px -10px rgba(214,134,134,.75)}
  .size-card:hover{transform:translateY(-3px)}
  .gallery img{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
  .gallery img:hover{transform:scale(1.035)}
  .rev{transition:transform .25s cubic-bezier(.2,.8,.2,1),border-color .2s}
  .rev:hover{transform:translateY(-4px);border-color:#3a3f4a}
  .top-call{transition:transform .18s}
  .top-call:hover{transform:translateY(-1px)}
}
.btn:active,.btn:hover:active{transform:scale(.96)}
.size-card:active,.size-card:hover:active{transform:scale(.97)}
.dock a{transition:transform .12s}
.dock a:active{transform:scale(.96)}

@media (prefers-reduced-motion:reduce){
  html.js *,html.js *::after{animation:none!important}
  .cta a[data-book]::after{display:none}
  html.js .rv{opacity:1}
  .btn,.size-card,.rev,.gallery img{transition:none}
}
