/* A seamless white stage, with one aircraft moving through the headline. */
html.lenis { scroll-behavior: auto !important; }
.travel-hero { --hero-top: 89px; position: relative; background: #fff; }
.travel-stage {
  position: relative;
  isolation: isolate;
  height: max(440px, calc(100svh - var(--hero-top)));
  overflow: clip;
  background: #fff;
}
.travel-stage > .prepaid-label {
  position: absolute; z-index: 5; top: clamp(22px, 4svh, 42px);
  left: 0; width: 100%; pointer-events: none;
  font-size: 12px; letter-spacing: .18em;
}
.travel-headline {
  position: absolute; z-index: 2; inset: 0; margin: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  font-size: clamp(40px, 6.4vw, 136px); font-weight: 600;
  line-height: 1.08; letter-spacing: -.065em; text-align: center;
}
.travel-headline span {
  display: block; white-space: nowrap;
  /* Paint the white edge beneath the fill to preserve the letter weight.
     It blends into the stage and separates the text from the passing aircraft. */
  -webkit-text-stroke: clamp(3px, .055em, 7px) #fff;
  paint-order: stroke fill;
}
.travel-headline span:first-child { color: var(--navy); }
.travel-headline span:last-child { color: var(--blue); }
.travel-scene { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.travel-flight {
  position: absolute; z-index: 4; left: 60%; top: 14%; width: min(52.2vw, 576px);
  aspect-ratio: 3840 / 1648; transform: translate(-50%, -50%);
}
.travel-aircraft { display: block; width: 100%; height: 100%; object-fit: contain; transform-origin: 52.5% 81%; }
.travel-motion-active .travel-aircraft { will-change: transform; }
.travel-motion-active .travel-flight { left: 0; top: 0; width: min(82.8vw, 99svh, 1188px); will-change: transform; }
.travel-landscape { position: absolute; inset: 0; overflow: clip; -webkit-mask-image: linear-gradient(#000 82%, transparent 98%); mask-image: linear-gradient(#000 82%, transparent 98%); }
.travel-layer { position: absolute; display: block; max-width: none; object-fit: contain; object-position: center bottom; }
.travel-skyline { width: 130%; height: 60%; left: -15%; bottom: 9%; opacity: .38; }
.travel-city { width: 145%; height: 58%; left: -24%; bottom: 4%; opacity: .5; }
.travel-trees { width: 150%; height: 24%; left: -25%; bottom: 5%; opacity: .65; background: url('takeoff/trees.webp') left bottom / auto 100% repeat-x; }
.travel-motion-active .travel-layer { opacity: 0; }
.travel-runway { display: none; position: absolute; z-index: 2; left: 0; right: 0; top: 64%; height: 24px; background: linear-gradient(#e5e6e6, #f6f6f6); border-top: 1px solid #dadcdd; overflow: hidden; }
.travel-runway span { position: absolute; top: 8px; left: -50%; width: 200%; height: 3px; background: repeating-linear-gradient(90deg, transparent 0 65px, #fff 65px 110px); }
.travel-motion-active .travel-runway { display: block; }
.travel-headline { justify-content: flex-start; padding-top: clamp(90px, 23svh, 250px); }
.travel-motion-active .travel-headline span {
  --reveal-edge: 100%;
  /* Feather just the moving edge; revealed letters retain their sharpness. */
  -webkit-mask-image: linear-gradient(to right, transparent var(--reveal-edge), #0003 calc(var(--reveal-edge) + 4%), #000b calc(var(--reveal-edge) + 12%), #000 calc(var(--reveal-edge) + 16%));
  mask-image: linear-gradient(to right, transparent var(--reveal-edge), #0003 calc(var(--reveal-edge) + 4%), #000b calc(var(--reveal-edge) + 12%), #000 calc(var(--reveal-edge) + 16%));
}
.travel-stage > .prepaid-hero-footer {
  position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: calc(100% - 96px); max-width: 1240px;
}
.travel-scroll-cue { display: none; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; }
.travel-scroll-cue > span { color: var(--blue); font-size: 20px; }
.travel-motion-active .travel-scroll-cue { display: inline-flex; }
.travel-page .travel-merchant-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.travel-merchant-grid > li { display: block; }
.travel-merchant-grid .merchant-place-icon { margin-bottom: 22px; }
.travel-merchant-grid h3 { font-size: 22px; }
@media (min-width: 651px) and (max-width: 900px) {
  .travel-hero { --hero-top: 77px; }
  .travel-stage > .prepaid-hero-footer { width: calc(100% - 64px); }
}
@media (max-aspect-ratio: 1/1) {
  .travel-motion-active .travel-flight { width: 86.4vw; }
  .travel-headline { font-size: clamp(34px, 9vw, 86px); }
  .travel-skyline { width: 190%; left: -45%; height: 48%; }
  .travel-city { width: 210%; left: -55%; height: 46%; }
  .travel-trees { width: 230%; left: -65%; height: 24%; }
}
@media (max-width: 650px) {
  .travel-hero { --hero-top: 73px; }
  .travel-stage > .prepaid-label { top: 25px; font-size: 10px; }
  .travel-stage > .prepaid-hero-footer { width: calc(100% - 40px); bottom: 14px; gap: 0; }
  .travel-stage .prepaid-hero-footer p { font-size: 10px; }
  .travel-scroll-cue { position: absolute; bottom: 70px; font-size: 10px; }
  .travel-page .travel-merchant-grid { grid-template-columns: 1fr; }
  .travel-merchant-grid > li { display: flex; }
  .travel-merchant-grid .merchant-place-icon { margin-bottom: 0; }
}
@media (max-height: 540px) {
  .travel-stage { height: calc(100svh - var(--hero-top)); min-height: 220px; }
  .travel-headline { font-size: min(6.4vw, 14svh); }
  .travel-headline { padding-top: 14svh; }
  .travel-stage > .prepaid-label { top: 12px; font-size: 10px; }
  .travel-stage > .prepaid-hero-footer { bottom: 5px; }
  .travel-hero:not(.travel-motion-active) .travel-flight { width: 23.4vw; left: 80%; top: 23%; }
  .travel-scroll-cue { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .travel-headline span { -webkit-mask-image: none !important; mask-image: none !important; }
  .travel-runway, .travel-scroll-cue { display: none !important; }
}
@media print {
  .travel-stage { height: auto; padding: 24px; }
  .travel-headline { position: static; font-size: 44px; }
  .travel-headline span { -webkit-mask-image: none !important; mask-image: none !important; }
  .travel-scene, .travel-stage > .prepaid-label, .travel-stage > .prepaid-hero-footer { display: none; }
}
