.hero .fleet-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  direction: ltr;
  contain: strict;
  z-index: 0;
}
.fleet-scene:not(.fleet-ready) {
  background: url('./fleet/work-van.webp') 14% 17% / 7% auto no-repeat,
    url('./fleet/gold.webp') 70% 15% / 6% auto no-repeat,
    url('./fleet/aqua.webp') 88% 55% / 6% auto no-repeat,
    url('./fleet/orange.webp') 18% 81% / 6% auto no-repeat,
    url('./fleet/navy.webp') 76% 87% / 7% auto no-repeat;
}
.fleet-scene img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  max-width: none;
  height: auto;
  user-select: none;
  transform-origin: center;
  will-change: transform;
}
.fleet-scene [hidden] { display: none; }

.hero-scene > .motion-control {
  position: absolute;
  z-index: 4;
  left: max(clamp(12px, 3vw, 40px), env(safe-area-inset-left));
  bottom: 14px;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  background: rgb(255 255 255 / 90%);
  color: var(--ink);
  opacity: 1;
  transform: none;
  box-shadow: 0 2px 12px #1b273711;
  cursor: pointer;
  line-height: 1;
}
html:not([data-motion-paused]) .hero-scene > .motion-control { visibility: hidden; }
[data-fleet-toggle]:empty::before {
  content: '';
  box-sizing: border-box;
  width: 10px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
[data-fleet-toggle]:empty[data-paused="true"]::before {
  width: 11px;
  height: 12px;
  border: 0;
  background: currentColor;
  clip-path: polygon(12% 0, 100% 50%, 12% 100%);
}
@media (hover: hover) {
  .hero-scene > .motion-control:hover { background: var(--yellow); }
}

.fleet-callout {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: max-content;
  direction: rtl;
  pointer-events: none;
  white-space: nowrap;
  font: 650 .84rem/1.15 Assistant, Arial, sans-serif;
  color: #fff;
  background: #1c2a49;
  border-radius: .55rem;
  padding: .32rem .61rem;
  box-shadow: 0 2px 7px #18244922;
  opacity: 0;
  will-change: transform, opacity;
}
.fleet-callout::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: calc(50% - 4px);
  width: 8px;
  height: 6px;
  background: inherit;
  clip-path: polygon(0 0,100% 0,50% 100%);
}
.fleet-callout[data-side=below]::after { top: -4px; bottom: auto; transform: rotate(180deg); }
@media (max-width: 699px) {
  .fleet-callout { font-size: .79rem; padding: .28rem .49rem; }
}
