config
motion
Configuration — global motion surface: re-exports motionTokens, and defines the `motion` token accessor, `toSeconds`, and ANIMATION_DEFAULTS. Section motion presets live in config/ix/presets/.
motionTokens— re-exported fromjs/choreography/tokens/motion/motion.js, where the tokens are defined.motion— accessor with fallbacks:motion.duration(name),.ease(name),.distance(name),.stagger(name).GSAP_EASE— the GSAP core ease for eachmotionTokens.easetoken. GSAP can’t parse the tokens’cubic-bezier()strings without CustomEase. It quietly falls back topower1.out, somotion.ease(name)returns the name from this map, never the CSS string. The fits are approximate:standardandemphasislose their soft start. A new ease token needs an entry here, andtest/choreography/motion-eases.test.jsenforces that.toSeconds(ms)— converts token milliseconds to GSAP seconds; non-numbers pass through.ANIMATION_DEFAULTS— base duration, stagger, ease, andoverwrite: "auto". Ease keys follow GSAP’s sense:in=exittoken (accelerate),out=entertoken (decelerate, for reveals),inOut=standard.inOutis also the globalgsap.defaultsease (system/gsap.js).
Section presets (HERO_*, AWARDS_INTRO, CARD_PARALLAX, *_ANIMATION_DEFAULTS, PROJECT_HEADER_ANIMATION, TEXT_SPLIT_REVEAL) live in presets/, one file per consumer area, each importing from here.