/* OCS v3 logo animation: draw the step response, light the sampled trace,
   sweep a specular shine across the wordmark, then idle with a rare glint.
   Static when prefers-reduced-motion is set. Pure CSS on inline SVG. */
.ocs-logo-anim{display:block;width:100%;height:auto;overflow:visible}
.ocs-logo-anim .ocsl-shine,.ocs-logo-anim .ocsl-glint{opacity:0}
@media (prefers-reduced-motion:no-preference){
  .ocs-logo-anim .ocsl-curve path{stroke-dasharray:1 1;stroke-dashoffset:1;animation:ocsl-draw 1.7s cubic-bezier(.55,.05,.25,1) .25s forwards}
  .ocs-logo-anim .ocsl-trace circle{opacity:0;transform-box:fill-box;transform-origin:center;
    animation:ocsl-dot .55s ease-out forwards;animation-delay:calc(1.05s + var(--i) * 18ms)}
  .ocs-logo-anim .ocsl-word{opacity:0;animation:ocsl-word .9s ease-out .55s forwards}
  .ocs-logo-anim .ocsl-shine{mix-blend-mode:screen;animation:ocsl-shine 11s cubic-bezier(.45,0,.35,1) 2.7s infinite}
  .ocs-logo-anim .ocsl-glint{transform-box:fill-box;transform-origin:center;animation:ocsl-glint 7s ease-out 2.6s infinite}

}
@keyframes ocsl-draw{to{stroke-dashoffset:0}}
@keyframes ocsl-dot{0%{opacity:0;transform:scale(.2)}45%{opacity:1;transform:scale(2.1)}100%{opacity:1;transform:scale(1)}}
@keyframes ocsl-word{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* sweep across ~1.4s, then rest for the remainder of the 11s cycle */
@keyframes ocsl-shine{0%{opacity:0;transform:skewX(-20deg) translateX(0)}2%{opacity:.85}18%{opacity:.85;transform:skewX(-20deg) translateX(1500px)}19%,100%{opacity:0;transform:skewX(-20deg) translateX(1500px)}}
@keyframes ocsl-glint{0%{opacity:0;transform:scale(.3) rotate(0deg)}4%{opacity:1;transform:scale(1) rotate(25deg)}10%{opacity:0;transform:scale(.5) rotate(45deg)}100%{opacity:0}}
/* phones: keep the intro, make idle effects rarer */
@media (max-width:640px) and (prefers-reduced-motion:no-preference){
  .ocs-logo-anim .ocsl-shine{animation-duration:16s}
  .ocs-logo-anim .ocsl-glint{animation-duration:12s}
}
