Script statement
Cocoa band with a small label, a centred uppercase serif statement and an endless line of giant pink script drifting behind.
Part of the style
Blush Script Parlour
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/blush-script-parlour/statement/figma.html?palette=ad89fb87e0807f19
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/blush-script-parlour/statement/figma.html?palette=ad89fb87e0807f19 and pass that whole HTML document to the html_to_figma tool, so the part "Script statement" 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 {
--blush: #ffffff;
--cocoa: #445045;
--cocoa-veil: rgba(69, 81, 70, 0.5);
--cocoa-line: rgba(68, 80, 69, 0.35);
--blush-line: rgba(255, 255, 255, 0.4);
--blush-soft: rgba(255, 255, 255, 0.72);
--night: #2f3b30;
--pink: #85dc8f;
}
</style>
<section class="statement">
<div class="statement__copy">
<p class="statement__label statement__item">Atelier</p>
<h2 class="statement__text statement__item">Velours is a small house of perfumers who pour scent for rooms, not people, mixed by hand in a former hat shop</h2>
</div>
<div class="statement__drift" aria-hidden="true">
<div class="statement__track">
<span class="statement__word">Velours maison</span>
<span class="statement__word">Velours maison</span>
</div>
</div>
<p class="statement__aside statement__item">We like a room that smells of somewhere you have never been</p>
</section>
<style>
.statement {
position: relative;
overflow: hidden;
padding: var(--section-space) var(--edge);
background: var(--cocoa);
color: var(--blush);
text-align: center;
}
.statement__copy {
position: relative;
z-index: 1;
max-width: 52rem;
margin: 0 auto;
}
.statement__label {
margin: 0 0 var(--space-l);
font-size: var(--text-m);
text-transform: uppercase;
}
.statement__text {
margin: 0;
font-family: var(--font-serif);
font-size: var(--serif-m);
font-weight: 400;
letter-spacing: var(--tracking-serif);
line-height: 1;
text-transform: uppercase;
text-wrap: balance;
}
.statement__drift {
margin: clamp(-2rem, -3vw, -1rem) calc(var(--edge) * -1) 0;
overflow: hidden;
}
.statement__track {
display: flex;
width: max-content;
animation: statement-roll var(--drift) linear infinite;
}
.statement:hover .statement__track,
.statement.is-off .statement__track {
animation-play-state: paused;
}
.statement__word {
flex: none;
padding-right: 0.3em;
color: var(--pink);
font-family: var(--font-script);
font-size: var(--script-xl);
line-height: 1.15;
white-space: nowrap;
}
.statement__aside {
position: relative;
max-width: 40rem;
margin: clamp(-1rem, -2vw, 0rem) auto 0;
color: var(--blush-soft);
font-family: var(--font-serif);
font-size: var(--text-l);
letter-spacing: var(--tracking-serif);
line-height: 1.15;
text-transform: uppercase;
text-wrap: balance;
}
.statement__item {
opacity: 0;
translate: 0 16px;
transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease);
transition-delay: calc(var(--order, 0) * 80ms);
}
.statement.is-seen .statement__item {
opacity: 1;
translate: 0 0;
}
@keyframes statement-roll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
.statement__track { animation: none; }
.statement__item { opacity: 1; translate: none; transition: none; }
}
</style>
<script>
(() => {
const seen = new IntersectionObserver((entries) => {
for (const entry of entries) {
entry.target.classList.toggle('is-off', !entry.isIntersecting);
if (entry.isIntersecting) entry.target.classList.add('is-seen');
}
}, { threshold: 0.1 });
for (const root of document.querySelectorAll('.statement')) {
root.querySelectorAll('.statement__item').forEach((item, order) => item.style.setProperty('--order', order));
const track = root.querySelector('.statement__track');
for (const word of [...track.children]) track.append(word.cloneNode(true));
seen.observe(root);
}
})();
</script>