Window glimpse and statement
A canvas window fading into the dark, with a white page of three cards, followed by two columns of grey copy with white lead-ins.
Part of the style
Night Editor Chrome
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/night-editor-chrome/statement/figma.html?palette=be78b76d883a158b
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/night-editor-chrome/statement/figma.html?palette=be78b76d883a158b and pass that whole HTML document to the html_to_figma tool, so the part "Window glimpse and 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: #e8d8bb;
--ink: #0e0e0e;
--ink-soft: rgba(14, 14, 14, 0.7);
--ink-mute: rgba(14, 14, 14, 0.45);
--ink-dark: #e8d8bb;
--surface: rgba(14, 14, 14, 0.05);
--surface-up: rgba(14, 14, 14, 0.08);
--surface-top: rgba(14, 14, 14, 0.14);
--line: rgba(14, 14, 14, 0.1);
--line-strong: rgba(14, 14, 14, 0.18);
--chrome: #dacbb0;
--chrome-deep: #e1d2b6;
--sheet: #0e0e0e;
--sheet-ink: #888072;
--sheet-line: #22211e;
--signal: #b87066;
--signal-deep: #9a7c77;
--select: #cb9188;
--ok: #ab645b;
}
</style>
<section class="statement">
<div class="statement__glimpse statement__item" aria-hidden="true">
<div class="statement__frame">
<div class="statement__rail">
<span class="statement__rail-row is-on"></span>
<span class="statement__rail-row"></span>
<span class="statement__rail-row"></span>
<span class="statement__rail-row"></span>
</div>
<div class="statement__sheet">
<p class="statement__sheet-kicker">This week</p>
<p class="statement__sheet-head">Three letters from the harbour</p>
<div class="statement__cards">
<div class="statement__card">
<img class="statement__card-img" src="assets/boats-beach.jpg" alt="" width="800" height="638" loading="lazy">
<span class="statement__card-title">Boats on the shingle</span>
<span class="statement__card-line"></span>
</div>
<div class="statement__card">
<img class="statement__card-img" src="assets/boats-rest.jpg" alt="" width="800" height="579" loading="lazy">
<span class="statement__card-title">A blue hull at rest</span>
<span class="statement__card-line"></span>
</div>
<div class="statement__card statement__card--note">
<span class="statement__card-quote">“Fold it twice and it still reads.”</span>
<span class="statement__card-title">Reader mail</span>
<span class="statement__card-line"></span>
</div>
</div>
</div>
<div class="statement__rail statement__rail--right">
<span class="statement__rail-field"></span>
<span class="statement__rail-field"></span>
</div>
</div>
</div>
<div class="statement__copy">
<p class="statement__para statement__item"><span class="statement__lead">An assistant can fill a page in a minute.</span> Most of them hand it back sealed: columns you cannot nudge, type you cannot change and an issue you cannot take elsewhere. The moment you want it your way, you start over.</p>
<p class="statement__para statement__item"><span class="statement__lead">Here, every suggestion lands as real layers.</span> Ask for a spread, then move each column by hand. The words stay yours, the grid stays editable, and the assistant only saves you the typing.</p>
</div>
</section>
<style>
.statement {
padding: var(--section-space) var(--edge);
}
.statement__glimpse {
-webkit-mask-image: linear-gradient(to bottom, var(--ink) 35%, transparent 96%);
mask-image: linear-gradient(to bottom, var(--ink) 35%, transparent 96%);
}
.statement__frame {
display: grid;
grid-template-columns: minmax(0, 0.18fr) minmax(0, 1fr) minmax(0, 0.18fr);
height: clamp(240px, 32vw, 420px);
border: var(--rule) solid var(--line);
border-bottom: 0;
border-radius: var(--radius-card) var(--radius-card) 0 0;
background: var(--chrome);
overflow: hidden;
}
.statement__rail {
display: grid;
align-content: start;
gap: 10px;
padding: var(--space-m);
border-right: var(--rule) solid var(--line);
background: var(--chrome-deep);
}
.statement__rail--right {
border-right: 0;
border-left: var(--rule) solid var(--line);
}
.statement__rail-row,
.statement__rail-field {
height: 8px;
border-radius: 4px;
background: var(--surface-up);
}
.statement__rail-row.is-on { background: var(--signal); }
.statement__rail-field { height: 26px; border-radius: 6px; }
.statement__sheet {
margin: var(--space-l) clamp(12px, 4vw, 56px) 0;
padding: clamp(16px, 3vw, 36px);
border-radius: 4px 4px 0 0;
background: var(--sheet);
color: var(--ink-dark);
}
.statement__sheet-kicker {
margin: 0;
color: var(--sheet-ink);
font-size: 10px;
}
.statement__sheet-head {
margin: 4px 0 0;
font-size: clamp(14px, 1.8vw, 22px);
font-weight: 600;
letter-spacing: -0.03em;
}
.statement__cards {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
margin-top: var(--space-m);
}
.statement__card {
display: grid;
gap: 6px;
padding: 6px;
border: var(--rule) solid var(--sheet-line);
border-radius: 6px;
}
.statement__card-img {
width: 100%;
aspect-ratio: 4 / 3;
object-fit: cover;
border-radius: 3px;
}
.statement__card--note {
align-content: end;
}
.statement__card-quote {
display: grid;
place-items: center;
aspect-ratio: 4 / 3;
padding: 8px;
border-radius: 3px;
background: var(--ink-dark);
color: var(--sheet);
font-family: var(--font-accent);
font-size: clamp(11px, 1.4vw, 17px);
font-style: italic;
line-height: 1.1;
text-align: center;
}
.statement__card-title {
font-size: 10px;
font-weight: 600;
}
.statement__card-line {
width: 70%;
height: 5px;
border-radius: 3px;
background: var(--sheet-line);
}
.statement__copy {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: clamp(32px, 6vw, 96px);
margin-top: var(--space-m);
position: relative;
}
.statement__para {
margin: 0;
max-width: 52ch;
color: var(--ink-mute);
font-size: var(--text-m);
line-height: 1.6;
}
.statement__lead { color: var(--ink); }
.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; }
@media (max-width: 720px) {
.statement__copy { grid-template-columns: 1fr; margin-top: 0; }
.statement__frame { grid-template-columns: minmax(0, 1fr); }
.statement__rail { display: none; }
.statement__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.statement__card--note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.statement__item { opacity: 1; translate: none; transition: none; }
}
</style>
<script>
(() => {
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.15 });
for (const root of document.querySelectorAll('.statement')) {
root.querySelectorAll('.statement__item').forEach((item, order) => item.style.setProperty('--order', order));
seen.observe(root);
}
})();
</script>