Comment Bracket Folio
A near-white product designer's folio in one light grotesk: section titles set as pale grey code comments, a solid-looking desk scene floating on empty page, cases with grey tag chips and app tiles with fanned icons. It suits personal portfolios, small product studios and app makers who want a quiet page with something to poke.
Parts
Top bar
Wordmark with a grey job chip, centred plain links, hairline icon squares and one black ask button; on phones a black sparkle square and a menu square that drops a sheet.
Code
React For Figma<header class="nav">
<div class="nav__bar">
<a class="nav__brand" href="#">
<span class="nav__wordmark">Mara Kettunen</span>
<span class="nav__chip">Interface Designer</span>
</a>
<nav class="nav__links" aria-label="Main">
<a class="nav__link" href="#">Work</a>
<a class="nav__link" href="#">Shipped</a>
<a class="nav__link" href="#">Sandbox</a>
<a class="nav__link" href="#">About</a>
</nav>
<div class="nav__tools">
<a class="nav__icon" href="#" aria-label="Journal">
<svg viewBox="0 0 16 16" aria-hidden="true"><rect x="2.5" y="2.5" width="11" height="11" rx="3.5" fill="none" stroke="currentColor" stroke-width="1.4"/><circle cx="8" cy="8" r="2.6" fill="none" stroke="currentColor" stroke-width="1.4"/></svg>
</a>
<a class="nav__icon" href="#" aria-label="Index">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 3h4v4H3zM9 3h4v4H9zM3 9h4v4H3zM9 9h4v4H9z" fill="currentColor"/></svg>
</a>
<a class="nav__icon" href="#" aria-label="Mail">
<svg viewBox="0 0 16 16" aria-hidden="true"><rect x="2" y="3.5" width="12" height="9" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.4"/><path d="M2.5 4.5 8 9l5.5-4.5" fill="none" stroke="currentColor" stroke-width="1.4"/></svg>
</a>
<span class="nav__divider" aria-hidden="true"></span>
<a class="nav__ask" href="#">
<span class="nav__ask-label">Ask the bench</span>
<svg class="nav__spark" viewBox="0 0 16 16" aria-hidden="true"><path d="M8 1.5c.5 3.4 3 6 6.5 6.5-3.5.5-6 3.1-6.5 6.5-.5-3.4-3-6-6.5-6.5 3.5-.5 6-3.1 6.5-6.5Z" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linejoin="round"/></svg>
</a>
<button class="nav__menu" type="button" aria-expanded="false" aria-label="Open menu">
<span class="nav__menu-line"></span>
<span class="nav__menu-line"></span>
</button>
</div>
</div>
<div class="nav__sheet">
<a class="nav__sheet-link" href="#">Work</a>
<a class="nav__sheet-link" href="#">Shipped</a>
<a class="nav__sheet-link" href="#">Sandbox</a>
<a class="nav__sheet-link" href="#">About</a>
</div>
</header>
<style>
.nav {
position: sticky;
top: 0;
z-index: 10;
background: var(--paper);
}
.nav__bar {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: var(--gap);
padding: var(--space-s) var(--edge);
}
.nav__brand {
display: flex;
align-items: center;
gap: var(--space-s);
min-height: 44px;
color: var(--ink);
text-decoration: none;
justify-self: start;
}
.nav__wordmark {
font-size: var(--text-l);
font-weight: var(--weight-bold);
letter-spacing: var(--track-tight);
white-space: nowrap;
}
.nav__chip {
padding: 5px var(--space-s);
border-radius: var(--radius-xs);
background: var(--chip);
font-size: var(--text-s);
font-weight: 400;
white-space: nowrap;
}
.nav__links {
display: flex;
gap: var(--space-xs);
}
.nav__link {
display: inline-flex;
align-items: center;
min-height: 44px;
padding: 0 var(--space-s);
color: var(--ink);
font-size: var(--text-m);
font-weight: 400;
text-decoration: none;
transition: opacity var(--quick) ease;
}
.nav__links:hover .nav__link:not(:hover) {
opacity: 0.4;
}
.nav__tools {
display: flex;
align-items: center;
gap: 2px;
justify-self: end;
}
.nav__icon {
display: grid;
place-items: center;
width: 44px;
height: 44px;
color: var(--ink);
}
.nav__icon svg {
box-sizing: content-box;
width: 16px;
height: 16px;
padding: 6px;
border: var(--line) solid var(--rule);
border-radius: var(--radius-s);
background: var(--card);
transition: transform var(--slow) var(--ease), border-color var(--quick) ease;
}
.nav__icon:hover svg,
.nav__icon:focus-visible svg {
border-color: var(--ink);
transform: translateY(-2px);
}
.nav__divider {
width: var(--line);
height: 20px;
margin: 0 var(--space-s);
background: var(--rule);
}
.nav__ask {
display: inline-flex;
align-items: center;
gap: var(--space-s);
min-height: 44px;
padding: 0 var(--space-m);
border-radius: var(--radius-s);
background: var(--night);
color: var(--on-night);
font-size: var(--text-s);
font-weight: 400;
text-decoration: none;
white-space: nowrap;
}
.nav__spark {
width: 14px;
height: 14px;
transition: transform var(--slow) var(--ease);
}
.nav__ask:hover .nav__spark,
.nav__ask:focus-visible .nav__spark {
transform: rotate(90deg);
}
.nav__menu {
display: none;
place-content: center;
gap: 5px;
width: 44px;
height: 44px;
margin-left: var(--space-s);
padding: 0;
border: var(--line) solid var(--rule);
border-radius: var(--radius-s);
background: var(--card);
cursor: pointer;
}
.nav__menu-line {
display: block;
width: 16px;
height: 2px;
border-radius: 2px;
background: var(--ink);
transition: transform var(--slow) var(--ease);
}
.nav.is-open .nav__menu-line:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__menu-line:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__sheet {
display: none;
}
@media (max-width: 900px) {
.nav__bar { grid-template-columns: 1fr auto; }
.nav__links,
.nav__icon,
.nav__divider { display: none; }
.nav__menu { display: grid; }
.nav__ask { width: 44px; padding: 0; justify-content: center; }
.nav__ask-label {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.nav__sheet {
display: grid;
max-height: 0;
overflow: hidden;
padding: 0 var(--edge);
visibility: hidden;
transition: max-height var(--slow) var(--ease), visibility 0s linear var(--slow);
}
.nav.is-open .nav__sheet {
max-height: 280px;
visibility: visible;
transition: max-height var(--slow) var(--ease);
}
.nav__sheet-link {
display: flex;
align-items: center;
min-height: 56px;
border-top: var(--line) solid var(--rule);
color: var(--ink);
font-size: var(--display-s);
font-weight: var(--weight-bold);
letter-spacing: var(--track-tight);
text-decoration: none;
}
}
@media (max-width: 380px) {
.nav__chip { display: none; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.nav')) {
const button = root.querySelector('.nav__menu');
if (!button) continue;
button.addEventListener('click', () => {
const open = root.classList.toggle('is-open');
button.setAttribute('aria-expanded', String(open));
button.setAttribute('aria-label', open ? 'Close menu' : 'Open menu');
});
}
})();
</script>
Floating desk
The signature first screen: a drawn isometric workbench floats in the middle of an empty page, the name and a two-line intro tucked at the bottom left.
Code
React For Figma<section class="hero">
<figure class="hero__scene">
<svg class="hero__bench" viewBox="110 -70 375 530" role="img" aria-label="A drawn workbench with a radio, a laptop, a lamp and a plant, seen from above at an angle">
<defs>
<radialGradient id="hero-floor" cx="50%" cy="50%" r="50%">
<stop offset="0" stop-color="#000" stop-opacity="0.16"/>
<stop offset="1" stop-color="#000" stop-opacity="0"/>
</radialGradient>
</defs>
<ellipse class="hero__floor" cx="268" cy="385" rx="185" ry="62" fill="url(#hero-floor)"/>
<g class="hero__float">
<polygon points="263.4,90.3 451.4,198.8 451.4,56.2 263.4,-52.2" fill="#f1f1f1" stroke="#e0e0e0"/>
<ellipse cx="279.5" cy="81.1" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="279.5" cy="54.7" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="279.5" cy="28.3" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="279.5" cy="2.0" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="279.5" cy="-24.4" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="302.4" cy="94.2" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="302.4" cy="67.9" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="302.4" cy="41.5" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="302.4" cy="15.2" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="302.4" cy="-11.2" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="325.2" cy="107.4" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="325.2" cy="81.0" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="325.2" cy="54.7" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="325.2" cy="28.3" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="325.2" cy="2.0" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="348.0" cy="120.6" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="348.0" cy="94.2" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="348.0" cy="67.9" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="348.0" cy="41.5" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="348.0" cy="15.2" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="370.8" cy="133.8" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="370.8" cy="107.4" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="370.8" cy="81.0" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="370.8" cy="54.7" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="370.8" cy="28.3" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="393.6" cy="146.9" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="393.6" cy="120.6" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="393.6" cy="94.2" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="393.6" cy="67.9" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="393.6" cy="41.5" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="416.5" cy="160.1" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="416.5" cy="133.8" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="416.5" cy="107.4" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="416.5" cy="81.1" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="416.5" cy="54.7" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="439.3" cy="173.3" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="439.3" cy="146.9" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="439.3" cy="120.6" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="439.3" cy="94.2" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<ellipse cx="439.3" cy="67.9" rx="1.6" ry="1.2" fill="#cfcfcf"/>
<g>
<polygon points="284.9,43.9 293.0,48.5 293.0,-4.2 284.9,-8.8" fill="#e8643a"/>
<polygon points="297.0,46.2 293.0,48.5 293.0,-4.2 297.0,-6.5" fill="#c9532e"/>
<polygon points="288.9,-11.2 297.0,-6.5 293.0,-4.2 284.9,-8.8" fill="#ff7a45"/>
</g>
<g>
<polygon points="303.7,39.2 327.9,53.1 327.9,43.8 303.7,29.9" fill="#3c6bc0"/>
<polygon points="331.9,50.8 327.9,53.1 327.9,43.8 331.9,41.5" fill="#2f58a3"/>
<polygon points="307.7,27.6 331.9,41.5 327.9,43.8 303.7,29.9" fill="#4a7fd9"/>
</g>
<g>
<polygon points="306.4,71.8 311.7,74.9 311.7,40.8 306.4,37.7" fill="#222"/>
<polygon points="315.8,72.5 311.7,74.9 311.7,40.8 315.8,38.4" fill="#111"/>
<polygon points="310.4,35.3 315.8,38.4 311.7,40.8 306.4,37.7" fill="#2d2d2d"/>
</g>
<g>
<polygon points="395.0,76.4 424.5,93.4 424.5,65.5 395.0,48.5" fill="#e8b70b"/>
<polygon points="428.5,91.1 424.5,93.4 424.5,65.5 428.5,63.2" fill="#cfa204"/>
<polygon points="399.0,46.2 428.5,63.2 424.5,65.5 395.0,48.5" fill="#ffcd1c"/>
</g>
<g>
<polygon points="354.7,118.2 362.8,122.9 362.8,60.9 354.7,56.2" fill="#868b90"/>
<polygon points="366.8,120.6 362.8,122.9 362.8,60.9 366.8,58.6" fill="#72777c"/>
<polygon points="358.7,53.9 366.8,58.6 362.8,60.9 354.7,56.2" fill="#9aa0a6"/>
</g>
<g>
<polygon points="244.6,259.3 250.0,262.4 250.0,107.4 244.6,104.3" fill="#dcdcdc"/>
<polygon points="255.4,259.3 250.0,262.4 250.0,107.4 255.4,104.3" fill="#c9c9c9"/>
<polygon points="250.0,101.2 255.4,104.3 250.0,107.4 244.6,104.3" fill="#f4f4f4"/>
</g>
<g>
<polygon points="443.3,374.0 448.7,377.1 448.7,222.1 443.3,219.0" fill="#dcdcdc"/>
<polygon points="454.0,374.0 448.7,377.1 448.7,222.1 454.0,219.0" fill="#c9c9c9"/>
<polygon points="448.7,215.9 454.0,219.0 448.7,222.1 443.3,219.0" fill="#f4f4f4"/>
</g>
<g>
<polygon points="139.9,319.8 145.3,322.9 145.3,167.9 139.9,164.8" fill="#dcdcdc"/>
<polygon points="150.7,319.8 145.3,322.9 145.3,167.9 150.7,164.8" fill="#c9c9c9"/>
<polygon points="145.3,161.6 150.7,164.8 145.3,167.9 139.9,164.8" fill="#f4f4f4"/>
</g>
<g>
<polygon points="338.6,434.5 344.0,437.6 344.0,282.6 338.6,279.5" fill="#dcdcdc"/>
<polygon points="349.3,434.5 344.0,437.6 344.0,282.6 349.3,279.5" fill="#c9c9c9"/>
<polygon points="344.0,276.4 349.3,279.5 344.0,282.6 338.6,279.5" fill="#f4f4f4"/>
</g>
<g>
<polygon points="129.2,164.8 344.0,288.8 344.0,279.4 129.2,155.4" fill="#e9e9e9"/>
<polygon points="464.8,219.0 344.0,288.8 344.0,279.4 464.8,209.7" fill="#d6d6d6"/>
<polygon points="250.0,85.7 464.8,209.7 344.0,279.4 129.2,155.4" fill="#ffffff"/>
</g>
<g class="hero__radio">
<polygon points="217.8,135.3 287.6,175.6 287.6,129.1 217.8,88.8" fill="#4c9c90"/>
<polygon points="322.5,155.4 287.6,175.6 287.6,129.1 322.5,108.9" fill="#3f877c"/>
<polygon points="252.7,68.6 322.5,108.9 287.6,129.1 217.8,88.8" fill="#5fb3a6"/>
</g>
<ellipse cx="238.7" cy="135.2" rx="7" ry="9" fill="#2f6e65" transform="rotate(-28 238.7 135.2)"/>
<g>
<polygon points="286.2,111.3 290.3,113.6 290.3,79.5 286.2,77.2" fill="#aaa"/>
<polygon points="294.3,111.3 290.3,113.6 290.3,79.5 294.3,77.2" fill="#999"/>
<polygon points="290.3,74.8 294.3,77.2 290.3,79.5 286.2,77.2" fill="#bbb"/>
</g>
<g>
<polygon points="287.6,206.6 303.7,215.9 303.7,194.2 287.6,184.9" fill="#eaeaea"/>
<polygon points="319.8,206.6 303.7,215.9 303.7,194.2 319.8,184.9" fill="#d9d9d9"/>
<polygon points="303.7,175.6 319.8,184.9 303.7,194.2 287.6,184.9" fill="#ffffff"/>
</g>
<ellipse cx="303.7" cy="184.9" rx="7.5" ry="4.2" fill="#5a3a26"/>
<g>
<polygon points="293.0,181.8 360.1,220.6 360.1,215.9 293.0,177.2" fill="#c3c8ce"/>
<polygon points="403.0,195.8 360.1,220.6 360.1,215.9 403.0,191.1" fill="#aeb4bb"/>
<polygon points="335.9,152.3 403.0,191.1 360.1,215.9 293.0,177.2" fill="#d9dde2"/>
</g>
<polygon points="335.9,152.3 403.0,191.1 403.0,136.8 335.9,98.1" fill="#2a2d33"/>
<polygon class="hero__screen" points="339.9,150.0 399.0,184.1 399.0,139.2 339.9,105.1" fill="#7b6cf6"/>
<g>
<polygon points="389.6,209.7 408.4,220.6 408.4,215.9 389.6,205.0" fill="#222"/>
<polygon points="427.2,209.7 408.4,220.6 408.4,215.9 427.2,205.0" fill="#111"/>
<polygon points="408.4,194.2 427.2,205.0 408.4,215.9 389.6,205.0" fill="#2d2d2d"/>
</g>
<polyline points="408.4,205.0 396.3,119.0 360.1,99.6" fill="none" stroke="#2d2d2d" stroke-width="3" stroke-linecap="round"/>
<path d="M346.1,101.6 L366.1,89.6 L372.1,109.6 Z" fill="#ff7a45"/>
<g>
<polygon points="161.4,155.4 182.9,167.8 182.9,143.0 161.4,130.7" fill="#b45f3d"/>
<polygon points="204.4,155.4 182.9,167.8 182.9,143.0 204.4,130.7" fill="#9c5032"/>
<polygon points="182.9,118.3 204.4,130.7 182.9,143.0 161.4,130.7" fill="#c96f4a"/>
</g>
<ellipse cx="174.9" cy="113.5" rx="5" ry="12" fill="#4b8a3b" transform="rotate(-30 174.9 113.5)"/>
<ellipse cx="188.9" cy="109.5" rx="5" ry="12" fill="#4b8a3b" transform="rotate(20 188.9 109.5)"/>
<ellipse cx="181.9" cy="103.5" rx="5" ry="12" fill="#4b8a3b" transform="rotate(0 181.9 103.5)"/>
<ellipse cx="192.9" cy="119.5" rx="5" ry="12" fill="#4b8a3b" transform="rotate(50 192.9 119.5)"/>
<ellipse cx="170.9" cy="123.5" rx="5" ry="12" fill="#4b8a3b" transform="rotate(-60 170.9 123.5)"/>
<g>
<polygon points="190.9,392.6 196.3,395.7 196.3,315.1 190.9,312.0" fill="#dcdcdc"/>
<polygon points="201.7,392.6 196.3,395.7 196.3,315.1 201.7,312.0" fill="#c9c9c9"/>
<polygon points="196.3,308.9 201.7,312.0 196.3,315.1 190.9,312.0" fill="#f4f4f4"/>
</g>
<g>
<polygon points="231.2,415.9 236.6,419.0 236.6,338.4 231.2,335.2" fill="#dcdcdc"/>
<polygon points="241.9,415.9 236.6,419.0 236.6,338.4 241.9,335.2" fill="#c9c9c9"/>
<polygon points="236.6,332.1 241.9,335.2 236.6,338.4 231.2,335.2" fill="#f4f4f4"/>
</g>
<g>
<polygon points="156.0,412.8 161.4,415.9 161.4,335.2 156.0,332.1" fill="#dcdcdc"/>
<polygon points="166.8,412.8 161.4,415.9 161.4,335.2 166.8,332.1" fill="#c9c9c9"/>
<polygon points="161.4,329.0 166.8,332.1 161.4,335.2 156.0,332.1" fill="#f4f4f4"/>
</g>
<g>
<polygon points="196.3,436.0 201.7,439.1 201.7,358.5 196.3,355.4" fill="#dcdcdc"/>
<polygon points="207.0,436.0 201.7,439.1 201.7,358.5 207.0,355.4" fill="#c9c9c9"/>
<polygon points="201.7,352.3 207.0,355.4 201.7,358.5 196.3,355.4" fill="#f4f4f4"/>
</g>
<g>
<polygon points="139.9,332.1 201.7,367.8 201.7,358.5 139.9,322.9" fill="#ececec"/>
<polygon points="258.1,335.2 201.7,367.8 201.7,358.5 258.1,326.0" fill="#dadada"/>
<polygon points="196.3,290.3 258.1,326.0 201.7,358.5 139.9,322.9" fill="#ffffff"/>
</g>
</g>
</svg>
</figure>
<div class="hero__foot">
<h1 class="hero__name">Mara Kettunen</h1>
<p class="hero__lede">I design calm tools for people who fix, tune and mend things, and I build the odd one myself.</p>
</div>
</section>
<style>
.hero {
position: relative;
display: grid;
grid-template-rows: 1fr auto;
min-height: clamp(540px, 52vw, 820px);
padding: var(--space-xl) var(--edge) var(--edge);
overflow: hidden;
}
.hero__scene {
margin: 0;
display: grid;
place-items: center;
animation: hero-in 900ms var(--ease) both;
}
.hero__bench {
width: clamp(240px, 30vw, 400px);
height: auto;
overflow: visible;
}
.hero__float {
animation: hero-float 6s ease-in-out infinite;
}
.hero__floor {
animation: hero-shadow 6s ease-in-out infinite;
transform-origin: 268px 385px;
}
.hero__screen {
animation: hero-glow 3s ease-in-out infinite alternate;
}
.hero__foot {
max-width: 22rem;
animation: hero-in 900ms var(--ease) 150ms both;
}
.hero__name {
margin: 0 0 var(--space-xs);
font-size: var(--display-s);
font-weight: var(--weight-bold);
letter-spacing: var(--track-tight);
line-height: 1.1;
}
.hero__lede {
margin: 0;
max-width: 17rem;
font-size: var(--text-s);
color: var(--ink);
line-height: 1.4;
}
@keyframes hero-in {
from { opacity: 0; transform: translateY(24px); }
to { opacity: 1; transform: none; }
}
@keyframes hero-float {
50% { transform: translateY(-6px); }
}
@keyframes hero-shadow {
50% { transform: scale(0.94); opacity: 0.8; }
}
@keyframes hero-glow {
to { fill: var(--haze-a); }
}
@media (max-width: 640px) {
.hero { min-height: 560px; }
.hero__bench { width: min(86vw, 340px); }
}
@media (prefers-reduced-motion: reduce) {
.hero__scene, .hero__foot, .hero__float, .hero__floor, .hero__screen { animation: none; }
}
</style>
Commented case grid
A pale /* comment */ title over a two-column grid of rounded case pictures with grey tag chips, a bold title and a short line.
Code
React For Figma<section class="work">
<h2 class="work__head"><span class="work__mark">/*</span> Selected Work <span class="work__mark">*/</span></h2>
<div class="work__grid">
<article class="work__case">
<a class="work__link" href="#">
<div class="work__frame work__frame--haze">
<img class="work__img" src="assets/telephone.jpg" alt="A brass candlestick telephone with a rotary dial" width="900" height="1200" style="object-position: 50% 30%">
<span class="work__badge">Dialtone</span>
</div>
<ul class="work__tags"><li class="work__tag">Product Design</li><li class="work__tag">Voice</li><li class="work__tag">Branding</li></ul>
<h3 class="work__title">Dialtone</h3>
<p class="work__blurb">A 0→1 calling app for repair shops that turns a missed ring into a booked visit</p>
</a>
</article>
<article class="work__case">
<a class="work__link" href="#">
<div class="work__frame work__frame--night">
<img class="work__img" src="assets/lamp.jpg" alt="Two pleated lamps glowing on a dark wooden table" width="800" height="533">
</div>
<ul class="work__tags"><li class="work__tag">Design System</li></ul>
<h3 class="work__title">Lumen Desk</h3>
<p class="work__blurb">Giving a dusty lighting catalogue one calm system for forty product lines</p>
</a>
</article>
<article class="work__case">
<a class="work__link" href="#">
<div class="work__frame work__frame--pop">
<img class="work__img" src="assets/camera.jpg" alt="A boxy mapping camera with a wide lens on a museum shelf" width="800" height="530">
</div>
<ul class="work__tags"><li class="work__tag">Product Design</li><li class="work__tag">Data</li></ul>
<h3 class="work__title">Survey Eye</h3>
<p class="work__blurb">Reshaped a field survey tool so one crew can map a site before lunch</p>
</a>
</article>
<article class="work__case">
<a class="work__link" href="#">
<div class="work__frame work__frame--sand">
<img class="work__img" src="assets/radio.jpg" alt="A small teal transistor radio on a white plinth" width="800" height="600">
</div>
<ul class="work__tags"><li class="work__tag">Branding</li><li class="work__tag">Website</li><li class="work__tag">Motion</li></ul>
<h3 class="work__title">Pocket Wave</h3>
<p class="work__blurb">A shop and a tone of voice for a tiny radio maker, without the nostalgia clichés</p>
</a>
</article>
</div>
</section>
<style>
.work {
padding: var(--space-xl) var(--edge) var(--section-space);
}
.work__head {
margin: 0 0 var(--space-xl);
color: var(--ghost);
font-size: var(--display-m);
font-weight: var(--weight-bold);
letter-spacing: var(--track-tight);
line-height: 1.1;
text-align: center;
}
.work__mark {
font-style: italic;
}
.work__grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--space-xl) var(--gap);
}
.work__case {
opacity: 0;
translate: 0 16px;
transition: opacity var(--slow) ease, translate var(--slow) var(--ease);
transition-delay: calc(var(--order, 0) * 80ms);
}
.work.is-seen .work__case {
opacity: 1;
translate: 0 0;
}
.work__link {
display: block;
color: var(--ink);
text-decoration: none;
}
.work__frame {
position: relative;
aspect-ratio: 16 / 10;
overflow: hidden;
border-radius: var(--radius-s);
}
.work__frame--haze { background: linear-gradient(135deg, var(--haze-b), var(--haze-a)); }
.work__frame--night { background: var(--night); }
.work__frame--pop { background: var(--pop); }
.work__frame--sand { background: var(--sand); }
.work__img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--slow) var(--ease);
}
.work__frame--haze .work__img,
.work__frame--sand .work__img {
mix-blend-mode: multiply;
}
.work__frame--haze .work__img {
width: 46%;
margin-inline: auto;
border-radius: var(--radius-s);
transform: rotate(-4deg) scale(0.86);
box-shadow: var(--shadow-soft);
}
/* zoom past the museum label onto the object itself */
.work__frame--sand .work__img {
transform: scale(1.85);
transform-origin: 45% 2%;
}
.work__link:hover .work__frame--sand .work__img,
.work__link:focus-visible .work__frame--sand .work__img {
transform: scale(1.93);
}
.work__frame--pop .work__img {
mix-blend-mode: luminosity;
opacity: 0.9;
}
.work__badge {
position: absolute;
left: 50%;
top: 50%;
padding: var(--space-xs) var(--space-s);
border-radius: var(--radius-xs);
background: var(--card);
font-size: var(--display-s);
font-weight: 400;
translate: 10% -50%;
box-shadow: var(--shadow-soft);
}
.work__link:hover .work__img,
.work__link:focus-visible .work__img {
transform: scale(1.04);
}
.work__link:hover .work__frame--haze .work__img,
.work__link:focus-visible .work__frame--haze .work__img {
transform: rotate(0deg) scale(0.9);
}
.work__link:focus-visible {
outline: var(--line) solid var(--ink);
outline-offset: 6px;
border-radius: var(--radius-s);
}
.work__tags {
display: flex;
flex-wrap: wrap;
gap: var(--space-xs);
margin: var(--space-m) 0 var(--space-s);
padding: 0;
list-style: none;
}
.work__tag {
padding: 3px 6px;
border-radius: var(--radius-xs);
background: var(--chip);
font-size: var(--text-xs);
font-weight: 400;
}
.work__title {
margin: 0 0 var(--space-xs);
font-size: var(--display-s);
font-weight: var(--weight-bold);
letter-spacing: var(--track-tight);
line-height: 1.1;
}
.work__blurb {
max-width: 26rem;
margin: 0;
font-size: var(--text-s);
line-height: 1.4;
}
@media (max-width: 640px) {
.work__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
.work__blurb { font-size: var(--text-m); }
}
@media (prefers-reduced-motion: reduce) {
.work__case { 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('.work')) {
root.querySelectorAll('.work__case').forEach((item, order) => item.style.setProperty('--order', order));
seen.observe(root);
}
})();
</script>
App tiles
Three white tiles with a coloured band and two drawn app icons that fan apart on hover, a blurred line that clears and a round arrow button.
Code
React For Figma<section class="apps">
<h2 class="apps__head"><span class="apps__mark">/*</span> On the Shelf <span class="apps__mark">*/</span></h2>
<div class="apps__row">
<a class="apps__tile" href="#" style="--band: var(--tint-sky)">
<div class="apps__card">
<div class="apps__band" aria-hidden="true"></div>
<div class="apps__icons" aria-hidden="true">
<svg class="apps__icon apps__icon--back" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#1d2a36"/><path d="M22 14v18a10 10 0 0 0 20 0V14" fill="none" stroke="#7fd3ff" stroke-width="5" stroke-linecap="round"/><path d="M32 42v10" stroke="#7fd3ff" stroke-width="5" stroke-linecap="round"/></svg>
<svg class="apps__icon apps__icon--front" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#2f4a63"/><rect x="12" y="16" width="40" height="30" rx="10" fill="#1a2430"/><circle cx="24" cy="31" r="4" fill="#7fd3ff"/><circle cx="40" cy="31" r="4" fill="#7fd3ff"/><path d="M27 39q5 3 10 0" fill="none" stroke="#7fd3ff" stroke-width="2.5" stroke-linecap="round"/></svg>
</div>
<h3 class="apps__name">Tunefork</h3>
</div>
<div class="apps__base">
<p class="apps__line">A pocket tuner that tells you how far off you are, kindly.</p>
<span class="apps__go" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M5 11 11 5M6 5h5v5" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/></svg></span>
</div>
</a>
<a class="apps__tile" href="#" style="--band: var(--tint-sun)">
<div class="apps__card">
<div class="apps__band" aria-hidden="true"></div>
<div class="apps__icons" aria-hidden="true">
<svg class="apps__icon apps__icon--back" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#161616"/><path d="M10 32h6l4-12 6 24 6-18 5 12 4-6h13" fill="none" stroke="#ffcd1c" stroke-width="3.5" stroke-linejoin="round" stroke-linecap="round"/></svg>
<svg class="apps__icon apps__icon--front" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#ffd94a"/><circle cx="32" cy="32" r="17" fill="none" stroke="#161616" stroke-width="7"/><circle cx="32" cy="32" r="5" fill="#161616"/></svg>
</div>
<h3 class="apps__name">Hum</h3>
</div>
<div class="apps__base">
<p class="apps__line">Finds the buzz in an amp and draws you where it lives.</p>
<span class="apps__go" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M5 11 11 5M6 5h5v5" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/></svg></span>
</div>
</a>
<a class="apps__tile" href="#" style="--band: var(--tint-moss)">
<div class="apps__card">
<div class="apps__band" aria-hidden="true"></div>
<div class="apps__icons" aria-hidden="true">
<svg class="apps__icon apps__icon--back" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#1b1b1b"/><text x="32" y="41" text-anchor="middle" font-family="Space Mono, monospace" font-weight="700" font-size="24" fill="#ffffff">ON</text></svg>
<svg class="apps__icon apps__icon--front" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#eef2ea"/><rect x="22" y="14" width="20" height="24" rx="5" fill="#4b8a3b"/><path d="M27 8v8M37 8v8" stroke="#2d2d2d" stroke-width="4" stroke-linecap="round"/><path d="M32 38v8q0 8 8 8h6" fill="none" stroke="#2d2d2d" stroke-width="4" stroke-linecap="round"/></svg>
</div>
<h3 class="apps__name">Patchy</h3>
</div>
<div class="apps__base">
<p class="apps__line">Labels every cable in a patch bay with one photo.</p>
<span class="apps__go" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M5 11 11 5M6 5h5v5" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/></svg></span>
</div>
</a>
</div>
</section>
<style>
.apps {
padding: var(--space-xl) var(--edge) var(--section-space);
}
.apps__head {
margin: 0 0 var(--space-xl);
color: var(--ghost);
font-size: var(--display-m);
font-weight: var(--weight-bold);
letter-spacing: var(--track-tight);
line-height: 1.1;
text-align: center;
}
.apps__mark { font-style: italic; }
.apps__row {
display: grid;
grid-template-columns: repeat(3, minmax(0, 260px));
justify-content: space-evenly;
gap: var(--space-xl) var(--gap);
}
.apps__tile {
position: relative;
display: block;
padding: 0 var(--space-l) var(--space-l);
color: var(--ink);
text-decoration: none;
}
/* the wider white base the card stands on */
.apps__tile::before {
content: "";
position: absolute;
inset: 52% 0 0;
border: var(--line) solid var(--rule);
border-radius: 0 0 var(--radius-l) var(--radius-l);
background: var(--card);
box-shadow: var(--shadow-soft);
}
.apps__card {
position: relative;
aspect-ratio: 1 / 0.82;
overflow: hidden;
border-radius: var(--radius-l) var(--radius-l) 0 0;
background: var(--card);
}
.apps__band {
position: absolute;
inset: 0 0 auto;
height: 46%;
background: linear-gradient(180deg, var(--band), color-mix(in srgb, var(--band) 55%, var(--card)));
}
.apps__band::after {
content: "";
position: absolute;
inset: 72% 0 -30%;
border-radius: var(--radius-l) var(--radius-l) 0 0;
background: var(--card);
}
.apps__icons {
position: absolute;
left: 50%;
top: 10%;
width: 72%;
height: 56%;
translate: -50% 0;
}
.apps__icon {
position: absolute;
width: 52%;
height: auto;
border: 3px solid var(--card);
border-radius: 18px;
box-shadow: var(--shadow-icon);
transition: transform var(--slow) var(--ease);
}
.apps__icon--back { left: 4%; top: 0; transform: rotate(-8deg); }
.apps__icon--front { right: 4%; top: 14%; transform: rotate(6deg); }
.apps__tile:hover .apps__icon--back,
.apps__tile:focus-visible .apps__icon--back { transform: translate(-10%, -6%) rotate(-16deg); }
.apps__tile:hover .apps__icon--front,
.apps__tile:focus-visible .apps__icon--front { transform: translate(10%, -4%) rotate(12deg); }
.apps__name {
position: absolute;
left: var(--space-m);
bottom: var(--space-m);
margin: 0;
font-size: var(--display-s);
font-weight: var(--weight-bold);
letter-spacing: var(--track-tight);
}
.apps__base {
position: relative;
display: grid;
grid-template-columns: 1fr auto;
align-items: end;
gap: var(--space-s);
padding: var(--space-s) var(--space-m) 0;
}
.apps__line {
margin: 0;
min-height: 3.6em;
color: var(--ink-soft);
font-size: var(--text-s);
filter: blur(4px);
opacity: 0.6;
transition: filter var(--slow) var(--ease), opacity var(--quick) ease;
}
.apps__tile:hover .apps__line,
.apps__tile:focus-visible .apps__line { filter: none; opacity: 1; }
.apps__go {
display: grid;
place-items: center;
width: 38px;
height: 38px;
border: var(--line) solid var(--rule);
border-radius: var(--pill);
background: var(--card);
transition: background var(--quick) ease, color var(--quick) ease;
}
.apps__go svg { width: 16px; height: 16px; }
.apps__tile:hover .apps__go,
.apps__tile:focus-visible .apps__go { background: var(--night); color: var(--on-night); }
.apps__tile:focus-visible { outline: none; }
.apps__tile:focus-visible::before { border-color: var(--ink); }
@media (hover: none) {
.apps__line { filter: none; opacity: 1; }
}
@media (max-width: 760px) {
.apps__row { grid-template-columns: minmax(0, 300px); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
.apps__icon, .apps__line { transition: none; }
}
</style>
Radio dock
A white track list over a black dock with a spinning disc, a play state and the track title scrolling as a ticker while it plays.
Code
React For Figma<section class="player">
<p class="player__note"><span class="player__mark">/*</span> Bench radio, while you scroll <span class="player__mark">*/</span></p>
<div class="player__dock">
<ol class="player__list">
<li><button class="player__track is-current" type="button" data-track="0"><span class="player__num">01</span><span class="player__name">Low tide static</span><span class="player__len">3:42</span></button></li>
<li><button class="player__track" type="button" data-track="1"><span class="player__num">02</span><span class="player__name">Night shift hum</span><span class="player__len">4:05</span></button></li>
<li><button class="player__track" type="button" data-track="2"><span class="player__num">03</span><span class="player__name">Valve warm-up</span><span class="player__len">2:58</span></button></li>
</ol>
<div class="player__bar">
<button class="player__toggle" type="button" aria-pressed="false" aria-label="Play">
<span class="player__disc" aria-hidden="true"><svg viewBox="0 0 16 16"><path class="player__play" d="M6 4.5v7l6-3.5z" fill="currentColor"/><path class="player__pause" d="M5.5 4.5h1.8v7H5.5zM8.7 4.5h1.8v7H8.7z" fill="currentColor"/></svg></span>
<span class="player__state player__state--off">Paused</span><span class="player__state player__state--on">Playing</span>
</button>
<span class="player__divider" aria-hidden="true"></span>
<div class="player__ticker">
<div class="player__roll is-current" data-track="0"><span class="player__item">Low tide static · Studio radio</span></div>
<div class="player__roll" data-track="1"><span class="player__item">Night shift hum · Studio radio</span></div>
<div class="player__roll" data-track="2"><span class="player__item">Valve warm-up · Studio radio</span></div>
</div>
</div>
</div>
</section>
<style>
.player {
display: grid;
justify-items: end;
gap: var(--space-l);
padding: var(--space-xl) var(--edge);
}
.player__note {
justify-self: center;
margin: 0;
color: var(--ghost);
font-size: var(--display-m);
font-weight: var(--weight-bold);
letter-spacing: var(--track-tight);
line-height: 1.1;
text-align: center;
}
.player__mark { font-style: italic; }
.player__dock {
display: grid;
gap: var(--space-s);
width: min(100%, 320px);
}
.player__list {
margin: 0;
padding: var(--space-xs);
list-style: none;
border: var(--line) solid var(--rule);
border-radius: var(--radius-s);
background: var(--card);
box-shadow: var(--shadow-soft);
}
.player__track {
display: grid;
grid-template-columns: 2.2em 1fr auto;
align-items: center;
width: 100%;
min-height: 44px;
padding: 0 var(--space-s);
border: 0;
border-radius: var(--radius-xs);
background: none;
color: var(--ink-soft);
font: inherit;
font-size: var(--text-s);
text-align: left;
cursor: pointer;
transition: background var(--quick) ease, color var(--quick) ease;
}
.player__track:hover,
.player__track:focus-visible { background: var(--paper); color: var(--ink); }
.player__track.is-current { background: var(--chip); color: var(--ink); }
.player__num { color: var(--night-soft); font-size: var(--text-xs); }
.player__name { font-weight: 400; }
.player__len { color: var(--night-soft); font-size: var(--text-xs); }
.player__bar {
display: grid;
grid-template-columns: auto auto 1fr;
align-items: center;
gap: var(--space-s);
min-height: 44px;
padding: 0 var(--space-m) 0 var(--space-xs);
border-radius: var(--radius-s);
background: var(--night);
color: var(--on-night);
box-shadow: var(--shadow-soft);
}
.player__toggle {
display: inline-flex;
align-items: center;
gap: var(--space-s);
min-height: 44px;
padding: 0 var(--space-xs);
border: 0;
background: none;
color: var(--night-soft);
font: inherit;
font-size: var(--text-s);
cursor: pointer;
}
.player__disc {
display: grid;
place-items: center;
width: 24px;
height: 24px;
border-radius: var(--pill);
background: radial-gradient(circle, var(--night) 0 2px, var(--night-soft) 3px 100%);
color: var(--on-night);
}
.player__disc svg { width: 12px; height: 12px; }
.player__pause { display: none; }
.player.is-playing .player__play { display: none; }
.player.is-playing .player__pause { display: inline; }
.player.is-playing .player__disc { animation: player-spin 2.4s linear infinite; }
.player.is-playing .player__toggle { color: var(--on-night); }
.player__divider {
width: var(--line);
height: 16px;
background: var(--night-soft);
}
.player__ticker {
position: relative;
overflow: hidden;
font-size: var(--text-s);
mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.player__roll {
display: none;
width: max-content;
}
.player__roll.is-current { display: flex; }
.player.is-playing .player__roll.is-current { animation: player-roll 9s linear infinite; }
.player__item {
flex: none;
padding-right: 32px;
white-space: nowrap;
}
.player__state--on { display: none; }
.player.is-playing .player__state--on { display: inline; }
.player.is-playing .player__state--off { display: none; }
.player.is-away.is-playing .player__roll.is-current,
.player.is-away.is-playing .player__toggle .player__disc { animation-play-state: paused; }
@keyframes player-roll { to { transform: translateX(-50%); } }
@keyframes player-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
.player.is-playing .player__roll.is-current,
.player.is-playing .player__disc { animation: none; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.player')) {
for (const roll of root.querySelectorAll('.player__roll')) {
for (const item of [...roll.children]) {
const copy = item.cloneNode(true);
copy.setAttribute('aria-hidden', 'true');
roll.append(copy);
}
}
const toggle = root.querySelector('.player__toggle');
const play = (on) => {
root.classList.toggle('is-playing', on);
toggle.setAttribute('aria-pressed', String(on));
toggle.setAttribute('aria-label', on ? 'Pause' : 'Play');
};
toggle.addEventListener('click', () => play(!root.classList.contains('is-playing')));
for (const track of root.querySelectorAll('.player__track')) {
track.addEventListener('click', () => {
const id = track.dataset.track;
root.querySelectorAll('.player__track, .player__roll').forEach((el) => el.classList.toggle('is-current', el.dataset.track === id));
play(true);
});
}
// stop the loop while the dock is off screen
new IntersectionObserver(([entry]) => root.classList.toggle('is-away', !entry.isIntersecting)).observe(root);
}
})();
</script>
Closing line
A big centred sign-off ending in an arrow and a cycling code glyph, two hairline buttons, a centred credit stack, drawn badges and a live clock.
Code
React For Figma<footer class="contact">
<div class="contact__main">
<h2 class="contact__line">
Let’s sketch your
<span class="contact__tail">next
<svg class="contact__arrow" viewBox="0 0 60 24" aria-hidden="true"><path d="M2 12h54M44 2l12 10-12 10" fill="none" stroke="currentColor" stroke-width="4"/></svg>
<span class="contact__glyphs" aria-hidden="true">
<span class="contact__glyph is-on">_[}!</span>
<span class="contact__glyph">{o}</span>
<span class="contact__glyph"></></span>
<span class="contact__glyph">(:)</span>
</span>
</span>
</h2>
<div class="contact__actions">
<a class="contact__button" href="#">Write to Me</a>
<a class="contact__button" href="#">Book a Call</a>
</div>
</div>
<div class="contact__credits">
<p class="contact__stack">Mara Kettunen<br>Interface Designer, ten years in<br>Trained at a school of applied arts<br>Working from Helsinki</p>
<div class="contact__badges" aria-hidden="true">
<svg viewBox="0 0 32 32"><circle cx="16" cy="16" r="14" fill="none" stroke="currentColor" stroke-width="2.4"/><path d="M16 5c.7 5.6 4.4 10.3 11 11-6.6.7-10.3 5.4-11 11-.7-5.6-4.4-10.3-11-11 6.6-.7 10.3-5.4 11-11Z" fill="currentColor"/></svg>
<svg viewBox="0 0 32 32"><rect x="2" y="2" width="28" height="28" rx="4" fill="currentColor"/><path d="M6 20c3-8 6-8 8 0s5 8 8 0 4-6 5-6" fill="none" stroke="var(--paper)" stroke-width="2.6" stroke-linecap="round"/></svg>
<svg viewBox="0 0 48 32"><text x="0" y="14" font-family="Space Mono, monospace" font-weight="700" font-size="13" fill="currentColor">FIX</text><text x="0" y="29" font-family="Space Mono, monospace" font-weight="700" font-size="13" fill="currentColor">CLUB</text></svg>
</div>
<p class="contact__clock"><time class="contact__time">09:41:00</time> <span class="contact__zone">HEL</span></p>
<p class="contact__version">v.3.0. Revised 14/10/2026</p>
</div>
</footer>
<style>
.contact {
position: relative;
display: grid;
grid-template-rows: 1fr auto;
min-height: clamp(560px, 52vw, 820px);
padding: var(--section-space) var(--edge) var(--space-l);
text-align: center;
}
.contact__main {
display: grid;
align-content: center;
justify-items: center;
gap: var(--space-l);
}
.contact__line {
max-width: 11em;
margin: 0;
font-size: var(--display-l);
font-weight: var(--weight-bold);
letter-spacing: -0.035em;
line-height: 1.02;
}
.contact__tail {
display: inline-flex;
align-items: center;
gap: 0.3em;
white-space: nowrap;
}
.contact__arrow {
width: 0.9em;
height: auto;
transition: transform var(--slow) var(--ease);
}
.contact:hover .contact__arrow { transform: translateX(0.12em); }
.contact__glyphs {
position: relative;
display: inline-grid;
min-width: 2.2em;
height: 1.05em;
overflow: hidden;
font-family: var(--font-glyph);
font-weight: 700;
letter-spacing: -0.08em;
text-align: left;
}
.contact__glyph {
grid-area: 1 / 1;
line-height: 1.05;
translate: 0 110%;
transition: translate var(--slow) var(--ease);
}
.contact__glyph.is-on { translate: 0 0; }
.contact__glyph.is-gone { translate: 0 -110%; }
.contact__actions {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: var(--space-s);
}
.contact__button {
display: inline-flex;
align-items: center;
min-height: 44px;
padding: 0 var(--space-m);
border: var(--line) solid var(--rule);
border-radius: var(--radius-s);
background: var(--card);
color: var(--ink);
font-size: var(--text-m);
font-weight: 400;
text-decoration: none;
transition: border-color var(--quick) ease, transform var(--slow) var(--ease);
}
.contact__button:hover,
.contact__button:focus-visible {
border-color: var(--ink);
transform: translateY(-2px);
}
.contact__credits {
display: grid;
justify-items: center;
gap: var(--space-m);
padding-top: var(--space-xl);
}
.contact__stack {
margin: 0;
font-size: var(--text-m);
font-weight: 400;
line-height: 1.25;
}
.contact__badges {
display: flex;
align-items: center;
gap: var(--space-s);
color: var(--ink);
}
.contact__badges svg { width: auto; height: 30px; }
.contact__clock {
margin: 0;
font-size: var(--text-m);
font-weight: var(--weight-bold);
font-variant-numeric: tabular-nums;
}
.contact__version {
position: absolute;
left: var(--edge);
bottom: var(--space-l);
margin: 0;
font-size: var(--text-s);
}
@media (max-width: 640px) {
.contact__version { position: static; }
}
@media (prefers-reduced-motion: reduce) {
.contact__glyph { transition: none; }
}
</style>
<script>
(() => {
const still = matchMedia('(prefers-reduced-motion: reduce)').matches;
for (const root of document.querySelectorAll('.contact')) {
const glyphs = [...root.querySelectorAll('.contact__glyph')];
const time = root.querySelector('.contact__time');
let index = 0;
let visible = true;
new IntersectionObserver(([entry]) => { visible = entry.isIntersecting; }).observe(root);
const pad = (n) => String(n).padStart(2, '0');
setInterval(() => {
if (!visible) return;
const now = new Date();
time.textContent = `${pad(now.getHours())}:${pad(now.getMinutes())}:${pad(now.getSeconds())}`;
}, 1000);
if (still || glyphs.length < 2) continue;
// hold the first glyph a while, so a still shot catches it whole
setTimeout(() => setInterval(() => {
if (!visible) return;
const old = glyphs[index];
index = (index + 1) % glyphs.length;
const next = glyphs[index];
old.classList.remove('is-on');
old.classList.add('is-gone');
next.classList.remove('is-gone');
next.classList.add('is-on');
// park the old glyph below again once it has slid away
setTimeout(() => {
old.style.transition = 'none';
old.classList.remove('is-gone');
old.offsetHeight;
old.style.transition = '';
}, 450);
}, 1800), 4000);
}
})();
</script>
Style
- --paper #fbfbfb
- --card #ffffff
- --ink #1c1c1c
- --ink-soft #5e5e5e
- --ghost #cdcdcd
- --chip #ececec
- --rule #dedede
- --night #161616
- --on-night #ffffff
- --night-soft #8a8a8a
- --haze-a #e7e3ff
- --haze-b #f6f9ff
- --pop #7b6cf6
- --sand #e8d2a8
- --tint-sky #2c5875
- --tint-sun #ffcd1c
- --tint-moss #4b8a3b
Type
- Hanken Grotesk for every word: wordmark, headings, running text, chips and buttons, stands in for the site's own light geometric grotesk, used at weight 300 for text and 600 for names
- Space Mono for the cycling code glyph at the end of the closing line, stands in for the squared bracket-and-cursor glyphs drawn into the site's sign-off
Motion
- Menus, tiles and pictures move on transform over 400 ms with cubic-bezier(0.65, 0.05, 0, 1); opacity and colour follow in 200 ms ease.
- The hero scene rises 24 px into place on load and then floats 6 px up and down on a 6 s loop.
- Cases and tiles rise 16 px and fade in as they come into view, 80 ms apart.
- App tile icons fan apart and the blurred description clears on hover or focus.
- The player dock spins its disc and scrolls the track title in an endless ticker only while playing.
- The glyph at the end of the closing line swaps every 1.8 s with a short slide; a clock ticks every second.
Rules
- One light grotesk for everything: 300 for text, 600 for names and headings, tight tracking, never all caps.
- Section titles are big pale grey code comments, /* like this */, centred above wide air.
- Running text stays small, 12 to 16 px, dark grey on near-white; headings are the only big type.
- Grey flat chips label everything: the job next to the wordmark, the tags above each case.
- Black is kept for one button and the player dock; everything else is white, near-white and hairline grey.
- Pictures sit in softly rounded frames on pastel or dark grounds; colour lives inside pictures and app icons.
- The first screen is nearly empty: one solid object floating in the middle, the name small at bottom left.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;600&family=Space+Mono:wght@700&display=swap");
:root {
/* Colour */
--paper: #fbfbfb; /* page background, a breath off white */
--card: #ffffff; /* raised cards and app tiles */
--ink: #1c1c1c; /* main text, never pure black */
--ink-soft: #5e5e5e; /* blurbs and secondary lines */
--ghost: #cdcdcd; /* the big grey comment headers */
--chip: #ececec; /* tag chips and the job chip by the wordmark */
--rule: #dedede; /* hairline borders on outline buttons and icon squares */
--night: #161616; /* black buttons and the player dock */
--on-night: #ffffff; /* text on black */
--night-soft: #8a8a8a; /* muted text on black */
--haze-a: #e7e3ff; /* lavender end of the soft case background */
--haze-b: #f6f9ff; /* pale blue end of the soft case background */
--pop: #7b6cf6; /* violet case background, the one loud colour in pictures */
--sand: #e8d2a8; /* warm case background */
--tint-sky: #2c5875; /* app tile band, deep blue */
--tint-sun: #ffcd1c; /* app tile band, yellow */
--tint-moss: #4b8a3b; /* app tile band, green */
/* Type */
--font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif; /* every word: running text, labels, headings */
--font-glyph: "Space Mono", ui-monospace, monospace; /* the cycling code glyph in the closing line */
--weight-light: 300; /* running text */
--weight-bold: 600; /* names and headings */
--text-xs: 10.5px; /* chips and fine print */
--text-s: 12.25px; /* nav, buttons, captions */
--text-m: 14px; /* blurbs */
--text-l: 16px; /* lede */
--display-s: 22.5px; /* case and app titles */
--display-m: clamp(28px, 3vw, 45px); /* the hero name and comment headers */
--display-l: clamp(40px, 5.2vw, 75px); /* the closing line */
--track-tight: -0.02em; /* bold headings */
--track-body: -0.012em; /* running text */
/* Space */
--edge: clamp(16px, 1.4vw, 24px); /* side padding of every part */
--gap: clamp(12px, 1.2vw, 20px); /* between cards and columns */
--section-space: clamp(64px, 8vw, 128px); /* air above and below a section */
--space-xs: 4px; /* chip gaps */
--space-s: 8px; /* inside chips and buttons */
--space-m: 16px; /* between title and blurb */
--space-l: 28px; /* between blocks */
--space-xl: 56px; /* below comment headers */
/* Shape */
--radius-xs: 3px; /* tag chips */
--radius-s: 6px; /* buttons, icon squares, case pictures */
--radius-l: 22px; /* app tiles and the panel */
--pill: 999px; /* round arrow buttons and the dock */
--line: 1px; /* hairline borders */
--shadow-soft: 0 20px 44px -22px rgba(0, 0, 0, 0.22); /* tiles and the dock lift off the page */
--shadow-icon: 0 6px 14px -4px rgba(0, 0, 0, 0.35); /* app icons over their band */
/* Motion */
--ease: cubic-bezier(0.65, 0.05, 0, 1); /* the slow-start snap used everywhere */
--slow: 400ms; /* transforms: menus, tiles, pictures */
--quick: 200ms; /* opacity and colour */
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--weight-light) var(--text-m)/1.4 var(--font-body); letter-spacing: var(--track-body); -webkit-font-smoothing: antialiased; }
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("comment-bracket-folio"), 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