Skip to main content

choreography

Organisms

A page section's motion, as one unit. Each folder holds a controller that extends `AbstractSection`, an animations module that builds its timelines, and a triggers module that holds its ScrollTrigger settings.

What’s here

How it connects

See also

Modules

index
Organisms barrel — re-exports all section controllers, animation modules, trigger modules, and organism utilities.

awards

Awards
Awards section controller — manages lifecycle, scroll-threshold item reveals, and bus coordination for the recognition section.
AwardsAnimations
Awards animations module — builds section-header intro/outro timelines, a two-gel backing composition with full-page scroll track, and a scroll-threshold reveal group for award items.
AwardsTriggers
Awards triggers module — supplies AWARDS_TRIGGER to AbstractSectionTriggers and overrides bind() to inject the intro timeline as the ScrollTrigger animation ONLY when scrubbed; pin and scrub are currently off, so the lifecycle (onEnter → playIntro) owns the reveal.

background

BackgroundVideo
Background video section controller — owns the fullscreen video's playback and broadcasts its playstate as video:media:* events, and holds the section in its static two-point perspective rest pose from before the reveal, owning gel_video, which the intro snaps visible inside a clip-path whose cells the intro pops open right to left; the deferred src is assigned by js/preloader/deferred-videos.js, which cues this section via preloader:video:hydrated.
BackgroundVideoAnimations
Background video animations module — builds the empty landing and the grid-reveal intro timelines (the landing clips the grid element to nothing, the intro pops cells into the clip-path), the idle timeline whose progress marks the static two-point perspective rest pose of the section root, and the gel_video and clip-removal snaps.
BackgroundVideoEvent
Frozen snapshot payload carried by every video:media:* event — video element playstate, section lifecycle phase, and document readiness, built at emit time.
BackgroundVideoTriggers
Background video triggers module — defines and exports BACKGROUND_TRIGGER (SCROLL_DEFAULTS + id SELECTORS.video) and supplies it to AbstractSectionTriggers.

card

Card
Card organism — manages responsive scroll motion (clip/fade/parallax/throw) for a single project card via gsap.matchMedia; the `static` (dev baseline, motion off) and `reduced` (a11y) variants both apply the shared clearProps:all reset so the card renders CSS-only, as if no JS ran. Variant resolved per breakpoint via resolveSectionMotionProfile; `?cardVariant=` overrides it live.
CardManager
Card manager — discovers all card root elements in the DOM and instantiates a Card controller for each.
CardTriggers
CardTriggers — context sidecar (auto-created; expand with the file's real responsibility).

hero

Hero
Hero section controller — manages lifecycle and bus coordination for the hero/introduction section.
HeroAnimations
Hero animations module — builds the intro timeline for the hero section using HERO_INTRO motion defaults.
HeroTriggers
Hero triggers module — supplies HERO_TRIGGER to AbstractSectionTriggers and overrides bind() to inject the intro timeline as the ScrollTrigger animation ONLY when scrubbed; pin and scrub are currently off, so the lifecycle (onEnter → playIntro) owns the reveal. bind() also creates a second, dedicated ScrollTrigger (hero-outro-pin) that pins the section root for HERO_OUTRO.pinRatio × viewport height and scrubs the outro timeline (line fade) to completion, snapping to each beat's label. bind() also creates one scrubbed hero-band-parallax-<index> trigger per band that holds an image (band-motion/parallax), and one unpinned hero-statement-<index> trigger per statement section (not the header) that plays the statement's SVG reveal when its top is 60% down the viewport. kill() tears them down.

organizations

Organizations
Organizations section controller — manages lifecycle and bus coordination, and gates the logo marquee on reduced motion and visibility.
OrganizationsAnimations
Organizations animations module — the idle timeline is the logo marquee; the header intro/outro and item reveal group are still commented out.
OrganizationsTriggers
Organizations triggers module — ORGANIZATIONS_TRIGGER for the section lifecycle, plus a separate marquee visibility trigger.

process

Process
Process section controller — wires the process section into the AbstractSection lifecycle and drives the motion variant per breakpoint. Mirrors Hero.js: accepts and forwards `gelManager` to ProcessAnimations (for the gel_process section-gel band, which covers the full section); `_applyResponsiveLifecycle` resolves the section motion profile and rebuilds the animations with the resolved variant (`blockframes` at every breakpoint, `reduced` under prefers-reduced-motion).
ProcessAnimations
Process animations module — variant-driven intro/idle/outro timeline builder. Selects the active variant from PROCESS_VARIANT_FACTORIES (default `blockframes`) and delegates buildIntro/buildOutro to it, passing through the injected gelManager; the idle phase is an empty timeline. Mirrors HeroAnimations.
ProcessTriggers
Process triggers module — EMPTY PLACEHOLDER inheriting SCROLL_DEFAULTS from AbstractSectionTriggers; no custom scroll trigger config.

work

Work
Work section controller — manages lifecycle and triggers reveal updates for the work/projects section.
WorkAnimations
Work animations module — builds intro, idle, and outro timelines for the work section using config/index imports.
WorkTriggers
Work triggers module — creates the work section scroll trigger and pinned work header.