/* Motion Prompt #074 · Fade-in on scroll
   https://showheyohtaki.github.io/motion-prompt/api/v1/en/e/074.txt */
@media screen and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  [data-hero-intro="flight"] .site-header,
  [data-hero-intro="flight"] .hero :is(.copy,.explore) {visibility:hidden}
  [data-hero-intro="arrival"] .site-header {
    animation:hero-header-arrives .42s ease-out backwards;
  }
  @keyframes hero-header-arrives {from {opacity:0} to {opacity:1}}
  [data-hero-intro="arrival"] .hero .copy > :is(.kicker,p),
  [data-hero-intro="arrival"] .hero .explore {
    animation:hero-copy-arrives .42s cubic-bezier(.2,.7,.3,1) backwards;
  }
  [data-hero-intro="arrival"] .hero .particle-title {
    --row-fade:linear-gradient(to right,#000 44%,transparent 55%);
    mask-image:var(--row-fade),var(--row-fade);
    mask-size:230% 50%;
    mask-repeat:no-repeat;
    animation:hero-title-rows 1.5s ease-in-out both;
  }
  @keyframes hero-title-rows {
    from {mask-position:100% top,100% bottom}
    50% {mask-position:0% top,100% bottom}
    to {mask-position:0% top,0% bottom}
  }
  [data-hero-intro="arrival"] .hero .copy p {animation-delay:1.1s}
  [data-hero-intro="arrival"] .hero .booking-trigger {
    animation:hero-copy-arrives .38s 1.3s cubic-bezier(.2,.7,.3,1) backwards;
  }
  @keyframes hero-copy-arrives {from {opacity:0;translate:0 7px} to {opacity:1;translate:0}}
}
@media screen and (prefers-reduced-motion:no-preference) {
  [data-reveal-state="waiting"]:not(:focus-within) {opacity:0;pointer-events:none}
  [data-reveal-state="entering"]:not(:focus-within) {
    animation:section-content-arrives .7s cubic-bezier(.333333,1,.666667,1) both;
  }
  @keyframes section-content-arrives {
    from {opacity:0;translate:0 28px}
    to {opacity:1;translate:0 0}
  }
}
