How it behaves
Exactly what the prompt builds — every timing and easing is specified, so the result matches the demo.
At rest
- A picture area at aspect-ratio: 344 / 428 on a light tile (#FEFEFE), clipped to its edges. The product photo sits in it: by default centred, 74% of the area's height, object-fit: contain. A card can instead pin the photo with its own fit (left edge, bottom and height), for photos that run off an edge, like a hand holding the product.
- Under the picture, 12px down and inset 9px each side: the name (16px, weight 500, line-height 1.2, letter-spacing -0.24px) with a lighter detail line under it (weight 300, #636363), a meta row 12px lower (12px uppercase words in the accent colour #204766, separated by 3 × 3px grey squares) and the price on the right (16px, weight 500, never wraps).
On hover or keyboard focus
- The scene image fades from opacity 0 to 1 over 0.55s and settles from scale(1.08) to scale(1.03) over 0.35s cubic-bezier(0.16, 1, 0.3, 1). It covers the picture area with 6% spare on every side so it can drift without showing an edge.
- The pointer's position over the card becomes two numbers, x and y, from -0.5 to 0.5. The product moves x × 30px and y × 24px and rotates x × 3°; the scene moves the other way, x × -24px and y × -18px. The product follows within 0.32s and the scene within 0.35s, both on the same curve, and both ease back to the middle when the pointer leaves.
- The product also lifts by 3% of its height and grows to scale(1.05), pivoting on its bottom edge so a product that runs off the bottom stays attached to it.
- The cursor: on devices with a fine pointer that can hover, the normal cursor is hidden over the card and a white pill ([VIEW DETAILS], 10px, weight 500, letter-spacing 0.04em, padding 8px 11px, fully rounded, #080808 text) is centred on the pointer, fading in and out over 0.15s. Its label is a prop. Touch screens: no drift and no pill. Instead the scene fades in by itself when 60% of the card is on screen, so phones still see it. Keyboard: the card is a real link. Focusing it with Tab shows the scene, with no drift, and a 2px outline in the accent colour. Reduced motion: nothing drifts, tilts, lifts or zooms; the scene still crossfades.