Museum — Exhibition Page
A refined, gallery-toned single-exhibition page with a full-bleed gradient hero, On view status badge, run dates and a live days-left countdown. Includes a curatorial statement, four thematic chapters, a filterable featured-works grid with framed artwork placeholders, a timed-entry ticket selector with running total, and related programs. Sticky mini-header reveals on scroll with scroll-spy anchor navigation, all in vanilla HTML, CSS, and JavaScript.
MCP
Code
:root {
--paper: #f6f4ef;
--wall: #ffffff;
--charcoal: #1c1b19;
--ink: #2a2825;
--ink-2: #4a4640;
--muted: #8c857a;
--gold: #a98140;
--gold-d: #876631;
--gold-50: #f3ecdd;
--line: rgba(28, 27, 25, 0.12);
--line-2: rgba(28, 27, 25, 0.2);
--ok: #3f7d56;
--warn: #b8842c;
--danger: #b4493a;
--r-sm: 6px;
--r-md: 12px;
--r-lg: 18px;
--serif: "Cormorant Garamond", Georgia, serif;
--sans: "Inter", system-ui, -apple-system, sans-serif;
--shadow-sm: 0 1px 2px rgba(28, 27, 25, 0.06);
--shadow-md: 0 8px 30px rgba(28, 27, 25, 0.1);
--shadow-lg: 0 24px 60px rgba(28, 27, 25, 0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: var(--sans);
font-size: 16px;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; color: var(--charcoal); }
p { margin: 0 0 1rem; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
font-family: var(--sans);
font-size: 0.92rem;
font-weight: 600;
letter-spacing: 0.01em;
padding: 12px 22px;
border-radius: var(--r-sm);
border: 1px solid transparent;
cursor: pointer;
text-decoration: none;
transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 14px; font-size: 0.84rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-d); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(28, 27, 25, 0.04); border-color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: var(--r-sm); }
/* ---------- Mini header ---------- */
.mini-header {
position: fixed;
top: 0; left: 0; right: 0;
z-index: 50;
background: rgba(246, 244, 239, 0.92);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--line);
transform: translateY(-100%);
transition: transform 0.3s ease;
}
.mini-header.show { transform: translateY(0); }
.mini-inner {
max-width: 1120px;
margin: 0 auto;
padding: 0 28px;
height: 64px;
display: flex;
align-items: center;
gap: 20px;
}
.mini-mark { font-family: var(--serif); font-weight: 700; letter-spacing: 0.14em; font-size: 1.05rem; color: var(--charcoal); }
.mini-title { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-2); }
.mini-nav { display: flex; gap: 18px; margin-left: auto; }
.mini-nav a { font-size: 0.85rem; color: var(--ink-2); text-decoration: none; padding: 4px 2px; border-bottom: 2px solid transparent; }
.mini-nav a:hover { color: var(--charcoal); border-color: var(--gold); }
.mini-cta { padding: 8px 16px; }
/* ---------- Hero ---------- */
.hero {
position: relative;
min-height: 84vh;
display: flex;
align-items: flex-end;
overflow: hidden;
color: #fff;
}
.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-overlay {
position: relative;
z-index: 1;
width: 100%;
padding: 0 0 64px;
background: linear-gradient(to top, rgba(20, 20, 19, 0.78) 0%, rgba(20, 20, 19, 0.32) 45%, rgba(20, 20, 19, 0) 80%);
}
.hero-content { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.eyebrow {
text-transform: uppercase;
letter-spacing: 0.22em;
font-size: 0.72rem;
font-weight: 600;
color: var(--gold-50);
margin-bottom: 14px;
}
.hero-title {
font-size: clamp(3rem, 9vw, 6.5rem);
font-weight: 700;
letter-spacing: -0.01em;
color: #fff;
margin-bottom: 14px;
}
.hero-sub {
font-family: var(--serif);
font-size: clamp(1.2rem, 2.6vw, 1.7rem);
font-weight: 500;
color: rgba(255, 255, 255, 0.92);
max-width: 620px;
margin-bottom: 22px;
}
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 26px; }
.hero-dates, .hero-loc { font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); }
.hero-loc { color: rgba(255, 255, 255, 0.68); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 0.78rem;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
padding: 6px 12px;
border-radius: 999px;
}
.badge-onview { background: rgba(63, 125, 86, 0.18); color: #c8efd5; border: 1px solid rgba(120, 220, 160, 0.4); }
.badge-onview .dot { width: 8px; height: 8px; border-radius: 50%; background: #6fe39c; box-shadow: 0 0 0 0 rgba(111, 227, 156, 0.7); animation: pulse 2.2s infinite; }
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(111, 227, 156, 0.6); }
70% { box-shadow: 0 0 0 8px rgba(111, 227, 156, 0); }
100% { box-shadow: 0 0 0 0 rgba(111, 227, 156, 0); }
}
.countdown {
position: absolute;
z-index: 2;
top: 24px; right: 28px;
font-size: 0.8rem;
letter-spacing: 0.04em;
color: rgba(255, 255, 255, 0.85);
background: rgba(20, 20, 19, 0.4);
border: 1px solid rgba(255, 255, 255, 0.18);
padding: 8px 14px;
border-radius: 999px;
backdrop-filter: blur(6px);
}
/* ---------- Anchor nav ---------- */
.anchor-nav {
position: sticky;
top: 0;
z-index: 30;
background: var(--paper);
border-bottom: 1px solid var(--line);
}
.anchor-nav ul {
max-width: 1120px;
margin: 0 auto;
padding: 0 28px;
list-style: none;
display: flex;
gap: 8px;
overflow-x: auto;
scrollbar-width: none;
}
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a {
display: inline-block;
white-space: nowrap;
padding: 16px 6px;
margin: 0 8px;
font-size: 0.85rem;
color: var(--muted);
text-decoration: none;
border-bottom: 2px solid transparent;
transition: color 0.2s ease, border-color 0.2s ease;
}
.anchor-nav a:hover { color: var(--ink); }
.anchor-nav a.active { color: var(--charcoal); border-color: var(--gold); }
/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-kicker {
text-transform: uppercase;
letter-spacing: 0.2em;
font-size: 0.72rem;
font-weight: 600;
color: var(--gold-d);
margin-bottom: 12px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 24px; }
.section-intro { background: var(--wall); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lede { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); line-height: 1.4; margin-bottom: 22px; }
.lede em { font-style: italic; }
.section-intro p { color: var(--ink-2); font-size: 1.05rem; }
.credit { font-size: 0.95rem; color: var(--muted); margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.credit strong { color: var(--ink); }
/* Themes */
.theme-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.theme {
display: flex;
gap: 20px;
padding: 32px;
background: var(--wall);
transition: background 0.2s ease;
}
.theme:hover { background: var(--gold-50); }
.theme-num { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.theme h3 { font-size: 1.5rem; margin-bottom: 6px; }
.theme p { color: var(--ink-2); margin: 0; font-size: 0.98rem; }
/* Works */
.works-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.works-head .section-title { margin-bottom: 0; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
font-family: var(--sans);
font-size: 0.82rem;
font-weight: 500;
padding: 8px 14px;
border-radius: 999px;
border: 1px solid var(--line-2);
background: var(--wall);
color: var(--ink-2);
cursor: pointer;
transition: all 0.18s ease;
}
.chip:hover { border-color: var(--gold); color: var(--charcoal); }
.chip.active { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }
.works-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 28px;
}
.work {
background: var(--wall);
border: 1px solid var(--line);
border-radius: var(--r-md);
overflow: hidden;
transition: transform 0.2s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}
.work:hover, .work:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work.hide { display: none; }
.work-mat { padding: 20px 20px 0; }
.work-img {
aspect-ratio: 4 / 5;
border-radius: var(--r-sm);
border: 1px solid var(--line-2);
background: linear-gradient(150deg, var(--a, #8a9aa6), var(--b, #d9cfbb));
box-shadow: inset 0 0 0 6px var(--wall), inset 0 0 0 7px var(--line);
}
.work-body { padding: 16px 20px 22px; }
.work-title { font-size: 1.3rem; margin-bottom: 4px; }
.work-artist { font-size: 0.92rem; color: var(--ink-2); margin: 0 0 8px; }
.work-artist span { color: var(--muted); }
.work-medium { font-size: 0.86rem; color: var(--ink-2); font-style: italic; margin: 0 0 6px; }
.work-cat { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin: 0; }
.works-empty { text-align: center; color: var(--muted); padding: 40px 0; font-style: italic; }
/* Tickets */
.section-tickets { background: var(--wall); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticket-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.ticket-copy p { color: var(--ink-2); }
.visit-facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.visit-facts li { font-size: 0.95rem; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.visit-facts span { display: block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; font-weight: 600; color: var(--gold-d); margin-bottom: 2px; }
.ticket-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.ticket-card h3 { font-size: 1.4rem; margin-bottom: 18px; }
.tier { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tier-name { font-weight: 600; color: var(--ink); margin: 0; }
.tier-price { font-size: 0.86rem; color: var(--muted); margin: 0; }
.stepper { display: flex; align-items: center; gap: 4px; }
.step {
width: 34px; height: 34px;
border-radius: var(--r-sm);
border: 1px solid var(--line-2);
background: var(--wall);
color: var(--ink);
font-size: 1.1rem;
cursor: pointer;
display: flex; align-items: center; justify-content: center;
transition: all 0.15s ease;
}
.step:hover { border-color: var(--gold); background: var(--gold-50); }
.stepper output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.ticket-total { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0; padding-top: 14px; }
.ticket-total span { color: var(--ink-2); }
.ticket-total strong { font-family: var(--serif); font-size: 1.8rem; color: var(--charcoal); }
.ticket-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
/* Programs */
.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.program {
background: var(--wall);
border: 1px solid var(--line);
border-radius: var(--r-md);
padding: 26px;
transition: border-color 0.2s ease, box-shadow 0.25s ease;
}
.program:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.prog-date { font-size: 0.82rem; color: var(--muted); margin: 0 0 12px; display: flex; align-items: baseline; gap: 8px; }
.prog-day { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.program h3 { font-size: 1.35rem; margin-bottom: 8px; }
.program p { color: var(--ink-2); font-size: 0.95rem; }
.prog-tag { font-size: 0.78rem; font-weight: 600; color: var(--ink); letter-spacing: 0.04em; margin: 14px 0 0; }
/* Footer */
.site-footer { background: var(--charcoal); color: var(--paper); padding: 48px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot-mark { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 4px; color: #fff; }
.foot-addr { font-size: 0.88rem; color: rgba(246, 244, 239, 0.6); margin: 0; }
.site-footer .btn-ghost { color: var(--paper); border-color: rgba(246, 244, 239, 0.3); }
.site-footer .btn-ghost:hover { background: rgba(246, 244, 239, 0.08); border-color: var(--paper); }
/* Toast */
.toast {
position: fixed;
left: 50%;
bottom: 28px;
transform: translate(-50%, 120%);
background: var(--charcoal);
color: var(--paper);
padding: 13px 22px;
border-radius: 999px;
font-size: 0.9rem;
box-shadow: var(--shadow-lg);
z-index: 100;
transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
max-width: calc(100vw - 40px);
}
.toast.show { transform: translate(-50%, 0); }
/* ---------- Responsive ---------- */
@media (max-width: 860px) {
.ticket-grid { grid-template-columns: 1fr; gap: 32px; }
.theme-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
.wrap { padding: 0 18px; }
.section { padding: 56px 0; }
.hero { min-height: 78vh; }
.hero-overlay { padding-bottom: 44px; }
.hero-content { padding: 0 18px; }
.mini-nav { display: none; }
.mini-inner { padding: 0 18px; gap: 12px; }
.mini-title { display: none; }
.countdown { top: 16px; right: 18px; font-size: 0.72rem; padding: 6px 10px; }
.theme { padding: 24px; }
.works-grid { grid-template-columns: 1fr; }
.works-head { flex-direction: column; align-items: stretch; }
.lede { font-size: 1.3rem; }
.ticket-card { padding: 22px; }
}(function () {
"use strict";
/* ---------- Toast helper ---------- */
var toastEl = document.getElementById("toast");
var toastTimer;
function toast(msg) {
if (!toastEl) return;
toastEl.textContent = msg;
toastEl.classList.add("show");
clearTimeout(toastTimer);
toastTimer = setTimeout(function () {
toastEl.classList.remove("show");
}, 2600);
}
/* ---------- Sticky mini-header reveal ---------- */
var miniHeader = document.getElementById("miniHeader");
var hero = document.getElementById("top");
if (miniHeader && "IntersectionObserver" in window) {
var heroObserver = new IntersectionObserver(
function (entries) {
var e = entries[0];
var show = !e.isIntersecting;
miniHeader.classList.toggle("show", show);
miniHeader.setAttribute("aria-hidden", show ? "false" : "true");
},
{ rootMargin: "-120px 0px 0px 0px" }
);
heroObserver.observe(hero);
}
/* ---------- Scroll-spy anchor nav ---------- */
var navLinks = Array.prototype.slice.call(
document.querySelectorAll("#anchorNav a")
);
var sections = navLinks
.map(function (a) {
return document.querySelector(a.getAttribute("href"));
})
.filter(Boolean);
if (sections.length && "IntersectionObserver" in window) {
var spy = new IntersectionObserver(
function (entries) {
entries.forEach(function (entry) {
if (entry.isIntersecting) {
var id = entry.target.id;
navLinks.forEach(function (a) {
a.classList.toggle(
"active",
a.getAttribute("href") === "#" + id
);
});
}
});
},
{ rootMargin: "-45% 0px -50% 0px", threshold: 0 }
);
sections.forEach(function (s) {
spy.observe(s);
});
}
/* ---------- Works filter ---------- */
var chips = Array.prototype.slice.call(document.querySelectorAll(".chip"));
var works = Array.prototype.slice.call(document.querySelectorAll(".work"));
var emptyMsg = document.getElementById("worksEmpty");
chips.forEach(function (chip) {
chip.addEventListener("click", function () {
var filter = chip.getAttribute("data-filter");
chips.forEach(function (c) {
var on = c === chip;
c.classList.toggle("active", on);
c.setAttribute("aria-pressed", on ? "true" : "false");
});
var visible = 0;
works.forEach(function (work) {
var match = filter === "all" || work.getAttribute("data-chapter") === filter;
work.classList.toggle("hide", !match);
if (match) visible++;
});
if (emptyMsg) emptyMsg.hidden = visible !== 0;
});
});
/* ---------- Ticket stepper + total ---------- */
var PRICES = { adult: 16, conc: 10, member: 0 };
var counts = { adult: 0, conc: 0, member: 0 };
var totalEl = document.getElementById("ticketTotal");
function fmt(n) {
return "£" + n.toFixed(2);
}
function renderTotal() {
var sum = 0;
Object.keys(counts).forEach(function (k) {
sum += counts[k] * PRICES[k];
});
if (totalEl) totalEl.textContent = fmt(sum);
}
document.querySelectorAll(".stepper").forEach(function (stepper) {
var tier = stepper.getAttribute("data-tier");
var output = stepper.querySelector("output");
stepper.querySelectorAll(".step").forEach(function (btn) {
btn.addEventListener("click", function () {
var act = btn.getAttribute("data-act");
if (act === "inc") counts[tier] = Math.min(20, counts[tier] + 1);
else counts[tier] = Math.max(0, counts[tier] - 1);
if (output) output.textContent = String(counts[tier]);
renderTotal();
});
});
});
var ticketForm = document.getElementById("ticketForm");
if (ticketForm) {
ticketForm.addEventListener("submit", function (e) {
e.preventDefault();
var qty = counts.adult + counts.conc + counts.member;
if (qty === 0) {
toast("Select at least one ticket to continue.");
return;
}
var sum = counts.adult * PRICES.adult + counts.conc * PRICES.conc;
toast(
qty + " ticket" + (qty === 1 ? "" : "s") + " held · " + fmt(sum) + " (demo)"
);
});
}
/* ---------- Hero countdown to closing ---------- */
var countdownEl = document.getElementById("countdown");
var closing = new Date("2026-09-28T18:00:00");
function renderCountdown() {
if (!countdownEl) return;
var now = new Date();
var diff = closing - now;
if (diff <= 0) {
countdownEl.textContent = "Exhibition closed";
return;
}
var days = Math.floor(diff / 86400000);
countdownEl.textContent = days + " days left on view";
}
renderCountdown();
setInterval(renderCountdown, 3600000);
/* ---------- Status badge note ---------- */
var statusBadge = document.getElementById("statusBadge");
if (statusBadge) {
statusBadge.addEventListener("click", function () {
toast("Open Tue–Sun, 10:00–18:00 · Thu until 21:00");
});
statusBadge.style.cursor = "pointer";
}
renderTotal();
})();<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Tides of Memory — Verrane Museum of Modern Art</title>
<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=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- Sticky mini-header (revealed on scroll) -->
<header class="mini-header" id="miniHeader" aria-hidden="true">
<div class="mini-inner">
<span class="mini-mark">VMMA</span>
<span class="mini-title">Tides of Memory</span>
<nav class="mini-nav" aria-label="Exhibition sections">
<a href="#intro">Statement</a>
<a href="#themes">Themes</a>
<a href="#works">Works</a>
<a href="#programs">Programs</a>
</nav>
<a href="#tickets" class="btn btn-gold mini-cta">Tickets</a>
</div>
</header>
<!-- Hero -->
<section class="hero" id="top">
<div class="hero-art" aria-hidden="true">
<svg viewBox="0 0 800 600" preserveAspectRatio="xMidYMid slice" role="presentation">
<defs>
<linearGradient id="g1" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#2a3744" />
<stop offset="0.5" stop-color="#586a72" />
<stop offset="1" stop-color="#a98140" />
</linearGradient>
<radialGradient id="g2" cx="0.7" cy="0.3" r="0.8">
<stop offset="0" stop-color="#f3ecdd" stop-opacity="0.55" />
<stop offset="1" stop-color="#f3ecdd" stop-opacity="0" />
</radialGradient>
</defs>
<rect width="800" height="600" fill="url(#g1)" />
<circle cx="560" cy="180" r="240" fill="url(#g2)" />
<path d="M0 440 C 200 380 320 500 520 430 S 760 360 800 410 L 800 600 L 0 600 Z" fill="#1c1b19" opacity="0.32" />
<path d="M0 500 C 220 450 360 560 560 500 S 780 440 800 470 L 800 600 L 0 600 Z" fill="#1c1b19" opacity="0.5" />
</svg>
</div>
<div class="hero-overlay">
<div class="hero-content">
<p class="eyebrow">Verrane Museum of Modern Art · Gallery 4</p>
<h1 class="hero-title">Tides of Memory</h1>
<p class="hero-sub">Coastlines, erosion, and the archives we keep against forgetting — fourteen artists chart the shoreline of the remembered self.</p>
<div class="hero-meta">
<span class="badge badge-onview" id="statusBadge">
<span class="dot" aria-hidden="true"></span> On view
</span>
<span class="hero-dates">14 March – 28 September 2026</span>
<span class="hero-loc">Free with admission · Floor 2</span>
</div>
<div class="hero-cta">
<a href="#tickets" class="btn btn-gold">Book tickets</a>
<a href="#intro" class="btn btn-ghost">Read the statement</a>
</div>
</div>
</div>
<div class="countdown" id="countdown" aria-live="polite"></div>
</section>
<!-- Anchor nav -->
<nav class="anchor-nav" id="anchorNav" aria-label="Page sections">
<ul>
<li><a href="#intro" class="active">Curatorial statement</a></li>
<li><a href="#themes">Themes</a></li>
<li><a href="#works">Featured works</a></li>
<li><a href="#tickets">Visit</a></li>
<li><a href="#programs">Programs</a></li>
</ul>
</nav>
<main>
<!-- Curatorial statement -->
<section class="section section-intro" id="intro">
<div class="wrap narrow">
<p class="section-kicker">Curatorial statement</p>
<h2 class="section-title">What the shoreline remembers</h2>
<p class="lede">A coastline is the slowest archive we have. <em>Tides of Memory</em> gathers fourteen artists working across painting, salvaged film, ceramic, and sound to ask how memory erodes — and what stubbornly remains after the water has done its work.</p>
<p>Organised in four thematic chapters, the exhibition moves from the personal to the geological: family photographs left to fade, lighthouses decommissioned and reclaimed, sediment cores read like diaries. The works resist nostalgia. Instead they treat forgetting as a material — something to be sculpted, charted, and, occasionally, refused.</p>
<p class="credit">Curated by <strong>Dr. Aniela Marsh</strong>, Senior Curator of Contemporary Practice, with Léo Fontaine, Assistant Curator. Supported by the Halden Foundation.</p>
</div>
</section>
<!-- Themes -->
<section class="section section-themes" id="themes">
<div class="wrap">
<p class="section-kicker">Four chapters</p>
<h2 class="section-title">Themes in the exhibition</h2>
<ol class="theme-list">
<li class="theme">
<span class="theme-num">01</span>
<div>
<h3>The Faded Print</h3>
<p>Photographs, slides, and home film bleached by sun and salt — images caught in the act of disappearing.</p>
</div>
</li>
<li class="theme">
<span class="theme-num">02</span>
<div>
<h3>Decommissioned</h3>
<p>Lighthouses, sea walls, and harbour machinery, retired and reanimated as monuments to obsolete care.</p>
</div>
</li>
<li class="theme">
<span class="theme-num">03</span>
<div>
<h3>Sediment & Score</h3>
<p>Core samples and field recordings read as notation — the seabed as a partial, patient diary.</p>
</div>
</li>
<li class="theme">
<span class="theme-num">04</span>
<div>
<h3>Against Forgetting</h3>
<p>Works that refuse erasure — restitched, replanted, re-sung — insisting the tide can be answered.</p>
</div>
</li>
</ol>
</div>
</section>
<!-- Featured works -->
<section class="section section-works" id="works">
<div class="wrap">
<p class="section-kicker">Selected works</p>
<div class="works-head">
<h2 class="section-title">Featured in the galleries</h2>
<div class="filter" role="group" aria-label="Filter works by chapter">
<button class="chip active" data-filter="all" aria-pressed="true">All</button>
<button class="chip" data-filter="faded" aria-pressed="false">The Faded Print</button>
<button class="chip" data-filter="decom" aria-pressed="false">Decommissioned</button>
<button class="chip" data-filter="sediment" aria-pressed="false">Sediment & Score</button>
<button class="chip" data-filter="against" aria-pressed="false">Against Forgetting</button>
</div>
</div>
<div class="works-grid" id="worksGrid">
<article class="work" data-chapter="faded" tabindex="0">
<div class="work-mat">
<div class="work-img" style="--a:#8a9aa6;--b:#d9cfbb"></div>
</div>
<div class="work-body">
<h3 class="work-title">Six Summers, Overexposed</h3>
<p class="work-artist">Mira Halvorsen <span>b. 1981, Bergen</span></p>
<p class="work-medium">Bleached chromogenic prints, beeswax · 2024</p>
<p class="work-cat">Cat. VMMA.2026.014</p>
</div>
</article>
<article class="work" data-chapter="decom" tabindex="0">
<div class="work-mat">
<div class="work-img" style="--a:#2f4a52;--b:#a98140"></div>
</div>
<div class="work-body">
<h3 class="work-title">Keeper, Disarmed</h3>
<p class="work-artist">Tomás Rehn <span>b. 1969, Valparaíso</span></p>
<p class="work-medium">Reclaimed lighthouse lens, steel, LED · 2025</p>
<p class="work-cat">Cat. VMMA.2026.021</p>
</div>
</article>
<article class="work" data-chapter="sediment" tabindex="0">
<div class="work-mat">
<div class="work-img" style="--a:#6b5b46;--b:#cdbfa3"></div>
</div>
<div class="work-body">
<h3 class="work-title">Core Sample No. 7 (a diary)</h3>
<p class="work-artist">Yumi Sato <span>b. 1990, Kanazawa</span></p>
<p class="work-medium">Resin-cast sediment, sound (12 min loop) · 2025</p>
<p class="work-cat">Cat. VMMA.2026.030</p>
</div>
</article>
<article class="work" data-chapter="against" tabindex="0">
<div class="work-mat">
<div class="work-img" style="--a:#3f6b50;--b:#e2d6bd"></div>
</div>
<div class="work-body">
<h3 class="work-title">Restitched Shoreline</h3>
<p class="work-artist">Adaeze Okoro <span>b. 1985, Lagos</span></p>
<p class="work-medium">Salvaged fishing net, dyed linen, thread · 2026</p>
<p class="work-cat">Cat. VMMA.2026.037</p>
</div>
</article>
<article class="work" data-chapter="faded" tabindex="0">
<div class="work-mat">
<div class="work-img" style="--a:#9c8aa0;--b:#efe6d4"></div>
</div>
<div class="work-body">
<h3 class="work-title">Slide Carousel for a House That Sank</h3>
<p class="work-artist">Pieter Vos <span>b. 1977, Rotterdam</span></p>
<p class="work-medium">35mm slides, projector, dust · 2023</p>
<p class="work-cat">Cat. VMMA.2026.009</p>
</div>
</article>
<article class="work" data-chapter="decom" tabindex="0">
<div class="work-mat">
<div class="work-img" style="--a:#41525a;--b:#876631"></div>
</div>
<div class="work-body">
<h3 class="work-title">Sea Wall (Maintenance Ended 1998)</h3>
<p class="work-artist">Greta Lindqvist <span>b. 1972, Gothenburg</span></p>
<p class="work-medium">Cast concrete, barnacle, brass plate · 2024</p>
<p class="work-cat">Cat. VMMA.2026.018</p>
</div>
</article>
<article class="work" data-chapter="sediment" tabindex="0">
<div class="work-mat">
<div class="work-img" style="--a:#5c6b53;--b:#cabf9c"></div>
</div>
<div class="work-body">
<h3 class="work-title">Notation for an Eroding Cliff</h3>
<p class="work-artist">Hassan El-Amin <span>b. 1988, Alexandria</span></p>
<p class="work-medium">Graphite on core paper, field audio · 2025</p>
<p class="work-cat">Cat. VMMA.2026.033</p>
</div>
</article>
<article class="work" data-chapter="against" tabindex="0">
<div class="work-mat">
<div class="work-img" style="--a:#346657;--b:#e7dcc4"></div>
</div>
<div class="work-body">
<h3 class="work-title">We Replanted the Marsh, Twice</h3>
<p class="work-artist">Camille Aubert <span>b. 1983, Nantes</span></p>
<p class="work-medium">Living spartina, glass vitrine, tide log · 2026</p>
<p class="work-cat">Cat. VMMA.2026.041</p>
</div>
</article>
</div>
<p class="works-empty" id="worksEmpty" hidden>No works in this chapter yet.</p>
</div>
</section>
<!-- Tickets / Visit -->
<section class="section section-tickets" id="tickets">
<div class="wrap ticket-grid">
<div class="ticket-copy">
<p class="section-kicker">Plan your visit</p>
<h2 class="section-title">Book a timed entry</h2>
<p>Timed tickets keep the galleries calm and the wall space generous. Members enter free; concessions available for students, seniors, and under-18s.</p>
<ul class="visit-facts">
<li><span>Hours</span> Tue–Sun, 10:00 – 18:00 · Thu until 21:00</li>
<li><span>Location</span> Verrane MMA, Floor 2, Gallery 4</li>
<li><span>Access</span> Step-free · BSL tours monthly · Quiet hour Sun 10:00</li>
</ul>
</div>
<form class="ticket-card" id="ticketForm" novalidate>
<h3>Select tickets</h3>
<div class="tier">
<div>
<p class="tier-name">Standard adult</p>
<p class="tier-price">£16.00</p>
</div>
<div class="stepper" data-tier="adult">
<button type="button" class="step" data-act="dec" aria-label="Fewer adult tickets">−</button>
<output aria-live="polite">0</output>
<button type="button" class="step" data-act="inc" aria-label="More adult tickets">+</button>
</div>
</div>
<div class="tier">
<div>
<p class="tier-name">Concession</p>
<p class="tier-price">£10.00</p>
</div>
<div class="stepper" data-tier="conc">
<button type="button" class="step" data-act="dec" aria-label="Fewer concession tickets">−</button>
<output aria-live="polite">0</output>
<button type="button" class="step" data-act="inc" aria-label="More concession tickets">+</button>
</div>
</div>
<div class="tier">
<div>
<p class="tier-name">Member</p>
<p class="tier-price">Free</p>
</div>
<div class="stepper" data-tier="member">
<button type="button" class="step" data-act="dec" aria-label="Fewer member tickets">−</button>
<output aria-live="polite">0</output>
<button type="button" class="step" data-act="inc" aria-label="More member tickets">+</button>
</div>
</div>
<div class="ticket-total">
<span>Total</span>
<strong id="ticketTotal">£0.00</strong>
</div>
<button type="submit" class="btn btn-gold btn-block">Continue to checkout</button>
<p class="ticket-note">No payment is taken — this is a demo.</p>
</form>
</div>
</section>
<!-- Related programs -->
<section class="section section-programs" id="programs">
<div class="wrap">
<p class="section-kicker">Around the exhibition</p>
<h2 class="section-title">Related programs</h2>
<div class="program-grid">
<article class="program">
<p class="prog-date"><span class="prog-day">26</span> Mar 2026 · 18:30</p>
<h3>Curator's Walkthrough</h3>
<p>Dr. Aniela Marsh leads an evening tour through all four chapters. 45 minutes, meet at Gallery 4.</p>
<p class="prog-tag">Talk · Free</p>
</article>
<article class="program">
<p class="prog-date"><span class="prog-day">11</span> Apr 2026 · 14:00</p>
<h3>Workshop: Cyanotype Tides</h3>
<p>Make a sun-printed seascape using salvaged negatives. All materials provided. Ages 12+.</p>
<p class="prog-tag">Workshop · £8</p>
</article>
<article class="program">
<p class="prog-date"><span class="prog-day">02</span> May 2026 · 19:00</p>
<h3>Listening Session: Sediment & Score</h3>
<p>A live diffusion of Yumi Sato's field recordings in the round, with the artist in conversation.</p>
<p class="prog-tag">Performance · £12</p>
</article>
<article class="program">
<p class="prog-date"><span class="prog-day">19</span> Jun 2026 · 10:00</p>
<h3>Family Morning: Shore Stories</h3>
<p>Storytelling and making for under-7s and their grown-ups. Drop in, no booking needed.</p>
<p class="prog-tag">Family · Free</p>
</article>
</div>
</div>
</section>
</main>
<footer class="site-footer">
<div class="wrap footer-inner">
<div>
<p class="foot-mark">Verrane Museum of Modern Art</p>
<p class="foot-addr">7 Harbour Terrace, Verrane · Floor 2, Gallery 4</p>
</div>
<a href="#top" class="btn btn-ghost btn-sm">Back to top ↑</a>
</div>
</footer>
<div class="toast" id="toast" role="status" aria-live="polite"></div>
<script src="script.js"></script>
</body>
</html>Exhibition Page
A complete single-exhibition landing page for a fictional cultural institution, the Verrane Museum of Modern Art. The full-bleed hero pairs a layered CSS/SVG gradient “artwork” with the exhibition title, curatorial subtitle, run dates, and a pulsing “On view” status badge, plus a live countdown showing the days remaining before the show closes. Beneath it sit a curatorial statement, four numbered thematic chapters, a featured-works grid, a ticketing panel, and related programs — composed with generous wall space, a serif display face, and a calm gallery palette.
Interactions are pure vanilla JavaScript. A sticky mini-header slides into view once the hero scrolls away, and an IntersectionObserver scroll-spy keeps the anchor navigation in sync with the section in view. The featured-works grid filters by chapter through pressable chips with an empty state, each work framed in a thin mat to read as hung art. The visit panel includes a per-tier ticket stepper that keeps a running total, and a toast helper surfaces confirmations and gentle validation.
Everything is self-contained: artworks, artists, mediums, dates, and catalog numbers are fictional but plausible, and all imagery is rendered with CSS gradients and inline SVG — no external assets. The layout is responsive down to roughly 360px, keyboard-usable, and uses accessible focus styles and ARIA where it counts.
Illustrative UI only — demo data; not a real museum system.