/* ViCargo motion. The brief asks for a site that moves, and for a firm that feels serious.
   The resolution: motion is DIRECTIONAL and SHORT. Things enter from the left and settle —
   the same left-to-right sweep as the logo swoosh. Nothing bounces, nothing overshoots,
   nothing loops in the user's peripheral vision except the one route line in the hero.
   One property per transition where possible; opacity + transform only. */
:root{
  --dur-instant:90ms; /* @kind other */
  --dur-fast:160ms; /* @kind other */   /* hover, focus, colour change */
  --dur-base:240ms; /* @kind other */   /* buttons, card lift, accordion */
  --dur-slow:420ms; /* @kind other */   /* section reveal, drawer, dialog */
  --dur-deliberate:700ms; /* @kind other */ /* counters, route line draw */

  /* Easing. "sweep" is the house curve: quick departure, long settle. */
  --ease-sweep:cubic-bezier(.16,.84,.24,1); /* @kind other */
  --ease-out:cubic-bezier(.2,.7,.3,1); /* @kind other */
  --ease-in-out:cubic-bezier(.65,0,.35,1); /* @kind other */
  --ease-linear:linear; /* @kind other */

  --reveal-distance:22px; /* @kind spacing */   /* how far a revealing element travels */
  --hover-lift:-3px; /* @kind spacing */        /* card / button hover translateY */
  --press-scale:0.985; /* @kind other */

  --transition-hover:color var(--dur-fast) var(--ease-out),background-color var(--dur-fast) var(--ease-out),border-color var(--dur-fast) var(--ease-out),transform var(--dur-base) var(--ease-sweep),box-shadow var(--dur-base) var(--ease-sweep); /* @kind other */
}
@keyframes vc-reveal{from{opacity:0;transform:translateY(var(--reveal-distance))}to{opacity:1;transform:none}}
@keyframes vc-reveal-left{from{opacity:0;transform:translateX(calc(var(--reveal-distance) * -1))}to{opacity:1;transform:none}}
@keyframes vc-sweep-in{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes vc-route-dash{to{stroke-dashoffset:0}}
@keyframes vc-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes vc-pulse-dot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}

.vc-reveal{animation:vc-reveal var(--dur-slow) var(--ease-sweep) both}
.vc-reveal-left{animation:vc-reveal-left var(--dur-slow) var(--ease-sweep) both}
.vc-sweep{transform-origin:left center;animation:vc-sweep-in var(--dur-slow) var(--ease-sweep) both}

@media (prefers-reduced-motion:reduce){
  :root{--reveal-distance:0px; /* @kind spacing */ --hover-lift:0px; /* @kind spacing */ --press-scale:1; /* @kind other */}
  *,*::before,*::after{animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:1ms!important}
}
