dreative 0.5.2 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,8 @@ Universal foundation: ux and baseline mobile apply to every web page.
6
6
 
7
7
  Follow `../references/SKILL_CONTRACT.md`. Dependency: `ux`. This skill is
8
8
  universal for web work. Deliver a section-by-section mobile translation, touch
9
- targets, responsive media/effect budgets, and approximately 390px verification.
9
+ targets, responsive media/effect budgets, a page-level mobile blueprint, and
10
+ 390×844 plus 320px verification.
10
11
  It is never satisfied by shrinking desktop. Done means navigation, content,
11
12
  forms, orientation/viewport behavior, performance, and reduced motion pass on a
12
13
  coarse pointer.
@@ -34,6 +35,10 @@ choreography.
34
35
  screenful like one (hero = one headline + one visual + one CTA, nothing
35
36
  else). If a desktop section held three things, the mobile version stacks
36
37
  them as three clean beats or cuts to the strongest one.
38
+ - **Task pages are task-first.** The first viewport exposes what the user needs
39
+ to act, the current state, and the primary action. Supporting explanation
40
+ follows; promotional or decorative panels never block the task without a
41
+ page-specific reason recorded in the blueprint.
37
42
  - **Tidy is the aesthetic.** Consistent gutters (20-24px), one column
38
43
  discipline, generous vertical rhythm (56-80px between sections), no element
39
44
  closer than 8px to another. Clutter reads twice as loud at 390px.
@@ -61,33 +66,34 @@ choreography.
61
66
  rows), contact/socials in the footer of the overlay. Wired per ux.md §1
62
67
  (focus trap, scroll lock, Esc/back closes).
63
68
 
64
- ## 2. Motion on mobile (still premium, never crazy)
69
+ ## 2. Motion on mobile (shorter, lighter, still authored)
65
70
 
66
71
  The motion inventory scaled to touch (extends motion.md §5):
67
72
 
68
- - **Keep**: one composed hero entrance (≤ 600ms total), line-mask headline
69
- reveals, in-view section reveals (2-3, `once: true`), press states on
73
+ - **Keep**: the experience's defining transformation in a shorter form when it
74
+ remains readable, plus line-mask headline reveals, selected in-view moments,
75
+ and press states on
70
76
  EVERYTHING tappable (`active:scale-[0.98]` — on mobile this is the main
71
77
  interaction feedback, since hover doesn't exist), marquees (pause
72
78
  off-screen), counters, accordion springs.
73
79
  - **Translate**: parallax halves or dies (§13); pinned sequences → short
74
- sticky sections (≤ 1.5 viewports) or plain stacked beats; hover-woken media
80
+ measured sticky sections, clip-path/layer handoffs, or plain stacked beats; hover-woken media
75
81
  → in-view-woken (loop plays while ≥ 60% visible, pauses off-screen) or
76
82
  tap-to-play; magnetic/cursor effects → gone entirely, replaced by press
77
83
  feedback; drag-to-explore → swipe carousel or index list as PRIMARY
78
84
  (DESIGN.md §13).
79
- - **Ban on mobile**: smooth-scroll libraries at full strength (Lenis: disable
80
- or `syncTouch` carefully — fighting native momentum feels broken), more than
81
- one scrubbed sequence, simultaneous animation of > 4 elements, any effect
82
- that drops the scroll below 60fps on a mid-range phone.
85
+ - **Avoid on mobile**: smooth-scroll libraries at full strength (Lenis: disable
86
+ or `syncTouch` carefully — fighting native momentum feels broken), competing
87
+ scrubbed sequences, dense simultaneous animation, and any effect that misses
88
+ the measured frame-time target on a mid-range phone.
83
89
  - Scroll reveals trigger earlier (`margin: "-10% 0px"` not -20%) — mobile
84
90
  viewports are short and users scroll fast; late reveals = users see blank.
85
91
 
86
92
  ## 3. 3D and heavy media on mobile
87
93
 
88
- - Default: replace live 3D with the poster or a pre-rendered loop (3d.md §5,
89
- media.md). A generated video loop IS the mobile 3D strategy in most cases —
90
- visually near-identical, thermally free.
94
+ - Choose from a simplified live scene, a pre-rendered loop, layered DOM/SVG, or
95
+ an intentional poster composition according to concept and measured device
96
+ cost (3d.md §5, media.md). Do not simply erase the defining moment.
91
97
  - If live 3D ships: dpr capped at 2, sim/particle counts halved, post-FX off,
92
98
  `frameloop="demand"` where possible, pause on scroll-out and
93
99
  `document.hidden`. Test the thermal story: 30s of idling must not heat the
@@ -122,7 +128,7 @@ At 390×844 (plus one small check at 320px):
122
128
  3. Scroll the full page fast: reveals keep up, nothing janks, sticky elements
123
129
  behave through the URL-bar resize.
124
130
  4. Confirm the motion translation shipped (§2): press states everywhere, hero
125
- 600ms, heavy effects swapped for their mobile strategy — name what runs
131
+ timing stays readable and responsive, heavy effects use their mobile strategy — name what runs
126
132
  on mobile vs desktop in the final report.
127
133
  5. If media/3D shipped: posters load, loops play inline (not fullscreen),
128
134
  pause off-screen.
@@ -35,6 +35,18 @@ the page; independent default animations do not.
35
35
 
36
36
  ## 2. Motion architecture
37
37
 
38
+ Classify motion before selecting a library:
39
+
40
+ - **Decorative:** reveals, hover response, ambient loops, and slight parallax.
41
+ - **Structural:** motion controls hierarchy, pacing, pinning, section state, or
42
+ the handoff between compositions.
43
+ - **Transformational:** imagery, type, or objects fragment, combine,
44
+ reconstruct, change form, or become the next scene.
45
+
46
+ At expressive/award, actively test key moments for structural or
47
+ transformational value. Do not call opacity/translate/scale choreography
48
+ structural merely because it is scroll-driven.
49
+
38
50
  Choose by job:
39
51
 
40
52
  - CSS transitions/animations for local states and simple decorative loops.
@@ -49,14 +61,13 @@ or velocity-aware settling; narrative motion uses deliberate timelines.
49
61
 
50
62
  ## 3. Evidence-backed creative structure
51
63
 
52
- At expressive/award, satisfy `motion.expressive.diversityOrDevelopment` through
53
- one plan path:
64
+ At expressive/award, satisfy `motion.expressive.architecture` through one plan
65
+ path without mechanism quotas:
54
66
 
55
- - **Diversity:** at least four distinct mechanisms across three input drivers.
56
- Reusing one mechanism more than twice is a warning that the system is shallow.
57
- - **Development:** one coherent signature mechanism develops through at least
58
- three materially different roles/states, supported by two quieter secondary
59
- mechanisms and at least two drivers.
67
+ - **Diversity:** use the concept-related mechanisms and drivers needed to shape
68
+ the journey, joined by one motion language.
69
+ - **Development:** evolve one coherent signature mechanism through materially
70
+ different roles/states, with quieter supporting motion.
60
71
 
61
72
  Development is not the same reveal with different distances. A line becoming
62
73
  navigation, data plot, and scene boundary qualifies; fade-up repeated across
@@ -66,6 +77,10 @@ three sections does not.
66
77
 
67
78
  - Build a timeline for the whole journey: setup, anticipation, peak, rest,
68
79
  transformation, resolution.
80
+ - Concentrate technical and visual complexity in a small number of hero moments;
81
+ keep reading sections calm so those moments land.
82
+ - Prefer composition handoffs: let a mask, object, layer, grid, or typographic
83
+ structure from one scene become material for the next.
69
84
  - Entrances orient; they are not the design. Key media and signatures respond to
70
85
  input or develop state.
71
86
  - Scroll links progress to meaning. Clamp/damp velocity and avoid raw scroll
@@ -78,12 +93,34 @@ three sections does not.
78
93
 
79
94
  ## 5. Planning and verification
80
95
 
96
+ Before implementation, complete the section-level motion treatment in the plan:
97
+ static composition, start/end state, changes, pinned elements, handoff, purpose,
98
+ mechanism, mobile translation, and reduced-motion state. Choose the simplest
99
+ mechanism that produces the intended transformation convincingly; CSS is valid,
100
+ and WebGL/3D is never required as a creativity badge.
101
+
102
+ Run the anti-default review before approval: identify whether imagery only
103
+ fades/scales/slides, sections reveal independently, the page lacks a composition
104
+ handoff, motion merely introduces rather than changes state, the system could fit
105
+ an unrelated brand, or nothing is memorable. Revise expressive/award plans that
106
+ remain generic.
107
+
108
+ Weak treatment: “hero scales in, heading fades up, cards stagger, sections
109
+ reveal.” Strong treatment: “the isolated subject stays pinned while its depth
110
+ layers separate; the headline compresses into a mask; that mask tiles the scene
111
+ into the next section; mobile uses a short clip-path handoff.” Copy neither
112
+ literally—match that level of state change and continuity to the brief.
113
+
81
114
  For each moment record element, trigger/driver, purpose, state range, duration or
82
115
  spring, mobile translation, reduced-motion behavior, fallback, and evidence.
83
116
 
84
117
  Runtime proof includes changing transforms/uniforms/state at two timestamps,
85
118
  trigger positions, tested scroll-back, hidden-tab recovery, cleanup after route
86
119
  changes, mobile viewport, reduced motion, console count, and frame-time sampling
87
- for heavy work. A static screenshot cannot prove choreography.
120
+ for heavy work. Visually inspect initial, early, mid-transition, final, handoff,
121
+ mobile, and reduced-motion states; add pinned midpoint/exit when relevant. Check
122
+ readability, continuity, collisions, empty frames, timing, concept expression,
123
+ and usability. Expressive/award work requires at least one refinement after this
124
+ inspection. A static screenshot cannot prove choreography.
88
125
 
89
126
  Recipe reference: `../recipes/motion-recipes.md`, after concept exploration only.