ONE-SENTENCE AGENT INSTALL
Free Commercial · No Card Required · No Trial Countdown
Claude Code
Cursor
Codex
Antigravity
OpenClaw
Build my website from Motion3D "Cairn — Tactile Celadon Vault Seal Pill" (https://motion3d.dev/works/cairn-seal/): unpack the standalone ZIP into ./site, keep the 60fps Vanilla JS / CSS3 + HTML5 motion skeleton intact, and swap copy, logo & palette for my brandPermanent commercial free license · Copy the command for your Agent and download the ZIP directly.
Production English AI Prompt · 6614 chars
Build **Cairn**, a tactile, ceramic-minimalist interactive vault-sealing control inspired by Braun hardware switches and pale Kyoto celadon stoneware. Presented as a pure, distraction-free full-viewport studio piece (`100vw × 100vh`), the widget centers a soft-skeuomorphic porcelain pill button above a single muted status line and executes a five-stage physical state machine—idle rest, tactile pointer press, milled recessed batch progress with organic network bursts, two-stage checkmark-glide confirmation, and downward return to idle.
### Visual Aesthetic, Studio Lighting & Exact Palette
Render the full-viewport canvas with a seamless radial studio spotlight centered behind the button: luminous pale celadon-porcelain `#EEF2EC` in the core halo, stepping gently through `#E5ECE2` and `#E0E8DB` to mist-sage corners `#DBE5D8`. Position the centered vertical stack (pill + status caption) slightly above mathematical center so the pill midpoint sits around 45.5% of viewport height for ideal optical balance.
Construct the capsule button at `362px × 126px` on desktop (`2.87:1` aspect ratio, `border-radius: 9999px`, scaled smoothly on smaller screens without altering proportions) with multi-layered soft-skeuomorphic hardware lighting:
- **Convex Ceramic Body**: Subtle top-to-bottom surface gradient `#ECF3E9` (upper dome) → `#E5EDE0` (mid face) → `#DEE7DA` (lower belly), enclosed by a razor-thin `#E4EBE4` outer edge seam.
- **Top Specular Glaze**: Crisp upper inner highlight (`inset 0 2px 2px #F7FEF7`, `inset 0 1px 0 rgba(255,255,255,0.92)`) paired with a delicate diffuse ambient glow directly behind the upper rim.
- **Layered Contact Drop Shadow**: Multi-stop soft bottom elevation (`0 2px 4px rgba(176,188,174,0.45)`, `0 12px 22px -4px rgba(185,196,182,0.55)`, `0 22px 36px -6px rgba(196,206,193,0.45)` anchored by contact tone `#C8D0C6`) with ~28px smooth vertical feathering.
- **Milled Recessed Progress Track (`272px × 16px`, `border-radius: 9999px`)**: Concave groove floor `#D6DED3` sculpted with a dark upper carved inset shadow (`inset 0 2px 3px #B7C3B9`, `inset 0 1px 1px rgba(128,144,131,0.38)`) AND a crisp bright lower inner rim catch-light (`0 1.5px 0 #F9FCF4`, `inset 0 -1px 1px rgba(249,252,244,0.95)`) so the channel reads as physically milled into ceramic.
- **Botanical Pine Accent**: Deep pine cylindrical progress fill (`linear-gradient(180deg, #456151 0%, #304C3B 45%, #253B2D 100%)`, core `#304C3B`) and matching `42px × 42px` circular confirmation badge (`#314B3C`) housing a crisp rounded-cap checkmark stroke (`#EDFCF0`, `2.8px` stroke width).
### Typography & Original Copy System
Load Google Fonts `Plus Jakarta Sans` (500) and `Inter` (400, 500).
- **Primary Capsule Label**: `29px` (proportional to pill), weight `500`, `-0.02em` tracking, deep forest-obsidian ink `#212920`.
- Idle CTA: `"Seal vault"`
- Confirmed Label: `"Sealed"` (paired to the right of the `42px` checkmark badge with a `14px` gap)
- **Secondary Status Caption** (`52px` below capsule bottom edge): `17.5px`, weight `400`, muted olive-sage `#788076`, strictly styled with `font-variant-numeric: tabular-nums` so incrementing digits never shift horizontally.
- Idle / Confirmed Caption: `"Vault · sealed just now"`
- Active Progress Caption: `"Vault · {count} of 164"` (counting smoothly from `0` through milestones like `24 of 164` and `96 of 164` up to `164 of 164`).
### Five-Stage State Machine & Motion Choreography
Implement a clean React/TypeScript (or vanilla JS) finite state machine (`idle → pressing → sealing → hold → confirmed → resetting → idle`) inside an `overflow: hidden` inner viewport mask within the capsule so every inner transition clips cleanly against the ceramic surface:
1. **Idle & Hover**: Capsule rests at `scale(1)`. Pointer hover adds subtle cursor affordance (`pointer`) and gentle specular lift with zero layout shift.
2. **Tactile Press (`0–200ms`)**: On click or `Enter`/`Space`, depress the capsule (`scale(0.98)`, `translateY(2px)`) while compressing its bottom drop shadow by ~35%. Immediately swap the status caption to `"Vault · 0 of 164"`.
3. **Upward Slot Morph & Organic 3-Burst Progress (`~2.5s`)**: On release, rebound the capsule to `scale(1)`. Slide `"Seal vault"` upward out of the mask (`translateY(0 → -26px)`, `opacity: 1 → 0`, `filter: blur(4px)`, `200ms`) while the recessed track rises from below (`translateY(+26px → 0)`, `opacity: 0 → 1`, spring `stiffness: 340, damping: 28`). Drive progress from `0%` to `100%` over `2.35s` via `requestAnimationFrame` along a non-linear 3-burst piecewise curve—Burst 1 (`0% → 22%`, `420ms`), micro-pause trickle (`22% → 25%`, `380ms`), Burst 2 (`25% → 64%`, `580ms`), micro-pause trickle (`64% → 69%`, `380ms`), Burst 3 (`69% → 100%`, `590ms`)—updating `Math.round(progress * 164)` in lockstep with the bar. Hold at `100%` (`"Vault · 164 of 164"`) for `140ms`, then fade the counter out (`160ms`).
4. **Two-Stage Checkmark Pop, Leftward Glide & Blur-Reveal (`~2.3s`)**: Slide the filled track upward out of the mask (`180ms`). Immediately pop the `42px` pine checkmark circle upward from below into horizontal dead center (`translateY(+24px → 0)`, `scale(0.76 → 1)`, crisp spring settle) while drawing the SVG checkmark stroke (`stroke-dashoffset`). After an `80ms` centered pause, smoothly glide the circle leftward (`translateX(0 → -60px)` from pill center, `280ms`, `cubic-bezier(0.22, 1, 0.36, 1)`) while cross-fading the bottom caption back to `"Vault · sealed just now"`. As the badge settles on the left, materialize `"Sealed"` beside it using a Gaussian blur-to-sharp reveal (`filter: blur(7px) → blur(0px)`, `opacity: 0 → 1`, `translateX(8px → 0)`, `240ms`). Hold the confirmed state for `1.7s`.
5. **Downward Reset to Idle (`~340ms`)**: Reverse vertical direction—drop the `✓ Sealed` group downward out of the mask (`translateY(0 → +26px)`, `opacity: 0`, `blur(4px)`) while `"Seal vault"` descends softly from above (`translateY(-26px → 0)`, `opacity: 0 → 1`, spring settle), restoring interactive readiness.
### Engineering Quality & Accessibility
Keep capsule geometry strictly immutable across states, animate exclusively GPU-composited properties (`transform`, `opacity`, `filter`), ignore duplicate clicks while active, expose `aria-live="polite"` status text for assistive technologies, and provide a clean `prefers-reduced-motion` fallback that cross-fades states cleanly without vertical travel or blur. Keep the viewport completely pure—no navbars, cards, or visual clutter—allowing users to trigger the cycle directly by clicking the capsule or pressing `Space`/`Enter`.
Architecture, Motion & Palette
Original Creative Direction
Cairn Seal elevates high-trust security actions and membership confirmations into a meditative physical button interaction — demonstrating extreme micro-interaction craft in pure CSS3 and vanilla JS.
Color System (Click to copy Hex)
Layout & Section Architecture
Focused single-screen studio showcase centering the sculpted celadon vault pill over a calm mineral backdrop, accompanied by subtle state telemetry and replay controls.
Motion & Engineering Stack
Deterministic 5-state JavaScript spring machine driving layered CSS inset highlights, subtle press-depth shadows, three-phase burst progress fill, and optical de-blur confirmation typography.
Implementation Notes & Craft Details
- Layer opposing top-left specular and bottom-right ambient inset shadows to mimic glazed celadon ceramic under soft overhead light.
- Choreograph the completion sequence in two beats (centered checkmark spring-in -> slide left + unblur label) for unmistakable tactile closure.
- Respect prefers-reduced-motion by shortening spring bounce while preserving clear state feedback.