@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  main details[open] > p { animation: ease-in-copy .27s ease-out; }
  .service-panel:not([hidden]) .service-image img { animation: freight-enter .86s cubic-bezier(.16,.82,.22,1); }
  #air { --arrival: 11% 8%; --bank: -4deg; }
  #road { --arrival: 12% 0; }
  @keyframes freight-enter { from { opacity: .55; translate: var(--arrival,7% 3%); rotate: var(--bank,0deg); } }
  @keyframes ease-in-copy { from { opacity: .4; translate: 0 .38em; } }
  .shipping-desk .route-arrow { transition: translate .35s ease-out, color .3s; }
  .shipping-desk:has(.route-fields input:focus) .route-arrow { translate: .22em 0; color: var(--sun); }
  .pill,.header-quote { transition: translate .18s ease-out, background-color .2s, border-color .2s; }
  .pill:active,.header-quote:active { translate: 0 2px; }
  @supports (animation-timeline: view()) {
    .about-hero { view-timeline-name: --about-hero; }
    .about-earth {
      animation: turn-globe linear both; animation-timeline: --about-hero; animation-range: exit;
    }
    @keyframes turn-globe { to { rotate: 7deg; translate: 0 4%; } }
    .join-photo { view-timeline-name: --partner-truck; }
    .join-photo img {
      animation: arrive-at-port linear both; animation-timeline: --partner-truck; animation-range: entry;
    }
    @keyframes arrive-at-port { from { translate: 6% 0; } }
  }
}
.replay-art {
  position: absolute; inset: 0; z-index: 1; width: 100%; border: 0; background: transparent; color: white;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.replay-art span {
  position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / .46);
  pointer-events: none; background: var(--navy); font: 23px/1 system-ui,sans-serif;
}
.replay-art:focus-visible { outline-offset: -5px; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .replay-art span { transition: rotate .32s ease, background-color .25s; }
  .replay-art:hover span { rotate: -18deg; background: var(--deep); }
  .main-links a::before {
    content: ''; height: 1px; position: absolute; inset: auto 0 4px; background: var(--teal);
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease-out;
  }
  .main-links a:hover { text-decoration: none; }
  .main-links a:hover::before { transform: scaleX(1); }
}

[data-type-wait] { opacity: 0; }
.word-mask { display: inline-block; overflow: clip; vertical-align: bottom; padding: .13em .055em; margin: -.13em -.055em; }
.word-ink { display: inline-block; transform-origin: 0 100%; }
