/* StageBridge conceptual motion graphic for the homepage. */
.model-motion { margin: 0; padding: 2.4rem 0 3.6rem; }
.model-motion-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.4rem; margin-bottom: 1.25rem; }
.model-motion-heading h2 { margin: .3rem 0 .4rem; font-size: clamp(1.5rem, 2.8vw, 2.35rem); line-height: 1.15; }
.model-motion-heading p:last-child { margin: 0; color: #61727b; font-size: .96rem; }
.model-motion-toggle { border: 1px solid #bcc9c9; border-radius: 30px; background: transparent; padding: .55rem 1rem; font: inherit; font-size: .83rem; color: #283d45; cursor: pointer; white-space: nowrap; }
.model-motion-toggle:focus-visible { outline: 3px solid #6c99b4; outline-offset: 3px; }
.model-motion-stage { overflow: hidden; border-radius: 17px; background: #111c2a; border: 1px solid #344851; box-shadow: 0 16px 45px rgba(13,28,38,.12); margin-bottom: .85rem; }
.model-motion-stage svg { width: 100%; height: auto; display: block; }
.model-motion .motion-label { fill: #a9c6ce; font: 600 12px system-ui, sans-serif; letter-spacing: 2.2px; }
.model-motion .motion-caption { fill: #c0d2d4; font: 12px system-ui, sans-serif; }
.model-motion .motion-formula { fill: #cce0dc; font: 16px ui-monospace, SFMono-Regular, Consolas, monospace; }
.model-motion .motion-node-label { fill: #b6d6d9; font: 11px system-ui, sans-serif; }
.model-motion-disclaimer { color: #bbcfd3; font-size: .78rem; line-height: 1.5; padding: 0 1rem 1rem; margin: 0; }
.model-motion .motion-cell { transform-box: fill-box; transform-origin: center; animation: model-cell-breathe 5s ease-in-out infinite alternate; }
.model-motion .motion-cell-two { animation-delay: -2s; }
.model-motion .motion-cell-three { animation-delay: -3.5s; }
.model-motion .motion-cell-four { animation-delay: -1.2s; }
.model-motion .motion-cell-five { animation-delay: -4s; }
.model-motion .motion-reg-node { animation: model-reg-pulse 5s ease-in-out infinite alternate; }
.model-motion .motion-reg-node:nth-child(even) { animation-delay: -2.5s; }
.model-motion.is-paused .motion-cell, .model-motion.is-paused .motion-reg-node { animation-play-state: paused; }
@keyframes model-cell-breathe { from { transform: scale(.94); opacity:.8; } to { transform: scale(1.06); opacity:1; } }
@keyframes model-reg-pulse { from { opacity:.72; } to { opacity:1; } }
@media (max-width: 700px) {
  .model-motion { padding: 1.4rem 0 2.4rem; }
  .model-motion-heading { align-items:flex-start; flex-direction:column; }
  .model-motion-stage svg { min-width: 680px; transform: translateX(-10%); width: 110%; }
  .model-motion .motion-caption { font-size:13px; }
}
@media (prefers-reduced-motion: reduce) {
  .model-motion .motion-cell, .model-motion .motion-reg-node { animation: none !important; }
}
