/* FDX_FV_MOTION_ALL — shared motion for the public pages (hall, project, found, login), same language as the home
   (fvd_home.css FDX_FV_MOTION2). Everything is gated by html.fvx, which fvd_motion.js sets only once it is wired,
   so without JS, on the home page, or with reduced motion nothing here applies. */
@media (prefers-reduced-motion:no-preference){
  @keyframes fvxWord{from{opacity:0;translate:0 .6em;filter:blur(4px)}to{opacity:1;translate:0 0;filter:blur(0)}}
  @keyframes fvxStep{from{opacity:0;translate:-28px 0}to{opacity:1;translate:0 0}}
  @keyframes fvxShine{0%,62%{translate:-120% 0}100%{translate:120% 0}}
  /* page title: word by word */
  html.fvx .fvx-w{display:inline-block;animation:fvxWord .8s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(.1s + var(--w,0)*.06s)}
  /* scroll reveal with stagger */
  html.fvx [data-fvx]{opacity:0;transition:opacity .8s ease,translate 1s cubic-bezier(.16,1,.3,1),scale 1s cubic-bezier(.16,1,.3,1),filter .8s ease;transition-delay:calc(var(--i,0)*80ms)}
  html.fvx [data-fvx="up"]{translate:0 36px;filter:blur(3px)}
  html.fvx [data-fvx="item"]{translate:0 56px;scale:.95}
  html.fvx [data-fvx].fvx-in{opacity:1;translate:0 0;scale:1;filter:blur(0)}
  /* a panel that appears (wizard step, login tab) slides in */
  html.fvx .fvx-step{animation:fvxStep .55s cubic-bezier(.16,1,.3,1)}
  /* reading progress */
  html.fvx .fvx-progress{position:fixed;top:0;right:0;left:0;height:3px;z-index:9999;pointer-events:none;transform-origin:100% 50%;transform:scaleX(0);background:linear-gradient(90deg,#ff5a3c,#7957ff)}
  /* hairline icons: every stroke draws itself in; on hover the icon redraws and leans toward the pointer */
  html.fvx .fvx-ic path{stroke-dasharray:1 1;stroke-dashoffset:1;transition:stroke-dashoffset 1.2s cubic-bezier(.65,0,.35,1) calc(.2s + var(--p,0)*.14s)}
  html.fvx .fvx-ic.fvx-drawn path{stroke-dashoffset:0}
  html.fvx .fvx-ic.fvx-re path{transition-duration:.75s;transition-delay:calc(var(--p,0)*.07s)}
  html.fvx .fvx-ic.fvx-reset path{transition:none;stroke-dashoffset:1}
  html.fvx .fvx-ic{transition:translate .45s cubic-bezier(.34,1.56,.64,1),scale .45s cubic-bezier(.34,1.56,.64,1)}
  html.fvx .fvx-ic.fvx-lean{translate:calc(var(--ix,0)*3px) calc(var(--iy,0)*3px - 3px);scale:1.14}
  /* hover depth: cards tilt toward the pointer, orange CTAs lean toward it and shine */
  html.fvx .fvx-tilt{transition:transform .5s cubic-bezier(.16,1,.3,1),box-shadow .5s ease;transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}
  html.fvx .fvx-tilt:hover{transition-duration:.15s,.4s;box-shadow:0 22px 50px -18px rgba(66,40,180,.45)}
  html.fvx .fvx-cta{transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s ease;transform:translate3d(var(--bx,0px),var(--by,0px),0);position:relative;overflow:hidden;isolation:isolate}
  html.fvx .fvx-cta:hover{box-shadow:0 14px 34px -10px rgba(255,90,60,.65)}
  html.fvx .fvx-cta::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.38) 50%,transparent 70%);animation:fvxShine 4.5s 2s ease-in-out infinite}
}
