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.
Part of the style
Shelf Atelier
6 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/shelf-atelier/masthead/figma.html?palette=a7c4fe7553eba4e6
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/shelf-atelier/masthead/figma.html?palette=a7c4fe7553eba4e6 and pass that whole HTML document to the html_to_figma tool, so the part "Masthead and profile" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--ink: #fff3e8;
--paper: #503628;
--line: #866b5e;
--line-soft: #6c5244;
--scrim: rgba(255, 243, 232, 0.2);
}
</style>
<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>