Accessibility
Colour contrast of the palette on the site's paper and ground, and how the choreography honours reduced motion.
Colour contrast
Every colour's contrast ratio is worked out from the theme's hex values against two grounds: paper (neutral-50, #f8fafc) and the page ground (neutral-950, #020618). These are the same figures the colour page shows beside each swatch. Body text needs 4.5:1; large text and UI shapes need 3:1.
Against paper
| Step | primary | secondary | tertiary | accent | neutral |
|---|---|---|---|---|---|
| 50 | 1:1 | 1:1 | 1:1 | 1:1 | 1:1 |
| 100 | 1.1:1 | 1.1:1 | 1.2:1 | 1:1 | 1:1 |
| 200 | 1.3:1 | 1.4:1 | 1.4:1 | 1:1 | 1.2:1 |
| 300 | 1.6:1 | 1.8:1 | 2:1 | 1.1:1 | 1.4:1 |
| 400 | 2:1 | 2.6:1 | 3.1:1 · AA large | 1.3:1 | 2.5:1 |
| 500 | 2.5:1 | 3.3:1 · AA large | 3.8:1 · AA large | 1.6:1 | 4.6:1 · AA |
| 600 | 3.7:1 · AA large | 4.1:1 · AA large | 6.9:1 · AA | 2.4:1 | 7.2:1 · AA |
| 700 | 5.5:1 · AA | 5.8:1 · AA | 9:1 · AA | 3.9:1 · AA large | 9.9:1 · AA |
| 800 | 6.5:1 · AA | 8:1 · AA | 11.1:1 · AA | 5.8:1 · AA | 14:1 · AA |
| 900 | 8.8:1 · AA | 9.9:1 · AA | 12.9:1 · AA | 7.6:1 · AA | 17:1 · AA |
| 950 | 13.1:1 · AA | 15.6:1 · AA | 16.7:1 · AA | 13.3:1 · AA | 19.3:1 · AA |
Against the ground
| Step | primary | secondary | tertiary | accent | neutral |
|---|---|---|---|---|---|
| 50 | 18.9:1 · AA | 18.7:1 · AA | 18.6:1 · AA | 19.8:1 · AA | 19.3:1 · AA |
| 100 | 17.6:1 · AA | 17:1 · AA | 16.5:1 · AA | 19.2:1 · AA | 18.4:1 · AA |
| 200 | 15.3:1 · AA | 13.8:1 · AA | 13.4:1 · AA | 18.4:1 · AA | 16.4:1 · AA |
| 300 | 12.3:1 · AA | 10.5:1 · AA | 9.5:1 · AA | 16.9:1 · AA | 13.6:1 · AA |
| 400 | 9.8:1 · AA | 7.4:1 · AA | 6.2:1 · AA | 15.3:1 · AA | 7.7:1 · AA |
| 500 | 7.6:1 · AA | 5.9:1 · AA | 5.1:1 · AA | 12.4:1 · AA | 4.2:1 · AA large |
| 600 | 5.1:1 · AA | 4.6:1 · AA | 2.8:1 | 8.1:1 · AA | 2.7:1 |
| 700 | 3.5:1 · AA large | 3.3:1 · AA large | 2.1:1 | 4.9:1 · AA | 1.9:1 |
| 800 | 2.9:1 | 2.4:1 | 1.7:1 | 3.3:1 · AA large | 1.4:1 |
| 900 | 2.2:1 | 1.9:1 | 1.5:1 | 2.5:1 | 1.1:1 |
| 950 | 1.5:1 | 1.2:1 | 1.2:1 | 1.4:1 | 1:1 |
Semantic colours
For invalid states, use semantic-fail. On paper, semantic-fail and semantic-success fall short of 4.5:1 (the table below), which is why the contact form's status text uses tertiary-600 and secondary-700.
| Colour | Paper | Ground |
|---|---|---|
semantic-change | 4.8:1 · AA | 4:1 · AA large |
semantic-fail | 4.1:1 · AA large | 4.6:1 · AA |
semantic-success | 3.8:1 · AA large | 5.1:1 · AA |
Reduced motion
Reduced motion always wins. When the visitor's system asks for it, every section resolves the reduced profile, whatever the breakpoint (see Profiles). ReducedMotionHandler is the authority for the system preference.
Rules
These come from the motion accessibility policy, specs/animation/motion-accessibility-policy.md.
R1 — Respect reduced motion
If prefers-reduced-motion: reduce:
- Never attach scroll-driven narratives (scrub, pin, parallax).
- Never run continuous motion (loops, perpetual keyframes).
- Never apply large movement distances.
- Prefer static final state, or fade-only if essential.
R2 — Motion must not be required for understanding
- Content and state must be clear without animation.
- Any motion used to indicate state must be paired with non-motion cues:
- text, iconography, ARIA state, layout/state changes.
R3 — Keep transforms GPU-friendly
Prefer animating:
opacity,transform(translate/scale/rotate), andfilter(sparingly) Avoid animating:- layout properties (
top/left/width/height) unless unavoidable and controlled. If height animation is required: - Use a controlled strategy (GSAP measurement or CSS technique) and test reduced-motion behavior.
R4 — Avoid surprise and disorientation
- Avoid rapid flashes, sudden large translations, or high-frequency motion.
- Avoid “camera movement” effects (large parallax, aggressive zoom) unless explicitly requested and disabled for reduced motion.
R5 — Always provide teardown for JS motion
Any GSAP scene must support:
init()andkill()(or equivalent).- Clean up ScrollTriggers, observers, and inline styles if applied.
- Be resilient to re-init (e.g., partial navigation, re-render).
Media conditions
The conditions gsap.matchMedia evaluates, from config/ix/breakpoints.js:
| Key | Media query |
|---|---|
base | (max-width: 39.999rem) |
sm | (min-width: 40rem) and (max-width: 47.999rem) |
md | (min-width: 48rem) and (max-width: 63.999rem) |
lg | (min-width: 64rem) and (max-width: 79.999rem) |
xl | (min-width: 80rem) |
reduceMotion | (prefers-reduced-motion: reduce) |
motionOk | (prefers-reduced-motion: no-preference) |
Settings
ACCESSIBILITY_SETTINGS, from config/ix/profiles.js:
| Key | Value |
|---|---|
testReducedMotion | false |
Documentation coverage
Every module that binds a ScrollTrigger or branches on reduced motion, and whether its sidecar says what happens. "Section" means the sidecar has a ## Reduced motion heading; "Mentioned" means the notes cover it somewhere else. The code columns are a text search of the source, so treat them as a prompt to look, not as proof.