Drifting wall call
Three rows of dimmed tiles drift sideways behind a centred headline and a cream pill, fading into the page above.
Part of the style
Iridescent Render Mosaic
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/iridescent-render-mosaic/closing/figma.html?palette=2829bd2a230fe24a
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/iridescent-render-mosaic/closing/figma.html?palette=2829bd2a230fe24a and pass that whole HTML document to the html_to_figma tool, so the part "Drifting wall call" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--paper: #ff7eb1;
--void: #fddde7;
--tile: #ed75a5;
--ink: #000000;
--ink-soft: #1d0c0d;
--ink-mute: #50252a;
--line: rgba(0, 0, 0, 0.09);
--chip: rgba(0, 0, 0, 0.06);
--chip-line: rgba(0, 0, 0, 0.14);
--button: #000000;
--on-button: #ff95bd;
--tint-frost: #020000;
--tint-violet: #98154a;
--accent: #823c4a;
--tint-pink: #8d4050;
--tint-red: #6e1930;
--tint-amber: #995c66;
--glow: #a86671;
--tint-yellow: #401d21;
}
</style>
<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>