// Motifs — hand-cut shapes echoing the official Hidden Playground price card art // (sun, sage leaf, blob, squiggle, strawberry). // Intentionally simple — these mirror what's already in the brand artwork. function MotifSun({ size = 200, color = "var(--accent)", spikes = 12, style }) { const cx = 50, cy = 50, rInner = 14, rOuter = 48; const pts = []; for (let i = 0; i < spikes * 2; i++) { const r = i % 2 === 0 ? rOuter : rInner + 2; const a = (i / (spikes * 2)) * Math.PI * 2 - Math.PI / 2; pts.push(`${cx + Math.cos(a) * r},${cy + Math.sin(a) * r}`); } return ( ); } function MotifLeaf({ size = 180, color = "var(--secondary)", style }) { return ( ); } function MotifBlob({ size = 200, color = "var(--terracotta)", style }) { return ( ); } function MotifSquiggle({ width = 320, color = "var(--sky)", style }) { return ( ); } function MotifStar({ size = 80, color = "#fff", style }) { return ( ); } function MotifStrawberry({ size = 80, style }) { return ( {/* leaves */} {/* berry */} {/* seeds */} {[ [22, 30], [30, 28], [38, 30], [18, 38], [26, 38], [34, 38], [42, 38], [22, 46], [30, 46], [38, 46], [26, 54], [34, 54], [30, 60] ].map(([x, y], i) => ( ))} ); } function MotifCloud({ size = 120, color = "var(--surface)", style }) { return ( ); } function MotifPin({ size = 64, style }) { return ( ); } Object.assign(window, { MotifSun, MotifLeaf, MotifBlob, MotifSquiggle, MotifStar, MotifStrawberry, MotifCloud, MotifPin });