Concertina Card Fan
White regular grotesk on a flat mid-grey page, with pictures repeated onto dozens of square cards that fan open and shut in 3D like a concertina behind the type. Suits festivals, conferences and media-art programmes that want one moving signature and a quiet, typographic schedule.
Parts
Sideways nav rail
A header with a small sideways wordmark and date block on the left and the menu turned a quarter turn in two short columns on the right, led by a white pill for tickets.
Code
React For Figma<header class="rail">
<a class="rail__home" href="#">
<span class="rail__wordmark">Foldover Days</span>
<span class="rail__meta">Moving image & sound<br>4–6 June 2027<br>Old Mill, Hall 4</span>
</a>
<nav class="rail__nav" aria-label="Main">
<a class="rail__pill" href="#"><span class="rail__arrow" aria-hidden="true">↖</span>Passes</a>
<a class="rail__link rail__link--a" href="#">Lineup</a>
<a class="rail__link rail__link--b" href="#">Programme</a>
<a class="rail__link rail__link--c" href="#">Getting there</a>
<a class="rail__link rail__link--d" href="#">About</a>
</nav>
</header>
<style>
.rail {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: var(--gap);
padding: var(--space-s) var(--space-xs) var(--space-m) var(--edge);
background: var(--paper);
color: var(--ink);
font-size: var(--text-xs);
line-height: var(--leading-text);
}
.rail__home {
display: grid;
gap: var(--space-xs);
padding-top: var(--space-xs);
color: inherit;
text-decoration: none;
}
.rail__wordmark {
font-family: var(--font-display);
font-size: var(--text-l);
line-height: var(--leading-tight);
letter-spacing: -0.01em;
}
.rail__meta {
max-width: 18em;
}
.rail__nav {
display: grid;
grid-template-columns: 44px 44px;
grid-template-areas:
". pill"
"b a"
"d c";
row-gap: var(--space-xs);
justify-items: center;
flex-shrink: 0;
}
.rail__pill,
.rail__link {
writing-mode: vertical-rl;
color: inherit;
text-decoration: none;
white-space: nowrap;
transition: opacity var(--quick) var(--ease);
}
.rail__link {
display: flex;
justify-content: flex-start;
align-items: center;
min-width: 44px;
min-height: 44px;
}
.rail__link--a { grid-area: a; }
.rail__link--b { grid-area: b; }
.rail__link--c { grid-area: c; }
.rail__link--d { grid-area: d; }
.rail__link:hover,
.rail__link:focus-visible,
.rail__home:hover .rail__wordmark {
opacity: 0.55;
}
.rail__link:focus-visible,
.rail__pill:focus-visible,
.rail__home:focus-visible {
outline: var(--line) solid var(--ink);
outline-offset: 2px;
}
.rail__pill {
grid-area: pill;
display: flex;
align-items: center;
gap: 0.25em;
min-width: 44px;
padding: 0.5em 0.6em;
border: var(--line) solid var(--ink);
border-radius: var(--radius-pill);
background: var(--ink);
color: var(--paper);
transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
}
.rail__pill:hover {
background: transparent;
color: var(--ink);
}
.rail__arrow {
writing-mode: horizontal-tb;
line-height: 1;
}
@media (max-width: 40rem) {
.rail__wordmark {
font-size: var(--text-m);
}
}
</style>
Concertina hero
The signature: colour pictures repeated on thirty square cards that fold open and shut in 3D across the screen, with the event title running sideways down the centre.
Code
React For Figma<section class="hero" aria-labelledby="hero-title">
<div class="hero__source">
<img src="assets/bouquet.jpg" alt="A painted bouquet of tulips, irises and roses in a clay vase" width="543" height="800">
<img src="assets/chrysanthemums.jpg" alt="A painted vase of chrysanthemums on a blue cloth" width="800" height="666">
<img src="assets/magnolias.jpg" alt="White magnolias lying on green velvet" width="800" height="492">
</div>
<div class="hero__fan" data-count="34" data-run="6" aria-hidden="true"></div>
<h1 class="hero__title" id="hero-title">
<span class="hero__line">
<span class="hero__word">Foldover</span>
<span class="hero__word">Days</span>
<span class="hero__word">4–6th</span>
<span class="hero__word">20</span>
<span class="hero__word">Old Mill</span>
</span>
<span class="hero__line">
<span class="hero__word">Moving</span>
<span class="hero__word">Image</span>
<span class="hero__word">June</span>
<span class="hero__word">27</span>
<span class="hero__word">Hall 4</span>
</span>
</h1>
</section>
<style>
.hero {
position: relative;
height: clamp(600px, 62.5vw, 900px);
overflow: hidden;
background: var(--paper);
color: var(--ink);
}
.hero__source {
display: none;
}
.hero__fan {
position: absolute;
inset: 0;
perspective: 1300px;
perspective-origin: 50% 45%;
transform-style: preserve-3d;
}
.hero__card {
position: absolute;
left: 50%;
top: 50%;
--card-w: clamp(150px, 26vw, 380px);
--card-h: calc(var(--card-w) * 1.25);
width: var(--card-w);
height: var(--card-h);
margin: calc(var(--card-h) / -2) 0 0 calc(var(--card-w) / -2);
border: var(--line) solid var(--card-edge);
border-radius: var(--radius-card);
background: var(--card-edge);
will-change: transform;
}
.hero__card::after {
content: "";
position: absolute;
inset: 0;
background: var(--card-edge);
opacity: var(--shade, 0);
}
.hero__img {
width: 100%;
height: 100%;
object-fit: cover;
}
.hero__title {
position: absolute;
inset: var(--space-s) 0;
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.15em;
margin: 0;
writing-mode: vertical-rl;
white-space: nowrap;
font-size: var(--text-s);
font-weight: 400;
line-height: var(--leading-solid);
pointer-events: none;
}
.hero__line {
display: flex;
justify-content: space-between;
gap: 0.6em;
inline-size: 100%;
}
.hero__word {
opacity: 0;
transition: opacity var(--slow) var(--ease);
transition-delay: calc(var(--order, 0) * 70ms);
}
.hero.is-ready .hero__word {
opacity: 1;
}
@media (max-width: 40rem) {
.hero__card {
--card-w: 64vw;
--card-h: calc(var(--card-w) * 0.8);
}
.hero__title {
font-size: var(--text-m);
}
}
@media (prefers-reduced-motion: reduce) {
.hero__word {
opacity: 1;
transition: none;
}
}
</style>
<script>
(() => {
const still = matchMedia('(prefers-reduced-motion: reduce)');
const easeOut = (x) => (x >= 1 ? 1 : 1 - Math.pow(2, -10 * x));
function setup(root) {
const stage = root.querySelector('.hero__fan');
const pictures = [...root.querySelectorAll('.hero__source img')];
const count = Number(stage.dataset.count) || 30;
const run = Number(stage.dataset.run) || 5;
const cards = [];
for (let i = 0; i < count; i += 1) {
const card = document.createElement('div');
card.className = 'hero__card';
const img = pictures[Math.floor(i / run) % pictures.length].cloneNode();
img.className = 'hero__img';
img.alt = '';
card.append(img);
stage.append(card);
cards.push(card);
}
root.querySelectorAll('.hero__word').forEach((word, order) => word.style.setProperty('--order', order));
const start = performance.now();
let frame = 0;
const paint = (now) => {
const upright = stage.clientHeight > stage.clientWidth;
const length = upright ? stage.clientHeight : stage.clientWidth;
const spacing = Math.max(length * 1.08 / count, 12);
const seconds = now / 1000;
cards.forEach((card, i) => {
const angle = 74 * Math.sin(seconds * 0.55 - i * 0.21);
const grow = still.matches ? 1 : easeOut(Math.max(0, (now - start - Math.abs(i - count / 2) * 30) / 1000));
const x = (i - (count - 1) / 2) * spacing * grow;
const lift = Math.sin(i * 0.37 + seconds * 0.3) * 4;
card.style.transform = upright
? `translate3d(${lift}%, ${x}px, 0) rotateX(${angle}deg) rotateZ(4deg) scale(${grow})`
: `translate3d(${x}px, ${lift}%, 0) rotateY(${angle}deg) rotateZ(-4deg) scale(${grow})`;
card.style.setProperty('--shade', (Math.abs(angle) / 74 * 0.55).toFixed(3));
});
};
const tick = (now) => {
paint(now);
frame = requestAnimationFrame(tick);
};
new IntersectionObserver(([entry]) => {
cancelAnimationFrame(frame);
if (!entry.isIntersecting) return;
root.classList.add('is-ready');
if (still.matches) paint(2600);
else {
frame = requestAnimationFrame(tick);
}
}).observe(root);
new ResizeObserver(() => paint(performance.now())).observe(stage);
}
document.querySelectorAll('.hero').forEach(setup);
})();
</script>
Lineup over a grey fan
Ruled rows of big names with city and country codes on the left and a corner arrow on the right, laid over a tilted, greyscale card fan.
Code
React For Figma<section class="lineup" aria-labelledby="lineup-label">
<div class="lineup__source">
<img src="assets/wave.jpg" alt="A woodblock print of a great wave curling over boats" width="800" height="554">
<img src="assets/clouds.jpg" alt="A black and white photograph of clouds over a dark hill" width="649" height="800">
</div>
<div class="lineup__stage" aria-hidden="true">
<div class="lineup__fan" data-count="30" data-run="8"></div>
</div>
<div class="lineup__inner">
<h2 class="lineup__label" id="lineup-label">Lineup 2027</h2>
<ul class="lineup__list">
<li class="lineup__row">
<a class="lineup__link" href="#">
<span class="lineup__place">Tampere<br>FIN</span>
<span class="lineup__name">Ines Valkonen</span>
<span class="lineup__arrow" aria-hidden="true">↙</span>
</a>
</li>
<li class="lineup__row">
<a class="lineup__link" href="#">
<span class="lineup__place">Porto<br>POR</span>
<span class="lineup__name">Tomás Reixa Lobo</span>
<span class="lineup__arrow" aria-hidden="true">↙</span>
</a>
</li>
<li class="lineup__row">
<a class="lineup__link" href="#">
<span class="lineup__place">Accra<br>GHA</span>
<span class="lineup__name">Ama Okonjo</span>
<span class="lineup__arrow" aria-hidden="true">↙</span>
</a>
</li>
<li class="lineup__row">
<a class="lineup__link" href="#">
<span class="lineup__place">Brno<br>CZE</span>
<span class="lineup__name">Studio Halbmond</span>
<span class="lineup__arrow" aria-hidden="true">↙</span>
</a>
</li>
<li class="lineup__row">
<a class="lineup__link" href="#">
<span class="lineup__place">Archive</span>
<span class="lineup__name">Earlier guests</span>
<span class="lineup__arrow" aria-hidden="true">↙</span>
</a>
</li>
</ul>
</div>
</section>
<style>
.lineup {
position: relative;
overflow: hidden;
background: var(--paper);
color: var(--ink);
}
.lineup__source {
display: none;
}
.lineup__stage {
position: absolute;
inset: 0;
perspective: 1200px;
pointer-events: none;
}
.lineup__fan {
position: absolute;
inset: -20% -10%;
transform: rotate(-32deg);
transform-style: preserve-3d;
}
.lineup__card {
--card-w: clamp(140px, 22vw, 340px);
--card-h: calc(var(--card-w) * 1.3);
position: absolute;
left: 50%;
top: 50%;
width: var(--card-w);
height: var(--card-h);
margin: calc(var(--card-h) / -2) 0 0 calc(var(--card-w) / -2);
border: var(--line) solid var(--card-edge);
border-radius: var(--radius-card);
background: var(--card-edge);
will-change: transform;
}
.lineup__card::after {
content: "";
position: absolute;
inset: 0;
background: var(--card-edge);
opacity: var(--shade, 0);
}
.lineup__img {
width: 100%;
height: 100%;
object-fit: cover;
filter: grayscale(1) contrast(1.3);
}
.lineup__inner {
position: relative;
padding: var(--space-m) var(--edge) var(--section-space);
}
.lineup__label {
margin: 0 0 var(--space-s);
font-size: var(--text-xs);
font-weight: 400;
line-height: var(--leading-text);
}
.lineup__list {
margin: 0;
padding: 0;
list-style: none;
border-top: var(--line) solid var(--rule);
}
.lineup__row {
border-bottom: var(--line) solid var(--rule);
}
.lineup__link {
display: grid;
grid-template-columns: var(--left-column) minmax(0, 1fr) auto;
gap: var(--gap);
align-items: start;
padding: var(--space-m) 0;
color: inherit;
text-decoration: none;
}
.lineup__place {
padding-top: 0.15em;
font-size: var(--text-m);
line-height: var(--leading-solid);
}
.lineup__name {
font-family: var(--font-display);
font-size: var(--text-l);
line-height: var(--leading-solid);
letter-spacing: -0.01em;
transition: translate var(--quick) var(--ease);
}
.lineup__arrow {
align-self: end;
font-size: var(--text-m);
line-height: 1;
transition: rotate var(--quick) var(--ease-sine);
}
.lineup__link:hover .lineup__name,
.lineup__link:focus-visible .lineup__name {
translate: 0.12em 0;
}
.lineup__link:hover .lineup__arrow,
.lineup__link:focus-visible .lineup__arrow {
rotate: 180deg;
}
.lineup__link:focus-visible {
outline: var(--line) solid var(--ink);
outline-offset: 4px;
}
@media (max-width: 40rem) {
.lineup__link {
grid-template-columns: minmax(0, 1fr) auto;
row-gap: var(--space-xs);
padding: var(--space-s) 0;
}
.lineup__place {
grid-column: 1 / -1;
font-size: var(--text-xs);
}
}
</style>
<script>
(() => {
const still = matchMedia('(prefers-reduced-motion: reduce)');
function setup(root) {
const stage = root.querySelector('.lineup__fan');
const pictures = [...root.querySelectorAll('.lineup__source img')];
const count = Number(stage.dataset.count) || 30;
const run = Number(stage.dataset.run) || 6;
const cards = [];
for (let i = 0; i < count; i += 1) {
const card = document.createElement('div');
card.className = 'lineup__card';
const img = pictures[Math.floor(i / run) % pictures.length].cloneNode();
img.className = 'lineup__img';
img.alt = '';
card.append(img);
stage.append(card);
cards.push(card);
}
let frame = 0;
const paint = (now) => {
const spacing = Math.max(stage.clientWidth * 0.9 / count, 12);
const seconds = now / 1000;
cards.forEach((card, i) => {
const angle = 70 * Math.sin(seconds * 0.4 + i * 0.16);
const x = (i - (count - 1) / 2) * spacing;
card.style.transform = `translate3d(${x}px, 0, ${Math.cos(i * 0.2) * 60}px) rotateY(${angle}deg)`;
card.style.setProperty('--shade', (Math.abs(angle) / 70 * 0.5).toFixed(3));
});
};
const tick = (now) => {
paint(now);
frame = requestAnimationFrame(tick);
};
new IntersectionObserver(([entry]) => {
cancelAnimationFrame(frame);
if (!entry.isIntersecting) return;
if (still.matches) paint(4000);
else frame = requestAnimationFrame(tick);
}).observe(root);
new ResizeObserver(() => paint(still.matches ? 4000 : performance.now())).observe(stage);
}
document.querySelectorAll('.lineup').forEach(setup);
})();
</script>
Programme rows
A huge section head over a fan, then rows of date, title and a short paragraph with stacked capital links.
Code
React For Figma<section class="programme" aria-labelledby="programme-title">
<div class="programme__source">
<img src="assets/red-box.jpg" alt="A lacquered wooden box with an iron clasp" width="658" height="800">
<img src="assets/clouds.jpg" alt="A black and white photograph of clouds over a dark hill" width="649" height="800">
</div>
<div class="programme__stage" aria-hidden="true">
<div class="programme__fan" data-count="26" data-run="7"></div>
</div>
<div class="programme__inner">
<h2 class="programme__title" id="programme-title">Programme</h2>
<ol class="programme__list">
<li class="programme__row">
<p class="programme__when">Thu<br>4 June<br>18:30</p>
<h3 class="programme__name">Opening Night & the Foldover Prize</h3>
<div class="programme__body">
<p class="programme__text">Doors open on the mill floor for the first screening of the year, three short sound pieces and the prize for a first moving-image work. The evening is free; a seat is not.</p>
<p class="programme__links"><a class="programme__more" href="#">Book a seat</a><a class="programme__more" href="#">More about the prize</a></p>
</div>
</li>
<li class="programme__row">
<p class="programme__when">Fri<br>5 June</p>
<h3 class="programme__name">Studio Day</h3>
<div class="programme__body">
<p class="programme__text">Eight small studios run by the guests: projection mapping, field recording, slow animation and a whole room for paper cameras.</p>
<p class="programme__links"><a class="programme__more" href="#">See the studios</a></p>
</div>
</li>
<li class="programme__row">
<p class="programme__when">Sat<br>6 June</p>
<h3 class="programme__name">Talks in Hall 4</h3>
<div class="programme__body">
<p class="programme__text">One long day of talks under a single theme, Fold, with a break for the river.</p>
<p class="programme__links"><a class="programme__more" href="#">Running order</a></p>
</div>
</li>
</ol>
</div>
</section>
<style>
.programme {
position: relative;
overflow: hidden;
background: var(--paper);
color: var(--ink);
}
.programme__source {
display: none;
}
.programme__stage {
position: absolute;
inset: 0 0 auto;
height: clamp(420px, 46vw, 720px);
perspective: 1000px;
pointer-events: none;
}
.programme__fan {
position: absolute;
inset: 0 -15% 0 0;
transform: rotate(14deg) translateY(-6%);
transform-style: preserve-3d;
}
.programme__card {
--card-w: clamp(120px, 20vw, 300px);
--card-h: calc(var(--card-w) * 1.25);
position: absolute;
left: 50%;
top: 50%;
width: var(--card-w);
height: var(--card-h);
margin: calc(var(--card-h) / -2) 0 0 calc(var(--card-w) / -2);
border: var(--line) solid var(--card-edge);
border-radius: var(--radius-card);
background: var(--card-edge);
will-change: transform;
}
.programme__card::after {
content: "";
position: absolute;
inset: 0;
background: var(--card-edge);
opacity: var(--shade, 0);
}
.programme__img {
width: 100%;
height: 100%;
object-fit: cover;
filter: grayscale(1) contrast(1.4) brightness(1.05);
}
.programme__inner {
position: relative;
padding: var(--section-space) var(--edge);
}
.programme__title {
margin: 0 0 var(--section-space);
font-family: var(--font-display);
font-size: var(--text-xl);
font-weight: 400;
line-height: var(--leading-tight);
letter-spacing: -0.015em;
}
.programme__list {
margin: 0;
padding: 0;
list-style: none;
}
.programme__row {
display: grid;
grid-template-columns: var(--left-column) minmax(0, 1fr) minmax(0, 1.25fr);
gap: var(--gap);
padding: var(--space-m) 0 var(--space-l);
border-top: var(--line) solid var(--rule);
}
.programme__when,
.programme__text,
.programme__links {
margin: 0;
}
.programme__name {
margin: 0;
font-family: var(--font-display);
font-size: var(--text-m);
font-weight: 400;
line-height: var(--leading-solid);
text-wrap: balance;
}
.programme__body {
display: grid;
gap: var(--space-s);
max-width: 34em;
}
.programme__links {
display: grid;
justify-items: start;
}
.programme__more {
display: inline-flex;
align-items: center;
min-height: 44px;
color: inherit;
text-decoration: none;
text-transform: uppercase;
transition: opacity var(--quick) var(--ease);
}
.programme__more:hover,
.programme__more:focus-visible {
opacity: 0.55;
}
.programme__more:focus-visible {
outline: var(--line) solid var(--ink);
}
@media (max-width: 48rem) {
.programme__row {
grid-template-columns: minmax(0, 1fr);
gap: var(--space-xs);
}
.programme__name {
margin-bottom: var(--space-xs);
}
}
</style>
<script>
(() => {
const still = matchMedia('(prefers-reduced-motion: reduce)');
function setup(root) {
const stage = root.querySelector('.programme__fan');
const pictures = [...root.querySelectorAll('.programme__source img')];
const count = Number(stage.dataset.count) || 26;
const run = Number(stage.dataset.run) || 6;
const cards = [];
for (let i = 0; i < count; i += 1) {
const card = document.createElement('div');
card.className = 'programme__card';
const img = pictures[Math.floor(i / run) % pictures.length].cloneNode();
img.className = 'programme__img';
img.alt = '';
card.append(img);
stage.append(card);
cards.push(card);
}
let frame = 0;
const paint = (now) => {
const spacing = Math.max(stage.clientWidth * 0.8 / count, 12);
const seconds = now / 1000;
cards.forEach((card, i) => {
const angle = 66 * Math.sin(seconds * 0.35 - i * 0.24);
const x = (i - (count - 1) / 2) * spacing;
card.style.transform = `translate3d(${x}px, 0, 0) rotateY(${angle}deg) rotateX(12deg)`;
card.style.setProperty('--shade', (Math.abs(angle) / 66 * 0.5).toFixed(3));
});
};
const tick = (now) => {
paint(now);
frame = requestAnimationFrame(tick);
};
new IntersectionObserver(([entry]) => {
cancelAnimationFrame(frame);
if (!entry.isIntersecting) return;
if (still.matches) paint(3000);
else frame = requestAnimationFrame(tick);
}).observe(root);
new ResizeObserver(() => paint(still.matches ? 3000 : performance.now())).observe(stage);
}
document.querySelectorAll('.programme').forEach(setup);
})();
</script>
Day schedule
A day's running order: times in a narrow column, block names and talk titles beside them, grouped by hairlines.
Code
React For Figma<section class="schedule" aria-labelledby="schedule-title">
<p class="schedule__day">Sat<br>6 June</p>
<div class="schedule__main">
<h2 class="schedule__title" id="schedule-title">Talks in Hall 4</h2>
<p class="schedule__intro">About three hundred guests, one room and one theme. This year the day is built around Fold: things that open, close and open again.</p>
<table class="schedule__table">
<caption class="schedule__caption">Running order, Saturday</caption>
<tbody class="schedule__group">
<tr class="schedule__row"><th class="schedule__time" scope="row">09:00</th><td class="schedule__item">Doors open, coffee on the mill floor</td></tr>
<tr class="schedule__row"><th class="schedule__time" scope="row">09:30</th><td class="schedule__item">Welcome, Hanne Morel, host of the day</td></tr>
</tbody>
<tbody class="schedule__group">
<tr class="schedule__row"><th class="schedule__time" scope="row">Fold I</th><td class="schedule__item schedule__item--block">Paper and light</td></tr>
<tr class="schedule__row"><th class="schedule__time" scope="row">10:10</th><td class="schedule__item">Ines Valkonen, Slow Animation</td></tr>
<tr class="schedule__row is-now"><th class="schedule__time" scope="row">10:30</th><td class="schedule__item">Tomás Reixa Lobo, Cameras Made of Card <span class="schedule__now">Now</span></td></tr>
<tr class="schedule__row"><th class="schedule__time" scope="row">10:50</th><td class="schedule__item">Break by the river</td></tr>
</tbody>
<tbody class="schedule__group">
<tr class="schedule__row"><th class="schedule__time" scope="row">Fold II</th><td class="schedule__item schedule__item--block">Sound in rooms</td></tr>
<tr class="schedule__row"><th class="schedule__time" scope="row">11:20</th><td class="schedule__item">Ama Okonjo, Listening to Walls</td></tr>
<tr class="schedule__row"><th class="schedule__time" scope="row">11:40</th><td class="schedule__item">Studio Halbmond, Twelve Speakers in a Silo</td></tr>
<tr class="schedule__row"><th class="schedule__time" scope="row">12:30</th><td class="schedule__item">Lunch</td></tr>
</tbody>
</table>
</div>
</section>
<style>
.schedule {
display: grid;
grid-template-columns: var(--left-column) minmax(0, 1fr);
gap: var(--gap);
padding: var(--section-space) var(--edge);
background: var(--paper);
color: var(--ink);
font-size: var(--text-xs);
line-height: var(--leading-text);
}
.schedule__day {
margin: 0;
padding-top: 0.4em;
}
.schedule__main {
max-width: 48rem;
}
.schedule__title {
margin: 0 0 var(--space-s);
font-family: var(--font-display);
font-size: var(--text-m);
font-weight: 400;
line-height: var(--leading-solid);
}
.schedule__intro {
max-width: 34em;
margin: 0 0 var(--space-m);
}
.schedule__table {
width: 100%;
border-collapse: collapse;
}
.schedule__caption {
padding-bottom: var(--space-xs);
text-align: left;
text-transform: uppercase;
}
.schedule__group {
border-top: var(--line) solid var(--rule);
}
.schedule__group::before {
content: "";
display: table-row;
height: var(--space-xs);
}
.schedule__group::after {
content: "";
display: table-row;
height: var(--space-s);
}
.schedule__time {
width: 6.5em;
padding: 0 var(--space-xs) 0 0;
font-weight: 400;
text-align: left;
vertical-align: top;
font-variant-numeric: tabular-nums;
}
.schedule__item {
padding: 0;
vertical-align: top;
}
.schedule__row {
transition: opacity var(--quick) var(--ease);
}
.schedule__table:hover .schedule__row:not(:hover) {
opacity: 0.6;
}
.schedule__now {
display: inline-block;
margin-left: 0.4em;
padding: 0 0.6em;
border-radius: var(--radius-pill);
background: var(--ink);
color: var(--paper);
}
@media (max-width: 40rem) {
.schedule {
grid-template-columns: minmax(0, 1fr);
}
.schedule__time {
width: 4.5em;
}
}
</style>
Getting there
A big head and two columns of travel notes with capital links, over a slow greyscale fan in the corner.
Code
React For Figma<section class="directions" aria-labelledby="directions-title">
<div class="directions__source">
<img src="assets/magnolias.jpg" alt="White magnolias lying on green velvet" width="800" height="492">
</div>
<div class="directions__stage" aria-hidden="true">
<div class="directions__fan" data-count="24"></div>
</div>
<div class="directions__inner">
<h2 class="directions__title" id="directions-title">Getting there</h2>
<div class="directions__columns">
<div class="directions__block">
<h3 class="directions__head">By train</h3>
<p class="directions__text">The mill is a twelve-minute walk from the central station, along the river path. Trains run every quarter hour until midnight.</p>
<p class="directions__address">Old Mill, Hall 4<br>Weir Lane 9<br>Riverside North</p>
<p class="directions__links"><a class="directions__link" href="#">Open the map</a><a class="directions__link" href="#">Timetables</a></p>
</div>
<div class="directions__block">
<h3 class="directions__head">By bike or car</h3>
<p class="directions__text">Racks for two hundred bikes at the gate. There is no parking at the mill itself; the park-and-ride by the ring road is a short shuttle away.</p>
<p class="directions__address">Shuttle every 20 min<br>08:00 to 23:00</p>
<p class="directions__links"><a class="directions__link" href="#">Park and ride</a><a class="directions__link" href="#">Where to sleep</a></p>
</div>
</div>
</div>
</section>
<style>
.directions {
position: relative;
overflow: hidden;
background: var(--paper);
color: var(--ink);
font-size: var(--text-xs);
line-height: var(--leading-text);
}
.directions__source {
display: none;
}
.directions__stage {
position: absolute;
inset: 0;
perspective: 900px;
pointer-events: none;
}
.directions__fan {
position: absolute;
inset: 25% -30% -25% 20%;
transform: rotate(-38deg);
transform-style: preserve-3d;
}
.directions__card {
--card-w: clamp(130px, 21vw, 320px);
--card-h: calc(var(--card-w) * 0.75);
position: absolute;
left: 50%;
top: 50%;
width: var(--card-w);
height: var(--card-h);
margin: calc(var(--card-h) / -2) 0 0 calc(var(--card-w) / -2);
border: var(--line) solid var(--card-edge);
border-radius: var(--radius-card);
background: var(--card-edge);
will-change: transform;
}
.directions__card::after {
content: "";
position: absolute;
inset: 0;
background: var(--card-edge);
opacity: var(--shade, 0);
}
.directions__img {
width: 100%;
height: 100%;
object-fit: cover;
filter: grayscale(1) contrast(1.5);
}
.directions__inner {
position: relative;
padding: var(--section-space) var(--edge);
}
.directions__title {
margin: 0 0 var(--section-space);
font-family: var(--font-display);
font-size: var(--text-l);
font-weight: 400;
line-height: var(--leading-solid);
letter-spacing: -0.01em;
}
.directions__columns {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--gap);
max-width: 64rem;
}
.directions__block {
display: grid;
align-content: start;
gap: var(--space-s);
}
.directions__head {
margin: 0;
font-size: var(--text-m);
font-weight: 400;
line-height: var(--leading-solid);
}
.directions__text,
.directions__address,
.directions__links {
max-width: 28em;
margin: 0;
}
.directions__links {
display: grid;
justify-items: start;
}
.directions__link {
display: inline-flex;
align-items: center;
min-height: 44px;
color: inherit;
text-decoration: none;
text-transform: uppercase;
transition: opacity var(--quick) var(--ease);
}
.directions__link:hover,
.directions__link:focus-visible {
opacity: 0.55;
}
.directions__link:focus-visible {
outline: var(--line) solid var(--ink);
}
@media (max-width: 40rem) {
.directions__columns {
grid-template-columns: minmax(0, 1fr);
row-gap: var(--space-m);
}
}
</style>
<script>
(() => {
const still = matchMedia('(prefers-reduced-motion: reduce)');
function setup(root) {
const stage = root.querySelector('.directions__fan');
const pictures = [...root.querySelectorAll('.directions__source img')];
const count = Number(stage.dataset.count) || 24;
const cards = [];
for (let i = 0; i < count; i += 1) {
const card = document.createElement('div');
card.className = 'directions__card';
const img = pictures[i % pictures.length].cloneNode();
img.className = 'directions__img';
img.alt = '';
card.append(img);
stage.append(card);
cards.push(card);
}
let frame = 0;
const paint = (now) => {
const spacing = Math.max(stage.clientWidth * 0.9 / count, 12);
const seconds = now / 1000;
cards.forEach((card, i) => {
const angle = 78 * Math.sin(seconds * 0.3 + i * 0.13);
const x = (i - (count - 1) / 2) * spacing;
card.style.transform = `translate3d(${x}px, 0, 0) rotateY(${angle}deg)`;
card.style.setProperty('--shade', (Math.abs(angle) / 78 * 0.5).toFixed(3));
});
};
const tick = (now) => {
paint(now);
frame = requestAnimationFrame(tick);
};
new IntersectionObserver(([entry]) => {
cancelAnimationFrame(frame);
if (!entry.isIntersecting) return;
if (still.matches) paint(5000);
else frame = requestAnimationFrame(tick);
}).observe(root);
new ResizeObserver(() => paint(still.matches ? 5000 : performance.now())).observe(stage);
}
document.querySelectorAll('.directions').forEach(setup);
})();
</script>
Sponsor footer
Sponsors and organisers set as big flowing names beside small left labels, then a fine-print row.
Code
React For Figma<footer class="footer">
<div class="footer__row">
<h2 class="footer__label">Partners</h2>
<ul class="footer__names">
<li class="footer__name"><a class="footer__link" href="#">Weir Lane Printers</a></li>
<li class="footer__name"><a class="footer__link" href="#">Riverside Arts Fund</a></li>
<li class="footer__name"><a class="footer__link" href="#">Halde Paper Co.</a></li>
<li class="footer__name"><a class="footer__link" href="#">North Ring Hotel</a></li>
<li class="footer__name"><a class="footer__link" href="#">Lumen Hire</a></li>
<li class="footer__name"><a class="footer__link" href="#">The Cartwright Trust</a></li>
</ul>
</div>
<div class="footer__row">
<h2 class="footer__label">Made by</h2>
<ul class="footer__names">
<li class="footer__name"><a class="footer__link" href="#">Riverside School of Art & Media</a></li>
</ul>
</div>
<div class="footer__fine">
<span class="footer__mark">Foldover Days 2027</span>
<a class="footer__small" href="#">Contact</a>
<a class="footer__small" href="#">Newsletter</a>
<a class="footer__small" href="#">Imprint</a>
<a class="footer__small" href="#">↑ Top</a>
</div>
</footer>
<style>
.footer {
padding: var(--section-space) var(--edge) var(--space-s);
background: var(--paper);
color: var(--ink);
font-size: var(--text-xs);
line-height: var(--leading-text);
}
.footer__row {
display: grid;
grid-template-columns: var(--left-column) minmax(0, 1fr);
gap: var(--gap);
padding: var(--space-s) 0 var(--space-m);
border-top: var(--line) solid var(--rule);
}
.footer__label {
margin: 0;
padding-top: 0.5em;
font-size: var(--text-xs);
font-weight: 400;
}
.footer__names {
display: flex;
flex-wrap: wrap;
gap: 0 0.5em;
margin: 0;
padding: 0;
list-style: none;
font-family: var(--font-display);
font-size: var(--text-s);
line-height: var(--leading-solid);
}
.footer__link,
.footer__small {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 44px;
min-height: 44px;
color: inherit;
text-decoration: none;
transition: opacity var(--quick) var(--ease);
}
.footer__link:hover,
.footer__small:hover,
.footer__link:focus-visible,
.footer__small:focus-visible {
opacity: 0.55;
}
.footer__link:focus-visible,
.footer__small:focus-visible {
outline: var(--line) solid var(--ink);
}
.footer__fine {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0 var(--gap);
padding-top: var(--space-s);
border-top: var(--line) solid var(--rule);
text-transform: uppercase;
}
.footer__mark {
margin-right: auto;
text-transform: none;
}
@media (max-width: 40rem) {
.footer__row {
grid-template-columns: minmax(0, 1fr);
gap: 0;
}
}
</style>
Style
- --paper #b2b2b2
- --ink #ffffff
- --rule #8f8f8f
- --card-edge #1d1d1d
Type
- Inter Tight for headlines, stands in for Neue Montreal, a neo-grotesk set in regular weight only at every size
- Inter Tight for running text, stands in for the same Neue Montreal at about 20px for labels, copy and nav
Motion
- Behind the type, a row of picture cards turns on its vertical axis in a travelling sine wave, so the row keeps folding and opening like a concertina; it runs on requestAnimationFrame only while on screen.
- At load the cards grow out of the centre line one after another over about 1.4s with an out-expo curve, while the hero words fade in over 0.9s.
- Hovering a lineup row turns its corner arrow half a turn over 240ms and lifts the name a few pixels; links fade to half white.
Rules
- One flat mid grey (#b2b2b2) under everything; all type is white, all weights regular.
- A narrow label column at the left (city and country code, date, day) and big names or titles starting at the same line to its right.
- Sizes jump: 20px for everything read, then 42, 80 and 114px for titles and heads, set solid with no tracking.
- Rows divided by darker-grey hairlines that stop at the side padding.
- Pictures are never shown once and flat: each is repeated across many thin cards fanned in perspective, the type laid over them.
- Navigation and the hero title read sideways, rotated a quarter turn, in narrow columns; the one rounded shape is a white Tickets pill.
- Secondary links are set in capitals at body size, stacked one per line.
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: one mid grey ground, white type, a darker grey for hairlines. */
--paper: #b2b2b2; /* page background, the flat mid grey */
--ink: #ffffff; /* main text, white on grey */
--rule: #8f8f8f; /* hairline rules between rows */
--card-edge: #1d1d1d; /* the thin dark edge of every fanned card */
/* Type: one grotesk, regular weight only, sizes fluid with the width. */
--font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* headlines and big names */
--font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* running text, labels, nav */
--text-xs: clamp(14px, calc(0.4231rem + 0.8974vw), 22px); /* running text, labels, nav, 19.7px at 1440 */
--text-s: clamp(22px, calc(-0.0962rem + 3.2051vw), 50px); /* sponsor names, sub heads, 44.6px at 1440 */
--text-m: clamp(24px, calc(1.2019rem + 1.6026vw), 48px); /* entry titles, 42.3px at 1440 */
--text-l: clamp(36px, calc(1.1731rem + 4.2308vw), 92px); /* lineup names, section heads, 79.7px at 1440 */
--text-xl: clamp(44px, calc(0.4519rem + 7.4359vw), 132px); /* the biggest heads and the rotated title, 114px at 1440 */
--leading-tight: 0.84; /* line height of the biggest heads */
--leading-solid: 1; /* line height of names and titles */
--leading-text: 1.2; /* line height of running text */
/* Space: the source's fluid steps. */
--edge: clamp(16px, calc(-33.8462px + 12.1795vw), 200px); /* side padding of a section */
--left-column: clamp(96px, calc(1.2019rem + 14.1026vw), 260px); /* the narrow label column on the left */
--gap: clamp(16px, 2.5vw, 40px); /* between columns */
--space-xs: calc(7.6923px + 0.641vw); /* tight inner space */
--space-s: clamp(12px, calc(2.1538px + 2.1795vw), 40px); /* between lines of a block */
--space-m: calc(29.2308px + 1.6026vw); /* between blocks */
--space-l: calc(50.7692px + 2.5641vw); /* between rows of the programme */
--section-space: clamp(72px, 10vw, 160px); /* air above and below a section */
--rail-width: 116px; /* width of the vertical nav column */
/* Shape. */
--radius-pill: 39.4px; /* the one rounded thing: the Tickets pill */
--radius-card: 0px; /* fanned cards and everything else stay square */
--line: 1px; /* hairline rule width */
--shadow: none; /* nothing casts a shadow */
/* Motion. */
--ease: cubic-bezier(0.19, 1, 0.22, 1); /* out-expo, for hovers and the card fly-in */
--ease-sine: cubic-bezier(0.37, 0, 0.63, 1); /* in-out sine, for the arrow turn */
--quick: 240ms; /* hover and press */
--slow: 900ms; /* text fade-in at load */
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--text-xs)/var(--leading-text) 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("concertina-card-fan"), 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