Ink Spine Diptych
A page cut into a pure black half and a pale grey half, with tight bookish serif paragraphs against squat condensed names, and panels that fold shut into thin spines and swing open in orange. Suits archives, film seasons, research programmes and small institutions with one event to announce.
Parts
Spine opening
Intro: a thin black spine on the left edge widens to half the screen, then the grey half unfolds and the text fades in; a replay link runs it again.
Code
React For Figma<section class="opening" aria-label="Opening">
<div class="opening__stage">
<div class="opening__half opening__half--dark">
<p class="opening__mark"><span class="opening__glyph" aria-hidden="true"></span>Halflight</p>
<p class="opening__line">A reading room for the moving image, opening one shelf at a time.</p>
</div>
<div class="opening__half opening__half--light">
<p class="opening__title">Season : North Sea</p>
<p class="opening__line opening__line--small">Six evenings of harbour films, ferry footage and fishing-town home movies, shown where they were made.</p>
<button class="opening__replay" type="button">Play again</button>
</div>
</div>
</section>
<style>
.opening {
background: var(--paper);
color: var(--ink);
}
.opening__stage {
display: grid;
grid-template-columns: 1fr 1fr;
height: clamp(420px, 50vw, 720px);
overflow: hidden;
}
.opening__half {
display: flex;
flex-direction: column;
gap: var(--space-l);
min-width: 0;
padding: var(--edge);
overflow: hidden;
animation: opening-unfold var(--fold) var(--ease-fold) both;
}
.opening__half--dark {
background: var(--ink);
color: var(--paper-text);
}
.opening__half--light {
background: var(--paper);
animation-delay: calc(var(--fold) + 150ms);
}
.opening__mark,
.opening__title {
display: flex;
align-items: center;
gap: 0.14em;
margin: 0;
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: var(--display-l);
line-height: var(--leading-tight);
letter-spacing: var(--track-display);
text-transform: uppercase;
white-space: nowrap;
}
.opening__glyph {
flex: none;
width: 0.62em;
height: 0.62em;
border: 0.1em solid currentColor;
background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}
.opening__line {
max-width: 22em;
margin: 0;
font-size: var(--text-l);
line-height: var(--leading-text);
text-wrap: pretty;
}
.opening__line--small {
font-size: var(--text-m);
}
.opening__mark,
.opening__title,
.opening__line,
.opening__replay {
animation: opening-text 400ms var(--ease-fade) both;
animation-delay: calc(var(--fold) + 100ms);
}
.opening__half--light .opening__title,
.opening__half--light .opening__line,
.opening__half--light .opening__replay {
animation-delay: calc(var(--fold) * 2 + 250ms);
}
.opening__replay {
align-self: flex-start;
min-height: 44px;
margin-top: auto;
padding: 0;
border: 0;
background: none;
color: inherit;
font: var(--display-weight) var(--display-s) / 1 var(--font-display);
cursor: pointer;
transition: opacity var(--quick) var(--ease-fade);
}
.opening__replay:hover { opacity: 0.5; }
.opening__replay:focus-visible { outline: var(--rule) solid currentColor; outline-offset: 4px; }
@keyframes opening-unfold {
from { clip-path: inset(0 calc(100% - var(--spine)) 0 0); }
to { clip-path: inset(0 0 0 0); }
}
@keyframes opening-text {
from { opacity: 0; }
to { opacity: 1; }
}
@media (max-width: 40rem) {
.opening__stage {
grid-template-columns: 1fr;
grid-template-rows: auto auto;
height: auto;
}
.opening__half { min-height: 300px; }
.opening__title { white-space: normal; }
@keyframes opening-unfold {
from { clip-path: inset(0 0 calc(100% - var(--spine)) 0); }
to { clip-path: inset(0 0 0 0); }
}
}
@media (prefers-reduced-motion: reduce) {
.opening__half,
.opening__mark,
.opening__title,
.opening__line,
.opening__replay { animation: none; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.opening')) {
const button = root.querySelector('.opening__replay');
if (!button) continue;
button.addEventListener('click', () => {
const moving = root.querySelectorAll('.opening__half, .opening__mark, .opening__title, .opening__line, .opening__replay');
moving.forEach((el) => { el.style.animation = 'none'; });
void root.offsetWidth;
moving.forEach((el) => { el.style.animation = ''; });
});
}
})();
</script>
Black and grey diptych
The first screen as two halves: wordmark and a large serif statement on black, the season title, guest names and venue on grey, link rows along both bottoms.
Code
React For Figma<section class="diptych">
<div class="diptych__half diptych__half--dark">
<p class="diptych__mark"><span class="diptych__glyph" aria-hidden="true"></span>Halflight</p>
<div class="diptych__statement">
<p>Halflight is a small public archive for the moving image of the coast: harbour newsreels, ferry footage, home movies shot from decks and quays.</p>
<p>We catalogue each reel by place rather than by author, so a town can find itself on film.</p>
</div>
<nav class="diptych__links" aria-label="Archive">
<a class="diptych__link" href="#">Letters</a>
<a class="diptych__link" href="#">Catalogue</a>
<a class="diptych__link" href="#">Visit</a>
</nav>
</div>
<div class="diptych__half diptych__half--light">
<h1 class="diptych__title">Season : North Sea</h1>
<p class="diptych__lead">Halflight <em>presents</em><br>‘Low Tide Film Days’</p>
<p class="diptych__note">An annual season built around one stretch of coast: its projectionists, its amateur camera clubs and the films that never left the town hall.</p>
<ul class="diptych__names">
<li>Ines Varga</li>
<li>Otto Brem</li>
<li>KVIST</li>
</ul>
<p class="diptych__venue">Kaimann Hall<br>Low Tide Film Days 14.03.2027<span class="diptych__hours">18:00  –  21:30h</span></p>
</div>
</section>
<style>
.diptych {
display: grid;
grid-template-columns: 1fr 1fr;
min-height: clamp(560px, 62vw, 900px);
}
.diptych__half {
display: flex;
flex-direction: column;
min-width: 0;
padding: var(--edge);
}
.diptych__half--dark {
background: var(--ink);
color: var(--paper-text);
}
.diptych__half--light {
background: var(--paper);
color: var(--ink);
}
.diptych__mark,
.diptych__title {
display: flex;
align-items: center;
gap: 0.14em;
margin: 0 0 var(--space-l);
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: var(--display-l);
line-height: var(--leading-tight);
letter-spacing: var(--track-display);
text-transform: uppercase;
}
.diptych__glyph {
flex: none;
width: 0.62em;
height: 0.62em;
border: 0.1em solid currentColor;
background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}
.diptych__statement p {
margin: 0 0 1em;
font-size: var(--text-l);
line-height: var(--leading-text);
}
.diptych__links {
display: flex;
justify-content: space-between;
gap: var(--gap);
margin-top: auto;
}
.diptych__link {
display: inline-flex;
align-items: flex-end;
min-height: 44px;
color: inherit;
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: var(--display-s);
line-height: 1;
text-decoration: none;
transition: opacity var(--quick) var(--ease-fade);
}
.diptych__link:hover { opacity: 0.5; }
.diptych__link:focus-visible { outline: var(--rule) solid currentColor; outline-offset: 2px; }
.diptych__lead {
margin: 0 0 var(--space-m);
font-size: var(--text-l);
line-height: var(--leading-text);
}
.diptych__note {
max-width: 40em;
margin: 0 0 var(--space-l);
font-size: var(--text-s);
line-height: 1;
}
.diptych__names {
margin: 0 0 var(--space-l);
padding: 0;
list-style: none;
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: var(--display-m);
line-height: var(--leading-tight);
letter-spacing: var(--track-display);
}
.diptych__venue {
margin: 0;
font-size: var(--text-l);
line-height: var(--leading-text);
}
.diptych__hours {
display: block;
font-size: var(--text-m);
}
@media (max-width: 40rem) {
.diptych { grid-template-columns: 1fr; }
.diptych__half { min-height: 0; }
.diptych__links { margin-top: var(--space-xl); }
}
</style>
Folding spines
Four panels side by side where all but one are folded to 24 px spines; clicking a spine opens it with a grid-template-columns transition and turns it orange.
Code
React For Figma<section class="spines" aria-label="Shelves" style="--tracks: minmax(var(--spine-tap), 0fr) minmax(var(--spine-tap), 1fr) minmax(var(--spine-tap), 0fr) minmax(var(--spine-tap), 0fr)">
<article class="spines__panel spines__panel--dark">
<button class="spines__spine" type="button" aria-expanded="false"><span class="spines__label">01 Harbour newsreels</span></button>
<div class="spines__body">
<h2 class="spines__title">Harbour newsreels</h2>
<p class="spines__text">Forty reels made for the cinema before the main feature: launches, storms, a king opening a fish market. Most were shown once and stored in a tin under the stage.</p>
<div class="spines__frame"><img class="spines__picture" src="assets/snow-tree.jpg" alt="A bare tree in a snowy square with a tram in the fog behind" width="668" height="800" loading="lazy"></div>
</div>
</article>
<article class="spines__panel spines__panel--light is-open">
<button class="spines__spine" type="button" aria-expanded="true"><span class="spines__label">02 Deck films</span></button>
<div class="spines__body">
<h2 class="spines__title">Deck films</h2>
<p class="spines__text">Home movies shot from ferries and trawlers between 1952 and 1979, given to us by the families who kept them. We screen them silent, in the order the boats sailed.</p>
<div class="spines__frame"><img class="spines__picture" src="assets/cloud-study.jpg" alt="Banks of cloud over a low dark hill line" width="974" height="1200" loading="lazy"></div>
</div>
</article>
<article class="spines__panel spines__panel--dark">
<button class="spines__spine" type="button" aria-expanded="false"><span class="spines__label">03 Projection booth</span></button>
<div class="spines__body">
<h2 class="spines__title">Projection booth</h2>
<p class="spines__text">Conversations with the people who ran the machines: how a reel was spliced, how a hall was darkened, what a crowd sounded like when the film broke.</p>
<p class="spines__meta">Six recordings · 2 h 40 min</p>
</div>
</article>
<article class="spines__panel spines__panel--light">
<button class="spines__spine" type="button" aria-expanded="false"><span class="spines__label">04 Town hall copies</span></button>
<div class="spines__body">
<h2 class="spines__title">Town hall copies</h2>
<p class="spines__text">Prints that never went back to the distributor. Each one is catalogued by the building it was found in, then by the street, then by the year.</p>
<p class="spines__meta">212 prints · 9 towns</p>
</div>
</article>
</section>
<style>
.spines {
display: grid;
grid-template-columns: var(--tracks);
height: clamp(520px, 52vw, 720px);
overflow: hidden;
container-type: inline-size;
transition: grid-template-columns var(--fold) var(--ease-fold), grid-template-rows var(--fold) var(--ease-fold);
}
.spines__panel {
display: flex;
min-width: 0;
min-height: 0;
overflow: hidden;
transition: background-color var(--fold) var(--ease-fold), color var(--fold) var(--ease-fold);
}
.spines__panel--dark {
background: var(--ink);
color: var(--paper-text);
}
.spines__panel--light {
background: var(--paper);
color: var(--ink);
}
.spines__panel.is-open {
background: var(--signal);
color: var(--signal-ink);
}
.spines__spine {
display: flex;
flex: none;
align-items: flex-end;
justify-content: center;
width: var(--spine-tap);
padding: var(--edge) 0;
border: 0;
background: transparent;
color: inherit;
cursor: pointer;
}
.spines__spine:focus-visible { outline: var(--rule) solid currentColor; outline-offset: -4px; }
.spines__label {
writing-mode: vertical-rl;
rotate: 180deg;
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: var(--text-s);
line-height: 1;
white-space: nowrap;
transition: opacity var(--quick) var(--ease-fade);
}
.spines__spine:hover .spines__label { opacity: 0.5; }
.spines__body {
display: flex;
flex-direction: column;
gap: var(--space-m);
flex: none;
width: calc(100cqw - var(--spine-tap) * 4);
padding: var(--edge) var(--edge) var(--edge) 0;
opacity: 0;
transition: opacity var(--quick) var(--ease-fade);
}
.spines__panel.is-open .spines__body {
opacity: 1;
transition-delay: calc(var(--fold) / 2);
}
.spines__title {
margin: 0;
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: var(--display-m);
line-height: var(--leading-tight);
letter-spacing: var(--track-display);
text-transform: uppercase;
}
.spines__text {
max-width: 30em;
margin: 0;
font-size: var(--text-m);
line-height: var(--leading-text);
}
.spines__meta {
margin: auto 0 0;
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: var(--display-s);
line-height: 1;
}
.spines__frame {
flex: 1 1 0;
min-height: 0;
overflow: hidden;
}
.spines__picture {
width: 100%;
height: 100%;
object-fit: cover;
scale: 1.08;
filter: grayscale(1) contrast(1.25);
}
@media (max-width: 40rem) {
.spines {
grid-template-columns: 1fr;
grid-template-rows: var(--tracks);
height: auto;
}
.spines__panel { flex-direction: column; }
.spines__spine {
justify-content: flex-start;
align-items: center;
width: 100%;
min-height: var(--spine-tap);
padding: 0 var(--edge);
}
.spines__label { writing-mode: horizontal-tb; rotate: none; }
.spines__body {
width: 100%;
padding: 0 var(--edge) var(--edge);
}
.spines__panel:not(.is-open) .spines__body { display: none; }
.spines__frame { flex: none; aspect-ratio: 4 / 3; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.spines')) {
const panels = [...root.querySelectorAll('.spines__panel')];
const open = (chosen) => {
panels.forEach((panel) => {
const isOpen = panel === chosen;
panel.classList.toggle('is-open', isOpen);
panel.querySelector('.spines__spine').setAttribute('aria-expanded', String(isOpen));
});
root.style.setProperty('--tracks', panels.map((panel) =>
panel === chosen ? 'minmax(var(--spine-tap), 1fr)' : 'minmax(var(--spine-tap), 0fr)').join(' '));
};
panels.forEach((panel) => {
panel.querySelector('.spines__spine').addEventListener('click', () => open(panel));
});
}
})();
</script>
Countdown block
A live days-hours-minutes-seconds countdown in the condensed face on black, with two lines of fine print and the link row.
Code
React For Figma<section class="countdown" data-target="2027-03-14T18:00:00">
<p class="countdown__kicker">The reading room opens in</p>
<p class="countdown__clock" aria-live="off">
<span class="countdown__unit"><span class="countdown__num" data-unit="d">114</span>d</span>
<span class="countdown__unit"><span class="countdown__num" data-unit="h">07</span>h</span>
<span class="countdown__unit"><span class="countdown__num" data-unit="m">43</span>’</span>
<span class="countdown__unit"><span class="countdown__num" data-unit="s">18</span>”</span>
</p>
<p class="countdown__fine">Halflight opens to the public on 14.03.2027.<br>Leave an address for letters and screening dates before then.</p>
<nav class="countdown__links" aria-label="Keep in touch">
<a class="countdown__link" href="#">Write to us</a>
<a class="countdown__link" href="#">Letters</a>
<a class="countdown__link" href="#">Notice board</a>
</nav>
</section>
<style>
.countdown {
display: flex;
flex-direction: column;
min-height: clamp(420px, 44vw, 600px);
padding: var(--edge);
background: var(--ink);
color: var(--paper-text);
}
.countdown__kicker {
margin: 0;
font-size: var(--text-l);
line-height: var(--leading-text);
}
.countdown__clock {
display: flex;
flex-wrap: wrap;
gap: 0 0.22em;
margin: auto 0 var(--space-m);
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: clamp(48px, 13vw, 200px);
line-height: var(--leading-tight);
letter-spacing: var(--track-display);
font-variant-numeric: tabular-nums;
}
.countdown__fine {
margin: 0 0 var(--space-s);
font-size: var(--text-s);
line-height: 1;
}
.countdown__links {
display: flex;
justify-content: space-between;
gap: var(--gap);
}
.countdown__link {
display: inline-flex;
align-items: flex-end;
min-height: 44px;
color: inherit;
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: var(--display-s);
line-height: 1;
text-decoration: none;
transition: opacity var(--quick) var(--ease-fade);
}
.countdown__link:hover { opacity: 0.5; }
.countdown__link:focus-visible { outline: var(--rule) solid currentColor; outline-offset: 2px; }
</style>
<script>
(() => {
const pad = (n) => String(n).padStart(2, '0');
for (const root of document.querySelectorAll('.countdown')) {
const target = new Date(root.dataset.target).getTime();
const cells = {};
root.querySelectorAll('.countdown__num').forEach((el) => { cells[el.dataset.unit] = el; });
let timer = null;
const tick = () => {
let left = Math.max(0, Math.floor((target - Date.now()) / 1000));
const d = Math.floor(left / 86400); left -= d * 86400;
const h = Math.floor(left / 3600); left -= h * 3600;
const m = Math.floor(left / 60);
cells.d.textContent = d;
cells.h.textContent = pad(h);
cells.m.textContent = pad(m);
cells.s.textContent = pad(left - m * 60);
};
tick();
new IntersectionObserver(([entry]) => {
if (entry.isIntersecting && !timer) timer = setInterval(tick, 1000);
if (!entry.isIntersecting && timer) { clearInterval(timer); timer = null; }
}).observe(root);
}
})();
</script>
Guest list form
Event facts in serif, underline-only fields, a square checkbox and a condensed submit that turns into a 'list closed' notice.
Code
React For Figma<section class="guestlist">
<div class="guestlist__facts">
<h2 class="guestlist__heading">Reels, rooms and the people who ran them, with Ines Varga, Otto Brem and KVIST</h2>
<p class="guestlist__info">Venue: Kaimann Hall<br>Date: Sunday 14 March<br>Time: 18:00–21:30<br>Doors: 17:30</p>
<p class="guestlist__small">*Entry is free until the hall is full. A place on this list holds your seat until 17:50; after that it goes to the queue.</p>
</div>
<form class="guestlist__form" action="#" novalidate>
<label class="guestlist__field">
<span class="guestlist__label">Full name</span>
<input class="guestlist__input" type="text" name="name" placeholder="e.g. Agnes Holt" autocomplete="name" required>
</label>
<label class="guestlist__field">
<span class="guestlist__label">Email</span>
<input class="guestlist__input" type="email" name="email" placeholder="e.g. agnes@example.org" autocomplete="email" required>
</label>
<label class="guestlist__check">
<input class="guestlist__box" type="checkbox" name="letters">
<span>Send me the letters as well</span>
</label>
<button class="guestlist__submit" type="submit">Put me on the list</button>
<p class="guestlist__closed" role="status" hidden>List closed</p>
</form>
</section>
<style>
.guestlist {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--gap);
padding: var(--edge) var(--edge) var(--section-space);
background: var(--paper);
color: var(--ink);
}
.guestlist__heading {
margin: 0 0 var(--space-l);
font-family: var(--font-body);
font-weight: 400;
font-size: var(--text-l);
line-height: var(--leading-text);
}
.guestlist__info {
margin: 0 0 var(--space-l);
font-size: var(--text-m);
line-height: var(--leading-body);
}
.guestlist__small {
max-width: 30em;
margin: 0;
font-size: var(--text-xs);
line-height: var(--leading-body);
}
.guestlist__form {
display: flex;
flex-direction: column;
gap: var(--space-l);
padding-top: var(--space-s);
}
.guestlist__field {
display: grid;
gap: var(--space-xs);
}
.guestlist__label {
color: var(--mute);
font-size: var(--text-s);
}
.guestlist__input {
min-height: 44px;
padding: 0;
border: 0;
border-bottom: var(--rule) solid var(--ink);
border-radius: var(--radius);
background: transparent;
color: var(--ink);
font: 400 var(--text-m) / 1 var(--font-body);
transition: border-color var(--quick) var(--ease-fade);
}
.guestlist__input::placeholder { color: var(--mute); opacity: 0.6; }
.guestlist__input:focus { outline: none; border-bottom-color: var(--signal); }
.guestlist__check {
display: flex;
align-items: center;
gap: var(--space-s);
min-height: 44px;
color: var(--mute);
font-size: var(--text-s);
cursor: pointer;
}
.guestlist__box {
appearance: none;
flex: none;
/* A 44 px tap area that draws a 14 px square box in its centre. */
width: 44px;
height: 44px;
margin: 0 -15px;
border: 0;
border-radius: var(--radius);
background: transparent;
box-shadow: inset 0 0 0 15px var(--paper), inset 0 0 0 16px var(--mute);
cursor: pointer;
}
.guestlist__box:checked { box-shadow: inset 0 0 0 15px var(--paper), inset 0 0 0 30px var(--ink); }
.guestlist__box:focus-visible { outline: var(--rule) solid var(--signal); outline-offset: -12px; }
.guestlist__submit,
.guestlist__closed {
align-self: flex-start;
min-height: 44px;
margin: 0;
padding: 0;
border: 0;
background: none;
color: var(--ink);
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: var(--display-s);
line-height: 44px;
letter-spacing: var(--track-display);
}
.guestlist__submit {
cursor: pointer;
transition: opacity var(--quick) var(--ease-fade);
}
.guestlist__submit:hover { opacity: 0.5; }
.guestlist__submit:focus-visible { outline: var(--rule) solid var(--ink); outline-offset: 2px; }
.guestlist.is-closed .guestlist__form { color: var(--mute); }
.guestlist.is-closed .guestlist__closed { color: var(--signal); }
@media (max-width: 40rem) {
.guestlist { grid-template-columns: 1fr; gap: var(--space-l); }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.guestlist')) {
const form = root.querySelector('.guestlist__form');
const button = root.querySelector('.guestlist__submit');
const closed = root.querySelector('.guestlist__closed');
form.addEventListener('submit', (event) => {
event.preventDefault();
if (!form.checkValidity()) { form.reportValidity(); return; }
root.classList.add('is-closed');
button.hidden = true;
closed.hidden = false;
form.querySelectorAll('input').forEach((input) => { input.disabled = true; });
});
}
})();
</script>
Guest profiles
Two guests, each a greyscale portrait at full column width, a condensed name and a tight serif biography.
Code
React For Figma<section class="guests">
<article class="guests__person">
<img class="guests__portrait" src="assets/sitter-beard.jpg" alt="An old man with a long white beard, seated, holding a book and a staff" width="560" height="800" loading="lazy">
<h3 class="guests__name">Otto Brem</h3>
<p class="guests__bio">Otto Brem (Esbjerg, 1941) ran the projectors at Kaimann Hall for thirty-one years. He kept a notebook of every reel that broke, every audience that laughed in the wrong place, and every film that arrived with a reel missing.</p>
<p class="guests__bio">He will show four of those reels and read from the notebook between them.</p>
</article>
<article class="guests__person">
<img class="guests__portrait" src="assets/sitter-veil.jpg" alt="A young woman with long loose hair looking straight at the camera" width="630" height="800" loading="lazy">
<h3 class="guests__name">Ines Varga</h3>
<p class="guests__bio">Ines Varga is a film restorer who works on small-gauge amateur film. Since 2009 she has rescued more than four hundred deck films from attics, boat sheds and a flooded cellar in the old harbour.</p>
<p class="guests__bio">Her talk follows one family’s reels across three generations of crossings.</p>
</article>
</section>
<style>
.guests {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--gap);
padding: var(--edge) var(--edge) var(--section-space);
background: var(--paper);
color: var(--ink);
}
.guests__person { min-width: 0; }
.guests__portrait {
width: 100%;
height: clamp(300px, 36vw, 480px);
object-fit: cover;
object-position: 50% 25%;
filter: grayscale(1) contrast(1.3) brightness(1.02);
}
.guests__name {
margin: var(--space-s) 0 var(--space-m);
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: var(--display-s);
line-height: 1;
letter-spacing: var(--track-display);
}
.guests__bio {
max-width: 34em;
margin: 0 0 1em;
font-size: var(--text-s);
line-height: var(--leading-body);
}
@media (max-width: 40rem) {
.guests { grid-template-columns: 1fr; gap: var(--space-l); }
}
</style>
Colophon footer
Grey footer with small serif typeface credits and arrows on the left and a single display-size link on the right.
Code
React For Figma<footer class="colophon">
<div class="colophon__half colophon__half--dark">
<p class="colophon__fine">Halflight, Kaimann Hall, Quay Street 4.<br>Reading room open by letter, Thursdays and Fridays.</p>
<nav class="colophon__links" aria-label="Elsewhere">
<a class="colophon__link" href="#">Letters</a>
<a class="colophon__link" href="#">Catalogue</a>
<a class="colophon__link" href="#">Notice board</a>
</nav>
</div>
<div class="colophon__half colophon__half--light">
<dl class="colophon__credits">
<dt>Typefaces:</dt>
<dd><a class="colophon__credit" href="#">Barlow Condensed – Google Fonts<span aria-hidden="true">↗</span></a></dd>
<dd><a class="colophon__credit" href="#">Newsreader – Google Fonts<span aria-hidden="true">↗</span></a></dd>
</dl>
<a class="colophon__link colophon__link--info" href="#">Info</a>
</div>
</footer>
<style>
.colophon {
display: grid;
grid-template-columns: 1fr 1fr;
min-height: 240px;
}
.colophon__half {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: var(--space-l);
min-width: 0;
padding: var(--edge);
}
.colophon__half--dark { background: var(--ink); color: var(--paper-text); }
.colophon__half--light {
flex-direction: row;
align-items: flex-end;
background: var(--paper);
color: var(--ink);
}
.colophon__fine {
margin: 0;
font-size: var(--text-s);
line-height: 1;
}
.colophon__links {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 0 var(--gap);
}
.colophon__link {
display: inline-flex;
align-items: flex-end;
min-height: 44px;
color: inherit;
font-family: var(--font-display);
font-weight: var(--display-weight);
font-size: var(--display-s);
line-height: 1;
text-decoration: none;
transition: opacity var(--quick) var(--ease-fade);
}
.colophon__link--info { justify-content: flex-end; min-width: 44px; margin-left: auto; }
.colophon__credits {
margin: 0;
font-size: var(--text-xs);
line-height: 1.25;
}
.colophon__credits dd { margin: 0; }
.colophon__credit {
display: inline-flex;
align-items: center;
min-height: 44px;
color: inherit;
text-decoration: none;
transition: opacity var(--quick) var(--ease-fade);
}
.colophon__credit span { margin-left: 2px; font-size: 0.8em; }
.colophon__link:hover,
.colophon__credit:hover { opacity: 0.5; }
.colophon__link:focus-visible,
.colophon__credit:focus-visible { outline: var(--rule) solid currentColor; outline-offset: 2px; }
@media (max-width: 40rem) {
.colophon { grid-template-columns: 1fr; }
}
</style>
Style
- --ink #000000
- --paper #f1f1f1
- --paper-text #fdfdfd
- --signal #f95f3b
- --signal-ink #8c2a14
- --mute #6b6b6b
- --mute-dark #9a9a9a
Type
- Barlow Condensed for headlines, names, countdown, link row, stands in for a squat condensed grotesk with squared rounds and heavy strokes, used at one weight
- Newsreader for all running text and statements, stands in for a plain text serif with a slightly wide stance, set very tight at every size
Motion
- On load a black spine 24 px wide grows across to half the width, then the light half unfolds beside it, 600 ms each on cubic-bezier(0.83, 0, 0.17, 1).
- Clicking a folded spine animates grid-template-columns so it opens and the open panel folds to 24 px, 600 ms on cubic-bezier(0.83, 0, 0.17, 1).
- An opened panel turns from grey to orange with its text turning deep red, background and color 600 ms on the same curve.
- Links fade to half opacity on hover, 200 ms on cubic-bezier(0.65, 0, 0.35, 1).
- The countdown ticks once a second, with no animation between numbers.
Rules
- The page is two equal halves: pure black with near-white text, and #f1f1f1 with black text; nothing else is a surface.
- Every panel can fold to a 24 px spine; a folded spine is a solid bar of its colour with a vertical label.
- Serif for every sentence, condensed grotesk only for names, titles, numbers and links; both at one weight.
- Line heights sit at or under the font size, so serif paragraphs read as dense blocks and display lines nearly touch.
- Edges are a 10 px gutter; type runs to the panel edge with no cards, no radii, no shadows.
- The bottom of each half carries a row of display-size links spread with space-between.
- Photographs are greyscale with raised contrast, set full width of their column with no frame.
- Orange appears only when a panel is opened or a form is set on it.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Newsreader:ital,opsz,wght@0,6..72,400;1,6..72,400&display=swap");
:root {
/* Colour roles */
--ink: #000000; /* black half, main text on light */
--paper: #f1f1f1; /* light half, page background */
--paper-text: #fdfdfd; /* text on the black half */
--signal: #f95f3b; /* orange panel when a spine opens */
--signal-ink: #8c2a14; /* text set on the orange panel */
--mute: #6b6b6b; /* placeholders, fine print on light */
--mute-dark: #9a9a9a; /* fine print on black */
/* Type */
--font-display: "Barlow Condensed", "Arial Narrow", sans-serif; /* condensed heavy headlines, names, countdown, links */
--font-body: "Newsreader", Georgia, serif; /* every paragraph, statements, venue lines */
--display-weight: 700; /* the only weight of the display face */
--text-xs: 13px; /* fine print, credits */
--text-s: 18px; /* running body copy */
--text-m: clamp(20px, 1.9vw, 25px); /* lead paragraph on the light half */
--text-l: clamp(24px, 2.7vw, 38px); /* the big serif statement */
--display-s: clamp(28px, 2.4vw, 36px); /* link row, small display */
--display-m: clamp(44px, 4.8vw, 72px); /* names, programme title */
--display-l: clamp(56px, 6.4vw, 96px); /* wordmark, countdown at full size */
--leading-tight: 0.86; /* display line height, lines nearly touch */
--leading-text: 1.04; /* serif statement, set very tight */
--leading-body: 1.16; /* small serif paragraphs */
--track-display: -0.02em; /* display tracking */
/* Space and lines */
--edge: 10px; /* side padding of every panel, the site's gutter */
--gap: 10px; /* between columns */
--spine: 24px; /* width of a folded panel, the spine */
--spine-tap: 44px; /* a folded panel that is also a button, wide enough to tap */
--space-xs: 4px; /* inside a line group */
--space-s: 10px; /* between small lines */
--space-m: 20px; /* between paragraphs */
--space-l: 40px; /* between blocks */
--space-xl: 64px; /* before the bottom row */
--section-space: 48px; /* air above and below a section */
--rule: 1px; /* field underlines and hairlines */
--radius: 0px; /* every corner is square */
/* Motion */
--ease-fold: cubic-bezier(0.83, 0, 0.17, 1); /* panels opening and colour swaps */
--ease-fade: cubic-bezier(0.65, 0, 0.35, 1); /* hover fades */
--fold: 600ms; /* a spine opening, a panel changing colour */
--quick: 200ms; /* hover and press */
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--text-s)/var(--leading-body) 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("ink-spine-diptych"), 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