templates
LandingSequence
Page narrative flow — choreographs the complete landing page animation sequence by listening to AnimationBus events and coordinating section transitions.
Narrative pacing for the homepage. Owns no DOM and no ScrollTrigger — it listens on AnimationBus and cues section lifecycle methods in order.
Methods
_onPreloaderOut()— thepreloader:outhandler:start(), unless a debug hold applies_isHeld(hold)— whether?hold=names aLANDING_HOLDSpoint; logs how to resumestart()— stage the video’s landing state, then latch it_cueVideoIntro()— join the two latches; run the video intro once_startVideoIntro()— fade the background video in_armHeroIntro()— hold a beat, then play Hero’s intro_pauseBackgroundVideo()/_resumeBackgroundVideo()— Hero-scoped playback gate_registerListeners()— subscribe to the bus events belowreset()/destroy()
Debug hold
?hold=preloader-out stops the chain where it would start: the preloader lifts,preloader:out fires, and LandingSequence does not call start(). Only the
page background shows. The logger prints the hold and how to resume:
window.director.getSequence().start();
That continues the normal chain. The video-settled listener is registered in
the constructor and keeps listening during the hold, so a settle that arrived
while held is already latched and start() joins it in _cueVideoIntro.
Holds are listed in LANDING_HOLDS (URL value plus resume hint) and read withgetLandingHold(), modeled on getCardVariantOverride() inconfig/ix/profiles.js (SSR-safe, URLSearchParams). To add another point,
add an entry and check it with _isHeld() where the chain passes that point.
Events
preloader:out(window) — the preloader completes its outrovideo:media:playing|error|unavailable— the background video settles;video:media:readycounts only under reduced motionvideo:intro:complete— the background video completes its introhero:enter— the hero section enters the viewhero:onEnterBack— the hero section backs into the viewhero:onLeaveBack— the hero section backs out of the viewhero:exit— the hero section exits the view (either direction)
Sequence
Each Visitor note says what is on screen at that point; the rest is the mechanism behind it. Phase 1 is the landing chain: two latches join in _cueVideoIntro, then the video intro, the hold, and the hero intro run in series. Phase 2 is Hero’s ScrollTrigger gating background-video playback.
sequenceDiagram
autonumber
actor U as Visitor
participant W as window / Preloader
participant Bus as AnimationBus
participant LS as LandingSequence
participant Video as BackgroundVideo (sections.video)
participant G as gsap.delayedCall
participant Hero as Hero (sections.hero)
participant Hdr as BadgeManager
Note over LS: constructor: listen once for preloader:out on window,<br/>then subscribe to Bus events (_registerListeners)
Note over U: First visit: the preloader splash (logo and subtitle) fills<br/>the screen and scrolling is locked.<br/>Return visit: no splash, the page paints straight away.
rect rgba(120,120,120,0.08)
Note over U,Hdr: Phase 1. Landing chain. Two latches (A and B), arrival order not fixed
par Latch A: video settles (usually first, before preloader:out)
Note over U: Still the splash. Behind it the video hydrates<br/>and starts playing, out of sight.
Video-)Bus: video:media:playing | error | unavailable<br/>| ready (counts only if reduced motion)
Bus->>LS: settled handler
LS->>LS: _videoMediaSettled = true
LS->>LS: _cueVideoIntro() (returns early until B is set)
and Latch B: preloader hands off
Note over U: The splash plays its exit and lifts.
W-)LS: preloader:out
LS->>LS: start(), remove window listener
LS->>Video: await playLanding() (stage autoAlpha 0)
Video-->>LS: resolved (errors are logged and swallowed)
Note over U: Page is up, but the video is held invisible.
LS->>LS: _videoLandingStaged = true
LS->>LS: _cueVideoIntro()
end
Note over LS: Both latches set and _videoIntroCued is false,<br/>so set _videoIntroCued = true
LS->>Video: await playIntro() (gel_video fades in, then the video; play() as safety net)
Note over U: The gel_video gel fades in, then the background video<br/>fades in already darkened and in motion, never a frozen poster frame.
Note over Video: Move to idle: the tilt (perspective tiers) is applied<br/>statically; video:intro:complete follows, gel fully visible
Note over U: The background rests in perspective with the video already<br/>darkened by gel_video (narrow screens: no tilt).
Video-)Bus: video:intro:complete
Bus->>LS: introComplete handler
LS->>LS: _videoIntroComplete = true
LS->>G: _armHeroIntro(): delayedCall(hold)<br/>hold = 0 if reduced motion, else HERO_INTRO_HOLD.delay
Note over U: A short beat: the video plays on its own.
G-->>LS: hold elapsed, _heroHoldCall = null
LS->>Hero: playIntro()
Note over U: The manifesto arrives: its context line rises and fades in,<br/>the title's letters cascade up into place, then the keywords<br/>"just", "informed" and "engaged" light up in secondary-600.
Hero-)Bus: hero:intro:complete (chain ends)
Bus->>Hdr: _reveal()
Note over U: The site header slides down from the top edge.<br/>From now on it hides on scroll down and returns on scroll up.
end
Note over U: Reduced motion: no splash animation, the video shows<br/>a still frame, the manifesto appears at rest, and the<br/>header appears without sliding. The same events still fire.
rect rgba(120,120,120,0.08)
Note over U,Hdr: Phase 2. Hero ScrollTrigger controls video play/pause
Hero-)Bus: hero:enter (also fires at load)
Bus->>LS: _heroLeftBackwards = false
LS->>LS: _resumeBackgroundVideo()
alt reduced motion OR video intro not yet complete
LS-->>LS: no-op (landing chain still owns playback)
else
LS->>Video: videoEl.play() (rejection ignored)
end
Hero-)Bus: hero:onEnterBack
Bus->>LS: _heroLeftBackwards = false
LS->>Video: _resumeBackgroundVideo() (same gate)
Note over U: Scrolling back up into the manifesto, the video moves again.
alt Scroll down past Hero
Hero-)Bus: hero:exit
Bus->>LS: _heroLeftBackwards is false
LS->>Video: videoEl.pause() (holds last frame for gel blend)
Note over U: Past the manifesto, the video freezes on its last frame.<br/>The backdrop and the colour blend over it look unchanged,<br/>just still.
else Scroll up above Hero's start
Hero-)Bus: hero:onLeaveBack
Bus->>LS: _heroLeftBackwards = true
LS->>Video: _resumeBackgroundVideo() (same gate)
Hero-)Bus: hero:exit (sent right after, dispatch is synchronous)
Bus->>LS: _heroLeftBackwards is true, so clear it and return (no pause)
Note over U: Back at the top of the page, the video keeps playing.
end
end
Note over LS: destroy(): kill _heroHoldCall, reset all flags,<br/>unsubscribe Bus listeners, clear references
Reduced motion
- The landing hold is zero:
_armHeroIntrowaits 0 instead ofHERO_INTRO_HOLD.delay, so the hero intro followsvideo:intro:completewith no beat. - A gated profile still emits the
…:intro:completeevents.AbstractSectionjumps the intro toprogress(1), so the chain completes without motion instead of stalling. - Under reduced motion
_resumeBackgroundVideois a no-op, so Hero’s scroll gate never resumes the background video.
Motion strategy
flowchart TD
subgraph boot["Boot gates — never bypass"]
DCL["DOMContentLoaded, idle-deferred"] --> AD["AnimationDirector: bus, ScrollEffectsCoordinator,<br/>CardManager, SECTION_REGISTRY, managers, LandingSequence"]
AD --> DR{{"window: director:ready"}}
DR --> PRE["Preloader: fonts, director gate (8s timeout),<br/>hydrate video, await video settled, exit animation"]
PRE --> PO{{"window: preloader:out"}}
end
subgraph chain["Serial landing chain"]
direction TB
VS{{"bus: video:media:playing / error / unavailable<br/>(ready only under reduced motion)"}} --> LA["latch A: _videoMediaSettled"]
PO --> START["LandingSequence.start<br/>await video.playLanding — hidden resting state"]
START --> LB["latch B: _videoLandingStaged"]
LA --> CUE{"_cueVideoIntro<br/>both latches set? not yet cued?"}
LB --> CUE
CUE --> VID["_startVideoIntro<br/>video.playIntro — gel_video fade, then video fade"]
VID --> IDLE["BackgroundVideo move to idle<br/>tilt (perspective tiers), applied statically"]
IDLE --> VIC{{"bus: video:intro:complete<br/>held until the tilt settles"}}
VIC --> BEAT["_armHeroIntro<br/>gsap.delayedCall HERO_INTRO_HOLD.delay"]
BEAT --> HERO["hero.playIntro<br/>gel_tagline is its only gel; gel_video already landed with the background"]
HERO --> BIC{{"bus: hero:intro:complete — chain ends"}}
end
BIC -.->|"BadgeManager listens"| HDR["BadgeManager._reveal<br/>header slides in, scroll auto-hide arms"]
subgraph gate["Hero-scoped video playback"]
direction LR
HEROST["hero ScrollTrigger"] -->|"enter / onEnterBack / onLeaveBack"| RES["_resumeBackgroundVideo<br/>no-op under reduced motion or before video intro completes"]
HEROST -->|"exit, unless preceded by onLeaveBack"| PAU["_pauseBackgroundVideo<br/>holds last frame"]
end
subgraph scroll["Out of band — self-driven by their own ScrollTriggers"]
direction LR
WORK["work"]
ORGS["organizations"]
AWARDS["awards"]
end
RM["Reduced motion"] -.->|"hold zero, intros jump to progress 1,<br/>events still emit — chain stays intact"| chain
Why it is shaped this way
- The reveal is cued off the video’s own media events. It used to be
home:outro:completefrom HomeHeaderManager. That manager was first dropped from AnimationDirector, then deleted, so nothing emitted the cue and the video sat at autoAlpha 0. Thevideo:media:*events always arrive (BackgroundVideo emits exactly one per path, with a 4 s failsafe), andplayingmeans frames are moving, so the fade never reveals a still poster. - Two latches, one join. The video usually settles before
preloader:out— the preloader holds its splash until the video reports. A timed-out director gate or a late video error can invert that._cueVideoIntrowaits for both the settled event andplayLanding(), whichever comes last, and_videoIntroCuedmakes it run once. playLanding()is awaited before latch B is set. Revealing whileplayLanding()is still tweening toward autoAlpha 0 would be undone by it.- The chain ends at
hero:intro:complete. BadgeManager listens for it on home and reveals the header as the final beat. Pages without a hero reveal the header immediately. - Every link is an event, not a call. Cross-section coordination goes through
AnimationBuswithEVENTSconstants —LandingSequencenever reaches into an organism’s internals beyond its publicplay*methods andvideo.videoEl. - Timers are
gsap.delayedCall, neversetTimeout— ticker-synced, pausable, killable indestroy(). - Hero’s reveal is disengaged from scroll; its ScrollTrigger gates video playback. The video plays while Hero is on screen and pauses once you scroll past it. Only play/pause changes — the gels in
#sizzle-backgroundblend against the video’s painted frame, so a paused video holds the composite unchanged. exitis not directional.AbstractSection._onLeaveBackemitsonLeaveBackand thenexit. TheonLeaveBacklistener sets_heroLeftBackwardsso theexitthat follows skips the pause; scrolling up above Hero is the landing, where the video should keep playing.- No scroll-driven resume before the video intro completes. Hero’s ScrollTrigger fires
enterat load; resuming on it would start the video underneath its own reveal. - The full-bleed gel arrives with the background, not with hero.
gel_videofades in as the first step of BackgroundVideo’s intro, before the video does, so the video is already darkened when it appears (it replaced the hero’s full-bleed gel on 2026-11-24). Hero keeps onlygel_tagline. So the chain goes straight from the hold tohero.playIntro(). See BackgroundVideo.md.
Known drift
- The constructor comment
DISABLED INITIAL PRELOADER LISTENER FOR STYLING WORK ON PRELOADER VIEWinLandingSequence.jsis stale — thepreloader:outlistener is active. - The badge replaced the global header on 2026-11-17 and renders on the homepage, so the final beat above (
hero:intro:complete→BadgeManager._reveal) runs there again. See homepage-initialization.