:root { scroll-behavior: auto; }

.site-header {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.trip-image .badge {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
dialog::backdrop {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* A dedicated strip above the hero copy keeps the link clear of other controls. */
.hero:has(.tour-flight) .hero-content { padding-top: max(92px, 6.8vw); }
.tour-flight {
  position: absolute;
  inset: 0 0 auto;
  height: 76px;
  z-index: 3;
  pointer-events: none;
}
.tour-track { position: absolute; inset: 0 0 auto; height: 67px; overflow: hidden; }
.tour-carrier {
  position: absolute;
  inset: 10px 0 auto;
  animation: tour-crossing 17s linear infinite;
}
.tour-plane {
  display: grid;
  place-items: center;
  margin-left: 12px;
  width: 48px;
  height: 48px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #0075b5;
  color: #fff;
  line-height: 1;
  font: 29px/1 Arial, sans-serif;
  pointer-events: auto;
}
.tour-plane span { display: block; transform: rotate(45deg); }
.tour-plane:hover, .tour-plane:focus-visible { background: #005b90; }
.tour-flight a:focus-visible, .tour-flight button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tour-flight:has(.tour-plane:hover) .tour-carrier,
.tour-flight[data-paused] .tour-carrier { animation-play-state: paused; }
.tour-flight:has(.tour-plane:focus-visible) .tour-carrier { animation: none; transform: none; }
.tour-pause {
  position: absolute;
  right: 12px;
  top: 60px;
  border: 1px solid #ffffffaa;
  background: #153b54;
  color: white;
  border-radius: 999px;
  padding: 4px 9px;
  font: 11px/1.2 Arial, sans-serif;
  pointer-events: auto;
  cursor: pointer;
}
@keyframes tour-crossing {
  0% { transform: translateX(-68px); }
  100% { transform: translateX(100%); }
}
@media (max-width: 600px) {
  .tour-plane { width: 39px; height: 39px; font-size: 24px; }
  .tour-pause { top: 55px; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-carrier { animation: none; transform: none; }
  .tour-pause { display: none; }
}
