Marram
A sunlit coastal hotel page where an arch-cut photograph sits inside a giant italic wordmark that changes colour as it crosses the edge of the photo.
Hospitality · 9 Nov 2026
About this concept
Marram is a one-page site for a small hotel, guesthouse, or retreat. A giant italic wordmark rises letter by letter and flips colour where it crosses an arch-shaped photo, a slow conic sunrise gradient moves behind it, rooms tilt in 3D, and a tide table floods with colour on hover. It suits boutique hotels, B&Bs, and holiday lets.
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 Marram. Keep the arch-shaped hero photo with the giant italic wordmark that changes colour where it crosses the photo, the slow conic gradient sky, the tilting room cards, the tide table that floods with colour on hover, the duotone parallax band, and the rotating text ring around the circular photo. Turn it into a site for [your hotel, guesthouse, retreat, or holiday let]: change the wordmark to [name], rewrite the intro line and opening months, replace the four rooms with [your rooms, rates, and descriptions], swap the tide table for [your daily rhythm, such as meals, classes, or tours], rewrite the breakfast section about [your signature offer], and update the address and contact details. Replace the Pexels photos with [your own photography] and keep the credits for any that stay. Keep the sand, ink, and sun palette unless I give you brand colours. Respect prefers-reduced-motion. One HTML file only.
The code
Show 381 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>Marram - nine rooms above a tidal cove</title>
<meta name="description" content="Marram is a nine-room coastal hotel above a tidal cove. Breakfast until noon, supper timed to the tide, no lifts and no televisions.">
<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=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;1,9..144,300;1,9..144,500&family=Figtree:wght@400;500;600&display=swap" rel="stylesheet">
<style>
:root { --sand:#f1e8d9; --ink:#0d2b2e; --sun:#f2a541; --foam:#a9c7bd; --clay:#c9593b; --mx:50vw; --my:40vh }
@property --a { syntax:'<angle>'; inherits:false; initial-value:0deg }
* { box-sizing:border-box; margin:0; padding:0 }
html { scroll-behavior:smooth }
body { background:var(--sand); color:var(--ink); font-family:'Figtree',system-ui,sans-serif; font-size:1.0625rem; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden }
a { color:inherit }
img { display:block; max-width:100% }
::selection { background:var(--sun); color:var(--ink) }
h1, h2, h3 { font-family:'Fraunces',Georgia,serif; font-weight:300; line-height:1.02; letter-spacing:-.02em }
h2 { font-size:clamp(2.4rem, 6vw, 5rem) }
.wrap { width:min(1240px, 100% - 3rem); margin-inline:auto }
.btn { display:inline-block; padding:1rem 1.8rem; border-radius:999px; background:var(--ink); color:var(--sand); font-weight:600; text-decoration:none; transition:background .3s, color .3s, transform .2s; border:0; font-size:1rem; cursor:pointer; font-family:inherit }
.btn:hover { background:var(--clay) }
.btn.sun { background:var(--sun); color:var(--ink) }
.btn.sun:hover { background:var(--sand) }
/* spotlight that follows the cursor */
.sun-glow { position:fixed; inset:0; pointer-events:none; z-index:30; background:radial-gradient(420px circle at var(--mx) var(--my), rgba(242,165,65,.22), transparent 70%); mix-blend-mode:multiply }
/* nav */
.nav { position:absolute; top:0; left:0; right:0; z-index:10; display:flex; align-items:center; justify-content:space-between; padding:1.6rem clamp(1.25rem, 4vw, 3rem) }
.nav .logo { font-family:'Fraunces',serif; font-style:italic; font-size:1.6rem; text-decoration:none; font-weight:500 }
.nav ul { display:flex; gap:2rem; list-style:none }
.nav ul a { text-decoration:none; font-weight:500; background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat; transition:background-size .3s }
.nav ul a:hover { background-size:100% 1px }
.nav .btn { padding:.7rem 1.3rem }
/* hero */
.hero { position:relative; min-height:100vh; padding:5.5rem 0 0; overflow:hidden; display:flex; flex-direction:column }
.sky { position:absolute; inset:0; z-index:0; background:conic-gradient(from var(--a) at 50% 115%, #f2a541 0deg, #f3d3a3 70deg, #a9c7bd 150deg, #f1e8d9 220deg, #f4c58a 290deg, #f2a541 360deg); animation:spin 24s linear infinite }
@keyframes spin { to { --a:360deg } }
.stage { position:relative; z-index:1; --wy:46%; height:min(70vh, 640px); margin-top:.5rem }
.arch { position:relative; z-index:2; width:min(44vw, 470px); height:100%; margin-inline:auto; border-radius:999px 999px 0 0; overflow:hidden; background:var(--ink) }
.arch img { position:absolute; left:0; top:-8%; width:100%; height:116%; object-fit:cover; will-change:transform }
.word { position:absolute; left:50%; top:var(--wy); transform:translateX(-50%); white-space:nowrap; font-family:'Fraunces',serif; font-style:italic; font-weight:300; font-size:clamp(5.2rem, 23vw, 24rem); line-height:.8; letter-spacing:-.05em; margin:0; z-index:1; color:var(--ink) }
.arch .word { z-index:3; color:var(--sand); mix-blend-mode:normal }
.split span { display:inline-block; animation:rise 1.1s cubic-bezier(.2,.8,.2,1) both; animation-delay:calc(var(--i) * 70ms + 150ms) }
@keyframes rise { from { transform:translateY(55%); opacity:0 } to { transform:none; opacity:1 } }
.hero-foot { position:relative; z-index:3; margin-top:auto; padding:2rem 0 2.4rem; display:flex; justify-content:space-between; align-items:flex-end; gap:2rem; flex-wrap:wrap }
.hero-foot p { max-width:25rem; font-size:1.2rem; line-height:1.45; font-weight:500 }
/* marquee */
.marquee { background:var(--ink); color:var(--sand); overflow:hidden; white-space:nowrap; padding:1.1rem 0; font-family:'Fraunces',serif; font-style:italic; font-size:1.6rem }
.marquee .track { display:inline-flex; animation:slide 38s linear infinite }
.marquee span { padding-right:2.4rem }
.marquee span::after { content:'~'; padding-left:2.4rem; color:var(--sun) }
@keyframes slide { to { transform:translateX(-50%) } }
/* rooms */
.rooms-sec { padding:8rem 0 6rem }
.head { display:grid; grid-template-columns:1.2fr 1fr; gap:3rem; align-items:end; margin-bottom:3.5rem }
.head p { max-width:28rem; justify-self:end; font-size:1.15rem }
.rooms { display:flex; gap:2.2rem; overflow-x:auto; scroll-snap-type:x mandatory; padding:1rem clamp(1.5rem, 4vw, 3rem) 3rem; scrollbar-width:thin; scrollbar-color:var(--ink) transparent }
.room { flex:0 0 min(78vw, 360px); scroll-snap-align:center; transform-style:preserve-3d; transition:transform .25s ease-out }
.room .ph { aspect-ratio:3/4; border-radius:999px 999px 0 0; overflow:hidden; background:var(--foam) }
.room .ph img { width:100%; height:100%; object-fit:cover; transition:transform .9s cubic-bezier(.2,.8,.2,1) }
.room:hover .ph img { transform:scale(1.07) }
.room h3 { font-size:2.2rem; margin:1.2rem 0 .3rem; font-style:italic }
.room p { max-width:21rem }
.room .rate { margin-top:.7rem; font-weight:600 }
/* tide table */
.tide { background:var(--ink); color:var(--sand); padding:7rem 0 8rem; position:relative }
.tide .wave { display:block; width:100%; height:110px; margin-bottom:4rem; overflow:visible }
.tide .wave path { fill:none; stroke:var(--sun); stroke-width:2.5; stroke-linecap:round; stroke-dasharray:1; stroke-dashoffset:0 }
html.js .tide .wave path { stroke-dashoffset:var(--off, 1) }
.tide .head p { color:#cfd9d3 }
.rows { list-style:none; border-top:1px solid rgba(241,232,217,.25) }
.row { position:relative; display:grid; grid-template-columns:minmax(7.5rem, 14rem) 1fr; gap:2rem; align-items:baseline; padding:1.7rem .4rem; border-bottom:1px solid rgba(241,232,217,.25); overflow:hidden; transition:color .3s }
.row::before { content:''; position:absolute; inset:0; background:var(--sun); transform:scaleX(0); transform-origin:left; transition:transform .55s cubic-bezier(.2,.8,.2,1); z-index:0 }
.row:hover::before { transform:scaleX(1) }
.row:hover { color:var(--ink) }
.row > * { position:relative; z-index:1 }
.row time { font-family:'Fraunces',serif; font-style:italic; font-size:clamp(2.4rem, 6vw, 4.6rem); line-height:1 }
.row b { display:block; font-size:1.35rem; font-weight:600 }
.row span { display:block; max-width:34rem; opacity:.85 }
/* duotone band */
.band { position:relative; height:84vh; min-height:520px; overflow:hidden; background:var(--ink); display:grid; place-items:center; text-align:center }
.band img { position:absolute; left:0; top:-12%; width:100%; height:124%; object-fit:cover; filter:grayscale(1) contrast(1.2); mix-blend-mode:screen; will-change:transform }
.band::after { content:''; position:absolute; inset:0; background:var(--sun); mix-blend-mode:multiply }
.band div { position:relative; z-index:2; color:var(--sand); padding:0 1.5rem; mix-blend-mode:normal }
.band h2 { font-size:clamp(3rem, 9vw, 8.5rem); font-style:italic; text-shadow:0 2px 40px rgba(13,43,46,.45) }
.band p { max-width:30rem; margin:1.4rem auto 0; font-size:1.15rem; color:#fdf6e9; text-shadow:0 1px 20px rgba(13,43,46,.6) }
/* breakfast */
.bf { padding:8rem 0; display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center }
.bf .disc { position:relative; width:min(100%, 520px); aspect-ratio:1; justify-self:center; overflow:hidden }
.bf .disc .pic { position:absolute; inset:11%; border-radius:50%; overflow:hidden; box-shadow:0 30px 60px -30px rgba(13,43,46,.5) }
.bf .disc img { width:100%; height:100%; object-fit:cover }
.bf .ring { position:absolute; inset:0; width:100%; height:100%; animation:turn 30s linear infinite }
.bf .ring text { font-family:'Fraunces',serif; font-style:italic; font-size:22px; fill:var(--ink) }
@keyframes turn { to { transform:rotate(360deg) } }
.bf h2 { margin-bottom:1.2rem }
.bf p { max-width:30rem; margin-bottom:1rem; font-size:1.15rem }
/* stay */
.stay { background:var(--foam); padding:7rem 0 8rem }
.stay .box { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start }
.stay form { display:grid; grid-template-columns:1fr 1fr; gap:1.1rem }
.stay label { display:block; font-weight:600; font-size:.95rem }
.stay input, .stay select { width:100%; margin-top:.35rem; padding:.95rem 1rem; border:1.5px solid var(--ink); border-radius:12px; background:var(--sand); font:inherit; color:var(--ink) }
.stay input:focus, .stay select:focus { outline:3px solid var(--sun); outline-offset:2px }
.stay form .full { grid-column:1 / -1 }
.stay .small { margin-top:1rem; font-size:.95rem }
footer { background:var(--ink); color:var(--sand); padding:4.5rem 0 3rem }
footer .cols { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:3rem }
footer .logo { font-family:'Fraunces',serif; font-style:italic; font-size:3rem; line-height:1 }
footer h3 { font-size:1.3rem; font-style:italic; margin-bottom:.6rem }
footer p, footer li { color:#cfd9d3 }
footer ul { list-style:none }
footer a { text-underline-offset:3px }
footer .credits { margin-top:3rem; padding-top:1.6rem; border-top:1px solid rgba(241,232,217,.2); font-size:.9rem; color:#aebdb6 }
/* reveal on scroll, only when JavaScript is running */
html.js .reveal { opacity:0; transform:translateY(34px); transition:opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); transition-delay:var(--d, 0s) }
html.js .reveal.in { opacity:1; transform:none }
@media (max-width:860px) {
.nav ul { display:none }
.arch { width:68vw }
.stage { height:min(62vh, 520px) }
.head, .bf, .stay .box, footer .cols { grid-template-columns:1fr }
.head p { justify-self:start }
.bf { gap:3rem }
.row { grid-template-columns:1fr; gap:.4rem }
.rooms-sec { padding:5rem 0 3rem }
.tide { padding:5rem 0 5rem }
.stay form { grid-template-columns:1fr }
.sun-glow { display:none }
}
@media (prefers-reduced-motion:reduce) {
html { scroll-behavior:auto }
.sky, .marquee .track, .bf .ring, .split span { animation:none !important }
.reveal { opacity:1 !important; transform:none !important; transition:none !important }
.room, .room .ph img, .row::before { transition:none }
.tide .wave path { stroke-dashoffset:0 !important }
.sun-glow { display:none }
}
</style>
</head>
<body>
<div class="sun-glow" aria-hidden="true"></div>
<header class="hero" id="top">
<div class="sky" aria-hidden="true"></div>
<nav class="nav" aria-label="Main">
<a class="logo" href="#top">Marram</a>
<ul>
<li><a href="#rooms">Rooms</a></li>
<li><a href="#tide">The tide table</a></li>
<li><a href="#breakfast">Breakfast</a></li>
</ul>
<a class="btn mag" href="#stay">Check dates</a>
</nav>
<div class="stage">
<h1 class="word split" data-split>Marram</h1>
<div class="arch">
<img src="https://images.pexels.com/photos/5839280/pexels-photo-5839280.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=900" alt="Sunlit white cliffs above the sea, seen from the shore" width="900" height="1200" fetchpriority="high">
<div class="word split" data-split data-clip-ok aria-hidden="true">Marram</div>
</div>
</div>
<div class="hero-foot wrap">
<p>Nine rooms above a tidal cove, in a village with one shop and no lifts. Open March to November.</p>
<a class="btn mag" href="#rooms">See the rooms</a>
</div>
</header>
<div class="marquee" aria-hidden="true">
<div class="track">
<span>Breakfast until noon</span><span>Swim from the slip</span><span>Nine rooms</span><span>Dogs welcome</span><span>No televisions</span><span>Supper timed to the tide</span><span>Breakfast until noon</span><span>Swim from the slip</span><span>Nine rooms</span><span>Dogs welcome</span><span>No televisions</span><span>Supper timed to the tide</span>
</div>
</div>
<main>
<section class="rooms-sec" id="rooms">
<div class="wrap head reveal">
<h2>Nine rooms, no two the same</h2>
<p>Each one faces the water and takes its name from something that washes up on the cove. Four of them are below, and the other five are just as quiet.</p>
</div>
<div class="rooms" tabindex="0" aria-label="Rooms, scroll sideways">
<article class="room reveal" data-tilt>
<div class="ph"><img src="https://images.pexels.com/photos/2092060/pexels-photo-2092060.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1000&w=760" alt="A bright hotel room with a made bed and fresh towels" width="760" height="1000" loading="lazy"></div>
<h3>Samphire</h3>
<p>Top floor, a bath under the window, and the cove laid out like a map.</p>
<p class="rate">From 210 pounds a night</p>
</article>
<article class="room reveal" style="--d:.1s" data-tilt>
<div class="ph"><img src="https://images.pexels.com/photos/6580214/pexels-photo-6580214.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1000&w=760" alt="A bedroom with striped curtains, a large bed and decorative pillows" width="760" height="1000" loading="lazy"></div>
<h3>Thrift</h3>
<p>Striped curtains, a deep bed, and a window seat for reading through the afternoon rain.</p>
<p class="rate">From 185 pounds a night</p>
</article>
<article class="room reveal" style="--d:.2s" data-tilt>
<div class="ph"><img src="https://images.pexels.com/photos/3051575/pexels-photo-3051575.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1000&w=760" alt="A view of a tropical beach from a terrace overlooking the ocean" width="760" height="1000" loading="lazy"></div>
<h3>Dulse</h3>
<p>Ground floor with its own terrace, steps down to the sand, and a hook for wet towels.</p>
<p class="rate">From 240 pounds a night</p>
</article>
<article class="room reveal" style="--d:.3s" data-tilt>
<div class="ph"><img src="https://images.pexels.com/photos/10611843/pexels-photo-10611843.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1000&w=760" alt="A terrace with a wide view of the ocean" width="760" height="1000" loading="lazy"></div>
<h3>Wrack</h3>
<p>The corner room, with a terrace that catches the last hour of sun and nobody else's.</p>
<p class="rate">From 260 pounds a night</p>
</article>
</div>
</section>
<section class="tide" id="tide">
<div class="wrap">
<svg class="wave" viewBox="0 0 1200 120" preserveAspectRatio="none" aria-hidden="true"><path pathLength="1" d="M0 60 C 100 8, 200 112, 300 60 S 500 8, 600 60 S 800 112, 900 60 S 1100 8, 1200 60"/></svg>
<div class="head reveal">
<h2>The day runs on the tide</h2>
<p>We time breakfast, swims, and supper around the water, so the table below is a sample from a spring day. The real one is pinned in the hall.</p>
</div>
<ul class="rows">
<li class="row reveal"><time>06:14</time><div><b>Low tide</b><span>The slip is dry and the cove is yours for an early swim before anyone else is up.</span></div></li>
<li class="row reveal"><time>09:30</time><div><b>Breakfast on the terrace</b><span>Eggs from the farm up the lane, warm bread, and coffee until the pot runs out.</span></div></li>
<li class="row reveal"><time>12:48</time><div><b>High water</b><span>The sea reaches the foot of the garden wall. Watch it from the hammock.</span></div></li>
<li class="row reveal"><time>15:00</time><div><b>The cove walk</b><span>An hour along the cliff path with whoever is around, ending at the lighthouse bench.</span></div></li>
<li class="row reveal"><time>19:30</time><div><b>Supper</b><span>One menu, written that morning, built around whatever the boat brought in.</span></div></li>
</ul>
</div>
</section>
<section class="band" aria-label="Leave the phone in the drawer">
<img src="https://images.pexels.com/photos/7049769/pexels-photo-7049769.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1000&w=1600" alt="Waves crashing against cliffs at sunset" width="1600" height="1000" loading="lazy">
<div class="reveal">
<h2>Leave the phone in the drawer</h2>
<p>Signal is patchy on the cove and we like it that way. The wifi works in the bar, if you must.</p>
</div>
</section>
<section class="wrap bf" id="breakfast">
<div class="disc reveal">
<svg class="ring" viewBox="0 0 400 400" aria-hidden="true">
<defs><path id="circ" d="M200,200 m-166,0 a166,166 0 1,1 332,0 a166,166 0 1,1 -332,0"/></defs>
<text><textPath href="#circ" startOffset="0">Breakfast until noon ~ Breakfast until noon ~ Breakfast until noon ~ Breakfast until noon ~ Breakfast until noon ~ </textPath></text>
</svg>
<div class="pic"><img src="https://images.pexels.com/photos/16887243/pexels-photo-16887243.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=900&w=900" alt="A breakfast table set by the sea with an ocean view" width="900" height="900" loading="lazy"></div>
</div>
<div class="reveal" style="--d:.15s">
<h2>Breakfast until noon</h2>
<p>Nobody gets rushed at Marram. The kitchen keeps going until noon, and the terrace tables are laid again by half past.</p>
<p>Expect eggs any way you like, sourdough from the village baker, smoked fish, stewed fruit, and a jar of the kitchen's own marmalade on every table.</p>
</div>
</section>
<section class="stay" id="stay">
<div class="wrap box">
<div class="reveal">
<h2>Ask for a room</h2>
<p class="small">Tell us when you would like to come, and we reply within a day with what is free. Weekends in July and August go first, so ask early.</p>
</div>
<form class="reveal" style="--d:.15s" onsubmit="return false">
<label>Arrive<input type="date" name="arrive"></label>
<label>Leave<input type="date" name="leave"></label>
<label>Guests<select name="guests"><option>One</option><option selected>Two</option><option>Three</option><option>Four</option></select></label>
<label>Room<select name="room"><option>Any room</option><option>Samphire</option><option>Thrift</option><option>Dulse</option><option>Wrack</option></select></label>
<label class="full">Email<input type="email" name="email" placeholder="you@example.com"></label>
<div class="full"><button class="btn mag" type="submit">Send the request</button></div>
</form>
</div>
</section>
</main>
<footer>
<div class="wrap">
<div class="cols">
<div><div class="logo">Marram</div><p style="margin-top:.8rem;max-width:22rem">Nine rooms above a tidal cove. Open March to November.</p></div>
<div><h3>Find us</h3><p>The Slip, Porthwen Cove<br>Cornwall, TR19 0XX<br>A sample address for this template</p></div>
<div><h3>Write to us</h3><ul><li><a href="#stay">stay@marram.example</a></li><li>Reception from 8am to 9pm</li></ul></div>
</div>
<p class="credits">Photography from <a href="https://www.pexels.com/">Pexels</a> by <a href="https://www.pexels.com/@o-darny">Olivier Darny</a>, <a href="https://www.pexels.com/@enginakyurt">Engin Akyurt</a>, <a href="https://www.pexels.com/@artbovich">Max Vakhtbovych</a>, <a href="https://www.pexels.com/@caleboquendo">Caleb Oquendo</a>, <a href="https://www.pexels.com/@alleksana">alleksana</a>, <a href="https://www.pexels.com/@tracvu">Trac Vu</a>, and <a href="https://www.pexels.com/@muhammedtarikkahraman">Muhammed Tarik Kahraman</a>.</p>
</div>
</footer>
<script>
(function () {
var root = document.documentElement;
var reduce = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
var fine = window.matchMedia('(pointer: fine)').matches;
root.classList.add('js');
// kinetic type: split the wordmark into letters
document.querySelectorAll('[data-split]').forEach(function (el) {
var text = el.textContent.trim();
if (!el.classList.contains('word') || el.getAttribute('aria-hidden') !== 'true') el.setAttribute('aria-label', text);
el.innerHTML = '';
text.split('').forEach(function (ch, i) {
var s = document.createElement('span');
s.textContent = ch;
s.style.setProperty('--i', i);
s.setAttribute('aria-hidden', 'true');
el.appendChild(s);
});
});
// scroll reveals
var reveals = document.querySelectorAll('.reveal');
if (reduce || !('IntersectionObserver' in window)) {
reveals.forEach(function (r) { r.classList.add('in'); });
} else {
var io = new IntersectionObserver(function (entries) {
entries.forEach(function (e) { if (e.isIntersecting) { e.target.classList.add('in'); io.unobserve(e.target); } });
}, { threshold: 0.12 });
reveals.forEach(function (r) { io.observe(r); });
}
if (reduce) return;
// cursor spotlight, magnetic buttons, 3D tilt
if (fine) {
var glow = document.querySelector('.sun-glow');
window.addEventListener('pointermove', function (e) {
glow.style.setProperty('--mx', e.clientX + 'px');
glow.style.setProperty('--my', e.clientY + 'px');
}, { passive: true });
document.querySelectorAll('.mag').forEach(function (b) {
b.addEventListener('pointermove', function (e) {
var r = b.getBoundingClientRect();
var x = (e.clientX - r.left - r.width / 2) * 0.28;
var y = (e.clientY - r.top - r.height / 2) * 0.35;
b.style.transform = 'translate(' + x + 'px,' + y + 'px)';
});
b.addEventListener('pointerleave', function () { b.style.transform = ''; });
});
document.querySelectorAll('[data-tilt]').forEach(function (c) {
c.addEventListener('pointermove', function (e) {
var r = c.getBoundingClientRect();
var px = (e.clientX - r.left) / r.width - 0.5;
var py = (e.clientY - r.top) / r.height - 0.5;
c.style.transform = 'perspective(900px) rotateY(' + (px * 12) + 'deg) rotateX(' + (-py * 10) + 'deg)';
});
c.addEventListener('pointerleave', function () { c.style.transform = ''; });
});
}
// parallax photos and the drawing wave line
var archImg = document.querySelector('.arch img');
var bandImg = document.querySelector('.band img');
var band = document.querySelector('.band');
var tide = document.querySelector('.tide');
var wave = document.querySelector('.tide .wave path');
var ticking = false;
function frame() {
var vh = window.innerHeight;
var y = window.scrollY;
if (archImg && y < vh * 1.2) archImg.style.transform = 'translateY(' + (y * 0.12) + 'px)';
if (band && bandImg) {
var br = band.getBoundingClientRect();
if (br.bottom > 0 && br.top < vh) bandImg.style.transform = 'translateY(' + ((br.top + br.height / 2 - vh / 2) * -0.12) + 'px)';
}
if (tide && wave) {
var tr = tide.getBoundingClientRect();
var p = Math.min(1, Math.max(0, (vh * 0.85 - tr.top) / (vh * 0.6)));
tide.style.setProperty('--off', (1 - p).toFixed(3));
}
ticking = false;
}
window.addEventListener('scroll', function () { if (!ticking) { ticking = true; requestAnimationFrame(frame); } }, { passive: true });
window.addEventListener('resize', frame);
frame();
})();
</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#0d2b2e
- Paper#f1e8d9
- Accent#f2a541
- Support 1#a9c7bd
- Support 2#c9593b
Type
- Display
- Fraunces
- Body
- Figtree




