@media (prefers-reduced-motion: no-preference) {
  .atelier-cover {
    --watch-travel: clamp(14px, 3vw, 42px);
    --watch-lift: clamp(4px, .65vw, 9px);
  }

  .atelier-cover .hero-slide.is-active .hero-picture img {
    transform-origin: 50% 52%;
    animation: dt-hero-arrive 1000ms cubic-bezier(.18, .69, .25, 1) both;
  }

  .atelier-cover .hero-slide.is-active .hero-copy > *,
  .atelier-cover .hero-slide.is-active .hero-specs {
    animation: dt-hero-copy-in 500ms cubic-bezier(.2, .7, .25, 1) var(--display-delay, 0ms) backwards;
  }

  .atelier-cover .hero-copy > :is(h1, h2) { --display-delay: 70ms; }
  .atelier-cover .hero-copy > .cover-feature { --display-delay: 140ms; }
  .atelier-cover .hero-copy > .hero-link { --display-delay: 200ms; }
  .atelier-cover .hero-specs { --display-delay: 230ms; }

  .atelier-cover[data-display-ready] .hero-slide.is-active .hero-picture {
    animation: dt-hero-float 3900ms ease-in-out 650ms infinite alternate;
    animation-play-state: paused;
  }

  .atelier-cover[data-display-running] .hero-slide.is-active .hero-picture {
    animation-play-state: running;
  }

  @keyframes dt-hero-arrive {
    from { opacity: .5; transform: translateX(var(--watch-travel)) scale(.94) rotate(2deg); }
    to { opacity: 1; transform: none; }
  }

  @keyframes dt-hero-copy-in {
    from { opacity: .25; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }

  @keyframes dt-hero-float {
    from { transform: none; }
    to { transform: translateY(calc(-1 * var(--watch-lift))) rotate(-.85deg); }
  }
}

#company-history.history-timeline .dt-history-input:checked + label + .history-timeline__panel {
  animation: none;
}

@media (prefers-reduced-motion: no-preference) {
  #company-history.history-timeline .dt-history-input:checked + label + .history-timeline__panel > :is(figcaption, img) {
    animation: dt-home-history-reveal 280ms ease-out;
  }

  #company-history[data-history-entrance-pending] .dt-history-input:checked + label + .history-timeline__panel > :is(figcaption, img) {
    animation: none;
  }
}

@keyframes dt-home-history-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
