/* Innovo motion system (clean-room, loaded last on every page). Spec: /workspace/innovo-redesign/motion-study/motion-spec.md
   Studied from seasats.com (primary) and Polestar 5 (secondary) for feel only; no third-party code or assets.
   One easing (Seasats' easeOutCubic), three durations, one calm gesture per section, at most 4 staggered siblings, nothing loops. */
:root{
  --ease:cubic-bezier(.215,.61,.355,1);   /* easeOutCubic: fast start, long soft landing */
  --t-fast:.35s;                          /* hovers, small UI */
  --t-text:.5s;                           /* text and cards entering (Seasats measured .37-.55s) */
  --t-img:.7s;                            /* images opening (cap) */
  --stagger:50ms;
  --rise:28px;
  --space:clamp(120px,18vh,220px);        /* section rhythm: generous, like the reference */
}

/* ---- entering: fade + short rise, staggered within a group ---- */
.rv{opacity:0;transform:translate3d(0,var(--rise),0);
  transition:opacity var(--t-text) var(--ease),transform var(--t-text) var(--ease);transition-delay:calc(var(--i,0) * var(--stagger))}
.rv.in{opacity:1;transform:none}
/* headings: the text rises inside a line mask (the heading box itself does not move) */
h1.rv,h2.rv,.h2.rv{opacity:1;transform:none;transition:none}
.mk{display:block;overflow:clip;padding-bottom:.08em;margin-bottom:-.08em}
.mi{display:block;transform:translate3d(0,105%,0);transition:transform .55s var(--ease);transition-delay:calc(var(--l,0) * 60ms + var(--i,0) * var(--stagger))}
.rv.in .mi{transform:none}
/* cards and list items: fade only, no travel (keeps the count of moving things low) */
.cards>.rv,.facts>.rv,.numlist>.rv,.band>.rv,.people>.rv,ul>li.rv{transform:none}

/* ---- images: one clip-open + settle on entry, time-based (never scrubbed to scroll, no parallax) ---- */
.reveal{clip-path:inset(8% 6% 8% 6% round 18px)!important;transition:clip-path var(--t-img) var(--ease)}
.reveal.in{clip-path:inset(0 0 0 0 round 18px)!important}
.reveal img{transform:scale(1.06)!important;transition:transform var(--t-img) var(--ease);will-change:auto}
.reveal.in img{transform:none!important}

/* ---- sticky steps / outcome panels: calm crossfade, no Ken Burns ---- */
.st-media .m{transition:opacity var(--t-img) var(--ease)}
.st-media .m img{transform:scale(1.03);transition:transform var(--t-img) var(--ease)}
.st-media .m.on img{transform:none}
.p .kb{animation:none!important;transform:none!important;left:0;top:0;width:100%;height:100%}
.p{transition:opacity var(--t-img) var(--ease)!important}
.blocked em::before{animation:none!important}

/* ---- nothing loops ---- */
.agent .dot,.counter i{animation:none!important;box-shadow:none!important}
.agents .links{display:none}
.mq-track{animation:none!important}

/* ---- quieter hero agent cards ---- */
.agent{opacity:.82;background:rgba(18,40,56,.42)!important;border-color:rgba(214,238,252,.22)!important;box-shadow:none!important}
.agent.ex{background:rgba(60,38,22,.4)!important;border-color:rgba(242,166,90,.55)!important}
.agent .st{transition:opacity .5s var(--ease)}

/* ---- platforms: a still row ---- */
.platforms{display:flex;flex-wrap:wrap;justify-content:center;gap:18px 64px;margin:12vh auto 0;padding:34px 24px;max-width:1100px;border-block:1px solid #C9DCE8;list-style:none}
.platforms li{font-size:clamp(20px,2vw,28px);color:var(--t6);opacity:.85}

/* ---- whitespace rhythm ---- */
.proof,.live,.trust,.sec,.s-prob,.s-ctrl,.s-proof,.s-more{padding-top:var(--space)!important;padding-bottom:var(--space)!important}
.sol,.s-how{padding-top:var(--space)!important}

/* ---- side menu: hidden; a thin Innovo Blue line hints at the right edge; opens on edge hover or keyboard focus ---- */
@media (min-width:761px){
  .tabs{transition:transform .5s var(--ease),visibility 0s linear .5s!important}
  body.nav-out .tabs,.nav-on .tabs{transition:transform .5s var(--ease),visibility 0s!important}
  .nav-handle{top:0!important;bottom:0;height:100vh;width:24px!important;padding:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
    transform:none!important;transition:opacity var(--t-fast) var(--ease)!important;cursor:default}
  .nav-handle .nh-line{position:absolute;right:0;top:50%;width:3px;height:22vh;transform:translateY(-50%);border-radius:3px 0 0 3px;background:#1A6A97;opacity:.45;transition:opacity var(--t-fast) var(--ease),width var(--t-fast) var(--ease)}
  .nav-handle:hover .nh-line{opacity:.9}
  .nav-handle:focus-visible{outline:2px solid #1A6A97;outline-offset:-3px}
  .nav-handle:focus-visible .nh-line{opacity:1;width:5px;outline:2px solid #1A6A97;outline-offset:3px}
  body.nav-out .nav-handle .nh-line,.nav-on .nav-handle .nh-line{opacity:0}
  body.nav-out .nav-handle,.nav-on .nav-handle{right:calc(var(--navw) + var(--gap))!important}
}

@media (prefers-reduced-motion:reduce){
  .rv,.mi,.reveal,.reveal img,.st-media .m,.st-media .m img,.p,.tabs,.nav-handle{transition:none!important}
  .rv{opacity:1;transform:none}.mi{transform:none}
  .reveal{clip-path:inset(0 round 18px)!important}.reveal img{transform:none!important}
}

/* ---- type: one font, Aptos, set once on body; everything inherits. Headings 600, body 400 ---- */
body{font-family:Aptos,system-ui,sans-serif;font-weight:400}
button,input,select,textarea{font:inherit}
h1,h2,h3,h4,.h1,.h2,.h3{font-weight:600;letter-spacing:-.015em}
/* semibold sans runs wider than the old light serif: sizes trimmed so headings keep 2-3 lines */
.h2{font-size:clamp(30px,3.4vw,50px);line-height:1.08;letter-spacing:-.02em;max-width:22ch}
.s-copy h1{font-size:clamp(38px,4.6vw,72px);line-height:1.04;letter-spacing:-.022em}
.copy h1{letter-spacing:-.022em}
.h3{letter-spacing:-.01em}
.facts .big,.band .big{font-weight:600;letter-spacing:-.03em}
@media (max-width:760px){.s-copy h1{font-size:36px}.h2{font-size:30px}}
/* hero image: the old drift oversize (112%) is gone with the drift itself */
.pic{left:0!important;top:0!important;width:100%!important;height:100%!important}
/* numbered labels: dark enough for small text on white (WCAG AA) */
.numlist li b{color:#155A82}
.sec.dark .numlist li b{color:#8FCDEB}
/* CTA background: parallax removed, so no oversize */
.close-bg{inset:0!important}.close-bg img{transform:none!important}
.how-note{max-width:70ch}
/* numbering removed from lists and steps (images and steps stay clean): single-column rows */
.prob-pts li{grid-template-columns:1fr!important}
