# Chroma — an AI image studio whose hero is a live field of liquid paint you bend with the pointer
> 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 **Chroma**, an AI image studio, production-ready, in one pass. One idea carries it: every image on the page is **one real-time fragment shader**, a domain-warped field of glossy liquid paint, drawn live in a single WebGL canvas. In the hero it fills the screen, opens out of colour static while a prompt types itself, and **bends wherever the pointer drags it**; each new prompt re-renders it behind a circular front of noise that grows from the Generate button. On scroll the plate **flies into one tile of a gallery** whose seven other tiles (other prompts, other seeds of the same shader) are **wiped in through a ragged edge of noise**; then a horizontal track shows the same image at five steps of its diffusion, a studio configurator lets the visitor steer a live tile, the page **turns ink** for a quote that lights up word by word, and the footer wordmark is cut out of the live image. The page itself is off-white paper; vivid colour lives only inside the art. 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`; your own rules inside `@layer base` and `@layer components`, because unlayered CSS silently beats the utilities); three with @react-three/fiber (drei is not needed: the scene uses only `Canvas`, `useFrame`, `useThree` and `advance`); gsap with ScrollTrigger; lenis; lucide-react for seven icons (ArrowUp, ArrowUpRight, Brush, Check, Menu, RefreshCw, X). No UI kit, nothing else.
- **Fonts:** Bricolage Grotesque (variable: weight 200 to 800, width 75 to 100 %, optical size) for everything, display and text; Geist Mono (variable) for labels and readouts. Load them with `next/font` (`Bricolage_Grotesque` with `axes: ["wdth", "opsz"]`, `Geist_Mono`), Latin subset only, or self-host the `@fontsource-variable/*` Latin files in a Vite project; expose them as the families `"Bricolage"` and `"Geist Mono"` (the 2D canvas of the footer wordmark draws with the first). Wait for both faces (`document.fonts.load`, 2.5 s at most) before the intro starts and before measuring anything.
- **The scene** is a client component loaded without server rendering (`dynamic(() => import("./scene/Scene"), { ssr: false })`): **one** canvas, fixed behind the whole page.
- **No external assets: every visual is generated in code.** Every image is the shader; the wordmark mask is drawn on a 2D canvas; the swatches and avatar are CSS gradients. Nothing is fetched from another host. 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 `@import` to a font or script host, any image URL.
- **One page.** Links are in-page anchors glided by lenis (1.4 s, ease-out quart) or buttons; nothing opens a new tab; the native scroll is never blocked or hijacked (the pins are CSS `position: sticky`).
- **Motion is scripted.** Every change of state that comes from time or from the scroll (intro, typing, reveals, wipes, the theme, the counter) is driven by GSAP or by the frame loop; CSS transitions serve hover states only.