Tangerine Pill Parade
Huge condensed orange headlines on a blush and cream page, stuck over with tilted black pill notes, walked across by ink line drawings filled with flat orange, and threaded by one thick orange line that loops from section to section. Suits small studios, workshops and local services that want to sound cheeky and look hand-made.
Parts
Pill-stuck hero
A blush first screen with a pill menu bar, a three-line condensed orange headline under tilted rocking black pills, big orange loops at the edges and a walking ink drawing of a mechanic with a bicycle and a dog.
Code
React For Figma<section class="hero">
<header class="hero__bar">
<nav class="hero__links" aria-label="Main">
<a class="hero__link" href="#">Repairs</a>
<a class="hero__link" href="#">The bench</a>
</nav>
<a class="hero__wordmark" href="#">Wobble<span class="hero__wordmark-dot" aria-hidden="true"></span>Cycles</a>
<div class="hero__aside">
<p class="hero__hours">Tuesday–Saturday<br>9:00 – 18:00</p>
<a class="hero__cta" href="#">Book a fix <span class="hero__cta-dot" aria-hidden="true">→</span></a>
</div>
<button class="hero__menu" type="button" aria-expanded="false" aria-label="Open menu">
<span class="hero__menu-lines" aria-hidden="true"></span>
</button>
</header>
<div class="hero__stage">
<svg class="hero__loop hero__loop--left" viewBox="0 0 220 260" aria-hidden="true">
<path d="M200 30 C80 -10 10 60 30 140 C50 220 160 240 170 170 C180 110 90 110 90 170 C90 230 160 250 220 240" />
</svg>
<svg class="hero__loop hero__loop--right" viewBox="0 0 220 260" aria-hidden="true">
<path d="M0 60 C90 20 200 50 190 130 C180 200 70 210 60 150 C50 90 150 80 160 150 C170 210 100 250 20 250" />
</svg>
<h1 class="hero__title">
<span class="hero__line">Wheels,</span>
<span class="hero__line">back in</span>
<span class="hero__line">business</span>
</h1>
<span class="hero__pill" style="--x: 52%; --y: 14%; --tilt: -4deg; --delay: 0s">Neighbourhood workshop</span>
<span class="hero__pill" style="--x: 27%; --y: 42%; --tilt: -7deg; --delay: -1.1s">Spokes & brakes</span>
<span class="hero__pill" style="--x: 64%; --y: 66%; --tilt: 5deg; --delay: -2.2s">No upselling</span>
<svg class="hero__scene" viewBox="0 0 600 290" role="img" aria-label="A drawn mechanic in a cap walks a bicycle along, a spotted dog trotting ahead">
<!-- mechanic -->
<g class="hero__walker" transform="translate(20 0)">
<path class="hero__sleeve hero__sleeve--back" d="M138 116 L128 162" />
<g class="hero__leg hero__leg--back">
<path class="hero__fill-white" d="M141 176 L161 176 L160 256 L144 256 Z" />
<path class="hero__fill-ink" d="M140 254 L166 254 Q175 256 175 266 L138 266 Z" />
</g>
<g class="hero__leg hero__leg--front">
<path class="hero__fill-white" d="M141 176 L161 176 L160 256 L144 256 Z" />
<path class="hero__fill-ink" d="M140 254 L166 254 Q175 256 175 266 L138 266 Z" />
</g>
<path class="hero__fill-white" d="M126 176 L133 176 L131 199 L124 197 Z" />
<path class="hero__fill-orange" d="M126 104 Q150 94 174 104 L180 186 L122 186 Z" />
<path class="hero__stroke" d="M151 100 L151 186 M128 150 L146 150" />
<path class="hero__fill-white" d="M144 86 L157 86 L157 102 L144 102 Z" />
<circle class="hero__fill-white" cx="146" cy="74" r="4" />
<circle class="hero__fill-white" cx="153" cy="72" r="20" />
<path class="hero__fill-orange" d="M134 66 Q126 80 136 88 Q138 78 140 70 Z" />
<path class="hero__fill-ink" d="M133 66 Q134 46 155 46 Q173 48 173 64 Z M166 61 L189 63 Q190 68 168 68 Z" />
<circle class="hero__dot" cx="163" cy="73" r="2.2" />
<path class="hero__stroke" d="M172 74 q5 4 0 7 M160 85 q6 3 11 -2" />
<path class="hero__sleeve" d="M168 114 L198 142 L248 154" />
</g>
<!-- bicycle -->
<g class="hero__bike">
<g class="hero__wheel">
<circle class="hero__tyre" cx="232" cy="236" r="44" />
<circle class="hero__rim" cx="232" cy="236" r="38" />
<g class="hero__spokes">
<path class="hero__stroke" d="M232 198 L232 274 M194 236 L270 236 M205 209 L259 263 M259 209 L205 263" />
</g>
<circle class="hero__dot" cx="232" cy="236" r="4" />
</g>
<g class="hero__wheel">
<circle class="hero__tyre" cx="400" cy="236" r="44" />
<circle class="hero__rim" cx="400" cy="236" r="38" />
<g class="hero__spokes">
<path class="hero__stroke" d="M400 198 L400 274 M362 236 L438 236 M373 209 L427 263 M427 209 L373 263" />
</g>
<circle class="hero__dot" cx="400" cy="236" r="4" />
</g>
<path class="hero__frame-edge" d="M232 236 L286 164 L305 236 Z M286 164 L380 162 M305 236 L386 184 M380 160 L400 236" />
<path class="hero__frame" d="M232 236 L286 164 L305 236 Z M286 164 L380 162 M305 236 L386 184 M380 160 L400 236" />
<path class="hero__stroke hero__stroke--thick" d="M286 164 L282 156 M380 162 L376 146 M368 148 Q382 140 398 150" />
<path class="hero__fill-ink" d="M266 152 Q280 146 296 152 Q282 160 266 152 Z" />
<circle class="hero__fill-white" cx="305" cy="236" r="10" />
<path class="hero__stroke hero__stroke--thick" d="M305 236 L318 252 M312 252 L326 252" />
</g>
<!-- dog -->
<g class="hero__dog">
<path class="hero__tail" d="M464 208 Q446 196 452 180" />
<path class="hero__stroke hero__stroke--leg" d="M476 224 L472 254 M488 228 L490 254 M514 228 L511 254 M528 224 L533 254" />
<ellipse class="hero__fill-white" cx="500" cy="212" rx="40" ry="19" />
<path class="hero__fill-ink" d="M484 196 Q500 192 508 200 Q502 214 486 210 Z" />
<path class="hero__fill-orange" d="M528 198 L540 192 L546 204 L534 210 Z" />
<circle class="hero__fill-white" cx="546" cy="190" r="15" />
<ellipse class="hero__fill-white" cx="558" cy="197" rx="10" ry="6.5" />
<circle class="hero__dot" cx="567" cy="194" r="3" />
<circle class="hero__dot" cx="549" cy="186" r="2" />
<path class="hero__fill-ink" d="M534 180 Q526 194 535 200 Q542 190 539 178 Z" />
</g>
</svg>
</div>
<nav class="hero__drawer" aria-label="Main, small screens">
<a class="hero__link" href="#">Repairs</a>
<a class="hero__link" href="#">The bench</a>
<a class="hero__link" href="#">Book a fix</a>
</nav>
</section>
<style>
.hero {
position: relative;
overflow: hidden;
padding: var(--space-m) var(--edge) 0;
background: var(--blush);
}
/* bar */
.hero__bar {
position: relative;
z-index: 3;
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: var(--space-m);
}
.hero__links {
display: flex;
gap: var(--space-s);
}
.hero__link {
display: inline-flex;
align-items: center;
min-height: 44px;
padding: 0 18px;
border-radius: var(--pill);
background: var(--white);
color: var(--ink);
font-size: var(--text-xs);
font-weight: 500;
text-decoration: none;
transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
}
.hero__link:hover,
.hero__link:focus-visible {
background: var(--orange);
color: var(--white);
}
.hero__wordmark {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 44px;
color: var(--orange);
font-family: var(--font-display);
font-stretch: var(--display-width);
font-size: clamp(26px, 2.6vw, 34px);
font-weight: 600;
letter-spacing: -0.01em;
text-decoration: none;
}
.hero__wordmark-dot {
width: 0.42em;
height: 0.42em;
border: 3px solid var(--orange);
border-radius: 50%;
}
.hero__aside {
display: flex;
justify-content: flex-end;
align-items: center;
gap: var(--space-m);
}
.hero__hours {
margin: 0;
color: var(--ink);
font-size: 12px;
font-weight: 500;
line-height: 1.25;
}
.hero__cta {
display: inline-flex;
align-items: center;
gap: 10px;
min-height: 44px;
padding: 0 6px 0 18px;
border-radius: var(--pill);
background: var(--ink);
color: var(--white);
font-size: var(--text-xs);
font-weight: 500;
text-decoration: none;
box-shadow: var(--drop);
}
.hero__cta-dot {
display: grid;
place-items: center;
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--orange);
font-size: 15px;
transition: transform var(--quick) var(--ease);
}
.hero__cta:hover .hero__cta-dot,
.hero__cta:focus-visible .hero__cta-dot {
transform: rotate(-45deg) scale(1.12);
}
.hero__menu {
display: none;
justify-self: end;
width: 44px;
height: 44px;
padding: 0;
border: var(--line) solid var(--orange);
border-radius: 8px;
background: transparent;
cursor: pointer;
}
.hero__menu-lines,
.hero__menu-lines::before {
display: block;
width: 18px;
height: 2px;
margin: 0 auto;
background: var(--orange);
transition: transform var(--quick) var(--ease);
}
.hero__menu-lines::before {
content: "";
transform: translateY(6px);
}
.hero.is-open .hero__menu-lines { transform: translateY(3px) rotate(45deg); }
.hero.is-open .hero__menu-lines::before { transform: rotate(-90deg); }
.hero__drawer {
display: none;
}
/* stage */
.hero__stage {
position: relative;
padding-top: clamp(20px, 3vw, 40px);
}
.hero__title {
position: relative;
margin: 0;
color: var(--orange);
font-family: var(--font-display);
font-stretch: var(--display-width);
font-size: var(--display-xl);
font-weight: 800;
line-height: 0.84;
letter-spacing: -0.015em;
text-align: center;
text-transform: uppercase;
}
.hero__line {
display: block;
}
.hero__pill {
position: absolute;
z-index: 2;
left: var(--x);
top: calc(var(--y) + clamp(20px, 3vw, 40px));
padding: 8px 16px;
border-radius: var(--pill);
background: var(--ink);
color: var(--white);
font-size: clamp(12px, 1.2vw, 15px);
font-weight: 500;
white-space: nowrap;
rotate: var(--tilt);
animation: hero-rock 3.2s var(--ease-swing) var(--delay) infinite alternate;
}
@keyframes hero-rock {
to { rotate: calc(var(--tilt) + 2.5deg); translate: 0 -3px; }
}
.hero__loop {
position: absolute;
z-index: 0;
width: clamp(120px, 17vw, 240px);
fill: none;
stroke: var(--orange);
stroke-width: var(--loop);
stroke-linecap: round;
}
.hero__loop--left { left: calc(var(--edge) * -1 - 40px); top: 46%; }
.hero__loop--right { right: calc(var(--edge) * -1 - 50px); top: 12%; }
.hero__scene {
position: relative;
z-index: 1;
width: min(100%, max(600px, 50vw));
height: auto;
margin: clamp(-8px, -1vw, 0px) auto 0;
overflow: visible;
}
.hero__scene * { stroke-linejoin: round; stroke-linecap: round; }
.hero__fill-white { fill: var(--white); stroke: var(--ink); stroke-width: var(--line); }
.hero__fill-orange { fill: var(--orange); stroke: var(--ink); stroke-width: var(--line); }
.hero__fill-ink { fill: var(--ink); stroke: var(--ink); stroke-width: var(--line); }
.hero__dot { fill: var(--ink); }
.hero__stroke { fill: none; stroke: var(--ink); stroke-width: var(--line); }
.hero__stroke--thick { stroke-width: 4px; }
.hero__stroke--leg { stroke-width: 6px; }
.hero__sleeve {
fill: none;
stroke: var(--orange);
stroke-width: 11px;
stroke-linecap: round;
/* four hard 1.5 px drops draw the ink edge around the orange sleeve */
filter: drop-shadow(1.5px 0 0 var(--ink)) drop-shadow(-1.5px 0 0 var(--ink)) drop-shadow(0 1.5px 0 var(--ink)) drop-shadow(0 -1.5px 0 var(--ink)); }
.hero__tyre { fill: none; stroke: var(--ink); stroke-width: 6px; }
.hero__rim { fill: none; stroke: var(--ink); stroke-width: 1.5px; }
.hero__frame-edge { fill: none; stroke: var(--ink); stroke-width: 10px; }
.hero__frame { fill: none; stroke: var(--orange); stroke-width: 6px; }
.hero__tail { fill: none; stroke: var(--ink); stroke-width: 5px; }
.hero__leg,
.hero__spokes,
.hero__tail,
.hero__dog,
.hero__walker {
transform-box: view-box;
}
.hero__leg { transform-origin: 151px 178px; animation: hero-stride 0.9s var(--ease-swing) infinite alternate; }
.hero__leg--back { animation-delay: -0.9s; }
.hero__spokes { transform-box: fill-box; transform-origin: center; animation: hero-spin 1.6s linear infinite; }
.hero__tail { transform-origin: 464px 208px; animation: hero-wag 0.45s var(--ease-swing) infinite alternate; }
.hero__dog { animation: hero-trot 0.45s var(--ease-swing) infinite alternate; }
@keyframes hero-stride { from { rotate: -18deg; } to { rotate: 18deg; } }
@keyframes hero-spin { to { rotate: 360deg; } }
@keyframes hero-wag { from { rotate: -14deg; } to { rotate: 16deg; } }
@keyframes hero-trot { to { translate: 0 -3px; } }
.hero.is-paused * { animation-play-state: paused !important; }
@media (max-width: 760px) {
.hero__bar { grid-template-columns: 1fr auto; }
.hero__links,
.hero__aside { display: none; }
.hero__wordmark { justify-self: start; }
.hero__menu { display: block; }
.hero__drawer {
position: absolute;
z-index: 4;
top: 72px;
right: var(--edge);
flex-direction: column;
gap: var(--space-s);
align-items: flex-end;
}
.hero.is-open .hero__drawer { display: flex; }
.hero__pill { padding: 6px 12px; }
.hero__loop--right { top: auto; bottom: 12%; }
}
@media (prefers-reduced-motion: reduce) {
.hero__pill,
.hero__leg,
.hero__spokes,
.hero__tail,
.hero__dog { animation: none; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.hero')) {
const menu = root.querySelector('.hero__menu');
menu.addEventListener('click', () => {
const open = root.classList.toggle('is-open');
menu.setAttribute('aria-expanded', String(open));
menu.setAttribute('aria-label', open ? 'Close menu' : 'Open menu');
});
new IntersectionObserver(([entry]) => {
root.classList.toggle('is-paused', !entry.isIntersecting);
}).observe(root);
}
})();
</script>
Curved word band
A thick orange arc that sweeps across the page carrying a line of uppercase cream words that roll along the curve without end.
Code
React For Figma<section class="band" aria-label="Fair prices, honest brakes, bells included, back by Friday">
<svg class="band__svg" viewBox="0 0 1440 300" preserveAspectRatio="xMidYMid meet" aria-hidden="true">
<path id="band-arc" class="band__arc" d="M-80 290 C 320 120, 860 40, 1520 70" />
<text class="band__text"><textPath class="band__words" href="#band-arc" startOffset="0">Fair prices • Honest brakes • Bells included • Back by Friday • </textPath></text>
</svg>
</section>
<style>
.band {
position: relative;
overflow: hidden;
height: clamp(170px, 21vw, 300px);
background: var(--cream);
}
.band__svg {
position: absolute;
left: 50%;
top: 0;
width: max(100%, 920px);
height: auto;
max-width: none;
translate: -50% 0;
}
.band__arc {
fill: none;
stroke: var(--orange);
stroke-width: 92px;
}
.band__text {
fill: var(--shell);
font-family: var(--font-display);
font-stretch: var(--display-width);
font-size: 50px;
font-weight: 800;
letter-spacing: 0.01em;
text-transform: uppercase;
dominant-baseline: central;
}
@media (max-width: 600px) {
.band { height: 150px; }
.band__svg { top: -14px; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.band')) {
const svg = root.querySelector('.band__svg');
const words = root.querySelector('.band__words');
const arc = root.querySelector('.band__arc');
const phrase = words.textContent;
let unit = 0;
let offset = 0;
let last = 0;
let running = false;
let frame = 0;
const still = matchMedia('(prefers-reduced-motion: reduce)');
const fill = () => {
words.textContent = phrase;
unit = words.getComputedTextLength();
if (!unit) return;
const copies = Math.ceil(arc.getTotalLength() / unit) + 1;
words.textContent = phrase.repeat(copies);
};
const tick = (now) => {
const step = last ? now - last : 0;
last = now;
offset -= (unit / 30000) * step;
if (offset <= -unit) offset += unit;
words.setAttribute('startOffset', offset.toFixed(1));
frame = requestAnimationFrame(tick);
};
const start = () => {
if (running || still.matches || !unit) return;
running = true;
last = 0;
frame = requestAnimationFrame(tick);
};
const stop = () => {
running = false;
cancelAnimationFrame(frame);
};
(document.fonts ? document.fonts.ready : Promise.resolve()).then(() => {
fill();
new IntersectionObserver(([entry]) => (entry.isIntersecting ? start() : stop())).observe(root);
});
svg.addEventListener('mouseenter', stop);
svg.addEventListener('mouseleave', start);
}
})();
</script>
Filling statement
A centred condensed statement whose words fill from faint orange to ink one after another, with a few words left orange and tilted pill notes popping onto it.
Code
React For Figma<section class="statement">
<p class="statement__label">A word from the bench</p>
<div class="statement__body">
<p class="statement__text">We keep the workshop small on purpose. Two pairs of hands, one repair stand, and every bike gets <span class="statement__hot">the whole afternoon.</span> We fix what you already ride, or make it <span class="statement__hot">ride better.</span></p>
<span class="statement__pill" style="--x: 58%; --y: 6%; --tilt: 6deg; --order: 0">Two mechanics, no robots</span>
<span class="statement__pill" style="--x: 4%; --y: 46%; --tilt: -8deg; --order: 1">Coffee on the bench</span>
<span class="statement__pill" style="--x: 62%; --y: 70%; --tilt: -4deg; --order: 2">Allergic to upsells</span>
</div>
</section>
<style>
.statement {
overflow-x: clip;
padding: var(--section-space) var(--edge);
background: var(--cream);
text-align: center;
}
.statement__label {
margin: 0 0 var(--space-l);
color: var(--ink);
font-size: var(--text-xs);
font-weight: 500;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.statement__body {
position: relative;
max-width: 17em;
margin: 0 auto;
font-size: var(--display-m);
}
.statement__text {
margin: 0;
color: var(--ink);
font-family: var(--font-display);
font-stretch: var(--display-width);
font-size: 1em;
font-weight: 700;
line-height: 1.08;
letter-spacing: -0.01em;
text-wrap: balance;
}
.statement__word {
color: var(--orange-faint);
transition: color 300ms var(--ease);
transition-delay: calc(var(--i, 0) * 45ms);
}
.statement.is-seen .statement__word { color: var(--ink); }
.statement.is-seen .statement__hot .statement__word { color: var(--orange); }
.statement__pill {
position: absolute;
left: var(--x);
top: var(--y);
padding: 7px 14px;
border-radius: var(--pill);
background: var(--orange);
color: var(--white);
font-family: var(--font-body);
font-size: clamp(11px, 1.1vw, 14px);
font-weight: 500;
white-space: nowrap;
rotate: var(--tilt);
scale: 0;
transition: scale 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
transition-delay: calc(1300ms + var(--order) * 160ms);
}
.statement.is-seen .statement__pill { scale: 1; }
@media (prefers-reduced-motion: reduce) {
.statement__word { color: var(--ink); transition: none; }
.statement__hot .statement__word { color: var(--orange); }
.statement__pill { scale: 1; transition: none; }
}
</style>
<script>
(() => {
const split = (node, counter) => {
for (const child of [...node.childNodes]) {
if (child.nodeType === Node.ELEMENT_NODE) {
split(child, counter);
continue;
}
if (child.nodeType !== Node.TEXT_NODE) continue;
const fragment = document.createDocumentFragment();
for (const part of child.textContent.split(/(\s+)/)) {
if (!part) continue;
if (/^\s+$/.test(part)) {
fragment.append(part);
continue;
}
const word = document.createElement('span');
word.className = 'statement__word';
word.style.setProperty('--i', counter.n++);
word.textContent = part;
fragment.append(word);
}
child.replaceWith(fragment);
}
};
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.2 });
for (const root of document.querySelectorAll('.statement')) {
split(root.querySelector('.statement__text'), { n: 0 });
seen.observe(root);
}
})();
</script>
Project cards
A label and a two-line title above a three-column grid of rounded pictures, each captioned with a round badge, a name, an orange category and a turning arrow.
Code
React For Figma<section class="works">
<div class="works__head">
<p class="works__label">Recent rescues</p>
<h2 class="works__title">Back on<br>the road</h2>
</div>
<ul class="works__grid">
<li class="works__card">
<a class="works__link" href="#">
<span class="works__frame"><img class="works__img" src="assets/ice-bike.jpg" alt="A bicycle lying on its side in fresh snow" width="800" height="601" loading="lazy"></span>
<span class="works__caption">
<span class="works__badge" aria-hidden="true">S</span>
<span class="works__name">Snowdrift Roadster<span class="works__kind">Rescue & rebuild</span></span>
<span class="works__arrow" aria-hidden="true">→</span>
</span>
</a>
</li>
<li class="works__card">
<a class="works__link" href="#">
<span class="works__frame"><img class="works__img" src="assets/bicycle.jpg" alt="An old lithograph poster with a cyclist and bold lettering" width="601" height="800" loading="lazy"></span>
<span class="works__caption">
<span class="works__badge" aria-hidden="true">P</span>
<span class="works__name">Poster Green Tourer<span class="works__kind">Paint & decals</span></span>
<span class="works__arrow" aria-hidden="true">→</span>
</span>
</a>
</li>
<li class="works__card">
<a class="works__link" href="#">
<span class="works__frame"><img class="works__img" src="assets/rider.jpg" alt="A cyclist photographed three times in one long exposure" width="800" height="482" loading="lazy"></span>
<span class="works__caption">
<span class="works__badge" aria-hidden="true">T</span>
<span class="works__name">Triple Exposure Racer<span class="works__kind">Wheel truing</span></span>
<span class="works__arrow" aria-hidden="true">→</span>
</span>
</a>
</li>
<li class="works__card">
<a class="works__link" href="#">
<span class="works__frame"><img class="works__img" src="assets/race.jpg" alt="A bronze medal showing a winged figure beside a bicycle" width="800" height="797" loading="lazy"></span>
<span class="works__caption">
<span class="works__badge" aria-hidden="true">B</span>
<span class="works__name">Bronze Medal Fixie<span class="works__kind">Restoration</span></span>
<span class="works__arrow" aria-hidden="true">→</span>
</span>
</a>
</li>
<li class="works__card">
<a class="works__link" href="#">
<span class="works__frame"><img class="works__img" src="assets/the-bicycle.jpg" alt="An old pink broadside with a woodcut of bicycle riders" width="535" height="800" loading="lazy"></span>
<span class="works__caption">
<span class="works__badge" aria-hidden="true">B</span>
<span class="works__name">Broadside Cruiser<span class="works__kind">Full service</span></span>
<span class="works__arrow" aria-hidden="true">→</span>
</span>
</a>
</li>
<li class="works__card">
<a class="works__link" href="#">
<span class="works__frame"><img class="works__img" src="assets/park-bike.jpg" alt="A handlebar poking out of a snowbank by a creek" width="800" height="534" loading="lazy"></span>
<span class="works__caption">
<span class="works__badge" aria-hidden="true">C</span>
<span class="works__name">Creekside Find<span class="works__kind">Salvage</span></span>
<span class="works__arrow" aria-hidden="true">→</span>
</span>
</a>
</li>
</ul>
</section>
<style>
.works {
padding: var(--section-space) var(--edge);
background: var(--cream);
}
.works__head {
display: grid;
grid-template-columns: 1fr 2fr;
align-items: end;
gap: var(--gap);
margin-bottom: var(--space-l);
}
.works__label {
margin: 0;
color: var(--ink);
font-size: var(--text-xs);
font-weight: 500;
text-transform: uppercase;
}
.works__title {
margin: 0;
color: var(--ink);
font-family: var(--font-display);
font-stretch: var(--display-width);
font-size: var(--display-l);
font-weight: 800;
line-height: 0.88;
text-transform: uppercase;
}
.works__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--space-l) var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.works__link {
display: grid;
gap: 12px;
color: inherit;
text-decoration: none;
}
.works__frame {
display: block;
overflow: hidden;
aspect-ratio: 4 / 5;
border-radius: var(--radius-card);
background: var(--sand);
}
.works__img {
width: 100%;
height: 100%;
object-fit: cover;
transition: scale var(--slow) var(--ease);
}
.works__caption {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 10px;
}
.works__badge {
display: grid;
place-items: center;
width: 30px;
height: 30px;
border-radius: 50%;
background: var(--orange);
color: var(--white);
font-family: var(--font-display);
font-stretch: var(--display-width);
font-size: 17px;
font-weight: 800;
}
.works__name {
display: grid;
color: var(--ink);
font-size: var(--text-xs);
font-weight: 600;
line-height: 1.2;
text-transform: uppercase;
}
.works__kind {
color: var(--orange);
font-size: 11px;
font-weight: 500;
}
.works__arrow {
display: grid;
place-items: center;
width: 44px;
height: 44px;
border: var(--line) solid var(--orange);
border-radius: 50%;
color: var(--orange);
font-size: 18px;
rotate: -45deg;
transition: rotate var(--quick) var(--ease), background-color var(--quick) var(--ease), color var(--quick) var(--ease);
}
.works__link:hover .works__img,
.works__link:focus-visible .works__img { scale: 1.04; }
.works__link:hover .works__arrow,
.works__link:focus-visible .works__arrow {
rotate: 0deg;
background: var(--orange);
color: var(--white);
}
.works__link:focus-visible { outline: var(--line) solid var(--orange); outline-offset: 6px; border-radius: var(--radius-card); }
@media (max-width: 860px) {
.works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
.works__head { grid-template-columns: 1fr; }
.works__grid { grid-template-columns: 1fr; }
.works__frame { aspect-ratio: 5 / 4; }
}
</style>
Looping service line
A thick orange line that draws itself across the section, with service names in orange condensed type split by tilted icon stickers and speech-bubble notes.
Code
React For Figma<section class="services">
<div class="services__head">
<p class="services__label">What we do</p>
<h2 class="services__title">This is<br>our bench</h2>
</div>
<div class="services__track">
<svg class="services__line" viewBox="0 0 600 500" preserveAspectRatio="none" aria-hidden="true">
<path d="M610 14 C 430 -6, 300 60, 380 96 C 450 128, 470 60, 410 62 C 330 66, 150 120, 70 190 C -10 260, 520 230, 560 300 C 600 370, 160 330, 90 400 C 40 450, 300 510, 610 488" />
</svg>
<ul class="services__list">
<li class="services__item" style="--side: end">
<p class="services__name">Wheel
<span class="services__icon" style="--tilt: -8deg"><svg viewBox="0 0 32 32" aria-hidden="true"><circle cx="16" cy="16" r="11" class="services__fill" /><circle cx="16" cy="16" r="3" /><path d="M16 5v22M5 16h22" /></svg></span>
truing</p>
<p class="services__note">Wobbles out, spokes even, rims as round as the day they shipped.</p>
</li>
<li class="services__item" style="--side: start">
<p class="services__name">Brake
<span class="services__icon" style="--tilt: 7deg"><svg viewBox="0 0 32 32" aria-hidden="true"><path d="M6 24 L20 8 Q24 5 26 9 L12 26 Z" class="services__fill" /><path d="M20 8 L24 13" /></svg></span>
tuning</p>
<p class="services__note">Pads, cables and bleeds. You stop when you mean to.</p>
</li>
<li class="services__item" style="--side: end">
<p class="services__name">Full
<span class="services__icon" style="--tilt: -5deg"><svg viewBox="0 0 32 32" aria-hidden="true"><path d="M8 26 L20 14 M18 6 a6 6 0 1 0 8 8 l-4 -1 -2 -3 z" class="services__fill" /></svg></span>
service</p>
<p class="services__note">Strip, clean, grease, rebuild. Every bolt gets a turn.</p>
</li>
<li class="services__item" style="--side: center">
<p class="services__name">Cargo
<span class="services__icon" style="--tilt: 9deg"><svg viewBox="0 0 32 32" aria-hidden="true"><path d="M5 11 L16 6 L27 11 L27 23 L16 28 L5 23 Z" class="services__fill" /><path d="M5 11 L16 16 L27 11 M16 16 V28" /></svg></span>
builds</p>
<p class="services__note">Long tails, front boxes and racks for the school run.</p>
</li>
</ul>
</div>
</section>
<style>
.services {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
gap: var(--space-l) var(--gap);
padding: var(--section-space) var(--edge);
background: var(--cream);
overflow: hidden;
}
.services__head {
align-self: end;
}
.services__label {
margin: 0 0 var(--space-s);
color: var(--ink);
font-size: var(--text-xs);
font-weight: 500;
text-transform: uppercase;
}
.services__title {
margin: 0;
color: var(--ink);
font-family: var(--font-display);
font-stretch: var(--display-width);
font-size: var(--display-l);
font-weight: 800;
line-height: 0.88;
text-transform: uppercase;
}
.services__track {
position: relative;
}
.services__line {
position: absolute;
inset: -12px calc(var(--edge) * -1) -12px -12%;
width: calc(112% + var(--edge));
height: calc(100% + 24px);
max-width: none;
fill: none;
stroke: var(--orange);
stroke-width: var(--loop);
stroke-linecap: round;
clip-path: inset(0 0 100% 0);
transition: clip-path var(--draw) var(--ease);
}
.services__line path { vector-effect: non-scaling-stroke; }
.services.is-seen .services__line { clip-path: inset(0 0 0 0); }
.services__list {
position: relative;
display: grid;
gap: clamp(24px, 3vw, 40px);
margin: 0;
padding: 0;
list-style: none;
}
.services__item {
display: grid;
justify-items: var(--side);
justify-self: var(--side);
gap: 6px;
text-align: left;
}
.services__name {
display: flex;
align-items: center;
gap: 10px;
margin: 0;
padding: 0 6px;
background: var(--cream);
color: var(--orange);
font-family: var(--font-display);
font-stretch: var(--display-width);
font-size: var(--display-m);
font-weight: 800;
line-height: 1;
text-transform: uppercase;
}
.services__icon {
display: grid;
place-items: center;
width: 1em;
height: 1em;
border: var(--line) solid var(--orange);
border-radius: var(--radius-s);
background: var(--cream);
rotate: var(--tilt);
transition: rotate var(--quick) var(--ease), scale var(--quick) var(--ease);
}
.services__icon svg {
width: 70%;
fill: none;
stroke: var(--ink);
stroke-width: 2px;
stroke-linejoin: round;
stroke-linecap: round;
}
.services__fill { fill: var(--orange); }
.services__item:hover .services__icon { rotate: calc(var(--tilt) * -1); scale: 1.15; }
.services__note {
max-width: 230px;
margin: 0;
padding: 8px 14px;
border: 1px solid var(--orange);
border-radius: var(--radius-speech);
background: var(--cream);
color: var(--orange);
font-size: 12px;
line-height: 1.3;
rotate: -2deg;
}
@media (max-width: 760px) {
.services { grid-template-columns: 1fr; }
.services__item { justify-self: start; justify-items: start; }
.services__item:nth-child(even) { justify-self: end; justify-items: end; }
.services__line { inset: -12px calc(var(--edge) * -1); width: calc(100% + var(--edge) * 2); }
}
@media (prefers-reduced-motion: reduce) {
.services__line { clip-path: none; transition: none; }
}
</style>
<script>
(() => {
const seen = new IntersectionObserver((entries) => {
for (const entry of entries) {
if (!entry.isIntersecting) continue;
entry.target.classList.add('is-seen');
seen.unobserve(entry.target);
}
}, { threshold: 0.15 });
for (const root of document.querySelectorAll('.services')) seen.observe(root);
})();
</script>
Pill questions
A two-column block: a drawn dog asleep in a tyre with floating Zs on one side, sand-coloured pill questions that open in place on the other.
Code
React For Figma<section class="faq">
<div class="faq__side">
<p class="faq__label">Questions people ask</p>
<h2 class="faq__title">Before you<br>wheel it in</h2>
<div class="faq__nap">
<svg class="faq__dog" viewBox="0 0 260 200" role="img" aria-label="A drawn spotted dog asleep, curled up inside an old bicycle tyre">
<ellipse class="faq__shadow" cx="130" cy="186" rx="104" ry="9" />
<ellipse class="faq__tyre" cx="130" cy="128" rx="104" ry="54" />
<ellipse class="faq__tread" cx="130" cy="128" rx="92" ry="44" />
<path class="faq__white faq__body" d="M60 130 C 56 92, 112 78, 150 86 C 196 94, 214 120, 200 142 C 186 162, 92 166, 68 152 C 62 148, 60 140, 60 130 Z" />
<path class="faq__ink" d="M112 92 C 126 86, 146 88, 152 98 C 140 112, 120 110, 112 92 Z" />
<path class="faq__line" d="M196 136 C 214 132, 222 150, 204 158 C 192 162, 176 156, 170 150" />
<path class="faq__white" d="M48 132 C 44 110, 64 98, 84 104 C 102 110, 104 132, 92 144 C 80 154, 52 150, 48 132 Z" />
<path class="faq__orange" d="M86 108 L96 104 L104 128 L94 132 Z" />
<path class="faq__ink" d="M58 104 C 50 112, 52 128, 62 132 C 68 120, 66 108, 58 104 Z" />
<ellipse class="faq__white" cx="56" cy="142" rx="13" ry="9" />
<circle class="faq__dot" cx="45" cy="140" r="3.5" />
<path class="faq__line" d="M68 124 q6 5 12 0 M60 152 q12 6 26 0" />
</svg>
<span class="faq__z" style="--i: 0">z</span>
<span class="faq__z" style="--i: 1">z</span>
<span class="faq__z" style="--i: 2">z</span>
</div>
</div>
<div class="faq__list">
<details class="faq__item" open>
<summary class="faq__q">Do I need to book, or can I just turn up?<span class="faq__plus" aria-hidden="true"></span></summary>
<p class="faq__a">Both work. A booking keeps your spot on the stand; a walk-in gets a look the same day and a time for the fix.</p>
</details>
<details class="faq__item">
<summary class="faq__q">How long does a full service take?<span class="faq__plus" aria-hidden="true"></span></summary>
<p class="faq__a">Usually two days. Older bikes with stuck parts can take a third.</p>
</details>
<details class="faq__item">
<summary class="faq__q">Will you work on a bike you didn't sell me?<span class="faq__plus" aria-hidden="true"></span></summary>
<p class="faq__a">We don't sell bikes at all. Every bike on our bench came from somewhere else.</p>
</details>
<details class="faq__item">
<summary class="faq__q">Can you fix e-bikes?<span class="faq__plus" aria-hidden="true"></span></summary>
<p class="faq__a">Everything but the battery and the motor. Those go back to their maker.</p>
</details>
<details class="faq__item">
<summary class="faq__q">What if the part is out of stock?<span class="faq__plus" aria-hidden="true"></span></summary>
<p class="faq__a">We call you with two choices and a price for each before ordering anything.</p>
</details>
<details class="faq__item">
<summary class="faq__q">What's with the dog?<span class="faq__plus" aria-hidden="true"></span></summary>
<p class="faq__a">Quality control. Mostly naps.</p>
</details>
</div>
</section>
<style>
.faq {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
gap: var(--space-xl) var(--gap);
padding: var(--section-space) var(--edge);
background: var(--cream);
}
.faq__label {
margin: 0 0 var(--space-s);
color: var(--ink);
font-size: var(--text-xs);
font-weight: 500;
text-transform: uppercase;
}
.faq__title {
margin: 0 0 var(--space-l);
color: var(--ink);
font-family: var(--font-display);
font-stretch: var(--display-width);
font-size: var(--display-l);
font-weight: 800;
line-height: 0.88;
text-transform: uppercase;
}
.faq__nap {
position: relative;
max-width: 320px;
}
.faq__dog { width: 100%; height: auto; }
.faq__dog * { stroke-linejoin: round; stroke-linecap: round; }
.faq__shadow { fill: var(--sand); }
.faq__tyre { fill: var(--ink); }
.faq__tread { fill: var(--cream); stroke: var(--orange); stroke-width: 3px; stroke-dasharray: 6 8; }
.faq__white { fill: var(--white); stroke: var(--ink); stroke-width: var(--line); }
.faq__orange { fill: var(--orange); stroke: var(--ink); stroke-width: var(--line); }
.faq__ink { fill: var(--ink); stroke: var(--ink); stroke-width: var(--line); }
.faq__line { fill: none; stroke: var(--ink); stroke-width: var(--line); }
.faq__dot { fill: var(--ink); }
.faq__body { transform-box: fill-box; transform-origin: 50% 100%; animation: faq-breathe 2.6s var(--ease-swing) infinite alternate; }
@keyframes faq-breathe { to { scale: 1.03 1.06; } }
.faq__z {
position: absolute;
left: calc(18% + var(--i) * 7%);
top: calc(30% - var(--i) * 12%);
color: var(--orange);
font-family: var(--font-display);
font-stretch: var(--display-width);
font-size: calc(22px + var(--i) * 8px);
font-weight: 800;
line-height: 1;
animation: faq-float 2.4s var(--ease) calc(var(--i) * 0.8s) infinite;
}
@keyframes faq-float {
0% { opacity: 0; translate: 0 10px; rotate: -10deg; }
30% { opacity: 1; }
100% { opacity: 0; translate: 14px -22px; rotate: 8deg; }
}
.faq.is-paused * { animation-play-state: paused !important; }
.faq__list {
display: grid;
align-content: start;
gap: 8px;
}
.faq__item {
border-radius: 28px;
background: var(--sand);
transition: background-color var(--quick) var(--ease);
}
.faq__item[open] { background: var(--blush); }
.faq__q {
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--space-m);
min-height: 52px;
padding: 8px 10px 8px 24px;
color: var(--ink);
font-size: var(--text-s);
font-weight: 500;
cursor: pointer;
list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: var(--line) solid var(--orange); outline-offset: 2px; border-radius: var(--pill); }
.faq__plus {
position: relative;
flex: none;
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--orange);
transition: rotate var(--quick) var(--ease);
}
.faq__plus::before,
.faq__plus::after {
content: "";
position: absolute;
left: 50%;
top: 50%;
width: 14px;
height: 2px;
background: var(--white);
translate: -50% -50%;
}
.faq__plus::after { rotate: 90deg; }
.faq__item[open] .faq__plus { rotate: 45deg; }
.faq__a {
margin: 0;
padding: 0 64px 18px 24px;
color: var(--ink-soft);
font-size: var(--text-s);
line-height: 1.45;
}
@media (max-width: 760px) {
.faq { grid-template-columns: 1fr; gap: var(--space-l); }
.faq__nap { max-width: 240px; }
.faq__a { padding-right: 24px; }
}
@media (prefers-reduced-motion: reduce) {
.faq__z { animation: none; opacity: 1; }
.faq__body { animation: none; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.faq')) {
new IntersectionObserver(([entry]) => {
root.classList.toggle('is-paused', !entry.isIntersecting);
}).observe(root);
}
})();
</script>
Orange sign-off
A flat orange footer laced with darker looping lines, a cheeky closing line, a black pill button, link columns and the wordmark set huge across the bottom.
Code
React For Figma<footer class="footer">
<svg class="footer__loops" viewBox="0 0 1440 600" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
<path d="M-40 120 C 160 20, 300 220, 200 260 C 110 296, 120 150, 260 150 C 420 150, 460 380, 640 340 C 800 304, 700 160, 620 220 C 540 280, 760 470, 960 420 C 1120 380, 1080 240, 1000 270 C 920 300, 1060 520, 1260 470 C 1380 440, 1400 300, 1480 280" />
<path d="M-40 520 C 120 470, 220 560, 360 500 C 480 448, 400 380, 340 420 C 280 460, 420 600, 600 560" />
</svg>
<div class="footer__top">
<div class="footer__sign">
<p class="footer__line">Right, that's the whole shop</p>
<a class="footer__cta" href="#">Book a fix <span class="footer__cta-dot" aria-hidden="true">→</span></a>
<p class="footer__small">Or write to us<br><a class="footer__mail" href="#">hello@wobblecycles.example</a></p>
</div>
<nav class="footer__col" aria-label="Footer">
<p class="footer__head">Around the shop</p>
<a class="footer__link" href="#">Repairs</a>
<a class="footer__link" href="#">The bench</a>
<a class="footer__link" href="#">Questions</a>
</nav>
<div class="footer__col">
<p class="footer__head">Find us</p>
<p class="footer__small">Unit 3, Railway Arches<br>Tuesday–Saturday, 9–18</p>
<a class="footer__link" href="#">Instagram ↗</a>
</div>
</div>
<p class="footer__fine">© 2027 Wobble Cycles · Fixed by hand, not by app</p>
<p class="footer__wordmark" aria-hidden="true">Wobble Cycles</p>
</footer>
<style>
.footer {
position: relative;
overflow: hidden;
padding: var(--space-xl) var(--edge) 0;
background: var(--orange);
color: var(--shell);
}
.footer__loops {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
fill: none;
stroke: var(--orange-deep);
stroke-width: 22px;
stroke-linecap: round;
}
.footer__top {
position: relative;
display: grid;
grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
gap: var(--space-l) var(--gap);
}
.footer__sign {
display: grid;
justify-items: start;
gap: var(--space-m);
}
.footer__line {
max-width: 8em;
margin: 0;
font-family: var(--font-display);
font-stretch: var(--display-width);
font-size: var(--display-m);
font-weight: 700;
line-height: 0.95;
}
.footer__cta {
display: inline-flex;
align-items: center;
gap: 10px;
min-height: 44px;
padding: 0 6px 0 18px;
border-radius: var(--pill);
background: var(--ink);
color: var(--white);
font-size: var(--text-xs);
font-weight: 500;
text-decoration: none;
box-shadow: var(--drop);
}
.footer__cta-dot {
display: grid;
place-items: center;
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--orange);
transition: transform var(--quick) var(--ease);
}
.footer__cta:hover .footer__cta-dot,
.footer__cta:focus-visible .footer__cta-dot { transform: rotate(-45deg) scale(1.12); }
.footer__col {
display: grid;
align-content: start;
justify-items: start;
}
.footer__head {
margin: 0 0 var(--space-s);
color: var(--blush);
font-size: var(--text-xs);
font-weight: 500;
opacity: 0.75;
}
.footer__small {
margin: 0;
font-size: var(--text-xs);
line-height: 1.4;
}
.footer__mail,
.footer__link {
display: inline-flex;
align-items: center;
min-height: 44px;
color: var(--shell);
font-size: var(--text-s);
font-weight: 500;
text-decoration: none;
background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
transition: background-size var(--quick) var(--ease);
}
.footer__mail:hover,
.footer__link:hover,
.footer__mail:focus-visible,
.footer__link:focus-visible { background-size: 100% 1px; }
.footer__fine {
position: relative;
margin: var(--space-xl) 0 0;
font-size: 11px;
}
.footer__wordmark {
position: relative;
margin: 0 0 -0.12em;
font-family: var(--font-display);
font-stretch: var(--display-width);
font-size: clamp(56px, 19vw, 320px);
font-weight: 600;
line-height: 1;
letter-spacing: -0.02em;
text-align: center;
white-space: nowrap;
color: var(--shell);
}
@media (max-width: 760px) {
.footer__top { grid-template-columns: 1fr 1fr; }
.footer__sign { grid-column: 1 / -1; }
}
</style>
Style
- --orange #ff5400
- --orange-deep #e64a00
- --orange-faint rgba(255, 84, 0, 0.45)
- --blush #fae3e2
- --cream #fdf8f5
- --sand #f2e3da
- --shell #f8eee8
- --ink #000000
- --ink-soft #333333
- --white #ffffff
Type
- Bricolage Grotesque for headlines, service names, wordmark, stands in for the site's heavy condensed display face with rounded, slightly retro letters, set at its narrowest width
- Inter Tight for running text, pills, labels and buttons, stands in for the site's neutral neo-grotesk for reading text and small UI
Motion
- The black pill notes over the hero headline rock between their own tilt and two degrees more, 3.2 s each, out of step with one another.
- In the hero the drawn mechanic's legs swing 18 degrees each way over 0.9 s while the bicycle's spokes turn once every 1.6 s and the dog's tail wags every 0.45 s.
- The curved orange band carries one line of uppercase words along its arc, one full length in 30 s, and pauses on hover and off screen.
- The statement's words fill from faint orange to ink one after another, 45 ms apart, once the block is on screen; then three orange pill notes pop in with an overshoot.
- The orange line through the services draws itself in 2.4 s with the soft-landing ease when the section comes into view.
- Project pictures grow 4% in 700 ms on hover while the round arrow turns from diagonal to flat.
- Questions open in place; the plus turns 45 degrees into a cross in 220 ms.
Rules
- Headlines are a heavy condensed display face in orange, very tight leading, never more than three lines.
- Small black pills in white text sit tilted over the big type like stickers, partly covering the letters.
- Line drawings use a 2 px ink outline with flat orange, white and black fills and no shading.
- One thick orange line loops through the page; services and notes hang off it.
- Sections sit on blush, cream or flat orange; nothing casts a soft shadow.
- Small uppercase labels at 14 px start each section, the title below them in condensed display.
- Every button, tag and question row is a full pill.
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,400..800&family=Inter+Tight:wght@400;500;600&display=swap");
:root {
/* Colour */
--orange: #ff5400; /* signature colour: headlines, loops, bands, accents */
--orange-deep: #e64a00; /* pressed orange and the footer's loop lines */
--orange-faint: rgba(255, 84, 0, 0.45); /* words not yet read in the statement */
--blush: #fae3e2; /* hero ground */
--cream: #fdf8f5; /* page background */
--sand: #f2e3da; /* question pills and quiet panels */
--shell: #f8eee8; /* text on orange */
--ink: #000000; /* line drawings, black pills, titles */
--ink-soft: #333333; /* running text */
--white: #ffffff; /* nav pills and drawn fills */
/* Type */
--font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif; /* condensed heavy headlines, service names, wordmark */
--font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* running text, pills, labels */
--display-width: 75%; /* font-stretch of the display face: always fully condensed */
--display-xl: clamp(64px, 12vw, 210px); /* hero headline and footer wordmark */
--display-l: clamp(44px, 6.4vw, 92px); /* section titles */
--display-m: clamp(30px, 3.8vw, 54px); /* statement and service names */
--text-l: clamp(20px, 1.7vw, 24px); /* lead paragraphs */
--text-m: 18px; /* card titles, questions */
--text-s: 16px; /* running text and buttons */
--text-xs: 14px; /* uppercase labels, pills */
/* Space */
--edge: clamp(16px, 3vw, 40px); /* side padding of a section */
--gap: clamp(12px, 1.4vw, 20px); /* between cards */
--section-space: clamp(72px, 9vw, 136px); /* air above and below a section */
--space-xs: 4px; /* inside pills */
--space-s: 8px; /* label to title */
--space-m: 16px; /* small blocks */
--space-l: 32px; /* title to content */
--space-xl: 64px; /* big separations */
/* Shape */
--pill: 100px; /* every pill, button and question row */
--radius-card: 16px; /* project pictures */
--radius-s: 12px; /* small stickers and icon tiles */
--radius-panel: 36px; /* big orange panels */
--radius-speech: 80px 80px 80px 0; /* speech-bubble corner on notes */
--line: 2px; /* ink outlines of drawings and stickers */
--loop: 5px; /* stroke of the orange looping line */
--drop: 0 2px 0 var(--ink); /* the only shadow: a hard 2 px ink edge under black pills */
/* Motion */
--ease: cubic-bezier(0.22, 1, 0.36, 1); /* soft landing for reveals and hovers */
--ease-swing: cubic-bezier(0.45, 0, 0.55, 1); /* back-and-forth loops: legs, pills, tails */
--quick: 220ms; /* hover and press */
--slow: 700ms; /* reveals */
--draw: 2400ms; /* the looping line drawing itself */
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink-soft); font: 400 16px/1.4 var(--font-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("tangerine-pill-parade"), 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