Ceramicist portfolio with a pottery wheel
A lime-washed site for a potter: drag five handles to throw a pot on a turning wheel, choose a glaze and fire it in a glowing kiln, then shop the shelf and book a class with seats that fill up.
"use client";
import {
useEffect,
useRef,
useState,
type CSSProperties,
type KeyboardEvent as ReactKeyboardEvent,
type PointerEvent as ReactPointerEvent,
} from "react";
import "./ceramics-portfolio.css";
/**
* CeramicsPortfolio: a calm, lime-washed site for a potter.
* Its signature is "Throw a pot": drag the handles to shape a vessel on a
* turning wheel, pick a glaze and fire it. The kiln glows, and the pot
* comes out glazed and speckled. Plus a small shop and the class list.
* It is a demo: connect `onAdd` and `onBookClass` to your shop and calendar.
*/
const ROWS = [0, 0.22, 0.45, 0.7, 1]; // handle heights, top to bottom
const START = [0.18, 0.13, 0.34, 0.36, 0.22]; // radii as a share of the width
const W = 320;
const H = 340;
const TOP = 30;
const BOTTOM = 290;
const GLAZES = [
{ id: "chalk", label: "Chalk white", base: "#ece6da", shade: "#bfb6a4", rim: "#9a8a72" },
{ id: "iron", label: "Iron red", base: "#9a3b22", shade: "#5e2214", rim: "#3c1a10" },
{ id: "moss", label: "Moss green", base: "#6e7a46", shade: "#46502a", rim: "#8a6a44" },
];
const SHOP = [
{ id: "bottle", name: "Tall bottle", glaze: "Chalk white", price: 140, sold: false, src: "/images/portfolio-ceramics-vessel-01.jpg", alt: "A tall, slightly wonky chalk-white bottle vase on a plaster plinth", tone: "#d9d2c4" },
{ id: "moon", name: "Low moon jar", glaze: "Iron red", price: 220, sold: true, src: "/images/portfolio-ceramics-vessel-02.jpg", alt: "A wide, low iron-red moon jar with a glaze drip near the foot", tone: "#8a3a22" },
{ id: "cups", name: "Three thumb cups", glaze: "Moss green", price: 75, sold: false, src: "/images/portfolio-ceramics-vessel-03.jpg", alt: "Three moss-green handmade cups stacked, with raw clay feet", tone: "#6e7a46" },
];
const CLASSES = [
{ id: "taster", name: "Taster evening", when: "Thu 15 Jan, 6–9pm", left: 2, of: 8 },
{ id: "weekend", name: "Weekend on the wheel", when: "Sat 24 and Sun 25 Jan", left: 5, of: 6 },
{ id: "glaze", name: "Glazing morning", when: "Sat 7 Feb, 10am–1pm", left: 0, of: 8 },
];
/** A smooth outline through the handles (Catmull-Rom as cubic Béziers), mirrored. */
function vesselPath(r: number[]) {
const cx = W / 2;
const pts = r.map((v, i) => [cx + v * W, TOP + ROWS[i] * (BOTTOM - TOP)] as const);
const side = (p: readonly (readonly [number, number])[]) => {
let d = "";
for (let i = 0; i < p.length - 1; i++) {
const p0 = p[Math.max(0, i - 1)];
const p1 = p[i];
const p2 = p[i + 1];
const p3 = p[Math.min(p.length - 1, i + 2)];
const c1 = [p1[0] + (p2[0] - p0[0]) / 6, p1[1] + (p2[1] - p0[1]) / 6];
const c2 = [p2[0] - (p3[0] - p1[0]) / 6, p2[1] - (p3[1] - p1[1]) / 6];
d += ` C${c1[0].toFixed(1)} ${c1[1].toFixed(1)} ${c2[0].toFixed(1)} ${c2[1].toFixed(1)} ${p2[0].toFixed(1)} ${p2[1].toFixed(1)}`;
}
return d;
};
const right = pts;
const left = [...pts].reverse().map(([x, y]) => [2 * cx - x, y] as const);
return `M${right[0][0].toFixed(1)} ${right[0][1]}${side(right)} L${left[0][0].toFixed(1)} ${left[0][1]}${side(left)} Z`;
}
function Photo({ src, alt, tone, className = "" }: { src: string; alt: string; tone: string; className?: string }) {
const img = useRef<HTMLImageElement>(null);
const [missing, setMissing] = useState(false);
useEffect(() => {
const el = img.current;
if (el && el.complete && el.naturalWidth === 0) setMissing(true);
}, []);
return (
<span className={`gu-clay__photo ${className}`} style={{ "--tone": tone } as CSSProperties}>
{!missing && <img ref={img} src={src} alt={alt} loading="lazy" onError={() => setMissing(true)} />}
</span>
);
}
export function CeramicsPortfolio({
onAdd,
onBookClass,
}: {
onAdd?: (id: string) => void;
onBookClass?: (id: string) => void;
}) {
const [radii, setRadii] = useState(START);
const [glaze, setGlaze] = useState("iron");
const [kiln, setKiln] = useState<"raw" | "firing" | "fired">("raw");
const [bag, setBag] = useState<string[]>([]);
const [waitlist, setWaitlist] = useState<string[]>([]);
const [booked, setBooked] = useState<string[]>([]);
const svg = useRef<SVGSVGElement>(null);
const dragging = useRef(-1);
const timer = useRef<number | undefined>(undefined);
useEffect(() => () => window.clearTimeout(timer.current), []);
const g = GLAZES.find((x) => x.id === glaze) ?? GLAZES[0];
const shape = vesselPath(radii);
const reshape = (i: number, v: number) => {
setRadii((r) => r.map((x, j) => (j === i ? Math.min(0.44, Math.max(i === 0 ? 0.05 : 0.08, v)) : x)));
if (kiln !== "raw") setKiln("raw");
};
const onMove = (e: ReactPointerEvent<SVGSVGElement>) => {
const i = dragging.current;
const box = svg.current?.getBoundingClientRect();
if (i < 0 || !box) return;
const x = ((e.clientX - box.left) / box.width) * W;
reshape(i, (x - W / 2) / W);
};
const onKey = (i: number, e: ReactKeyboardEvent<SVGGElement>) => {
const step = e.key === "ArrowRight" || e.key === "ArrowUp" ? 0.02 : e.key === "ArrowLeft" || e.key === "ArrowDown" ? -0.02 : 0;
if (!step) return;
e.preventDefault();
reshape(i, radii[i] + step);
};
const fire = () => {
setKiln("firing");
window.clearTimeout(timer.current);
timer.current = window.setTimeout(() => setKiln("fired"), 2400);
};
const fired = kiln === "fired";
const body = fired ? g.base : "#b9a48a";
const shade = fired ? g.shade : "#8d7860";
const height = 14 + Math.round(radii.reduce((s, r) => s + r, 0) * 6);
return (
<div className="gu-clay">
<header className="gu-clay__bar">
<a href="#" className="gu-clay__mark">
<svg viewBox="0 0 32 32" aria-hidden="true">
<path d="M11 5h10c-1 4 5 8 5 14a10 10 0 0 1-20 0c0-6 6-10 5-14z" />
</svg>
Hana Ruiz
</a>
<nav aria-label="Hana Ruiz">
<a href="#clay-shop">Shop</a>
<a href="#clay-classes">Classes</a>
<span className="gu-clay__bag" aria-live="polite">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M5 8h14l-1 12H6zM9 8a3 3 0 0 1 6 0" />
</svg>
<span key={bag.length}>{bag.length}</span>
<span className="gu-clay__sr"> in your bag</span>
</span>
</nav>
</header>
<section className="gu-clay__hero">
<div className="gu-clay__hero-copy">
<p className="gu-clay__kicker">Stoneware from a shed studio in Frome</p>
<h1>Pots for everyday, slightly wonky on purpose.</h1>
<p className="gu-clay__lede">
Thrown by hand, glazed in three colours and fired to 1280°C. Try
shaping one yourself, then come and do it for real.
</p>
</div>
<div className="gu-clay__wheel-wrap" data-kiln={kiln}>
<svg
ref={svg}
className="gu-clay__wheel"
viewBox={`0 0 ${W} ${H}`}
onPointerMove={onMove}
onPointerUp={() => (dragging.current = -1)}
onPointerLeave={() => (dragging.current = -1)}
aria-label="A pot on the wheel"
role="group"
>
<defs>
<linearGradient id="clay-body" x1="0" x2="1">
<stop offset="0" style={{ stopColor: shade }} />
<stop offset="0.38" style={{ stopColor: body }} />
<stop offset="0.55" style={{ stopColor: body }} />
<stop offset="1" style={{ stopColor: shade }} />
</linearGradient>
<pattern id="clay-rings" width="40" height="7" patternUnits="userSpaceOnUse">
<rect width="40" height="1.2" y="3" fill="rgb(0 0 0 / 0.12)" />
</pattern>
<pattern id="clay-turn" width="26" height="40" patternUnits="userSpaceOnUse">
<rect width="3" height="40" fill="rgb(255 255 255 / 0.12)" />
</pattern>
<pattern id="clay-speck" width="22" height="22" patternUnits="userSpaceOnUse">
<circle cx="4" cy="6" r="0.9" fill="#3b2a1c" />
<circle cx="15" cy="3" r="0.6" fill="#3b2a1c" />
<circle cx="11" cy="15" r="1" fill="#3b2a1c" />
<circle cx="19" cy="18" r="0.7" fill="#3b2a1c" />
</pattern>
<clipPath id="clay-shape">
<path d={shape} />
</clipPath>
</defs>
{/* The wheel head */}
<ellipse cx={W / 2} cy={BOTTOM + 14} rx="130" ry="22" className="gu-clay__head" />
<ellipse cx={W / 2} cy={BOTTOM + 10} rx="130" ry="22" className="gu-clay__head-top" />
<ellipse cx={W / 2} cy={BOTTOM + 10} rx="98" ry="15" className="gu-clay__head-spin" />
{/* The pot */}
<ellipse cx={W / 2} cy={BOTTOM + 2} rx={radii[4] * W + 6} ry="7" className="gu-clay__shadow" />
<path d={shape} fill="url(#clay-body)" className="gu-clay__pot" />
<g clipPath="url(#clay-shape)">
<rect width={W} height={H} fill="url(#clay-rings)" opacity={fired ? 0.4 : 1} />
{!fired && <rect width={W * 2} height={H} fill="url(#clay-turn)" className="gu-clay__turn" />}
{fired && <rect width={W} height={H} fill="url(#clay-speck)" className="gu-clay__speck" />}
{fired && (
<rect x="0" y={BOTTOM - 26} width={W} height="40" fill="#c9a983" className="gu-clay__foot" />
)}
</g>
<ellipse
cx={W / 2}
cy={TOP}
rx={radii[0] * W}
ry={Math.max(2, radii[0] * 30)}
fill={fired ? g.rim : "#6e5c48"}
className="gu-clay__mouth"
/>
{/* Handles: drag sideways, or focus and use the arrow keys. */}
{kiln !== "firing" &&
radii.map((r, i) => (
<g
key={i}
className="gu-clay__handle"
tabIndex={0}
role="slider"
aria-label={["Rim", "Neck", "Shoulder", "Belly", "Foot"][i]}
aria-valuemin={5}
aria-valuemax={44}
aria-valuenow={Math.round(r * 100)}
onKeyDown={(e) => onKey(i, e)}
onPointerDown={(e) => {
dragging.current = i;
(e.currentTarget.ownerSVGElement as SVGSVGElement | null)?.setPointerCapture(e.pointerId);
}}
>
<line
x1={W / 2}
x2={W / 2 + r * W}
y1={TOP + ROWS[i] * (BOTTOM - TOP)}
y2={TOP + ROWS[i] * (BOTTOM - TOP)}
/>
<circle cx={W / 2 + r * W} cy={TOP + ROWS[i] * (BOTTOM - TOP)} r="22" className="gu-clay__hit" />
<circle cx={W / 2 + r * W} cy={TOP + ROWS[i] * (BOTTOM - TOP)} r="9" />
</g>
))}
</svg>
<span className="gu-clay__glow" aria-hidden="true" />
</div>
<div className="gu-clay__panel">
<div className="gu-clay__glazes" role="group" aria-label="Glaze">
{GLAZES.map((x) => (
<button
key={x.id}
type="button"
aria-pressed={glaze === x.id}
onClick={() => {
setGlaze(x.id);
if (kiln === "fired") setKiln("raw");
}}
style={{ "--g": x.base, "--s": x.shade } as CSSProperties}
>
<span aria-hidden="true" />
{x.label}
</button>
))}
</div>
<div className="gu-clay__fire-row">
<button
type="button"
className="gu-clay__fire"
onClick={fire}
disabled={kiln === "firing"}
>
{kiln === "firing" ? "Firing to 1280°C…" : fired ? "Fire again" : "Fire it"}
</button>
<p aria-live="polite">
{fired
? `About ${height} cm tall in ${g.label.toLowerCase()}. I can make you one like it.`
: kiln === "firing"
? "Twelve hours in the kiln, sped up."
: "Drag the dots to shape the pot."}
</p>
</div>
</div>
</section>
<section id="clay-shop" className="gu-clay__shop" aria-labelledby="clay-shop-title">
<h2 id="clay-shop-title">On the shelf</h2>
<ul>
{SHOP.map((p, i) => {
const inBag = bag.includes(p.id);
const waiting = waitlist.includes(p.id);
return (
<li key={p.id} style={{ "--i": i } as CSSProperties}>
<Photo src={p.src} alt={p.alt} tone={p.tone} />
<div className="gu-clay__item">
<div>
<h3>{p.name}</h3>
<p>{p.glaze}</p>
</div>
<span className="gu-clay__price">{p.sold ? "Sold" : `£${p.price}`}</span>
</div>
{p.sold ? (
<button
type="button"
className="gu-clay__btn gu-clay__btn--line"
aria-pressed={waiting}
onClick={() =>
setWaitlist((w) => (waiting ? w.filter((x) => x !== p.id) : [...w, p.id]))
}
>
{waiting ? "On the waitlist" : "Join the waitlist"}
</button>
) : (
<button
type="button"
className="gu-clay__btn"
data-added={inBag || undefined}
onClick={() => {
if (inBag) return;
setBag((b) => [...b, p.id]);
onAdd?.(p.id);
}}
>
<span>{inBag ? "In your bag" : "Add to bag"}</span>
</button>
)}
</li>
);
})}
</ul>
</section>
<section id="clay-classes" className="gu-clay__classes" aria-labelledby="clay-classes-title">
<Photo
src="/images/portfolio-ceramics-studio-04.jpg"
alt="Clay-covered hands pulling up a pot on a spinning wheel"
tone="#8a7560"
className="gu-clay__studio"
/>
<div>
<h2 id="clay-classes-title">Come and get muddy</h2>
<p>Small classes in the studio, six to eight people, all clay and firing included.</p>
<ul>
{CLASSES.map((c) => {
const mine = booked.includes(c.id);
const left = c.left - (mine ? 1 : 0);
return (
<li key={c.id}>
<div className="gu-clay__class">
<h3>{c.name}</h3>
<p>{c.when}</p>
<span className="gu-clay__seats" aria-hidden="true">
{Array.from({ length: c.of }, (_, k) => (
<i key={k} data-taken={k >= left || undefined} />
))}
</span>
</div>
<button
type="button"
className="gu-clay__btn gu-clay__btn--small"
disabled={c.left === 0}
aria-pressed={mine}
onClick={() => {
setBooked((b) => (mine ? b.filter((x) => x !== c.id) : [...b, c.id]));
if (!mine) onBookClass?.(c.id);
}}
>
{c.left === 0 ? "Full" : mine ? "Booked" : `Book, ${left} left`}
</button>
</li>
);
})}
</ul>
</div>
</section>
<footer className="gu-clay__foot">
<span>© 2026 Hana Ruiz Ceramics</span>
<a href="#">Studio visits</a>
<a href="#">Instagram</a>
</footer>
</div>
);
}
Paste this into ChatGPT, Claude, Cursor, v0, Lovable or Bolt. It describes the layout, motion, colors and accessibility and includes the code, so the AI can rebuild it in any framework.
# Build this UI piece: Ceramicist portfolio with a pottery wheel
You are a senior front-end engineer. Recreate the piece below in my project. If I don't say which framework I use, ask once, then build it in that framework (React, Vue, Svelte, Angular, Astro, plain HTML/CSS/JS or anything else). Keep the behavior, motion, colors, spacing and accessibility exactly as described. Keep the code clean and commented for beginners.
## What it is
A calm, lime-washed one-page site for a potter ("Hana Ruiz, stoneware from a shed studio in Frome"). Its signature is "Throw a pot": an SVG pot on a turning wheel. Five handles (rim, neck, shoulder, belly, foot) sit at fixed heights; drag them sideways, or focus one and use the arrow keys, to change the radius. The outline is a smooth Catmull-Rom curve through the handles, mirrored. While raw, the pot is wet clay with horizontal throwing rings, pale vertical stripes slide across it as the wheel turns, and a dashed ring spins on the wheel head. Pick a glaze (Chalk white, Iron red, Moss green) and press "Fire it": the kiln glows orange and pulses for 2.4s while the pot turns hot orange, then the pot comes out glazed, speckled, with a raw clay foot, a coloured rim and a small squash-and-stretch bounce. A line gives its height. Other sections: a shop shelf with Add to bag (the bag count in the bar bumps) and a waitlist for sold pieces, and a classes list with seat dots that fill when you book.
## Palette
Background #efe9df, plaster #e3dacb, ink #2b241e, muted #786b5e, terracotta #b5603c, lines rgb(43 36 30 / 0.14), focus ring #2b35ff. Raw clay #b9a48a with shade #8d7860. Glazes (base, shade, rim): chalk #ece6da/#bfb6a4/#9a8a72, iron #9a3b22/#5e2214/#3c1a10, moss #6e7a46/#46502a/#8a6a44. Headings use a humanist sans (Optima, Candara, Gill Sans); the rest is system-ui.
## Layout
- Bar: a terracotta pot logo and the name; Shop, Classes and an ink bag pill with a count.
- Hero: the copy on the left; the wheel (320×340 SVG) on the right with the glaze chips, the Fire button and a status line below it.
- On the shelf (plaster band): three 4:5 photo cards with name, glaze, price and a button.
- Classes: an arched studio photo and a list of three classes, each with its date, a row of seat dots and a Book button that shows the seats left ("Full" when none).
- Below 760px everything stacks; the shop goes to two columns, then one.
## Images
- portfolio-ceramics-vessel-01.jpg to -03.jpg (4:5) and portfolio-ceramics-studio-04.jpg (3:2). Until a file exists, each frame shows its glaze tone.
## Motion
- Wheel lines slide and the head ring spins constantly; handles grow and turn terracotta on hover or focus.
- The Fire button has a light sweep on hover and a running shine while firing.
- Speckles fade in after firing; seat dots shrink and grey when taken.
## Accessibility
- Handles are role="slider" with aria-valuenow and labels (Rim, Neck, Shoulder, Belly, Foot).
- Glaze chips, waitlist and class buttons use aria-pressed; the firing status and bag count are aria-live.
- prefers-reduced-motion turns off every animation and transition.
## Reference implementation
The original is written in React with one plain CSS file. Dependencies: none (plain React and CSS). Translate it faithfully; do not add new libraries unless my framework needs them.
### CeramicsPortfolio.tsx
```tsx
"use client";
import {
useEffect,
useRef,
useState,
type CSSProperties,
type KeyboardEvent as ReactKeyboardEvent,
type PointerEvent as ReactPointerEvent,
} from "react";
import "./ceramics-portfolio.css";
/**
* CeramicsPortfolio: a calm, lime-washed site for a potter.
* Its signature is "Throw a pot": drag the handles to shape a vessel on a
* turning wheel, pick a glaze and fire it. The kiln glows, and the pot
* comes out glazed and speckled. Plus a small shop and the class list.
* It is a demo: connect `onAdd` and `onBookClass` to your shop and calendar.
*/
const ROWS = [0, 0.22, 0.45, 0.7, 1]; // handle heights, top to bottom
const START = [0.18, 0.13, 0.34, 0.36, 0.22]; // radii as a share of the width
const W = 320;
const H = 340;
const TOP = 30;
const BOTTOM = 290;
const GLAZES = [
{ id: "chalk", label: "Chalk white", base: "#ece6da", shade: "#bfb6a4", rim: "#9a8a72" },
{ id: "iron", label: "Iron red", base: "#9a3b22", shade: "#5e2214", rim: "#3c1a10" },
{ id: "moss", label: "Moss green", base: "#6e7a46", shade: "#46502a", rim: "#8a6a44" },
];
const SHOP = [
{ id: "bottle", name: "Tall bottle", glaze: "Chalk white", price: 140, sold: false, src: "/images/portfolio-ceramics-vessel-01.jpg", alt: "A tall, slightly wonky chalk-white bottle vase on a plaster plinth", tone: "#d9d2c4" },
{ id: "moon", name: "Low moon jar", glaze: "Iron red", price: 220, sold: true, src: "/images/portfolio-ceramics-vessel-02.jpg", alt: "A wide, low iron-red moon jar with a glaze drip near the foot", tone: "#8a3a22" },
{ id: "cups", name: "Three thumb cups", glaze: "Moss green", price: 75, sold: false, src: "/images/portfolio-ceramics-vessel-03.jpg", alt: "Three moss-green handmade cups stacked, with raw clay feet", tone: "#6e7a46" },
];
const CLASSES = [
{ id: "taster", name: "Taster evening", when: "Thu 15 Jan, 6–9pm", left: 2, of: 8 },
{ id: "weekend", name: "Weekend on the wheel", when: "Sat 24 and Sun 25 Jan", left: 5, of: 6 },
{ id: "glaze", name: "Glazing morning", when: "Sat 7 Feb, 10am–1pm", left: 0, of: 8 },
];
/** A smooth outline through the handles (Catmull-Rom as cubic Béziers), mirrored. */
function vesselPath(r: number[]) {
const cx = W / 2;
const pts = r.map((v, i) => [cx + v * W, TOP + ROWS[i] * (BOTTOM - TOP)] as const);
const side = (p: readonly (readonly [number, number])[]) => {
let d = "";
for (let i = 0; i < p.length - 1; i++) {
const p0 = p[Math.max(0, i - 1)];
const p1 = p[i];
const p2 = p[i + 1];
const p3 = p[Math.min(p.length - 1, i + 2)];
const c1 = [p1[0] + (p2[0] - p0[0]) / 6, p1[1] + (p2[1] - p0[1]) / 6];
const c2 = [p2[0] - (p3[0] - p1[0]) / 6, p2[1] - (p3[1] - p1[1]) / 6];
d += ` C${c1[0].toFixed(1)} ${c1[1].toFixed(1)} ${c2[0].toFixed(1)} ${c2[1].toFixed(1)} ${p2[0].toFixed(1)} ${p2[1].toFixed(1)}`;
}
return d;
};
const right = pts;
const left = [...pts].reverse().map(([x, y]) => [2 * cx - x, y] as const);
return `M${right[0][0].toFixed(1)} ${right[0][1]}${side(right)} L${left[0][0].toFixed(1)} ${left[0][1]}${side(left)} Z`;
}
function Photo({ src, alt, tone, className = "" }: { src: string; alt: string; tone: string; className?: string }) {
const img = useRef<HTMLImageElement>(null);
const [missing, setMissing] = useState(false);
useEffect(() => {
const el = img.current;
if (el && el.complete && el.naturalWidth === 0) setMissing(true);
}, []);
return (
<span className={`gu-clay__photo ${className}`} style={{ "--tone": tone } as CSSProperties}>
{!missing && <img ref={img} src={src} alt={alt} loading="lazy" onError={() => setMissing(true)} />}
</span>
);
}
export function CeramicsPortfolio({
onAdd,
onBookClass,
}: {
onAdd?: (id: string) => void;
onBookClass?: (id: string) => void;
}) {
const [radii, setRadii] = useState(START);
const [glaze, setGlaze] = useState("iron");
const [kiln, setKiln] = useState<"raw" | "firing" | "fired">("raw");
const [bag, setBag] = useState<string[]>([]);
const [waitlist, setWaitlist] = useState<string[]>([]);
const [booked, setBooked] = useState<string[]>([]);
const svg = useRef<SVGSVGElement>(null);
const dragging = useRef(-1);
const timer = useRef<number | undefined>(undefined);
useEffect(() => () => window.clearTimeout(timer.current), []);
const g = GLAZES.find((x) => x.id === glaze) ?? GLAZES[0];
const shape = vesselPath(radii);
const reshape = (i: number, v: number) => {
setRadii((r) => r.map((x, j) => (j === i ? Math.min(0.44, Math.max(i === 0 ? 0.05 : 0.08, v)) : x)));
if (kiln !== "raw") setKiln("raw");
};
const onMove = (e: ReactPointerEvent<SVGSVGElement>) => {
const i = dragging.current;
const box = svg.current?.getBoundingClientRect();
if (i < 0 || !box) return;
const x = ((e.clientX - box.left) / box.width) * W;
reshape(i, (x - W / 2) / W);
};
const onKey = (i: number, e: ReactKeyboardEvent<SVGGElement>) => {
const step = e.key === "ArrowRight" || e.key === "ArrowUp" ? 0.02 : e.key === "ArrowLeft" || e.key === "ArrowDown" ? -0.02 : 0;
if (!step) return;
e.preventDefault();
reshape(i, radii[i] + step);
};
const fire = () => {
setKiln("firing");
window.clearTimeout(timer.current);
timer.current = window.setTimeout(() => setKiln("fired"), 2400);
};
const fired = kiln === "fired";
const body = fired ? g.base : "#b9a48a";
const shade = fired ? g.shade : "#8d7860";
const height = 14 + Math.round(radii.reduce((s, r) => s + r, 0) * 6);
return (
<div className="gu-clay">
<header className="gu-clay__bar">
<a href="#" className="gu-clay__mark">
<svg viewBox="0 0 32 32" aria-hidden="true">
<path d="M11 5h10c-1 4 5 8 5 14a10 10 0 0 1-20 0c0-6 6-10 5-14z" />
</svg>
Hana Ruiz
</a>
<nav aria-label="Hana Ruiz">
<a href="#clay-shop">Shop</a>
<a href="#clay-classes">Classes</a>
<span className="gu-clay__bag" aria-live="polite">
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M5 8h14l-1 12H6zM9 8a3 3 0 0 1 6 0" />
</svg>
<span key={bag.length}>{bag.length}</span>
<span className="gu-clay__sr"> in your bag</span>
</span>
</nav>
</header>
<section className="gu-clay__hero">
<div className="gu-clay__hero-copy">
<p className="gu-clay__kicker">Stoneware from a shed studio in Frome</p>
<h1>Pots for everyday, slightly wonky on purpose.</h1>
<p className="gu-clay__lede">
Thrown by hand, glazed in three colours and fired to 1280°C. Try
shaping one yourself, then come and do it for real.
</p>
</div>
<div className="gu-clay__wheel-wrap" data-kiln={kiln}>
<svg
ref={svg}
className="gu-clay__wheel"
viewBox={`0 0 ${W} ${H}`}
onPointerMove={onMove}
onPointerUp={() => (dragging.current = -1)}
onPointerLeave={() => (dragging.current = -1)}
aria-label="A pot on the wheel"
role="group"
>
<defs>
<linearGradient id="clay-body" x1="0" x2="1">
<stop offset="0" style={{ stopColor: shade }} />
<stop offset="0.38" style={{ stopColor: body }} />
<stop offset="0.55" style={{ stopColor: body }} />
<stop offset="1" style={{ stopColor: shade }} />
</linearGradient>
<pattern id="clay-rings" width="40" height="7" patternUnits="userSpaceOnUse">
<rect width="40" height="1.2" y="3" fill="rgb(0 0 0 / 0.12)" />
</pattern>
<pattern id="clay-turn" width="26" height="40" patternUnits="userSpaceOnUse">
<rect width="3" height="40" fill="rgb(255 255 255 / 0.12)" />
</pattern>
<pattern id="clay-speck" width="22" height="22" patternUnits="userSpaceOnUse">
<circle cx="4" cy="6" r="0.9" fill="#3b2a1c" />
<circle cx="15" cy="3" r="0.6" fill="#3b2a1c" />
<circle cx="11" cy="15" r="1" fill="#3b2a1c" />
<circle cx="19" cy="18" r="0.7" fill="#3b2a1c" />
</pattern>
<clipPath id="clay-shape">
<path d={shape} />
</clipPath>
</defs>
{/* The wheel head */}
<ellipse cx={W / 2} cy={BOTTOM + 14} rx="130" ry="22" className="gu-clay__head" />
<ellipse cx={W / 2} cy={BOTTOM + 10} rx="130" ry="22" className="gu-clay__head-top" />
<ellipse cx={W / 2} cy={BOTTOM + 10} rx="98" ry="15" className="gu-clay__head-spin" />
{/* The pot */}
<ellipse cx={W / 2} cy={BOTTOM + 2} rx={radii[4] * W + 6} ry="7" className="gu-clay__shadow" />
<path d={shape} fill="url(#clay-body)" className="gu-clay__pot" />
<g clipPath="url(#clay-shape)">
<rect width={W} height={H} fill="url(#clay-rings)" opacity={fired ? 0.4 : 1} />
{!fired && <rect width={W * 2} height={H} fill="url(#clay-turn)" className="gu-clay__turn" />}
{fired && <rect width={W} height={H} fill="url(#clay-speck)" className="gu-clay__speck" />}
{fired && (
<rect x="0" y={BOTTOM - 26} width={W} height="40" fill="#c9a983" className="gu-clay__foot" />
)}
</g>
<ellipse
cx={W / 2}
cy={TOP}
rx={radii[0] * W}
ry={Math.max(2, radii[0] * 30)}
fill={fired ? g.rim : "#6e5c48"}
className="gu-clay__mouth"
/>
{/* Handles: drag sideways, or focus and use the arrow keys. */}
{kiln !== "firing" &&
radii.map((r, i) => (
<g
key={i}
className="gu-clay__handle"
tabIndex={0}
role="slider"
aria-label={["Rim", "Neck", "Shoulder", "Belly", "Foot"][i]}
aria-valuemin={5}
aria-valuemax={44}
aria-valuenow={Math.round(r * 100)}
onKeyDown={(e) => onKey(i, e)}
onPointerDown={(e) => {
dragging.current = i;
(e.currentTarget.ownerSVGElement as SVGSVGElement | null)?.setPointerCapture(e.pointerId);
}}
>
<line
x1={W / 2}
x2={W / 2 + r * W}
y1={TOP + ROWS[i] * (BOTTOM - TOP)}
y2={TOP + ROWS[i] * (BOTTOM - TOP)}
/>
<circle cx={W / 2 + r * W} cy={TOP + ROWS[i] * (BOTTOM - TOP)} r="22" className="gu-clay__hit" />
<circle cx={W / 2 + r * W} cy={TOP + ROWS[i] * (BOTTOM - TOP)} r="9" />
</g>
))}
</svg>
<span className="gu-clay__glow" aria-hidden="true" />
</div>
<div className="gu-clay__panel">
<div className="gu-clay__glazes" role="group" aria-label="Glaze">
{GLAZES.map((x) => (
<button
key={x.id}
type="button"
aria-pressed={glaze === x.id}
onClick={() => {
setGlaze(x.id);
if (kiln === "fired") setKiln("raw");
}}
style={{ "--g": x.base, "--s": x.shade } as CSSProperties}
>
<span aria-hidden="true" />
{x.label}
</button>
))}
</div>
<div className="gu-clay__fire-row">
<button
type="button"
className="gu-clay__fire"
onClick={fire}
disabled={kiln === "firing"}
>
{kiln === "firing" ? "Firing to 1280°C…" : fired ? "Fire again" : "Fire it"}
</button>
<p aria-live="polite">
{fired
? `About ${height} cm tall in ${g.label.toLowerCase()}. I can make you one like it.`
: kiln === "firing"
? "Twelve hours in the kiln, sped up."
: "Drag the dots to shape the pot."}
</p>
</div>
</div>
</section>
<section id="clay-shop" className="gu-clay__shop" aria-labelledby="clay-shop-title">
<h2 id="clay-shop-title">On the shelf</h2>
<ul>
{SHOP.map((p, i) => {
const inBag = bag.includes(p.id);
const waiting = waitlist.includes(p.id);
return (
<li key={p.id} style={{ "--i": i } as CSSProperties}>
<Photo src={p.src} alt={p.alt} tone={p.tone} />
<div className="gu-clay__item">
<div>
<h3>{p.name}</h3>
<p>{p.glaze}</p>
</div>
<span className="gu-clay__price">{p.sold ? "Sold" : `£${p.price}`}</span>
</div>
{p.sold ? (
<button
type="button"
className="gu-clay__btn gu-clay__btn--line"
aria-pressed={waiting}
onClick={() =>
setWaitlist((w) => (waiting ? w.filter((x) => x !== p.id) : [...w, p.id]))
}
>
{waiting ? "On the waitlist" : "Join the waitlist"}
</button>
) : (
<button
type="button"
className="gu-clay__btn"
data-added={inBag || undefined}
onClick={() => {
if (inBag) return;
setBag((b) => [...b, p.id]);
onAdd?.(p.id);
}}
>
<span>{inBag ? "In your bag" : "Add to bag"}</span>
</button>
)}
</li>
);
})}
</ul>
</section>
<section id="clay-classes" className="gu-clay__classes" aria-labelledby="clay-classes-title">
<Photo
src="/images/portfolio-ceramics-studio-04.jpg"
alt="Clay-covered hands pulling up a pot on a spinning wheel"
tone="#8a7560"
className="gu-clay__studio"
/>
<div>
<h2 id="clay-classes-title">Come and get muddy</h2>
<p>Small classes in the studio, six to eight people, all clay and firing included.</p>
<ul>
{CLASSES.map((c) => {
const mine = booked.includes(c.id);
const left = c.left - (mine ? 1 : 0);
return (
<li key={c.id}>
<div className="gu-clay__class">
<h3>{c.name}</h3>
<p>{c.when}</p>
<span className="gu-clay__seats" aria-hidden="true">
{Array.from({ length: c.of }, (_, k) => (
<i key={k} data-taken={k >= left || undefined} />
))}
</span>
</div>
<button
type="button"
className="gu-clay__btn gu-clay__btn--small"
disabled={c.left === 0}
aria-pressed={mine}
onClick={() => {
setBooked((b) => (mine ? b.filter((x) => x !== c.id) : [...b, c.id]));
if (!mine) onBookClass?.(c.id);
}}
>
{c.left === 0 ? "Full" : mine ? "Booked" : `Book, ${left} left`}
</button>
</li>
);
})}
</ul>
</div>
</section>
<footer className="gu-clay__foot">
<span>© 2026 Hana Ruiz Ceramics</span>
<a href="#">Studio visits</a>
<a href="#">Instagram</a>
</footer>
</div>
);
}
```
### ceramics-portfolio.css
```css
/* Hana Ruiz Ceramics: lime-washed walls, raw clay, glaze colours only on the pots. */
.gu-clay {
--bg: #efe9df;
--plaster: #e3dacb;
--ink: #2b241e;
--muted: #786b5e;
--line: rgb(43 36 30 / 0.14);
--terra: #b5603c;
--focus: #2b35ff;
--ease: cubic-bezier(0.22, 1, 0.36, 1);
--spring: cubic-bezier(0.34, 1.56, 0.64, 1);
--head: "Optima", "Candara", "Gill Sans", "Segoe UI", sans-serif;
position: relative;
container-type: inline-size;
overflow: hidden;
background:
radial-gradient(50% 40% at 75% 15%, #f8f4ec, transparent 70%),
var(--bg);
color: var(--ink);
font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
line-height: 1.55;
}
.gu-clay *,
.gu-clay *::before,
.gu-clay *::after {
box-sizing: border-box;
}
.gu-clay a {
color: inherit;
}
.gu-clay :focus-visible {
outline: 3px solid var(--focus);
outline-offset: 3px;
}
.gu-clay__sr {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
/* ---------- Bar ---------- */
.gu-clay__bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 22px 6%;
}
.gu-clay__mark {
display: inline-flex;
align-items: center;
gap: 10px;
font-family: var(--head);
font-size: 1.3rem;
text-decoration: none;
}
.gu-clay__mark svg {
width: 26px;
fill: var(--terra);
transition: transform 0.6s var(--spring);
}
.gu-clay__mark:hover svg {
transform: rotate(-12deg) scale(1.1);
}
.gu-clay__bar nav {
display: flex;
align-items: center;
gap: 24px;
}
.gu-clay__bar nav a {
text-decoration: none;
color: var(--muted);
transition: color 0.3s;
}
.gu-clay__bar nav a:hover {
color: var(--ink);
}
.gu-clay__bag {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 14px;
border-radius: 999px;
background: var(--ink);
color: var(--bg);
font-weight: 700;
font-variant-numeric: tabular-nums;
}
.gu-clay__bag svg {
width: 18px;
fill: none;
stroke: currentColor;
stroke-width: 2;
stroke-linejoin: round;
}
.gu-clay__bag > span:not(.gu-clay__sr) {
display: inline-block;
animation: gu-clay-bump 0.5s var(--spring);
}
/* ---------- Hero with the wheel ---------- */
.gu-clay__hero {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-areas:
"copy wheel"
"copy panel";
gap: 10px 40px;
padding: 40px 6% 70px;
}
.gu-clay__hero-copy {
grid-area: copy;
align-self: center;
}
.gu-clay__kicker {
margin: 0 0 16px;
color: var(--terra);
font-weight: 600;
animation: gu-clay-rise 0.9s var(--ease) both;
}
.gu-clay__hero h1 {
margin: 0;
font-family: var(--head);
font-size: clamp(2.4rem, 5.6cqi, 4.4rem);
font-weight: 400;
line-height: 1.02;
letter-spacing: -0.02em;
animation: gu-clay-rise 1s var(--ease) 0.1s both;
}
.gu-clay__lede {
max-width: 40ch;
margin: 22px 0 0;
color: var(--muted);
font-size: 1.05rem;
animation: gu-clay-rise 1s var(--ease) 0.25s both;
}
.gu-clay__wheel-wrap {
grid-area: wheel;
position: relative;
animation: gu-clay-rise 1.1s var(--ease) 0.2s both;
}
.gu-clay__wheel {
display: block;
width: 100%;
max-width: 420px;
margin: 0 auto;
overflow: visible;
touch-action: pan-y;
}
.gu-clay__head {
fill: #5a4d40;
}
.gu-clay__head-top {
fill: #8d8174;
}
.gu-clay__head-spin {
fill: none;
stroke: rgb(255 255 255 / 0.25);
stroke-width: 2;
stroke-dasharray: 18 24;
animation: gu-clay-spin 1.4s linear infinite;
}
.gu-clay__shadow {
fill: rgb(0 0 0 / 0.25);
filter: blur(3px);
}
.gu-clay__pot {
transition: filter 0.8s var(--ease);
}
.gu-clay__wheel stop {
transition: stop-color 0.8s var(--ease);
}
/* Throwing lines slide past as the wheel turns. */
.gu-clay__turn {
animation: gu-clay-turn 0.9s linear infinite;
}
.gu-clay__speck {
animation: gu-clay-fade 0.8s var(--ease) both;
}
.gu-clay__foot {
opacity: 0.55;
mix-blend-mode: multiply;
}
.gu-clay__mouth {
transition: fill 0.8s var(--ease);
}
.gu-clay__handle {
cursor: ew-resize;
outline: none;
touch-action: none;
}
.gu-clay__handle line {
stroke: var(--ink);
stroke-width: 1;
stroke-dasharray: 3 4;
opacity: 0.35;
}
.gu-clay__handle circle:not(.gu-clay__hit) {
fill: var(--bg);
stroke: var(--ink);
stroke-width: 2;
transition:
r 0.3s var(--spring),
fill 0.3s;
}
.gu-clay__hit {
fill: transparent;
}
.gu-clay__handle:hover circle:not(.gu-clay__hit),
.gu-clay__handle:focus-visible circle:not(.gu-clay__hit) {
r: 12;
fill: var(--terra);
}
.gu-clay__handle:focus-visible circle:not(.gu-clay__hit) {
stroke: var(--focus);
stroke-width: 3;
}
/* The kiln: an orange glow that swells while firing. */
.gu-clay__glow {
position: absolute;
inset: 0;
z-index: -1;
border-radius: 50%;
background: radial-gradient(circle at 50% 50%, rgb(255 140 50 / 0.7), rgb(220 70 20 / 0.25) 45%, transparent 68%);
opacity: 0;
transform: scale(0.6);
transition:
opacity 0.8s var(--ease),
transform 1.2s var(--ease);
}
.gu-clay__wheel-wrap[data-kiln="firing"] .gu-clay__glow {
opacity: 1;
transform: scale(1.05);
animation: gu-clay-heat 1.2s ease-in-out infinite alternate;
}
.gu-clay__wheel-wrap[data-kiln="firing"] .gu-clay__pot {
filter: sepia(1) saturate(4) hue-rotate(-20deg) brightness(1.15);
}
.gu-clay__wheel-wrap[data-kiln="fired"] .gu-clay__pot {
animation: gu-clay-out 0.8s var(--spring);
transform-box: fill-box;
transform-origin: 50% 100%;
}
.gu-clay__panel {
grid-area: panel;
display: grid;
gap: 14px;
justify-items: center;
text-align: center;
}
.gu-clay__glazes {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
}
.gu-clay__glazes button {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 42px;
padding: 0 14px 0 6px;
border: 1px solid var(--line);
border-radius: 999px;
background: var(--bg);
color: var(--ink);
font: inherit;
font-size: 0.9rem;
cursor: pointer;
transition:
border-color 0.3s,
transform 0.4s var(--spring);
}
.gu-clay__glazes button span {
width: 28px;
aspect-ratio: 1;
border-radius: 50%;
background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / 0.35), transparent 45%), linear-gradient(var(--g), var(--s));
transition: transform 0.5s var(--spring);
}
.gu-clay__glazes button:hover {
border-color: var(--ink);
}
.gu-clay__glazes button[aria-pressed="true"] {
border-color: var(--ink);
background: #fff;
transform: translateY(-2px);
}
.gu-clay__glazes button[aria-pressed="true"] span {
transform: scale(1.12);
}
.gu-clay__fire-row {
display: grid;
gap: 8px;
justify-items: center;
}
.gu-clay__fire-row p {
max-width: 34ch;
margin: 0;
color: var(--muted);
font-size: 0.92rem;
}
.gu-clay__fire {
position: relative;
min-height: 50px;
padding: 0 28px;
overflow: hidden;
border: 0;
border-radius: 999px;
background: var(--terra);
color: #fff;
font: inherit;
font-weight: 700;
cursor: pointer;
transition: transform 0.3s var(--spring);
}
.gu-clay__fire::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(100deg, transparent 30%, rgb(255 210 140 / 0.6) 50%, transparent 70%);
transform: translateX(-100%);
}
.gu-clay__fire:hover::before {
transform: translateX(100%);
transition: transform 0.8s var(--ease);
}
.gu-clay__fire:active {
transform: scale(0.95);
}
.gu-clay__fire:disabled {
cursor: progress;
background: #c9562a;
}
.gu-clay__fire:disabled::before {
animation: gu-clay-shine 1.1s linear infinite;
}
/* ---------- Shop ---------- */
.gu-clay__shop {
padding: 70px 6%;
border-top: 1px solid var(--line);
background: var(--plaster);
}
.gu-clay__shop h2,
.gu-clay__classes h2 {
margin: 0 0 26px;
font-family: var(--head);
font-size: clamp(1.9rem, 4.2cqi, 3rem);
font-weight: 400;
}
.gu-clay__shop ul {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
margin: 0;
padding: 0;
list-style: none;
}
.gu-clay__shop li {
display: grid;
gap: 12px;
animation: gu-clay-rise 0.9s var(--ease) calc(var(--i) * 0.1s) both;
}
.gu-clay__photo {
position: relative;
display: block;
overflow: hidden;
background:
radial-gradient(circle at 50% 35%, rgb(255 255 255 / 0.4), transparent 55%),
var(--tone);
}
.gu-clay__photo img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 1.2s var(--ease);
}
.gu-clay__shop .gu-clay__photo {
aspect-ratio: 4 / 5;
border-radius: 14px;
}
.gu-clay__shop li:hover .gu-clay__photo img {
transform: scale(1.05) rotate(-1deg);
}
.gu-clay__item {
display: flex;
justify-content: space-between;
gap: 12px;
}
.gu-clay__item h3,
.gu-clay__class h3 {
margin: 0;
font-size: 1.05rem;
}
.gu-clay__item p,
.gu-clay__class p {
margin: 0;
color: var(--muted);
font-size: 0.9rem;
}
.gu-clay__price {
font-weight: 700;
font-variant-numeric: tabular-nums;
}
.gu-clay__btn {
position: relative;
min-height: 46px;
overflow: hidden;
border: 1px solid var(--ink);
border-radius: 999px;
background: var(--ink);
color: var(--bg);
font: inherit;
font-weight: 700;
cursor: pointer;
transition:
background-color 0.35s var(--ease),
color 0.35s var(--ease),
transform 0.3s var(--spring);
}
.gu-clay__btn span {
display: inline-block;
}
.gu-clay__btn:hover:not(:disabled) {
background: var(--terra);
border-color: var(--terra);
}
.gu-clay__btn:active:not(:disabled) {
transform: scale(0.96);
}
.gu-clay__btn[data-added] {
background: transparent;
color: var(--ink);
border-color: var(--ink);
cursor: default;
}
.gu-clay__btn[data-added] span {
animation: gu-clay-rise 0.5s var(--spring) both;
}
.gu-clay__btn--line {
background: transparent;
color: var(--ink);
}
.gu-clay__btn--line:hover {
color: #fff;
}
.gu-clay__btn--line[aria-pressed="true"] {
background: #e9d4c4;
color: var(--ink);
border-color: var(--terra);
}
.gu-clay__btn--small {
min-height: 42px;
padding: 0 16px;
white-space: nowrap;
}
.gu-clay__btn--small[aria-pressed="true"] {
background: var(--terra);
border-color: var(--terra);
}
.gu-clay__btn:disabled {
background: transparent;
color: var(--muted);
border-color: var(--line);
cursor: not-allowed;
}
/* ---------- Classes ---------- */
.gu-clay__classes {
display: grid;
grid-template-columns: 0.9fr 1.1fr;
align-items: center;
gap: 48px;
padding: 80px 6%;
}
.gu-clay__studio {
aspect-ratio: 3 / 2;
border-radius: 200px 200px 16px 16px;
}
.gu-clay__classes > div > p {
margin: -14px 0 22px;
color: var(--muted);
}
.gu-clay__classes ul {
display: grid;
margin: 0;
padding: 0;
list-style: none;
}
.gu-clay__classes li {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 16px 0;
border-top: 1px solid var(--line);
}
.gu-clay__seats {
display: flex;
gap: 4px;
margin-top: 8px;
}
.gu-clay__seats i {
width: 12px;
height: 12px;
border-radius: 50% 50% 3px 3px;
background: var(--terra);
transition:
background-color 0.4s,
transform 0.4s var(--spring);
}
.gu-clay__seats i[data-taken] {
background: rgb(43 36 30 / 0.15);
transform: scale(0.8);
}
.gu-clay__foot {
display: flex;
flex-wrap: wrap;
gap: 12px 26px;
padding: 24px 6% 32px;
border-top: 1px solid var(--line);
font-size: 0.9rem;
}
.gu-clay__foot span {
flex: 1;
color: var(--muted);
}
/* ---------- Motion ---------- */
@keyframes gu-clay-rise {
from {
opacity: 0;
transform: translateY(22px);
}
}
@keyframes gu-clay-spin {
to {
stroke-dashoffset: -84;
}
}
@keyframes gu-clay-turn {
to {
transform: translateX(-26px);
}
}
@keyframes gu-clay-fade {
from {
opacity: 0;
}
}
@keyframes gu-clay-heat {
to {
transform: scale(1.12);
opacity: 0.8;
}
}
@keyframes gu-clay-out {
0% {
transform: scale(0.94, 1.04);
}
60% {
transform: scale(1.03, 0.98);
}
}
@keyframes gu-clay-shine {
from {
transform: translateX(-100%);
}
to {
transform: translateX(100%);
}
}
@keyframes gu-clay-bump {
40% {
transform: scale(1.5);
}
}
/* ---------- Narrow ---------- */
@container (max-width: 760px) {
.gu-clay__hero {
grid-template-columns: 1fr;
grid-template-areas:
"copy"
"wheel"
"panel";
gap: 24px;
}
.gu-clay__shop ul {
grid-template-columns: 1fr 1fr;
}
.gu-clay__classes {
grid-template-columns: 1fr;
gap: 30px;
}
}
@container (max-width: 560px) {
.gu-clay__bar nav a {
display: none;
}
.gu-clay__shop ul {
grid-template-columns: 1fr;
}
.gu-clay__classes li {
flex-direction: column;
align-items: stretch;
}
}
@media (prefers-reduced-motion: reduce) {
.gu-clay *,
.gu-clay *::before,
.gu-clay *::after {
animation: none !important;
transition: none !important;
}
}
```
You might also want
Next piece: Coffee roaster subscription pageFashion designer portfolio with a lookbook loupe
Portfolios, advanced
Filmmaker portfolio with a screening room
Portfolios, advanced
Interior designer portfolio with a floor plan
Portfolios, advanced



