.home-drive {
  --cayman-width: clamp(6rem, 11vw, 10rem);

  position: relative;
  overflow: hidden;
  height: calc(var(--cayman-width) / 2 + 1rem);
  border-block: 1px solid var(--home-line, #383a3d);
  background: #131416;
  pointer-events: none;
}

.home-drive::before {
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: repeating-linear-gradient(90deg, #ffffff29 0 14px, transparent 14px 34px);
  content: '';
}

.home-drive__car {
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--cayman-width);
  height: auto;
  transform: translate3d(calc(var(--cayman-progress, .5) * (100vw + 100%) - 100%), -50%, 0);
  filter: drop-shadow(0 3px 4px #0009);
}

@media (prefers-reduced-motion: reduce) {
  .home-drive__car {
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
