Objective
Present the studio's services and case studies through scroll-driven motion.
One-page home with a sticky scroll sequence, expandable capability and process cards, and a client section. Case study pages are generated from a JSON data file, each with a hero, insight cards and an image carousel.
Challenges
- 01Sequencing text and images across a long scroll without page navigation
- 02Cards must work with hover on desktop and tap on touch screens
- 03The desktop sticky sequence does not fit small screens
How it was solved
- 01Sticky container driven by Framer Motion scroll progress values
- 02Pointer media queries switch each card between hover and tap
- 03Separate mobile section with in-view reveals instead of scroll-linked motion
Overview
Sonámbulo is a creative studio working in branding, route-to-market strategy and digital products. The site is a Spanish one-page home plus a page per case study.
Technical Implementation
Scroll sequence
On desktop, the About section pins a sticky viewport and maps scroll progress to the opacity, position, scale and rotation of each text block. Lenis smooths wheel scrolling.
Input-aware cards
Capability and process cards expand on hover with a fine pointer and toggle on tap on touch devices. Both respond to Enter and Space and expose aria-expanded.
Case studies
Routes under /portfolio/[slug] read from a JSON file and build metadata and Open Graph images per client.
Cursor and motion
A custom cursor follows the pointer with spring physics and changes state over links, buttons and images. CSS animations stop under prefers-reduced-motion.
Features
- Sticky scroll About sequence on desktop
- Expandable capability and process cards
- Case study pages with insight cards and image carousel
- Custom animated cursor
- Smooth scrolling
Technologies
- Next.js
- React
- TypeScript
- Framer Motion
- Tailwind CSS
- SCSS
- Lenis
