Cloud Sky Artboard
A studio page laid out like a design file under an open blue sky: a ruler across the top, white cards with selection handles and cursor tags floating over soft clouds, a dot-mosaic poster headline and one hot orange accent. Suits small studios, freelancers and product teams who want to look friendly, exact and a little cheeky.
Parts
Ruler bar and pill nav
A pixel ruler across the top with the wordmark, an orange scroll tag and a live clock, over a row of white pills: status, centred nav with a sliding dark highlight, and an e-mail pill.
Code
React For Figma<header class="rulerbar">
<div class="rulerbar__strip">
<a class="rulerbar__brand" href="#" aria-label="Halyard, home">
<svg class="rulerbar__mark" viewBox="0 0 24 24" width="22" height="22" aria-hidden="true">
<path d="M12 2 21 11 12 22 3 11Z" fill="currentColor"/>
<path d="M12 2v20M3 11h18" stroke="#fff" stroke-width="1.4"/>
</svg>
<span class="rulerbar__word">HALYARD</span>
</a>
<div class="rulerbar__scale" aria-hidden="true">
<span class="rulerbar__nums"></span>
<span class="rulerbar__fill"></span>
<span class="rulerbar__tag">0%</span>
</div>
<p class="rulerbar__live"><span class="rulerbar__dot"></span>LIVE · <time class="rulerbar__clock">09:41:00</time></p>
</div>
<div class="rulerbar__row">
<p class="rulerbar__status"><span class="rulerbar__dot"></span>taking two projects for spring</p>
<nav class="rulerbar__nav" aria-label="Main">
<span class="rulerbar__glide" aria-hidden="true"></span>
<a class="rulerbar__link" href="#">Home</a>
<a class="rulerbar__link" href="#">Studio</a>
<a class="rulerbar__link" href="#">Services</a>
<a class="rulerbar__link" href="#">Work</a>
<a class="rulerbar__link" href="#">Pricing</a>
<a class="rulerbar__link is-current" href="#">Say hi</a>
</nav>
<a class="rulerbar__mail" href="#">
<svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true"><rect x="1.5" y="3" width="13" height="10" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.4"/><path d="m2 4 6 5 6-5" fill="none" stroke="currentColor" stroke-width="1.4"/></svg>
hello@halyard.studio
</a>
</div>
</header>
<style>
.rulerbar {
position: relative;
z-index: 5;
}
.rulerbar__strip {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: stretch;
height: 30px;
overflow: visible;
background: rgb(255 255 255 / 0.88);
border-bottom: var(--line) solid rgb(20 32 43 / 0.12);
backdrop-filter: blur(8px);
}
.rulerbar__brand {
display: flex;
align-items: center;
gap: var(--space-xs);
min-height: var(--tap);
margin-block: -7px;
padding: 0 var(--space-m) 0 var(--space-s);
color: var(--ink);
text-decoration: none;
border-right: var(--line) solid rgb(20 32 43 / 0.12);
}
.rulerbar__mark { color: var(--ink); }
.rulerbar__word {
font: 700 var(--mono-s) / 1 var(--font-mono);
letter-spacing: 0.12em;
}
.rulerbar__scale {
position: relative;
overflow: hidden;
background:
repeating-linear-gradient(90deg, var(--ink-soft) 0 1px, transparent 1px 100px) 0 100% / 100% 12px no-repeat,
repeating-linear-gradient(90deg, var(--ink-mute) 0 1px, transparent 1px 20px) 0 100% / 100% 7px no-repeat,
repeating-linear-gradient(90deg, rgb(138 166 184 / 0.6) 0 1px, transparent 1px 10px) 0 100% / 100% 4px no-repeat;
}
.rulerbar__nums {
position: absolute;
top: 3px;
left: 0;
display: flex;
font: 400 var(--mono-xs) / 1 var(--font-mono);
color: var(--ink-soft);
}
.rulerbar__nums span {
flex: 0 0 100px;
padding-left: 3px;
}
.rulerbar__nums span:first-child { flex-basis: 100px; visibility: hidden; }
.rulerbar__fill {
position: absolute;
inset: 0 auto 0 0;
width: var(--progress, 8%);
background: linear-gradient(90deg, rgb(240 83 28 / 0.04), rgb(240 83 28 / 0.16));
border-right: var(--line-strong) solid var(--flame);
transition: width var(--quick) linear;
}
.rulerbar__tag {
position: absolute;
top: 6px;
left: var(--progress, 8%);
translate: -105% 0;
padding: 2px 5px;
border-radius: 4px;
background: var(--flame);
color: var(--paper);
font: 700 var(--mono-xs) / 1.2 var(--font-mono);
transition: left var(--quick) linear;
}
.rulerbar__live {
display: flex;
align-items: center;
gap: var(--space-xs);
margin: 0;
padding: 0 var(--space-m);
border-left: var(--line) solid rgb(20 32 43 / 0.12);
font: 700 var(--mono-s) / 1 var(--font-mono);
letter-spacing: 0.06em;
color: var(--ink-soft);
white-space: nowrap;
}
.rulerbar__dot {
width: 8px;
height: 8px;
border-radius: var(--pill);
background: var(--live);
box-shadow: 0 0 0 3px rgb(47 196 107 / 0.2);
animation: rulerbar-pulse 2s ease-in-out infinite;
}
@keyframes rulerbar-pulse {
50% { box-shadow: 0 0 0 6px rgb(47 196 107 / 0); }
}
.rulerbar__row {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: var(--space-m);
padding: var(--space-m) var(--edge);
}
.rulerbar__status,
.rulerbar__mail {
display: inline-flex;
align-items: center;
gap: var(--space-s);
min-height: var(--tap);
margin: 0;
padding: 0 var(--space-m);
border-radius: var(--pill);
background: var(--paper);
box-shadow: var(--shadow-card);
font-size: var(--text-s);
font-weight: 500;
color: var(--ink);
white-space: nowrap;
}
.rulerbar__status { justify-self: start; }
.rulerbar__mail {
justify-self: end;
font-family: var(--font-mono);
font-size: var(--mono-s);
font-weight: 700;
color: var(--ink);
text-decoration: none;
}
.rulerbar__mail svg { color: var(--flame); }
.rulerbar__nav {
position: relative;
display: flex;
gap: 2px;
padding: 5px;
border-radius: var(--pill);
background: var(--paper);
box-shadow: var(--shadow-card);
}
.rulerbar__glide {
position: absolute;
top: 5px;
bottom: 5px;
left: 0;
width: 0;
border-radius: var(--pill);
background: var(--ink);
transition: translate var(--lift) var(--ease-snap), width var(--lift) var(--ease-snap);
}
.rulerbar__link {
position: relative;
display: inline-flex;
align-items: center;
min-height: var(--tap);
padding: 0 var(--space-m);
border-radius: var(--pill);
color: var(--ink);
font-size: var(--text-s);
font-weight: 500;
text-decoration: none;
transition: color var(--lift) var(--ease-snap);
}
.rulerbar__link.is-lit { color: var(--paper); }
.rulerbar__link:focus-visible { outline: var(--line-strong) solid var(--select); outline-offset: 2px; }
@media (max-width: 1080px) {
.rulerbar__row { grid-template-columns: 1fr auto; }
.rulerbar__mail { display: none; }
}
@media (max-width: 760px) {
.rulerbar__row { grid-template-columns: 1fr; justify-items: center; }
.rulerbar__status { display: none; }
.rulerbar__link:not(:first-of-type):not(.is-current) { display: none; }
.rulerbar__live { padding: 0 var(--space-s); font-size: var(--mono-xs); }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.rulerbar')) {
const clock = root.querySelector('.rulerbar__clock');
const tick = () => {
clock.textContent = new Date().toLocaleTimeString('en-GB', { hour12: false });
};
tick();
let timer = setInterval(tick, 1000);
document.addEventListener('visibilitychange', () => {
clearInterval(timer);
if (!document.hidden) timer = setInterval(tick, 1000);
});
const nums = root.querySelector('.rulerbar__nums');
for (let n = 0; n <= 2400; n += 100) nums.append(Object.assign(document.createElement('span'), { textContent: n }));
const tag = root.querySelector('.rulerbar__tag');
const onScroll = () => {
const max = document.documentElement.scrollHeight - innerHeight;
const share = max > 0 ? Math.min(1, scrollY / max) : 0;
const shown = Math.max(8, Math.round(share * 100));
root.style.setProperty('--progress', shown + '%');
tag.textContent = Math.round(share * 100) + '%';
};
addEventListener('scroll', onScroll, { passive: true });
onScroll();
const nav = root.querySelector('.rulerbar__nav');
const glide = root.querySelector('.rulerbar__glide');
const links = [...nav.querySelectorAll('.rulerbar__link')];
const current = nav.querySelector('.is-current') || links[0];
const moveTo = (link) => {
glide.style.width = link.offsetWidth + 'px';
glide.style.translate = link.offsetLeft + 'px 0';
links.forEach((l) => l.classList.toggle('is-lit', l === link));
};
links.forEach((link) => {
link.addEventListener('pointerenter', () => moveTo(link));
link.addEventListener('focus', () => moveTo(link));
});
nav.addEventListener('pointerleave', () => moveTo(current));
const settle = () => moveTo(current);
settle();
addEventListener('resize', settle);
if (document.fonts) document.fonts.ready.then(settle);
}
})();
</script>
Dot-mosaic hero
A huge condensed headline drawn as a canvas of navy and orange square dots that bulge away from the pointer, with a selected badge above, a dashed selected subline and two buttons.
Code
React For Figma<section class="hero">
<div class="hero__stage">
<p class="hero__badge">
<span class="hero__handle hero__handle--tl"></span><span class="hero__handle hero__handle--tr"></span>
<span class="hero__handle hero__handle--bl"></span><span class="hero__handle hero__handle--br"></span>
Built for 40+ <span class="hero__badge-chip" aria-hidden="true">✦</span> <strong class="hero__badge-hot">independent</strong> makers
</p>
<h1 class="hero__title">
<span class="hero__line">Hard to</span>
<span class="hero__line hero__line--hot">scroll past</span>
</h1>
<canvas class="hero__dots" aria-hidden="true"></canvas>
<p class="hero__eyebrow">we don't do beige ✦</p>
<div class="hero__select">
<span class="hero__tagname">drag me, go on</span>
<span class="hero__handle hero__handle--tl"></span><span class="hero__handle hero__handle--tr"></span>
<span class="hero__handle hero__handle--bl"></span><span class="hero__handle hero__handle--br"></span>
<p class="hero__lead">Most websites blur into one long scroll. The ones we draw make people stop, squint and send the link to a friend.</p>
</div>
<div class="hero__actions">
<a class="hero__btn hero__btn--hot" href="#">Book a call <span aria-hidden="true">→</span></a>
<a class="hero__btn" href="#">See the work</a>
</div>
</div>
<div class="hero__corner hero__corner--left"><b>Two desks, one sky</b><span>remote since day one</span></div>
<div class="hero__corner hero__corner--right"><b>Booking spring 2027</b><span>any timezone, really</span></div>
<div class="hero__cursor" aria-hidden="true">
<svg viewBox="0 0 16 16" width="16" height="16"><path d="M2 1.5 14 7l-5.4 1.6L6.5 14Z" fill="currentColor" stroke="#fff" stroke-width="1.2" stroke-linejoin="round"/></svg>
<span class="hero__cursor-tag">You</span>
</div>
</section>
<style>
.hero {
position: relative;
overflow: hidden;
padding: clamp(40px, 5vw, 72px) var(--edge) clamp(96px, 9vw, 120px);
text-align: center;
}
.hero__stage {
position: relative;
display: grid;
justify-items: center;
max-width: 1080px;
margin: 0 auto;
}
.hero__handle {
position: absolute;
width: var(--handle);
height: var(--handle);
background: var(--paper);
border: var(--line-strong) solid var(--select);
border-radius: var(--radius-s);
}
.hero__handle--tl { top: -4px; left: -4px; }
.hero__handle--tr { top: -4px; right: -4px; }
.hero__handle--bl { bottom: -4px; left: -4px; }
.hero__handle--br { bottom: -4px; right: -4px; }
.hero__badge {
position: relative;
display: inline-flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: var(--space-xs);
margin: 0 0 clamp(16px, 2vw, 28px);
padding: 12px 20px;
background: var(--paper-glass);
border: var(--line) solid var(--select);
backdrop-filter: blur(6px);
font-size: var(--text-m);
font-weight: 500;
}
.hero__badge-chip {
display: inline-grid;
place-items: center;
width: 22px;
height: 22px;
border-radius: 5px;
background: var(--flame);
color: var(--paper);
font-size: 12px;
}
.hero__badge-hot { color: var(--flame); font-weight: 600; }
.hero__title {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
font-family: var(--font-display);
color: var(--ink);
}
.hero__line--hot { color: var(--flame); }
.hero__dots {
width: min(100%, 980px);
aspect-ratio: 980 / 380;
touch-action: pan-y;
}
.hero__eyebrow {
margin: clamp(18px, 2.4vw, 32px) 0 16px;
font: 400 var(--mono-s) / 1.4 var(--font-mono);
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--flame);
}
.hero__select {
position: relative;
max-width: 540px;
padding: 10px 18px;
border: var(--line) dashed var(--select);
}
.hero__tagname {
position: absolute;
top: -11px;
left: 10px;
padding: 2px 7px;
border-radius: 4px;
background: var(--select);
color: var(--paper);
font: 700 var(--mono-xs) / 1.4 var(--font-mono);
}
.hero__lead {
margin: 0;
font-size: clamp(1rem, 1.5vw, var(--text-l));
line-height: 1.6;
color: var(--ink-soft);
}
.hero__actions {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: var(--space-s);
margin-top: var(--space-m);
}
.hero__btn {
display: inline-flex;
align-items: center;
gap: var(--space-s);
min-height: var(--tap);
padding: 0 22px;
border: var(--line-strong) solid var(--ink);
border-radius: var(--radius-m);
color: var(--ink);
font-size: var(--text-s);
font-weight: 600;
text-decoration: none;
transition: translate var(--lift) var(--ease-pop), background var(--quick) ease;
}
.hero__btn--hot {
border-color: var(--flame);
background: var(--flame);
color: var(--paper);
box-shadow: var(--shadow-flame);
}
.hero__btn:hover { translate: 0 -3px; }
.hero__btn:not(.hero__btn--hot):hover { background: var(--paper-glass); }
.hero__btn:focus-visible { outline: var(--line-strong) solid var(--select); outline-offset: 3px; }
.hero__corner {
position: absolute;
bottom: clamp(20px, 3vw, 40px);
display: grid;
gap: 2px;
font: 400 var(--mono-s) / 1.4 var(--font-mono);
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--ink-soft);
}
.hero__corner b { color: var(--ink); }
.hero__corner--left { left: var(--edge); text-align: left; }
.hero__corner--right { right: var(--edge); text-align: right; }
.hero__cursor {
position: absolute;
top: 0;
left: 0;
display: flex;
align-items: flex-start;
color: var(--select);
pointer-events: none;
translate: var(--cx, 62%) var(--cy, 320px);
transition: translate 120ms linear;
}
.hero__cursor-tag {
margin: 14px 0 0 -2px;
padding: 2px 8px;
border-radius: 4px;
background: var(--select);
color: var(--paper);
font-size: 12px;
font-weight: 600;
}
@media (max-width: 640px) {
.hero__corner { display: none; }
.hero { padding-bottom: var(--section-space); }
.hero__dots { aspect-ratio: 360 / 300; }
}
@media (prefers-reduced-motion: reduce) {
.hero__cursor { display: none; }
}
</style>
<script>
(() => {
const calm = matchMedia('(prefers-reduced-motion: reduce)').matches;
for (const root of document.querySelectorAll('.hero')) {
const canvas = root.querySelector('.hero__dots');
const ctx = canvas.getContext('2d');
const lines = [...root.querySelectorAll('.hero__line')].map((el) => ({
text: el.textContent.trim().toUpperCase(),
hot: el.classList.contains('hero__line--hot'),
}));
const css = getComputedStyle(root);
const ink = css.getPropertyValue('--ink').trim() || '#14202b';
const flame = css.getPropertyValue('--flame').trim() || '#f0531c';
const face = css.getPropertyValue('--font-display').trim() || 'sans-serif';
let dots = [];
let w = 0, h = 0, step = 6, running = false, visible = true, frame = 0;
const pointer = { x: -999, y: -999 };
const build = () => {
const box = canvas.getBoundingClientRect();
if (!box.width) return;
const ratio = Math.min(devicePixelRatio || 1, 2);
w = box.width; h = box.height;
canvas.width = Math.round(w * ratio); canvas.height = Math.round(h * ratio);
ctx.setTransform(ratio, 0, 0, ratio, 0, 0);
step = w < 500 ? 4 : w < 800 ? 5 : 6;
const off = document.createElement('canvas');
off.width = Math.ceil(w); off.height = Math.ceil(h);
const o = off.getContext('2d');
const squeeze = 0.72;
const narrow = w < 500;
const rows = narrow ? lines.flatMap((l) => l.text.split(' ').map((t) => ({ text: t, hot: l.hot }))) : lines;
const lineH = h / rows.length;
rows.forEach((row, i) => {
o.font = `800 100px ${face}`;
const natural = o.measureText(row.text).width * squeeze;
const size = Math.min(lineH * 1.02, (w * 0.98 / natural) * 100);
o.save();
o.font = `800 ${size}px ${face}`;
o.textBaseline = 'alphabetic';
o.fillStyle = row.hot ? '#f00' : '#00f';
const tw = o.measureText(row.text).width * squeeze;
o.translate((w - tw) / 2, lineH * i + lineH * 0.86);
o.scale(squeeze, 1);
o.fillText(row.text, 0, 0);
o.restore();
});
const data = o.getImageData(0, 0, off.width, off.height).data;
dots = [];
for (let y = step / 2; y < h; y += step) {
for (let x = step / 2; x < w; x += step) {
const k = (Math.floor(y) * off.width + Math.floor(x)) * 4;
if (data[k + 3] < 128) continue;
const hot = data[k] > data[k + 2];
const mix = Math.random();
const color = hot ? (mix < 0.78 ? flame : ink) : (mix < 0.62 ? ink : flame);
dots.push({
tx: x, ty: y, color,
x, y,
});
}
}
draw();
if (!calm) start();
};
const draw = () => {
ctx.clearRect(0, 0, w, h);
const size = step * 0.84;
for (const d of dots) {
ctx.fillStyle = d.color;
ctx.fillRect(d.x - size / 2, d.y - size / 2, size, size);
}
};
const tickFrame = () => {
let moving = false;
for (const d of dots) {
let gx = d.tx, gy = d.ty;
const dx = d.tx - pointer.x, dy = d.ty - pointer.y;
const dist = Math.hypot(dx, dy);
if (dist < 70) {
const push = (70 - dist) / 70 * 18;
gx += (dx / (dist || 1)) * push;
gy += (dy / (dist || 1)) * push;
}
d.x += (gx - d.x) * 0.14;
d.y += (gy - d.y) * 0.14;
if (Math.abs(gx - d.x) > 0.2 || Math.abs(gy - d.y) > 0.2) moving = true;
}
draw();
if (moving && visible) frame = requestAnimationFrame(tickFrame);
else running = false;
};
const start = () => {
if (running || !visible) return;
running = true;
frame = requestAnimationFrame(tickFrame);
};
new IntersectionObserver(([entry]) => {
visible = entry.isIntersecting;
if (visible && !calm) start();
else { cancelAnimationFrame(frame); running = false; }
}).observe(canvas);
const cursor = root.querySelector('.hero__cursor');
root.addEventListener('pointermove', (event) => {
const box = canvas.getBoundingClientRect();
pointer.x = event.clientX - box.left;
pointer.y = event.clientY - box.top;
const rootBox = root.getBoundingClientRect();
cursor.style.setProperty('--cx', event.clientX - rootBox.left + 'px');
cursor.style.setProperty('--cy', event.clientY - rootBox.top + 'px');
if (!calm) start();
});
root.addEventListener('pointerleave', () => {
pointer.x = pointer.y = -999;
if (!calm) start();
});
let resizeTimer;
new ResizeObserver(() => {
clearTimeout(resizeTimer);
resizeTimer = setTimeout(build, 120);
}).observe(canvas);
(document.fonts ? document.fonts.load(`800 100px ${face}`).catch(() => {}) : Promise.resolve()).then(build);
}
})();
</script>
Statement bento
A scribbled eyebrow and big title over a bento of a white statement card, a dark metrics panel and a card of outlined capability chips.
Code
React For Figma<section class="bento">
<header class="bento__head">
<p class="bento__scribble">a little about us</p>
<h2 class="bento__title">What's up</h2>
</header>
<div class="bento__grid">
<article class="bento__card bento__card--statement bento__item">
<p class="bento__file">statement.txt</p>
<svg class="bento__quote" viewBox="0 0 48 36" width="48" height="36" aria-hidden="true"><path d="M0 36V22C0 9 6 2 18 0l2 6c-6 2-9 6-9 12h9v18Zm28 0V22C28 9 34 2 46 0l2 6c-6 2-9 6-9 12h9v18Z" fill="currentColor"/></svg>
<p class="bento__statement">We build pages people pause on, <em>then share.</em></p>
<p class="bento__body">That pause is the whole job. <strong>Two of us</strong> doing brand, interface and code for makers who would rather not look like everyone else. No themes, no kits, ever.</p>
<footer class="bento__foot">
<span>Halyard, since 2019</span>
<span class="bento__avail"><span class="bento__dot"></span>available now</span>
</footer>
</article>
<article class="bento__card bento__card--night bento__item">
<p class="bento__file">metrics</p>
<dl class="bento__stats">
<div class="bento__stat"><dt>projects launched</dt><dd>86</dd></div>
<div class="bento__stat"><dt>average rating</dt><dd>4.9</dd></div>
<div class="bento__stat"><dt>hour reply time</dt><dd>36</dd></div>
</dl>
</article>
<article class="bento__card bento__card--caps bento__item">
<p class="bento__file">capabilities</p>
<ul class="bento__chips">
<li class="bento__chip"><svg viewBox="0 0 16 16" width="15" height="15" aria-hidden="true"><rect x="2" y="2" width="12" height="12" rx="2" fill="none" stroke="currentColor" stroke-width="1.4"/><path d="M2 6h12M6 6v8" stroke="currentColor" stroke-width="1.4"/></svg>Interface</li>
<li class="bento__chip"><svg viewBox="0 0 16 16" width="15" height="15" aria-hidden="true"><path d="m5 4-4 4 4 4M11 4l4 4-4 4" fill="none" stroke="currentColor" stroke-width="1.4"/></svg>Front-end</li>
<li class="bento__chip"><svg viewBox="0 0 16 16" width="15" height="15" aria-hidden="true"><path d="M8 1 15 8 8 15 1 8Z" fill="none" stroke="currentColor" stroke-width="1.4"/></svg>Identity</li>
<li class="bento__chip"><svg viewBox="0 0 16 16" width="15" height="15" aria-hidden="true"><path d="M5 3v10l8-5Z" fill="none" stroke="currentColor" stroke-width="1.4"/></svg>Motion</li>
<li class="bento__chip"><svg viewBox="0 0 16 16" width="15" height="15" aria-hidden="true"><path d="M2 2h5v5H2zM9 2h5v5H9zM2 9h5v5H2zM9 9h5v5H9z" fill="none" stroke="currentColor" stroke-width="1.4"/></svg>Systems</li>
</ul>
</article>
<article class="bento__card bento__card--shot bento__item">
<figure class="bento__frame">
<img class="bento__img" src="assets/apples.jpg" alt="A still life of apples spilling from a basket onto a white cloth" width="1000" height="798">
<span class="bento__size">412 × 260</span>
</figure>
<div class="bento__shot-copy">
<p class="bento__file bento__file--left">▸ currently building</p>
<p class="bento__shot-title">Orchard Row grocer</p>
<p class="bento__shot-meta">Shop, stock sync, a very large apple.</p>
</div>
</article>
</div>
</section>
<style>
.bento {
padding: var(--section-space) var(--edge);
}
.bento__head {
margin-bottom: clamp(28px, 4vw, 52px);
text-align: center;
}
.bento__scribble {
margin: 0;
font: 500 clamp(1.4rem, 2.4vw, 1.9rem) / 1 var(--font-hand);
color: var(--flame);
rotate: -3deg;
}
.bento__title {
margin: 4px 0 0;
font: 800 var(--display-l) / 0.95 var(--font-display);
letter-spacing: -0.045em;
text-transform: uppercase;
color: var(--ink);
}
.bento__grid {
display: grid;
grid-template-columns: repeat(12, minmax(0, 1fr));
gap: var(--gap);
max-width: 1220px;
margin: 0 auto;
}
.bento__card {
position: relative;
padding: var(--space-l);
border-radius: var(--radius-l);
background: var(--paper);
box-shadow: var(--shadow-card);
transition: translate var(--lift) var(--ease-snap);
}
.bento__card:hover { translate: 0 -4px; }
.bento__card--statement { grid-column: span 7; grid-row: span 2; padding: var(--space-xl); }
.bento__card--night { grid-column: span 5; background: var(--night); color: var(--paper); }
.bento__card--caps { grid-column: span 5; }
.bento__card--shot {
grid-column: span 12;
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
align-items: center;
gap: var(--space-l);
}
.bento__file {
margin: 0 0 var(--space-m);
font: 400 var(--mono-s) / 1 var(--font-mono);
letter-spacing: 0.14em;
text-transform: uppercase;
text-align: right;
color: var(--ink-mute);
}
.bento__file--left { text-align: left; }
.bento__quote { color: var(--flame); margin-bottom: var(--space-m); }
.bento__statement {
margin: 0 0 var(--space-m);
font: 800 var(--display-m) / 1.05 var(--font-display);
letter-spacing: -0.04em;
text-wrap: balance;
}
.bento__statement em { font-style: normal; color: var(--flame); }
.bento__body {
max-width: 34em;
margin: 0;
font-size: var(--text-l);
line-height: 1.6;
color: var(--ink-soft);
}
.bento__body strong { color: var(--ink); font-weight: 600; }
.bento__foot {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: var(--space-s);
margin-top: var(--space-l);
padding-top: var(--space-m);
border-top: var(--line) solid var(--paper-soft);
font: 400 var(--mono-s) / 1 var(--font-mono);
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--ink-mute);
}
.bento__avail { display: inline-flex; align-items: center; gap: 6px; color: var(--live); }
.bento__dot { width: 7px; height: 7px; border-radius: var(--pill); background: var(--live); }
.bento__card--night .bento__file { color: var(--ink-mute); }
.bento__stats { margin: 0; }
.bento__stat {
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
align-items: baseline;
gap: var(--space-m);
padding: var(--space-s) 0;
border-bottom: var(--line) solid var(--night-line);
}
.bento__stat dd {
margin: 0;
font: 700 clamp(1.7rem, 2.6vw, 2.2rem) / 1.1 var(--font-display);
letter-spacing: -0.03em;
}
.bento__stat dt {
font: 700 var(--mono-s) / 1.3 var(--font-mono);
letter-spacing: 0.12em;
text-transform: uppercase;
text-align: right;
color: var(--ink-mute);
}
.bento__chips {
display: flex;
flex-wrap: wrap;
gap: var(--space-s);
margin: 0;
padding: 0;
list-style: none;
}
.bento__chip {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: var(--tap);
padding: 0 18px;
border: var(--line-strong) solid var(--ink);
border-radius: var(--pill);
font-size: var(--text-s);
font-weight: 500;
transition: background var(--quick) ease, color var(--quick) ease;
}
.bento__chip:hover { background: var(--ink); color: var(--paper); }
.bento__frame {
position: relative;
margin: 0;
padding: 6px;
border: var(--line-strong) solid var(--select);
}
.bento__img {
width: 100%;
aspect-ratio: 412 / 220;
height: auto;
object-fit: cover;
border-radius: var(--radius-m);
}
.bento__size {
position: absolute;
bottom: -11px;
left: 50%;
translate: -50% 0;
padding: 2px 7px;
border-radius: 4px;
background: var(--select);
color: var(--paper);
font: 700 var(--mono-xs) / 1.4 var(--font-mono);
}
.bento__shot-title {
margin: 0 0 6px;
font: 700 clamp(1.4rem, 2.2vw, 1.8rem) / 1.1 var(--font-display);
letter-spacing: -0.03em;
}
.bento__shot-meta { margin: 0; color: var(--ink-soft); }
.bento__item {
opacity: 0;
translate: 0 16px;
transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease);
transition-delay: calc(var(--order, 0) * 80ms);
}
.bento.is-seen .bento__item { opacity: 1; translate: 0 0; }
.bento.is-seen .bento__item:hover { translate: 0 -4px; transition-delay: 0s; }
@media (max-width: 900px) {
.bento__card--statement,
.bento__card--night,
.bento__card--caps,
.bento__card--shot { grid-column: span 12; grid-row: auto; }
.bento__card--statement { padding: var(--space-l); }
.bento__card--shot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
.bento__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.1 });
for (const root of document.querySelectorAll('.bento')) {
root.querySelectorAll('.bento__item').forEach((item, order) => item.style.setProperty('--order', order));
seen.observe(root);
}
})();
</script>
Project thread
The process told as a chat channel in a white app window: messages arrive one by one with a typing indicator, under a taped note.
Code
React For Figma<section class="thread">
<header class="thread__head">
<p class="thread__scribble">how it goes</p>
<h2 class="thread__title">No forms. No hoops. Just a thread.</h2>
<p class="thread__note">One channel, zero chaos. This is the whole process.</p>
</header>
<div class="thread__window">
<div class="thread__bar">
<span class="thread__channel"># halyard × your-shop</span>
<span class="thread__people" aria-label="3 online">
<span class="thread__face thread__face--a">H</span><span class="thread__face thread__face--b">M</span><span class="thread__face thread__face--c">Y</span>
<span class="thread__online"><span class="thread__dot"></span>3 online</span>
</span>
</div>
<ol class="thread__list">
<li class="thread__msg thread__item">
<span class="thread__face thread__face--c">Y</span>
<div class="thread__bubble"><p class="thread__who">You <time>9:02</time></p><p class="thread__text">We sell kites. Our site looks like a tax form. Help?</p></div>
</li>
<li class="thread__msg thread__item">
<span class="thread__face thread__face--a">H</span>
<div class="thread__bubble"><p class="thread__who">Halyard <time>9:06</time></p><p class="thread__text">Love it. Sending a loom walkthrough and a first sketch by Thursday.</p></div>
</li>
<li class="thread__day thread__item"><span>day 4 · first draft</span></li>
<li class="thread__msg thread__item">
<span class="thread__face thread__face--c">Y</span>
<div class="thread__bubble"><p class="thread__who">You <time>14:20</time></p><p class="thread__text">The hero moves when I wave at it?? Ship it.</p></div>
</li>
<li class="thread__msg thread__item">
<span class="thread__face thread__face--a">H</span>
<div class="thread__bubble"><p class="thread__who">Halyard <time>14:21</time></p><p class="thread__text">Shipped <span class="thread__emoji" aria-hidden="true">🪁</span> live at your-shop.com</p></div>
</li>
<li class="thread__msg thread__msg--typing thread__item" aria-label="Halyard is typing">
<span class="thread__face thread__face--a">H</span>
<div class="thread__bubble"><span class="thread__typing"><i></i><i></i><i></i></span></div>
</li>
</ol>
</div>
</section>
<style>
.thread {
padding: var(--section-space) var(--edge);
}
.thread__head {
display: grid;
justify-items: center;
margin-bottom: clamp(28px, 4vw, 44px);
text-align: center;
}
.thread__scribble {
margin: 0;
font: 500 clamp(1.4rem, 2.4vw, 1.9rem) / 1 var(--font-hand);
color: var(--flame);
rotate: -3deg;
}
.thread__title {
max-width: 14em;
margin: 4px 0 var(--space-m);
font: 800 var(--display-l) / 0.98 var(--font-display);
letter-spacing: -0.045em;
text-transform: uppercase;
text-wrap: balance;
}
.thread__note {
position: relative;
margin: 0;
padding: 8px 18px;
background: var(--note);
rotate: -1.5deg;
box-shadow: 0 6px 14px -8px rgb(20 32 43 / 0.4);
font-size: var(--text-s);
color: var(--ink);
}
.thread__note::before {
content: "";
position: absolute;
top: -8px;
left: 50%;
width: 54px;
height: 16px;
translate: -50% 0;
rotate: 4deg;
background: var(--paper-glass);
}
.thread__window {
max-width: 720px;
margin: 0 auto;
border-radius: var(--radius-l);
background: var(--paper);
box-shadow: var(--shadow-card);
overflow: hidden;
}
.thread__bar {
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--space-m);
padding: 12px var(--space-l);
border-bottom: var(--line) solid var(--paper-soft);
}
.thread__channel {
font-weight: 600;
font-size: var(--text-s);
}
.thread__people { display: inline-flex; align-items: center; }
.thread__people .thread__face { margin-left: -6px; box-shadow: 0 0 0 2px var(--paper); }
.thread__online {
display: inline-flex;
align-items: center;
gap: 6px;
margin-left: var(--space-s);
font: 400 var(--mono-s) / 1 var(--font-mono);
color: var(--ink-soft);
}
.thread__dot { width: 7px; height: 7px; border-radius: var(--pill); background: var(--live); }
.thread__face {
display: inline-grid;
flex: none;
place-items: center;
width: 28px;
height: 28px;
border-radius: var(--radius-m);
font: 700 12px / 1 var(--font-mono);
color: var(--paper);
}
.thread__face--a { background: var(--flame); }
.thread__face--b { background: var(--ink); border-radius: var(--pill); }
.thread__face--c { background: var(--select); border-radius: var(--pill); }
.thread__list {
display: grid;
gap: var(--space-m);
margin: 0;
padding: var(--space-l);
list-style: none;
}
.thread__msg { display: flex; gap: var(--space-s); align-items: flex-start; }
.thread__who {
margin: 0 0 2px;
font-size: var(--text-s);
font-weight: 600;
}
.thread__who time {
margin-left: 6px;
font: 400 var(--mono-xs) / 1 var(--font-mono);
color: var(--ink-mute);
}
.thread__text { margin: 0; color: var(--ink-soft); }
.thread__day {
display: flex;
align-items: center;
gap: var(--space-s);
font: 400 var(--mono-xs) / 1 var(--font-mono);
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--flame);
}
.thread__day::before,
.thread__day::after { content: ""; flex: 1; border-top: var(--line) dashed var(--flame-soft); }
.thread__msg--typing .thread__bubble {
padding: 10px 14px;
border-radius: var(--radius-m);
background: var(--paper-soft);
}
.thread__typing { display: flex; gap: 4px; }
.thread__typing i {
width: 6px;
height: 6px;
border-radius: var(--pill);
background: var(--ink-mute);
animation: thread-bob 1.1s var(--ease) infinite;
}
.thread__typing i:nth-child(2) { animation-delay: 0.15s; }
.thread__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes thread-bob {
30% { translate: 0 -4px; background: var(--flame); }
60% { translate: 0 0; }
}
.thread__item {
opacity: 0;
translate: 0 16px;
transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease);
transition-delay: calc(var(--order, 0) * 140ms);
}
.thread.is-seen .thread__item { opacity: 1; translate: 0 0; }
.thread:not(.is-live) .thread__typing i { animation-play-state: paused; }
@media (max-width: 560px) {
.thread__bar { padding: 12px var(--space-m); }
.thread__list { padding: var(--space-m); }
.thread__online { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.thread__item { opacity: 1; translate: none; transition: none; }
.thread__typing i { animation: none; }
}
</style>
<script>
(() => {
const watch = new IntersectionObserver((entries) => {
for (const entry of entries) {
entry.target.classList.toggle('is-live', entry.isIntersecting);
if (entry.isIntersecting) entry.target.classList.add('is-seen');
}
}, { threshold: 0.1 });
for (const root of document.querySelectorAll('.thread')) {
root.querySelectorAll('.thread__item').forEach((item, order) => item.style.setProperty('--order', order));
watch.observe(root);
}
})();
</script>
Service canvas
Numbered tabs switch a big white service panel with a two-tone title, a browser frame holding a picture, and a toggle that opens the deliverable chips.
Code
React For Figma<section class="services">
<header class="services__head">
<p class="services__scribble">what we make</p>
<div class="services__tabs" role="tablist" aria-label="Services">
<button class="services__tab is-active" role="tab" aria-selected="true" aria-controls="services-panel-1" id="services-tab-1"><span>01</span> Interface</button>
<button class="services__tab" role="tab" aria-selected="false" aria-controls="services-panel-2" id="services-tab-2" tabindex="-1"><span>02</span> Websites</button>
<button class="services__tab" role="tab" aria-selected="false" aria-controls="services-panel-3" id="services-tab-3" tabindex="-1"><span>03</span> Identity</button>
</div>
</header>
<div class="services__board">
<article class="services__panel" id="services-panel-1" role="tabpanel" aria-labelledby="services-tab-1">
<p class="services__layer"><span class="services__layer-box"></span>01 interface</p>
<div class="services__top">
<div class="services__copy">
<span class="services__num">01</span>
<h3 class="services__title">Interface design <span class="services__hot">sketch to pixel.</span></h3>
<p class="services__lede">Apps and dashboards, from a napkin wireframe to a file your developers thank you for.</p>
</div>
<figure class="services__browser">
<span class="services__chrome"><i></i><i></i><i></i><b>ebbcharter.co</b></span>
<img class="services__img" src="assets/sailboats.jpg" alt="An ink drawing of two sailing boats heeling on a choppy sea" width="843" height="605">
</figure>
</div>
<button class="services__toggle" aria-expanded="false">See process + deliverables <span class="services__chev" aria-hidden="true"></span></button>
<div class="services__more" hidden>
<p class="services__more-text"><span class="services__label">the work</span>We turn a fuzzy idea into screens people enjoy using, test them on real hands, then hand over a tidy file.</p>
<ul class="services__chips"><li>Web apps</li><li>Dashboards</li><li>Prototypes</li><li>Design systems</li><li>User flows</li><li>Handoff</li></ul>
</div>
</article>
<article class="services__panel" id="services-panel-2" role="tabpanel" aria-labelledby="services-tab-2" hidden>
<p class="services__layer"><span class="services__layer-box"></span>02 websites</p>
<div class="services__top">
<div class="services__copy">
<span class="services__num">02</span>
<h3 class="services__title">Websites <span class="services__hot">built to load fast.</span></h3>
<p class="services__lede">Hand-built, quick, and easy for you to edit on a Sunday night without calling us.</p>
</div>
<figure class="services__browser">
<span class="services__chrome"><i></i><i></i><i></i><b>spokeandsprocket.shop</b></span>
<img class="services__img" src="assets/bicycle.jpg" alt="A green and cream poster with cyclists racing along the top" width="601" height="800">
</figure>
</div>
<button class="services__toggle" aria-expanded="false">See process + deliverables <span class="services__chev" aria-hidden="true"></span></button>
<div class="services__more" hidden>
<p class="services__more-text"><span class="services__label">the work</span>Marketing sites and shops with motion that earns its keep, a CMS you understand and nothing that breaks on a phone.</p>
<ul class="services__chips"><li>Marketing sites</li><li>Shops</li><li>CMS setup</li><li>Motion</li><li>Speed passes</li><li>Hosting</li></ul>
</div>
</article>
<article class="services__panel" id="services-panel-3" role="tabpanel" aria-labelledby="services-tab-3" hidden>
<p class="services__layer"><span class="services__layer-box"></span>03 identity</p>
<div class="services__top">
<div class="services__copy">
<span class="services__num">03</span>
<h3 class="services__title">Identity <span class="services__hot">marks, decks, voice.</span></h3>
<p class="services__lede">A logo is the start. We draw the whole kit: type, colour, posters and the way you talk.</p>
</div>
<figure class="services__browser">
<span class="services__chrome"><i></i><i></i><i></i><b>pierday.events</b></span>
<img class="services__img" src="assets/regatta.jpg" alt="An etching of a crowded harbour regatta with flags strung between masts" width="1000" height="668">
</figure>
</div>
<button class="services__toggle" aria-expanded="false">See process + deliverables <span class="services__chev" aria-hidden="true"></span></button>
<div class="services__more" hidden>
<p class="services__more-text"><span class="services__label">the work</span>Strategy that fits on a page, a mark that holds up at favicon size, and guidelines a new hire reads in ten minutes.</p>
<ul class="services__chips"><li>Logo</li><li>Type and colour</li><li>Pitch decks</li><li>Posters</li><li>Guidelines</li><li>Tone of voice</li></ul>
</div>
</article>
</div>
</section>
<style>
.services {
padding: var(--section-space) var(--edge);
}
.services__head {
display: grid;
justify-items: center;
gap: var(--space-m);
margin-bottom: clamp(24px, 3vw, 40px);
}
.services__scribble {
margin: 0;
font: 500 clamp(1.4rem, 2.4vw, 1.9rem) / 1 var(--font-hand);
color: var(--flame);
rotate: -3deg;
}
.services__tabs {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 4px;
padding: 5px;
border-radius: var(--pill);
background: var(--paper);
box-shadow: var(--shadow-card);
}
.services__tab {
min-height: var(--tap);
padding: 0 18px;
border: 0;
border-radius: var(--pill);
background: none;
color: var(--ink);
font: 500 var(--text-s) / 1 var(--font-body);
cursor: pointer;
transition: background var(--lift) var(--ease-snap), color var(--lift) var(--ease-snap);
}
.services__tab span { font-family: var(--font-mono); font-size: var(--mono-s); color: var(--flame); margin-right: 4px; }
.services__tab.is-active { background: var(--ink); color: var(--paper); }
.services__tab:focus-visible { outline: var(--line-strong) solid var(--select); outline-offset: 2px; }
.services__board {
position: relative;
max-width: 1180px;
margin: 0 auto;
}
.services__layer {
position: absolute;
bottom: 100%;
left: 4px;
display: flex;
align-items: center;
gap: 6px;
margin: 0 0 6px;
font: 700 var(--mono-s) / 1 var(--font-mono);
color: var(--flame);
}
.services__layer-box { width: 9px; height: 9px; border: var(--line-strong) solid var(--flame); border-radius: var(--radius-s); }
.services__panel {
position: relative;
margin-top: 22px;
padding: clamp(20px, 3.2vw, 44px);
border-radius: var(--radius-l);
background: var(--paper);
box-shadow: var(--shadow-card);
animation: services-in var(--slow) var(--ease);
}
@keyframes services-in {
from { opacity: 0; translate: 24px 0; }
}
.services__top {
display: grid;
grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
align-items: center;
gap: clamp(20px, 4vw, 56px);
padding-bottom: var(--space-l);
border-bottom: var(--line) solid var(--paper-soft);
}
.services__num {
display: inline-grid;
place-items: center;
width: 54px;
height: 54px;
margin-bottom: var(--space-m);
border-radius: var(--radius-m);
background: var(--paper-soft);
box-shadow: inset 0 -2px 0 rgb(20 32 43 / 0.06);
font: 700 1.3rem / 1 var(--font-display);
color: var(--ink-mute);
}
.services__title {
margin: 0 0 var(--space-m);
font: 800 var(--display-m) / 1.02 var(--font-display);
letter-spacing: -0.045em;
}
.services__hot { display: block; color: var(--flame); }
.services__lede { max-width: 26em; margin: 0; color: var(--ink-soft); }
.services__browser {
margin: 0;
border-radius: var(--radius-window);
overflow: hidden;
background: var(--paper-soft);
box-shadow: 0 24px 50px -24px rgb(20 50 80 / 0.5), 0 0 0 var(--line) rgb(20 32 43 / 0.08);
}
.services__chrome {
display: flex;
align-items: center;
gap: 6px;
padding: 10px 14px;
}
.services__chrome i { width: 9px; height: 9px; border-radius: var(--pill); background: var(--flame); }
.services__chrome i:nth-child(2) { background: var(--note); }
.services__chrome i:nth-child(3) { background: var(--live); }
.services__chrome b {
flex: 1;
margin-left: var(--space-s);
padding: 3px 12px;
border-radius: var(--pill);
background: var(--paper);
font: 400 var(--mono-xs) / 1.4 var(--font-mono);
color: var(--ink-mute);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.services__img {
width: 100%;
aspect-ratio: 16 / 9;
height: auto;
object-fit: cover;
}
.services__toggle {
display: inline-flex;
align-items: center;
gap: var(--space-m);
min-height: 50px;
margin-top: var(--space-l);
padding: 0 10px 0 18px;
border: var(--line) solid var(--flame);
border-radius: var(--radius-m);
background: var(--paper);
box-shadow: 0 10px 22px -14px rgb(240 83 28 / 0.6);
font: 700 var(--mono-s) / 1 var(--font-mono);
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--ink);
cursor: pointer;
transition: translate var(--lift) var(--ease-pop);
}
.services__toggle:hover { translate: 0 -2px; }
.services__toggle:focus-visible { outline: var(--line-strong) solid var(--select); outline-offset: 3px; }
.services__chev {
display: grid;
place-items: center;
width: 26px;
height: 26px;
border-radius: var(--pill);
background: var(--flame);
transition: rotate var(--lift) var(--ease-snap);
}
.services__chev::before {
content: "";
width: 7px;
height: 7px;
margin-top: 3px;
border: solid var(--paper);
border-width: 2px 0 0 2px;
rotate: 45deg;
}
.services__toggle[aria-expanded="false"] .services__chev { rotate: 180deg; }
.services__more {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-l);
margin-top: var(--space-l);
animation: services-in var(--slow) var(--ease);
}
.services__more[hidden] { display: none; }
.services__label {
display: block;
margin-bottom: var(--space-s);
font: 400 var(--mono-s) / 1 var(--font-mono);
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--ink-mute);
}
.services__more-text { margin: 0; color: var(--ink-soft); }
.services__chips {
display: flex;
flex-wrap: wrap;
align-content: flex-start;
gap: 8px;
margin: 0;
padding: 0;
list-style: none;
}
.services__chips li {
padding: 9px 14px;
border: var(--line) solid rgb(20 32 43 / 0.1);
border-radius: var(--radius-m);
background: var(--paper-soft);
font-size: var(--text-s);
color: var(--ink-soft);
}
@media (max-width: 760px) {
.services__top,
.services__more { grid-template-columns: 1fr; }
.services__browser { order: -1; }
.services__toggle { width: 100%; justify-content: space-between; letter-spacing: 0.08em; }
}
@media (prefers-reduced-motion: reduce) {
.services__panel, .services__more { animation: none; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.services')) {
const tabs = [...root.querySelectorAll('.services__tab')];
const panels = [...root.querySelectorAll('.services__panel')];
const show = (index, focus) => {
tabs.forEach((tab, i) => {
const on = i === index;
tab.classList.toggle('is-active', on);
tab.setAttribute('aria-selected', on);
tab.tabIndex = on ? 0 : -1;
panels[i].hidden = !on;
});
if (focus) tabs[index].focus();
};
tabs.forEach((tab, i) => {
tab.addEventListener('click', () => show(i));
tab.addEventListener('keydown', (event) => {
if (event.key === 'ArrowRight') show((i + 1) % tabs.length, true);
if (event.key === 'ArrowLeft') show((i - 1 + tabs.length) % tabs.length, true);
});
});
root.querySelectorAll('.services__toggle').forEach((toggle) => {
const more = toggle.nextElementSibling;
toggle.addEventListener('click', () => {
const open = toggle.getAttribute('aria-expanded') !== 'true';
toggle.setAttribute('aria-expanded', open);
more.hidden = !open;
});
});
}
})();
</script>
Pricing file
A plan card captioned like a design file and wrapped in a selection frame with a dimension tag, with a billing switch, the price and a checklist, beside a dark call card.
Code
React For Figma<section class="pricing">
<header class="pricing__head">
<p class="pricing__scribble">one flat price</p>
<h2 class="pricing__title">Pick your plan.</h2>
</header>
<div class="pricing__grid">
<div class="pricing__select">
<span class="pricing__handle pricing__handle--tl"></span><span class="pricing__handle pricing__handle--tr"></span>
<span class="pricing__handle pricing__handle--bl"></span><span class="pricing__handle pricing__handle--br"></span>
<span class="pricing__size">640 × 480</span>
<article class="pricing__card">
<div class="pricing__cardtop">
<p class="pricing__file">pricing.fig</p>
<div class="pricing__switch" role="group" aria-label="Billing">
<button class="pricing__opt is-on" aria-pressed="true" data-plan="month">Monthly</button>
<button class="pricing__opt" aria-pressed="false" data-plan="sprint">Two-week sprint</button>
</div>
</div>
<p class="pricing__plan">Design + build subscription</p>
<p class="pricing__price" data-plan="month"><span class="pricing__cur">$</span>3,900<span class="pricing__per">/month</span></p>
<p class="pricing__price" data-plan="sprint" hidden><span class="pricing__cur">$</span>2,400<span class="pricing__per">/sprint</span></p>
<p class="pricing__fine">Pause or cancel any time. No contracts, no surprise invoices.</p>
<ul class="pricing__list">
<li>One request at a time, as many as you like</li>
<li>Interface, web and identity work</li>
<li>First drafts inside 48 hours</li>
<li>Your own thread with both of us</li>
<li>Code and source files are yours</li>
<li>Small fixes after launch, free</li>
</ul>
<a class="pricing__btn" href="#">Start this week <span aria-hidden="true">→</span></a>
</article>
</div>
<aside class="pricing__side">
<p class="pricing__file pricing__file--dark">still deciding</p>
<p class="pricing__side-title">Not sure it fits? <em>Ask us anything.</em></p>
<p class="pricing__side-text">Fifteen minutes, cameras optional. We will tell you honestly if a plan is overkill.</p>
<p class="pricing__faces"><span>H</span><span>M</span><b>usually reply within a day</b></p>
<a class="pricing__btn pricing__btn--light" href="#">Book a quick call</a>
</aside>
</div>
</section>
<style>
.pricing {
padding: var(--section-space) var(--edge);
}
.pricing__head { margin-bottom: clamp(28px, 4vw, 48px); text-align: center; }
.pricing__scribble {
margin: 0;
font: 500 clamp(1.4rem, 2.4vw, 1.9rem) / 1 var(--font-hand);
color: var(--flame);
rotate: -3deg;
}
.pricing__title {
margin: 4px 0 0;
font: 800 var(--display-l) / 0.95 var(--font-display);
letter-spacing: -0.045em;
text-transform: uppercase;
}
.pricing__grid {
display: grid;
grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
gap: clamp(20px, 3vw, 36px);
align-items: start;
max-width: 1080px;
margin: 0 auto;
}
.pricing__select {
position: relative;
padding: 8px;
border: var(--line-strong) solid var(--select);
}
.pricing__handle {
position: absolute;
width: var(--handle);
height: var(--handle);
background: var(--paper);
border: var(--line-strong) solid var(--select);
border-radius: var(--radius-s);
}
.pricing__handle--tl { top: -5px; left: -5px; }
.pricing__handle--tr { top: -5px; right: -5px; }
.pricing__handle--bl { bottom: -5px; left: -5px; }
.pricing__handle--br { bottom: -5px; right: -5px; }
.pricing__size {
position: absolute;
bottom: -12px;
left: 50%;
z-index: 1;
translate: -50% 0;
padding: 2px 7px;
border-radius: 4px;
background: var(--select);
color: var(--paper);
font: 700 var(--mono-xs) / 1.4 var(--font-mono);
}
.pricing__card {
padding: clamp(20px, 3vw, 36px);
border-radius: var(--radius-l);
background: var(--paper);
box-shadow: var(--shadow-card);
}
.pricing__cardtop {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: var(--space-s);
margin-bottom: var(--space-l);
}
.pricing__file {
margin: 0;
font: 400 var(--mono-s) / 1 var(--font-mono);
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--ink-mute);
}
.pricing__switch {
display: flex;
padding: 4px;
border-radius: var(--pill);
background: var(--paper-soft);
}
.pricing__opt {
min-height: var(--tap);
padding: 0 14px;
border: 0;
border-radius: var(--pill);
background: none;
color: var(--ink-soft);
font: 600 var(--text-s) / 1 var(--font-body);
cursor: pointer;
transition: background var(--lift) var(--ease-snap), color var(--lift) var(--ease-snap);
}
.pricing__opt.is-on { background: var(--paper); color: var(--ink); box-shadow: 0 4px 10px -6px rgb(20 32 43 / 0.4); }
.pricing__opt:focus-visible { outline: var(--line-strong) solid var(--select); outline-offset: 2px; }
.pricing__plan {
margin: 0;
font: 700 var(--mono-s) / 1.3 var(--font-mono);
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--flame);
}
.pricing__price {
margin: 6px 0 4px;
font: 800 clamp(3rem, 7vw, 5rem) / 1 var(--font-display);
letter-spacing: -0.05em;
animation: pricing-pop 420ms var(--ease-pop);
}
@keyframes pricing-pop { from { opacity: 0; scale: 0.92; } }
.pricing__cur { font-size: 0.45em; vertical-align: 0.9em; margin-right: 4px; color: var(--ink-mute); }
.pricing__per { font: 500 var(--text-m) / 1 var(--font-body); letter-spacing: 0; color: var(--ink-soft); margin-left: 6px; }
.pricing__fine { margin: 0 0 var(--space-l); color: var(--ink-soft); font-size: var(--text-s); }
.pricing__list {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px var(--space-l);
margin: 0 0 var(--space-l);
padding: var(--space-l) 0 0;
border-top: var(--line) dashed var(--ink-mute);
list-style: none;
font-size: var(--text-s);
}
.pricing__list li { display: flex; gap: 8px; align-items: baseline; }
.pricing__list li::before {
content: "";
flex: none;
width: 10px;
height: 6px;
border: solid var(--flame);
border-width: 0 0 2px 2px;
rotate: -45deg;
translate: 0 -2px;
}
.pricing__btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--space-s);
min-height: 48px;
padding: 0 24px;
border-radius: var(--radius-m);
background: var(--flame);
box-shadow: var(--shadow-flame);
color: var(--paper);
font-weight: 600;
font-size: var(--text-s);
text-decoration: none;
transition: translate var(--lift) var(--ease-pop);
}
.pricing__btn:hover { translate: 0 -3px; }
.pricing__btn:focus-visible { outline: var(--line-strong) solid var(--select); outline-offset: 3px; }
.pricing__btn--light { background: var(--paper); color: var(--ink); box-shadow: none; }
.pricing__side {
display: grid;
gap: var(--space-m);
padding: clamp(20px, 3vw, 32px);
border-radius: var(--radius-l);
background: var(--night);
color: var(--paper);
box-shadow: var(--shadow-card);
}
.pricing__file--dark { text-align: right; }
.pricing__side-title {
margin: 0;
font: 800 var(--display-m) / 1.05 var(--font-display);
letter-spacing: -0.04em;
}
.pricing__side-title em { display: block; font-style: normal; color: var(--flame); }
.pricing__side-text { margin: 0; color: var(--ink-mute); }
.pricing__faces { display: flex; align-items: center; margin: 0; }
.pricing__faces span {
display: grid;
place-items: center;
width: 30px;
height: 30px;
margin-right: -6px;
border-radius: var(--pill);
background: var(--flame);
box-shadow: 0 0 0 2px var(--night);
font: 700 12px / 1 var(--font-mono);
}
.pricing__faces span + span { background: var(--select); }
.pricing__faces b { margin-left: 16px; font: 400 var(--mono-s) / 1.3 var(--font-mono); color: var(--ink-mute); }
@media (max-width: 820px) {
.pricing__grid { grid-template-columns: 1fr; }
.pricing__list { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
.pricing__opt { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
.pricing__price { animation: none; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.pricing')) {
const opts = [...root.querySelectorAll('.pricing__opt')];
const prices = [...root.querySelectorAll('.pricing__price')];
opts.forEach((opt) => opt.addEventListener('click', () => {
opts.forEach((o) => {
const on = o === opt;
o.classList.toggle('is-on', on);
o.setAttribute('aria-pressed', on);
});
prices.forEach((price) => { price.hidden = price.dataset.plan !== opt.dataset.plan; });
}));
}
})();
</script>
Poke button footer
A button that does nothing but wake a row of drawn cloud creatures who squeak and hop, above a footer of links and the wordmark.
Code
React For Figma<section class="poke">
<div class="poke__stage">
<p class="poke__label">this button does absolutely nothing</p>
<ul class="poke__crowd" aria-hidden="true">
<li class="poke__buddy poke__buddy--a">
<span class="poke__say">hey!</span>
<svg class="poke__body" viewBox="0 0 100 64" width="100" height="64" aria-hidden="true">
<path class="poke__puff" d="M16 54 C4 54 2 38 13 35 C10 22 26 14 34 22 C38 8 62 8 66 22 C76 16 90 26 84 38 C96 40 94 56 82 54 Z" />
<ellipse class="poke__eye" cx="40" cy="36" rx="3.4" ry="4.4" /><ellipse class="poke__eye" cx="60" cy="36" rx="3.4" ry="4.4" />
<circle class="poke__cheek" cx="32" cy="44" r="3.5" /><circle class="poke__cheek" cx="68" cy="44" r="3.5" />
<path class="poke__mouth" d="M44 44 Q50 48 56 44" />
</svg>
</li>
<li class="poke__buddy poke__buddy--b">
<span class="poke__say">rude.</span>
<svg class="poke__body" viewBox="0 0 100 64" width="100" height="64" aria-hidden="true">
<path class="poke__puff" d="M16 54 C4 54 2 38 13 35 C10 22 26 14 34 22 C38 8 62 8 66 22 C76 16 90 26 84 38 C96 40 94 56 82 54 Z" />
<ellipse class="poke__eye" cx="40" cy="36" rx="3.4" ry="4.4" /><ellipse class="poke__eye" cx="60" cy="36" rx="3.4" ry="4.4" />
<circle class="poke__cheek" cx="32" cy="44" r="3.5" /><circle class="poke__cheek" cx="68" cy="44" r="3.5" />
<path class="poke__mouth" d="M42 43 Q50 51 58 43 Z" />
</svg>
</li>
<li class="poke__buddy poke__buddy--c">
<span class="poke__say">eep</span>
<svg class="poke__body" viewBox="0 0 100 64" width="100" height="64" aria-hidden="true">
<path class="poke__puff" d="M16 54 C4 54 2 38 13 35 C10 22 26 14 34 22 C38 8 62 8 66 22 C76 16 90 26 84 38 C96 40 94 56 82 54 Z" />
<ellipse class="poke__eye" cx="40" cy="36" rx="3.4" ry="4.4" /><ellipse class="poke__eye" cx="60" cy="36" rx="3.4" ry="4.4" />
<circle class="poke__cheek" cx="32" cy="44" r="3.5" /><circle class="poke__cheek" cx="68" cy="44" r="3.5" />
<ellipse class="poke__mouth poke__mouth--o" cx="50" cy="45" rx="3" ry="3.6" />
</svg>
</li>
<li class="poke__buddy poke__buddy--d">
<span class="poke__say">again??</span>
<svg class="poke__body" viewBox="0 0 100 64" width="100" height="64" aria-hidden="true">
<path class="poke__puff" d="M16 54 C4 54 2 38 13 35 C10 22 26 14 34 22 C38 8 62 8 66 22 C76 16 90 26 84 38 C96 40 94 56 82 54 Z" />
<ellipse class="poke__eye" cx="40" cy="36" rx="3.4" ry="4.4" /><ellipse class="poke__eye" cx="60" cy="36" rx="3.4" ry="4.4" />
<circle class="poke__cheek" cx="32" cy="44" r="3.5" /><circle class="poke__cheek" cx="68" cy="44" r="3.5" />
<path class="poke__mouth" d="M44 44 Q50 48 56 44" />
</svg>
</li>
<li class="poke__buddy poke__buddy--e">
<span class="poke__say">ow</span>
<svg class="poke__body" viewBox="0 0 100 64" width="100" height="64" aria-hidden="true">
<path class="poke__puff" d="M16 54 C4 54 2 38 13 35 C10 22 26 14 34 22 C38 8 62 8 66 22 C76 16 90 26 84 38 C96 40 94 56 82 54 Z" />
<ellipse class="poke__eye" cx="40" cy="36" rx="3.4" ry="4.4" /><ellipse class="poke__eye" cx="60" cy="36" rx="3.4" ry="4.4" />
<circle class="poke__cheek" cx="32" cy="44" r="3.5" /><circle class="poke__cheek" cx="68" cy="44" r="3.5" />
<path class="poke__mouth" d="M42 43 Q50 51 58 43 Z" />
</svg>
</li>
</ul>
<button class="poke__button" type="button">Please don't press <span class="poke__count" aria-live="polite">0</span></button>
<p class="poke__hint">The little ones startle easily. Press anyway.</p>
</div>
<footer class="poke__footer">
<p class="poke__word">Halyard<span>.</span></p>
<nav class="poke__cols" aria-label="Footer">
<div class="poke__col"><p class="poke__head">studio</p><a href="#">About</a><a href="#">Work</a><a href="#">Journal</a></div>
<div class="poke__col"><p class="poke__head">hire us</p><a href="#">Pricing</a><a href="#">Book a call</a><a href="#">hello@halyard.studio</a></div>
<div class="poke__col"><p class="poke__head">elsewhere</p><a href="#">Dribbble</a><a href="#">Read.cv</a><a href="#">Instagram</a></div>
</nav>
<p class="poke__fine"><span>© 2027 Halyard studio</span><span>made under a big sky · v4.2</span></p>
</footer>
</section>
<style>
.poke {
padding: var(--section-space) var(--edge) var(--space-l);
}
.poke__stage {
display: grid;
justify-items: center;
max-width: 860px;
margin: 0 auto var(--section-space);
padding: clamp(24px, 4vw, 48px) var(--space-m);
border: var(--line) dashed var(--select);
border-radius: var(--radius-l);
background: var(--paper-glass);
text-align: center;
}
.poke__label {
margin: 0 0 var(--space-l);
font: 700 var(--mono-s) / 1.4 var(--font-mono);
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--ink);
}
.poke__crowd {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: clamp(4px, 1.4vw, 18px);
margin: 0 0 var(--space-m);
padding: 34px 0 0;
list-style: none;
}
.poke__buddy {
position: relative;
width: clamp(56px, 11vw, 100px);
animation: poke-float 3.2s ease-in-out infinite;
animation-delay: calc(var(--i, 0) * -0.6s);
}
.poke:not(.is-live) .poke__buddy { animation-play-state: paused; }
@keyframes poke-float { 50% { translate: 0 -6px; } }
.poke__body {
width: 100%;
height: auto;
overflow: visible;
transform-origin: 50% 100%;
transition: scale var(--lift) var(--ease-pop);
}
.poke__buddy:hover .poke__body { scale: 1.08 0.9; }
.poke__puff { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.poke__buddy--b .poke__puff { fill: var(--flame); }
.poke__buddy--c .poke__puff { fill: var(--sky-low); }
.poke__buddy--d .poke__puff { fill: var(--note); }
.poke__buddy--e .poke__puff { fill: var(--ink); }
.poke__eye { fill: var(--ink); transform-box: fill-box; transform-origin: center; animation: poke-blink 4s infinite; }
.poke__buddy--e .poke__eye, .poke__buddy--e .poke__mouth { fill: var(--paper); stroke: var(--paper); }
.poke:not(.is-live) .poke__eye { animation-play-state: paused; }
@keyframes poke-blink { 0%, 92%, 100% { scale: 1 1; } 95% { scale: 1 0.1; } }
.poke__cheek { fill: var(--flame); opacity: 0.45; }
.poke__buddy--b .poke__cheek { fill: var(--paper); }
.poke__mouth { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.poke__mouth--o { fill: var(--ink); }
.poke__say {
position: absolute;
bottom: 100%;
left: 50%;
padding: 3px 8px;
border-radius: var(--radius-m) var(--radius-m) var(--radius-m) 2px;
background: var(--ink);
color: var(--paper);
font: 700 var(--mono-xs) / 1.4 var(--font-mono);
white-space: nowrap;
opacity: 0;
translate: -20% 6px;
transition: opacity var(--quick) ease, translate var(--lift) var(--ease-pop);
pointer-events: none;
}
.poke__buddy.is-startled { animation: poke-hop 520ms var(--ease-pop); }
.poke__buddy.is-startled .poke__say { opacity: 1; translate: -20% -4px; }
@keyframes poke-hop {
30% { translate: 0 -22px; rotate: -6deg; }
60% { translate: 0 0; rotate: 4deg; }
}
.poke__button {
display: inline-flex;
align-items: center;
gap: var(--space-s);
min-height: 56px;
padding: 0 28px;
border: 0;
border-radius: var(--pill);
background: var(--ink);
box-shadow: 0 6px 0 var(--flame), var(--shadow-card);
color: var(--paper);
font: 600 var(--text-m) / 1 var(--font-body);
cursor: pointer;
transition: translate var(--quick) var(--ease-pop), box-shadow var(--quick) var(--ease-pop);
}
.poke__button:hover { translate: 0 -2px; box-shadow: 0 8px 0 var(--flame), var(--shadow-card); }
.poke__button:active { translate: 0 5px; box-shadow: 0 1px 0 var(--flame), var(--shadow-card); }
.poke__button:focus-visible { outline: var(--line-strong) solid var(--select); outline-offset: 4px; }
.poke__count {
min-width: 26px;
padding: 3px 6px;
border-radius: var(--pill);
background: var(--flame);
font: 700 var(--mono-s) / 1.2 var(--font-mono);
}
.poke__hint { margin: var(--space-m) 0 0; font-size: var(--text-s); color: var(--ink-soft); }
.poke__footer {
max-width: 1220px;
margin: 0 auto;
padding: clamp(24px, 3vw, 40px);
border-radius: var(--radius-l);
background: var(--night);
color: var(--paper);
}
.poke__word {
margin: 0 0 var(--space-l);
font: 800 clamp(3.4rem, 12vw, 10rem) / 0.8 var(--font-display);
font-stretch: 75%;
letter-spacing: -0.05em;
text-transform: uppercase;
}
.poke__word span { color: var(--flame); }
.poke__cols {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--gap);
padding: var(--space-l) 0;
border-block: var(--line) solid var(--night-line);
}
.poke__col { display: grid; align-content: start; }
.poke__head {
margin: 0 0 6px;
font: 400 var(--mono-s) / 1 var(--font-mono);
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--ink-mute);
}
.poke__col a {
display: flex;
align-items: center;
min-height: var(--tap);
color: var(--paper);
font-size: var(--text-s);
text-decoration: none;
overflow-wrap: anywhere;
}
.poke__col a:hover { color: var(--flame); }
.poke__col a:focus-visible { outline: var(--line-strong) solid var(--select); outline-offset: 2px; }
.poke__fine {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: var(--space-s);
margin: var(--space-m) 0 0;
font: 400 var(--mono-xs) / 1.4 var(--font-mono);
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--ink-mute);
}
@media (max-width: 600px) {
.poke__cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
.poke__buddy, .poke__eye { animation: none; }
.poke__buddy.is-startled { animation: none; }
}
</style>
<script>
(() => {
const live = new IntersectionObserver((entries) => {
for (const entry of entries) entry.target.classList.toggle('is-live', entry.isIntersecting);
});
for (const root of document.querySelectorAll('.poke')) {
live.observe(root);
const buddies = [...root.querySelectorAll('.poke__buddy')];
buddies.forEach((buddy, i) => buddy.style.setProperty('--i', i));
const count = root.querySelector('.poke__count');
let pokes = 0;
const startle = (buddy, delay) => {
setTimeout(() => {
buddy.classList.remove('is-startled');
void buddy.offsetWidth;
buddy.classList.add('is-startled');
clearTimeout(buddy._quiet);
buddy._quiet = setTimeout(() => buddy.classList.remove('is-startled'), 1400);
}, delay);
};
root.querySelector('.poke__button').addEventListener('click', () => {
pokes += 1;
count.textContent = pokes;
buddies.forEach((buddy, i) => startle(buddy, i * 70));
});
buddies.forEach((buddy) => buddy.addEventListener('pointerdown', () => startle(buddy, 0)));
}
})();
</script>
Style
- --ink #14202b
- --ink-soft #4a6173
- --ink-mute #8aa6b8
- --night #0e1620
- --night-line #274257
- --paper #ffffff
- --paper-soft #f2f4f6
- --paper-glass rgb(255 255 255 / 0.55)
- --sky-top #3f93dd
- --sky-mid #6fb0e8
- --sky-low #b9daf5
- --cloud rgb(255 255 255 / 0.85)
- --flame #f0531c
- --flame-soft #fde4da
- --select #1e8bf0
- --live #2fc46b
- --note #fbe9cf
Type
- Bricolage Grotesque for headlines, stands in for the site's heavy, tightly tracked grotesk headlines, used condensed for the hero
- Hanken Grotesk for running text, stands in for the site's own Hanken Grotesk body face
- Space Mono for labels, stands in for the site's Space Mono captions, file names and ruler numbers
- Caveat for scribbles, stands in for the hand-drawn pen eyebrows above section titles
Motion
- The ruler's orange tag slides along the scale with page scroll, and the clock ticks every second.
- The nav's dark highlight pill slides to the hovered link in 260ms on a snappy cubic-bezier(0.2, 0.8, 0.2, 1).
- The hero headline is a canvas of square dots that bulge up to 18px away from the pointer within 70px and ease back at 14% of the gap per frame.
- A blue 'You' cursor tag follows the pointer inside the hero and the cards.
- Cards and chat messages rise 16px and fade in over 550ms when they come into view, a beat apart.
- Buttons and the poke creatures pop with an overshooting cubic-bezier(0.3, 1.7, 0.5, 1).
Rules
- The page is a sky: a blue gradient with soft white cloud puffs behind everything; content floats on it as white or near-black cards.
- Design-tool marks are the decoration: blue selection frames with square corner handles, dimension tags, cursor name tags and file-name captions like 'pricing.fig'.
- Headlines are heavy grotesk, very tight tracking, set in two lines where the second line turns orange.
- Small labels are uppercase Space Mono at 9 to 11px with open letter spacing, in a pale blue-grey.
- One orange accent carries the primary button, the second headline line, the ruler tag and quote marks; everything else is navy, slate and white.
- Chips are outlined rounded rectangles or soft grey tiles; navigation and status live in white pills.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,500..800&family=Hanken+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&family=Caveat:wght@500&display=swap");
:root {
/* Colour roles */
--ink: #14202b; /* main text, dark buttons */
--ink-soft: #4a6173; /* running text, secondary */
--ink-mute: #8aa6b8; /* mono captions, faint labels */
--night: #0e1620; /* dark cards and the metrics panel */
--night-line: #274257; /* rules inside dark cards */
--paper: #ffffff; /* cards, panels, pills */
--paper-soft: #f2f4f6; /* chips and number tiles on white */
--paper-glass: rgb(255 255 255 / 0.55); /* frosted chips over the sky */
--sky-top: #3f93dd; /* sky at the top of the page */
--sky-mid: #6fb0e8; /* sky in the middle */
--sky-low: #b9daf5; /* sky near the horizon */
--cloud: rgb(255 255 255 / 0.85); /* cloud puffs */
--flame: #f0531c; /* accent: second headline line, primary button, ruler marker */
--flame-soft: #fde4da; /* accent tint behind chips and toggles */
--select: #1e8bf0; /* design-tool selection frames, handles, cursor tags */
--live: #2fc46b; /* live and available dots */
--note: #fbe9cf; /* sticky note strip */
/* Type */
--font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif; /* headlines, numbers */
--font-body: "Hanken Grotesk", system-ui, sans-serif; /* running text, buttons, nav */
--font-mono: "Space Mono", ui-monospace, monospace; /* captions, file names, ruler, labels */
--font-hand: "Caveat", cursive; /* hand-written eyebrow scribbles */
--display-xl: clamp(3.4rem, 11vw, 9.5rem); /* hero headline */
--display-l: clamp(2.4rem, 6vw, 4.6rem); /* section headline */
--display-m: clamp(1.7rem, 3.4vw, 2.6rem); /* card headline */
--text-l: 1.15rem; /* lead text */
--text-m: 0.97rem; /* running text */
--text-s: 0.875rem; /* buttons, nav, chips */
--mono-s: 0.66rem; /* mono captions */
--mono-xs: 0.56rem; /* ruler numbers, tiny tags */
/* Space */
--edge: clamp(16px, 4vw, 48px); /* side padding of a section */
--gap: clamp(12px, 1.6vw, 20px); /* between cards */
--section-space: clamp(56px, 8vw, 112px); /* air above and below a section */
--space-xs: 6px; /* tight inner gap */
--space-s: 10px; /* chip gap */
--space-m: 16px; /* inner padding step */
--space-l: 28px; /* card padding */
--space-xl: 44px; /* large card padding */
/* Shape */
--radius-s: 2px; /* selection frames, ruler tags */
--radius-m: 10px; /* chips, number tiles, buttons */
--radius-l: 20px; /* cards and panels */
--radius-window: 14px; /* browser frames */
--pill: 999px; /* nav pill, status pills */
--line: 1px; /* rules and outlines */
--line-strong: 1.5px; /* outlined buttons and selection frames */
--handle: 8px; /* selection corner handles */
--tap: 44px; /* smallest tap target */
--shadow-card: 0 18px 40px -18px rgb(20 50 80 / 0.35); /* cards floating over the sky */
--shadow-flame: 0 12px 26px -10px rgb(240 83 28 / 0.65); /* glow under the primary button */
/* Motion */
--ease: cubic-bezier(0.2, 0.7, 0.2, 1); /* reveals and slides */
--ease-snap: cubic-bezier(0.2, 0.8, 0.2, 1); /* hover lifts */
--ease-pop: cubic-bezier(0.3, 1.7, 0.5, 1); /* overshooting pops */
--quick: 200ms; /* hover and press */
--lift: 260ms; /* card lift, nav highlight */
--slow: 550ms; /* reveal on view */
}
*, *::before, *::after { box-sizing: border-box; }
body {
margin: 0;
color: var(--ink);
font: 400 15.5px/1.55 var(--font-body);
-webkit-font-smoothing: antialiased;
background:
radial-gradient(closest-side, var(--cloud), rgb(255 255 255 / 0.4) 55%, transparent) 6% 90px / 380px 150px no-repeat,
radial-gradient(closest-side, var(--cloud), rgb(255 255 255 / 0.4) 55%, transparent) 14% 150px / 260px 110px no-repeat,
radial-gradient(closest-side, var(--cloud), rgb(255 255 255 / 0.4) 55%, transparent) 84% 230px / 340px 130px no-repeat,
radial-gradient(closest-side, var(--cloud), rgb(255 255 255 / 0.4) 55%, transparent) 92% 280px / 240px 100px no-repeat,
radial-gradient(closest-side, var(--cloud), rgb(255 255 255 / 0.4) 55%, transparent) 30% 600px / 440px 150px no-repeat,
radial-gradient(closest-side, var(--cloud), rgb(255 255 255 / 0.4) 55%, transparent) 96% 760px / 380px 140px no-repeat,
radial-gradient(closest-side, var(--cloud), rgb(255 255 255 / 0.4) 55%, transparent) 2% 1150px / 420px 150px no-repeat,
linear-gradient(180deg, var(--sky-top) 0, var(--sky-mid) 600px, var(--sky-low) 1300px, var(--sky-mid) 2000px) 0 0 / 100% 2000px repeat-y,
var(--sky-mid);
background-color: var(--sky-mid);
}
img, svg, canvas { display: block; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
For your agent
Use the kitbash MCP server at https://kitbash.me/mcp. Call get_pack("cloud-sky-artboard"), then get_component for the parts you need, and build my site in that style: keep its tokens and rules, replace the placeholder copy with mine.
How to connect