/* Optional preview-only motion. Baseline content remains complete and readable. */
@keyframes owf-timeline-line-x {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes owf-timeline-line-y {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes owf-timeline-piece-emphasis {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(17, 17, 17, 0); }
  40%, 60% { box-shadow: inset 0 0 0 3px rgba(17, 17, 17, 0.48); }
}
@keyframes owf-timeline-arrow-x {
  0%, 100% { transform: translateX(0); }
  55% { transform: translateX(6px); }
}
@keyframes owf-timeline-arrow-y {
  0%, 100% { transform: translateY(0); }
  55% { transform: translateY(6px); }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .graphic-timeline [data-timeline-motion="enabled"] .conditional-path[data-motion-state] {
    position: relative;
    border-top-color: transparent;
  }
  .graphic-timeline [data-timeline-motion="enabled"] .conditional-path[data-motion-state]::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -4px;
    border-top: 4px dotted var(--ink, #111);
    transform-origin: left center;
    transform: scaleX(1);
    pointer-events: none;
  }
  .graphic-timeline [data-timeline-motion="enabled"] .conditional-path[data-motion-state="idle"]::before {
    transform: scaleX(0);
  }
  .graphic-timeline [data-timeline-motion="enabled"] .conditional-path[data-motion-state="running"]::before {
    animation: owf-timeline-line-x 850ms ease-out both;
  }
  .graphic-timeline [data-timeline-motion="enabled"] .mobile-conditional[data-motion-state] {
    position: relative;
    border-left-color: transparent;
  }
  .graphic-timeline [data-timeline-motion="enabled"] .mobile-conditional[data-motion-state]::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    border-left: 4px dotted var(--ink, #111);
    transform-origin: center top;
    transform: scaleY(1);
    pointer-events: none;
  }
  .graphic-timeline [data-timeline-motion="enabled"] .mobile-conditional[data-motion-state="idle"]::before {
    transform: scaleY(0);
  }
  .graphic-timeline [data-timeline-motion="enabled"] .mobile-conditional[data-motion-state="running"]::before {
    animation: owf-timeline-line-y 850ms ease-out both;
  }
  .graphic-timeline [data-timeline-motion="enabled"] [data-motion-kind="piece"][data-motion-state="running"] {
    animation: owf-timeline-piece-emphasis 650ms ease-in-out var(--owf-motion-delay, 0ms) both;
  }
  .graphic-timeline [data-timeline-motion="enabled"] .desktop-comparison [data-motion-kind="arrow"][data-motion-state="running"] {
    animation: owf-timeline-arrow-x 650ms ease-in-out both;
  }
  .graphic-timeline [data-timeline-motion="enabled"] .mobile-comparison [data-motion-kind="arrow"][data-motion-state="running"] {
    animation: owf-timeline-arrow-y 650ms ease-in-out both;
  }
}
@media (prefers-reduced-motion: reduce), print {
  .graphic-timeline [data-motion-state] {
    animation: none !important;
  }
}
