# Cadence — a planning app shown as five glass layers that fan apart and fold into one screen
> Paste this whole prompt as one message into a new, empty project.
## 1. Role and goal
You are a senior creative developer and art director. Build the complete one-page site of **Cadence**, a planning app for product teams, production-ready, in one pass. One idea carries it: the product **is** the hero. Its interface is split into **five stacked translucent layers** (01 Timeline, 02 Tasks, 03 Owners, 04 Comments, 05 Insights). The layers are real DOM panels in CSS 3D, so their text stays crisp and clickable; behind them one WebGL canvas draws a slow violet gradient field and, exactly under every panel, its glass (milky body, refraction of the field, a lit rim, a sheen that follows the pointer) and the soft shadow it casts on the layer below. The stack tilts toward the pointer and opens its gaps when the pointer comes near. A pinned scroll moves it into an exploded isometric view, lifts the five layers one by one beside a caption, then **folds them back into one flat, complete screenshot of the app** ("Five layers. One screen."), which leaves with the page as the next chapter wipes in. Then a horizontal week of rituals, an ink chapter driven by the scroll, pricing, questions and a dark footer with a giant fitted wordmark. Follow the numbers exactly: they are the design. Where this text and the reference code disagree, the code wins.
## 2. Stack and constraints
- **Stack:** Next.js (App Router) with TypeScript and Tailwind CSS v4 (`@import "tailwindcss";`, tokens in `@theme`); three with @react-three/fiber (the scene needs only `Canvas`, `useFrame`, `useThree` and `advance`; @react-three/drei is installed but not required); gsap with ScrollTrigger; lenis; lucide-react for icons (ArrowDown, ArrowRight, ArrowUpRight, Bell, CalendarRange, Check, ChevronDown, ListChecks, Menu, MessageSquare, Plus, Repeat, Search, Sparkles, Users, X). No UI kit, nothing else.
- **Fonts:** Plus Jakarta Sans (variable, 380 to 780 used) for everything, Geist Mono (variable, 400 to 500) for labels, numbers in the app and chips. Load both with `next/font` (or the self-hosted `@fontsource-variable/plus-jakarta-sans` and `@fontsource-variable/geist-mono` packages in a Vite project), Latin subset only. Wait for both faces (`document.fonts.load('700 1em "Plus Jakarta Sans"')`, the 400 weight and Geist Mono) before starting the intro and before measuring scroll positions.
- **The stage** (canvas + DOM layers) is a client component; the canvas part is loaded without server rendering (`dynamic(() => import("./scene/Scene"), { ssr: false })`). There is **one** WebGL canvas for the whole page.
- **No external assets: every visual is generated in code.** Nothing is fetched from another host: no images, no video, no models, no fonts from a CDN. Forbidden because they download files: drei `Environment` with `preset` or `files`, `useGLTF`, `useTexture` with a URL, drei `<Text>` without a local font file, any `<link>` or CSS `@import` to a font or script host. The "screenshot" of the app is the five live DOM layers; the glass, shadows and the gradient are shaders.
- **One page.** Links are in-page anchors scrolled by lenis (1.4 s, ease-out quart `1 − (1 − t)^4`) or buttons; nothing opens a new tab; no `alert`, no `window.top`; the native scroll is never blocked or hijacked (lenis smooths it, ScrollTrigger pins).
- **One clock.** Everything that changes with time or with the scroll (intro, reveals, the stack pose, captions, the navigation plate, the theme, the track) is driven by GSAP or by the frame loop on the GSAP ticker. CSS transitions are for hover and focus states only, and never on a property whose value follows the scroll theme.