choreography
Config
Names, motion settings, and defaults shared across the choreography code. Nothing here touches the page.
What’s here
contracts/- the shared vocabulary:EVENTS(event names),SELECTORS(section ids),TIMELINE_IDSix/- motion tuning that changes as the design evolves:motion.js,breakpoints.js,profiles.js(per-breakpoint and reduced-motion variants),scrolltriggers.js, andpresets/(details)displays/- defaults for the ruler overlayindex/- one barrel that re-exports the above
Where things go
- A name or id used by several modules goes in
contracts/. - A section’s timing and transform values go in
ix/presets/<section>.js. - A section’s ScrollTrigger settings live beside the section, not here.
- Code that builds or draws things belongs in the runtime modules, not config.
How it connects
- Imported by sections, managers, and atoms through
config/index/index.js. - Motion tokens come from
../tokens/motion/.
See also
Modules
- displays
- Displays barrel — re-exports the ruler display config so `config/index/index.js` can surface it through one import.
- events
- Configuration — canonical event name strings for section lifecycle coordination. Section sets are generated by `makeSectionEvents(key)` (uniform 10-key shape); keys include video, header, organizations, hero, process, awards, and work, plus the system and workNav sets.
- index
- Configuration barrel — re-exports all choreography configuration from contracts, displays, and ix (including ix/presets) for convenience; most modules deep-import the specific file instead.
- ruler
- Configuration — defines display defaults and scroll-triggered intro animation defaults for the SVG ruler component.
- selectors
- Configuration — defines canonical DOM element IDs and selectors that decouple choreography code from template structure.
- timelines
- Configuration — defines canonical child timeline ID strings (landing, intro, idle, outro) used across section controllers.
contracts
- Contracts
- The shared vocabulary of the choreography code: event names, section selectors, and timeline ids.
- contracts
- Contracts barrel — re-exports events, selectors, and timelines (EVENTS, makeSectionEvents, SELECTORS and the *_SELECTORS maps, TIMELINE_IDS) so config/index/index.js can surface them through one import.
ix
- breakpoints
- Configuration — defines Tailwind-aligned breakpoint values and gsap.matchMedia condition strings for responsive motion profiles.
- ix barrel
- Barrel — re-exports the ix/ interaction-design tuning modules (breakpoints, motion, presets, scrolltriggers, profiles) as a single import surface.
- 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/.
- profiles
- Motion profiles config — exports ACCESSIBILITY_SETTINGS, SECTION_OVERRIDES, and resolveSectionMotionProfile; per-breakpoint timeline/trigger enable profiles (private MOTION_PROFILES) plus section-specific variant overrides.
- scrolltriggers
- Configuration — defines SCROLL_DEFAULTS, the base ScrollTrigger config every section trigger spreads. Section trigger configs live in each organism's *Triggers.js.
ix/presets
- Section motion presets
- Timing and transform values for each section's animation, one file per area.
- presets/awards
- Awards motion preset — AWARDS_INTRO, the intro timing (with a separate gelDuration) for the award-motion variants.
- presets/background
- Background motion presets — BACKGROUND_ANIMATION_DEFAULTS, BACKGROUND_PERSPECTIVE (two-point tilt rest pose) and BACKGROUND_GRID_REVEAL (the intro's right-to-left cell reveal) for the background video section.
- presets/card
- Card motion preset — CARD_PARALLAX, the lg+ body-parallax offsets used by the card-motion parallax molecule.
- presets/hero
- Hero motion presets — HERO_INTRO_HOLD (beat between video:intro:complete and the hero intro), HERO_INTRO, HERO_MISSION_REVEAL, and HERO_OUTRO.
- presets/organizations
- Organizations motion preset — ORGANIZATIONS_ANIMATION_DEFAULTS, including per-item viewport-threshold reveal values.
- presets barrel
- Barrel — re-exports every section motion preset in config/ix/presets/; ix.js re-exports this so the config index barrel exposes all presets.
- presets/project-header
- Project header motion preset — PROJECT_HEADER_ANIMATION, the scrubbed hero-image parallax on project pages.
- presets/text-split-reveal
- Text split reveal preset — TEXT_SPLIT_REVEAL, the default from/to vars for the text-split-reveal atom (renamed from HERO_LANDING).
- presets/work
- Work motion preset — WORK_ANIMATION_DEFAULTS, including per-item viewport-threshold reveal values.