Portrait lineup
Two rows of grey-backdrop portrait tiles with vertical role labels and handwritten captions, drifting in opposite directions, with a heavy headline ticker sliding across the seam.
Part of the style
Grey Backdrop Lineup
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/grey-backdrop-lineup/lineup/figma.html?palette=dbd3d0f1dcf98bd1
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/grey-backdrop-lineup/lineup/figma.html?palette=dbd3d0f1dcf98bd1 and pass that whole HTML document to the html_to_figma tool, so the part "Portrait lineup" 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 */
:root {
--ink: #08150a;
--paper: #f2efe7;
--ink-mute: #b3aea4;
--night: #3b473c;
--on-night: #f2efe7;
--fog: #e0ddd4;
--backdrop: #d4d0c7;
--chip: #b9b5aa;
--rule-colour: #d5d2c9;
--shade: rgba(8, 21, 10, 0.42);
}
</style>
<section class="lineup" aria-label="The people who bake with us">
<div class="lineup__row" data-direction="left">
<div class="lineup__track">
<figure class="lineup__tile lineup__tile--narrow">
<img class="lineup__photo" src="assets/sailor.jpg" alt="Full-length portrait of a young man in a sailor's uniform" width="540" height="800" loading="eager" />
<figcaption class="lineup__cap">
<span class="lineup__role">Delivery Rider</span>
<span class="lineup__scale">Early <i class="lineup__dots" aria-hidden="true"></i> Late</span>
</figcaption>
</figure>
<figure class="lineup__tile lineup__tile--wide">
<img class="lineup__photo" src="assets/composer.jpg" alt="Seated portrait of a man with folded arms" width="500" height="800" loading="eager" />
<figcaption class="lineup__cap">
<span class="lineup__role">Night Baker</span>
<span class="lineup__craving">Craving:</span>
<span class="lineup__hand">a crust that sings</span>
<span class="lineup__line"><b>Task:</b> Shapes four hundred loaves before the first tram.</span>
<span class="lineup__line"><b>Skill:</b> Patience and very warm hands.</span>
</figcaption>
</figure>
<figure class="lineup__tile lineup__tile--narrow">
<img class="lineup__photo" src="assets/burgher.jpg" alt="Bronze figure of a standing man in a long robe" width="370" height="800" loading="eager" />
<figcaption class="lineup__cap">
<span class="lineup__role">Miller</span>
<span class="lineup__scale">Coarse <i class="lineup__dots" aria-hidden="true"></i> Fine</span>
</figcaption>
</figure>
<figure class="lineup__tile lineup__tile--wide">
<img class="lineup__photo" src="assets/young-girl.jpg" alt="Portrait of a girl with her hands on her head, wrapped in white cloth" width="540" height="800" loading="eager" />
<figcaption class="lineup__cap">
<span class="lineup__role">Pastry Lead</span>
<span class="lineup__craving">Craving:</span>
<span class="lineup__hand">one more fold</span>
<span class="lineup__line"><b>Task:</b> Laminates butter into ninety-six thin layers.</span>
<span class="lineup__line"><b>Skill:</b> A cold room and a steady pin.</span>
</figcaption>
</figure>
</div>
</div>
<div class="lineup__band">
<div class="lineup__ticker">
<p class="lineup__headline">Flour on our hands, ideas in the oven.</p>
</div>
<p class="lineup__tag">Knead boldly, <b>bake in the open.</b></p>
</div>
<div class="lineup__row" data-direction="right">
<div class="lineup__track">
<figure class="lineup__tile lineup__tile--wide">
<img class="lineup__photo" src="assets/engraver.jpg" alt="An older man seated at a drawing easel" width="520" height="800" loading="eager" />
<figcaption class="lineup__cap">
<span class="lineup__role">Bread Scientist</span>
<span class="lineup__craving">Craving:</span>
<span class="lineup__hand">the perfect crumb</span>
<span class="lineup__line"><b>Task:</b> Keeps the starter alive and logged.</span>
<span class="lineup__line"><b>Skill:</b> Notes on everything.</span>
</figcaption>
</figure>
<figure class="lineup__tile lineup__tile--narrow">
<img class="lineup__photo" src="assets/lady-gilchrist.jpg" alt="Full-length portrait of a young woman in a dark dress" width="561" height="800" loading="eager" />
<figcaption class="lineup__cap">
<span class="lineup__role">Shopkeeper</span>
<span class="lineup__scale">Quiet <i class="lineup__dots" aria-hidden="true"></i> Chatty</span>
</figcaption>
</figure>
<figure class="lineup__tile lineup__tile--narrow">
<img class="lineup__photo" src="assets/serf.jpg" alt="Bronze figure of a standing man with his arms crossed" width="450" height="800" loading="eager" />
<figcaption class="lineup__cap">
<span class="lineup__role">Apprentice</span>
<span class="lineup__scale">Mix <i class="lineup__dots" aria-hidden="true"></i> Shape</span>
</figcaption>
</figure>
<figure class="lineup__tile lineup__tile--wide">
<img class="lineup__photo" src="assets/sailor.jpg" alt="Full-length portrait of a young man in a sailor's uniform" width="540" height="800" loading="eager" />
<figcaption class="lineup__cap">
<span class="lineup__role">Head of Ovens</span>
<span class="lineup__craving">Craving:</span>
<span class="lineup__hand">a fire that holds</span>
<span class="lineup__line"><b>Task:</b> Reads the heat by the colour of the bricks.</span>
<span class="lineup__line"><b>Skill:</b> Early mornings, every one.</span>
</figcaption>
</figure>
</div>
</div>
</section>
<style>
.lineup {
--tile-h: clamp(250px, 24vw, 340px);
position: relative;
overflow: hidden;
padding-bottom: var(--space-l);
background: var(--paper);
}
.lineup__row {
overflow: hidden;
}
.lineup__track {
display: flex;
gap: var(--gap);
width: max-content;
padding-right: var(--gap);
animation: lineup-left var(--drift) linear infinite;
}
.lineup__row[data-direction="right"] .lineup__track {
animation-name: lineup-right;
}
.lineup__row:hover .lineup__track,
.lineup.is-paused .lineup__track,
.lineup.is-paused .lineup__headline {
animation-play-state: paused;
}
@keyframes lineup-left {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
@keyframes lineup-right {
from { transform: translateX(-50%); }
to { transform: translateX(0); }
}
.lineup__tile {
position: relative;
flex: none;
height: var(--tile-h);
margin: 0;
overflow: hidden;
background: var(--backdrop);
border-radius: var(--radius-none);
}
.lineup__tile--narrow {
width: calc(var(--tile-h) * 0.67);
}
.lineup__tile--wide {
width: var(--tile-h);
}
.lineup__photo {
width: 100%;
height: 100%;
object-fit: cover;
object-position: 50% 30%;
filter: grayscale(1) contrast(1.05) brightness(1.2);
mix-blend-mode: multiply;
scale: 1.16;
transition: scale var(--time-slow) var(--ease);
}
.lineup__tile:hover .lineup__photo {
scale: 1.22;
}
.lineup__tile--wide::after {
content: "";
position: absolute;
inset: 45% 0 0;
background: linear-gradient(to bottom, transparent, var(--shade));
pointer-events: none;
}
.lineup__cap {
position: absolute;
inset: 0;
z-index: 1;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: var(--space-s) var(--space-s) var(--space-s) var(--space-s);
color: var(--paper);
font-family: var(--font-wide);
font-stretch: var(--wide);
font-size: 10px;
letter-spacing: 0;
line-height: 1.35;
}
.lineup__role {
position: absolute;
top: var(--space-s);
right: var(--space-s);
writing-mode: vertical-rl;
font-size: 10px;
font-weight: 400;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.lineup__craving {
font-size: 10px;
text-transform: uppercase;
}
.lineup__hand {
margin: 0 0 var(--space-xs);
font-family: var(--font-hand);
font-stretch: normal;
font-size: clamp(24px, 2.4vw, 34px);
font-weight: 700;
line-height: 1;
}
.lineup__line {
display: grid;
grid-template-columns: 3.6em 1fr;
max-width: 30ch;
}
.lineup__line b {
font-weight: 400;
text-transform: uppercase;
}
.lineup__scale {
display: flex;
align-items: center;
gap: var(--space-xs);
color: var(--paper);
font-size: 10px;
text-transform: uppercase;
mix-blend-mode: difference;
}
.lineup__dots {
flex: 1;
height: 5px;
background: radial-gradient(circle, currentColor 1.4px, transparent 1.6px) 0 50% / 7px 5px repeat-x;
}
.lineup__band {
position: relative;
z-index: 2;
margin: calc(var(--display-l) * -0.28) 0;
pointer-events: none;
}
.lineup__ticker {
overflow: hidden;
}
.lineup__headline {
display: flex;
width: max-content;
margin: 0;
color: var(--ink);
font-family: var(--font-body);
font-size: var(--display-l);
font-weight: 900;
letter-spacing: 0.02em;
line-height: 1.1;
white-space: nowrap;
animation: lineup-left 28s linear infinite;
}
.lineup__headline span {
padding-right: 0.8em;
}
.lineup__tag {
position: absolute;
right: var(--edge);
bottom: calc(var(--space-s) * -1 - 1em);
margin: 0;
padding: 0 var(--space-xs);
background: var(--paper);
font-family: var(--font-wide);
font-stretch: var(--wide);
font-size: clamp(13px, 1.3vw, 18px);
font-weight: 300;
letter-spacing: 0;
}
.lineup__tag b {
font-weight: 800;
}
@media (max-width: 600px) {
.lineup {
--tile-h: 300px;
}
.lineup__tag {
right: var(--space-s);
}
}
@media (prefers-reduced-motion: reduce) {
.lineup__track,
.lineup__headline {
animation: none;
}
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.lineup')) {
for (const track of root.querySelectorAll('.lineup__track')) {
const set = [...track.children];
for (let round = 0; round < 3; round += 1) {
for (const tile of set) {
const copy = tile.cloneNode(true);
copy.setAttribute('aria-hidden', 'true');
track.append(copy);
}
}
}
const line = root.querySelector('.lineup__headline');
if (line) {
const text = line.textContent.trim();
line.textContent = '';
for (let i = 0; i < 4; i += 1) {
const span = document.createElement('span');
span.textContent = text;
if (i > 0) span.setAttribute('aria-hidden', 'true');
line.append(span);
}
}
new IntersectionObserver((entries) => {
for (const entry of entries) root.classList.toggle('is-paused', !entry.isIntersecting);
}).observe(root);
}
})();
</script>