.hero-art {
  position: relative;
  min-width: 0;
  width: min(630px, calc(100% + 28px));
}

.device-scene {
  display: block;
  width: 100%;
  height: auto;
}

.art-pause,
.art-pause-label,
.play-glyph {
  display: none;
}

@media (max-width: 720px) {
  .hero-art { width: min(100%, 440px); }
}

@media (prefers-reduced-motion: no-preference) {
  .art-call { animation: phone-tilt 6s ease-in-out infinite; }
  .art-search { animation: search-drift 6s ease-in-out infinite; }
  .art-mail { animation: mail-lift 6s ease-in-out infinite; }

  @keyframes phone-tilt {
    0%, 44%, 100% { transform: none; }
    13% { transform: translate(4px, -12px) rotate(-7deg); }
    28% { transform: translate(3px, -7px) rotate(3deg); }
  }

  @keyframes search-drift {
    0%, 19%, 71%, 100% { transform: none; }
    44% { transform: translate(15px, -22px); }
  }

  @keyframes mail-lift {
    0%, 47%, 100% { transform: none; }
    72% { transform: translate(4px, -17px); }
  }

  .art-pause {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
  }

  .art-pause-label {
    display: grid;
    place-items: center;
    position: absolute;
    right: 0;
    bottom: -12px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    touch-action: manipulation;
  }

  .art-pause-label svg {
    box-sizing: content-box;
    width: 13px;
    height: 13px;
    padding: 6px;
    border-radius: 50%;
    background: #193b67b3;
    color: #fff;
  }

  .art-pause-label:hover svg { background: #193b67; }
  .art-pause:focus-visible ~ .art-pause-label svg { outline: 3px solid white; outline-offset: 3px; }
  .art-pause:checked ~ .device-scene :is(.art-call, .art-search, .art-mail) { animation-play-state: paused; }
  .art-pause:checked ~ .art-pause-label .pause-glyph { display: none; }
  .art-pause:checked ~ .art-pause-label .play-glyph { display: block; }
}
