/* Looping product motion. Ivory on dark, Fortress-TV aligned.
   Prefer CSS + inline SVG. Seamless loops. Lightweight. */
.motion{
  position:absolute;inset:0;
  display:block;
  width:100%;height:100%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(246,241,231,.05), transparent 70%),
    linear-gradient(160deg, #161310 0%, #121212 52%, #0c0b0a 100%);
  overflow:hidden;
  pointer-events:none;
}
.motion svg{
  width:100%;height:100%;
  display:block;
}
.motion-stroke{fill:none;stroke:#f6f1e7;stroke-linecap:round;stroke-linejoin:round}
.motion-fill{fill:#f6f1e7}
.motion-amber{stroke:#f2b45c;fill:none}

/* Fortress — home shield + network */
.mot-pulse{
  stroke-dasharray:8 86;
  animation:dash-run 6s linear infinite;
}
.mot-node{
  transform-box:fill-box;transform-origin:center;
  animation:node-breathe 4.8s ease-in-out infinite;
}
.mot-node:nth-child(odd){animation-delay:-1.6s}
.mot-node:nth-child(3n){animation-delay:-3.2s}
.mot-shield-glow{
  transform-origin:240px 236px;
  animation:soft-glow 5.2s ease-in-out infinite;
}

/* PowerTeam — agents in orbit */
.mot-orbit{transform-origin:240px 240px;animation:spin-cw 22s linear infinite}
.mot-orbit-2{animation-duration:16s;animation-direction:reverse}
.mot-orbit-3{animation-duration:11s}
.mot-hub{
  transform-origin:240px 240px;
  animation:node-breathe 3.6s ease-in-out infinite;
}

/* RADER — film / timeline */
.mot-strip{
  animation:strip-slide 10s linear infinite;
}
.mot-playhead{
  animation:playhead 5s cubic-bezier(.22,1,.36,1) infinite;
}
.mot-frame-on{
  animation:frame-fade 5s ease-in-out infinite;
}

/* Oxford Intelligence — signal / radar */
.mot-sweep{
  transform-origin:240px 240px;
  animation:spin-cw 8s linear infinite;
}
.mot-ring{
  transform-origin:240px 240px;
  animation:ring-out 8s linear infinite;
}
.mot-ring-2{animation-delay:-2.66s}
.mot-ring-3{animation-delay:-5.33s}
.mot-blip{
  animation:blip 8s ease-in-out infinite;
}

@keyframes dash-run{
  from{stroke-dashoffset:0}
  to{stroke-dashoffset:-94}
}
@keyframes node-breathe{
  0%,100%{opacity:.45;transform:scale(1)}
  50%{opacity:1;transform:scale(1.18)}
}
@keyframes soft-glow{
  0%,100%{opacity:.35}
  50%{opacity:.7}
}
@keyframes spin-cw{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}
@keyframes strip-slide{
  from{transform:translateX(0)}
  to{transform:translateX(-240px)}
}
@keyframes playhead{
  0%{transform:translateX(0);opacity:.3}
  8%{opacity:1}
  92%{opacity:1}
  100%{transform:translateX(268px);opacity:.3}
}
@keyframes frame-fade{
  0%,20%{opacity:.25}
  35%,55%{opacity:1}
  70%,100%{opacity:.25}
}
@keyframes ring-out{
  0%{opacity:.55;transform:scale(.55)}
  70%{opacity:0;transform:scale(1.15)}
  100%{opacity:0;transform:scale(1.15)}
}
@keyframes blip{
  0%,62%,100%{opacity:.15;transform:scale(1)}
  68%,78%{opacity:1;transform:scale(1.35)}
}

@media (prefers-reduced-motion:reduce){
  .motion *{
    animation:none !important;
    transition:none !important;
  }
  .mot-pulse{stroke-dasharray:none}
  .mot-strip{transform:none}
  .mot-playhead{transform:translateX(120px);opacity:1}
  .mot-sweep{transform:rotate(38deg)}
  .mot-ring,.mot-ring-2,.mot-ring-3{opacity:.35;transform:none}
  .mot-blip{opacity:.9;transform:none}
  .mot-node,.mot-hub{opacity:.8;transform:none}
  .mot-frame-on{opacity:.85}
}
