Skip to content
ai-native.marketingSubscribe

Slowwater

A river charity page where the headline letters swell like displaced water as the cursor passes, a blue line draws itself down the page as a river, and every photo is printed in two-colour riso halftone.

Non-profit · 10 Nov 2026

slowwater.html

About this concept

Slowwater is a one-page site for a charity, trust, or community project. Letters in the headline gain weight near the cursor while ripples spread behind it, a river line draws itself as you scroll through the four-step process, photos are cobalt and coral halftone cut-outs that tilt in 3D, and work days fill with colour on hover. It suits environmental groups, volunteer networks, and local trusts.

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 Slowwater. Keep the headline whose letters gain weight near the cursor, the ripple canvas behind it, the morphing blob photo, the cobalt and coral halftone duotone photo treatment, the river line that draws itself as you scroll through four steps, the tilted marquee, the count-up figures, and the work day rows that fill with colour on hover. Turn it into a site for [your charity, trust, or community project]: change the name to [name], rewrite the headline to [your one-line promise], replace the four steps with [your process in four moves], replace the figures with [your real impact numbers], list [your upcoming events or work days], and change the three giving tiers to [your tiers and prices]. Swap the Pexels photos for [your own photography] and keep the credits for any that stay. Keep the paper, ink, cobalt, and coral palette unless I give you brand colours. Respect prefers-reduced-motion. One HTML file only.

The code

Show 431 lines of HTML (27 KB, one file, no build step)
<!doctype html>
<html lang="en-GB">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Slowwater River Trust | Give the river back its bends</title>
<meta name="description" content="Slowwater is a volunteer river trust for the Aldren valley. We remove concrete and weirs, put back the meanders, and replant the banks. Join a work day or adopt a mile.">
<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=Bricolage+Grotesque:opsz,wght@12..96,300..800&family=Instrument+Serif:ital@0;1&display=swap" rel="stylesheet">
<script>document.documentElement.className+=' js'</script>
<style>
@property --a{syntax:'<angle>';inherits:false;initial-value:0deg}
:root{
  --paper:#f2ede1;--ink:#14131f;--cobalt:#2b3cff;--coral:#ff5a4d;--mint:#c4e9d4;--blush:#ffd8cc;
  --sans:'Bricolage Grotesque',system-ui,sans-serif;--serif:'Instrument Serif',Georgia,serif;
  --pad:clamp(1.25rem,5vw,5rem);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:1.0625rem;line-height:1.55;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
main{overflow-x:clip}
a{color:inherit}
.ser{font-family:var(--serif);font-style:italic;font-weight:400;letter-spacing:-.01em}
:focus-visible{outline:3px solid var(--coral);outline-offset:3px}

/* nav */
.nav{position:fixed;inset:0 0 auto 0;z-index:50;display:flex;justify-content:space-between;align-items:center;padding:1rem var(--pad);mix-blend-mode:multiply}
.nav .logo{font-weight:800;font-size:1.25rem;letter-spacing:-.03em;text-decoration:none}
.nav .logo span{font-family:var(--serif);font-style:italic;font-weight:400;color:var(--cobalt)}
.nav ul{display:flex;gap:1.75rem;list-style:none;font-weight:500;font-size:.95rem}
.nav a{text-decoration:none}
.nav ul a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;text-decoration-color:var(--coral)}
@media(max-width:700px){.nav ul li:not(:last-child){display:none}}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:.6rem;padding:1rem 1.6rem;border-radius:999px;background:var(--ink);color:var(--paper);font:600 1rem var(--sans);text-decoration:none;border:2px solid var(--ink);cursor:pointer;transition:background .25s,color .25s,transform .15s ease-out;will-change:transform}
.btn:hover{background:var(--coral);border-color:var(--coral);color:var(--ink)}
.btn.alt{background:transparent;color:var(--ink)}
.btn.alt:hover{background:var(--cobalt);border-color:var(--cobalt);color:var(--paper)}

/* hero */
.hero{position:relative;min-height:100svh;padding:7.5rem var(--pad) 4rem;display:grid;align-content:center;overflow:hidden;
  background:conic-gradient(from var(--a) at 78% 38%,var(--paper),var(--mint),var(--blush),var(--paper) 70%,var(--paper));animation:spin 50s linear infinite}
@keyframes spin{to{--a:360deg}}
.hero canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.blob{position:absolute;right:calc(var(--pad) - 1rem);top:50%;width:min(38vw,34rem);aspect-ratio:4/5;translate:0 -46%;z-index:0;
  border-radius:62% 38% 54% 46% / 46% 58% 42% 54%;overflow:hidden;animation:morph 14s ease-in-out infinite alternate;background:var(--cobalt)}
@keyframes morph{50%{border-radius:42% 58% 38% 62% / 58% 42% 58% 42%}100%{border-radius:55% 45% 62% 38% / 38% 62% 38% 62%}}
.duo{position:relative;background:var(--cobalt);overflow:hidden;isolation:isolate}
.duo.cor{background:var(--coral)}
.duo img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.25) brightness(1.02);mix-blend-mode:screen}
.duo::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,rgba(20,19,31,.55) 1px,transparent 1.6px) 0 0/6px 6px;mix-blend-mode:multiply;pointer-events:none;opacity:.55}
.hero h1{position:relative;z-index:2;font-weight:420;font-size:clamp(2.6rem,10.2vw,10rem);line-height:.92;letter-spacing:-.045em;max-width:14ch;font-variation-settings:'opsz' 96}
.hero h1 .line{display:block}
.hero h1 .w{display:inline-block;white-space:nowrap}
.hero h1 .l{display:inline-block;will-change:font-variation-settings}
.js .hero h1 .mask{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em;margin-bottom:-.08em}
.js .hero h1 .l{transform:translateY(105%);animation:rise .9s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(var(--i)*38ms + 200ms)}
@keyframes rise{to{transform:none}}
.hero h1 .ser{color:var(--coral)}
.squig{display:block;width:min(24rem,60%);height:.5em;margin-top:.1em;overflow:visible}
.squig path{fill:none;stroke:var(--cobalt);stroke-width:6;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0}
.js .squig path{stroke-dashoffset:1;animation:draw 1.6s .9s ease-out forwards}
@keyframes draw{to{stroke-dashoffset:0}}
.hero .sub{position:relative;z-index:2;max-width:34rem;margin-top:2rem;font-size:clamp(1.05rem,1.5vw,1.3rem);font-weight:450}
.hero .cta{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2rem}
@media(max-width:800px){
  .blob{position:relative;right:auto;top:auto;translate:none;width:78%;margin:2.5rem 0 0 auto;order:5}
  .hero{align-content:start}
}

/* marquee */
.marquee{background:var(--ink);color:var(--paper);overflow:hidden;white-space:nowrap;padding:1.1rem 0;transform:rotate(-1.2deg);margin:-1.5rem -2vw 0;position:relative;z-index:3}
.marquee .track{display:inline-flex;gap:2.5rem;animation:slide 32s linear infinite;padding-right:2.5rem}
.marquee span{font-weight:700;font-size:clamp(1.3rem,2.6vw,2.2rem);letter-spacing:-.02em;display:inline-flex;align-items:center;gap:2.5rem}
.marquee span::after{content:"";width:.7em;height:.7em;border-radius:50%;background:var(--coral)}
.marquee span:nth-child(even){font-family:var(--serif);font-style:italic;font-weight:400}
@keyframes slide{to{transform:translateX(-50%)}}

/* sections */
section{position:relative}
.pad{padding:clamp(5rem,12vw,10rem) var(--pad)}
h2{font-weight:700;font-size:clamp(2rem,5.4vw,5rem);line-height:.98;letter-spacing:-.04em;max-width:16ch}
h2 .ser{color:var(--cobalt)}
.lede{max-width:36rem;margin-top:1.4rem;font-size:1.15rem}

/* journey */
.journey{position:relative;margin-top:4rem}
.river-d{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;display:block}
.river-d path{fill:none;stroke:var(--cobalt);stroke-width:5;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:1}
.river-d .bed{stroke:var(--cobalt);opacity:.15;stroke-dasharray:none}
.step{position:relative;display:grid;grid-template-columns:1fr 1fr;min-height:62vh;align-items:center;gap:0 clamp(3rem,10vw,9rem)}
.step .txt{grid-column:1;text-align:right;padding-block:3rem}
.step:nth-child(even) .txt{grid-column:2;text-align:left}
.step h3{font-weight:800;font-size:clamp(1.8rem,3.6vw,3.2rem);letter-spacing:-.04em;line-height:1}
.step p{margin-top:.9rem;max-width:26rem;margin-inline:auto 0}
.step:nth-child(even) p{margin-inline:0 auto}
.step .pull{font-family:var(--serif);font-style:italic;font-size:clamp(1.5rem,2.6vw,2.3rem);color:var(--coral);line-height:1.1;margin-bottom:.5rem}
.step .pic{position:absolute;width:min(17rem,22vw);aspect-ratio:1;border-radius:50%;top:50%;translate:0 -50%;z-index:1}
.step:nth-child(odd) .pic{right:2%}
.step:nth-child(even) .pic{left:2%}
.tilt{transform-style:preserve-3d;transition:transform .2s ease-out;will-change:transform}
@media(max-width:800px){
  .river-d{display:none}
  .journey::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(var(--cobalt) var(--p,100%),rgba(43,60,255,.15) var(--p,100%));border-radius:4px}
  .step{display:block;min-height:0;padding-left:1.75rem}
  .step .txt,.step:nth-child(even) .txt{text-align:left;padding-block:2rem}
  .step p,.step:nth-child(even) p{margin-inline:0}
  .step .pic{position:relative;width:9rem;translate:none;top:auto;right:auto!important;left:auto!important;margin:0 0 1rem}
}

/* band */
.band{position:relative;height:clamp(28rem,80vh,48rem);overflow:hidden;display:grid;place-items:center;background:var(--coral)}
.band .bg{position:absolute;inset:-12% 0;will-change:transform}
.band .bg img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.2);mix-blend-mode:multiply}
.band .bg{background:var(--coral)}
.band::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,rgba(20,19,31,.5) 1px,transparent 1.7px) 0 0/7px 7px;mix-blend-mode:multiply;opacity:.5;pointer-events:none}
.band p{position:relative;z-index:2;font-weight:800;font-size:clamp(2.2rem,8vw,8rem);line-height:.92;letter-spacing:-.05em;color:var(--paper);text-align:center;max-width:15ch;mix-blend-mode:normal}
.band p .ser{color:var(--ink);letter-spacing:-.02em}

/* stats */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:3rem 2rem;margin-top:4rem}
.stat{border-top:3px solid var(--ink);padding-top:1rem}
.stat b{display:block;font-weight:800;font-size:clamp(3.5rem,8vw,7rem);line-height:.9;letter-spacing:-.06em;color:var(--cobalt)}
.stat:nth-child(2) b{color:var(--coral)}
.stat:nth-child(4) b{color:var(--coral)}
.stat p{margin-top:.6rem;max-width:18rem}

/* work days */
.days{background:var(--ink);color:var(--paper)}
.days h2 .ser{color:var(--coral)}
.rows{margin-top:3.5rem;border-top:1px solid rgba(242,237,225,.3)}
.row{display:grid;grid-template-columns:9rem 1fr auto;gap:1rem 2rem;align-items:center;padding:1.6rem 1rem;border-bottom:1px solid rgba(242,237,225,.3);text-decoration:none;position:relative;isolation:isolate;
  background:linear-gradient(var(--coral),var(--coral)) 0 100%/100% 0 no-repeat;transition:background-size .35s cubic-bezier(.2,.8,.2,1),color .35s}
.row:hover,.row:focus-visible{background-size:100% 100%;color:var(--ink)}
.row .d{font-weight:800;font-size:1.5rem;letter-spacing:-.03em}
.row .t{font-weight:600;font-size:clamp(1.15rem,2vw,1.6rem);letter-spacing:-.02em}
.row .t small{display:block;font-weight:400;font-size:.95rem;opacity:.75;letter-spacing:0;margin-top:.15rem}
.row .n{font-family:var(--serif);font-style:italic;font-size:1.4rem;white-space:nowrap}
@media(max-width:700px){.row{grid-template-columns:1fr;gap:.25rem}}

/* adopt */
.adopt{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,6vw,6rem);align-items:center}
.adopt .pic{aspect-ratio:4/5;border-radius:45% 55% 40% 60% / 38% 44% 56% 62%;max-width:34rem;justify-self:center;width:100%}
.tiers{display:grid;gap:.8rem;margin:2rem 0 1.4rem;border:0}
.tier{position:relative}
.tier input{position:absolute;opacity:0;inset:0;cursor:pointer}
.tier label{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;padding:1.1rem 1.3rem;border:2px solid var(--ink);border-radius:1.1rem;font-weight:700;font-size:1.2rem;letter-spacing:-.02em;transition:background .2s,color .2s,transform .2s;cursor:pointer}
.tier label span{font-weight:400;font-size:.95rem;letter-spacing:0;opacity:.8}
.tier input:checked+label{background:var(--cobalt);border-color:var(--cobalt);color:var(--paper)}
.tier input:focus-visible+label{outline:3px solid var(--coral);outline-offset:3px}
.tier label:hover{transform:translateX(6px)}
.field{width:100%;padding:1rem 1.3rem;border-radius:999px;border:2px solid var(--ink);background:transparent;font:500 1rem var(--sans);color:var(--ink);margin-bottom:1rem}
.field::placeholder{color:rgba(20,19,31,.55)}
.thanks{margin-top:1rem;font-family:var(--serif);font-style:italic;font-size:1.5rem;color:var(--cobalt)}
@media(max-width:800px){.adopt{grid-template-columns:1fr}.adopt .pic{order:-1;max-width:20rem}}

/* footer */
footer{background:var(--cobalt);color:var(--paper);padding:5rem var(--pad) 2.5rem;overflow:hidden}
footer .big{font-weight:800;font-size:clamp(3.5rem,17vw,17rem);line-height:.8;letter-spacing:-.07em;white-space:nowrap}
footer .big .ser{color:var(--blush)}
footer .cols{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2rem;margin-top:3rem;font-size:.95rem}
footer .credits{margin-top:2.5rem;font-size:.85rem;opacity:.85;max-width:60rem}
footer a{text-underline-offset:3px}

/* reveal */
.js .reveal{opacity:0;transform:translateY(28px);transition:opacity .9s ease,transform .9s cubic-bezier(.2,.8,.2,1);transition-delay:var(--d,0s)}
.js .reveal.in{opacity:1;transform:none}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .js .reveal{opacity:1;transform:none}
  .js .hero h1 .l{transform:none}
  .js .squig path{stroke-dashoffset:0}
  .marquee .track{animation:none}
  .hero canvas{display:none}
}
</style>
</head>
<body>

<header class="nav">
  <a class="logo" href="#top">Slow<span>water</span></a>
  <ul>
    <li><a href="#mile">How we mend a mile</a></li>
    <li><a href="#days">Work days</a></li>
    <li><a class="btn alt" style="padding:.55rem 1.1rem" href="#adopt" data-mag>Adopt a mile</a></li>
  </ul>
</header>

<main id="top">
<section class="hero" id="hero">
  <canvas id="ripples" aria-hidden="true"></canvas>
  <div class="blob tilt" data-tilt>
    <div class="duo" style="width:100%;height:100%">
      <img src="https://images.pexels.com/photos/12026132/pexels-photo-12026132.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=800" width="800" height="1200" alt="Volunteers clearing rubbish from a river bank in summer" fetchpriority="high">
    </div>
  </div>
  <h1 id="headline" aria-label="Give the river back its bends.">
    <span class="line" aria-hidden="true"><span class="w">Give</span> <span class="w">the</span> <span class="w">river</span></span>
    <span class="line" aria-hidden="true"><span class="w">back</span> <span class="w">its</span> <span class="w ser">bends.</span></span>
    <svg class="squig" viewBox="0 0 300 30" preserveAspectRatio="none" aria-hidden="true"><path pathLength="1" d="M4 15 C 30 -4, 50 34, 78 15 S 126 -4, 152 15 S 202 34, 228 15 S 276 -4, 296 15"/></svg>
  </h1>
  <p class="sub">Slowwater is a volunteer river trust for the Aldren valley. We take out the concrete, put back the meanders, and plant the banks until the kingfishers come home.</p>
  <div class="cta">
    <a class="btn" href="#days" data-mag>Join a work day</a>
    <a class="btn alt" href="#adopt" data-mag>Adopt a mile</a>
  </div>
</section>

<div class="marquee" aria-hidden="true"><div class="track">
  <span>Weirs removed</span><span>Reedbeds planted</span><span>Banks softened</span><span>Otters recorded</span><span>Work days booked</span><span>Weirs removed</span><span>Reedbeds planted</span><span>Banks softened</span><span>Otters recorded</span><span>Work days booked</span>
</div></div>

<section class="pad" id="mile">
  <h2 class="reveal">How a mile gets <span class="ser">mended</span></h2>
  <p class="lede reveal">Every mile of the Aldren follows the same four moves. Nobody needs experience, only boots and a flask.</p>

  <div class="journey" id="journey">
    <svg class="river-d" viewBox="0 0 100 400" preserveAspectRatio="none" aria-hidden="true">
      <path class="bed" d="M50 0 C 86 28, 14 62, 50 100 S 86 172, 50 200 S 14 272, 50 300 S 86 372, 50 400"/>
      <path id="riverPath" pathLength="1" style="stroke-dashoffset:0" d="M50 0 C 86 28, 14 62, 50 100 S 86 172, 50 200 S 14 272, 50 300 S 86 372, 50 400"/>
    </svg>

    <div class="step">
      <div class="txt reveal">
        <p class="pull">Know the water first.</p>
        <h3>Walk it</h3>
        <p>Volunteers walk the whole mile with a clipboard and a phone, logging every culvert, outfall and straightened bend. The survey decides what comes out first.</p>
      </div>
      <div class="pic duo tilt reveal" data-tilt><img src="https://images.pexels.com/photos/18421329/pexels-photo-18421329.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=600&w=600" width="600" height="600" alt="A worker lifting leaves and plants out of a lake" loading="lazy"></div>
    </div>

    <div class="step">
      <div class="txt reveal">
        <p class="pull">Out with the concrete.</p>
        <h3>Unpick it</h3>
        <p>Concrete lining, old weirs and sheet piling come out. A small digger and a big crew can free a hundred metres in a weekend, and the water starts wandering again by Monday.</p>
      </div>
      <div class="pic duo cor tilt reveal" data-tilt><img src="https://images.pexels.com/photos/7656994/pexels-photo-7656994.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=600&w=600" width="600" height="600" alt="A man using a net to scoop rubbish from a lake at dusk" loading="lazy"></div>
    </div>

    <div class="step">
      <div class="txt reveal">
        <p class="pull">Local roots only.</p>
        <h3>Replant it</h3>
        <p>Reed, sedge, willow and alder go into the banks, grown from cuttings taken inside the valley, so the roots already know this water.</p>
      </div>
      <div class="pic duo tilt reveal" data-tilt><img src="https://images.pexels.com/photos/15509815/pexels-photo-15509815.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=600&w=600" width="600" height="600" alt="Hands planting a sapling in the ground" loading="lazy"></div>
    </div>

    <div class="step">
      <div class="txt reveal">
        <p class="pull">Then step back.</p>
        <h3>Hand it back</h3>
        <p>Each mile gets a local steward, a yearly check and a name on the map. The river keeps the rest.</p>
      </div>
      <div class="pic duo cor tilt reveal" data-tilt><img src="https://images.pexels.com/photos/28662965/pexels-photo-28662965.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=600&w=600" width="600" height="600" alt="Volunteers planting vegetation on sand dunes" loading="lazy"></div>
    </div>
  </div>
</section>

<section class="band" aria-label="Statement">
  <div class="bg" id="bandbg"><img src="https://images.pexels.com/photos/13070100/pexels-photo-13070100.jpeg?auto=compress&cs=tinysrgb&w=1800" width="1800" height="950" alt="" loading="lazy"></div>
  <p class="reveal">A straight river is a drain. A bendy one is a <span class="ser">home.</span></p>
</section>

<section class="pad" id="numbers">
  <h2 class="reveal">What the valley has <span class="ser">given back</span></h2>
  <div class="stats">
    <div class="stat reveal"><b data-count="38">38</b><p>miles of the Aldren and its becks freed from concrete or culverts</p></div>
    <div class="stat reveal" style="--d:.1s"><b data-count="2140" data-sep="1">2,140</b><p>volunteers have turned up to a work day this year</p></div>
    <div class="stat reveal" style="--d:.2s"><b data-count="11">11</b><p>weirs taken out, so trout and eels can swim the full length again</p></div>
    <div class="stat reveal" style="--d:.3s"><b data-count="7">7</b><p>otter holts logged by the night survey crew since the first bend returned</p></div>
  </div>
</section>

<section class="pad days" id="days">
  <h2 class="reveal">Pick a Saturday, <span class="ser">bring boots</span></h2>
  <p class="lede reveal">Tools, gloves and a hot drink are on us. Under-16s come with an adult. Places go fast, so book early.</p>
  <div class="rows">
    <a class="row reveal" href="#adopt"><span class="d">Sat 14 Nov</span><span class="t">Bank planting at Ford Meadow<small>Meet at the lower bridge, 9.30 to 3.00</small></span><span class="n">12 places</span></a>
    <a class="row reveal" href="#adopt"><span class="d">Sun 22 Nov</span><span class="t">Willow cuttings and bundle weaving<small>Mill Lane car park, 10.00 to 2.00</small></span><span class="n">20 places</span></a>
    <a class="row reveal" href="#adopt"><span class="d">Sat 5 Dec</span><span class="t">Weir removal at Hobb's Cut<small>Steel toe caps needed, we lend them</small></span><span class="n">6 places</span></a>
    <a class="row reveal" href="#adopt"><span class="d">Sat 12 Dec</span><span class="t">Reedbed planting and winter soup<small>The old pumphouse, 10.00 to 1.00</small></span><span class="n">25 places</span></a>
  </div>
</section>

<section class="pad" id="adopt">
  <div class="adopt">
    <div>
      <h2 class="reveal">Adopt a <span class="ser">mile</span></h2>
      <p class="lede reveal">Monthly gifts pay for the digger days, the cuttings and the survey kit. You get a name on the stretch you back and a seasonal letter from the bank.</p>
      <form id="adoptForm" class="reveal" aria-label="Adopt a mile">
        <fieldset class="tiers">
          <legend class="visually" style="position:absolute;left:-9999px">Choose a gift</legend>
          <div class="tier"><input type="radio" name="tier" id="t1" value="metre"><label for="t1">A metre <span>£4 a month</span></label></div>
          <div class="tier"><input type="radio" name="tier" id="t2" value="bend" checked><label for="t2">A bend <span>£12 a month</span></label></div>
          <div class="tier"><input type="radio" name="tier" id="t3" value="mile"><label for="t3">A whole mile <span>£60 a month</span></label></div>
        </fieldset>
        <input class="field" type="email" name="email" placeholder="Your email" aria-label="Your email" required>
        <button class="btn" type="submit" data-mag>Start adopting</button>
        <p class="thanks" id="thanks" hidden>Thank you. Your first letter from the bank is on its way.</p>
      </form>
    </div>
    <div class="pic duo cor tilt reveal" data-tilt>
      <img src="https://images.pexels.com/photos/28662965/pexels-photo-28662965.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=900" width="900" height="1200" alt="Volunteers planting a bank together in the sun" loading="lazy">
    </div>
  </div>
</section>
</main>

<footer>
  <div class="big" aria-hidden="true">Slow<span class="ser">water</span></div>
  <div class="cols">
    <p>Slowwater River Trust<br>The old pumphouse, Mill Lane, Aldren valley</p>
    <p><a href="mailto:hello@slowwater.example">hello@slowwater.example</a><br>Work days run in every weather except flood.</p>
    <p>Template by theainativemarketer.com</p>
  </div>
  <p class="credits">Photography from Pexels by <a href="https://www.pexels.com/@alfomedeiros">Alfo Medeiros</a>, <a href="https://www.pexels.com/@thirdman">Thirdman</a>, <a href="https://www.pexels.com/@gaion">Rodolfo Gaion</a>, <a href="https://www.pexels.com/@franco30">Frank Meriño</a>, <a href="https://www.pexels.com/@raybilcliff">Ray Bilcliff</a> and <a href="https://www.pexels.com/@tuongchopper">Tường Chopper</a>.</p>
</footer>

<script>
(function(){
  var rm=matchMedia('(prefers-reduced-motion: reduce)').matches;
  var fine=matchMedia('(pointer:fine)').matches;
  var $=function(s,c){return Array.prototype.slice.call((c||document).querySelectorAll(s))};

  /* split headline into letters */
  var h=document.getElementById('headline'),letters=[];
  var i=0;
  $('.w',h).forEach(function(w){
    var txt=w.textContent,isSer=w.classList.contains('ser');w.textContent='';
    var m=document.createElement('span');m.className='mask';
    for(var k=0;k<txt.length;k++){
      var s=document.createElement('span');s.className='l';s.textContent=txt[k];s.style.setProperty('--i',i++);
      if(!isSer)letters.push(s);
      m.appendChild(s);
    }
    w.appendChild(m);
  });
  letters.forEach(function(l){l.style.fontVariationSettings="'wght' 420,'opsz' 96"});

  /* reveal */
  var io=new IntersectionObserver(function(es){es.forEach(function(e){if(e.isIntersecting){e.target.classList.add('in');io.unobserve(e.target)}})},{threshold:.15});
  $('.reveal').forEach(function(el){io.observe(el)});

  /* count up */
  function fmt(n,sep){return sep?n.toString().replace(/\B(?=(\d{3})+(?!\d))/g,','):String(n)}
  var cio=new IntersectionObserver(function(es){es.forEach(function(e){
    if(!e.isIntersecting)return;cio.unobserve(e.target);
    var el=e.target,to=+el.dataset.count,sep=el.dataset.sep;
    if(rm){return}
    var t0=performance.now(),d=1400;
    (function tick(t){var p=Math.min(1,(t-t0)/d),v=Math.round(to*(1-Math.pow(1-p,3)));el.textContent=fmt(v,sep);if(p<1)requestAnimationFrame(tick)})(t0);
  })},{threshold:.6});
  $('[data-count]').forEach(function(el){cio.observe(el)});

  /* river draw + parallax */
  var rp=document.getElementById('riverPath'),jr=document.getElementById('journey'),band=document.getElementById('bandbg'),bandWrap=band.parentNode;
  function onScroll(){
    var vh=innerHeight,r=jr.getBoundingClientRect();
    var p=Math.max(0,Math.min(1,(vh*.65-r.top)/r.height));
    if(!rm){rp.style.strokeDashoffset=String(1-p);jr.style.setProperty('--p',(p*100)+'%')}
    if(!rm){var b=bandWrap.getBoundingClientRect();var c=(b.top+b.height/2-vh/2)/vh;band.style.transform='translateY('+(c*-14)+'%)'}
  }
  if(!rm){addEventListener('scroll',onScroll,{passive:true});addEventListener('resize',onScroll);onScroll()}

  /* ripples + cursor weight */
  var hero=document.getElementById('hero'),cv=document.getElementById('ripples'),ctx=cv.getContext('2d'),rip=[],running=false,W=0,H=0,dpr=Math.min(2,devicePixelRatio||1),lastAdd=0;
  function size(){W=hero.clientWidth;H=hero.clientHeight;cv.width=W*dpr;cv.height=H*dpr;ctx.setTransform(dpr,0,0,dpr,0,0)}
  size();addEventListener('resize',size);
  function draw(){
    ctx.clearRect(0,0,W,H);
    for(var k=rip.length-1;k>=0;k--){
      var o=rip[k];o.r+=1.8;o.a-=.011;
      if(o.a<=0){rip.splice(k,1);continue}
      ctx.beginPath();ctx.arc(o.x,o.y,o.r,0,6.2832);ctx.lineWidth=2;ctx.strokeStyle='rgba(43,60,255,'+o.a+')';ctx.stroke();
      ctx.beginPath();ctx.arc(o.x,o.y,o.r*.62,0,6.2832);ctx.lineWidth=1.2;ctx.strokeStyle='rgba(255,90,77,'+(o.a*.8)+')';ctx.stroke();
    }
    if(rip.length)requestAnimationFrame(draw);else running=false;
  }
  var mx=-9999,my=-9999,pend=false;
  function weights(){
    pend=false;
    letters.forEach(function(l){
      var b=l.getBoundingClientRect(),cx=b.left+b.width/2,cy=b.top+b.height/2,d2=(cx-mx)*(cx-mx)+(cy-my)*(cy-my);
      var k=Math.exp(-d2/(2*170*170));
      l.style.fontVariationSettings="'wght' "+Math.round(420+380*k)+",'opsz' 96";
    });
  }
  if(!rm&&fine){
    hero.addEventListener('pointermove',function(e){
      var b=hero.getBoundingClientRect();mx=e.clientX;my=e.clientY;
      if(!pend){pend=true;requestAnimationFrame(weights)}
      var n=performance.now();
      if(n-lastAdd>70){lastAdd=n;rip.push({x:e.clientX-b.left,y:e.clientY-b.top,r:4,a:.7});if(!running){running=true;requestAnimationFrame(draw)}}
    });
    hero.addEventListener('pointerleave',function(){mx=my=-9999;if(!pend){pend=true;requestAnimationFrame(weights)}});
    hero.addEventListener('pointerdown',function(e){var b=hero.getBoundingClientRect();for(var q=0;q<3;q++)rip.push({x:e.clientX-b.left,y:e.clientY-b.top,r:q*14,a:.9});if(!running){running=true;requestAnimationFrame(draw)}});
  }

  /* 3D tilt */
  if(!rm&&fine){
    $('[data-tilt]').forEach(function(el){
      el.addEventListener('pointermove',function(e){
        var b=el.getBoundingClientRect(),x=(e.clientX-b.left)/b.width-.5,y=(e.clientY-b.top)/b.height-.5;
        el.style.transform='perspective(800px) rotateY('+(x*12)+'deg) rotateX('+(-y*12)+'deg) scale(1.03)';
      });
      el.addEventListener('pointerleave',function(){el.style.transform=''});
    });
    /* magnetic buttons */
    $('[data-mag]').forEach(function(el){
      el.addEventListener('pointermove',function(e){
        var b=el.getBoundingClientRect(),x=e.clientX-(b.left+b.width/2),y=e.clientY-(b.top+b.height/2);
        el.style.transform='translate('+(x*.25)+'px,'+(y*.35)+'px)';
      });
      el.addEventListener('pointerleave',function(){el.style.transform=''});
    });
  }

  /* form: no network */
  var f=document.getElementById('adoptForm');
  f.addEventListener('submit',function(e){e.preventDefault();document.getElementById('thanks').hidden=false});
})();
</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#14131f
  • Paper#f2ede1
  • Accent#2b3cff
  • Support 1#ff5a4d
  • Support 2#c4e9d4
  • Support 3#ffd8cc

Type

Display
Bricolage Grotesque
Body
Bricolage Grotesque

Social templates