.welcome-driveby { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .welcome-driveby {
    --welcome-van-duration: 4800ms;
    --welcome-van-delay: 650ms;
    position: fixed;
    inset-inline: 0;
    bottom: env(safe-area-inset-bottom, 0px);
    z-index: 80;
    display: block;
    height: clamp(80px, 11vw, 126px);
    overflow: hidden;
    pointer-events: none;
  }
  .welcome-driveby > svg {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: clamp(156px, 22vw, 246px);
    height: auto;
    transform: translateX(calc(-100% - 8px));
    animation: welcome-van-drive var(--welcome-van-duration) linear var(--welcome-van-delay) both;
  }
  .welcome-driveby .work-van-wheel {
    transform-box: fill-box;
    transform-origin: center;
    animation: welcome-van-wheels var(--welcome-van-duration) linear var(--welcome-van-delay) both;
  }
  @media (max-width: 720px) {
    .welcome-driveby {
      --welcome-van-duration: 3800ms;
      bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }
  }
}

@keyframes welcome-van-drive {
  from { transform: translateX(calc(-100% - 8px)); }
  to { transform: translateX(calc(100vw + 8px)); }
}
@keyframes welcome-van-wheels { to { transform: rotate(2880deg); } }

@media print { .welcome-driveby { display: none; } }
