Swash masthead
The centred title: roman capitals over two lines of swash italic, framed by six corner words and a short sans line below.
Part of the style
Line Screen Folio
6 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/line-screen-folio/masthead/figma.html?palette=9e2b19254e4b13cf
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/line-screen-folio/masthead/figma.html?palette=9e2b19254e4b13cf and pass that whole HTML document to the html_to_figma tool, so the part "Swash masthead" 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 {
--night: #0a0a0a;
--night-raised: #111111;
--night-warm: #191919;
--ivory: #f2f2f2;
--ivory-soft: rgba(242, 242, 242, 0.62);
--ivory-faint: rgba(242, 242, 242, 0.32);
--rule: rgba(242, 242, 242, 0.16);
--paper: #eeeeee;
--paper-shade: #dbdbdb;
--ink: #121212;
--ink-soft: #555555;
--screen-ice: #e7e7e7;
--black: #000000;
--rule-faint: rgba(242, 242, 242, 0.06);
--night-panel: #111111;
--silver: #bababa;
--screen-blue: #186da2;
--folder-deep: #a6c9e6;
--screen-steel: #6b7d8c;
--screen-night: #1a2630;
--folder-light: #f3f9ff;
--screen-sepia: #a6736d;
--copper: #cc6158;
}
</style>
<section class="masthead" aria-labelledby="masthead-title">
<div class="masthead__frame">
<ul class="masthead__corners masthead__corners--top" aria-label="What the folio is">
<li class="masthead__corner">Maritime</li>
<li class="masthead__corner">Underwritten</li>
<li class="masthead__corner">Archive</li>
</ul>
<h2 class="masthead__title" id="masthead-title">
<span class="masthead__line masthead__line--caps">The Quillmere</span>
<span class="masthead__line masthead__line--caps">Folio <span class="masthead__colon">:</span></span>
<span class="masthead__line masthead__line--italic">Made to Outlast the</span>
<span class="masthead__line masthead__line--italic">Weather it Insures<span class="masthead__swash" aria-hidden="true"><svg viewBox="0 0 120 40" focusable="false"><path d="M2 30 C 28 30, 40 16, 62 22 S 104 36, 116 14" /></svg></span></span>
</h2>
<ul class="masthead__corners masthead__corners--bottom" aria-label="How it is made">
<li class="masthead__corner">Patient</li>
<li class="masthead__corner">Exacting</li>
<li class="masthead__corner">Seaworthy</li>
</ul>
</div>
<p class="masthead__lede">Two centuries of ship ledgers—redrawn for the people who still read them.</p>
</section>
<style>
.masthead {
padding: var(--section-space) var(--edge);
background: var(--night);
color: var(--ivory);
text-align: center;
}
.masthead__frame {
display: grid;
gap: clamp(1.2rem, 2.4vw, 2.2rem);
max-width: 1040px;
margin: 0 auto;
}
.masthead__corners {
display: flex;
justify-content: space-between;
gap: var(--gap);
margin: 0;
padding: 0;
list-style: none;
}
.masthead__corner {
color: var(--ivory-soft);
font-family: var(--font-sans);
font-size: var(--text-s);
letter-spacing: var(--track-label);
line-height: 1.5;
text-transform: uppercase;
opacity: 0;
transition: opacity var(--fade) var(--ease);
transition-delay: 700ms;
}
.masthead__title {
display: grid;
margin: 0;
font-family: var(--font-display);
font-size: var(--display-xl);
font-weight: 300;
line-height: 0.92;
text-wrap: balance;
}
.masthead__line {
display: block;
opacity: 0;
transform: translateY(0.18em);
transition: opacity var(--fade) var(--ease), transform var(--fade) var(--ease);
transition-delay: calc(var(--order, 0) * 120ms);
}
.masthead__line--caps {
letter-spacing: var(--track-caps);
text-transform: uppercase;
}
.masthead__line--italic {
font-style: italic;
font-weight: 400;
letter-spacing: -0.01em;
}
.masthead__colon { font-weight: 400; }
.masthead__swash {
display: inline-block;
width: 0.9em;
height: 0.3em;
margin-left: -0.08em;
vertical-align: -0.02em;
}
.masthead__swash svg {
width: 100%;
height: 100%;
overflow: visible;
fill: none;
stroke: currentColor;
stroke-width: 3.2;
stroke-linecap: round;
}
.masthead.is-seen .masthead__line,
.masthead.is-seen .masthead__corner {
opacity: 1;
transform: none;
}
.masthead.is-seen .masthead__corner { opacity: 0.85; }
.masthead__lede {
margin: var(--space-xl) auto 0;
max-width: 32ch;
color: var(--ivory);
font-family: var(--font-sans);
font-size: 0.9375rem;
letter-spacing: var(--track-label);
line-height: 1.55;
}
@media (max-width: 40rem) {
.masthead__corners { flex-wrap: wrap; justify-content: center; column-gap: var(--space-m); }
}
@media (prefers-reduced-motion: reduce) {
.masthead__line,
.masthead__corner { opacity: 1; transform: none; transition: none; }
}
</style>
<script>
(() => {
const seen = new IntersectionObserver((entries) => {
for (const entry of entries) {
if (!entry.isIntersecting) continue;
entry.target.classList.add('is-seen');
seen.unobserve(entry.target);
}
}, { threshold: 0.15 });
for (const root of document.querySelectorAll('.masthead')) {
root.querySelectorAll('.masthead__line').forEach((line, order) => line.style.setProperty('--order', order));
seen.observe(root);
}
})();
</script>