/* By Night Marrakech — menu wave V6: one fluid piano run.
   The four existing icons light up once, one after the other.
   No changes to the logo, links, hero, layout or accessibility.
   V5 JS still owns the start after text and cleanup at animationend. */

@keyframes bnHeroPianoIcon {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 1px 2px rgba(0,0,0,.32));
  }
  22% {
    transform: scale(1.055);
    filter: brightness(1.16) drop-shadow(0 0 5px rgba(255,218,114,.37));
  }
  46% {
    transform: scale(1.12);
    filter: brightness(1.5)
      drop-shadow(0 0 9px rgba(255,221,112,.85))
      drop-shadow(0 0 13px rgba(245,185,65,.53));
  }
  73% {
    transform: scale(1.055);
    filter: brightness(1.18) drop-shadow(0 0 6px rgba(255,213,111,.39));
  }
}
html body.marrakech-phase1[data-city-theme]
.marrakech-primary-nav.is-bn-hero-wave [data-primary-actions] > .button .home-action-icon img {
  animation-name: bnHeroPianoIcon !important;
  animation-duration: .82s !important;
  animation-timing-function: cubic-bezier(.4,0,.2,1) !important;
  animation-iteration-count: 1 !important;
  animation-fill-mode: both !important;
}
html body.marrakech-phase1[data-city-theme]
.marrakech-primary-nav.is-bn-hero-wave [data-primary-actions] > .button:nth-child(1) .home-action-icon img {
  animation-delay: 0s !important;
}
html body.marrakech-phase1[data-city-theme]
.marrakech-primary-nav.is-bn-hero-wave [data-primary-actions] > .button:nth-child(2) .home-action-icon img {
  animation-delay: .38s !important;
}
html body.marrakech-phase1[data-city-theme]
.marrakech-primary-nav.is-bn-hero-wave [data-primary-actions] > .button:nth-child(3) .home-action-icon img {
  animation-delay: .76s !important;
}
html body.marrakech-phase1[data-city-theme]
.marrakech-primary-nav.is-bn-hero-wave [data-primary-actions] > .button:nth-child(4) .home-action-icon img {
  animation-delay: 1.14s !important;
}
@media (prefers-reduced-motion: reduce) {
  html body.marrakech-phase1[data-city-theme]
  .marrakech-primary-nav.is-bn-hero-wave [data-primary-actions] > .button .home-action-icon img {
    animation: none !important;
  }
}
