/* Original page entrances, with a coordinated sequence for the rebuilt hero. */
@media (prefers-reduced-motion: no-preference) {
  [data-motion-state="pending"] { opacity: 0; }
  [data-motion-state="playing"] {
    animation-duration: 1200ms;
    animation-delay: 1ms;
    animation-timing-function: cubic-bezier(.645,.045,.355,1);
    animation-fill-mode: backwards;
    animation-iteration-count: 1;
  }
  [data-motion="reveal"][data-motion-state="playing"] { animation-name: pathway-reveal; }
  [data-motion="fade"][data-motion-state="playing"] {
    animation-name: pathway-fade;
    animation-timing-function: cubic-bezier(.445,.05,.55,.95);
  }
  [data-motion="turn"][data-motion-state="playing"] {
    animation-name: pathway-fade, pathway-turn;
    animation-duration: 720ms, 1200ms;
    animation-timing-function: cubic-bezier(.47,0,.745,.715), cubic-bezier(.175,.885,.32,1.275);
  }
  [data-motion="grow"][data-motion-state="playing"] {
    animation-name: pathway-fade, pathway-grow;
    animation-duration: 960ms, 1200ms;
  }
  [data-motion="slide"][data-motion-state="playing"] { animation-name: pathway-fade, pathway-slide; }
  [data-motion="glide"][data-motion-state="playing"] { animation-name: pathway-glide; }
  [data-motion="edge-ribbon"][data-motion-state="playing"] {
    animation-name: pathway-edge-ribbon;
    animation-duration: 1000ms;
    animation-timing-function: cubic-bezier(.175,.885,.32,1.275);
  }

  .hero [data-motion-state="playing"] {
    animation-duration: 900ms;
    animation-delay: var(--hero-delay, 0ms);
    animation-timing-function: cubic-bezier(.22,1,.36,1);
  }
  .hero [data-motion="hero-rise"][data-motion-state="playing"] { animation-name: pathway-hero-rise; }
  .hero [data-motion="hero-photo"][data-motion-state="playing"] {
    animation-name: pathway-hero-photo;
    animation-duration: 1100ms;
  }
  .hero [data-motion="hero-ribbon"][data-motion-state="playing"] {
    animation-name: pathway-hero-ribbon;
    animation-duration: 1200ms;
  }
  #hero-heading { --hero-delay: 100ms; }
  .hero-intro { --hero-delay: 220ms; }
  .hero-booking { --hero-delay: 340ms; }
  .hero-pink { transform-origin: center; }
  .hero-lime { --hero-delay: 300ms; --ribbon-angle: 16deg; transform-origin: right center; }
}
@keyframes pathway-edge-ribbon {
  from { opacity: 0; transform: translate(var(--ribbon-enter), 24px) rotate(var(--edge-enter-angle)); }
  to { opacity: 1; transform: translate(0, 0) rotate(0deg); }
}
@keyframes pathway-hero-rise {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes pathway-hero-photo {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pathway-hero-ribbon {
  from { opacity: 0; transform: rotate(var(--ribbon-angle)); }
  to { opacity: 1; transform: rotate(0deg); }
}
@keyframes pathway-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pathway-reveal {
  from { clip-path: inset(100% 0 0); }
  to { clip-path: inset(0); }
}
@keyframes pathway-turn {
  from { transform: translate(-50%,50%) rotate(-50deg) translate(50%,-50%); }
  to { transform: translate(-50%,50%) rotate(0deg) translate(50%,-50%); }
}
@keyframes pathway-grow {
  from { transform: translateY(20%) scale(.8); }
  to { transform: translateY(0) scale(1); }
}
@keyframes pathway-slide {
  from { transform: translateY(100%); clip-path: inset(100% 0 0); }
  to { transform: translateY(0); clip-path: inset(0); }
}
@keyframes pathway-glide {
  from { transform: translateX(calc(-100% - var(--motion-left, 0px))); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce), print {
  [data-motion] { opacity: 1 !important; animation: none !important; }
}
