@keyframes kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes gold-shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
@keyframes float-y {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}
@keyframes plane {
  0% { transform: translate3d(-8%, 18px, 0) rotate(-8deg); }
  50% { transform: translate3d(12%, -6px, 0) rotate(4deg); }
  100% { transform: translate3d(28%, 10px, 0) rotate(-4deg); }
}
@keyframes dash {
  to { stroke-dashoffset: -240; }
}
@keyframes pin-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ocean {
  from { background-position: 0 0; }
  to { background-position: 80px 40px; }
}

.hero-media {
  animation: kenburns 28s ease-in-out infinite alternate;
  transform-origin: center center;
}
.hero-copy > * { animation: fade-up 0.8s var(--ease) both; }
.hero-copy .eyebrow { animation-delay: 0.05s; }
.hero-copy h1 { animation-delay: 0.16s; }
.hero-copy .hero-sub { animation-delay: 0.3s; }
.search-card { animation: fade-up 0.9s var(--ease) 0.4s both; }
.plane {
  animation: plane 14s ease-in-out infinite alternate;
}
.route-line { stroke-dasharray: 8 10; animation: dash 8s linear infinite; }
.pin-pulse { transform-origin: center; animation: pin-pulse 2.4s ease-out infinite; }
.float-slow { animation: float-y 5s ease-in-out infinite alternate; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-anim="left"] { transform: translateX(-24px); }
.reveal[data-anim="right"] { transform: translateX(24px); }
.reveal[data-anim="scale"] { transform: scale(0.96); }
.reveal.is-in[data-anim="left"],
.reveal.is-in[data-anim="right"],
.reveal.is-in[data-anim="scale"] { transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

.card-lift { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.card-lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(16, 42, 67, 0.12); }
.zoom-media { overflow: hidden; }
.zoom-media img { transition: transform 0.7s var(--ease); width: 100%; height: 100%; object-fit: cover; }
.zoom-media:hover img { transform: scale(1.07); }

.nav-link { position: relative; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
