/* One supplied animated skyline for both partner entry points. */
.hero.hero-reference,
.footer-reference .footer-cta {
  background-image:
    linear-gradient(90deg, rgba(0, 15, 45, .97) 0%, rgba(0, 18, 54, .80) 38%, rgba(0, 20, 53, .16) 76%),
    url('assets/dubai-partner-motion.gif') !important;
  background-position: center top !important;
  background-size: cover !important;
}

/* The footer's decorative layer uses the same GIF, rather than covering it with an older still image. */
.footer-reference .footer-cta::before {
  background-image:
    linear-gradient(90deg, rgba(0, 15, 45, .97) 0%, rgba(0, 18, 54, .80) 38%, rgba(0, 20, 53, .16) 76%),
    url('assets/dubai-partner-motion.gif') !important;
  background-position: center top !important;
}

/* The supplied GIF contains a single still frame, so give the hero a restrained live-camera motion. */
.hero.hero-reference::before {
  display: block !important;
  content: '';
  position: absolute;
  inset: -3%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(0, 15, 45, .97) 0%, rgba(0, 18, 54, .80) 38%, rgba(0, 20, 53, .16) 76%),
    url('assets/dubai-partner-motion.gif') !important;
  background-position: center top !important;
  background-size: cover !important;
  animation: gintel-skyline-pan 14s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes gintel-skyline-pan {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.075) translate3d(-1.4%, -.8%, 0); }
}

@media (max-width: 800px) {
  .hero.hero-reference,
  .footer-reference .footer-cta,
  .footer-reference .footer-cta::before {
    background-position: 58% top !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero-reference::before { animation: gintel-skyline-pan 14s ease-in-out infinite alternate !important; }
}
