Swatch Tile Console
A white Swiss-grotesk studio page run like a control panel: small black and grey chips float over everything, a row of flat colour tiles names the services, and a deep green band carries the ways to start. Suits studios, workshops and service firms that sell a clear process with prices and dates.
Parts
Floating chip bar
Three floating chips: dark brand chip with region switch, grey link pill, dark talk chip with a portrait; a menu panel on narrow screens.
Code
React For Figma<header class="nav">
<div class="nav__bar">
<div class="nav__brand">
<button class="nav__toggle" type="button" aria-expanded="false" aria-controls="nav-panel" aria-label="Open menu">
<span class="nav__toggle-line"></span>
<span class="nav__toggle-line"></span>
</button>
<a class="nav__home" href="#">
<svg class="nav__glyph" viewBox="0 0 28 18" width="28" height="18" aria-hidden="true">
<rect x="0" y="0" width="28" height="18" rx="3" fill="currentColor" />
<path d="M3 12.5c3-3.2 5.6-3.2 8.2 0s5.4 3.2 8.2 0 5-3.2 5.6-1.2" class="nav__glyph-wave" fill="none" stroke-width="2.2" stroke-linecap="round" />
<circle class="nav__glyph-sun" cx="20.5" cy="5.5" r="2" />
</svg>
<span class="nav__name">Kesto Yard</span>
</a>
<a class="nav__region" href="#">
<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><circle cx="8" cy="8" r="6.5" fill="none" stroke="currentColor" /><path d="M1.5 8h13M8 1.5c-2.4 2.6-2.4 10.4 0 13M8 1.5c2.4 2.6 2.4 10.4 0 13" fill="none" stroke="currentColor" /></svg>
<span>NL</span>
</a>
</div>
<nav class="nav__pill" aria-label="Main">
<a class="nav__link" href="#">Work</a>
<a class="nav__link" href="#">Services</a>
<a class="nav__link" href="#">Moorings</a>
<a class="nav__link" href="#">About</a>
<a class="nav__link" href="#">Yard</a>
<a class="nav__link" href="#">Journal</a>
<a class="nav__link nav__link--icon" href="#" aria-label="Search">
<svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true"><circle cx="7" cy="7" r="4.6" fill="none" stroke="currentColor" stroke-width="1.3" /><path d="M10.4 10.4 14 14" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" /></svg>
</a>
</nav>
<a class="nav__talk" href="#">
<img class="nav__face" src="assets/old-sailor.jpg" alt="Portrait of the yard master" width="24" height="24" />
<span class="nav__talk-long">Talk to Aurelio</span><span class="nav__talk-short">Talk</span>
</a>
</div>
<div class="nav__panel" id="nav-panel" hidden>
<a class="nav__panel-link" href="#">Work</a>
<a class="nav__panel-link" href="#">Services</a>
<a class="nav__panel-link" href="#">Moorings</a>
<a class="nav__panel-link" href="#">About</a>
<a class="nav__panel-link" href="#">Yard</a>
<a class="nav__panel-link" href="#">Journal</a>
</div>
</header>
<style>
.nav {
position: sticky;
top: 0;
z-index: 20;
height: 0;
padding: 0 var(--edge);
font-size: var(--text-s);
line-height: 1;
}
.nav__bar {
padding-top: 15px;
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: start;
gap: var(--gap);
}
.nav__brand,
.nav__talk {
display: flex;
align-items: center;
min-height: 40px;
border-radius: var(--radius);
background: var(--graphite);
color: var(--paper);
}
.nav__brand {
justify-self: start;
padding: 0 var(--space-s);
}
.nav__home,
.nav__region {
display: flex;
align-items: center;
gap: var(--space-s);
min-height: 44px;
padding: 0 var(--space-s);
color: inherit;
text-decoration: none;
transition: opacity var(--quick) var(--ease);
}
.nav__home {
font-size: var(--text-m);
}
.nav__region {
gap: 6px;
margin-left: var(--space-s);
opacity: 0.85;
}
.nav__home:hover,
.nav__region:hover {
opacity: 0.7;
}
.nav__glyph {
color: var(--paper);
}
.nav__glyph-wave {
stroke: var(--graphite);
}
.nav__glyph-sun {
fill: var(--graphite);
}
.nav__pill {
display: flex;
align-items: center;
padding: 0 var(--space-s);
border-radius: var(--radius);
background: var(--mist);
}
.nav__link {
display: flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 44px;
padding: 0 13px;
color: var(--ink);
text-decoration: none;
transition: color var(--quick) var(--ease);
}
.nav__link:hover {
color: var(--ink-soft);
}
.nav__talk {
justify-self: end;
gap: var(--space-s);
min-height: 44px;
padding: 0 14px 0 8px;
text-decoration: none;
transition: background-color var(--quick) var(--ease);
}
.nav__talk:hover {
background: var(--smoke);
}
.nav__face {
width: 24px;
height: 24px;
border-radius: 2px;
object-fit: cover;
object-position: 50% 30%;
}
.nav__talk-short {
display: none;
}
.nav__toggle {
display: none;
flex-direction: column;
justify-content: center;
gap: 5px;
width: 44px;
height: 44px;
padding: 0 12px;
border: 0;
background: none;
cursor: pointer;
}
.nav__toggle-line {
display: block;
height: 1.5px;
background: var(--paper);
transition: transform var(--quick) var(--ease);
}
.nav.is-open .nav__toggle-line:first-child {
transform: translateY(3.25px) rotate(45deg);
}
.nav.is-open .nav__toggle-line:last-child {
transform: translateY(-3.25px) rotate(-45deg);
}
.nav__panel {
display: grid;
margin-top: var(--space-xs);
padding: var(--space-s);
border-radius: var(--radius);
background: var(--graphite);
}
.nav__panel[hidden] {
display: none;
}
.nav__panel-link {
display: flex;
align-items: center;
min-height: 48px;
padding: 0 var(--space-s);
border-bottom: var(--rule) solid var(--smoke);
color: var(--paper);
font-size: var(--text-l);
letter-spacing: var(--track-sub);
text-decoration: none;
}
.nav__panel-link:last-child {
border-bottom: 0;
}
.nav a:focus-visible,
.nav button:focus-visible {
outline: 2px solid var(--swatch-blue);
outline-offset: 2px;
}
@media (max-width: 1100px) {
.nav__pill {
display: none;
}
.nav__bar {
grid-template-columns: 1fr auto;
}
.nav__toggle {
display: flex;
}
}
@media (max-width: 560px) {
.nav__brand {
padding: 0;
}
.nav__region {
margin-left: 0;
}
.nav__talk-long {
display: none;
}
.nav__talk-short {
display: inline;
}
}
@media (max-width: 400px) {
.nav__region {
display: none;
}
}
@media (min-width: 1101px) {
.nav__panel {
display: none;
}
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.nav')) {
const toggle = root.querySelector('.nav__toggle');
const panel = root.querySelector('.nav__panel');
if (!toggle || !panel) continue;
toggle.addEventListener('click', () => {
const open = !root.classList.contains('is-open');
root.classList.toggle('is-open', open);
panel.hidden = !open;
toggle.setAttribute('aria-expanded', String(open));
toggle.setAttribute('aria-label', open ? 'Close menu' : 'Open menu');
});
}
})();
</script>
Dark picture hero
Crossfading full-bleed pictures under a dark veil, a large tight headline bottom-left and a white field with a black button.
Code
React For Figma<section class="hero" aria-label="Introduction">
<div class="hero__frames">
<figure class="hero__frame is-active">
<figcaption class="hero__caption">Saltmarsh Rowing Club</figcaption>
<img class="hero__picture" src="assets/boats-rest.jpg" alt="Two rowing boats pulled up on a grassy bank by a creek" width="1200" height="870" />
</figure>
<figure class="hero__frame">
<figcaption class="hero__caption">Low Tide Charter</figcaption>
<img class="hero__picture" src="assets/nocturne.jpg" alt="Harbour water at dusk, a low moon over a far shore" width="1200" height="793" />
</figure>
</div>
<div class="hero__veil" aria-hidden="true"></div>
<div class="hero__body">
<h1 class="hero__title">Boats that float, and keep floating.</h1>
<p class="hero__lead">We haul out, rebuild and launch your boat, then show your crew what to check every month on the water.</p>
<form class="hero__form" action="#" onsubmit="return false">
<label class="hero__label" for="hero-hull">Your hull number</label>
<input class="hero__input" id="hero-hull" name="hull" type="text" placeholder="Paste your hull number" autocomplete="off" />
<button class="hero__button" type="submit">
<span>Check my boat for free</span>
<svg viewBox="0 0 12 12" width="12" height="12" aria-hidden="true"><path d="M3 9 9 3M4 3h5v5" fill="none" stroke="currentColor" stroke-width="1.3" /></svg>
</button>
</form>
<p class="hero__note">About a minute. No call needed.</p>
</div>
<a class="hero__tag" href="#">
<span class="hero__tag-label">Our work</span>
<span class="hero__tag-name">Saltmarsh Rowing Club</span>
</a>
</section>
<style>
.hero {
position: relative;
display: flex;
align-items: flex-end;
min-height: clamp(600px, 56vw, 860px);
padding: 120px var(--edge) clamp(24px, 3vw, 44px);
overflow: hidden;
background: var(--ink);
color: var(--paper);
}
.hero__frames,
.hero__frame,
.hero__veil {
position: absolute;
inset: 0;
margin: 0;
}
.hero__frame {
opacity: 0;
transition: opacity var(--slow) var(--ease);
}
.hero__frame.is-active {
opacity: 1;
}
.hero__picture {
width: 100%;
height: 100%;
object-fit: cover;
transform: scale(1.06);
transition: transform calc(var(--hold) + var(--slow)) linear;
}
.hero__frame.is-active .hero__picture {
transform: scale(1);
}
.hero__caption {
display: none;
}
.hero__veil {
background: linear-gradient(transparent 25%, var(--scrim) 80%), var(--scrim-soft);
}
.hero__body {
position: relative;
width: min(100%, 640px);
}
.hero__title {
margin: 0;
font-family: var(--font-display);
font-size: var(--display-l);
font-weight: 400;
line-height: 0.98;
letter-spacing: var(--track-display);
text-wrap: balance;
}
.hero__lead {
max-width: 30em;
margin: var(--space-m) 0 var(--space-l);
font-size: var(--text-m);
line-height: 1.32;
}
.hero__form {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: var(--space-xs);
padding: var(--space-xs);
border-radius: var(--radius);
background: var(--paper);
}
.hero__label {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.hero__input {
min-width: 0;
min-height: var(--control);
padding: 0 12px;
border: 0;
border-radius: var(--radius);
background: transparent;
color: var(--ink);
font: inherit;
font-size: var(--text-s);
}
.hero__input::placeholder {
color: var(--ink-soft);
}
.hero__input:focus-visible {
outline: 2px solid var(--swatch-blue);
}
.hero__button {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-l);
min-height: var(--control);
padding: 0 16px;
border: 0;
border-radius: var(--radius);
background: var(--ink);
color: var(--paper);
font: inherit;
font-size: var(--text-s);
cursor: pointer;
transition: background-color var(--quick) var(--ease);
}
.hero__button:hover,
.hero__button:focus-visible {
background: var(--smoke);
}
.hero__note {
margin: var(--space-s) 0 0;
font-size: var(--text-xs);
opacity: 0.85;
}
.hero__tag {
position: absolute;
right: var(--edge);
bottom: clamp(24px, 3vw, 44px);
display: grid;
justify-items: end;
gap: 6px;
min-height: 44px;
padding: 10px 12px;
color: var(--paper);
font-size: var(--text-xs);
text-decoration: none;
background:
linear-gradient(currentColor, currentColor) left top / 1px 7px no-repeat,
linear-gradient(currentColor, currentColor) right top / 1px 7px no-repeat,
linear-gradient(currentColor, currentColor) left bottom / 1px 7px no-repeat,
linear-gradient(currentColor, currentColor) right bottom / 1px 7px no-repeat;
}
.hero__tag-label {
opacity: 0.85;
}
.hero__tag-name {
font-size: var(--text-s);
font-weight: 500;
letter-spacing: 0.04em;
text-transform: uppercase;
transition: opacity var(--quick) var(--ease);
}
.hero__tag.is-swapping .hero__tag-name {
opacity: 0;
}
@media (max-width: 720px) {
.hero {
min-height: 640px;
align-items: flex-end;
}
.hero__form {
grid-template-columns: 1fr;
padding: 0;
background: none;
gap: var(--space-s);
}
.hero__input {
background: var(--paper);
}
}
@media (max-width: 960px) {
.hero__tag {
top: 84px;
bottom: auto;
}
}
@media (prefers-reduced-motion: reduce) {
.hero__picture,
.hero__frame.is-active .hero__picture {
transform: none;
transition: none;
}
}
</style>
<script>
(() => {
const still = window.matchMedia('(prefers-reduced-motion: reduce)');
for (const root of document.querySelectorAll('.hero')) {
const frames = [...root.querySelectorAll('.hero__frame')];
const tag = root.querySelector('.hero__tag');
const name = root.querySelector('.hero__tag-name');
if (frames.length < 2) continue;
const hold = parseFloat(getComputedStyle(root).getPropertyValue('--hold')) || 6000;
let index = 0;
let timer = 0;
let visible = false;
const step = () => {
frames[index].classList.remove('is-active');
index = (index + 1) % frames.length;
frames[index].classList.add('is-active');
if (tag && name) {
tag.classList.add('is-swapping');
setTimeout(() => {
name.textContent = frames[index].querySelector('.hero__caption')?.textContent || '';
tag.classList.remove('is-swapping');
}, 300);
}
};
const run = () => {
clearInterval(timer);
timer = 0;
if (visible && !still.matches && !document.hidden) timer = setInterval(step, hold);
};
new IntersectionObserver((entries) => {
visible = entries[0].isIntersecting;
run();
}).observe(root);
document.addEventListener('visibilitychange', run);
still.addEventListener('change', run);
}
})();
</script>
Swatch service tiles
A headline and short paragraph beside a 3 by 2 grid of flat colour tiles, each with a white glyph and a label.
Code
React For Figma<section class="tiles">
<div class="tiles__intro">
<h2 class="tiles__title">Everything a boat needs, handled under one roof.</h2>
<p class="tiles__text">Haul-out, hull, rigging, engines, sails, winter storage and the monthly check, for dinghies, yachts and working boats. One yard owns the whole job, from the first survey to every season after launch.</p>
</div>
<ul class="tiles__grid">
<li class="tiles__item tiles__item--lime">
<a class="tiles__link" href="#">
<svg class="tiles__glyph" viewBox="0 0 40 40" aria-hidden="true"><path d="M4 24h32l-5 9H9z" /><path d="M20 4v18M20 5l11 15H20z" /></svg>
<span class="tiles__label">Hull repair</span>
</a>
</li>
<li class="tiles__item tiles__item--blue">
<a class="tiles__link" href="#">
<svg class="tiles__glyph" viewBox="0 0 40 40" aria-hidden="true"><path d="M3 16c4-5 7-5 11 0s7 5 11 0 7-5 12 0v6c-5-5-8-5-12 0s-7 5-11 0-7-5-11 0z" /><path d="M3 28c4-5 7-5 11 0s7 5 11 0 7-5 12 0v6c-5-5-8-5-12 0s-7 5-11 0-7-5-11 0z" /></svg>
<span class="tiles__label">Sea trials</span>
</a>
</li>
<li class="tiles__item tiles__item--ink">
<a class="tiles__link" href="#">
<svg class="tiles__glyph" viewBox="0 0 40 40" aria-hidden="true"><circle cx="20" cy="20" r="15" /><circle class="tiles__glyph-cut" cx="20" cy="20" r="6" /><path class="tiles__glyph-cut" d="M19 5h2v9h-2zM19 26h2v9h-2zM5 19h9v2H5zM26 19h9v2h-9z" /></svg>
<span class="tiles__label">Engines and drives</span>
</a>
</li>
<li class="tiles__item tiles__item--red">
<a class="tiles__link" href="#">
<svg class="tiles__glyph" viewBox="0 0 40 40" aria-hidden="true"><path d="M8 4 34 30H8z" /><path d="M6 33h28v3H6z" /></svg>
<span class="tiles__label">Sail loft</span>
</a>
</li>
<li class="tiles__item tiles__item--violet">
<a class="tiles__link" href="#">
<svg class="tiles__glyph" viewBox="0 0 40 40" aria-hidden="true"><path d="M17 3h6v6h-6zM18.5 9h3v22h-3z" /><path d="M8 22c0 8 5 13 12 13s12-5 12-13l-4 3c0 4-3 7-8 7s-8-3-8-7z" /><path d="M11 13h18v3H11z" /></svg>
<span class="tiles__label">Moorings and storage</span>
</a>
</li>
<li class="tiles__item tiles__item--graphite">
<a class="tiles__link" href="#">
<svg class="tiles__glyph" viewBox="0 0 40 40" aria-hidden="true"><path d="M23 2 8 23h11l-3 15 16-22H21z" /></svg>
<span class="tiles__label">Electrics and refits</span>
</a>
</li>
</ul>
</section>
<style>
.tiles {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: var(--space-xl) var(--gap);
padding: 84px var(--edge) var(--section-space);
}
.tiles__title {
max-width: 12em;
margin: 0;
font-family: var(--font-display);
font-size: var(--display-m);
font-weight: 400;
line-height: 1;
letter-spacing: var(--track-display);
text-wrap: balance;
}
.tiles__text {
max-width: 40em;
margin: var(--space-l) 0 0;
font-size: var(--text-s);
line-height: 1.36;
}
.tiles__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.tiles__item {
--tile: var(--graphite);
opacity: 0;
translate: 0 14px;
transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease);
transition-delay: calc(var(--order, 0) * 70ms);
}
.tiles.is-seen .tiles__item {
opacity: 1;
translate: 0 0;
}
.tiles__item--lime { --tile: var(--swatch-lime); }
.tiles__item--blue { --tile: var(--swatch-blue); }
.tiles__item--ink { --tile: var(--ink); }
.tiles__item--red { --tile: var(--swatch-red); }
.tiles__item--violet { --tile: var(--swatch-violet); }
.tiles__item--graphite { --tile: var(--graphite); }
.tiles__link {
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: var(--space-l);
min-height: 98px;
height: 100%;
padding: 14px 15px 15px;
border-radius: var(--radius);
background: var(--tile);
color: var(--paper);
font-size: var(--text-s);
text-decoration: none;
overflow: hidden;
}
.tiles__link::after {
content: "";
position: absolute;
inset: 0;
background: var(--ink);
opacity: 0;
transition: opacity var(--quick) var(--ease);
}
.tiles__link:hover::after,
.tiles__link:focus-visible::after {
opacity: 0.12;
}
.tiles__link:focus-visible {
outline: 2px solid var(--ink);
outline-offset: 2px;
}
.tiles__glyph {
position: relative;
z-index: 1;
width: 38px;
height: 38px;
fill: var(--paper);
transition: transform var(--quick) var(--ease);
}
.tiles__glyph-cut {
fill: var(--tile);
}
.tiles__link:hover .tiles__glyph {
transform: translateY(-3px) rotate(-6deg);
}
.tiles__label {
position: relative;
z-index: 1;
line-height: 1.2;
}
@media (max-width: 960px) {
.tiles {
grid-template-columns: 1fr;
}
}
@media (max-width: 600px) {
.tiles__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tiles__link {
min-height: 88px;
}
}
@media (prefers-reduced-motion: reduce) {
.tiles__item {
opacity: 1;
translate: none;
transition: none;
}
}
</style>
<script>
(() => {
const seen = new IntersectionObserver((entries) => {
for (const entry of entries) {
if (!entry.isIntersecting) continue;
entry.target.classList.add('is-seen');
seen.unobserve(entry.target);
}
}, { threshold: 0.15 });
for (const root of document.querySelectorAll('.tiles')) {
root.querySelectorAll('.tiles__item').forEach((item, order) => item.style.setProperty('--order', order));
seen.observe(root);
}
})();
</script>
Selected work
A headline with a grey see-all button, then three tall picture cards with a name and a one-line result.
Code
React For Figma<section class="work">
<div class="work__head">
<h2 class="work__title">Selected work</h2>
<a class="work__all" href="#">
<span>See all work</span>
<svg viewBox="0 0 12 12" width="12" height="12" aria-hidden="true"><path d="M3 9 9 3M4 3h5v5" fill="none" stroke="currentColor" stroke-width="1.3" /></svg>
</a>
</div>
<ul class="work__grid">
<li class="work__card">
<a class="work__link" href="#">
<span class="work__frame">
<img class="work__picture" src="assets/boatyard.jpg" alt="Masts and a long shed on a boatyard shore at low tide" width="800" height="463" />
</span>
<span class="work__name">Harbour Ferry No. 4</span>
<span class="work__result">Back in service in eleven weeks, with a new keel band and two fewer haul-outs a year.</span>
</a>
</li>
<li class="work__card">
<a class="work__link" href="#">
<span class="work__frame">
<img class="work__picture" src="assets/stowing-sail.jpg" alt="A sailor stowing a grey sail on a white boat in choppy water" width="800" height="507" />
</span>
<span class="work__name">Low Tide Charter</span>
<span class="work__result">A full suit of sails and new rigging, ready for the first charter of the season.</span>
</a>
</li>
<li class="work__card">
<a class="work__link" href="#">
<span class="work__frame work__frame--object">
<img class="work__picture" src="assets/river-boat.jpg" alt="A carved wooden model of a river boat with oarsmen" width="800" height="600" />
</span>
<span class="work__name">Saltmarsh Rowing Club</span>
<span class="work__result">Twelve club boats rebuilt over one winter, every hull and every oar kept.</span>
</a>
</li>
</ul>
</section>
<style>
.work {
padding: var(--space-xl) var(--edge) var(--section-space);
}
.work__head {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: var(--space-m);
margin-bottom: var(--space-l);
}
.work__title {
margin: 0;
font-family: var(--font-display);
font-size: var(--display-m);
font-weight: 400;
line-height: 1;
letter-spacing: var(--track-display);
}
.work__all {
display: inline-flex;
flex-shrink: 0;
align-items: center;
gap: var(--space-m);
min-height: var(--control);
padding: 0 15px;
border-radius: var(--radius);
background: var(--mist);
color: var(--ink);
font-size: var(--text-s);
text-decoration: none;
transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
}
.work__all:hover,
.work__all:focus-visible {
background: var(--ink);
color: var(--paper);
}
.work__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--gap) 15px;
margin: 0;
padding: 0;
list-style: none;
}
.work__link {
display: grid;
gap: var(--space-s);
color: var(--ink);
text-decoration: none;
}
.work__link:focus-visible {
outline: 2px solid var(--swatch-blue);
outline-offset: 4px;
}
.work__frame {
display: block;
aspect-ratio: 451 / 470;
margin-bottom: var(--space-s);
overflow: hidden;
background: var(--mist);
}
.work__picture {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transform: scale(1.08);
transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
transition-delay: calc(var(--order, 0) * 120ms);
}
.work__frame--object .work__picture {
object-fit: contain;
padding: 8%;
}
.work.is-seen .work__picture {
opacity: 1;
transform: scale(1);
}
.work.is-seen .work__link:hover .work__picture {
transform: scale(1.03);
transition-delay: 0s;
}
.work__name {
font-size: var(--text-s);
}
.work__result {
max-width: 30em;
font-size: var(--text-s);
line-height: 1.36;
color: var(--ink);
transition: color var(--quick) var(--ease);
}
.work__link:hover .work__result {
color: var(--ink-soft);
}
@media (max-width: 640px) {
.work__grid {
grid-template-columns: 1fr;
gap: var(--space-xl);
}
}
@media (prefers-reduced-motion: reduce) {
.work__picture {
opacity: 1;
transform: 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__picture').forEach((item, order) => item.style.setProperty('--order', order));
seen.observe(root);
}
})();
</script>
Price and date picker
A grey panel of chip choices that highlights one of three price cards in black.
Code
React For Figma<section class="pricing">
<h2 class="pricing__title">A boat as good as your crew, back on the water on a date we write down.</h2>
<div class="pricing__main">
<form class="pricing__picker" action="#" onsubmit="return false">
<h3 class="pricing__ask">Get your price and your date</h3>
<fieldset class="pricing__group" data-axis="size">
<legend class="pricing__legend">How long is the boat?</legend>
<label class="pricing__chip"><input class="pricing__radio" type="radio" name="size" value="0" checked /><span>Up to 8 m</span></label>
<label class="pricing__chip"><input class="pricing__radio" type="radio" name="size" value="1" /><span>Up to 14 m</span></label>
<label class="pricing__chip"><input class="pricing__radio" type="radio" name="size" value="2" /><span>Up to 24 m</span></label>
</fieldset>
<fieldset class="pricing__group" data-axis="scope">
<legend class="pricing__legend">What does it need before launch?</legend>
<label class="pricing__chip"><input class="pricing__radio" type="radio" name="scope" value="0" checked /><span>A clean, sound hull</span></label>
<label class="pricing__chip"><input class="pricing__radio" type="radio" name="scope" value="1" /><span>Plus rigging and a sea trial</span></label>
<label class="pricing__chip"><input class="pricing__radio" type="radio" name="scope" value="2" /><span>Plus a new deck and an engine refit</span></label>
</fieldset>
</form>
<ul class="pricing__plans">
<li class="pricing__plan is-picked">
<span class="pricing__name">Haul out</span>
<span class="pricing__price">€4,800</span>
<span class="pricing__when">Back in 10 working days</span>
<span class="pricing__what">Lift, wash, survey, antifoul and anodes, every seacock checked.</span>
</li>
<li class="pricing__plan">
<span class="pricing__name">Refit</span>
<span class="pricing__price">€12,600</span>
<span class="pricing__when">Back in 21 working days</span>
<span class="pricing__what">Haul out plus standing rigging, sails serviced and a sea trial.</span>
</li>
<li class="pricing__plan">
<span class="pricing__name">Rebuild</span>
<span class="pricing__price">€27,400</span>
<span class="pricing__when">Back in 40 working days</span>
<span class="pricing__what">Refit plus a laid teak deck, engine rebuild and a second survey.</span>
</li>
</ul>
</div>
</section>
<style>
.pricing {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
gap: var(--space-xl) var(--space-l);
padding: 84px var(--edge) var(--section-space);
}
.pricing__title {
max-width: 10.5em;
margin: 0;
font-family: var(--font-display);
font-size: var(--display-m);
font-weight: 400;
line-height: 1;
letter-spacing: var(--track-display);
}
.pricing__main {
display: grid;
gap: var(--gap);
}
.pricing__picker {
display: grid;
gap: var(--space-l);
padding: var(--space-l);
border-radius: var(--radius);
background: var(--mist);
}
.pricing__ask {
margin: 0;
font-size: var(--text-l);
font-weight: 400;
line-height: 1.1;
letter-spacing: var(--track-sub);
}
.pricing__group {
display: flex;
flex-wrap: wrap;
gap: var(--space-s);
margin: 0;
padding: 0;
border: 0;
}
.pricing__legend {
width: 100%;
margin-bottom: var(--space-s);
padding: 0;
color: var(--ink-soft);
font-size: var(--text-s);
}
.pricing__chip {
position: relative;
display: inline-flex;
align-items: center;
min-height: var(--control);
padding: 0 15px;
border-radius: var(--radius);
background: var(--paper);
font-size: var(--text-s);
cursor: pointer;
transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
}
.pricing__radio {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
margin: 0;
opacity: 0;
cursor: pointer;
}
.pricing__chip:hover {
background: var(--line);
}
.pricing__chip:has(.pricing__radio:checked) {
background: var(--ink);
color: var(--paper);
}
.pricing__chip:has(.pricing__radio:focus-visible) {
outline: 2px solid var(--swatch-blue);
outline-offset: 2px;
}
.pricing__plans {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.pricing__plan {
display: flex;
flex-direction: column;
min-height: 230px;
padding: 20px;
border-radius: var(--radius);
background: var(--mist);
transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
}
.pricing__plan.is-picked {
background: var(--ink);
color: var(--paper);
}
.pricing__name {
font-size: var(--text-m);
}
.pricing__price {
margin-top: var(--space-xl);
font-size: var(--display-m);
line-height: 1;
letter-spacing: var(--track-display);
font-variant-numeric: tabular-nums;
}
.pricing__when {
margin-top: var(--space-xs);
color: var(--ink-soft);
font-size: var(--text-m);
}
.pricing__what {
margin-top: auto;
padding-top: var(--space-l);
color: var(--ink-soft);
font-size: var(--text-s);
line-height: 1.36;
}
.pricing__plan.is-picked .pricing__when,
.pricing__plan.is-picked .pricing__what {
color: var(--ink-faint);
}
@media (max-width: 960px) {
.pricing {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.pricing__plans {
grid-template-columns: 1fr;
}
.pricing__plan {
min-height: 0;
}
.pricing__price {
margin-top: var(--space-l);
}
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.pricing')) {
const plans = [...root.querySelectorAll('.pricing__plan')];
const value = (axis) => Number(root.querySelector(`[data-axis="${axis}"] .pricing__radio:checked`)?.value || 0);
const pick = () => {
const tier = Math.min(plans.length - 1, Math.max(value('size'), value('scope')));
plans.forEach((plan, index) => plan.classList.toggle('is-picked', index === tier));
};
root.addEventListener('change', pick);
pick();
}
})();
</script>
Green ways to start
A deep green band: headline and portrait on the left, three ruled ways to start with tag chips, a field and buttons.
Code
React For Figma<section class="start">
<div class="start__side">
<h2 class="start__title">Start however suits you.</h2>
<figure class="start__person">
<img class="start__portrait" src="assets/old-sailor.jpg" alt="Etched portrait of a bearded sailor with a pipe" width="160" height="160" />
<figcaption class="start__caption">
<span class="start__who">Aurelio Brandt, yard master</span>
<span class="start__bio">He surveys every hull himself and writes most of the work lists, so you talk to the person holding the tools.</span>
</figcaption>
</figure>
</div>
<ol class="start__ways">
<li class="start__way">
<div class="start__head">
<h3 class="start__name">Send your hull number</h3>
<span class="start__chip">About 30 seconds</span>
</div>
<div class="start__body">
<p class="start__text">What we would fix first, from the last survey.</p>
<form class="start__form" action="#" onsubmit="return false">
<label class="start__label" for="start-hull">Hull number</label>
<input class="start__input" id="start-hull" type="text" placeholder="Paste your hull number" autocomplete="off" />
<button class="start__button" type="submit">
<span>Check my boat</span>
<svg viewBox="0 0 12 12" width="12" height="12" aria-hidden="true"><path d="M3 9 9 3M4 3h5v5" fill="none" stroke="currentColor" stroke-width="1.3" /></svg>
</button>
</form>
<p class="start__fine">Your hull number is only used to find the survey record. <a class="start__inline" href="#">Privacy</a></p>
</div>
</li>
<li class="start__way">
<div class="start__head">
<h3 class="start__name">Walk the yard</h3>
<span class="start__chip">Two clicks</span>
</div>
<div class="start__body">
<p class="start__text">Twenty minutes on the slipway, then a short written list of what we would do first, whether or not we work together.</p>
<a class="start__button start__button--solo" href="#">
<span>Pick a time</span>
<svg viewBox="0 0 12 12" width="12" height="12" aria-hidden="true"><path d="M3 9 9 3M4 3h5v5" fill="none" stroke="currentColor" stroke-width="1.3" /></svg>
</a>
</div>
</li>
<li class="start__way">
<div class="start__head">
<h3 class="start__name">Write one line</h3>
<span class="start__chip">About a minute</span>
</div>
<div class="start__body">
<p class="start__text">An answer from Aurelio within two working hours, Monday to Saturday, 7:00 to 17:00.</p>
</div>
</li>
</ol>
</section>
<style>
.start {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
gap: var(--space-xl) var(--space-l);
padding: clamp(64px, 8vw, 120px) var(--edge);
background: var(--field);
color: var(--paper);
}
.start__title {
max-width: 8em;
margin: 0 0 var(--space-xl);
font-family: var(--font-display);
font-size: var(--display-m);
font-weight: 400;
line-height: 1;
letter-spacing: var(--track-display);
}
.start__person {
margin: 0;
}
.start__portrait {
width: 160px;
height: 160px;
object-fit: cover;
object-position: 50% 35%;
filter: grayscale(1) contrast(1.15);
}
.start__caption {
display: grid;
gap: var(--space-s);
max-width: 22em;
margin-top: var(--space-l);
}
.start__who {
font-size: var(--text-s);
}
.start__bio {
font-size: var(--text-m);
line-height: 1.3;
}
.start__ways {
margin: 0;
padding: 0;
list-style: none;
}
.start__way {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
gap: var(--space-m) var(--space-l);
padding: var(--space-xl) 0;
border-bottom: var(--rule) solid var(--line-on-field);
}
.start__way:first-child {
padding-top: 0;
}
.start__way:last-child {
border-bottom: 0;
}
.start__name {
margin: 0 0 var(--space-s);
font-size: var(--text-l);
font-weight: 400;
line-height: 1.08;
letter-spacing: var(--track-sub);
}
.start__chip {
display: inline-block;
padding: 3px var(--space-xs);
border-radius: 2px;
background: var(--field-deep);
font-size: var(--text-xs);
}
.start__text {
max-width: 30em;
margin: 0 0 var(--space-m);
font-size: var(--text-m);
line-height: 1.32;
}
.start__form {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: var(--space-s);
}
.start__label {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}
.start__input {
min-width: 0;
min-height: var(--control);
padding: 0 14px;
border: var(--rule) solid var(--line-on-field);
border-radius: var(--radius);
background: transparent;
color: var(--paper);
font: inherit;
transition: border-color var(--quick) var(--ease);
}
.start__input::placeholder {
color: var(--paper);
opacity: 0.75;
}
.start__input:focus-visible {
border-color: var(--paper);
outline: 0;
}
.start__button {
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: var(--space-m);
min-height: var(--control);
padding: 0 15px;
border: 0;
border-radius: var(--radius);
background: var(--paper);
color: var(--ink);
font: inherit;
font-size: var(--text-s);
text-decoration: none;
cursor: pointer;
transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
}
.start__button:hover,
.start__button:focus-visible {
background: var(--ink);
color: var(--paper);
}
.start__fine {
margin: var(--space-s) 0 0;
font-size: var(--text-xs);
opacity: 0.9;
}
.start__inline {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 44px;
margin: -14px 0;
color: inherit;
}
@media (max-width: 960px) {
.start {
grid-template-columns: 1fr;
}
.start__person {
display: grid;
grid-template-columns: 96px minmax(0, 1fr);
gap: var(--space-m);
align-items: start;
}
.start__portrait {
width: 96px;
height: 96px;
}
.start__caption {
margin-top: 0;
}
}
@media (max-width: 640px) {
.start__way {
grid-template-columns: 1fr;
}
.start__form {
grid-template-columns: 1fr;
}
}
</style>
Black footer
A black footer with a statement, a white talk button, a contact card with a live clock and four link columns.
Code
React For Figma<footer class="footer">
<div class="footer__top">
<div class="footer__copy">
<p class="footer__statement">Haul-outs, refits and rebuilds for boats people love. We mend, launch and look after them with you.</p>
<a class="footer__talk" href="#">
<span>Talk to Aurelio</span>
<svg viewBox="0 0 12 12" width="12" height="12" aria-hidden="true"><path d="M3 9 9 3M4 3h5v5" fill="none" stroke="currentColor" stroke-width="1.3" /></svg>
</a>
</div>
<div class="footer__person">
<img class="footer__face" src="assets/old-sailor.jpg" alt="Etched portrait of the yard master" width="40" height="40" />
<div class="footer__card">
<p class="footer__who">Aurelio Brandt, yard master</p>
<p class="footer__status">It is <time class="footer__clock">07:40</time> on the slipway. Write now and he replies by <span class="footer__reply">09:40</span>.</p>
<p class="footer__lines">
<a class="footer__mail" href="#">yard@kestoyard.example</a>
<span class="footer__copied" aria-live="polite"></span>
<a class="footer__mail" href="#">+31 20 000 0000</a>
</p>
</div>
</div>
</div>
<nav class="footer__groups" aria-label="Footer">
<div class="footer__group">
<h3 class="footer__heading">What we do</h3>
<a class="footer__link" href="#">All services</a>
<a class="footer__link" href="#">Haul out</a>
<a class="footer__link" href="#">Refit</a>
<a class="footer__link" href="#">Rebuild</a>
<a class="footer__link" href="#">Winter storage</a>
</div>
<div class="footer__group">
<h3 class="footer__heading">Work</h3>
<a class="footer__link" href="#">All work</a>
<a class="footer__link" href="#">Harbour Ferry No. 4</a>
<a class="footer__link" href="#">Low Tide Charter</a>
<a class="footer__link" href="#">Saltmarsh Rowing Club</a>
</div>
<div class="footer__group">
<h3 class="footer__heading">Yard</h3>
<a class="footer__link" href="#">About</a>
<a class="footer__link" href="#">Moorings</a>
<a class="footer__link" href="#">Contact</a>
<a class="footer__link" href="#">Journal</a>
</div>
<div class="footer__group">
<h3 class="footer__heading">Follow</h3>
<a class="footer__link" href="#">Tide log</a>
<a class="footer__link" href="#">Newsletter</a>
<a class="footer__link" href="#">Careers</a>
</div>
</nav>
<div class="footer__base">
<span>© 2027 Kesto Yard B.V., Slipway 3, Harbour Quarter</span>
<span class="footer__fine">
<a class="footer__small" href="#">Privacy</a>
<a class="footer__small" href="#">Terms</a>
<a class="footer__small" href="#">Legal</a>
</span>
</div>
</footer>
<style>
.footer {
display: grid;
gap: clamp(56px, 7vw, 96px);
padding: clamp(56px, 6vw, 88px) var(--edge) var(--space-l);
background: var(--ink);
color: var(--paper);
font-size: var(--text-s);
}
.footer__top {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: var(--space-xl) var(--space-l);
}
.footer__statement {
max-width: 19em;
margin: 0 0 var(--space-l);
font-size: var(--text-l);
line-height: 1.08;
letter-spacing: var(--track-sub);
}
.footer__talk {
display: flex;
align-items: center;
justify-content: space-between;
width: min(100%, 330px);
min-height: var(--control);
padding: 0 15px;
border-radius: var(--radius);
background: var(--paper);
color: var(--ink);
text-decoration: none;
transition: background-color var(--quick) var(--ease);
}
.footer__talk:hover,
.footer__talk:focus-visible {
background: var(--mist);
}
.footer__person {
display: grid;
grid-template-columns: 40px minmax(0, 1fr);
gap: var(--space-m);
align-content: start;
}
.footer__face {
width: 40px;
height: 40px;
border-radius: 2px;
object-fit: cover;
object-position: 50% 30%;
filter: grayscale(1);
}
.footer__card p {
margin: 0 0 var(--space-xs);
line-height: 1.36;
}
.footer__status {
color: var(--ink-faint);
}
.footer__clock,
.footer__reply {
color: var(--paper);
font-variant-numeric: tabular-nums;
}
.footer__lines {
display: flex;
flex-wrap: wrap;
gap: 0 var(--space-m);
}
.footer__mail {
display: inline-flex;
align-items: center;
min-height: 44px;
color: var(--paper);
text-decoration: none;
transition: color var(--quick) var(--ease);
}
.footer__copied:empty {
display: none;
}
.footer__copied {
align-self: center;
padding: 2px var(--space-xs);
border-radius: 2px;
background: var(--smoke);
font-size: var(--text-xs);
}
.footer__groups {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: var(--space-l);
}
.footer__group {
display: grid;
align-content: start;
}
.footer__heading {
margin: 0 0 var(--space-s);
color: var(--ink-faint);
font-size: var(--text-xs);
font-weight: 400;
}
.footer__link {
display: flex;
align-items: center;
min-height: 44px;
color: var(--paper);
text-decoration: none;
transition: color var(--quick) var(--ease);
}
.footer__link:hover,
.footer__mail:hover,
.footer__small:hover {
color: var(--ink-faint);
}
.footer__base {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: var(--space-s) var(--space-l);
padding-top: var(--space-m);
border-top: var(--rule) solid var(--smoke);
color: var(--ink-faint);
font-size: var(--text-xs);
}
.footer__fine {
display: flex;
gap: var(--space-m);
}
.footer__small {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 44px;
color: var(--ink-faint);
text-decoration: none;
transition: color var(--quick) var(--ease);
}
.footer a:focus-visible {
outline: 2px solid var(--paper);
outline-offset: 2px;
}
@media (max-width: 860px) {
.footer__top {
grid-template-columns: 1fr;
}
.footer__groups {
grid-template-columns: 1fr 1fr;
}
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.footer')) {
const clock = root.querySelector('.footer__clock');
const reply = root.querySelector('.footer__reply');
const pad = (n) => String(n).padStart(2, '0');
const tick = () => {
const now = new Date();
if (clock) clock.textContent = `${pad(now.getHours())}:${pad(now.getMinutes())}`;
if (reply) reply.textContent = `${pad((now.getHours() + 2) % 24)}:${pad(now.getMinutes())}`;
};
tick();
let timer = 0;
new IntersectionObserver((entries) => {
clearInterval(timer);
if (entries[0].isIntersecting) timer = setInterval(tick, 30000);
}).observe(root);
const mail = root.querySelector('.footer__mail');
const note = root.querySelector('.footer__copied');
mail?.addEventListener('click', (event) => {
event.preventDefault();
navigator.clipboard?.writeText(mail.textContent.trim()).catch(() => {});
if (note) {
note.textContent = 'Copied';
setTimeout(() => { note.textContent = ''; }, 1600);
}
});
}
})();
</script>
Style
- --ink #000000
- --paper #ffffff
- --mist #ededed
- --graphite #1c1c1c
- --smoke #3a3c3e
- --ink-soft #686c6d
- --ink-faint #a3a6a7
- --line #d6d8d9
- --field #058060
- --field-deep #046a50
- --line-on-field rgba(255, 255, 255, 0.28)
- --scrim rgba(0, 0, 0, 0.62)
- --scrim-soft rgba(0, 0, 0, 0.22)
- --swatch-lime #95bf47
- --swatch-blue #146ef5
- --swatch-red #f03e2f
- --swatch-violet #635bff
Type
- Inter Tight for headlines, body and UI, stands in for a Swiss neo-grotesk (Suisse Intl style) used at one weight, 400, everywhere, tracked tight at large sizes
Motion
- Every colour, background and opacity change runs 300 ms on cubic-bezier(0.22, 1, 0.36, 1).
- Hero pictures crossfade over 1.2 s every 6 s while slowly settling from 106% scale; the corner caption fades to the next project name.
- Service tiles rise 14 px and fade in on view, 70 ms apart, over 1.2 s.
- Work pictures fade in from 108% scale on view, 120 ms apart; on hover they scale to 103%.
Rules
- One sans serif at weight 400 only; hierarchy comes from size and tight negative tracking, never from bold.
- Section headlines sit top-left at 48 px with line height 1 and about -4% tracking; running text stays small at 14 to 16 px.
- Every box, chip, tile and button has the same 3 px corner; nothing casts a shadow.
- The navigation is three separate floating chips: a dark brand chip, a light grey link pill in the middle and a dark talk chip with a tiny portrait.
- Layouts split one third headline, two thirds content, and gutters between boxes are a narrow 10 px.
- Colour lives only in flat swatch tiles and one deep green band; the rest is white, light grey panels and black.
- Buttons are grey or white slabs with the label on the left and a small north-east arrow on the right.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500&display=swap");
:root {
/* Colour */
--ink: #000000; /* main text, black chips and the footer ground */
--paper: #ffffff; /* page background and white buttons */
--mist: #ededed; /* grey panels, link pill, secondary buttons */
--graphite: #1c1c1c; /* dark tiles and the floating brand chip */
--smoke: #3a3c3e; /* nav chips over a picture, hover on dark */
--ink-soft: #686c6d; /* secondary text on white */
--ink-faint: #a3a6a7; /* captions and labels on black */
--line: #d6d8d9; /* hairline rules on white */
--field: #058060; /* the green band */
--field-deep: #046a50; /* chips and pressed states on the green band */
--line-on-field: rgba(255, 255, 255, 0.28); /* hairlines on the green band */
--scrim: rgba(0, 0, 0, 0.62); /* dark veil at the foot of hero pictures */
--scrim-soft: rgba(0, 0, 0, 0.22); /* light veil over the whole hero picture */
--swatch-lime: #95bf47; /* service tile one */
--swatch-blue: #146ef5; /* service tile two */
--swatch-red: #f03e2f; /* service tile three */
--swatch-violet: #635bff; /* service tile four */
/* Type */
--font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* headlines, tight neo-grotesk */
--font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* running text and UI */
--text-xs: 12px; /* labels and fine print */
--text-s: 14px; /* UI, nav links, captions */
--text-m: 16px; /* body copy */
--text-l: 24px; /* sub heads and lead lines */
--display-m: clamp(34px, 4.2vw, 48px); /* section headlines */
--display-l: clamp(40px, 5.4vw, 72px); /* hero headline */
--track-display: -0.04em; /* tight tracking on large type */
--track-sub: -0.02em; /* tracking on sub heads */
/* Space */
--edge: clamp(16px, 2vw, 29px); /* page gutter */
--gap: 10px; /* gap between tiles and cards */
--space-xs: 4px; /* inside chips */
--space-s: 8px; /* tight stacks */
--space-m: 16px; /* default stack */
--space-l: 24px; /* between blocks */
--space-xl: 48px; /* between groups */
--section-space: clamp(72px, 9vw, 140px); /* between sections */
/* Shape */
--radius: 3px; /* every chip, tile, card and button */
--rule: 1px; /* hairline rules */
--control: 44px; /* height of buttons and inputs */
/* Motion */
--ease: cubic-bezier(0.22, 1, 0.36, 1); /* every transition, a long soft settle */
--quick: 300ms; /* hover and press colour changes */
--slow: 1200ms; /* picture fades and reveals */
--hold: 6000ms; /* how long each hero picture stays */
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--text-m)/1.32 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("swatch-tile-console"), 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