Iridescent Render Mosaic
A warm near-black page where glossy objects on saturated studio grounds sit in a tight mosaic of softly rounded tiles, under quiet centred grotesk headlines with one word swept in iridescent foil. It suits catalogues of visual work: asset libraries, studios, makers of shiny things.
Parts
Top bar
A thin dark bar with a small glossy mark, centred menu words, a sign-in link and a cream pill; folds into a two-line toggle on phones.
Code
React For Figma<header class="nav">
<div class="nav__bar">
<a class="nav__brand" href="#" aria-label="Fennick Glass, home">
<svg class="nav__mark" viewBox="0 0 32 32" aria-hidden="true">
<defs>
<linearGradient id="nav-mark-sheen" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#ffb08a" />
<stop offset="0.5" stop-color="#b18cff" />
<stop offset="1" stop-color="#7ad3ff" />
</linearGradient>
</defs>
<rect x="1" y="1" width="30" height="30" rx="9" fill="#f3eee7" />
<circle cx="16" cy="16" r="9" fill="url(#nav-mark-sheen)" />
<path d="M10.5 14.5a6 6 0 0 1 5-5" fill="none" stroke="#fff" stroke-width="2.2" stroke-linecap="round" />
</svg>
<span class="nav__name">Fennick Glass</span>
</a>
<nav class="nav__links" aria-label="Main">
<a class="nav__link" href="#">Collections <span class="nav__caret" aria-hidden="true">⌄</span></a>
<a class="nav__link" href="#">Studio</a>
<a class="nav__link" href="#">Journal</a>
</nav>
<div class="nav__end">
<a class="nav__link nav__signin" href="#">Sign in</a>
<a class="nav__pill" href="#">Book a visit</a>
<button class="nav__toggle" type="button" aria-expanded="false" aria-label="Open menu">
<span class="nav__toggle-line"></span>
<span class="nav__toggle-line"></span>
</button>
</div>
</div>
<div class="nav__panel">
<a class="nav__panel-link" href="#">Collections</a>
<a class="nav__panel-link" href="#">Studio</a>
<a class="nav__panel-link" href="#">Journal</a>
<a class="nav__panel-link" href="#">Sign in</a>
<a class="nav__pill nav__panel-pill" href="#">Book a visit</a>
</div>
</header>
<style>
.nav {
position: relative;
z-index: 5;
background: var(--paper);
font-family: var(--font-body);
font-weight: var(--weight);
}
.nav__bar {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: var(--space-m);
padding: var(--space-m) var(--edge);
}
.nav__brand {
display: inline-flex;
align-items: center;
gap: 10px;
min-height: var(--tap);
color: var(--ink);
text-decoration: none;
justify-self: start;
}
.nav__mark {
width: 28px;
height: 28px;
transition: transform var(--slow) var(--ease);
}
.nav__brand:hover .nav__mark { transform: rotate(-12deg) scale(1.06); }
.nav__name {
font-family: var(--font-display);
font-size: var(--text-s);
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--ink-mute);
}
.nav__links {
display: flex;
gap: var(--space-l);
}
.nav__link {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 4px;
min-width: var(--tap);
min-height: var(--tap);
color: var(--ink-soft);
font-size: var(--text-s);
text-decoration: none;
transition: color var(--quick) var(--ease-plain);
}
.nav__link:hover,
.nav__link:focus-visible { color: var(--ink); }
.nav__caret { font-size: 11px; translate: 0 -2px; }
.nav__end {
display: flex;
align-items: center;
justify-content: flex-end;
gap: var(--space-l);
}
.nav__pill {
display: inline-flex;
align-items: center;
min-height: var(--tap);
padding: 0 18px;
border-radius: var(--radius-pill);
background: var(--button);
color: var(--on-button);
font-size: var(--text-s);
text-decoration: none;
transition: transform var(--mid) var(--ease), background-color var(--mid) var(--ease-plain);
position: relative;
}
.nav__pill:hover { transform: translateY(-1px); background: #fff; }
.nav a:focus-visible,
.nav__toggle:focus-visible {
outline: 2px solid var(--ink);
outline-offset: 3px;
border-radius: 6px;
}
.nav__toggle {
display: none;
width: var(--tap);
height: var(--tap);
padding: 0;
border: 0;
background: transparent;
cursor: pointer;
place-content: center;
gap: 6px;
}
.nav__toggle-line {
display: block;
width: 22px;
height: 2px;
border-radius: 2px;
background: var(--ink);
transition: transform var(--mid) var(--ease);
}
.nav.is-open .nav__toggle-line:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle-line:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__panel {
display: grid;
gap: var(--space-xs);
padding: 0 var(--edge);
max-height: 0;
overflow: hidden;
opacity: 0;
transition: max-height var(--slow) var(--ease), opacity var(--mid) var(--ease-plain), padding var(--slow) var(--ease);
}
.nav.is-open .nav__panel {
max-height: 420px;
opacity: 1;
padding-bottom: var(--space-l);
}
.nav__panel-link {
display: flex;
align-items: center;
min-height: 52px;
border-bottom: var(--rule) solid var(--line);
color: var(--ink);
font-family: var(--font-display);
font-size: 26px;
letter-spacing: var(--track-display);
text-decoration: none;
}
.nav__panel-pill {
justify-content: center;
min-height: var(--tap);
margin-top: var(--space-m);
font-size: var(--text-m);
}
@media (min-width: 761px) {
.nav__panel { display: none; }
}
@media (max-width: 760px) {
.nav__bar { grid-template-columns: 1fr auto; }
.nav__links,
.nav__signin,
.nav__end > .nav__pill { display: none; }
.nav__toggle { display: grid; }
.nav__mark { width: 32px; height: 32px; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.nav')) {
const toggle = root.querySelector('.nav__toggle');
if (!toggle) continue;
toggle.addEventListener('click', () => {
const open = root.classList.toggle('is-open');
toggle.setAttribute('aria-expanded', String(open));
toggle.setAttribute('aria-label', open ? 'Close menu' : 'Open menu');
});
}
})();
</script>
Centred hero with foil word
A short centred headline rising out of blur with one iridescent word, a cream pill, a star line and a first row of tiles led by a looping particle ribbon.
Code
React For Figma<section class="hero">
<div class="hero__copy">
<h1 class="hero__title hero__rise">A cabinet of <span class="hero__foil">hand‑blown</span> glass for your next table</h1>
<p class="hero__lead hero__rise">Browse paperweights, vessels and cased colour, made one at a time in a small furnace room.</p>
<a class="hero__button hero__rise" href="#">Book a visit</a>
<p class="hero__proof hero__rise">
<span class="hero__stars" aria-hidden="true">★★★★★</span>
<span>140 five-star notes from collectors</span>
</p>
</div>
<div class="hero__row hero__rise">
<figure class="hero__tile hero__tile--wide">
<canvas class="hero__canvas" role="img" aria-label="A ribbon of orange and blue light particles turning in the dark"></canvas>
<figcaption class="hero__caption">Flame ribbon <span class="hero__kind">Study</span></figcaption>
</figure>
<figure class="hero__tile hero__tile--frost">
<img class="hero__img" src="assets/vessel-crystal.jpg" alt="A cut crystal bottle with swirling engraving" width="600" height="800" />
<figcaption class="hero__caption">Rock cut <span class="hero__kind">Vessel</span></figcaption>
</figure>
<figure class="hero__tile hero__tile--shader">
<span class="hero__blob" aria-hidden="true"></span>
<figcaption class="hero__caption">Rose melt <span class="hero__kind">Colour</span></figcaption>
</figure>
</div>
</section>
<style>
.hero {
padding: clamp(48px, 7vw, 96px) var(--edge) var(--section-space);
text-align: center;
}
.hero__copy {
display: grid;
justify-items: center;
gap: var(--space-m);
margin-bottom: clamp(40px, 6vw, 80px);
}
.hero__title {
max-width: 19ch;
margin: 0;
color: var(--ink);
font-family: var(--font-display);
font-size: var(--display-l);
font-weight: var(--weight);
line-height: var(--leading-display);
letter-spacing: var(--track-display);
text-wrap: balance;
}
.hero__foil {
background: var(--foil);
background-size: 300% 100%;
background-position: 100% 0;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: hero-foil 6s var(--ease) infinite;
}
@keyframes hero-foil {
0%, 15% { background-position: 100% 0; }
70%, 100% { background-position: 0% 0; }
}
.hero__lead {
max-width: var(--measure);
margin: 0;
font-size: var(--text-l);
text-wrap: balance;
}
.hero__button {
display: inline-flex;
align-items: center;
min-height: var(--tap);
margin-top: var(--space-s);
padding: 0 22px;
border-radius: var(--radius-pill);
background: var(--button);
color: var(--on-button);
font-size: var(--text-m);
text-decoration: none;
transition: transform var(--mid) var(--ease), background-color var(--mid) var(--ease-plain);
}
.hero__button:hover { transform: translateY(-2px); background: #fff; }
.hero__button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero__proof {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
margin: var(--space-l) 0 0;
font-size: var(--text-s);
}
.hero__stars { color: var(--accent); letter-spacing: 2px; }
.hero__row {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: var(--gap);
text-align: left;
}
.hero__tile {
position: relative;
margin: 0;
aspect-ratio: 1;
overflow: hidden;
border-radius: var(--radius-tile);
background: var(--tile);
}
.hero__tile--wide { aspect-ratio: auto; background: var(--void); }
.hero__tile--frost { background: var(--tint-frost); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img {
width: 100%;
height: 100%;
object-fit: cover;
mix-blend-mode: multiply;
filter: contrast(1.15) saturate(1.2);
transition: transform var(--slow) var(--ease);
}
.hero__tile:hover .hero__img,
.hero__tile:hover .hero__blob { transform: scale(1.05); }
.hero__tile--shader { background: linear-gradient(160deg, #3a1a6b, var(--tint-violet)); }
.hero__blob {
position: absolute;
inset: 12%;
border-radius: 50%;
background: radial-gradient(circle at 40% 40%, #ffd1a6 0%, var(--tint-pink) 35%, #e2265a 60%, transparent 72%);
filter: blur(6px);
animation: hero-breathe 7s ease-in-out infinite alternate;
transition: transform var(--slow) var(--ease);
}
@keyframes hero-breathe {
from { border-radius: 50% 46% 52% 48%; translate: -3% 2%; }
to { border-radius: 44% 54% 46% 56%; translate: 3% -2%; }
}
.hero__caption {
position: absolute;
left: var(--space-m);
bottom: 12px;
color: var(--ink);
font-size: var(--text-s);
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hero__kind { margin-left: 4px; color: rgba(243, 238, 231, 0.6); }
.hero__rise {
opacity: 0;
filter: blur(12px);
translate: 0 24px;
animation: hero-rise var(--rise) var(--ease) forwards;
}
.hero__copy > .hero__rise:nth-child(2) { animation-delay: 120ms; }
.hero__copy > .hero__rise:nth-child(3) { animation-delay: 240ms; }
.hero__copy > .hero__rise:nth-child(4) { animation-delay: 360ms; }
.hero__row.hero__rise { animation-delay: 480ms; }
@keyframes hero-rise {
to { opacity: 1; filter: blur(0); translate: 0 0; }
}
@media (max-width: 760px) {
.hero__row { grid-template-columns: 1fr 1fr; }
.hero__tile--wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
.hero__rise { opacity: 1; filter: none; translate: none; animation: none; }
.hero__foil, .hero__blob { animation: none; }
}
</style>
<script>
(() => {
const still = matchMedia('(prefers-reduced-motion: reduce)');
const COUNT = 2600;
function paint(context, width, height, seconds, seeds) {
context.globalCompositeOperation = 'source-over';
context.fillStyle = 'rgba(0, 0, 0, 0.35)';
context.fillRect(0, 0, width, height);
context.globalCompositeOperation = 'lighter';
const cx = width / 2;
const cy = height / 2;
const span = width * 0.36;
for (let i = 0; i < COUNT; i += 1) {
const s = seeds[i];
const t = s.u * Math.PI * 2 + seconds * 0.35;
// A figure-eight path, thickened by each particle's own offset.
const band = s.dx * s.dx * Math.sign(s.dx);
const x = cx + Math.sin(t) * span * (1 + band * 0.12) + s.dy * 6;
const y = cy + Math.sin(t * 2) * height * 0.22 * (1 + band * 0.35) + Math.cos(t + seconds * 0.2) * 10 + s.dy * 4;
const warm = (Math.sin(t) + 1) / 2;
context.fillStyle = warm > 0.5
? `rgba(255, ${120 + warm * 60 | 0}, 60, ${0.25 + s.a * 0.5})`
: `rgba(110, ${170 + warm * 80 | 0}, 255, ${0.25 + s.a * 0.5})`;
context.fillRect(x, y, s.r, s.r);
}
}
function run(canvas) {
const context = canvas.getContext('2d');
const seeds = Array.from({ length: COUNT }, () => ({
u: Math.random(), dx: (Math.random() - 0.5) * 2, dy: (Math.random() - 0.5) * 2,
a: Math.random(), r: Math.random() < 0.85 ? 1.2 : 2.2,
}));
let frame = 0;
const fit = () => {
const density = Math.min(2, devicePixelRatio || 1);
canvas.width = canvas.clientWidth * density;
canvas.height = canvas.clientHeight * density;
context.setTransform(density, 0, 0, density, 0, 0);
paint(context, canvas.clientWidth, canvas.clientHeight, performance.now() / 1000, seeds);
};
const tick = (now) => {
paint(context, canvas.clientWidth, canvas.clientHeight, now / 1000, seeds);
frame = requestAnimationFrame(tick);
};
new ResizeObserver(fit).observe(canvas);
new IntersectionObserver(([entry]) => {
cancelAnimationFrame(frame);
if (entry.isIntersecting && !still.matches) frame = requestAnimationFrame(tick);
}).observe(canvas);
}
document.querySelectorAll('.hero__canvas').forEach(run);
})();
</script>
Render mosaic
The signature grid of rounded tiles in mixed widths: photographs on coloured grounds, canvas loops and soft shader blobs, each with a two-tone caption, zooming on hover.
Code
React For Figma<section class="mosaic" aria-label="Recent pieces">
<div class="mosaic__grid">
<figure class="mosaic__tile mosaic__tile--red mosaic__tile--s">
<img class="mosaic__img" src="assets/orb-a.jpg" alt="A red paperweight with a white lily-of-the-valley set inside" width="800" height="800" />
<figcaption class="mosaic__caption">Lily dome <span class="mosaic__kind">Paperweight</span></figcaption>
</figure>
<figure class="mosaic__tile mosaic__tile--void mosaic__tile--l">
<canvas class="mosaic__canvas" data-draw="filament" role="img" aria-label="Fine white lines crossing in slow waves"></canvas>
<figcaption class="mosaic__caption">Drawn thread <span class="mosaic__kind">Study</span></figcaption>
</figure>
<figure class="mosaic__tile mosaic__tile--void mosaic__tile--s">
<canvas class="mosaic__canvas" data-draw="halftone" role="img" aria-label="A sphere of white dots turning slowly"></canvas>
<figcaption class="mosaic__caption">Seed sphere <span class="mosaic__kind">Study</span><span class="mosaic__badge">New</span></figcaption>
</figure>
<figure class="mosaic__tile mosaic__tile--frost mosaic__tile--s">
<img class="mosaic__img" src="assets/orb-c.jpg" alt="A clear paperweight with rings of millefiori canes" width="800" height="800" />
<figcaption class="mosaic__caption">Cane rosette <span class="mosaic__kind">Paperweight</span></figcaption>
</figure>
<figure class="mosaic__tile mosaic__tile--amber mosaic__tile--s">
<span class="mosaic__blob" aria-hidden="true"></span>
<figcaption class="mosaic__caption">Ember melt <span class="mosaic__kind">Colour</span></figcaption>
</figure>
<figure class="mosaic__tile mosaic__tile--violet mosaic__tile--m">
<img class="mosaic__img" src="assets/orb-b.jpg" alt="A paperweight packed with a scramble of coloured glass canes" width="800" height="800" />
<figcaption class="mosaic__caption">Scramble <span class="mosaic__kind">Paperweight</span></figcaption>
</figure>
<figure class="mosaic__tile mosaic__tile--yellow mosaic__tile--m">
<img class="mosaic__img" src="assets/orb-d.jpg" alt="A clear paperweight with blue flowers and a butterfly inside" width="800" height="800" />
<figcaption class="mosaic__caption">Meadow <span class="mosaic__kind">Paperweight</span></figcaption>
</figure>
<figure class="mosaic__tile mosaic__tile--pink mosaic__tile--s">
<img class="mosaic__img mosaic__img--tall" src="assets/vessel-clutha.jpg" alt="A tall thin red glass vase with a flared lip" width="600" height="800" />
<figcaption class="mosaic__caption">Stem vase <span class="mosaic__kind">Vessel</span></figcaption>
</figure>
<figure class="mosaic__tile mosaic__tile--void mosaic__tile--s">
<span class="mosaic__blob mosaic__blob--cool" aria-hidden="true"></span>
<figcaption class="mosaic__caption">Night pour <span class="mosaic__kind">Colour</span></figcaption>
</figure>
</div>
</section>
<style>
.mosaic {
padding: 0 var(--edge) var(--section-space);
}
.mosaic__grid {
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
grid-auto-rows: clamp(150px, 19vw, 280px);
grid-auto-flow: dense;
gap: var(--gap);
}
.mosaic__tile {
position: relative;
margin: 0;
overflow: hidden;
border-radius: var(--radius-tile);
background: var(--tile);
opacity: 0;
translate: 0 28px;
transition: opacity var(--slow) var(--ease), translate var(--rise) var(--ease);
transition-delay: calc(var(--order, 0) * 70ms);
}
.mosaic.is-seen .mosaic__tile { opacity: 1; translate: 0 0; }
.mosaic__tile--s { grid-column: span 3; }
.mosaic__tile--m { grid-column: span 6; }
.mosaic__tile--l { grid-column: span 6; }
.mosaic__tile--red { background: var(--tint-red); }
.mosaic__tile--frost { background: var(--tint-frost); }
.mosaic__tile--violet { background: linear-gradient(150deg, var(--tint-violet), var(--tint-pink)); }
.mosaic__tile--yellow { background: var(--tint-yellow); }
.mosaic__tile--pink { background: var(--tint-pink); }
.mosaic__tile--amber { background: var(--void); }
.mosaic__tile--void { background: var(--void); }
.mosaic__img,
.mosaic__canvas,
.mosaic__blob {
transition: transform var(--slow) var(--ease);
}
.mosaic__img {
width: 100%;
height: 100%;
object-fit: cover;
mix-blend-mode: multiply;
filter: contrast(1.2) saturate(1.25);
}
.mosaic__img--tall { object-position: 50% 30%; }
.mosaic__canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.mosaic__tile:hover .mosaic__img,
.mosaic__tile:hover .mosaic__canvas,
.mosaic__tile:hover .mosaic__blob { transform: scale(1.05); }
.mosaic__blob {
position: absolute;
inset: 4%;
border-radius: 50%;
background:
radial-gradient(ellipse 60% 40% at 50% 30%, var(--tint-yellow) 0%, transparent 70%),
radial-gradient(ellipse 60% 40% at 50% 72%, var(--tint-amber) 0%, transparent 70%),
radial-gradient(circle at 50% 50%, var(--accent) 0%, transparent 70%);
filter: blur(14px);
animation: mosaic-breathe 8s ease-in-out infinite alternate;
}
.mosaic__blob--cool {
background:
radial-gradient(ellipse 55% 45% at 40% 40%, var(--tint-violet) 0%, transparent 70%),
radial-gradient(ellipse 50% 40% at 62% 62%, var(--tint-frost) 0%, transparent 70%);
animation-duration: 10s;
}
@keyframes mosaic-breathe {
from { scale: 0.92; rotate: -8deg; }
to { scale: 1.06; rotate: 8deg; }
}
.mosaic__tile::after {
content: "";
position: absolute;
inset: 55% 0 0;
background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.32));
pointer-events: none;
}
.mosaic__caption {
z-index: 1;
position: absolute;
left: var(--space-m);
right: var(--space-m);
bottom: 12px;
display: flex;
align-items: center;
gap: 4px;
color: var(--ink);
font-size: var(--text-s);
white-space: nowrap;
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.mosaic__kind { color: rgba(243, 238, 231, 0.6); }
.mosaic__badge {
display: inline-flex;
align-items: center;
gap: 6px;
margin-left: auto;
}
.mosaic__badge::before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--accent);
}
@media (max-width: 900px) {
.mosaic__tile--s { grid-column: span 6; }
.mosaic__tile--m,
.mosaic__tile--l { grid-column: span 12; }
.mosaic__grid { grid-auto-rows: clamp(150px, 42vw, 300px); }
}
@media (max-width: 560px) {
.mosaic__tile--s .mosaic__kind { display: none; }
.mosaic__caption { left: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
.mosaic__tile { opacity: 1; translate: none; transition: none; }
.mosaic__blob { animation: none; }
}
</style>
<script>
(() => {
const still = matchMedia('(prefers-reduced-motion: reduce)');
// Fine white threads in slow waves, a little colour where they bunch.
function filament(context, width, height, seconds) {
context.fillStyle = '#000';
context.fillRect(0, 0, width, height);
context.lineWidth = 0.7;
const lines = 46;
for (let i = 0; i < lines; i += 1) {
const k = i / (lines - 1);
context.strokeStyle = `rgba(${200 + k * 55 | 0}, ${200 + (1 - k) * 40 | 0}, 255, ${0.16 + 0.3 * Math.sin(k * Math.PI)})`;
context.beginPath();
for (let x = 0; x <= width; x += 6) {
const u = x / width;
const y = height * 0.5
+ Math.sin(u * 5 + seconds * 0.6 + k * 2.4) * height * 0.22 * Math.sin(u * Math.PI)
+ Math.cos(u * 3 - seconds * 0.4) * (k - 0.5) * height * 0.5;
if (x === 0) context.moveTo(x, y); else context.lineTo(x, y);
}
context.stroke();
}
}
// A turning sphere of dots, bigger and brighter where they face us.
function halftone(context, width, height, seconds) {
context.fillStyle = '#000';
context.fillRect(0, 0, width, height);
const r = Math.min(width, height) * 0.34;
const cx = width / 2;
const cy = height / 2 - height * 0.04;
const spin = seconds * 0.4;
for (let lat = -8; lat <= 8; lat += 1) {
const phi = (lat / 8) * (Math.PI / 2) * 0.96;
const ring = Math.max(1, Math.round(Math.cos(phi) * 30));
for (let j = 0; j < ring; j += 1) {
const theta = (j / ring) * Math.PI * 2 + spin;
const z = Math.cos(phi) * Math.cos(theta);
if (z < -0.1) continue;
const x = cx + Math.cos(phi) * Math.sin(theta) * r;
const y = cy + Math.sin(phi) * r;
const light = Math.max(0, z * 0.7 + Math.sin(phi) * -0.3 + 0.3);
context.fillStyle = `rgba(243, 238, 231, ${0.15 + light * 0.85})`;
context.beginPath();
context.arc(x, y, 0.6 + light * 2.4, 0, Math.PI * 2);
context.fill();
}
}
}
const DRAW = { filament, halftone };
function run(canvas) {
const paint = DRAW[canvas.dataset.draw];
if (!paint) return;
const context = canvas.getContext('2d');
let frame = 0;
const fit = () => {
const density = Math.min(2, devicePixelRatio || 1);
canvas.width = canvas.clientWidth * density;
canvas.height = canvas.clientHeight * density;
context.setTransform(density, 0, 0, density, 0, 0);
paint(context, canvas.clientWidth, canvas.clientHeight, performance.now() / 1000);
};
const tick = (now) => {
paint(context, canvas.clientWidth, canvas.clientHeight, now / 1000);
frame = requestAnimationFrame(tick);
};
new ResizeObserver(fit).observe(canvas);
new IntersectionObserver(([entry]) => {
cancelAnimationFrame(frame);
if (entry.isIntersecting && !still.matches) frame = requestAnimationFrame(tick);
}).observe(canvas);
}
const seen = new IntersectionObserver((entries) => {
for (const entry of entries) {
if (!entry.isIntersecting) continue;
entry.target.classList.add('is-seen');
seen.unobserve(entry.target);
}
}, { threshold: 0.05 });
for (const root of document.querySelectorAll('.mosaic')) {
root.querySelectorAll('.mosaic__tile').forEach((tile, order) => tile.style.setProperty('--order', order));
root.querySelectorAll('.mosaic__canvas').forEach(run);
seen.observe(root);
}
})();
</script>
Collection index
A centred lead-in then hairline rows with a huge name, a line of description, pill tags and a round arrow; a thumbnail slides in on hover.
Code
React For Figma<section class="index">
<header class="index__head">
<h2 class="index__title">Four cabinets so far…<br />more cooling in the kiln.</h2>
<p class="index__lead">Each one keeps filling, with new pieces out of the annealer every month.</p>
</header>
<ul class="index__list">
<li class="index__row">
<a class="index__link" href="#">
<span class="index__name">Paperweights</span>
<span class="index__meta">
<span class="index__text">Domes of clear glass around flowers, canes and tiny gardens.</span>
<span class="index__tags"><span class="index__tag">Millefiori</span><span class="index__tag">Lampwork</span></span>
</span>
<span class="index__thumb index__thumb--red"><img class="index__img" src="assets/orb-a.jpg" alt="" width="800" height="800" /></span>
<span class="index__arrow" aria-hidden="true">→</span>
</a>
</li>
<li class="index__row">
<a class="index__link" href="#">
<span class="index__name">Cut crystal</span>
<span class="index__meta">
<span class="index__text">Heavy lead glass, wheel-cut in swirls that throw light across a table.</span>
<span class="index__tags"><span class="index__tag">Bottles</span><span class="index__tag">Bowls</span><span class="index__tag">Engraved</span></span>
</span>
<span class="index__thumb index__thumb--frost"><img class="index__img" src="assets/vessel-crystal.jpg" alt="" width="600" height="800" /></span>
<span class="index__arrow" aria-hidden="true">→</span>
</a>
</li>
<li class="index__row">
<a class="index__link" href="#">
<span class="index__name">Stem vases</span>
<span class="index__meta">
<span class="index__text">One flower, one long neck, one colour pulled thin in the flame.</span>
<span class="index__tags"><span class="index__tag">Cased</span><span class="index__tag">Single</span></span>
</span>
<span class="index__thumb index__thumb--pink"><img class="index__img" src="assets/vessel-clutha.jpg" alt="" width="600" height="800" /></span>
<span class="index__arrow" aria-hidden="true">→</span>
</a>
</li>
<li class="index__row">
<a class="index__link" href="#">
<span class="index__name">Scrambles</span>
<span class="index__meta">
<span class="index__text">Offcuts from every batch, packed tight and sealed under one lens.</span>
<span class="index__tags"><span class="index__tag">Paperweights</span><span class="index__tag">Limited</span><span class="index__tag">Gift</span></span>
</span>
<span class="index__thumb index__thumb--violet"><img class="index__img" src="assets/orb-b.jpg" alt="" width="800" height="800" /></span>
<span class="index__arrow" aria-hidden="true">→</span>
</a>
</li>
</ul>
</section>
<style>
.index {
padding: var(--section-space) var(--edge);
}
.index__head {
display: grid;
justify-items: center;
gap: var(--space-m);
margin-bottom: clamp(48px, 7vw, 100px);
text-align: center;
}
.index__title {
margin: 0;
color: var(--ink);
font-family: var(--font-display);
font-size: var(--display-m);
font-weight: var(--weight);
line-height: 1.12;
letter-spacing: -0.02em;
}
.index__lead {
max-width: var(--measure);
margin: 0;
font-size: var(--text-l);
text-wrap: balance;
}
.index__list {
margin: 0;
padding: 0;
list-style: none;
border-top: var(--rule) solid var(--line);
}
.index__row { border-bottom: var(--rule) solid var(--line); }
.index__link {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
align-items: center;
gap: var(--space-l);
padding: clamp(20px, 2.6vw, 34px) 0;
color: inherit;
text-decoration: none;
}
.index__link:focus-visible {
outline: 2px solid var(--ink);
outline-offset: 4px;
border-radius: var(--radius-tile);
}
.index__name {
color: var(--ink);
font-family: var(--font-display);
font-size: var(--display-xl);
line-height: 1;
letter-spacing: var(--track-display);
transition: translate var(--slow) var(--ease), color var(--quick) var(--ease-plain);
}
.index__meta {
display: grid;
gap: 10px;
}
.index__text {
font-size: var(--text-l);
transition: color var(--quick) var(--ease-plain);
}
.index__tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.index__tag {
padding: 3px 10px;
border: var(--rule) solid var(--chip-line);
border-radius: var(--radius-pill);
background: var(--chip);
color: var(--ink-soft);
font-size: var(--text-xs);
}
.index__thumb {
width: 72px;
height: 72px;
overflow: hidden;
border-radius: var(--radius-tile);
opacity: 0;
scale: 0.8;
transition: opacity var(--mid) var(--ease-plain), scale var(--slow) var(--ease);
}
.index__thumb--red { background: var(--tint-red); }
.index__thumb--frost { background: var(--tint-frost); }
.index__thumb--pink { background: var(--tint-pink); }
.index__thumb--violet { background: var(--tint-violet); }
.index__img {
width: 100%;
height: 100%;
object-fit: cover;
mix-blend-mode: multiply;
filter: contrast(1.2) saturate(1.25);
}
.index__arrow {
display: grid;
place-items: center;
width: var(--tap);
height: var(--tap);
border: var(--rule) solid var(--chip-line);
border-radius: 50%;
color: var(--ink);
font-size: 15px;
transition: background-color var(--mid) var(--ease-plain), color var(--mid) var(--ease-plain), border-color var(--mid) var(--ease-plain);
}
.index__link:hover .index__name,
.index__link:focus-visible .index__name { translate: 12px 0; }
.index__link:hover .index__text { color: var(--ink); }
.index__link:hover .index__thumb,
.index__link:focus-visible .index__thumb { opacity: 1; scale: 1; }
.index__link:hover .index__arrow,
.index__link:focus-visible .index__arrow {
background: var(--button);
border-color: var(--button);
color: var(--on-button);
}
@media (max-width: 760px) {
.index__link {
grid-template-columns: minmax(0, 1fr) auto;
gap: var(--space-m);
}
.index__name { grid-column: 1; grid-row: 1; }
.index__meta { grid-column: 1; grid-row: 2; }
.index__text { display: none; }
.index__thumb { grid-column: 2; grid-row: 1 / 3; opacity: 1; scale: 1; }
.index__arrow { display: none; }
}
</style>
Coming-soon card
One wide black card with a live dot badge, a title, a half-muted sentence and a slowly turning line-drawn surface fading in from the right.
Code
React For Figma<section class="teaser">
<article class="teaser__card">
<div class="teaser__copy">
<p class="teaser__badge"><span class="teaser__dot" aria-hidden="true"></span>Coming soon</p>
<h2 class="teaser__title">Smoke series</h2>
<p class="teaser__text">The third paperweight run. Same domes, tinted dark. <span class="teaser__muted">Out of the kiln for members first.</span></p>
<a class="teaser__link" href="#">Join the list <span aria-hidden="true">→</span></a>
</div>
<canvas class="teaser__canvas" role="img" aria-label="A folded sheet of fine white lines turning slowly, with a rainbow edge"></canvas>
</article>
</section>
<style>
.teaser {
padding: var(--section-space) var(--edge);
}
.teaser__card {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
min-height: 260px;
overflow: hidden;
border: var(--rule) solid var(--line);
border-radius: var(--radius-card);
background: var(--void);
}
.teaser__copy {
position: relative;
z-index: 1;
display: grid;
align-content: center;
justify-items: start;
gap: var(--space-m);
padding: var(--space-xl);
}
.teaser__badge {
display: inline-flex;
align-items: center;
gap: 8px;
margin: 0;
padding: 5px 12px;
border-radius: var(--radius-pill);
background: rgba(243, 238, 231, 0.08);
color: var(--ink);
font-size: var(--text-s);
}
.teaser__dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--accent);
animation: teaser-pulse 2.4s ease-in-out infinite;
}
@keyframes teaser-pulse {
0%, 100% { box-shadow: 0 0 0 0 rgba(240, 104, 58, 0.6); }
50% { box-shadow: 0 0 0 5px rgba(240, 104, 58, 0); }
}
.teaser__title {
margin: 0;
color: var(--ink);
font-family: var(--font-display);
font-size: var(--display-m);
font-weight: var(--weight);
line-height: 1.1;
letter-spacing: -0.02em;
}
.teaser__text {
max-width: var(--measure);
margin: 0;
color: var(--ink-soft);
font-size: var(--text-m);
}
.teaser__text { color: rgba(243, 238, 231, 0.78); }
.teaser__muted { color: var(--ink-mute); }
.teaser__link {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: var(--tap);
color: var(--ink);
font-size: var(--text-s);
text-decoration: none;
transition: gap var(--mid) var(--ease);
}
.teaser__link:hover,
.teaser__link:focus-visible { gap: 14px; }
.teaser__link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.teaser__canvas {
width: 100%;
height: 100%;
min-height: 260px;
-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
@media (max-width: 760px) {
.teaser__card { grid-template-columns: 1fr; }
.teaser__canvas {
grid-row: 1;
min-height: 220px;
-webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}
.teaser__copy { padding: 0 var(--space-l) var(--space-l); }
}
@media (prefers-reduced-motion: reduce) {
.teaser__dot { animation: none; }
}
</style>
<script>
(() => {
const still = matchMedia('(prefers-reduced-motion: reduce)');
// A ruled surface: many thin lines strung between two moving curves, so it reads as a folded sheet.
function paint(context, width, height, seconds) {
context.fillStyle = '#000';
context.fillRect(0, 0, width, height);
const lines = 90;
const t = seconds * 0.3;
const ax = width * 0.25, ay = height * 1.05;
const bx = width * 0.7, by = -height * 0.05;
for (let i = 0; i < lines; i += 1) {
const k = i / (lines - 1);
const a = k * Math.PI;
const x1 = ax + Math.cos(a + t) * width * 0.22;
const y1 = ay - Math.sin(a) * height * 0.35;
const x2 = bx + Math.cos(a * 1.4 - t * 1.3) * width * 0.16;
const y2 = by + Math.sin(a + t) * height * 0.25 + height * 0.2;
const edge = Math.pow(Math.sin(a), 6);
const glow = 0.12 + 0.6 * Math.pow(Math.abs(Math.sin(a * 1.5 + t)), 3);
context.strokeStyle = edge > 0.85
? `hsla(${(k * 360 + seconds * 40) % 360}, 90%, 70%, ${glow})`
: `rgba(243, 238, 231, ${glow})`;
context.lineWidth = 0.6;
context.beginPath();
context.moveTo(x1, y1);
context.quadraticCurveTo(width * 0.5 + Math.sin(t + k * 3) * width * 0.12, height * 0.5, x2, y2);
context.stroke();
}
}
function run(canvas) {
const context = canvas.getContext('2d');
let frame = 0;
const fit = () => {
const density = Math.min(2, devicePixelRatio || 1);
canvas.width = canvas.clientWidth * density;
canvas.height = canvas.clientHeight * density;
context.setTransform(density, 0, 0, density, 0, 0);
paint(context, canvas.clientWidth, canvas.clientHeight, performance.now() / 1000);
};
const tick = (now) => {
paint(context, canvas.clientWidth, canvas.clientHeight, now / 1000);
frame = requestAnimationFrame(tick);
};
new ResizeObserver(fit).observe(canvas);
new IntersectionObserver(([entry]) => {
cancelAnimationFrame(frame);
if (entry.isIntersecting && !still.matches) frame = requestAnimationFrame(tick);
}).observe(canvas);
}
document.querySelectorAll('.teaser__canvas').forEach(run);
})();
</script>
Drifting wall call
Three rows of dimmed tiles drift sideways behind a centred headline and a cream pill, fading into the page above.
Code
React For Figma<section class="closing">
<div class="closing__wall" aria-hidden="true">
<div class="closing__row">
<div class="closing__track">
<span class="closing__tile closing__tile--frost"><img class="closing__img" src="assets/orb-c.jpg" alt="" width="800" height="800" /></span>
<span class="closing__tile closing__tile--wide closing__tile--ember"></span>
<span class="closing__tile closing__tile--red"><img class="closing__img" src="assets/orb-a.jpg" alt="" width="800" height="800" /></span>
<span class="closing__tile closing__tile--dusk"></span>
<span class="closing__tile closing__tile--wide closing__tile--frost"><img class="closing__img" src="assets/vessel-crystal.jpg" alt="" width="600" height="800" /></span>
<span class="closing__tile closing__tile--violet"><img class="closing__img" src="assets/orb-b.jpg" alt="" width="800" height="800" /></span>
</div>
</div>
<div class="closing__row closing__row--back">
<div class="closing__track">
<span class="closing__tile closing__tile--yellow closing__tile--lit"><img class="closing__img" src="assets/orb-d.jpg" alt="" width="800" height="800" /></span>
<span class="closing__tile closing__tile--dusk"></span>
<span class="closing__tile closing__tile--wide closing__tile--pink"><img class="closing__img" src="assets/vessel-clutha.jpg" alt="" width="600" height="800" /></span>
<span class="closing__tile closing__tile--frost closing__tile--lit"><img class="closing__img" src="assets/orb-a.jpg" alt="" width="800" height="800" /></span>
<span class="closing__tile closing__tile--ember"></span>
<span class="closing__tile closing__tile--violet"><img class="closing__img" src="assets/orb-c.jpg" alt="" width="800" height="800" /></span>
</div>
</div>
<div class="closing__row">
<div class="closing__track">
<span class="closing__tile closing__tile--wide closing__tile--dusk"></span>
<span class="closing__tile closing__tile--red closing__tile--lit"><img class="closing__img" src="assets/orb-b.jpg" alt="" width="800" height="800" /></span>
<span class="closing__tile closing__tile--frost"><img class="closing__img" src="assets/orb-d.jpg" alt="" width="800" height="800" /></span>
<span class="closing__tile closing__tile--ember"></span>
<span class="closing__tile closing__tile--wide closing__tile--violet"><img class="closing__img" src="assets/vessel-clutha.jpg" alt="" width="600" height="800" /></span>
<span class="closing__tile closing__tile--yellow"><img class="closing__img" src="assets/orb-c.jpg" alt="" width="800" height="800" /></span>
</div>
</div>
</div>
<div class="closing__copy">
<h2 class="closing__title">Glass that catches the room.</h2>
<p class="closing__lead">Join the list to hear first when a new run leaves the furnace.</p>
<a class="closing__button" href="#">Join the list</a>
</div>
</section>
<style>
.closing {
position: relative;
display: grid;
align-items: end;
min-height: clamp(520px, 56vw, 720px);
overflow: hidden;
padding: 0 var(--edge) clamp(56px, 7vw, 96px);
}
.closing__wall {
position: absolute;
inset: clamp(60px, 8vw, 120px) 0 0;
display: grid;
align-content: start;
gap: var(--gap);
}
.closing__wall::after {
content: "";
position: absolute;
inset: -2px 0 0;
background:
linear-gradient(180deg, var(--paper) 0%, transparent 30%, transparent 55%, rgba(20, 17, 16, 0.75) 80%, var(--paper) 100%),
radial-gradient(ellipse 50% 40% at 50% 82%, rgba(20, 17, 16, 0.85), transparent 80%);
pointer-events: none;
}
.closing__row { overflow: hidden; }
.closing__track {
display: flex;
gap: var(--gap);
width: max-content;
animation: closing-drift var(--drift) linear infinite;
}
.closing__row--back .closing__track { animation-direction: reverse; }
.closing.is-off .closing__track { animation-play-state: paused; }
@keyframes closing-drift { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.closing__tile {
flex: none;
width: clamp(84px, 9vw, 130px);
aspect-ratio: 1;
overflow: hidden;
border-radius: var(--radius-tile);
background: var(--tile);
opacity: 0.32;
filter: saturate(0.6);
}
.closing__tile--wide { width: clamp(150px, 18vw, 260px); aspect-ratio: auto; }
.closing__tile--lit { opacity: 0.95; filter: none; }
.closing__tile--frost { background: var(--tint-frost); }
.closing__tile--red { background: var(--tint-red); }
.closing__tile--violet { background: var(--tint-violet); }
.closing__tile--yellow { background: var(--tint-yellow); }
.closing__tile--pink { background: var(--tint-pink); }
.closing__tile--ember { background: radial-gradient(circle at 50% 55%, var(--tint-amber), var(--accent) 35%, var(--void) 70%); }
.closing__tile--dusk { background: radial-gradient(circle at 40% 40%, var(--tint-violet), var(--void) 70%); }
.closing__img {
width: 100%;
height: 100%;
object-fit: cover;
mix-blend-mode: multiply;
filter: contrast(1.2);
}
.closing__copy::before {
content: "";
position: absolute;
inset: -30% -20%;
z-index: -1;
background: radial-gradient(closest-side, rgba(20, 17, 16, 0.95), rgba(20, 17, 16, 0.75) 60%, transparent);
}
.closing__copy {
position: relative;
z-index: 1;
display: grid;
justify-items: center;
gap: var(--space-m);
text-align: center;
}
.closing__title {
margin: 0;
color: var(--ink);
font-family: var(--font-display);
font-size: var(--display-l);
font-weight: var(--weight);
line-height: var(--leading-display);
letter-spacing: var(--track-display);
text-wrap: balance;
}
.closing__lead {
max-width: var(--measure);
margin: 0;
color: rgba(243, 238, 231, 0.78);
font-size: var(--text-l);
text-wrap: balance;
}
.closing__button {
display: inline-flex;
align-items: center;
min-height: var(--tap);
margin-top: var(--space-s);
padding: 0 22px;
border-radius: var(--radius-pill);
background: var(--button);
color: var(--on-button);
font-size: var(--text-m);
text-decoration: none;
transition: transform var(--mid) var(--ease), background-color var(--mid) var(--ease-plain);
}
.closing__button:hover { transform: translateY(-2px); background: #fff; }
.closing__button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 760px) {
.closing__tile--lit { opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
.closing__track { animation: none; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.closing')) {
for (const track of root.querySelectorAll('.closing__track')) {
for (const item of [...track.children]) {
const copy = item.cloneNode(true);
track.append(copy);
}
}
// Pause the drift while the wall is off screen.
new IntersectionObserver(([entry]) => {
root.classList.toggle('is-off', !entry.isIntersecting);
}).observe(root);
}
})();
</script>
Glow footer
A mark and one line, four quiet link columns and fine print over a warm glow that rises from the bottom edge.
Code
React For Figma<footer class="footer">
<div class="footer__top">
<div class="footer__brand">
<svg class="footer__mark" viewBox="0 0 32 32" aria-hidden="true">
<rect x="1" y="1" width="30" height="30" rx="9" fill="#f3eee7" />
<circle cx="16" cy="16" r="9" fill="#141110" />
<path d="M10.5 14.5a6 6 0 0 1 5-5" fill="none" stroke="#f3eee7" stroke-width="2.2" stroke-linecap="round" />
</svg>
<p class="footer__line">Glass for people who set a table.</p>
</div>
<nav class="footer__cols" aria-label="Footer">
<div class="footer__col">
<p class="footer__head">Cabinets</p>
<a class="footer__link" href="#">Paperweights</a>
<a class="footer__link" href="#">Cut crystal</a>
<a class="footer__link" href="#">Stem vases</a>
<a class="footer__link" href="#">Scrambles</a>
</div>
<div class="footer__col">
<p class="footer__head">Studio</p>
<a class="footer__link" href="#">Furnace days</a>
<a class="footer__link" href="#">Commissions</a>
<a class="footer__link" href="#">Repairs</a>
</div>
<div class="footer__col">
<p class="footer__head">Read</p>
<a class="footer__link" href="#">Journal</a>
<a class="footer__link" href="#">Care guide</a>
<a class="footer__link" href="#">Contact</a>
</div>
<div class="footer__col">
<p class="footer__head">Small print</p>
<a class="footer__link" href="#">Shipping</a>
<a class="footer__link" href="#">Terms</a>
<a class="footer__link" href="#">Privacy</a>
</div>
</nav>
</div>
<p class="footer__fine">© 2027 Fennick Glass. Every piece blown by hand.</p>
</footer>
<style>
.footer {
position: relative;
overflow: hidden;
padding: clamp(64px, 8vw, 120px) var(--edge) var(--space-l);
background:
radial-gradient(ellipse 70% 120px at 50% 100%, var(--glow), transparent 100%),
radial-gradient(ellipse 90% 240px at 50% 100%, rgba(194, 80, 31, 0.35), transparent 100%),
var(--paper);
font-size: var(--text-s);
}
.footer__top {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
gap: var(--space-xl);
padding-bottom: clamp(80px, 12vw, 180px);
}
.footer__brand {
display: grid;
align-content: start;
gap: var(--space-m);
}
.footer__mark { width: 28px; height: 28px; }
.footer__line { margin: 0; color: var(--ink-soft); }
.footer__cols {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: var(--space-l);
}
.footer__col { display: grid; align-content: start; }
.footer__head {
margin: 0 0 var(--space-s);
color: var(--ink-mute);
font-size: var(--text-xs);
}
.footer__link {
display: flex;
align-items: center;
min-height: var(--tap);
color: var(--ink-soft);
text-decoration: none;
transition: color var(--quick) var(--ease-plain);
}
.footer__link:hover,
.footer__link:focus-visible { color: var(--ink); }
.footer__link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.footer__fine {
margin: 0;
color: rgba(243, 238, 231, 0.55);
font-size: var(--text-xs);
}
@media (max-width: 760px) {
.footer__top { grid-template-columns: 1fr; }
.footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
</style>
Style
- --paper #141110
- --void #000000
- --tile #1c1917
- --ink #f3eee7
- --ink-soft #a59c91
- --ink-mute #7d756c
- --line rgba(243, 238, 231, 0.09)
- --chip rgba(238, 238, 238, 0.06)
- --chip-line rgba(243, 238, 231, 0.14)
- --button #f3eee7
- --on-button #0c0a09
- --accent #f0683a
- --glow #c2501f
- --tint-red #e3262c
- --tint-frost #b7c7cc
- --tint-violet #6b3cf0
- --tint-amber #f2a235
- --tint-yellow #f3d117
- --tint-pink #ff5f8a
Type
- Space Grotesk for headlines, stands in for the site's geometric grotesk for headlines and collection names, set at 500 with tight tracking
- Instrument Sans for body, stands in for the site's narrow-ish neo-grotesk used at 500 for everything small
Motion
- On load the hero lines rise 24 px out of a 12 px blur over 1.1 s on cubic-bezier(0.165, 0.84, 0.44, 1), each a beat after the last.
- One headline word carries an iridescent foil gradient that sweeps across it every 6 s.
- Tiles rise into place as they enter the screen and their picture zooms to 1.05 over 0.9 s on hover.
- Canvas tiles loop slowly (a particle ribbon, a turning halftone sphere, a bundle of filament lines) and stop off screen.
- The closing wall of dimmed tiles drifts sideways in three rows, alternate directions, one lap in 70 s.
- Colours change on hover in 0.2 s ease-out; the round arrow fills cream in 0.3 s.
Rules
- Everything is set at weight 500; size and colour, not weight, make the hierarchy.
- Headlines are centred, short and two lines, with tracking pulled in to about -0.035em.
- Pictures live in tiles with a 10 px radius, 12 px apart, with a caption in the lower left: name in off-white, type in muted grey.
- Photographs sit on saturated flat studio grounds (red, frost, violet, yellow) so the tile reads as colour first, object second.
- Text is warm grey on warm black; only names and headlines reach the off-white.
- Buttons are cream pills with dark text; tags are faint outlined pills.
- Big sections are split by hairlines, never by boxes, except one black card that announces what is next.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&family=Space+Grotesk:wght@400;500&display=swap");
:root {
/* Colour roles */
--paper: #141110; /* page background, a warm near-black */
--void: #000000; /* deepest panels: the teaser card, canvas grounds */
--tile: #1c1917; /* empty tile ground behind a picture */
--ink: #f3eee7; /* headlines and names, warm off-white */
--ink-soft: #a59c91; /* running text, warm grey */
--ink-mute: #7d756c; /* captions second word, fine print */
--line: rgba(243, 238, 231, 0.09); /* hairline rules between index rows and around cards */
--chip: rgba(238, 238, 238, 0.06); /* pill tag fill */
--chip-line: rgba(243, 238, 231, 0.14); /* pill tag outline */
--button: #f3eee7; /* cream pill button */
--on-button: #0c0a09; /* text on the cream button */
--accent: #f0683a; /* small hot dots: stars, badges, live markers */
--glow: #c2501f; /* warm glow rising from the bottom of the footer */
--tint-red: #e3262c; /* coloured studio ground for a tile */
--tint-frost: #b7c7cc; /* pale blue-grey studio ground */
--tint-violet: #6b3cf0; /* violet studio ground */
--tint-amber: #f2a235; /* amber shader ground */
--tint-yellow: #f3d117; /* yellow studio ground */
--tint-pink: #ff5f8a; /* pink shader ground */
--foil: linear-gradient(100deg, #f3eee7 0%, #f3eee7 30%, #ff9a6b 42%, #b18cff 52%, #7ad3ff 60%, #f3eee7 72%, #f3eee7 100%); /* iridescent sweep across one headline word */
/* Type */
--font-display: "Space Grotesk", "Helvetica Neue", sans-serif; /* headlines and collection names */
--font-body: "Instrument Sans", "Helvetica Neue", sans-serif; /* running text, captions, buttons */
--display-xl: clamp(40px, 6.2vw, 90px); /* index names */
--display-l: clamp(36px, 4.4vw, 58px); /* hero headline, closing headline */
--display-m: clamp(26px, 2.6vw, 36px); /* section headings, teaser title */
--text-l: 17px; /* lead text */
--text-m: 15px; /* running text */
--text-s: 14px; /* captions, nav words */
--text-xs: 12.5px; /* tags, fine print */
--weight: 500; /* the single weight the style sets everything in */
--track-display: -0.035em; /* tight tracking on display sizes */
--leading-display: 1.04; /* display line height */
--leading-body: 1.5; /* running text line height */
/* Space */
--edge: clamp(16px, 4.2vw, 60px); /* page side margin */
--gap: 12px; /* gutter between mosaic tiles */
--space-xs: 4px; /* inside chips */
--space-s: 8px; /* small gaps */
--space-m: 16px; /* caption insets, stacked text */
--space-l: 28px; /* between blocks */
--space-xl: 48px; /* inside the teaser card */
--section-space: clamp(72px, 10vw, 150px); /* between sections */
--measure: 34rem; /* longest line of running text */
/* Shape */
--radius-tile: 10px; /* mosaic tiles and thumbnails */
--radius-card: 18px; /* teaser card */
--radius-pill: 999px; /* buttons, chips, round arrows */
--rule: 1px; /* hairline weight */
--tap: 44px; /* smallest tap target */
/* Motion */
--ease: cubic-bezier(0.165, 0.84, 0.44, 1); /* long soft ease-out for rises and zooms */
--ease-plain: ease-out; /* colour changes */
--quick: 200ms; /* hover colour */
--mid: 300ms; /* button fills */
--slow: 900ms; /* tile zoom, rises */
--rise: 1100ms; /* entrance from blur */
--drift: 70s; /* one lap of the closing wall */
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink-soft); font: var(--weight) var(--text-m)/var(--leading-body) var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
For your agent
Use the kitbash MCP server at https://kitbash.me/mcp. Call get_pack("iridescent-render-mosaic"), then get_component for the parts you need, and build my site in that style: keep its tokens and rules, replace the placeholder copy with mine.
How to connect