body[data-page="Home"] .masthead {
  background: #080a10;
  backdrop-filter: none;
}

.voyage {
  --voyage-hold: 630svh;
  position: relative;
  background: #090e19;
}

.voyage-stage {
  position: relative;
  isolation: isolate;
}

.voyage-ready .voyage-stage {
  position: sticky;
  top: var(--nav);
  height: calc(100svh - var(--nav));
  overflow: hidden;
}

.voyage-ready {
  height: calc(var(--voyage-hold) + (var(--voyage-hold) - 100svh + var(--nav)) * var(--voyage-scroll-extra, 0));
  overflow-anchor: none;
}

.voyage-panel { position: relative; }

.voyage-ready .voyage-panel {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
  opacity: var(--scene-opacity, 0);
  visibility: var(--scene-visibility, hidden);
}

.voyage-panel:not(.hero) {
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 600px;
  background: #0c1628;
}

.voyage-ready .voyage-panel:not(.hero) { min-height: 0; }
.voyage-panel[aria-hidden="true"] { pointer-events: none; }
.voyage-ready .hero-copy,
.voyage-ready .hero-footer,
.voyage-ready .hero-route { opacity: var(--hero-details, 1); }
.voyage-ready .hero-copy { transform: translateY(var(--hero-rise, 0)); }

.voyage-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--lane, 64%) center;
  transform-origin: var(--lane, 64%) center;
  transform: scale(var(--shot-scale, 1.06)) translateY(var(--shot-shift, 0));
}

.voyage-panel:not(.hero)::before,
.voyage-panel:not(.hero)::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.voyage-panel:not(.hero)::before {
  z-index: -2;
  background: linear-gradient(90deg, #0a111f 0%, #0c172c1a 66%), linear-gradient(0deg, #0a111fcd, transparent 42%);
}

.voyage-panel:not(.hero)::after {
  z-index: -1;
  background: linear-gradient(90deg, #080f1cbd 0%, #080f1c38 43%, transparent 63%), linear-gradient(0deg, #080f1c7d, transparent 17%);
}

.voyage-port .voyage-image { filter: brightness(.73) saturate(.9); }
.voyage-road { --lane: 64%; }
.voyage-delivery { --lane: 63%; container-type: size; }
.voyage-dock-camera,
.voyage-dock-truck,
.voyage-dock-fade { position: absolute; inset: 0; pointer-events: none; }
.voyage-dock-camera,
.voyage-dock-truck { transform-origin: var(--dock-focus-x, 63%) var(--dock-focus-y, 50%); }
.voyage-dock-camera {
  z-index: -3;
  transform: translate(var(--dock-pan-x, 0), var(--dock-pan-y, 0)) scale(var(--dock-scale, 1.06));
}
.voyage-dock-world {
  position: absolute;
  width: max(100cqw, 177.683316cqh);
  aspect-ratio: 1672 / 941;
  left: 63%;
  top: 50%;
  transform: translate(-63%, -50%);
}
.voyage-dock-world img,
.voyage-dock-door { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.voyage-dock-door { visibility: var(--dock-door, hidden); }
.voyage-dock-slat { transform: translateY(var(--dock-lift, 0)); }
.voyage-dock-interior {
  transform-box: fill-box;
  transform-origin: 50% 44%;
  transform: scale(var(--dock-interior-zoom, 1));
}
.voyage-dock-truck {
  z-index: -1;
  transform: translate(var(--dock-pan-x, 0), var(--dock-pan-y, 0)) scale(var(--dock-truck-zoom, 1));
  opacity: var(--dock-truck-opacity, 1);
}
.voyage-dock-fade {
  z-index: 2;
  background: #0b1019;
  opacity: var(--dock-fade, 0);
}
.voyage-delivery .voyage-copy:not(:focus-within) {
  opacity: var(--dock-copy-opacity, 1);
  visibility: var(--dock-copy, visible);
}
.voyage-ready + .intro {
  --dock-overlap: min(19svh, 156px);
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--dock-overlap));
  border-top-color: transparent;
  background: linear-gradient(180deg, transparent, #0b1019 var(--dock-overlap));
}
.voyage-copy { padding-block: 55px 97px; }
.voyage-port .voyage-copy,
.voyage-road .voyage-copy { opacity: var(--voyage-copy-opacity, 1); }
.voyage-copy h2 {
  margin: 13px 0 18px;
  max-width: 11ch;
  font-size: clamp(2.65rem, 5.9vw, 6.2rem);
  line-height: .94;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.voyage-copy p:not(.eyebrow) { max-width: 30ch; color: #d5ddeb; font-size: clamp(.98rem, 1.45vw, 1.19rem); }
.voyage-copy .actions { margin-top: 19px; }

.voyage-crane {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 7%;
  width: min(70%, 1250px);
  opacity: var(--actors, 1);
  transform: translateY(var(--actors-shift, 0)) scale(var(--actors-scale, 1));
  transform-origin: 67% 75%;
  pointer-events: none;
}

.voyage-crane svg, .voyage-truck svg { display: block; width: 100%; height: auto; }
.voyage-truck {
  position: absolute;
  z-index: -1;
  top: var(--truck-top, 52%);
  left: var(--truck-left, var(--lane));
  width: clamp(26px, 4.5vw, 84px);
  transform: translate(-50%, -50%) scale(var(--truck-scale, 1));
  filter: drop-shadow(5px 7px 5px #000b);
  pointer-events: none;
}
.voyage-road .voyage-truck {
  top: calc(50% + (var(--truck-top, 52%) - 50%) * var(--road-camera-zoom, 1));
  left: calc(var(--lane) + (var(--truck-left, var(--lane)) - var(--lane)) * var(--road-camera-zoom, 1));
  transform: translate(-50%, -50%) scale(calc(var(--truck-scale, 1) * var(--road-camera-zoom, 1)));
}

.voyage-nav {
  position: absolute;
  z-index: 2;
  display: none;
  left: 0;
  right: 0;
  bottom: 14px;
}

.voyage-ready .voyage-nav { display: block; }
.voyage-ready[data-step="globe"] .voyage-nav { visibility: hidden; }
.voyage-stage .voyage-nav:not(:focus-within),
.voyage-stage .voyage-caption { opacity: var(--dock-copy-opacity, 1); }
.voyage-ready[data-step="delivery"] .voyage-nav:not(:focus-within),
.voyage-ready[data-step="delivery"] .voyage-caption { visibility: var(--dock-copy, visible); }
.voyage-meter { height: 1px; background: #97addb52; }
.voyage-meter::after {
  display: block;
  content: "";
  width: 100%;
  height: 1px;
  transform: scaleX(var(--voyage-progress, 0));
  transform-origin: left;
  background: var(--orange);
}

.voyage-steps { display: flex; align-items: center; gap: clamp(12px, 3vw, 42px); padding-top: 6px; }
.voyage-steps a { display: inline-flex; align-items: center; gap: .43em; min-height: 38px; text-decoration: none; text-transform: uppercase; font: .68rem var(--mono); color: #cdd9ed; }
.voyage-steps a[aria-current="step"], .voyage-steps a:hover { color: #ffc18b; }
.voyage-skip { margin-left: auto; }
.voyage-caption { z-index: 2; bottom: 71px; }
.voyage[data-step="globe"] .voyage-caption { display: none; }

@media (max-width: 760px) {
  .voyage { --voyage-hold: 525svh; }
  .voyage-panel:not(.hero) { align-items: end; min-height: 660px; }
  .voyage-panel:not(.hero)::before { background: linear-gradient(0deg, #07101e 0%, #07101ea3 33%, #101e361a 76%); }
  .voyage-panel:not(.hero)::after { background: linear-gradient(0deg, #080d18c7, transparent 37%); }
  .voyage-copy { padding-block: 60px 108px; }
  .voyage-copy h2 { margin-block: 9px 12px; font-size: clamp(2.3rem, 10vw, 4.2rem); }
  .voyage-copy h2 br { display: none; }
  .voyage-crane { right: -5%; top: 15%; bottom: auto; width: 112%; }
  .voyage-truck { width: clamp(23px, 7vw, 42px); }
  .voyage-steps { gap: clamp(9px, 4vw, 27px); }
  .voyage-steps a { font-size: .62rem; }
  .voyage-steps .voyage-skip { position: absolute; bottom: 55px; right: 0; min-height: 28px; }
  .voyage-caption { right: auto; left: 18px; bottom: 60px; font-size: .57rem; }
}

@media (max-height: 660px) and (max-width: 760px) {
  .voyage-ready .hero-inner { padding-top: 90px; padding-bottom: 18px; }
  .voyage-ready .hero h1 { font-size: clamp(2.4rem, 10vw, 4.8rem); }
  .voyage-ready .hero .actions { margin-top: 13px; }
}

@media (max-width: 360px) {
  .voyage-steps { justify-content: space-between; gap: 5px; }
  .voyage-steps a { font-size: .56rem; }
}
