.home-page .story-media-window {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.home-page .story-media-window img { box-shadow: none; }
@media screen and (prefers-reduced-motion: no-preference) {
  .story-grid { --story-ease: cubic-bezier(.18,.72,.22,1); }
  .story-grid [data-story-enter] { animation: story-copy-in .72s var(--story-ease) backwards; }
  .story-copy .eyebrow[data-story-enter]::before {
    transform-origin: right center;
    animation: story-rule-in .85s var(--story-ease) backwards;
  }
  .story-copy h2[data-story-enter] { animation: story-title-in .95s var(--story-ease) .075s backwards; }
  .story-copy p[data-story-enter] { animation-delay: .13s; }
  .story-points li[data-story-enter] { animation-delay: .12s; }
  .story-points li:nth-child(2)[data-story-enter] { animation-delay: .19s; }
  .story-points li:nth-child(3)[data-story-enter] { animation-delay: .26s; }
  .story-grid .factory-fig[data-story-enter] { animation: none; }
  .factory-fig[data-story-enter] .story-media-window {
    animation: story-frame-in 1.15s var(--story-ease) backwards;
  }
  .factory-fig[data-story-enter] figcaption {
    animation: story-copy-in .65s var(--story-ease) .3s backwards;
  }
  @supports (animation-timeline: view()) and (animation-range: entry 0% exit 100%) {
    .story-media-window { view-timeline-name: --sahar-photo; view-timeline-axis: block; }
    .story-media-window img {
      animation: story-camera linear both;
      animation-timeline: --sahar-photo;
      animation-range: entry 0% exit 100%;
    }
  }
  .home-page #hero-carousel[data-sahar-float] .hero-slide img {
    transform-origin: 50% 73%;
    animation: sahar-product-float 5.2s ease-in-out infinite alternate;
    animation-play-state: paused;
  }
  .home-page #hero-carousel[data-sahar-visible] .hero-slide.is-active img {
    animation-play-state: running;
  }
}

@keyframes story-title-in {
  from { opacity: .35; clip-path: inset(0 0 86% 0); translate: 0 12px; }
  to { opacity: 1; clip-path: inset(0); translate: 0 0; }
}
@keyframes story-copy-in {
  from { opacity: .25; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes story-rule-in { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
@keyframes story-frame-in {
  from { clip-path: inset(0 0 0 87% round var(--radius)); }
  to { clip-path: inset(0 0 0 0 round var(--radius)); }
}
@keyframes story-camera {
  from { transform: translateY(1.1%) scale(1.046); }
  to { transform: translateY(-1.1%) scale(1.046); }
}
@keyframes sahar-product-float {
  from { transform: translate(0, .55%) scale(1.022) rotate(-.35deg); }
  to { transform: translate(.5%, -.8%) scale(1.055) rotate(.5deg); }
}
