Statement with pictures
One long sentence in widely spaced serif capitals with small pill-framed pictures set in the line like words, then a short paragraph in condensed sans and an outline button that fills on hover. The pictures open from their middle when the sentence comes into view.
Part of the style
Dusk Sky Stadium
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/dusk-sky-stadium/statement/figma.html?palette=86b311902fcd29bb&type=difference-deck
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/dusk-sky-stadium/statement/figma.html?palette=86b311902fcd29bb&type=difference-deck and pass that whole HTML document to the html_to_figma tool, so the part "Statement with pictures" 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 */
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400..700&family=Fraunces:ital,opsz,wght@1,9..144,400..600&display=swap");
:root {
--ink: #1c0d06;
--ink-soft: #2e1b11;
--mist: #c58c7c;
--stone: #b37e70;
--stone-shade: #412618;
--veil: rgba(16, 4, 1, 0.34);
--teal: #581f10;
--sun: #c18e80;
--moss: #583229;
--rose: #ae7a68;
--font-display: "Fraunces", Georgia, serif;
--font-text: "Inter", "Helvetica Neue", Arial, sans-serif;
--font-mark: "Fraunces", Georgia, serif;
}
</style>
<section class="statement">
<h2 class="statement__title">
At Sundog
<span class="statement__chip" aria-hidden="true">
<svg class="statement__view" viewBox="0 0 200 120" preserveAspectRatio="xMidYMid slice" focusable="false">
<defs>
<linearGradient id="statement-sky" x1="0" y1="0" x2="0" y2="1">
<stop class="statement__sky-high" offset="0" />
<stop class="statement__sky-low" offset="0.62" />
</linearGradient>
<filter id="statement-soft"><feGaussianBlur stdDeviation="0.7" /></filter>
</defs>
<g filter="url(#statement-soft)">
<rect class="statement__sky" width="200" height="120" />
<ellipse class="statement__cloud" cx="62" cy="40" rx="44" ry="11" />
<ellipse class="statement__cloud" cx="96" cy="50" rx="34" ry="8" />
<ellipse class="statement__cloud" cx="158" cy="34" rx="30" ry="8" />
<path class="statement__copse" d="M0 76c10-9 18-7 26-2 6-12 18-12 24-1 8-6 16-5 22 1 8-14 22-13 28 0 8-8 20-8 26-1 10-10 22-9 28 0 8-7 18-7 24 0 6-6 14-6 22-1v20H0Z" />
<path class="statement__reeds" d="M0 90l6-9 5 8 6-12 5 11 7-10 5 9 6-13 6 12 6-9 5 8 7-12 5 11 6-10 6 9 5-12 7 12 5-9 6 8 6-11 6 10 5-9 7 9 5-12 6 12 6-10 5 9 7-11 5 10 6-8 6 9 5-10 8 11v40H0Z" />
<path class="statement__blades" d="M12 120l5-22M34 120l-3-26M58 120l6-24M84 120l-2-28M108 120l5-24M132 120l-4-26M156 120l6-23M182 120l-3-26" />
</g>
</svg>
</span>
the hot spring meets the cold air of the north shore.
<span class="statement__chip" aria-hidden="true">
<svg class="statement__view" viewBox="0 0 200 120" preserveAspectRatio="xMidYMid slice" focusable="false">
<g filter="url(#statement-soft)">
<rect class="statement__table" width="200" height="120" />
<circle class="statement__warmth" cx="52" cy="26" r="62" />
<ellipse class="statement__shade" cx="112" cy="98" rx="62" ry="12" />
<path class="statement__bowl" d="M58 62h88c0 26-18 40-44 40S58 88 58 62Z" />
<ellipse class="statement__brim" cx="102" cy="62" rx="44" ry="11" />
<ellipse class="statement__tea" cx="102" cy="63" rx="37" ry="7.5" />
<path class="statement__stem" d="M104 62c8-18 22-30 44-38" />
<path class="statement__leaf" d="M118 42c-10-6-12-14-8-22 10 4 14 12 8 22ZM130 33c-2-12 4-18 14-20 2 10-2 18-14 20ZM126 44c10-4 18 0 22 8-10 4-18 2-22-8ZM141 28c8-8 18-8 26-2-8 8-18 8-26 2Z" />
</g>
</svg>
</span>
</h2>
<p class="statement__text">The water rises under Quarry Hill, cools on its way down the rock and reaches you warm, with nothing added and nothing taken out.</p>
<a class="statement__button" href="#">About the house</a>
</section>
<style>
.statement {
display: grid;
justify-items: center;
padding: calc(var(--section-space) / 2) var(--gutter);
text-align: center;
}
/* One long sentence in serif capitals, words set apart, with small framed pictures sitting in the line like words. */
.statement__title {
max-width: 18.5em;
margin: 0;
color: var(--ink-soft);
font-family: var(--font-display);
font-size: var(--display-l);
font-weight: 400;
line-height: 1.62;
word-spacing: 0.14em;
text-wrap: balance;
}
.statement__chip {
display: inline-block;
width: 3.2em;
height: 1.94em;
margin: -0.5em 0.2em;
overflow: hidden;
border: var(--line-thin) solid var(--ink);
border-radius: var(--radius-chip);
vertical-align: middle;
}
.statement__view {
display: block;
width: 100%;
height: 100%;
}
.statement__sky { fill: url(#statement-sky); }
.statement__sky-high { stop-color: color-mix(in oklab, var(--teal) 38%, var(--mist)); }
.statement__sky-low { stop-color: color-mix(in oklab, var(--rose) 34%, var(--mist)); }
.statement__cloud { fill: var(--mist); opacity: 0.85; }
.statement__copse { fill: color-mix(in oklab, var(--teal) 55%, var(--moss)); }
.statement__reeds { fill: color-mix(in oklab, var(--moss) 78%, var(--ink)); }
.statement__blades {
fill: none;
stroke: color-mix(in oklab, var(--sun) 55%, var(--moss));
stroke-width: 1.4;
}
.statement__table { fill: color-mix(in oklab, var(--rose) 52%, var(--sun)); }
.statement__warmth { fill: var(--mist); opacity: 0.45; }
.statement__shade { fill: var(--teal); opacity: 0.28; }
.statement__bowl { fill: var(--mist); }
.statement__brim { fill: color-mix(in oklab, var(--mist) 82%, var(--teal)); }
.statement__tea { fill: color-mix(in oklab, var(--moss) 70%, var(--sun)); }
.statement__stem {
fill: none;
stroke: var(--teal);
stroke-width: 2;
}
.statement__leaf { fill: color-mix(in oklab, var(--moss) 80%, var(--teal)); }
.statement__text {
max-width: 24em;
margin: var(--space-l) 0 0;
color: var(--ink-soft);
font-size: var(--text-m);
text-wrap: balance;
}
.statement__button {
display: inline-flex;
align-items: center;
min-height: 3.125rem;
margin-top: var(--space-l);
padding: 0 var(--space-m);
border: var(--line-thin) solid var(--ink);
border-radius: var(--radius-button);
color: var(--ink);
font-size: var(--text-xs);
font-weight: 400;
text-decoration: none;
transition: background-color var(--time) var(--ease), color var(--time) var(--ease);
}
.statement__button:hover,
.statement__button:focus-visible {
background: var(--ink);
color: var(--mist);
}
.statement__button:focus-visible {
outline: var(--line-focus) solid var(--ink);
outline-offset: var(--line-focus);
}
/* With the script running, each picture opens from its middle when the sentence comes into view. */
.statement.is-armed .statement__chip {
clip-path: inset(0 50% round var(--radius-chip));
transition: clip-path var(--time-intro) var(--ease-intro);
}
.statement.is-armed .statement__chip:last-child {
transition-delay: calc(var(--stagger) * 4);
}
.statement.is-armed.is-in .statement__chip {
clip-path: inset(0 0 round var(--radius-chip));
}
@media (max-width: 39.99rem) {
.statement__title {
line-height: 1.5;
word-spacing: 0.08em;
}
.statement__chip {
width: 2.9em;
height: 1.6em;
}
}
@media (prefers-reduced-motion: reduce) {
.statement.is-armed .statement__chip {
clip-path: none;
transition: none;
}
.statement__button {
transition-duration: 0s;
}
}
</style>
<script>
(() => {
const openWhenSeen = (root) => {
const observer = new IntersectionObserver(([entry]) => {
if (!entry.isIntersecting) return;
root.classList.add("is-in");
observer.disconnect();
}, { threshold: 0.25 });
root.classList.add("is-armed");
observer.observe(root.querySelector(".statement__title"));
};
document.querySelectorAll(".statement").forEach(openWhenSeen);
})();
</script>