/* Motion foundation from emil-design-eng and animation-vocabulary. */
.button,
.round-play,
.track button,
.voice-sample button,
.mode-tabs button,
.arrow-link,
.site-header a,
.faq-list summary {
  transition:
    transform 140ms var(--ease),
    background-color 180ms var(--ease),
    color 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    opacity 180ms var(--ease);
}

.hero-art > img,
.music-visual img,
.voice-art img,
.dubbing-stage img {
  transition: transform 650ms cubic-bezier(.77, 0, .175, 1);
}

.button:active,
.round-play:active,
.track button:active,
.voice-sample button:active {
  transform: scale(.97);
}

.faq-list details[open] summary {
  color: var(--orange-dark);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 24px rgba(17, 17, 17, .12);
  }

  .site-header a:hover,
  .arrow-link:hover {
    color: var(--orange-dark);
  }

  .hero-art:hover > img,
  .music-visual:hover img,
  .voice-art:hover img,
  .dubbing-stage:hover img {
    transform: scale(1.015);
  }

  .round-play:hover,
  .track button:hover,
  .voice-sample button:hover {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 600px) {
  .hero-copy,
  .hero-art,
  .now-playing > div {
    min-width: 0;
  }

  .actions {
    flex-wrap: wrap;
  }

  .now-playing strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
