Essay column with altitude readout
A centred reading column: serif lead, grotesk paragraphs that sharpen from blur as they arrive, and a left altitude readout that descends as the column is read.
Part of the style
Halftone Sky Essay
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/halftone-sky-essay/article/figma.html?palette=2b192073cb1f02c6
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/halftone-sky-essay/article/figma.html?palette=2b192073cb1f02c6 and pass that whole HTML document to the html_to_figma tool, so the part "Essay column with altitude readout" 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 {
--ink: #131111;
--ink-soft: #1c1515;
--paper: #98836b;
--cream: #705d47;
--cream-veil: rgba(112, 93, 71, 0.82);
--sky-mid: #685642;
--cloud: #746049;
--ground-dot: rgba(14, 12, 12, 0.55);
--line: rgba(19, 17, 17, 0.2);
--vermilion: #dab489;
--vermilion-deep: #987d5d;
--marigold-deep: #ceb18f;
--marigold: #e9ba93;
--sky-low: #f0dccd;
--haze: #fcddc4;
--plum: #201100;
--sky-top: #e9ba93;
}
</style>
<section class="article">
<div class="article__sky" aria-hidden="true">
<img class="article__cloud" src="assets/clouds-fluffy.jpg" alt="" width="1024" height="683">
</div>
<aside class="article__hud" aria-label="Elevation">
<span class="article__hud-track"><span class="article__hud-fill"></span></span>
<span class="article__hud-readout">
<span class="article__hud-label">Elevation</span>
<span class="article__hud-value" data-from="24000" data-to="16500">24,000 ft</span>
</span>
</aside>
<div class="article__column">
<p class="article__lead article__line">I'm somewhere over the North Sea in a gondola the size of a kitchen, when I notice that nobody on board has looked at a watch in two days.</p>
<p class="article__para article__line">We left on a Tuesday. The pilot told us we would arrive "when the wind agreed", and for the first few hours that sentence made everyone nervous. People checked their phones for a signal that was not coming. Somebody asked twice whether there was a faster option.</p>
<p class="article__para article__line">By the second morning the questions had changed. Where does that river go? Why are the fields shaped like that? What is that town called, and would anyone there notice us passing over?</p>
<p class="article__para article__line"><strong>And then the wind turned.</strong></p>
<p class="article__para article__line">For twelve years I have planned journeys for people who wanted them shorter. Fewer stops, fewer hours, fewer surprises. I was good at it. I am starting to think I was solving the wrong problem.</p>
</div>
</section>
<style>
.article {
position: relative;
isolation: isolate;
padding: var(--section-space) var(--edge);
overflow: hidden;
}
.article__sky {
position: absolute;
inset: 0;
z-index: -1;
background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 50%, var(--sky-low) 100%);
}
.article__sky::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(circle, var(--cloud) var(--dot-size), transparent calc(var(--dot-size) + 0.7px)) 0 0 / var(--dot-step) var(--dot-step);
opacity: 0.65;
-webkit-mask-image: linear-gradient(180deg, transparent 45%, #000 100%);
mask-image: linear-gradient(180deg, transparent 45%, #000 100%);
}
.article__cloud {
position: absolute;
right: -20%;
bottom: -10%;
width: 90%;
height: auto;
transform: scaleX(-1);
filter: grayscale(1) brightness(1.08) contrast(1.9);
mix-blend-mode: screen;
opacity: 0.75;
-webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent);
mask-image: radial-gradient(closest-side, #000 50%, transparent);
}
.article__hud {
position: absolute;
left: var(--space-m);
top: var(--section-space);
display: flex;
gap: var(--space-s);
align-items: stretch;
}
.article__hud-track { position: relative; width: var(--rule); background: var(--cream-veil); }
.article__hud-fill { position: absolute; inset: 0 0 auto; height: var(--fill, 0%); background: var(--ink); }
.article__hud-readout { display: grid; gap: 2px; padding: 2px 0; }
.article__hud-label,
.article__hud-value {
font: 400 var(--label-xs)/1.2 var(--font-mono);
letter-spacing: var(--track-label);
text-transform: uppercase;
}
.article__hud-label { color: var(--ink-soft); }
.article__hud-value { font-weight: 500; font-size: calc(var(--label-xs) * 1.2); font-variant-numeric: tabular-nums; }
.article__column {
display: grid;
gap: var(--space-m);
max-width: var(--measure);
margin: 0 auto;
}
.article__lead {
margin: 0 0 var(--space-s);
font: 400 var(--lead)/1.22 var(--font-display);
letter-spacing: -0.01em;
text-wrap: pretty;
}
.article__para {
margin: 0;
font-size: var(--text-l);
line-height: 1.48;
text-wrap: pretty;
}
.article__para strong { font-weight: 700; }
.article__line {
opacity: 0.25;
filter: blur(6px);
transition: opacity var(--fade) var(--ease), filter var(--fade) var(--ease);
transition-delay: calc(var(--order, 0) * 90ms);
}
.article__line.is-seen { opacity: 1; filter: blur(0); }
@media (max-width: 52rem) {
.article__hud { top: var(--space-m); }
}
@media (prefers-reduced-motion: reduce) {
.article__line { opacity: 1; filter: none; transition: none; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.article')) {
const lines = [...root.querySelectorAll('.article__line')];
const seen = new IntersectionObserver((entries) => {
let order = 0;
for (const entry of entries) {
if (!entry.isIntersecting) continue;
entry.target.style.setProperty('--order', order++);
entry.target.classList.add('is-seen');
seen.unobserve(entry.target);
}
}, { threshold: 0.2 });
lines.forEach((line) => seen.observe(line));
const value = root.querySelector('.article__hud-value');
const fill = root.querySelector('.article__hud-fill');
const from = Number(value.dataset.from);
const to = Number(value.dataset.to);
let visible = false;
let queued = false;
const update = () => {
queued = false;
const box = root.getBoundingClientRect();
const span = box.height + innerHeight;
const t = Math.min(1, Math.max(0, (innerHeight - box.top) / span));
const feet = Math.round((from + (to - from) * t) / 100) * 100;
value.textContent = feet.toLocaleString('en-US') + ' ft';
fill.style.setProperty('--fill', (t * 100).toFixed(1) + '%');
};
const ask = () => { if (visible && !queued) { queued = true; requestAnimationFrame(update); } };
new IntersectionObserver(([entry]) => { visible = entry.isIntersecting; ask(); }).observe(root);
addEventListener('scroll', ask, { passive: true });
}
})();
</script>