From 8d6a9240e3a3980b32c75d976a928580836868e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?je=CC=81ro=CC=82me=20boileux?= Date: Tue, 17 Nov 2026 09:19:02 +0100 Subject: [PATCH 1/7] chore(preset): delete the unused slide and scaleProgress keyframes --- preset/keyframes.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/preset/keyframes.ts b/preset/keyframes.ts index 4a6a8c64..7e922e9c 100644 --- a/preset/keyframes.ts +++ b/preset/keyframes.ts @@ -28,14 +28,6 @@ export const keyframes = defineKeyframes({ from: { height: 'var(--height)' }, // Ark UI provides --height CSS variable to: { height: 0 }, }, - slide: { - '0%': { left: 0 }, - '100%': { left: '-100%' }, - }, - scaleProgress: { - '0%': { transform: 'scaleX(0)' }, - '100%': { transform: 'scaleX(1)' }, - }, 'float-cursor': { '0%, 100%': { transform: 'translate(430px, 430px) rotate(-10deg)' }, '50%': { transform: 'translate(440px, 420px) rotate(-5deg)' }, From 3fb1f926568f141e240f825c8f8c6255bfd3b6ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?je=CC=81ro=CC=82me=20boileux?= Date: Tue, 17 Nov 2026 09:19:02 +0100 Subject: [PATCH 2/7] feat(preset): one global reduced-motion rule for the v1 animations Under prefers-reduced-motion: reduce, every animation jumps to its end frame and every transition is instant. Entrance animations that start at opacity 0 still show their content. The rule is !important in the base layer so it wins over the atomic utilities. Refs #316 --- preset/global-css.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/preset/global-css.ts b/preset/global-css.ts index 717f30ee..e812881e 100644 --- a/preset/global-css.ts +++ b/preset/global-css.ts @@ -28,6 +28,24 @@ export const globalCss = defineGlobalStyles({ textDecoration: 'none', }, + // Reduced motion (#316). The v1 illustrations loop and float without + // reading the visitor setting. Under `prefers-reduced-motion: reduce`, + // every animation jumps to its end frame at once, so entrance animations + // that start at `opacity: 0` still show their content, and every + // transition is instant. `!important` is required: in the base layer it + // wins over the atomic utilities, where the animations are declared. + // Components that handle reduced motion themselves already resolve to + // `animation: none` or an `instant` duration, so nothing changes for them. + '*, *::before, *::after': { + _motionReduce: { + animationDuration: 'instant !important', + animationDelay: 'instant !important', + animationIterationCount: '1 !important', + transitionDuration: 'instant !important', + transitionDelay: 'instant !important', + }, + }, + '::selection': { backgroundColor: 'yellow', color: 'dark', From 0902857f96022d3ad048c97ec7123d6dda65dc39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?je=CC=81ro=CC=82me=20boileux?= Date: Tue, 17 Nov 2026 09:19:02 +0100 Subject: [PATCH 3/7] fix(stories): stop the client logo carousel under reduced motion The carousel loops through framer-motion, which the CSS rule cannot reach. Under reduced motion the logos stand at their start position. Refs #316 --- app/components/ClientCarousel.tsx | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/app/components/ClientCarousel.tsx b/app/components/ClientCarousel.tsx index 9f1e8f31..b851748c 100644 --- a/app/components/ClientCarousel.tsx +++ b/app/components/ClientCarousel.tsx @@ -8,6 +8,7 @@ import { ASSETS_BASE_URL } from '~/config/assets'; import { OptimizedImage } from './ui/optimized-image'; +import { usePrefersReducedMotion } from '~/hooks/use-prefers-reduced-motion'; import { useWindowSize } from '~/hooks/useWindowSize'; const items = [ @@ -91,6 +92,9 @@ const ClientCarousel: React.FunctionComponent<{ }> = ({ shouldDisplayTitle }) => { const { t } = useTranslation('common'); const browserWidth = useWindowSize(); + // The CSS reduced motion rule cannot reach framer-motion: the logos stand + // still at their start position instead of looping. + const reducedMotion = usePrefersReducedMotion(); const slideWidth = useMemo( () => (itemWidth * items.length + itemGap * (items.length + 1)) * 2, @@ -144,14 +148,18 @@ const ClientCarousel: React.FunctionComponent<{ w: 'auto', px: '4', })} - animate={{ - x: [0, -delta + 'px'], - transition: { - ease: 'linear', - duration: delta / 15, - repeat: Infinity, - }, - }} + animate={ + reducedMotion + ? { x: 0, transition: { duration: 0 } } + : { + x: [0, -delta + 'px'], + transition: { + ease: 'linear', + duration: delta / 15, + repeat: Infinity, + }, + } + } > {duplicateItems.map((item, i) => (
  • Date: Tue, 17 Nov 2026 09:19:34 +0100 Subject: [PATCH 4/7] docs(j1): add the reduced-motion change to the route checklist Refs #316 --- docs/development/j1-route-review-checklist.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/development/j1-route-review-checklist.md b/docs/development/j1-route-review-checklist.md index e361c1a8..7a944869 100644 --- a/docs/development/j1-route-review-checklist.md +++ b/docs/development/j1-route-review-checklist.md @@ -29,6 +29,7 @@ These come from the preset and show up everywhere. Check them once on Home, then | Decorative blurs: 32px and 48px both become 40px (`2xl`) (#217) | | | Transitions that used `ease` or `ease-in-out` take the Panda default curve, cubic-bezier(0.4, 0, 0.2, 1); durations unchanged. Includes every `button` hover and its arrow (#217) | | | Transitions written for one or two properties now use the `colors` or `common` preset, which animates a wider property set (team member card, team photo corners, contact inputs and button, design system tokens block) (#217) | | +| Under reduced motion (`prefers-reduced-motion: reduce`), every animation jumps to its end frame and every transition is instant: nothing loops or floats, entrance content shows at once. The v2 navbar panel fade under reduced motion becomes instant too. With reduced motion off, nothing changes (#316) | | ## Routes From c0a88611d088bc0426e192b451981fd910c8d958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?je=CC=81ro=CC=82me=20boileux?= Date: Tue, 17 Nov 2026 09:39:32 +0100 Subject: [PATCH 5/7] fix(preset): keep transition delays and add a reduced-motion opt-out Review findings on the global rule. A zero transition delay made the page dim to 25% on every client navigation, so delays stay: they move nothing. An element that sets its own reduced motion behaviour opts out with data-motion-own; the navbar panel uses it to keep its fade. Refs #316 --- app/components/navbar-v2/nav-disclosure.tsx | 2 ++ preset/global-css.ts | 32 ++++++++++++--------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/app/components/navbar-v2/nav-disclosure.tsx b/app/components/navbar-v2/nav-disclosure.tsx index 9631fddd..9157cea9 100644 --- a/app/components/navbar-v2/nav-disclosure.tsx +++ b/app/components/navbar-v2/nav-disclosure.tsx @@ -251,6 +251,8 @@ export function NavDisclosure({
    Date: Tue, 17 Nov 2026 09:39:32 +0100 Subject: [PATCH 6/7] fix(about): rest the illustration cursor on its first frame Without the float-cursor loop, the SVG transform attributes applied and the arrow was clipped at the bottom of the illustration. Refs #316 --- app/components/about/data-illustration.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/components/about/data-illustration.tsx b/app/components/about/data-illustration.tsx index c1f1ff16..ed835329 100644 --- a/app/components/about/data-illustration.tsx +++ b/app/components/about/data-illustration.tsx @@ -4,6 +4,12 @@ import { css, cx } from '@ocobo/styled-system/css'; import { flex } from '@ocobo/styled-system/patterns'; import { card, text } from '@ocobo/styled-system/recipes'; +// Under reduced motion the cursor rests on the loop's first frame: without +// it, the SVG `transform` attributes apply and the arrow is clipped (#316). +const cursorAtRest = css({ + _motionReduce: { transform: 'translate(430px, 430px) rotate(-10deg)' }, +}); + export const DataIllustration = () => { const { t } = useTranslation('about'); @@ -138,7 +144,7 @@ export const DataIllustration = () => { { transform="translate(470, 455) scale(1.2)" d="M0,0 L25,40 L10,35 L0,55 Z" fill="currentColor" - className={css({ animation: 'float-cursor' })} + className={cx(css({ animation: 'float-cursor' }), cursorAtRest)} />
    From cd0f9dcd1150753fc208ddf71c400084c15b2aa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?je=CC=81ro=CC=82me=20boileux?= Date: Tue, 17 Nov 2026 09:39:32 +0100 Subject: [PATCH 7/7] docs(j1): describe the reduced-motion rule after review Refs #316 --- docs/development/j1-route-review-checklist.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development/j1-route-review-checklist.md b/docs/development/j1-route-review-checklist.md index 7a944869..02182a20 100644 --- a/docs/development/j1-route-review-checklist.md +++ b/docs/development/j1-route-review-checklist.md @@ -29,7 +29,7 @@ These come from the preset and show up everywhere. Check them once on Home, then | Decorative blurs: 32px and 48px both become 40px (`2xl`) (#217) | | | Transitions that used `ease` or `ease-in-out` take the Panda default curve, cubic-bezier(0.4, 0, 0.2, 1); durations unchanged. Includes every `button` hover and its arrow (#217) | | | Transitions written for one or two properties now use the `colors` or `common` preset, which animates a wider property set (team member card, team photo corners, contact inputs and button, design system tokens block) (#217) | | -| Under reduced motion (`prefers-reduced-motion: reduce`), every animation jumps to its end frame and every transition is instant: nothing loops or floats, entrance content shows at once. The v2 navbar panel fade under reduced motion becomes instant too. With reduced motion off, nothing changes (#316) | | +| Under reduced motion (`prefers-reduced-motion: reduce`), animations last 0ms and transitions are instant: nothing loops or floats, entrance content shows at once, loops rest on their element's own style. Transition delays stay. The navbar panel keeps its fade through `data-motion-own`. About us: the illustration cursor rests on its first frame. With reduced motion off, nothing changes (#316) | | ## Routes