Shelf Atelier
A white page with black type in one neo-grotesque at 15 px, a few huge wordmark sizes, and fine grey axonometric line drawings that turn solid black when touched. Suits architecture and design studios, archives and collections that want their work to sit on a drawn shelf rather than in a grid of photos.
Parts
Masthead and profile
Small underscore wordmark top left and _profile top right; the profile opens a white sheet of 'Label: value' lines over a light scrim.
Code
React For Figma<section class="masthead is-open">
<header class="masthead__bar">
<a class="masthead__mark" href="#">_mensula</a>
<nav class="masthead__nav" aria-label="Main">
<a class="masthead__link" href="#">_work</a>
<button class="masthead__link masthead__toggle" type="button" aria-expanded="true" aria-controls="masthead-profile">_profile</button>
</nav>
</header>
<div class="masthead__scrim"></div>
<article class="masthead__sheet" id="masthead-profile" aria-label="Profile">
<button class="masthead__close" type="button" aria-label="Close profile">
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" aria-hidden="true"><path d="M1 1L16 16M16 1L1 16" /></svg>
</button>
<h2 class="masthead__title">Taller Ojeda_Brandt</h2>
<p class="masthead__text">An atelier for buildings, furniture and teaching. We draw everything at the size of a shelf first, then at the size of a street.</p>
<dl class="masthead__facts">
<div class="masthead__fact"><dt>Address:</dt> <dd>Carrer de la Mar 41, bajo, 46003 Valencia (ES), Kortrijksesteenweg 212, 9000 Gent (BE)</dd></div>
<div class="masthead__fact"><dt>Founders:</dt> <dd>Inés Ojeda / Pieter Brandt</dd></div>
<div class="masthead__fact masthead__fact--list">
<dt>Teaching:</dt>
<dd>Studio of the Small Object_Valencia</dd>
<dd>Drawing Week_Ghent</dd>
<dd>Summer Shelf_open course</dd>
</div>
<div class="masthead__fact"><dt>Contact:</dt> <dd><a class="masthead__mail" href="#">hola@mensula.example</a></dd></div>
</dl>
</article>
</section>
<style>
.masthead {
position: relative;
min-height: clamp(440px, 52vw, 600px);
padding: var(--edge);
background: var(--paper);
color: var(--ink);
}
.masthead__bar {
position: relative;
z-index: 2;
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--gap);
margin-block: -12px;
}
.masthead__nav {
display: flex;
gap: var(--gap);
}
.masthead__mark,
.masthead__link {
display: inline-flex;
align-items: center;
min-width: var(--tap);
min-height: var(--tap);
padding: 0;
border: 0;
background: none;
color: inherit;
font: inherit;
font-weight: var(--weight-bold);
letter-spacing: inherit;
text-decoration: none;
cursor: pointer;
}
.masthead__mark {
font-size: var(--text-mid);
letter-spacing: -0.02em;
}
.masthead__link:hover,
.masthead__mail:hover {
text-decoration: underline;
text-decoration-thickness: var(--hair);
text-underline-offset: 3px;
}
.masthead a:focus-visible,
.masthead button:focus-visible {
outline: var(--hair) solid var(--ink);
outline-offset: 2px;
}
.masthead__scrim {
position: absolute;
inset: 0;
z-index: 1;
background: var(--scrim);
opacity: 0;
pointer-events: none;
transition: opacity var(--time) var(--ease);
}
/* No border: four thin corner brackets drawn as background strokes. */
.masthead__sheet {
position: relative;
z-index: 2;
width: min(31em, 100%);
margin: var(--space-l) 0 0 auto;
padding: 32px;
background:
linear-gradient(var(--ink), var(--ink)) left top / var(--corner) var(--hair),
linear-gradient(var(--ink), var(--ink)) left top / var(--hair) var(--corner),
linear-gradient(var(--ink), var(--ink)) right top / var(--corner) var(--hair),
linear-gradient(var(--ink), var(--ink)) right top / var(--hair) var(--corner),
linear-gradient(var(--ink), var(--ink)) left bottom / var(--corner) var(--hair),
linear-gradient(var(--ink), var(--ink)) left bottom / var(--hair) var(--corner),
linear-gradient(var(--ink), var(--ink)) right bottom / var(--corner) var(--hair),
linear-gradient(var(--ink), var(--ink)) right bottom / var(--hair) var(--corner),
var(--paper);
background-repeat: no-repeat;
opacity: 0;
scale: 0.96;
visibility: hidden;
transition: opacity var(--time) var(--ease), scale var(--time) var(--ease), visibility 0s var(--time);
}
.masthead.is-open .masthead__scrim {
opacity: 1;
pointer-events: auto;
}
.masthead.is-open .masthead__sheet {
opacity: 1;
scale: 1;
visibility: visible;
transition-delay: 0s;
}
.masthead__close {
position: absolute;
top: 0;
right: 0;
display: grid;
place-items: center;
width: var(--tap);
height: var(--tap);
padding: 0;
border: 0;
background: none;
color: inherit;
cursor: pointer;
}
.masthead__close path {
stroke: currentColor;
stroke-width: var(--hair);
}
.masthead__title {
margin: 0;
font-size: var(--text);
font-weight: var(--weight-bold);
line-height: var(--leading);
}
.masthead__text {
margin: 0 0 var(--space-m);
}
.masthead__facts {
margin: 0;
}
.masthead__fact dt {
display: inline;
font-weight: var(--weight-bold);
}
.masthead__fact dd {
display: inline;
margin: 0;
}
.masthead__fact--list dd {
display: block;
padding-left: var(--indent);
}
.masthead__mail {
color: inherit;
text-decoration: none;
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.masthead')) {
const toggle = root.querySelector('.masthead__toggle');
const setOpen = (open) => {
root.classList.toggle('is-open', open);
toggle.setAttribute('aria-expanded', String(open));
};
toggle.addEventListener('click', () => setOpen(!root.classList.contains('is-open')));
root.querySelector('.masthead__close').addEventListener('click', () => setOpen(false));
root.querySelector('.masthead__scrim').addEventListener('click', () => setOpen(false));
root.addEventListener('keydown', (event) => {
if (event.key === 'Escape') setOpen(false);
});
}
})();
</script>
Wordmark intro
Signature piece: the huge _mensula slides in at the bottom right and folds letter by letter down to _m; replays on a button.
Code
React For Figma<section class="intro" aria-label="_mensula, atelier">
<div class="intro__corner">
<a class="intro__small" href="#">_mensula</a>
<p class="intro__line">Taller Ojeda_Brandt. Buildings, furniture and teaching, between Valencia and Ghent.</p>
</div>
<button class="intro__replay" type="button">_replay</button>
<div class="intro__mark" aria-hidden="true"><span class="intro__glyph">_</span><span class="intro__glyph">m</span><span class="intro__glyph intro__glyph--fold">e</span><span class="intro__glyph intro__glyph--fold">n</span><span class="intro__glyph intro__glyph--fold">s</span><span class="intro__glyph intro__glyph--fold">u</span><span class="intro__glyph intro__glyph--fold">l</span><span class="intro__glyph intro__glyph--fold">a</span></div>
</section>
<style>
.intro {
position: relative;
height: clamp(360px, 60vw, 680px);
overflow: hidden;
background: var(--paper);
color: var(--ink);
}
.intro__corner {
position: absolute;
top: var(--edge);
left: var(--edge);
max-width: 22em;
opacity: 0;
transition: opacity var(--time) var(--ease);
}
.intro__small {
display: inline-flex;
align-items: center;
min-height: var(--tap);
margin-top: -12px;
color: inherit;
font-weight: var(--weight-bold);
text-decoration: none;
}
.intro__line {
margin: 0;
}
.intro__replay {
position: absolute;
top: var(--edge);
right: var(--edge);
min-width: var(--tap);
min-height: var(--tap);
margin-top: -12px;
padding: 0;
border: 0;
background: none;
color: inherit;
font: inherit;
font-weight: var(--weight-bold);
letter-spacing: inherit;
cursor: pointer;
opacity: 0;
transition: opacity var(--time) var(--ease);
}
.intro__small:hover,
.intro__replay:hover {
text-decoration: underline;
text-decoration-thickness: var(--hair);
text-underline-offset: 3px;
}
.intro__small:focus-visible,
.intro__replay:focus-visible {
outline: var(--hair) solid var(--ink);
outline-offset: 2px;
}
.intro.is-done .intro__corner,
.intro.is-done .intro__replay {
opacity: 1;
}
/* The word sits on the bottom right; folding letters lose their width so the mark slides right as it shrinks. */
.intro__mark {
position: absolute;
right: var(--edge);
bottom: calc(var(--edge) - 0.1em);
display: flex;
font-family: var(--font-display);
font-size: var(--text-huge);
font-weight: var(--weight-bold);
line-height: 0.8;
letter-spacing: -0.035em;
white-space: nowrap;
transform: translateX(120%);
}
.intro__glyph {
display: inline-block;
overflow: hidden;
}
.intro.is-still .intro__mark {
transform: none;
}
.intro.is-still .intro__glyph--fold {
width: 0;
}
</style>
<script>
(() => {
const SLIDE_MS = 900;
const FOLD_START_MS = 1500;
const FOLD_MS = 520;
const FOLD_STEP_MS = 40;
const easeOut = 'cubic-bezier(0.19, 1, 0.22, 1)';
const prefersStill = matchMedia('(prefers-reduced-motion: reduce)');
function showFinal(root) {
root.classList.add('is-still', 'is-done');
}
function play(root) {
const mark = root.querySelector('.intro__mark');
const folds = [...root.querySelectorAll('.intro__glyph--fold')];
root.getAnimations({ subtree: true }).forEach((animation) => animation.cancel());
root.classList.remove('is-still', 'is-done');
if (prefersStill.matches) return showFinal(root);
mark.animate([{ transform: 'translateX(120%)' }, { transform: 'translateX(0)' }], {
duration: SLIDE_MS, delay: 250, easing: easeOut, fill: 'forwards',
});
folds.forEach((glyph, order) => {
glyph.animate([{ width: `${glyph.scrollWidth}px`, opacity: 1 }, { width: '0px', opacity: 0 }], {
duration: FOLD_MS, delay: FOLD_START_MS + order * FOLD_STEP_MS, easing: easeOut, fill: 'forwards',
});
});
setTimeout(() => root.classList.add('is-done'), FOLD_START_MS);
}
const firstView = new IntersectionObserver((entries) => {
for (const entry of entries) {
if (!entry.isIntersecting) continue;
firstView.unobserve(entry.target);
play(entry.target);
}
}, { threshold: 0.3 });
for (const root of document.querySelectorAll('.intro')) {
root.querySelector('.intro__replay').addEventListener('click', () => play(root));
firstView.observe(root);
}
})();
</script>
Shelf drawing
Fine-line isometric shelving with ten small models; hover fills a model black, click picks it and names it in the caption.
Code
React For Figma<section class="shelf" aria-label="Objects on the shelf">
<header class="shelf__head">
<a class="shelf__mark" href="#">_mensula</a>
<span class="shelf__count">10 objects, pick one</span>
</header>
<div class="shelf__stage">
<svg class="shelf__drawing" xmlns="http://www.w3.org/2000/svg" role="group" aria-label="Isometric drawing of a three bay shelf holding ten models"></svg>
</div>
<p class="shelf__caption" aria-live="polite">
<span class="shelf__code">_A04</span>
<span class="shelf__name">Biblioteca Mínima</span>
<span class="shelf__meta">Library, S, 2025</span>
</p>
</section>
<style>
.shelf {
display: grid;
grid-template-rows: auto 1fr auto;
gap: var(--space-s);
min-height: clamp(460px, 62vw, 720px);
padding: var(--edge);
background: var(--paper);
color: var(--ink);
}
.shelf__head {
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--gap);
}
.shelf__mark {
display: inline-flex;
align-items: center;
min-height: var(--tap);
margin-block: -12px;
color: inherit;
font-weight: var(--weight-bold);
text-decoration: none;
}
.shelf__mark:focus-visible {
outline: var(--hair) solid var(--ink);
}
.shelf__count {
color: var(--line);
}
.shelf__stage {
display: grid;
place-items: center;
min-width: 0;
}
.shelf__drawing {
width: auto;
height: clamp(300px, 50vw, 560px);
max-width: 100%;
overflow: visible;
}
@media (max-width: 600px) {
.shelf__drawing {
height: min(520px, 120vw);
}
}
.shelf__frame {
fill: none;
stroke: var(--line-soft);
stroke-width: var(--stroke);
vector-effect: non-scaling-stroke;
pointer-events: none;
}
.shelf__item {
cursor: pointer;
outline: none;
}
.shelf__item > * {
fill: var(--paper);
stroke: var(--line);
stroke-width: var(--stroke);
stroke-linejoin: round;
vector-effect: non-scaling-stroke;
transition: fill var(--time) var(--ease), stroke var(--time) var(--ease);
}
.shelf__item .shelf__ink {
fill: none;
}
.shelf__item:hover > *,
.shelf__item:focus-visible > *,
.shelf__item.is-active > * {
fill: var(--ink);
stroke: var(--paper);
}
.shelf__item:hover .shelf__ink,
.shelf__item:focus-visible .shelf__ink,
.shelf__item.is-active .shelf__ink {
fill: none;
}
.shelf__caption {
display: flex;
flex-wrap: wrap;
gap: 0 0.6em;
min-height: var(--leading);
margin: 0;
}
.shelf__code,
.shelf__name {
font-weight: var(--weight-bold);
}
</style>
<script>
(() => {
const NS = 'http://www.w3.org/2000/svg';
const COS30 = Math.cos(Math.PI / 6);
const BAY = 110;
const DEPTH = 36;
const LEVELS = [0, 64, 128, 192, 256];
const POST_TOP = 300;
const project = ([x, y, z]) => [(x - y) * COS30, (x + y) * 0.5 - z];
const pointsOf = (corners) => corners.map((corner) => project(corner).map((n) => n.toFixed(2)).join(',')).join(' ');
function shape(tag, attributes) {
const node = document.createElementNS(NS, tag);
for (const [name, value] of Object.entries(attributes)) node.setAttribute(name, value);
return node;
}
const face = (corners) => shape('polygon', { points: pointsOf(corners) });
const line = (from, to, className) => shape('polyline', { points: pointsOf([from, to]), class: className || '' });
/* The three faces a viewer from the front right sees: top, the +x side and the +y side. */
function box(x, y, z, w, d, h) {
return [
face([[x + w, y, z], [x + w, y + d, z], [x + w, y + d, z + h], [x + w, y, z + h]]),
face([[x, y + d, z], [x + w, y + d, z], [x + w, y + d, z + h], [x, y + d, z + h]]),
face([[x, y, z + h], [x + w, y, z + h], [x + w, y + d, z + h], [x, y + d, z + h]]),
];
}
function house(x, y, z, w, d, h, roof) {
const eave = z + h;
return [
...box(x, y, z, w, d, h).slice(0, 2),
face([[x, y, eave], [x + w, y, eave], [x + w, y + d / 2, eave + roof], [x, y + d / 2, eave + roof]]),
face([[x, y + d, eave], [x + w, y + d, eave], [x + w, y + d / 2, eave + roof], [x, y + d / 2, eave + roof]]),
face([[x + w, y, eave], [x + w, y + d, eave], [x + w, y + d / 2, eave + roof]]),
];
}
const stack = (boxes) => boxes.sort((a, b) => a[0] + a[1] + a[2] - (b[0] + b[1] + b[2])).flatMap((b) => box(...b));
/* A frame leaning on the shelf front: u runs along x, v runs up the lean. */
function leaningFrame(x0, width) {
const base = [x0, DEPTH + 30, 0];
const lean = [0, -24, 92];
const at = (u, v) => [base[0] + u, base[1] + lean[1] * v, base[2] + lean[2] * v];
const outer = face([at(0, 0), at(width, 0), at(width, 1), at(0, 1)]);
const inner = face([at(5, 0.06), at(width - 5, 0.06), at(width - 5, 0.94), at(5, 0.94)]);
const glyph = shape('polyline', {
class: 'shelf__ink',
points: pointsOf([at(22, 0.3), at(30, 0.3), at(30, 0.36), at(30, 0.46), at(34, 0.46), at(34, 0.36), at(34, 0.46), at(38, 0.46), at(38, 0.36)]),
});
return [outer, inner, glyph];
}
const OBJECTS = [
{ code: '_A01', name: 'Casa Ribera', meta: 'House, M, 2024', parts: () => house(18, 8, LEVELS[3], 34, 22, 24, 14) },
{ code: '_A02', name: 'Escalera Norte', meta: 'Stair, S, 2022', parts: () => stack([[120, 10, LEVELS[3], 40, 20, 8], [128, 10, LEVELS[3] + 8, 32, 20, 8], [136, 10, LEVELS[3] + 16, 24, 20, 8], [144, 10, LEVELS[3] + 24, 16, 20, 8]]) },
{ code: '_A03', name: 'Pabellón del Agua', meta: 'Pavilion, L, 2026', parts: () => stack([[232, 6, LEVELS[1], 76, 26, 3], [244, 12, LEVELS[1] + 3, 14, 10, 12], [266, 14, LEVELS[1] + 3, 22, 8, 6], [292, 8, LEVELS[1] + 3, 8, 14, 18]]) },
{ code: '_A04', name: 'Biblioteca Mínima', meta: 'Library, S, 2025', parts: () => stack([[132, 8, LEVELS[1], 36, 24, 4], [134, 9, LEVELS[1] + 4, 32, 22, 4], [131, 10, LEVELS[1] + 8, 34, 20, 3], [135, 9, LEVELS[1] + 11, 28, 22, 5]]) },
{ code: '_A05', name: 'Torre Lenta', meta: 'Tower, XL, 2023', parts: () => stack([[262, 8, LEVELS[3], 22, 22, 14], [265, 11, LEVELS[3] + 14, 16, 16, 14], [268, 14, LEVELS[3] + 28, 10, 10, 12]]) },
{ code: '_A06', name: 'Banco Largo', meta: 'Bench, M, 2021', parts: () => stack([[14, 14, LEVELS[1], 4, 10, 10], [80, 14, LEVELS[1], 4, 10, 10], [10, 12, LEVELS[1] + 10, 78, 14, 3]]) },
{ code: '_A07', name: 'Patio Doble', meta: 'Housing, L, 2024', parts: () => stack([[234, 6, LEVELS[2], 40, 8, 10], [234, 22, LEVELS[2], 40, 8, 10], [234, 14, LEVELS[2], 8, 8, 10], [266, 14, LEVELS[2], 8, 8, 10], [284, 10, LEVELS[2], 18, 18, 16]]) },
{ code: '_A08', name: 'Mesa Plegable', meta: 'Table, S, 2020', parts: () => stack([[132, 12, LEVELS[2], 2, 2, 14], [160, 12, LEVELS[2], 2, 2, 14], [132, 24, LEVELS[2], 2, 2, 14], [160, 24, LEVELS[2], 2, 2, 14], [128, 10, LEVELS[2] + 14, 38, 18, 2]]) },
{ code: '_A09', name: 'Faro Pequeño', meta: 'Lamp, S, 2026', parts: () => stack([[40, 14, LEVELS[4], 14, 10, 2], [46, 18, LEVELS[4] + 2, 2, 2, 26], [38, 12, LEVELS[4] + 28, 18, 14, 8]]) },
{ code: '_A10', name: 'Marco Apoyado', meta: 'Exhibition, M, 2025', parts: () => leaningFrame(120, 52) },
];
function drawFrame(svg) {
const group = shape('g', { class: 'shelf__frame' });
const posts = [0, 1, 2, 3].map((bay) => bay * BAY);
for (const x of posts) group.append(line([x, 0, 0], [x, 0, POST_TOP]));
for (const z of LEVELS) group.append(face([[0, 0, z], [3 * BAY, 0, z], [3 * BAY, DEPTH, z], [0, DEPTH, z]]));
svg.append(group);
}
function drawFrontPosts(svg) {
const group = shape('g', { class: 'shelf__frame' });
for (const bay of [0, 1, 2, 3]) group.append(line([bay * BAY, DEPTH, 0], [bay * BAY, DEPTH, POST_TOP - (bay % 2) * 16]));
svg.append(group);
}
function setUp(root) {
const svg = root.querySelector('.shelf__drawing');
const caption = {
code: root.querySelector('.shelf__code'),
name: root.querySelector('.shelf__name'),
meta: root.querySelector('.shelf__meta'),
};
const show = (item) => {
caption.code.textContent = item.code;
caption.name.textContent = item.name;
caption.meta.textContent = item.meta;
};
let picked = OBJECTS[3];
drawFrame(svg);
const groups = OBJECTS.map((item) => {
const group = shape('g', { class: 'shelf__item', tabindex: '0', 'aria-label': `${item.code} ${item.name}` });
group.append(...item.parts());
group.addEventListener('pointerenter', () => show(item));
group.addEventListener('pointerleave', () => show(picked));
group.addEventListener('focus', () => show(item));
group.addEventListener('blur', () => show(picked));
svg.append(group);
return group;
});
drawFrontPosts(svg);
const pick = (index) => {
picked = OBJECTS[index];
groups.forEach((group, order) => group.classList.toggle('is-active', order === index));
show(picked);
};
groups.forEach((group, index) => {
group.addEventListener('click', () => pick(index));
group.addEventListener('keydown', (event) => {
if (event.key !== 'Enter' && event.key !== ' ') return;
event.preventDefault();
pick(index);
});
});
pick(3);
const box = svg.getBBox();
svg.setAttribute('viewBox', `${box.x - 4} ${box.y - 4} ${box.width + 8} ${box.height + 8}`);
}
document.querySelectorAll('.shelf').forEach(setUp);
})();
</script>
Project panes
Floating panes with corner brackets for drawing, text and credits; they open in sequence, drag around, close and reopen.
Code
React For Figma<section class="panes" aria-label="Project _A01, Casa Ribera">
<div class="panes__bar">
<span class="panes__code">_A01</span>
<button class="panes__reopen" type="button">_reopen all</button>
</div>
<article class="panes__pane panes__pane--drawing" style="--x: 4%; --y: 72px;">
<button class="panes__close" type="button" aria-label="Close drawing">
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" aria-hidden="true"><path d="M1 1L16 16M16 1L1 16" /></svg>
</button>
<svg class="panes__drawing" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Isometric line drawing of a house on a garden plot"></svg>
</article>
<article class="panes__pane panes__pane--text" style="--x: 37%; --y: 16px;">
<button class="panes__close" type="button" aria-label="Close text">
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" aria-hidden="true"><path d="M1 1L16 16M16 1L1 16" /></svg>
</button>
<p class="panes__place">RIBERA ALTA (ES)</p>
<h2 class="panes__title">Casa Ribera</h2>
<p class="panes__subtitle">A house for two families and one long table</p>
<div class="panes__body is-truncated">
<p>The plot is an old orange grove, narrow and long, with a well at the far end. The house stays low and thin so the trees can keep their light, and every room opens onto the same covered walk.</p>
<p>We drew it first as a model the size of a shoebox and kept it on the studio shelf for a year. Each time someone moved it, the roof turned a little, until it faced the well.</p>
<p>The table runs the whole length of the walk: forty seats for the harvest, four on a Tuesday.</p>
</div>
<button class="panes__more" type="button">_read more</button>
</article>
<article class="panes__pane panes__pane--credits" style="--x: 66%; --y: 250px;">
<button class="panes__close" type="button" aria-label="Close credits">
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" aria-hidden="true"><path d="M1 1L16 16M16 1L1 16" /></svg>
</button>
<dl class="panes__facts">
<div><dt>Team:</dt> <dd>Ojeda_Brandt</dd></div>
<div class="panes__list"><dt>Collaborators:</dt>
<dd>Lucía Ferrer_structure</dd>
<dd>Bram De Wolf_landscape</dd>
</div>
<div><dt>Status:</dt> <dd>Under construction</dd></div>
<div><dt>Size:</dt> <dd>M</dd></div>
<div><dt>Year:</dt> <dd>2024</dd></div>
</dl>
</article>
</section>
<style>
.panes {
position: relative;
height: clamp(560px, 62vw, 700px);
overflow: hidden;
padding: var(--edge);
background: var(--paper);
color: var(--ink);
touch-action: pan-y;
}
.panes__bar {
position: absolute;
left: var(--edge);
right: var(--edge);
bottom: var(--edge);
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: -12px;
}
.panes__code {
font-weight: var(--weight-bold);
}
.panes__reopen,
.panes__more {
min-height: calc(var(--tap) / 0.88);
padding: 0;
border: 0;
background: none;
color: inherit;
font: inherit;
font-weight: var(--weight-bold);
letter-spacing: inherit;
cursor: pointer;
}
.panes__reopen:hover,
.panes__more:hover {
text-decoration: underline;
text-decoration-thickness: var(--hair);
text-underline-offset: 3px;
}
.panes button:focus-visible {
outline: var(--hair) solid var(--ink);
outline-offset: 2px;
}
/* No border: four thin corner brackets drawn as background strokes. */
.panes__pane {
position: absolute;
left: var(--x);
top: var(--y);
width: 32%;
padding: 32px;
background:
linear-gradient(var(--ink), var(--ink)) left top / var(--corner) var(--hair),
linear-gradient(var(--ink), var(--ink)) left top / var(--hair) var(--corner),
linear-gradient(var(--ink), var(--ink)) right top / var(--corner) var(--hair),
linear-gradient(var(--ink), var(--ink)) right top / var(--hair) var(--corner),
linear-gradient(var(--ink), var(--ink)) left bottom / var(--corner) var(--hair),
linear-gradient(var(--ink), var(--ink)) left bottom / var(--hair) var(--corner),
linear-gradient(var(--ink), var(--ink)) right bottom / var(--corner) var(--hair),
linear-gradient(var(--ink), var(--ink)) right bottom / var(--hair) var(--corner),
var(--paper);
background-repeat: no-repeat;
cursor: grab;
user-select: none;
opacity: 0;
scale: 0.9;
pointer-events: none;
transition: opacity var(--time) var(--ease), scale 250ms var(--ease);
transition-delay: calc(var(--order, 0) * 120ms);
}
.panes__pane.is-active {
opacity: 1;
scale: 1;
pointer-events: auto;
}
.panes__pane.is-dragging {
cursor: grabbing;
}
.panes__pane--text {
width: 28%;
}
.panes__pane--credits {
width: 30%;
}
/* Panes open from scale 0.9, so their controls are drawn a little larger to stay 44 px at every moment. */
.panes__close {
position: absolute;
top: 0;
right: 0;
display: grid;
place-items: center;
width: calc(var(--tap) / 0.88);
height: calc(var(--tap) / 0.88);
padding: 0;
border: 0;
background: none;
color: inherit;
cursor: pointer;
}
.panes__close path {
stroke: currentColor;
stroke-width: var(--hair);
}
.panes__drawing {
width: 100%;
height: auto;
overflow: visible;
}
.panes__drawing polygon,
.panes__drawing polyline {
fill: var(--paper);
stroke: var(--ink);
stroke-width: var(--stroke);
stroke-linejoin: round;
vector-effect: non-scaling-stroke;
}
.panes__drawing .panes__ground {
stroke: var(--line);
}
.panes__place,
.panes__title,
.panes__subtitle {
margin: 0;
font-size: var(--text);
font-weight: var(--weight-bold);
}
.panes__subtitle {
margin-bottom: var(--space-m);
}
.panes__body p {
margin: 0 0 var(--space-m);
}
.panes__body.is-truncated {
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 8;
}
.panes__body.is-truncated p {
display: inline;
}
.panes__body.is-truncated p + p::before {
content: " ";
}
.panes__more[hidden] {
display: none;
}
.panes__facts {
margin: 0;
}
.panes__facts dt {
display: inline;
font-weight: var(--weight-bold);
}
.panes__facts dd {
display: inline;
margin: 0;
}
.panes__list dd {
display: block;
padding-left: var(--indent);
}
/* Narrow screens: the panes stack in reading order and stay put. */
@media (max-width: 900px) {
.panes {
height: auto;
padding-bottom: calc(var(--edge) + var(--tap) + var(--space-s));
}
.panes__pane,
.panes__pane--text,
.panes__pane--credits {
position: relative;
left: auto;
top: auto;
width: auto;
margin-bottom: var(--space-m);
cursor: auto;
translate: none !important;
}
}
@media (prefers-reduced-motion: reduce) {
.panes__pane {
transition: none;
}
}
</style>
<script>
(() => {
const NS = 'http://www.w3.org/2000/svg';
const COS30 = Math.cos(Math.PI / 6);
const project = ([x, y, z]) => [(x - y) * COS30, (x + y) * 0.5 - z];
const pointsOf = (corners) => corners.map((corner) => project(corner).map((n) => n.toFixed(2)).join(',')).join(' ');
const face = (corners, className) => {
const node = document.createElementNS(NS, 'polygon');
node.setAttribute('points', pointsOf(corners));
if (className) node.setAttribute('class', className);
return node;
};
const box = (x, y, z, w, d, h) => [
face([[x + w, y, z], [x + w, y + d, z], [x + w, y + d, z + h], [x + w, y, z + h]]),
face([[x, y + d, z], [x + w, y + d, z], [x + w, y + d, z + h], [x, y + d, z + h]]),
face([[x, y, z + h], [x + w, y, z + h], [x + w, y + d, z + h], [x, y + d, z + h]]),
];
const gableHouse = (x, y, z, w, d, h, roof) => {
const eave = z + h;
return [
...box(x, y, z, w, d, h).slice(0, 2),
face([[x, y, eave], [x + w, y, eave], [x + w, y + d / 2, eave + roof], [x, y + d / 2, eave + roof]]),
face([[x, y + d, eave], [x + w, y + d, eave], [x + w, y + d / 2, eave + roof], [x, y + d / 2, eave + roof]]),
face([[x + w, y, eave], [x + w, y + d, eave], [x + w, y + d / 2, eave + roof]]),
];
};
function drawHouse(svg) {
svg.append(face([[0, 0, 0], [160, 0, 0], [160, 70, 0], [0, 70, 0]], 'panes__ground'));
for (let tree = 0; tree < 4; tree += 1) svg.append(...box(14 + tree * 22, 6, 0, 8, 8, 14 + (tree % 2) * 6));
svg.append(...gableHouse(20, 30, 0, 110, 22, 14, 10));
svg.append(...box(20, 54, 0, 110, 10, 2));
svg.append(...box(140, 20, 0, 10, 10, 6));
const bounds = svg.getBBox();
svg.setAttribute('viewBox', `${bounds.x - 4} ${bounds.y - 4} ${bounds.width + 8} ${bounds.height + 8}`);
}
const stacked = matchMedia('(max-width: 900px)');
function makeDraggable(root, pane, raise) {
let start = null;
pane.addEventListener('pointerdown', (event) => {
if (stacked.matches || event.target.closest('button')) return;
raise(pane);
const box = pane.getBoundingClientRect();
const area = root.getBoundingClientRect();
start = { x: event.clientX, y: event.clientY, left: box.left - area.left, top: box.top - area.top, area, box };
pane.setPointerCapture(event.pointerId);
pane.classList.add('is-dragging');
});
pane.addEventListener('pointermove', (event) => {
if (!start) return;
const left = Math.min(Math.max(0, start.left + event.clientX - start.x), start.area.width - start.box.width);
const top = Math.min(Math.max(0, start.top + event.clientY - start.y), start.area.height - start.box.height);
pane.style.left = `${left}px`;
pane.style.top = `${top}px`;
});
const stop = () => {
start = null;
pane.classList.remove('is-dragging');
};
pane.addEventListener('pointerup', stop);
pane.addEventListener('pointercancel', stop);
}
function setUp(root) {
const panes = [...root.querySelectorAll('.panes__pane')];
let layer = 1;
const raise = (pane) => {
layer += 1;
pane.style.zIndex = layer;
};
const openAll = () => panes.forEach((pane) => pane.classList.add('is-active'));
drawHouse(root.querySelector('.panes__drawing'));
panes.forEach((pane, order) => {
pane.style.setProperty('--order', order);
makeDraggable(root, pane, raise);
pane.querySelector('.panes__close').addEventListener('click', () => pane.classList.remove('is-active'));
});
root.querySelector('.panes__reopen').addEventListener('click', openAll);
const body = root.querySelector('.panes__body');
const more = root.querySelector('.panes__more');
more.addEventListener('click', () => {
body.classList.remove('is-truncated');
more.hidden = true;
});
const firstView = new IntersectionObserver((entries) => {
if (!entries.some((entry) => entry.isIntersecting)) return;
firstView.disconnect();
openAll();
}, { threshold: 0.2 });
firstView.observe(root);
}
document.querySelectorAll('.panes').forEach(setUp);
})();
</script>
Project sheet
Phone-style project: a line drawing on top, then bold category, bold title and 'Label: value' lines with an indented list; thin chevrons swap projects.
Code
React For Figma<section class="project" aria-label="Projects, one at a time">
<div class="project__view">
<div class="project__figure">
<svg class="project__drawing" xmlns="http://www.w3.org/2000/svg" role="img"></svg>
</div>
<article class="project__sheet">
<p class="project__category"></p>
<h2 class="project__title"></h2>
<dl class="project__facts"></dl>
</article>
</div>
<nav class="project__nav" aria-label="Other projects">
<button class="project__step" type="button" data-step="-1" aria-label="Previous project">
<svg width="11" height="17" viewBox="0 0 11 17" fill="none" aria-hidden="true"><path d="M9.7 1L1 8.6L9.7 16" /></svg>
</button>
<button class="project__step" type="button" data-step="1" aria-label="Next project">
<svg width="11" height="17" viewBox="0 0 11 17" fill="none" aria-hidden="true"><path d="M1.3 1L10 8.6L1.3 16" /></svg>
</button>
</nav>
</section>
<style>
.project {
padding: var(--edge);
background: var(--paper);
color: var(--ink);
}
.project__view {
display: grid;
grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
align-items: end;
gap: var(--gap) calc(var(--gap) * 2);
transition: opacity var(--slow) var(--ease-swap);
}
.project.is-leaving .project__view {
opacity: 0;
}
.project__figure {
display: grid;
place-items: center;
min-width: 0;
}
.project__drawing {
width: 100%;
height: clamp(260px, 44vw, 480px);
overflow: visible;
}
.project__drawing polygon,
.project__drawing polyline {
fill: var(--paper);
stroke: var(--ink);
stroke-width: var(--stroke);
stroke-linejoin: round;
vector-effect: non-scaling-stroke;
}
.project__drawing .project__solid {
fill: var(--ink);
stroke: var(--paper);
}
.project__drawing .project__glyph {
fill: none;
}
.project__sheet {
padding-bottom: var(--space-m);
}
.project__category,
.project__title {
margin: 0;
font-size: var(--text);
font-weight: var(--weight-bold);
line-height: var(--leading);
}
.project__title {
margin-bottom: var(--space-m);
text-wrap: balance;
}
.project__facts {
margin: 0;
}
.project__facts dt {
display: inline;
font-weight: var(--weight-bold);
}
.project__facts dd {
display: inline;
margin: 0;
}
.project__facts .project__list dd {
display: block;
padding-left: var(--indent);
}
.project__nav {
display: flex;
justify-content: center;
gap: var(--space-s);
margin-top: var(--space-s);
}
.project__step {
display: grid;
place-items: center;
width: var(--tap);
height: var(--tap);
padding: 0;
border: 0;
background: none;
color: inherit;
cursor: pointer;
transition: translate var(--quick) var(--ease);
}
.project__step path {
stroke: currentColor;
stroke-width: var(--hair);
}
.project__step[data-step="-1"]:hover {
translate: -3px 0;
}
.project__step[data-step="1"]:hover {
translate: 3px 0;
}
.project__step:focus-visible {
outline: var(--hair) solid var(--ink);
}
@media (max-width: 760px) {
.project__view {
grid-template-columns: minmax(0, 1fr);
}
.project__drawing {
height: clamp(260px, 80vw, 420px);
}
}
</style>
<script>
(() => {
const NS = 'http://www.w3.org/2000/svg';
const SWAP_MS = 550;
const COS30 = Math.cos(Math.PI / 6);
const project = ([x, y, z]) => [(x - y) * COS30, (x + y) * 0.5 - z];
const pointsOf = (corners) => corners.map((corner) => project(corner).map((n) => n.toFixed(2)).join(',')).join(' ');
const shape = (tag, corners, className) => {
const node = document.createElementNS(NS, tag);
node.setAttribute('points', pointsOf(corners));
if (className) node.setAttribute('class', className);
return node;
};
const face = (corners, className) => shape('polygon', corners, className);
const box = (x, y, z, w, d, h, className) => [
face([[x + w, y, z], [x + w, y + d, z], [x + w, y + d, z + h], [x + w, y, z + h]], className),
face([[x, y + d, z], [x + w, y + d, z], [x + w, y + d, z + h], [x, y + d, z + h]], className),
face([[x, y, z + h], [x + w, y, z + h], [x + w, y + d, z + h], [x, y + d, z + h]], className),
];
const backToFront = (boxes) => boxes.sort((a, b) => a[0] + a[1] + a[2] - (b[0] + b[1] + b[2])).flatMap((b) => box(...b));
const legs = (x, y, z, w, d, size) => [[x, y], [x + w - size, y], [x, y + d - size], [x + w - size, y + d - size]]
.map(([lx, ly]) => [lx, ly, 0, size, size, z]);
const gable = (x, y, z, w, d, h, roof) => [
...box(x, y, z, w, d, h).slice(0, 2),
face([[x, y, z + h], [x + w, y, z + h], [x + w, y + d / 2, z + h + roof], [x, y + d / 2, z + h + roof]]),
face([[x, y + d, z + h], [x + w, y + d, z + h], [x + w, y + d / 2, z + h + roof], [x, y + d / 2, z + h + roof]]),
face([[x + w, y, z + h], [x + w, y + d, z + h], [x + w, y + d / 2, z + h + roof]]),
];
/* A frame leaning on something: u runs along x, v climbs the lean. Draws the small "_m" on its face. */
function leaningFrame(x0, y0, width, lean) {
const at = (u, v) => [x0 + u, y0 - lean.back * v, lean.up * v];
const glyph = (points) => shape('polyline', points.map(([u, v]) => at(u, v)), 'project__glyph');
return [
face([at(0, 0), at(width, 0), at(width, 1), at(0, 1)]),
face([at(4, 0.04), at(width - 4, 0.04), at(width - 4, 0.96), at(4, 0.96)]),
glyph([[width * 0.4, 0.27], [width * 0.54, 0.27]]),
glyph([[width * 0.58, 0.3], [width * 0.58, 0.44], [width * 0.66, 0.44], [width * 0.66, 0.3], [width * 0.66, 0.44], [width * 0.74, 0.44], [width * 0.74, 0.3]]),
];
}
const PROJECTS = [
{
category: 'TEACHING',
title: 'Shelves. Small rooms for large ideas',
facts: [
['Subject:', 'Furniture as Architecture'],
['Tutors:', 'Inés Ojeda / Pieter Brandt'],
['School:', 'Studio of the Small Object, Valencia'],
['Selected students:', ['Marta Llobet_A Table for Waiting', 'Joris Peeters_Twelve Drawers', 'Aitana Sanz_The Leaning Room', 'Omar Haddad_Books as Walls']],
],
label: 'Line drawing of a table with stacked books and a frame leaning on it',
draw: () => [
...backToFront(legs(0, 0, 60, 120, 56, 2)),
...box(0, 0, 60, 120, 56, 3),
...backToFront([[8, 10, 63, 46, 34, 5], [12, 12, 68, 38, 30, 6], [10, 14, 74, 42, 26, 4], [18, 16, 78, 26, 20, 8]]),
...[0, 1, 2, 3, 4].flatMap((layer) => box(64 + layer, 12 - layer, 63 + layer * 2, 40, 30, 2, 'project__solid')),
...leaningFrame(78, 96, 62, { back: 38, up: 112 }),
],
},
{
category: 'HOUSING',
title: 'Casa Ribera. A house for two families and one long table',
facts: [
['Client:', 'Cooperativa La Séquia'],
['Location:', 'Ribera Alta (ES)'],
['Status:', 'Under construction'],
['Team:', ['Inés Ojeda', 'Pieter Brandt', 'Lucía Ferrer_structure']],
['Year:', '2024'],
],
label: 'Line drawing of a stool holding a model house',
draw: () => [
...backToFront(legs(20, 10, 46, 52, 52, 3)),
...box(20, 10, 46, 52, 52, 3),
...gable(26, 22, 49, 40, 22, 18, 12),
...box(30, 50, 49, 30, 8, 1),
...box(96, 40, 0, 10, 10, 24),
...box(94, 38, 24, 14, 14, 12, 'project__solid'),
],
},
{
category: 'COMPETITION',
title: 'Torre Lenta. A tower that grows one floor a year',
facts: [
['Brief:', 'Archive for a town of 4,000'],
['Location:', 'Ostend (BE)'],
['Status:', 'Second prize'],
['Size:', 'XL'],
['Jury notes:', ['Patient', 'Too quiet for a tower', 'Quiet on purpose']],
],
label: 'Line drawing of a plinth carrying a stepped tower model and a small figure',
draw: () => [
...box(10, 10, 0, 70, 70, 44),
...backToFront([[22, 22, 44, 44, 44, 20], [28, 28, 64, 32, 32, 24], [34, 34, 88, 20, 20, 30], [38, 38, 118, 12, 12, 26]]),
...box(40, 40, 144, 8, 8, 4, 'project__solid'),
...box(96, 70, 0, 4, 3, 18),
],
},
];
function renderFacts(list, facts) {
list.replaceChildren(...facts.map(([label, value]) => {
const row = document.createElement('div');
const term = document.createElement('dt');
term.textContent = label;
row.append(term);
const values = Array.isArray(value) ? value : [value];
if (Array.isArray(value)) row.className = 'project__list';
else row.append(' ');
for (const text of values) {
const item = document.createElement('dd');
item.textContent = text;
row.append(item);
}
return row;
}));
}
function render(root, entry) {
const svg = root.querySelector('.project__drawing');
svg.removeAttribute('viewBox');
svg.replaceChildren(...entry.draw());
svg.setAttribute('aria-label', entry.label);
const bounds = svg.getBBox();
svg.setAttribute('viewBox', `${bounds.x - 4} ${bounds.y - 4} ${bounds.width + 8} ${bounds.height + 8}`);
root.querySelector('.project__category').textContent = entry.category;
root.querySelector('.project__title').textContent = entry.title;
renderFacts(root.querySelector('.project__facts'), entry.facts);
}
function setUp(root) {
const still = matchMedia('(prefers-reduced-motion: reduce)');
let current = 0;
let busy = false;
render(root, PROJECTS[current]);
root.querySelectorAll('.project__step').forEach((button) => {
button.addEventListener('click', () => {
if (busy) return;
current = (current + Number(button.dataset.step) + PROJECTS.length) % PROJECTS.length;
if (still.matches) return render(root, PROJECTS[current]);
busy = true;
root.classList.add('is-leaving');
setTimeout(() => {
render(root, PROJECTS[current]);
root.classList.remove('is-leaving');
busy = false;
}, SWAP_MS);
});
});
}
document.querySelectorAll('.project').forEach(setUp);
})();
</script>
Object index
Every model as one 15 px row with its code, name, type, size and year; hovering a row fills its tiny isometric glyph black.
Code
React For Figma<section class="index" aria-labelledby="index-title">
<header class="index__head">
<h2 class="index__title" id="index-title">_index</h2>
<span class="index__note">Ten objects, one shelf, 2020 to 2026</span>
</header>
<ul class="index__list">
<li><a class="index__row" href="#" data-dims="34 22 30"><span class="index__glyph"></span><span class="index__code">_A01</span><span class="index__name">Casa Ribera</span><span class="index__type">House</span><span class="index__size">M</span><span class="index__year">2024</span></a></li>
<li><a class="index__row" href="#" data-dims="40 20 24"><span class="index__glyph"></span><span class="index__code">_A02</span><span class="index__name">Escalera Norte</span><span class="index__type">Stair</span><span class="index__size">S</span><span class="index__year">2022</span></a></li>
<li><a class="index__row" href="#" data-dims="70 26 8"><span class="index__glyph"></span><span class="index__code">_A03</span><span class="index__name">Pabellón del Agua</span><span class="index__type">Pavilion</span><span class="index__size">L</span><span class="index__year">2026</span></a></li>
<li><a class="index__row" href="#" data-dims="36 24 16"><span class="index__glyph"></span><span class="index__code">_A04</span><span class="index__name">Biblioteca Mínima</span><span class="index__type">Library</span><span class="index__size">S</span><span class="index__year">2025</span></a></li>
<li><a class="index__row" href="#" data-dims="20 20 52"><span class="index__glyph"></span><span class="index__code">_A05</span><span class="index__name">Torre Lenta</span><span class="index__type">Tower</span><span class="index__size">XL</span><span class="index__year">2023</span></a></li>
<li><a class="index__row" href="#" data-dims="78 14 12"><span class="index__glyph"></span><span class="index__code">_A06</span><span class="index__name">Banco Largo</span><span class="index__type">Bench</span><span class="index__size">M</span><span class="index__year">2021</span></a></li>
<li><a class="index__row" href="#" data-dims="60 30 14"><span class="index__glyph"></span><span class="index__code">_A07</span><span class="index__name">Patio Doble</span><span class="index__type">Housing</span><span class="index__size">L</span><span class="index__year">2024</span></a></li>
<li><a class="index__row" href="#" data-dims="38 18 16"><span class="index__glyph"></span><span class="index__code">_A08</span><span class="index__name">Mesa Plegable</span><span class="index__type">Table</span><span class="index__size">S</span><span class="index__year">2020</span></a></li>
</ul>
</section>
<style>
.index {
padding: var(--edge);
background: var(--paper);
color: var(--ink);
}
.index__head {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 0 var(--gap);
margin-bottom: var(--space-m);
}
.index__title {
margin: 0;
font-size: var(--text-mid);
font-weight: var(--weight-bold);
line-height: 1;
letter-spacing: -0.02em;
}
.index__note {
align-self: end;
color: var(--line);
}
.index__list {
margin: 0;
padding: 0;
list-style: none;
}
.index__row {
display: grid;
grid-template-columns: 44px 4.5em minmax(0, 2fr) minmax(0, 1fr) 3em 3.5em;
align-items: center;
gap: var(--gap);
min-height: var(--tap);
color: inherit;
text-decoration: none;
}
.index__row:focus-visible {
outline: var(--hair) solid var(--ink);
}
.index__code,
.index__name {
font-weight: var(--weight-bold);
}
.index__year {
text-align: right;
}
.index__glyph svg {
width: 36px;
height: 36px;
overflow: visible;
}
.index__glyph polygon {
fill: var(--paper);
stroke: var(--line);
stroke-width: var(--stroke);
stroke-linejoin: round;
vector-effect: non-scaling-stroke;
transition: fill var(--time) var(--ease), stroke var(--time) var(--ease);
}
.index__row:hover .index__glyph polygon,
.index__row:focus-visible .index__glyph polygon {
fill: var(--ink);
stroke: var(--paper);
}
.index__row:hover .index__name {
text-decoration: underline;
text-decoration-thickness: var(--hair);
text-underline-offset: 3px;
}
@media (max-width: 600px) {
.index__row {
grid-template-columns: 36px 3.6em minmax(0, 1fr) 2em;
gap: var(--space-s);
}
.index__type,
.index__year {
display: none;
}
}
</style>
<script>
(() => {
const NS = 'http://www.w3.org/2000/svg';
const COS30 = Math.cos(Math.PI / 6);
const project = ([x, y, z]) => [(x - y) * COS30, (x + y) * 0.5 - z];
const face = (corners) => {
const node = document.createElementNS(NS, 'polygon');
node.setAttribute('points', corners.map((corner) => project(corner).map((n) => n.toFixed(2)).join(',')).join(' '));
return node;
};
/* One isometric block per row, sized from data-dims (width, depth, height). */
function glyph([w, d, h]) {
const svg = document.createElementNS(NS, 'svg');
svg.setAttribute('aria-hidden', 'true');
svg.append(
face([[w, 0, 0], [w, d, 0], [w, d, h], [w, 0, h]]),
face([[0, d, 0], [w, d, 0], [w, d, h], [0, d, h]]),
face([[0, 0, h], [w, 0, h], [w, d, h], [0, d, h]]),
);
const [left, right, top, bottom] = [-d * COS30, w * COS30, -h, (w + d) * 0.5];
const side = Math.max(right - left, bottom - top);
svg.setAttribute('viewBox', `${(left + right - side) / 2} ${(top + bottom - side) / 2} ${side} ${side}`);
return svg;
}
for (const root of document.querySelectorAll('.index')) {
root.querySelectorAll('.index__row').forEach((row) => {
row.querySelector('.index__glyph').append(glyph(row.dataset.dims.split(' ').map(Number)));
});
}
})();
</script>
Style
- --ink #000000
- --paper #ffffff
- --line #9a9a9a
- --line-soft #c8c8c8
- --scrim rgba(0, 0, 0, 0.2)
Type
- Inter Tight for everything: wordmark, labels, running text, stands in for Neue Haas Display, a tight neo-grotesque used at 15 px in regular and medium, and at one huge medium size for the wordmark
Motion
- On load the huge wordmark slides in from past the right edge at the bottom right, 900 ms on cubic-bezier(0.19, 1, 0.22, 1).
- Then every letter between the underscore-initial and the end folds to zero width, one after another 40 ms apart, until only the short mark is left.
- Hovering an object on the drawing fills its faces black and turns its strokes white, 330 ms ease-in-out; a click keeps it that way.
- Project panes open one after another, scaling from 0.9 to 1 and fading in over 330 ms, and can be dragged anywhere on the stage.
- Switching projects on the phone sheet fades the old drawing and text out and the new ones in, 550 ms on cubic-bezier(0.55, 0.01, 0.97, 0.42).
Rules
- White page, black ink only; drawings are grey hairlines, and black appears on a drawing only as a fill on the touched object.
- One face at 15/21 px for everything; weight 500 for labels and titles, 400 for values. The only other sizes are the huge wordmark and its mid size.
- Names carry a leading underscore: _mensula, _profile, _A04. The wordmark collapses to underscore plus its first letter.
- Drawings are true isometric line work: thin uprights, open shelves, small models with white faces that hide what is behind them.
- Facts are written as 'Label: value' lines, bold label, regular value; a list under a label is indented by about 40 px.
- Panes have no border, only four thin corner brackets, and a hairline × in the top right corner.
- Nothing is rounded, nothing has a shadow, no color besides black, white and two greys.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,400;0,500;0,600;1,400&display=swap");
:root {
/* One token per line, with its role in a comment. Every color, font, radius, spacing step and timing a part uses lives here. */
--ink: #000000; /* text, wordmark, hovered objects */
--paper: #ffffff; /* page, panes, object faces */
--line: #9a9a9a; /* fine strokes of the axonometric drawings */
--line-soft: #c8c8c8; /* shelving frame, the faintest strokes */
--scrim: rgba(0, 0, 0, 0.2); /* backdrop behind an open profile sheet */
--font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* the huge wordmark */
--font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* every other line */
--text: 15px; /* the one running size */
--leading: 21px; /* running line height */
--tracking: 0.026em; /* running letter spacing */
--text-mid: clamp(30px, 4.2vw, 50px); /* wordmark when a project is open */
--text-huge: clamp(96px, 20vw, 288px); /* intro wordmark */
--weight-regular: 400; /* values and body text */
--weight-bold: 500; /* labels, titles, wordmark */
--stroke: 0.75; /* SVG stroke width of drawings, in user units */
--hair: 1px; /* corner brackets, rules */
--corner: 20px; /* length of a pane's corner bracket */
--edge: clamp(16px, 2.6vw, 37px); /* page margin */
--gap: 24px; /* between columns */
--indent: 40px; /* indented list under a label */
--space-s: 8px; /* small step */
--space-m: 21px; /* one blank line of running text */
--space-l: 48px; /* between blocks */
--tap: 44px; /* smallest control */
--radius: 0; /* nothing is rounded */
--ease: ease-in-out; /* object hover fill */
--ease-out: cubic-bezier(0.19, 1, 0.22, 1); /* wordmark slide and collapse */
--ease-swap: cubic-bezier(0.55, 0.01, 0.97, 0.42); /* project swap fade */
--quick: 150ms; /* link and button feedback */
--time: 330ms; /* object fill, pane open */
--slow: 550ms; /* project swap */
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--weight-regular) var(--text)/var(--leading) var(--font-body); letter-spacing: var(--tracking); -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("shelf-atelier"), 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