.motion-main { padding-block: 44px 70px; }
.motion-main h1 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; }
.motion-main > p, .motion-copy p { margin-top: 12px; color: var(--muted); }
.back-link { margin-left: auto; }
.motion-card { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: center; gap: 24px; margin-top: 24px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.motion-copy h2 { font-size: 22px; }
.replay { margin-top: 16px; }
.motion-view { min-width: 0; background: #edf2ee; border-radius: 8px; padding: 16px; }
.motion-view .portal-modules { padding: 0; }
.motion-view .portal-tile { color: var(--green); }
.motion-view .architecture { grid-template-columns: 1fr; padding: 0; gap: 10px; }
.motion-view .device-group { min-height: 180px; }
.motion-view .network-link { max-width: 150px; width: 100%; margin: auto; }
.motion-view .network-link svg { height: 28px; width: 62px; margin: auto; transform: rotate(90deg); }
.motion-view .enterprise-server { width: min(100%, 430px); margin: auto; }
@keyframes appear { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes draw { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes rise { from { scale: 1 0; } to { scale: 1 1; } }
@keyframes signal { from { stroke-dashoffset: 35; opacity: .3; } to { stroke-dashoffset: 0; opacity: 1; } }
.running .portal-tile { animation: appear .45s both; animation-delay: var(--step, 0s); }
.running :is(.portal-tile, .gantt-row, .server-services > div):nth-child(2) { --step: .16s; }
.running :is(.portal-tile, .gantt-row, .server-services > div):nth-child(3) { --step: .32s; }
.running :is(.portal-tile, .gantt-row):nth-child(4) { --step: .48s; }
.running .gantt-row:nth-child(5) { --step: .64s; }
.running .gantt-row:nth-child(6) { --step: .8s; }
.running :is(.gantt-bar, .mini-gantt i, .mini-phases i) { transform-origin: left; animation: draw .65s var(--step, 0s) both; }
.running .mini-chart i { transform-origin: bottom; animation: rise .6s .2s both; }
.running .mini-list i { animation: appear .6s .5s both; }
.running .gantt-milestone { animation: appear .4s 1.4s both; }
.running .network-link path { animation: signal .9s .15s both; }
.running .server-services > div { animation: appear .4s calc(.65s + var(--step, 0s)) both; }
@media (max-width: 720px) { .motion-card { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .motion-card { padding: 14px; } .motion-view { padding: 10px; } .motion-view .portal-tile { padding: 9px 6px; } .motion-view .tile-name strong { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .replay { display: none; } }

[data-animate="modules"].running .portal-tile:focus-visible { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .running * { animation: none !important; }
}
