Small caps statement
A short uppercase statement alone on the far left, a paragraph from the middle of the grid and an underlined link whose arrow swaps on hover. Fades in on view.
Part of the style
Quiet Page, Loud Work
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/quiet-page-loud-work/statement/figma.html?palette=e2c0ad42d54d709c
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/quiet-page-loud-work/statement/figma.html?palette=e2c0ad42d54d709c and pass that whole HTML document to the html_to_figma tool, so the part "Small caps 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 {
--paper: #e8f4e5;
--ink: #07150a;
--ink-head: #303f32;
--grey: #5e6a5b;
--rule: #c2cebf;
--frame: #07150a;
--pic-white: #e8f4e5;
--accent: #4b6e48;
--pic-violet: #aac6a8;
--pic-pink: #618b6a;
--pic-pink-deep: #679070;
--pic-green: #678c61;
--pic-green-deep: #728d6e;
--accent-2: #6d926a;
--pic-yellow: #789c75;
--pic-orange: #678d65;
--pic-teal: #618b6a;
--pic-teal-deep: #68876e;
}
</style>
<section class="statement" aria-labelledby="statement-title">
<h2 class="statement__title" id="statement-title">Quiet about everything except the work</h2>
<div class="statement__body">
<p class="statement__text">We are six designers and engineers who keep the page calm so the pictures can be loud. Every site starts with one drawing on a wall and ends with code that loads before the coffee cools.</p>
<a class="statement__link" href="#">
<span>Meet the studio</span>
<span class="statement__arrows" aria-hidden="true">
<svg class="statement__arrow statement__arrow--out" viewBox="0 0 16 16"><path d="M1 8h14M9 2l6 6-6 6" /></svg>
<svg class="statement__arrow statement__arrow--in" viewBox="0 0 16 16"><path d="M1 8h14M9 2l6 6-6 6" /></svg>
</span>
<span class="statement__line" aria-hidden="true"></span>
</a>
</div>
</section>
<style>
.statement {
display: grid;
grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
align-items: start;
padding: var(--section-pad) var(--edge);
}
.statement__title {
grid-column: 1 / span 1;
margin: 0;
font-size: var(--text-h2);
font-weight: var(--weight-text);
line-height: var(--lead-head);
text-transform: uppercase;
}
.statement__body {
grid-column: 4 / -1;
display: grid;
justify-items: start;
gap: clamp(28px, 3.4vw, 48px);
}
.statement__text {
margin: 0;
font-size: var(--text-l);
line-height: var(--lead-text);
text-wrap: pretty;
}
.statement__link {
position: relative;
display: inline-flex;
align-items: center;
gap: 40px;
min-height: var(--tap);
color: var(--ink);
font-size: var(--text-m);
text-transform: uppercase;
text-decoration: none;
}
.statement__link:focus-visible {
outline: var(--hair) solid var(--accent);
outline-offset: 4px;
}
.statement__arrows {
position: relative;
width: 16px;
height: 16px;
overflow: hidden;
}
.statement__arrow {
position: absolute;
inset: 0;
fill: none;
stroke: currentColor;
stroke-width: 1.2;
transition: transform var(--t-arrow) var(--ease-out);
}
.statement__arrow--in {
color: var(--accent);
transform: translateX(-100%);
}
.statement__link:hover .statement__arrow--out,
.statement__link:focus-visible .statement__arrow--out { transform: translateX(100%); }
.statement__link:hover .statement__arrow--in,
.statement__link:focus-visible .statement__arrow--in { transform: none; transition-delay: var(--t-arrow-delay); }
.statement__line {
position: absolute;
left: 0;
right: 0;
bottom: 9px;
height: var(--hair);
background: var(--ink);
overflow: hidden;
}
.statement__line::after {
content: "";
position: absolute;
inset: 0;
background: var(--accent);
transform: scaleX(0);
transform-origin: left;
transition: transform var(--t-line) var(--ease-out);
}
.statement__link:hover .statement__line::after,
.statement__link:focus-visible .statement__line::after { transform: scaleX(1); }
@media (max-width: 63.99rem) {
.statement__title { grid-column: 1 / span 2; }
}
@media (max-width: 47.99rem) {
.statement { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
.statement__title,
.statement__body { grid-column: 1; }
.statement__title { max-width: 12em; }
}
</style>