Team portraits
A centred line about the people, then three rounded portrait cards with name and role that lift on hover.
Part of the style
Crayon Sketch Serif
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/crayon-sketch-serif/team/figma.html?type=dot-grid-workbench
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/crayon-sketch-serif/team/figma.html?type=dot-grid-workbench and pass that whole HTML document to the html_to_figma tool, so the part "Team portraits" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap");
:root {
--font-display: "Geist", system-ui, sans-serif;
--font-body: "Geist", system-ui, sans-serif;
}
</style>
<section class="team">
<h2 class="team__label">Team</h2>
<div class="team__body">
<p class="team__statement team__item">A few senior people, working with you directly. <span class="team__soft">The ones you meet on the first call draw, write and build the work themselves.</span></p>
<ul class="team__people">
<li class="team__person team__item">
<img class="team__photo" src="assets/portrait-lady.jpg" alt="A painted portrait of a woman in a blue dress holding a parrot" width="665" height="800" loading="lazy">
<span class="team__name">Ines Varga</span>
<span class="team__role">Founder, identity</span>
</li>
<li class="team__person team__item">
<img class="team__photo" src="assets/portrait-grey.jpg" alt="A painted portrait of a grey-haired man in a dark coat" width="653" height="800" loading="lazy">
<span class="team__name">Abel Thorn</span>
<span class="team__role">Partner, product</span>
</li>
<li class="team__person team__item">
<img class="team__photo" src="assets/portrait-boy.jpg" alt="A pastel portrait of a young person in front of flowers" width="539" height="800" loading="lazy">
<span class="team__name">Juno Malik</span>
<span class="team__role">Lead, writing</span>
</li>
</ul>
</div>
</section>
<style>
.team {
display: grid;
grid-template-columns: var(--label-col) minmax(0, 1fr);
gap: var(--space-m);
padding: var(--space-l) var(--edge) var(--space-xl);
color: var(--ink);
}
.team__label {
margin: 0;
font-size: var(--text-m);
font-weight: 400;
line-height: var(--leading);
}
.team__body { display: grid; gap: var(--space-l); max-width: 820px; }
.team__statement {
max-width: 30em;
margin: 0;
font-size: var(--text-m);
line-height: var(--leading);
}
.team__soft { color: var(--ink-soft); }
.team__people {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--space-m) var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.team__person { display: grid; gap: 2px; }
.team__photo {
width: 100%;
aspect-ratio: 4 / 5;
height: auto;
margin-bottom: var(--space-s);
object-fit: cover;
object-position: 50% 25%;
border-radius: var(--radius-card);
box-shadow: 0 0 0 var(--rule) var(--ink-faint);
filter: saturate(0.8) brightness(1.04);
transition: box-shadow var(--slow) var(--ease), filter var(--slow) var(--ease), translate var(--slow) var(--ease);
}
.team__person:hover .team__photo { box-shadow: var(--shadow-lift); filter: saturate(1) brightness(1.04); translate: 0 -3px; }
.team__name { font-size: var(--text-m); line-height: 1.3; }
.team__role { color: var(--ink-soft); font-size: var(--text-s); line-height: 1.4; }
.team__item { opacity: 0; translate: 0 16px; transition: opacity var(--slow) var(--ease), translate var(--slow) var(--ease); transition-delay: calc(var(--order, 0) * 90ms); }
.team.is-seen .team__item { opacity: 1; translate: 0 0; }
@media (max-width: 720px) {
.team { grid-template-columns: minmax(0, 1fr); padding-top: var(--space-m); }
.team__people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
.team__item { opacity: 1; translate: none; transition: none; }
.team__person:hover .team__photo { translate: 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('.team')) {
root.querySelectorAll('.team__item').forEach((item, order) => item.style.setProperty('--order', order));
seen.observe(root);
}
})();
</script>