Hero section
Try the Look ring
A fashion hero where thirteen full-length looks stand on a 3D ring you spin, with a panel listing each look's pieces and prices.
The prompt
Build a "Try the Look" hero for a fashion store as one standalone HTML page (inline CSS and JS, Google Fonts only). Thirteen full-length looks, men and women alternating, stand on a 3D ring that the shopper turns; a panel on the right lists the pieces in the front look with prices and buttons. Page and type - White page (#fff), ink #121212, soft ink #4a4a4a, muted #8b8b8b, hairlines #e6e6e6. One easing for everything: cubic-bezier(.22,.8,.24,1). - Fonts: "Fraunces" 300/400 for the logo, headline and look titles; "Inter" 400/500/600 for the rest. - Header 64px tall: logo image + brand name in Fraunces 22px. - Layout: a grid with the stage on the left (minmax(0,1fr)) and a 380px panel on the right, full viewport height. Headline "Try the Look." top-left of the stage in Fraunces 300, clamp(28px,3.2vw,42px), with a small muted line under it: "Turn the ring. Every look, seen on you first." The looks - Each look is a cut-out photo of a model on a transparent or white background, no scenery. Load them from a JSON array: slug, title, category, price, image, thumb, gender, url. - Place every figure by script on a circle seen in perspective. rot is a continuous angle measured in slots; for figure k the angle is a = ((k - rot) / N) * 2π, where 0 is the front. - x = sin(a) * R with R = min(stage width * 0.8, 1080px). depth = (cos(a) + 1) / 2, from 1 at the front to 0 at the back. - scale = 0.5 + 0.5 * depth; the back of the ring stands a little higher (lift = (1 - depth) * stage height * 0.08), like figures on a floor seen from above. - blur((1 - depth) * 2.4px) and saturate(0.85 + 0.15 * depth); opacity 0.4 + 0.6 * depth; z-index from depth. The front figure is 66% of the stage height (max 660px) and gets one soft elliptical shadow under its feet. - Figures on the right fade out over their last 140px before the panel's divider, so the divider never slices anyone. On the left they simply run off the window. - The front figure shows a round 46px frosted "View" button low on the figure that opens the product page. Turning the ring - Arrows (two 42px round outlined buttons, bottom right of the stage), arrow keys, clicking a side figure, the dots, horizontal trackpad scroll, and dragging or swiping the ring all turn it. - Animate rot to the target over 950ms with an ease-out cubic, always the short way round, so figures travel along the arc: the previous look swings off, shrinks and blurs as it goes round the back while the next comes forward. - Dragging moves the ring directly (one look per stage width / N pixels) and settles on the nearest look in 500ms. - Trackpads keep firing momentum events after a swipe: count one swipe as one step, then ignore wheel events for 1.4s. - Bottom left: a counter "01 / 13" in tabular numbers and one thin dash per look, the current one longer and dark. The panel - Separated from the ring by a single 1px hairline. Eyebrow "In this look" with the piece count on the right, the look title in Fraunces 24px, its category, then one row per piece: a 72x90 thumbnail, the piece number, name and a muted line, the price and a small round "+". - A "Full look" total, then two 52px pill buttons: a black "Add full look to bag →" and an outlined "See it on your photo →", and a hint "Arrows, swipe, drag or scroll sideways to turn the ring". - When the ring settles on a new look, the old details slip up and out in 220ms, then the new ones rise in: title and category first, each piece row a beat after the last, and each thumbnail slides in from the right while it sharpens from a 4px blur. Under 900px the panel drops below the stage, the stage is 68vh tall and the arrows are hidden (swipe instead).
Tip: The images make or break it: generate each look as a clean studio full-length shot with the face and fabric sharp, then cut it out, so the ring sits on pure white. Ask for the ring maths explicitly (sin for x, cos for depth driving scale, blur and opacity), otherwise you get a flat carousel. This one was built for Ardezan, an African fashion store: every button opens the real piece at ardezan.com.


