/* Deliberate motion, rendered only after capability/preference checks in motion.js. */
:root{--ch-ease:cubic-bezier(.22,.75,.21,1)}
.ch-motion-enabled .ch-motion-item{--ch-motion-order:0}
.ch-motion-enabled .ch-motion-wait{opacity:0;translate:0 20px}
.ch-motion-enabled .ch-motion-wait:focus-within{opacity:1;translate:0 0}
.ch-motion-enabled .ch-motion-enter{animation:ch-reveal-033 .7s var(--ch-ease) both;animation-delay:calc(var(--ch-motion-order,0)*65ms)}
@keyframes ch-reveal-033{from{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}
.ch-motion-enabled :is(.button,.ch-button,.ch-auth-submit,.rig-choose){transition:background-color .2s,border-color .2s,box-shadow .25s,transform .25s var(--ch-ease)}
.ch-motion-enabled :is(.button,.ch-button,.ch-auth-submit,.rig-choose):active:not(:disabled){transform:translateY(0) scale(.985)}
.ch-motion-enabled :is(.button,.ch-button,.text-link,.ch-text-link,.rig-choose)>.icon:last-child,
.ch-motion-enabled :is(.button,.ch-button,.text-link,.ch-text-link,.rig-choose)>.ch-icon:last-child{transition:transform .3s var(--ch-ease)}
.ch-motion-enabled :is(.button,.ch-button,.text-link,.ch-text-link,.rig-choose):is(:hover,:focus-visible)>.icon:last-child,
.ch-motion-enabled :is(.button,.ch-button,.text-link,.ch-text-link,.rig-choose):is(:hover,:focus-visible)>.ch-icon:last-child{transform:translateX(3px)}
.ch-motion-enabled :is(.rig-card,.ch-next-machine){transition:border-color .3s,box-shadow .35s,transform .35s var(--ch-ease)}
.ch-motion-enabled :is(.rig-art,.ch-next-machine-art>img){transition:transform .65s var(--ch-ease);transform-origin:50% 80%}
.ch-motion-enabled .period-switch button,.ch-motion-enabled .ch-period-segment button{transition:background-color .25s,color .25s,box-shadow .25s,transform .25s var(--ch-ease)}
.ch-motion-enabled .faq-list summary>.icon{transition:transform .3s var(--ch-ease)}
.ch-motion-enabled .faq-list details[open] summary>.icon{transform:rotate(45deg)}
.ch-motion-enabled :is(.theme-toggle,.ch-theme-toggle) svg{transition:transform .45s var(--ch-ease)}
.ch-motion-enabled :is(.theme-toggle,.ch-theme-toggle):hover svg{transform:rotate(35deg)}
.ch-motion-enabled :is(input,textarea,select){transition:border-color .2s,box-shadow .2s,background-color .2s}
.ch-motion-enabled :is(.ch-nav-link,.ch-dropdown-content>a){transition:background-color .2s,color .2s}
.ch-motion-enabled .main-nav>a{position:relative}
.ch-motion-enabled .main-nav>a:after{content:'';height:1px;position:absolute;left:0;right:0;bottom:-7px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .35s var(--ch-ease)}
.ch-motion-enabled .main-nav>a:is(:hover,:focus-visible):after{transform:scaleX(1)}
@media(hover:hover) and (pointer:fine){
  .ch-motion-enabled :is(.rig-card,.ch-next-machine):hover{transform:translateY(-4px);box-shadow:0 18px 40px #00000014}
  .ch-motion-enabled .rig-card:hover .rig-art{transform:translateY(-5px) scale(1.025)}
  .ch-motion-enabled .ch-next-machine:not(.is-legacy):hover .ch-next-machine-art>img{transform:translateY(-4px) scale(1.025)}
}
/* Original illustrations: fixed viewBoxes and reserved space prevent layout shifts. */
.ch-motion-art{display:block;width:100%;height:auto;overflow:visible;pointer-events:none}
.ch-landing .ch-motion-art{--line:var(--border)}
.ch-hero-circuit{position:absolute;inset:0;z-index:0;width:100%;height:100%;opacity:.4}
.hero-hardware:has(.ch-hero-circuit){isolation:isolate}
.ch-connection-visual{display:block;max-width:470px;margin:25px 0 0;aspect-ratio:620/240}
.ch-connection-visual>.ch-motion-art{width:100%;height:100%}
.ch-process-visual{display:block;max-width:800px;margin:27px auto 0;aspect-ratio:720/150}
.ch-process-visual>.ch-motion-art{width:100%;height:100%}
.ch-motion-art .ch-scene-flow{opacity:.8;transform-box:fill-box;transform-origin:center;animation-play-state:paused}
.ch-motion-art .ch-scene-signal,.ch-motion-art .ch-scene-orbit{transform-box:fill-box;transform-origin:center;animation-play-state:paused}
.ch-motion-art .ch-scene-orbit{transform-box:view-box;transform-origin:50% 50%}
.ch-motion-enabled .ch-motion-live .ch-scene-signal{animation:ch-signal-033 3.6s ease-in-out infinite}
.ch-motion-enabled .ch-motion-live .ch-scene-flow{animation:ch-packet-033 5.8s var(--ch-ease) infinite}
.ch-motion-enabled .ch-motion-live .ch-scene-orbit{animation:ch-orbit-033 90s linear infinite}
.ch-motion-enabled .ch-motion-live .ch-scene-delay{animation-delay:-1.8s}
.ch-motion-enabled .ch-motion-live .ch-scene-delay2{animation-delay:-3.8s}
@keyframes ch-signal-033{0%,100%{opacity:.35}45%,60%{opacity:1}}
@keyframes ch-packet-033{0%,12%{opacity:0;transform:translateX(-35px)}25%,65%{opacity:.95}90%,100%{opacity:0;transform:translateX(45px)}}
@keyframes ch-orbit-033{to{transform:rotate(360deg)}}
.ch-motion-paused .ch-motion-art *,.ch-motion-paused .ch-motion-enter{animation-play-state:paused!important}
@media(max-width:700px){.ch-hero-circuit{opacity:.27}.ch-connection-visual{margin-top:18px;max-width:390px}.ch-process-visual{margin-top:24px}}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  body:not(.ch-page-jugar) .ch-motion-wait{opacity:1!important;translate:none!important}
  body:not(.ch-page-jugar) .ch-motion-enter,body:not(.ch-page-jugar) .ch-motion-art *{animation:none!important}
  body:not(.ch-page-jugar) :is(.button,.ch-button,.ch-auth-submit,.rig-choose,.rig-card,.ch-next-machine,.rig-art,.ch-next-machine-art>img,.theme-toggle,.ch-theme-toggle,.period-switch button,.ch-period-segment button,.ch-nav-link,.ch-dropdown-content>a,input,textarea,select,.icon,.ch-icon),body:not(.ch-page-jugar) .main-nav>a:after{transition:none!important;transform:none!important}
}
@media print{
  .ch-motion-wait,.ch-motion-enter{opacity:1!important;translate:none!important;transform:none!important;animation:none!important;transition:none!important}
  .ch-motion-art,.ch-motion-art *{animation:none!important;transition:none!important}
}
