Orbit Run Club
A free night-time run club whose photo sits inside a spinning ring of text, with a 5k loop that draws itself across a map as you scroll.
Community · 6 Nov 2026
About this concept
Orbit Run Club is a one-page site for a run club, sports community, or free weekly event. A night photo sits in a circle wrapped by spinning text, chunky volt buttons press down into a hard pink shadow, the cursor leaves a fading GPS trace, runner photos are tilted stickers, and the route draws itself on a map while each stop lights up.
Remix it with your agent
Paste this into Claude, ChatGPT, Cursor, or any coding agent together with the HTML file.
Here is a single-file HTML page called Orbit Run Club. Keep the circular night photo inside a ring of spinning text, the chunky buttons that press down into a hard coloured shadow, the round sticker button, the GPS-trail cursor, the tilted ticker, the photo stickers with offset shadows, the map where the route draws itself as you scroll and each stop lights up, the schedule rows, and the open-and-close questions. Turn it into a site for [your club, community, or weekly event]: change the name to [name], rewrite the headline about [when and where you meet], change the ring text to [your four short promises], replace the stickers with [your people and captions], redraw the route and stops as [your route or agenda], fill the month with [your dates], and answer [your first-timer questions]. Replace the Pexels photos with [your own photography] and keep the credits for any that stay. Keep the night, blue, volt, and pink palette unless I give you brand colours. Respect prefers-reduced-motion. One HTML file only.
The code
Show 332 lines of HTML (23 KB, one file, no build step)
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Orbit Run Club - free 5k city runs every Thursday night</title>
<meta name="description" content="Orbit Run Club is a free Thursday night run through the city. Five kilometres, three pace groups, nobody left behind, and a drink at the end for anyone who wants one.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Unbounded:wght@500;800;900&family=Inter+Tight:wght@400;500;700&display=swap" rel="stylesheet">
<style>
:root { --night:#0c0c10; --blue:#2b4bff; --volt:#e8ff3a; --pink:#ff5c8a; --chalk:#f5f3ee }
* { box-sizing:border-box; margin:0; padding:0 }
html { scroll-behavior:smooth }
body { background:var(--night); color:var(--chalk); font-family:'Inter Tight',system-ui,sans-serif; font-size:1.05rem; line-height:1.5; -webkit-font-smoothing:antialiased; overflow-x:hidden }
a { color:inherit }
img { display:block; max-width:100% }
::selection { background:var(--volt); color:var(--night) }
.wrap { width:min(1320px, 100% - 2.5rem); margin-inline:auto }
.u { font-family:'Unbounded',sans-serif; font-weight:900; letter-spacing:-.03em; line-height:.92; text-transform:uppercase }
h2.u { font-size:clamp(2.4rem,6.2vw,5.6rem) }
/* chunky buttons that press down into a hard shadow */
.btn { --sh:6px; position:relative; display:inline-flex; align-items:center; justify-content:center; gap:.6rem; padding:1rem 1.5rem; background:var(--volt); color:var(--night); border:2.5px solid var(--night); box-shadow:var(--sh) var(--sh) 0 var(--pink); font:800 .95rem 'Unbounded',sans-serif; text-transform:uppercase; letter-spacing:-.01em; text-decoration:none; cursor:pointer; transition:transform .12s ease-out, box-shadow .12s ease-out, background .2s }
.btn:hover { transform:translate(3px,3px); box-shadow:3px 3px 0 var(--pink) }
.btn:active { transform:translate(6px,6px); box-shadow:0 0 0 var(--pink) }
.btn:focus-visible { outline:3px solid var(--chalk); outline-offset:4px }
.btn.blue { background:var(--blue); color:var(--chalk); box-shadow:var(--sh) var(--sh) 0 var(--volt) }
.btn.blue:hover { box-shadow:3px 3px 0 var(--volt) } .btn.blue:active { box-shadow:0 0 0 var(--volt) }
.btn.sticker { width:9.5rem; height:9.5rem; border-radius:50%; padding:1rem; text-align:center; line-height:1.05; font-size:1rem; --sh:8px; transform:rotate(-10deg) }
.btn.sticker:hover { transform:rotate(-10deg) translate(4px,4px); box-shadow:4px 4px 0 var(--pink) }
.btn.sticker:active { transform:rotate(-10deg) translate(8px,8px); box-shadow:0 0 0 var(--pink) }
/* nav */
.nav { display:flex; justify-content:space-between; align-items:center; padding:1.3rem 0; position:relative; z-index:5 }
.logo { display:flex; align-items:center; gap:.6rem; font:900 1.15rem 'Unbounded',sans-serif; text-decoration:none; text-transform:uppercase; letter-spacing:-.02em }
.logo svg { width:30px; height:30px }
.nav ul { display:flex; gap:2rem; list-style:none; font-weight:500 }
.nav ul a { text-decoration:none } .nav ul a:hover { color:var(--volt) }
.nav .btn { padding:.7rem 1.1rem; font-size:.8rem; --sh:4px }
@media (max-width:820px){ .nav ul { display:none } }
/* hero */
.hero { position:relative; padding:2rem 0 6rem; isolation:isolate; overflow:clip }
.hero::before { content:""; position:absolute; inset:-10% -20% 0; z-index:-1; background:radial-gradient(40% 50% at 75% 45%, rgba(43,75,255,.55), transparent 70%), radial-gradient(30% 40% at 15% 80%, rgba(255,92,138,.25), transparent 70%) }
.hero-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:2rem; align-items:center }
.hero h1 { font-size:clamp(2.8rem,6.3vw,6.2rem) }
.hero h1 .v { color:var(--volt) }
.hero h1 .w { display:inline-block }
.js .hero h1 .w { opacity:0; transform:translateY(.4em) rotate(4deg); animation:pop .7s cubic-bezier(.2,1.4,.4,1) forwards; animation-delay:calc(var(--i) * 90ms) }
@keyframes pop { to { opacity:1; transform:none } }
.hero p { margin-top:1.6rem; max-width:36ch; font-size:1.2rem; color:#d9d7d0 }
.hero .row { display:flex; gap:1.4rem; align-items:center; flex-wrap:wrap; margin-top:2.2rem }
.hero .row small { font-size:.95rem; color:#b8b6af; max-width:22ch }
.orbit { position:relative; aspect-ratio:1; width:min(100%,600px); justify-self:center }
.orbit .ring { position:absolute; inset:0; width:100%; height:100%; overflow:visible }
.orbit .ring text { font:800 19px 'Unbounded',sans-serif; letter-spacing:2px; fill:var(--volt); text-transform:uppercase }
.js .orbit .ring { animation:spin 30s linear infinite }
@keyframes spin { to { transform:rotate(360deg) } }
.orbit .ph { position:absolute; inset:13%; border-radius:50%; overflow:hidden; background:var(--blue) }
.orbit .ph img { width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.25); mix-blend-mode:screen; opacity:.95 }
.orbit .ph::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 120%, var(--pink), transparent 55%); mix-blend-mode:multiply; opacity:.7 }
.orbit .btn.sticker { position:absolute; right:3%; bottom:2%; z-index:2 }
@media (max-width:900px){ .hero-grid { grid-template-columns:1fr } .orbit { width:min(88vw,520px); margin-top:2rem } .orbit .btn.sticker { right:0; width:8rem; height:8rem; font-size:.85rem } }
/* ticker */
.ticker-wrap { overflow:clip; padding:1.5rem 0; margin:-1.5rem 0 }
.ticker { background:var(--volt); color:var(--night); border-block:2.5px solid var(--night); overflow:hidden; white-space:nowrap; transform:rotate(-2deg); margin:0 -3%; position:relative; z-index:3 }
.ticker div { display:inline-flex; gap:2.5rem; padding:1rem 0; font:900 clamp(1.2rem,2.6vw,2rem) 'Unbounded',sans-serif; text-transform:uppercase; letter-spacing:-.02em }
.js .ticker div { animation:tick 26s linear infinite }
.ticker span::after { content:"\2731"; margin-left:2.5rem; color:var(--pink) }
@keyframes tick { to { transform:translateX(-50%) } }
/* photo stickers */
.crew { padding:8rem 0 6rem }
.crew-head { display:grid; grid-template-columns:1fr 1fr; gap:2rem; align-items:end }
.crew-head p { max-width:36ch; justify-self:end; font-size:1.15rem; color:#d9d7d0 }
.stickers { display:grid; grid-template-columns:repeat(4,1fr); gap:1.4rem; margin-top:4rem }
.st { position:relative; background:var(--chalk); padding:.7rem .7rem 1rem; color:var(--night); box-shadow:8px 8px 0 var(--blue); transform:rotate(var(--r)); transition:transform .4s cubic-bezier(.2,1.4,.4,1) }
.st:hover { transform:rotate(0) scale(1.03) }
.st img { width:100%; aspect-ratio:3/4; object-fit:cover }
.st p { margin-top:.7rem; font:800 .85rem 'Unbounded',sans-serif; text-transform:uppercase }
.st:nth-child(2) { margin-top:3rem; box-shadow:8px 8px 0 var(--pink) } .st:nth-child(4) { margin-top:2rem; box-shadow:8px 8px 0 var(--volt) }
@media (max-width:860px){ .crew-head { grid-template-columns:1fr } .crew-head p { justify-self:start } .stickers { grid-template-columns:repeat(2,1fr) } .st:nth-child(n) { margin-top:0 } }
/* the route draws itself as you scroll */
.route { padding:7rem 0; background:var(--blue) }
.route-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(2rem,5vw,5rem); align-items:start }
.map { position:sticky; top:2rem; background:var(--night); border:2.5px solid var(--night); box-shadow:10px 10px 0 var(--volt); aspect-ratio:1 }
.map svg { width:100%; height:100%; display:block }
.map .streets path { stroke:#26262e; stroke-width:6; fill:none }
.map .river { stroke:#1a2a6b; stroke-width:26; fill:none; stroke-linecap:round }
.map .trace { stroke:var(--volt); stroke-width:7; fill:none; stroke-linecap:round; stroke-linejoin:round }
.map .stop { fill:var(--night); stroke:var(--chalk); stroke-width:4; transition:fill .3s, r .3s }
.map .stop.hit { fill:var(--pink) }
.map text { font:800 15px 'Unbounded',sans-serif; fill:var(--chalk); text-transform:uppercase }
.legs { list-style:none }
.legs li { padding:1.6rem 0; border-bottom:2px solid rgba(245,243,238,.35); opacity:.55; transition:opacity .4s }
.legs li.hit { opacity:1 }
.legs b { display:block; font:900 clamp(1.4rem,2.6vw,2.2rem) 'Unbounded',sans-serif; text-transform:uppercase; letter-spacing:-.02em; line-height:1 }
.legs span { display:block; margin-top:.5rem; max-width:40ch }
.legs .km { font-family:'Unbounded',sans-serif; font-weight:500; font-size:.85rem; color:var(--volt); margin-top:0; margin-bottom:.4rem }
.no-js-hit .legs li, html:not(.js) .legs li { opacity:1 }
@media (max-width:860px){ .route-grid { grid-template-columns:1fr } .map { position:relative; top:0 } }
/* schedule */
.sched { padding:8rem 0 }
.weeks { margin-top:3rem; border-top:2.5px solid var(--chalk) }
.wk { display:grid; grid-template-columns:9rem 1fr 1fr auto; gap:1.5rem; align-items:center; padding:1.4rem 0; border-bottom:1px solid rgba(245,243,238,.25); transition:background .25s, padding .25s }
.wk:hover { background:rgba(232,255,58,.07); padding-inline:1rem }
.wk .d { font:800 1rem 'Unbounded',sans-serif; color:var(--volt); text-transform:uppercase }
.wk h3 { font:900 clamp(1.2rem,2.4vw,1.9rem) 'Unbounded',sans-serif; text-transform:uppercase; letter-spacing:-.02em }
.wk .tag { font-weight:700; padding:.3rem .7rem; border:2px solid currentColor; color:var(--pink); white-space:nowrap }
@media (max-width:760px){ .wk { grid-template-columns:1fr auto; gap:.4rem 1rem } .wk .d { grid-column:1 / -1 } .wk p { grid-column:1 / -1 } }
/* faq */
.faq { padding:2rem 0 8rem }
.faq-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:3rem }
details { border-bottom:2px solid rgba(245,243,238,.25) }
summary { list-style:none; cursor:pointer; padding:1.4rem 2.5rem 1.4rem 0; font:800 1.15rem 'Unbounded',sans-serif; text-transform:uppercase; letter-spacing:-.01em; position:relative }
summary::-webkit-details-marker { display:none }
summary::after { content:"+"; position:absolute; right:0; top:1.1rem; font-size:1.8rem; color:var(--volt); transition:transform .3s }
details[open] summary::after { transform:rotate(45deg) }
details p { padding:0 0 1.5rem; max-width:52ch; color:#d9d7d0 }
@media (max-width:860px){ .faq-grid { grid-template-columns:1fr } }
/* join */
.join { position:relative; padding:8rem 0; background:var(--pink); color:var(--night); overflow:hidden; isolation:isolate }
.join img { position:absolute; inset:0; z-index:-1; width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.3); mix-blend-mode:multiply; opacity:.55 }
.join h2 { max-width:12ch }
.join p { margin:1.4rem 0 2rem; max-width:40ch; font-size:1.2rem; font-weight:500 }
.join form { display:flex; gap:1rem; flex-wrap:wrap }
.join input { flex:1 1 260px; max-width:380px; padding:1rem 1.2rem; border:2.5px solid var(--night); background:var(--chalk); font:inherit; color:var(--night) }
.join input:focus { outline:3px solid var(--volt); outline-offset:2px }
.join .btn { box-shadow:var(--sh) var(--sh) 0 var(--night) } .join .btn:hover { box-shadow:3px 3px 0 var(--night) } .join .btn:active { box-shadow:0 0 0 var(--night) }
footer { padding:2.5rem 0 3rem; font-size:.9rem; color:#b8b6af }
footer .wrap { display:flex; justify-content:space-between; gap:1.5rem; flex-wrap:wrap }
footer a { text-underline-offset:3px }
/* gps trail cursor */
.trail { position:fixed; inset:0; z-index:70; pointer-events:none }
.js .rv { opacity:0; transform:translateY(30px); transition:opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1) }
.js .rv.in { opacity:1; transform:none }
@media (prefers-reduced-motion:reduce) {
html { scroll-behavior:auto }
.js .hero h1 .w { animation:none; opacity:1; transform:none }
.js .orbit .ring, .js .ticker div { animation:none }
.js .rv { opacity:1; transform:none; transition:none }
.legs li { opacity:1 }
.st, .btn { transition:none }
.trail { display:none }
}
</style>
<script>document.documentElement.classList.add('js')</script>
</head>
<body>
<div class="wrap">
<header class="nav">
<a class="logo" href="#top"><svg viewBox="0 0 30 30" aria-hidden="true"><circle cx="15" cy="15" r="11" fill="none" stroke="#e8ff3a" stroke-width="3"/><circle cx="26" cy="15" r="4" fill="#ff5c8a"/></svg>Orbit</a>
<ul>
<li><a href="#route">The route</a></li>
<li><a href="#weeks">This month</a></li>
<li><a href="#faq">First time</a></li>
</ul>
<a class="btn" href="#join">Join free</a>
</header>
</div>
<main id="top">
<section class="hero">
<div class="wrap hero-grid">
<div>
<h1 class="u"><span class="w" style="--i:0">Thursday</span> <span class="w" style="--i:1">nights</span> <span class="w" style="--i:2">belong</span> <span class="w" style="--i:3">to</span> <span class="w v" style="--i:4">the city.</span></h1>
<p>A free 5k through the streets after dark. Three pace groups, a sweeper at the back, and nobody finishes alone.</p>
<div class="row">
<a class="btn blue" href="#route">See this week's route</a>
<small>Meet 7pm at Canal Steps. Bags go in the van.</small>
</div>
</div>
<div class="orbit">
<div class="ph"><img src="https://images.pexels.com/photos/14532913/pexels-photo-14532913.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=900&w=900" alt="A runner passing a lit-up building at night, reflected in a puddle" width="900" height="900" fetchpriority="high"></div>
<svg class="ring" viewBox="0 0 600 600" aria-hidden="true">
<defs><path id="circ" d="M300 300m-282 0a282 282 0 1 1 564 0a282 282 0 1 1 -564 0"/></defs>
<text textLength="1765" lengthAdjust="spacing"><textPath href="#circ" textLength="1765" lengthAdjust="spacing">Run the city with us * Thursdays 7pm * Free forever * No pace too slow * 5k loop * </textPath></text>
</svg>
<a class="btn sticker" href="#join">Join free this Thursday</a>
</div>
</div>
</section>
<div class="ticker-wrap"><div class="ticker" aria-hidden="true"><div><span>No fees</span><span>No pace too slow</span><span>Thursdays 7pm</span><span>Canal Steps</span><span>Sweeper at the back</span><span>No fees</span><span>No pace too slow</span><span>Thursdays 7pm</span><span>Canal Steps</span><span>Sweeper at the back</span></div></div></div>
<section class="crew wrap">
<div class="crew-head">
<h2 class="u rv">412 runners,<br>one loop</h2>
<p class="rv">Started by four friends who hated running alone in winter. Now it is whoever turns up: first-timers, club runners, and people who just want to see the city lit up.</p>
</div>
<div class="stickers">
<figure class="st rv" style="--r:-4deg"><img src="https://images.pexels.com/photos/38693138/pexels-photo-38693138.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=800&w=600" alt="A group of runners on a city road at night" loading="lazy" width="600" height="800"><p>Group two, 5:30 pace</p></figure>
<figure class="st rv" style="--r:3deg"><img src="https://images.pexels.com/photos/38693215/pexels-photo-38693215.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=800&w=600" alt="Runner in red at night with city lights behind" loading="lazy" width="600" height="800"><p>Kemal, every week since 2022</p></figure>
<figure class="st rv" style="--r:-2deg"><img src="https://images.pexels.com/photos/38693127/pexels-photo-38693127.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=800&w=600" alt="Smiling runner at night wearing a race bib" loading="lazy" width="600" height="800"><p>First 5k, last Thursday</p></figure>
<figure class="st rv" style="--r:5deg"><img src="https://images.pexels.com/photos/18877367/pexels-photo-18877367.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=800&w=600" alt="Wet city street at night under an elevated train" loading="lazy" width="600" height="800"><p>Rain does not cancel</p></figure>
</div>
</section>
<section class="route" id="route">
<div class="wrap route-grid">
<div class="map">
<svg viewBox="0 0 600 600" role="img" aria-label="Map of the 5k loop from Canal Steps through the city and back">
<g class="streets"><path d="M0 120H600M0 260H600M0 430H600M90 0V600M230 0V600M380 0V600M520 0V600M0 600L600 0"/></g>
<path class="river" d="M-20 520C120 480 170 380 300 360S520 300 620 210"/>
<path class="trace" id="trace" d="M90 520L90 430L230 430L230 260L380 260L380 120L520 120L520 260L470 330L380 430L230 520L90 520"/>
<g id="stops">
<circle class="stop" cx="90" cy="520" r="11"/><circle class="stop" cx="230" cy="260" r="11"/><circle class="stop" cx="520" cy="120" r="11"/><circle class="stop" cx="380" cy="430" r="11"/>
</g>
<text x="104" y="555">Canal Steps</text><text x="244" y="248">Market Hall</text><text x="420" y="100">The Tower</text><text x="394" y="465">Iron Bridge</text>
</svg>
</div>
<div>
<h2 class="u rv">The loop</h2>
<ol class="legs" id="legs">
<li><span class="km">0 km</span><b>Canal Steps</b><span>Warm up, bag drop, and the pace groups split. Volt bibs for first-timers so everyone knows to say hello.</span></li>
<li><span class="km">1.4 km</span><b>Market Hall</b><span>Up the one hill. The front group loops back for anyone at the back.</span></li>
<li><span class="km">2.6 km</span><b>The Tower</b><span>Halfway. The view across the river is the reason half of us keep coming.</span></li>
<li><span class="km">3.9 km</span><b>Iron Bridge</b><span>Flat and lit the whole way home. Sprint if you want, nobody is timing.</span></li>
<li><span class="km">5 km</span><b>Back to the Steps</b><span>Stretch, bags, and the Lamplighter round the corner holds tables until nine.</span></li>
</ol>
</div>
</div>
</section>
<section class="sched wrap" id="weeks">
<h2 class="u rv">This month</h2>
<div class="weeks">
<div class="wk rv"><span class="d">Thu 4</span><h3>The usual loop</h3><p>Canal Steps, 7pm. Three groups.</p><span class="tag">5k</span></div>
<div class="wk rv"><span class="d">Thu 11</span><h3>Head torch night</h3><p>Park paths, lights provided.</p><span class="tag">5k</span></div>
<div class="wk rv"><span class="d">Thu 18</span><h3>Bring a friend</h3><p>Anyone new gets a club sock.</p><span class="tag">5k</span></div>
<div class="wk rv"><span class="d">Thu 25</span><h3>Long one</h3><p>Two loops for anyone who wants it.</p><span class="tag">10k</span></div>
</div>
</section>
<section class="faq wrap" id="faq">
<div class="faq-grid">
<h2 class="u rv">First time?</h2>
<div>
<details><summary>Do I need to sign up?</summary><p>No. Turn up at Canal Steps before 7pm. Leaving your email just means we can tell you when a route changes.</p></details>
<details><summary>How slow is too slow?</summary><p>There isn't one. The back group walks the hill, and a sweeper stays with the last runner the whole way.</p></details>
<details><summary>What if it rains?</summary><p>We run. We only cancel for ice or lightning, and we post that by 4pm.</p></details>
<details><summary>Where do my things go?</summary><p>The van at the Steps holds bags and is locked while we are out. Keys and phones can go in the bin at the front.</p></details>
</div>
</div>
</section>
<section class="join" id="join">
<img src="https://images.pexels.com/photos/38675131/pexels-photo-38675131.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=900&w=1600" alt="" loading="lazy" width="1600" height="900">
<div class="wrap">
<h2 class="u rv">See you Thursday</h2>
<p class="rv">Leave your email for route changes and the odd night run. One message a week at most.</p>
<form onsubmit="return false">
<input type="email" placeholder="you@example.com" aria-label="Email address" required>
<button class="btn" type="submit">I'm in</button>
</form>
</div>
</section>
</main>
<footer>
<div class="wrap">
<span>Orbit Run Club. Free, forever. A concept site.</span>
<span>Photography from <a href="https://www.pexels.com">Pexels</a>: <a href="https://www.pexels.com/@limoo-3859717">limoo</a>, <a href="https://www.pexels.com/@vanngo-ng-105653827">VANNGO Ng</a>, <a href="https://www.pexels.com/@mustafa-el-taie-746834423">Mustafa El-Taie</a>.</span>
</div>
</footer>
<canvas class="trail" aria-hidden="true"></canvas>
<script>
(function(){
var reduce = matchMedia('(prefers-reduced-motion: reduce)').matches;
var io = 'IntersectionObserver' in window ? new IntersectionObserver(function (es) {
es.forEach(function (e) { if (e.isIntersecting) { e.target.classList.add('in'); io.unobserve(e.target) } })
}, { threshold: .15 }) : null;
document.querySelectorAll('.rv').forEach(function (el) { io ? io.observe(el) : el.classList.add('in') });
if (reduce) return;
/* the loop draws itself as you scroll past it */
var trace = document.getElementById('trace'), map = document.querySelector('.map'), route = document.getElementById('route');
var len = trace.getTotalLength();
trace.style.strokeDasharray = len; trace.style.strokeDashoffset = len;
var stops = document.querySelectorAll('#stops .stop'), legs = document.querySelectorAll('#legs li');
var at = [0, .28, .5, .76, 1];
function onScroll() {
var r = route.getBoundingClientRect(), vh = innerHeight;
var p = Math.min(1, Math.max(0, (vh * .6 - r.top) / (r.height - vh * .4)));
trace.style.strokeDashoffset = len * (1 - p);
legs.forEach(function (li, i) { li.classList.toggle('hit', p >= at[i] - .02) });
stops.forEach(function (s, i) { s.classList.toggle('hit', p >= at[i] - .02) });
}
addEventListener('scroll', onScroll, { passive: true }); onScroll();
/* gps trail behind the cursor */
if (!matchMedia('(hover:hover) and (pointer:fine)').matches) return;
var c = document.querySelector('.trail'), g = c.getContext('2d'), pts = [], dpr = Math.min(2, devicePixelRatio || 1);
function size() { c.width = innerWidth * dpr; c.height = innerHeight * dpr; g.setTransform(dpr, 0, 0, dpr, 0, 0) }
size(); addEventListener('resize', size);
addEventListener('pointermove', function (e) { pts.push({ x: e.clientX, y: e.clientY, t: performance.now() }) });
(function draw() {
var now = performance.now();
while (pts.length && now - pts[0].t > 650) pts.shift();
g.clearRect(0, 0, innerWidth, innerHeight);
g.lineCap = 'round'; g.lineJoin = 'round';
for (var i = 1; i < pts.length; i++) {
var a = 1 - (now - pts[i].t) / 650;
g.strokeStyle = 'rgba(232,255,58,' + a.toFixed(3) + ')';
g.lineWidth = 2 + a * 5;
g.beginPath(); g.moveTo(pts[i - 1].x, pts[i - 1].y); g.lineTo(pts[i].x, pts[i].y); g.stroke();
}
if (pts.length) {
var l = pts[pts.length - 1];
g.fillStyle = '#ff5c8a'; g.beginPath(); g.arc(l.x, l.y, 6, 0, 7); g.fill();
}
requestAnimationFrame(draw);
})();
})();
</script>
</body>
</html>
Brand kit
The identity behind this design, ready to use: logo lockups, colour roles with contrast scores, the type scale, buttons and fields, photo treatment, motion rules, design tokens, and five ready-sized social templates.
Colour roles
- Ink#0c0c10
- Paper#f5f3ee
- Accent#e8ff3a
- Support 1#2b4bff
- Support 2#ff5c8a
Type
- Display
- Unbounded
- Body
- Inter Tight




