Cover
The signature: a full-width two-line green caps title with a drawn grayscale compass pushed through it, pencil bearings scattered on the grid, a tiny ink figure standing on the baseline, an italic byline and a hand-lettered scroll cue. Fades the title out on scroll.
Part of the style
Graph Paper Novel
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/graph-paper-novel/cover/figma.html?palette=daab239504fce080
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/graph-paper-novel/cover/figma.html?palette=daab239504fce080 and pass that whole HTML document to the html_to_figma tool, so the part "Cover" 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 {
--page: #20201f;
--grid-line: #2c2c29;
--ink: #f8e2c6;
--ink-soft: #ae9f8d;
--ink-dim: #42423c;
--panel: #272725;
--sheet: #181817;
--on-dark: #e1e1df;
--metal-light: #1a1a19;
--metal-mid: #58584e;
--metal-dark: #bbab97;
--shade: rgba(248, 226, 198, 0.3);
--shade-light: rgba(248, 226, 198, 0.1);
--sheen: rgba(19, 19, 18, 0.1);
--green: #6c6256;
--green-hover: #f6ecdf;
--scribble: #67625b;
}
</style>
<section class="cover" aria-labelledby="cover-title">
<p class="cover__kicker">The Quiet Rules of Getting Home</p>
<div class="cover__stage">
<h1 class="cover__title" id="cover-title">
<span class="cover__line">True</span>
<span class="cover__line">North</span>
<svg class="cover__figure" viewBox="0 0 40 90" aria-hidden="true">
<path d="M24 6c3-4 0-7 3-10M23 10c2-3 6-2 5-6" fill="none" stroke="currentColor" stroke-width="0.8" stroke-linecap="round"/>
<circle cx="20" cy="15" r="4.2" fill="currentColor"/>
<path d="M15 12.5h10" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
<path d="M14 21c3-2 9-2 12 0l2 36c-5 2-11 2-16 0z" fill="currentColor"/>
<path d="M26 26l7 14" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
<rect x="30.5" y="39" width="5" height="7" rx="1" fill="none" stroke="currentColor" stroke-width="1.2"/>
<path d="M17 57l-1 26M23 57l1 26M12 84h9M22 84h9" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
<path d="M2 86c12 1 26-1 37 0" fill="none" stroke="currentColor" stroke-width="0.7"/>
</svg>
</h1>
<svg class="cover__object" viewBox="0 0 200 340" role="img" aria-label="A rolled sea chart tied with string, a pocket compass strapped to its front">
<defs>
<linearGradient id="cover-roll" x1="0" x2="1">
<stop style="stop-color: var(--metal-dark)" offset="0"/>
<stop style="stop-color: var(--metal-mid)" offset="0.28"/>
<stop style="stop-color: var(--metal-light)" offset="0.45"/>
<stop style="stop-color: var(--metal-mid)" offset="0.7"/>
<stop style="stop-color: var(--metal-dark)" offset="1"/>
</linearGradient>
<radialGradient id="cover-case" cx="0.38" cy="0.32" r="0.75">
<stop style="stop-color: var(--metal-light)" offset="0"/>
<stop style="stop-color: var(--metal-mid)" offset="0.55"/>
<stop style="stop-color: var(--metal-dark)" offset="1"/>
</radialGradient>
<radialGradient id="cover-face" cx="0.45" cy="0.4" r="0.7">
<stop style="stop-color: var(--metal-light)" offset="0"/>
<stop style="stop-color: var(--metal-mid)" offset="1"/>
</radialGradient>
<pattern id="cover-hatch" width="3" height="3" patternUnits="userSpaceOnUse">
<path style="stroke: var(--metal-dark)" d="M0 0.5h3" stroke-width="0.5" opacity="0.35"/>
</pattern>
<clipPath id="cover-body"><rect x="38" y="36" width="124" height="276" rx="4"/></clipPath>
</defs>
<ellipse style="fill: var(--metal-dark)" cx="102" cy="318" rx="70" ry="10" opacity="0.25"/>
<rect x="38" y="36" width="124" height="276" rx="4" fill="url(#cover-roll)"/>
<g style="stroke: var(--metal-dark)" clip-path="url(#cover-body)" fill="none" stroke-width="0.9" opacity="0.55">
<path d="M30 70c30 10 50-8 80 4s40 2 60-6"/>
<path d="M30 92c26 6 46-12 82 0s38 4 58-4"/>
<path d="M30 230c20-8 50 12 80 2s48-10 60 0"/>
<path d="M30 262c24-6 52 10 78 0s48-8 62 2"/>
<path d="M60 36v276M100 36v276M140 36v276" stroke-dasharray="2 4"/>
<path d="M120 280l14-10 6 8-12 8z"/>
</g>
<rect x="38" y="36" width="124" height="276" fill="url(#cover-hatch)" clip-path="url(#cover-body)"/>
<ellipse style="fill: var(--metal-light); stroke: var(--metal-dark)" cx="100" cy="36" rx="62" ry="15" stroke-width="1.2"/>
<path style="stroke: var(--metal-mid)" d="M100 36c-8 0-10-6-2-7s16 2 16 7-10 10-22 9-24-6-22-12 18-10 34-9 34 6 32 13" fill="none" stroke-width="1"/>
<path style="stroke: var(--metal-dark)" d="M38 112c40 18 84 18 124 0M38 118c40 18 84 18 124 0" fill="none" stroke-width="2.4"/>
<path style="stroke: var(--metal-dark)" d="M38 258c40 18 84 18 124 0M38 264c40 18 84 18 124 0" fill="none" stroke-width="2.4"/>
<path style="stroke: var(--metal-light)" d="M38 113c40 18 84 18 124 0M38 259c40 18 84 18 124 0" fill="none" stroke-width="0.6"/>
<circle cx="100" cy="132" r="10" fill="none" stroke="url(#cover-case)" stroke-width="5"/>
<circle style="stroke: var(--metal-dark)" cx="100" cy="190" r="56" fill="url(#cover-case)" stroke-width="1.5"/>
<circle style="stroke: var(--metal-dark)" cx="100" cy="190" r="46" fill="url(#cover-face)" stroke-width="1"/>
<circle style="stroke: var(--metal-dark)" cx="100" cy="190" r="40" fill="none" stroke-width="5" stroke-dasharray="0.8 7.05"/>
<g style="fill: var(--metal-dark); font-family: var(--font-display)" font-size="11" text-anchor="middle">
<text x="100" y="164">N</text><text x="128" y="194">E</text><text x="100" y="223">S</text><text x="72" y="194">W</text>
</g>
<g class="cover__needle">
<path style="fill: var(--metal-dark)" d="M100 152l6 38h-12z"/>
<path style="fill: var(--metal-light); stroke: var(--metal-dark)" d="M100 228l6-38h-12z" stroke-width="0.8"/>
<circle style="fill: var(--metal-mid); stroke: var(--metal-dark)" cx="100" cy="190" r="3.2"/>
</g>
<path style="stroke: var(--on-dark)" d="M68 160a44 44 0 0 1 30-14" fill="none" stroke-width="3" stroke-linecap="round" opacity="0.7"/>
</svg>
<div class="cover__notes" aria-hidden="true">
<span class="cover__note" style="--x: 9%; --y: -4%; --r: -8deg">N 12° E</span>
<span class="cover__note" style="--x: 21%; --y: 18%; --r: 6deg">ssw</span>
<span class="cover__note" style="--x: 36%; --y: 34%; --r: -10deg">4 kn</span>
<span class="cover__note" style="--x: 61%; --y: 22%; --r: 4deg">48°N</span>
<span class="cover__note" style="--x: 85%; --y: 46%; --r: 8deg">06:40</span>
<span class="cover__note" style="--x: 70%; --y: 58%; --r: -6deg">bear 270</span>
<span class="cover__note" style="--x: 29%; --y: 72%; --r: 7deg">fog</span>
<span class="cover__note" style="--x: 64%; --y: 88%; --r: -4deg">+2.5 nm</span>
<span class="cover__note" style="--x: 14%; --y: 96%; --r: -9deg">W by N</span>
<span class="cover__note" style="--x: 79%; --y: 104%; --r: 5deg">log 31</span>
</div>
</div>
<p class="cover__byline"><em>A novel by</em> Ines Calloway</p>
<a class="cover__cue" href="#" aria-label="Scroll to the story">
<span class="cover__arc" aria-hidden="true">
<span class="cover__letter" style="--a: -62deg; --i: 0"><span>s</span></span>
<span class="cover__letter" style="--a: -38deg; --i: 1"><span>c</span></span>
<span class="cover__letter" style="--a: -13deg; --i: 2"><span>R</span></span>
<span class="cover__letter" style="--a: 13deg; --i: 3"><span>o</span></span>
<span class="cover__letter" style="--a: 38deg; --i: 4"><span>l</span></span>
<span class="cover__letter" style="--a: 62deg; --i: 5"><span>l</span></span>
</span>
<svg class="cover__mouse" viewBox="0 0 30 56" aria-hidden="true">
<path d="M15 2l-3 4M15 2l3 4" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round"/>
<rect x="4" y="9" width="22" height="36" rx="11" fill="none" stroke="currentColor" stroke-width="1.3"/>
<path d="M4 23h22M15 9v14" stroke="currentColor" stroke-width="1"/>
<rect class="cover__wheel" x="13" y="13" width="4" height="7" rx="2" fill="none" stroke="currentColor" stroke-width="1"/>
<path d="M12 50l3 4 3-4" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round"/>
</svg>
</a>
</section>
<style>
.cover {
position: relative;
display: grid;
justify-items: center;
padding: clamp(1rem, 2.5vw, 2.25rem) var(--edge) var(--space-l);
overflow: hidden;
text-align: center;
}
.cover__kicker {
margin: 0;
font-size: var(--text-l);
font-weight: 300;
line-height: 1.2;
}
.cover__stage {
position: relative;
width: 100%;
margin-top: 0.06em;
font-size: var(--display);
}
.cover__title {
position: relative;
z-index: 1;
display: grid;
justify-items: center;
margin: 0;
color: var(--green);
font: 400 1em / 0.82 var(--font-display);
letter-spacing: var(--tracking-display);
text-transform: uppercase;
}
.cover__line {
display: block;
animation: cover-in var(--fade) var(--ease) both;
}
.cover__line + .cover__line { animation-delay: 0.15s; }
.cover__figure {
position: absolute;
bottom: 0.03em;
left: calc(50% - 1.74em);
width: 0.16em;
color: var(--ink);
}
.cover__object {
position: absolute;
z-index: 2;
top: -0.12em;
left: 50%;
width: 0.92em;
translate: -48% 0;
rotate: 4deg;
filter: drop-shadow(0.02em 0.03em 0.04em var(--shade));
animation: cover-drop calc(var(--fade) * 1.3) var(--ease) 0.25s both;
}
.cover__needle {
transform-box: view-box;
transform-origin: 100px 190px;
animation: cover-sway 5s ease-in-out infinite alternate;
}
.cover__notes {
position: absolute;
inset: 0;
z-index: 0;
pointer-events: none;
}
.cover__note {
position: absolute;
left: var(--x);
top: var(--y);
color: var(--scribble);
font: 400 var(--text-hand) / 1 var(--font-hand);
letter-spacing: 0;
white-space: nowrap;
rotate: var(--r);
animation: cover-in 0.6s ease both;
}
.cover__note:nth-child(1) { animation-delay: 0.5s; }
.cover__note:nth-child(2) { animation-delay: 0.62s; }
.cover__note:nth-child(3) { animation-delay: 0.74s; }
.cover__note:nth-child(4) { animation-delay: 0.86s; }
.cover__note:nth-child(5) { animation-delay: 0.98s; }
.cover__note:nth-child(6) { animation-delay: 1.1s; }
.cover__note:nth-child(7) { animation-delay: 1.22s; }
.cover__note:nth-child(8) { animation-delay: 1.34s; }
.cover__note:nth-child(9) { animation-delay: 1.46s; }
.cover__note:nth-child(10) { animation-delay: 1.58s; }
.cover__byline {
position: relative;
z-index: 3;
margin: var(--space-s) 0 0;
font-size: var(--text-l);
font-weight: 300;
line-height: 1.2;
}
.cover__byline em { font-weight: 200; }
.cover__cue {
position: relative;
display: grid;
justify-items: center;
width: 6.5rem;
height: 6.5rem;
margin-top: var(--space-s);
color: var(--ink);
text-decoration: none;
}
.cover__arc {
position: absolute;
left: 50%;
top: 3.4rem;
}
.cover__letter {
position: absolute;
left: -0.3em;
top: -0.5em;
width: 0.6em;
transform: rotate(var(--a)) translateY(-2.6rem);
font: 400 1.35rem / 1 var(--font-hand);
}
.cover__letter span {
display: block;
animation: cover-bob 1.8s ease-in-out calc(var(--i) * 0.12s) infinite alternate;
}
.cover__mouse { width: 1.9rem; margin-top: 1.4rem; }
.cover__wheel { animation: cover-wheel 1.6s ease-in-out infinite; }
.cover.is-offscreen .cover__needle,
.cover.is-offscreen .cover__letter span,
.cover.is-offscreen .cover__wheel { animation-play-state: paused; }
@keyframes cover-in { from { opacity: 0; } }
@keyframes cover-drop { from { opacity: 0; translate: -48% -24px; } }
@keyframes cover-sway { from { rotate: -9deg; } to { rotate: 7deg; } }
@keyframes cover-bob { to { translate: 0 -3px; } }
@keyframes cover-wheel { 50% { translate: 0 4px; opacity: 0.4; } }
@media (max-width: 40rem) {
.cover__note:nth-child(n + 7) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.cover__needle, .cover__letter span, .cover__wheel { animation: none; }
}
</style>
<script>
(() => {
for (const cover of document.querySelectorAll('.cover')) {
const title = cover.querySelector('.cover__title');
const notes = cover.querySelector('.cover__notes');
let visible = false;
const fadeOnScroll = () => {
const box = cover.getBoundingClientRect();
const passed = Math.min(Math.max(-box.top / (box.height * 0.55), 0), 1);
title.style.opacity = String(1 - passed);
notes.style.opacity = String(1 - passed);
};
new IntersectionObserver(([entry]) => {
visible = entry.isIntersecting;
cover.classList.toggle('is-offscreen', !visible);
if (visible) fadeOnScroll();
}).observe(cover);
addEventListener('scroll', () => { if (visible) fadeOnScroll(); }, { passive: true });
}
})();
</script>