kitbash Sign in Connect agent

Threaded Night Board

Experimental · 7 parts · portfolio · photo gallery · draggable

Dimmed photographs float on a grainy near-black board, tied to each other by hairline threads, and the whole board pans under a drag. Small spaced capitals, one quiet grotesk and translucent hairline panels suit photo archives, image libraries and portfolios that want to be wandered rather than scrolled.

Get pack Remix

Whole page

Parts

Caps top bar

A thin top bar: a hollow ring mark and the archive name in spaced capitals on the left, faded caps links on the right; About drops a translucent panel by height and opacity.

Code React For Figma
<header class="mark">
  <div class="mark__bar">
    <a class="mark__brand" href="#">
      <span class="mark__ring" aria-hidden="true"></span>
      <span class="mark__name">Halden</span>
      <span class="mark__sub">Night plate archive</span>
    </a>
    <nav class="mark__nav" aria-label="Main">
      <a class="mark__link mark__link--wide" href="#">Plates</a>
      <a class="mark__link mark__link--wide" href="#">Index</a>
      <button class="mark__link mark__toggle" type="button" aria-expanded="false" aria-controls="mark-panel">About</button>
    </nav>
  </div>
  <div class="mark__panel" id="mark-panel">
    <div class="mark__inner">
      <p class="mark__label">About the archive</p>
      <p class="mark__text">Halden keeps pictures made at dusk, at night and in fog: prints, paintings and plates from before the electric street lamp. Every piece is shown dim first, the way it was meant to be seen.</p>
      <ul class="mark__list">
        <li><a class="mark__item" href="#">Plates</a></li>
        <li><a class="mark__item" href="#">Index</a></li>
        <li><a class="mark__item" href="#">Visit</a></li>
        <li><a class="mark__item" href="#">Letters</a></li>
      </ul>
    </div>
  </div>
</header>

<style>
  .mark {
    position: relative;
    z-index: 10;
    background: var(--night);
    color: var(--ink);
  }
  .mark__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
    padding: var(--space-xs) var(--edge);
    min-height: 60px;
  }
  .mark__brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    min-height: 44px;
    color: inherit;
    text-decoration: none;
    font-size: 11px;
    line-height: 1;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
  }
  /* The mark: a hollow ring with a short horizon line through it. */
  .mark__ring {
    position: relative;
    width: 11px;
    height: 11px;
    border: var(--rule) solid var(--ink);
    border-radius: var(--pill);
  }
  .mark__ring::after {
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    top: 50%;
    height: var(--rule);
    background: var(--ink);
  }
  .mark__name {
    font-weight: 500;
  }
  .mark__sub {
    color: var(--ink-soft);
  }
  .mark__sub::before {
    content: "/";
    margin-right: var(--space-s);
    color: var(--ink-faint);
  }

  .mark__nav {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 28px);
  }
  .mark__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--space-xs);
    border: 0;
    background: none;
    color: var(--ink-soft);
    font: inherit;
    font-size: 11px;
    line-height: 1;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--quick) var(--ease);
  }
  .mark__link:hover,
  .mark__link:focus-visible,
  .mark__toggle[aria-expanded="true"] {
    color: var(--ink);
  }
  .mark__link:focus-visible,
  .mark__brand:focus-visible,
  .mark__item:focus-visible {
    outline: var(--rule) solid var(--line-strong);
    outline-offset: 2px;
  }

  .mark__panel {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height var(--mid) var(--ease), opacity var(--mid) var(--ease);
  }
  .mark.is-open .mark__panel {
    opacity: 1;
  }
  .mark__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
    gap: var(--space-l);
    margin: 0 var(--edge) var(--space-m);
    padding: var(--space-l);
    border: var(--rule) solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-glass);
    backdrop-filter: blur(14px);
  }
  .mark__label {
    margin: 0;
    color: var(--ink-faint);
    font-size: var(--text-caps);
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
  }
  .mark__text {
    margin: 0;
    max-width: 52ch;
    color: var(--ink-mute);
    font-size: var(--text-m);
    line-height: 1.85;
  }
  .mark__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .mark__item {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--ink-soft);
    font-size: 11px;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--quick) var(--ease);
  }
  .mark__item:hover {
    color: var(--ink);
  }

  @media (max-width: 640px) {
    .mark__sub,
    .mark__link--wide {
      display: none;
    }
    .mark__inner {
      grid-template-columns: 1fr;
      gap: var(--space-m);
      padding: var(--space-m);
    }
  }
</style>

<script>
(() => {
  for (const root of document.querySelectorAll('.mark')) {
    const toggle = root.querySelector('.mark__toggle');
    const panel = root.querySelector('.mark__panel');
    const setOpen = (open) => {
      root.classList.toggle('is-open', open);
      toggle.setAttribute('aria-expanded', String(open));
      panel.style.height = open ? `${panel.scrollHeight}px` : '0px';
    };
    toggle.addEventListener('click', () => setOpen(!root.classList.contains('is-open')));
    root.addEventListener('keydown', (event) => {
      if (event.key === 'Escape' && root.classList.contains('is-open')) { setOpen(false); toggle.focus(); }
    });
    window.addEventListener('resize', () => { if (root.classList.contains('is-open')) panel.style.height = 'auto'; });
  }
})();
</script>

Threaded drag board

The signature: a grainy dark board of dimmed photographs at free positions, joined by hairline threads, panned by dragging or arrow keys with inertia, strips sliding off each picture on load and a small headline in the lower-left corner.

Code React For Figma
<section class="board" aria-labelledby="board-title">
  <div class="board__stage" tabindex="0" aria-label="Plate board. Drag, or use the arrow keys, to wander.">
    <div class="board__layer">
      <svg class="board__threads" viewBox="0 0 2400 1500" aria-hidden="true"></svg>

      <a class="board__node" href="#plate" data-node="1" data-to="2 3 5" style="--x: 470px; --y: 330px; --w: 400px; --ar: 1200 / 945;">
        <span class="board__frame">
          <img class="board__photo" src="assets/sea-calm.jpg" alt="Sailing boats and a steamer on a calm turquoise sea" width="1200" height="945" loading="eager">
          <span class="board__strips" aria-hidden="true"></span>
          <span class="board__shade" aria-hidden="true"></span>
        </span>
        <span class="board__cap"><span class="board__name">Still Water</span><span class="board__meta">Oil on canvas · 5:4</span></span>
      </a>

      <a class="board__node" href="#plate" data-node="2" data-to="4 6" style="--x: 1180px; --y: 170px; --w: 360px; --ar: 800 / 634;">
        <span class="board__frame">
          <img class="board__photo" src="assets/brig.jpg" alt="A single brig on open water under heavy clouds" width="800" height="634" loading="eager">
          <span class="board__strips" aria-hidden="true"></span>
          <span class="board__shade" aria-hidden="true"></span>
        </span>
        <span class="board__cap"><span class="board__name">Lone Brig</span><span class="board__meta">Albumen print · 5:4</span></span>
      </a>

      <a class="board__node" href="#plate" data-node="3" data-to="4 7" style="--x: 950px; --y: 650px; --w: 250px; --ar: 4 / 5;">
        <span class="board__frame">
          <img class="board__photo" src="assets/solar-ocean.jpg" alt="Sun breaking through clouds over a dark sea" width="843" height="661" loading="eager">
          <span class="board__strips" aria-hidden="true"></span>
          <span class="board__shade" aria-hidden="true"></span>
        </span>
        <span class="board__cap"><span class="board__name">Salt Hour</span><span class="board__meta">Albumen print · 4:5</span></span>
      </a>

      <a class="board__node" href="#plate" data-node="4" data-to="9 8" style="--x: 1640px; --y: 560px; --w: 330px; --ar: 800 / 618;">
        <span class="board__frame">
          <img class="board__photo" src="assets/tree.jpg" alt="A great old tree in a forest clearing" width="800" height="618" loading="eager">
          <span class="board__strips" aria-hidden="true"></span>
          <span class="board__shade" aria-hidden="true"></span>
        </span>
        <span class="board__cap"><span class="board__name">Old Oak</span><span class="board__meta">Salt print · 4:3</span></span>
      </a>

      <a class="board__node" href="#plate" data-node="5" data-to="7" style="--x: 120px; --y: 800px; --w: 300px; --ar: 800 / 518;">
        <span class="board__frame">
          <img class="board__photo" src="assets/valmondois.jpg" alt="Moonlit field with haystacks and cattle, an etching" width="800" height="518" loading="eager">
          <span class="board__strips" aria-hidden="true"></span>
          <span class="board__shade" aria-hidden="true"></span>
        </span>
        <span class="board__cap"><span class="board__name">Field by Moon</span><span class="board__meta">Etching · 3:2</span></span>
      </a>

      <a class="board__node" href="#plate" data-node="6" data-to="9" style="--x: 1960px; --y: 120px; --w: 250px; --ar: 667 / 800;">
        <span class="board__frame">
          <img class="board__photo" src="assets/moonrise.jpg" alt="A red moon rising behind trees at dusk" width="667" height="800" loading="eager">
          <span class="board__strips" aria-hidden="true"></span>
          <span class="board__shade" aria-hidden="true"></span>
        </span>
        <span class="board__cap"><span class="board__name">Red Moonrise</span><span class="board__meta">Oil on canvas · 5:6</span></span>
      </a>

      <a class="board__node" href="#plate" data-node="7" data-to="8" style="--x: 640px; --y: 1090px; --w: 420px; --ar: 2 / 1;">
        <span class="board__frame">
          <img class="board__photo" src="assets/harbor.jpg" alt="A hazy harbour with sailing boats and a pale sun" width="800" height="400" loading="eager">
          <span class="board__strips" aria-hidden="true"></span>
          <span class="board__shade" aria-hidden="true"></span>
        </span>
        <span class="board__cap"><span class="board__name">Haze Harbour</span><span class="board__meta">Oil on canvas · 2:1</span></span>
      </a>

      <a class="board__node" href="#plate" data-node="8" style="--x: 1400px; --y: 1050px; --w: 360px; --ar: 800 / 529;">
        <span class="board__frame">
          <img class="board__photo" src="assets/blue-gold.jpg" alt="A blue night over water with one orange light" width="800" height="529" loading="eager">
          <span class="board__strips" aria-hidden="true"></span>
          <span class="board__shade" aria-hidden="true"></span>
        </span>
        <span class="board__cap"><span class="board__name">Blue Hour Quay</span><span class="board__meta">Oil on canvas · 3:2</span></span>
      </a>

      <a class="board__node" href="#plate" data-node="9" style="--x: 2010px; --y: 860px; --w: 290px; --ar: 800 / 670;">
        <span class="board__frame">
          <img class="board__photo" src="assets/icebound.jpg" alt="A frozen stream between snowy banks" width="800" height="670" loading="eager">
          <span class="board__strips" aria-hidden="true"></span>
          <span class="board__shade" aria-hidden="true"></span>
        </span>
        <span class="board__cap"><span class="board__name">Frozen Brook</span><span class="board__meta">Oil on canvas · 6:5</span></span>
      </a>
    </div>
  </div>

  <div class="board__vignette" aria-hidden="true"></div>

  <div class="board__intro">
    <p class="board__eyebrow">Collected by Halden</p>
    <h1 class="board__title" id="board-title">Ninety plates<br>made after dark.</h1>
    <p class="board__lede">Prints, paintings and early photographs gathered over twelve winters. Drag the board to wander, and open any plate for its notes.</p>
  </div>

  <p class="board__readout" aria-hidden="true"><span class="board__coord">X 0520</span><span class="board__coord">Y 0260</span></p>
</section>

<style>
  .board {
    position: relative;
    height: clamp(560px, 56vw, 820px);
    overflow: hidden;
    background: radial-gradient(120% 90% at 70% 100%, #15161a 0%, var(--night) 55%, var(--night-deep) 100%);
    color: var(--ink);
    isolation: isolate;
  }

  /* Film grain: a fixed noise tile over the whole board, nudged in steps while the board is on screen. */
  .board::after {
    content: "";
    position: absolute;
    inset: -40px;
    z-index: 3;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.07;
    mix-blend-mode: overlay;
  }
  .board.is-live::after {
    animation: board-grain 0.9s steps(3) infinite;
  }
  @keyframes board-grain {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-17px, 9px); }
    66% { transform: translate(11px, -14px); }
    100% { transform: translate(0, 0); }
  }

  .board__stage {
    position: absolute;
    inset: 0;
    cursor: grab;
    touch-action: none;
    outline: none;
  }
  .board__stage.is-dragging {
    cursor: grabbing;
  }
  .board__stage:focus-visible {
    box-shadow: inset 0 0 0 var(--rule) var(--line-strong);
  }

  .board__layer {
    --scale: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 2400px;
    height: 1500px;
    transform-origin: 0 0;
    will-change: transform;
  }

  .board__threads {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    overflow: visible;
  }
  .board__threads line {
    stroke: var(--thread);
    stroke-width: var(--rule);
    vector-effect: non-scaling-stroke;
  }

  .board__node {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--w);
    display: block;
    color: inherit;
    text-decoration: none;
    -webkit-user-drag: none;
    transition: transform var(--slow) var(--ease);
  }
  .board__frame {
    position: relative;
    display: block;
    aspect-ratio: var(--ar);
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow-card), 0 0 0 var(--rule) var(--line);
    transition: box-shadow var(--slow) var(--ease);
  }
  .board__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: var(--photo-filter);
    pointer-events: none;
    user-select: none;
    transition: transform var(--slow) var(--ease), filter var(--slow) var(--ease);
  }
  .board__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(5, 6, 8, 0.55) 100%);
    transition: opacity var(--slow) var(--ease);
  }

  /* The strips are drawn by the script: twelve night-coloured bands that slide off the picture one after another. */
  .board__strips {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    pointer-events: none;
  }
  .board__strip {
    flex: 1 1 0;
    margin-right: -1px;
    background: var(--night);
    transform: translateY(0);
    transition: transform var(--reveal) var(--ease);
    transition-delay: calc(var(--i, 0) * 40ms + var(--node-delay, 0ms));
  }
  .board.is-shown .board__strip {
    transform: translateY(101%);
  }

  .board__cap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-s);
    padding-top: var(--space-s);
    opacity: 0.55;
    transition: opacity var(--time) var(--ease);
  }
  .board__name {
    font-family: var(--font-display);
    font-size: var(--text-s);
    font-weight: 500;
    line-height: 1.3;
  }
  .board__meta {
    color: var(--ink-faint);
    font-size: 9.5px;
    line-height: 1.3;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    white-space: nowrap;
  }

  .board__node:hover,
  .board__node:focus-visible {
    transform: translateY(-6px);
    outline: none;
  }
  .board__node:hover .board__frame,
  .board__node:focus-visible .board__frame {
    box-shadow: var(--shadow-lift);
  }
  .board__node:hover .board__photo,
  .board__node:focus-visible .board__photo {
    filter: var(--photo-filter-lift);
    transform: scale(1.07);
  }
  .board__node:hover .board__shade,
  .board__node:focus-visible .board__shade {
    opacity: 0.4;
  }
  .board__node:hover .board__cap,
  .board__node:focus-visible .board__cap {
    opacity: 1;
  }

  .board__vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      radial-gradient(130% 100% at 50% 40%, transparent 50%, rgba(5, 6, 8, 0.75) 100%),
      linear-gradient(0deg, rgba(5, 6, 8, 0.85) 0%, transparent 34%);
  }

  .board__intro {
    position: absolute;
    left: var(--edge);
    bottom: clamp(24px, 3vw, 40px);
    z-index: 4;
    max-width: min(400px, calc(100% - 2 * var(--edge)));
    pointer-events: none;
  }
  .board__eyebrow {
    margin: 0 0 var(--space-s);
    color: var(--ink-faint);
    font-size: var(--text-caps);
    line-height: 1.4;
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
  }
  .board__title {
    margin: 0 0 var(--space-s);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: var(--track-tight);
  }
  .board__lede {
    margin: 0;
    color: var(--ink-mute);
    font-size: var(--text-s);
    line-height: 1.55;
  }

  .board__readout {
    position: absolute;
    right: var(--edge);
    bottom: clamp(24px, 3vw, 40px);
    z-index: 4;
    display: flex;
    gap: var(--space-m);
    margin: 0;
    color: var(--ink-faint);
    font-size: 9.5px;
    letter-spacing: var(--track-caps);
    font-variant-numeric: tabular-nums;
    pointer-events: none;
  }

  @media (max-width: 640px) {
    .board {
      height: 600px;
    }
    .board__layer {
      --scale: 0.6;
    }
    .board__readout {
      display: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .board__strip {
      display: none;
    }
    .board.is-live::after {
      animation: none;
    }
  }
</style>

<script>
(() => {
  const STRIPS = 12;
  const svgNS = 'http://www.w3.org/2000/svg';
  const still = window.matchMedia('(prefers-reduced-motion: reduce)').matches;

  for (const root of document.querySelectorAll('.board')) {
    const stage = root.querySelector('.board__stage');
    const layer = root.querySelector('.board__layer');
    const threads = root.querySelector('.board__threads');
    const coords = root.querySelectorAll('.board__coord');
    const nodes = [...root.querySelectorAll('.board__node')];

    // Strips over each picture, staggered by node so the board fills in a wave.
    nodes.forEach((node, n) => {
      const holder = node.querySelector('.board__strips');
      node.style.setProperty('--node-delay', `${n * 90}ms`);
      for (let i = 0; i < STRIPS; i++) {
        const strip = document.createElement('span');
        strip.className = 'board__strip';
        strip.style.setProperty('--i', i);
        holder.appendChild(strip);
      }
    });

    // Threads: straight hairlines between the centres of linked cards, under the cards.
    const byId = new Map(nodes.map((node) => [node.dataset.node, node]));
    const drawThreads = () => {
      threads.replaceChildren();
      for (const node of nodes) {
        for (const id of (node.dataset.to || '').split(' ').filter(Boolean)) {
          const other = byId.get(id);
          if (!other) continue;
          const [x1, y1] = [node.offsetLeft + node.offsetWidth / 2, node.offsetTop + node.querySelector('.board__frame').offsetHeight / 2];
          const [x2, y2] = [other.offsetLeft + other.offsetWidth / 2, other.offsetTop + other.querySelector('.board__frame').offsetHeight / 2];
          const line = document.createElementNS(svgNS, 'line');
          line.setAttribute('x1', x1); line.setAttribute('y1', y1);
          line.setAttribute('x2', x2); line.setAttribute('y2', y2);
          threads.appendChild(line);
        }
      }
    };
    drawThreads();

    // Panning with limits and an inertial glide.
    let x = -520, y = -260, vx = 0, vy = 0, frame = 0;
    const scale = () => parseFloat(getComputedStyle(layer).getPropertyValue('--scale')) || 1;
    const clamp = () => {
      const s = scale();
      const minX = Math.min(0, stage.clientWidth - layer.offsetWidth * s);
      const minY = Math.min(0, stage.clientHeight - layer.offsetHeight * s);
      x = Math.max(minX, Math.min(0, x));
      y = Math.max(minY, Math.min(0, y));
    };
    const place = () => {
      clamp();
      layer.style.transform = `translate3d(${x}px, ${y}px, 0) scale(${scale()})`;
      if (coords.length === 2) {
        coords[0].textContent = `X ${String(Math.round(-x)).padStart(4, '0')}`;
        coords[1].textContent = `Y ${String(Math.round(-y)).padStart(4, '0')}`;
      }
    };
    const glide = () => {
      vx *= 0.92; vy *= 0.92;
      x += vx; y += vy;
      place();
      frame = Math.abs(vx) + Math.abs(vy) > 0.2 ? requestAnimationFrame(glide) : 0;
    };
    const startGlide = () => {
      if (still) { x += vx * 8; y += vy * 8; vx = vy = 0; place(); return; }
      if (!frame) frame = requestAnimationFrame(glide);
    };
    // Narrow boards start further left so the first cards are in view.
    if (stage.clientWidth < 640) { x = -200; y = -120; }
    place();

    let down = null, moved = false;
    stage.addEventListener('pointerdown', (event) => {
      if (event.button !== 0) return;
      cancelAnimationFrame(frame); frame = 0;
      down = { px: event.clientX, py: event.clientY, x, y, t: performance.now(), lx: event.clientX, ly: event.clientY };
      moved = false;
    });
    stage.addEventListener('pointermove', (event) => {
      if (!down) return;
      const dx = event.clientX - down.px, dy = event.clientY - down.py;
      if (!moved && Math.hypot(dx, dy) > 5) {
        moved = true;
        stage.classList.add('is-dragging');
        stage.setPointerCapture(event.pointerId);
      }
      if (!moved) return;
      vx = event.clientX - down.lx; vy = event.clientY - down.ly;
      down.lx = event.clientX; down.ly = event.clientY;
      x = down.x + dx; y = down.y + dy;
      place();
    });
    const release = () => {
      if (!down) return;
      down = null;
      stage.classList.remove('is-dragging');
      if (moved) startGlide();
    };
    stage.addEventListener('pointerup', release);
    stage.addEventListener('pointercancel', release);
    // A drag never opens a card.
    stage.addEventListener('click', (event) => {
      if (moved) { event.preventDefault(); moved = false; }
    }, true);
    stage.addEventListener('dragstart', (event) => event.preventDefault());

    stage.addEventListener('keydown', (event) => {
      const step = { ArrowLeft: [14, 0], ArrowRight: [-14, 0], ArrowUp: [0, 14], ArrowDown: [0, -14] }[event.key];
      if (!step) return;
      event.preventDefault();
      vx = step[0]; vy = step[1];
      startGlide();
    });

    window.addEventListener('resize', place);

    // Reveal at once if in view, and run the grain only while the board is on screen.
    const watch = new IntersectionObserver((entries) => {
      for (const entry of entries) {
        root.classList.toggle('is-live', entry.isIntersecting);
        if (entry.isIntersecting) requestAnimationFrame(() => root.classList.add('is-shown'));
      }
    }, { threshold: 0.1 });
    watch.observe(root);
  }
})();
</script>

Open plate

One picture opened large on the night ground beside its number, name, pill tags and a scrolling notes box in a hairline frame, with a light copy button and a round close button.

Code React For Figma
<section class="plate" aria-labelledby="plate-title">
  <div class="plate__glow" aria-hidden="true"></div>
  <figure class="plate__figure">
    <img class="plate__photo" src="assets/brig.jpg" alt="A single brig on open water under heavy clouds" width="800" height="634">
  </figure>

  <div class="plate__side">
    <a class="plate__close" href="#" aria-label="Close and go back to the board">
      <svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true"><path d="M3 3l10 10M13 3L3 13"/></svg>
    </a>
    <p class="plate__number">014</p>
    <h2 class="plate__title" id="plate-title">Lone Brig</h2>
    <ul class="plate__tags">
      <li class="plate__tag is-lead">Albumen print</li>
      <li class="plate__tag">#sea</li>
      <li class="plate__tag">#clouds</li>
      <li class="plate__tag">#long exposure</li>
    </ul>

    <p class="plate__label">Notes</p>
    <div class="plate__notes" tabindex="0">
      <p class="plate__text">Two negatives printed as one: the sky from a short exposure, the sea from a long one, joined along the horizon so neither burns out. The brig is the only fixed point, a black notch where the light comes off the water.</p>
      <p class="plate__text">Mounted on card, toned warm with gold, with a faint silvering at the edges where the print has met the air for a century and a half. Shown here dimmed, as it hangs in the reading room.</p>
      <p class="plate__text">Size of print 32 by 41 centimetres. Kept flat in a solander box, drawer nine, between two winter harbours.</p>
    </div>

    <div class="plate__actions">
      <button class="plate__copy" type="button">Copy notes</button>
      <span class="plate__status" role="status"></span>
    </div>
  </div>
</section>

<style>
  .plate {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 120px);
    align-items: center;
    padding: clamp(40px, 5vw, 72px) var(--edge);
    overflow: hidden;
    background: var(--night-deep);
    color: var(--ink);
    isolation: isolate;
  }
  /* A blurred echo of the board behind the open plate. */
  .plate__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(28% 34% at 18% 12%, rgba(60, 110, 120, 0.22), transparent 70%),
      radial-gradient(22% 28% at 38% 6%, rgba(160, 100, 40, 0.16), transparent 70%),
      radial-gradient(30% 30% at 88% 30%, rgba(255, 255, 255, 0.04), transparent 70%);
    filter: blur(20px);
  }

  .plate__figure {
    margin: 0;
    justify-self: center;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 800 / 634;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card), 0 0 0 var(--rule) var(--line);
  }
  .plate__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: var(--photo-filter-lift);
  }

  .plate__side {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .plate__close {
    position: absolute;
    top: -6px;
    right: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: var(--rule) solid var(--line);
    border-radius: var(--pill);
    color: var(--ink);
    transition: border-color var(--quick) var(--ease), background-color var(--quick) var(--ease);
  }
  .plate__close path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
  }
  .plate__close:hover,
  .plate__close:focus-visible {
    border-color: var(--line-strong);
    background: var(--wash);
    outline: none;
  }

  .plate__number {
    margin: 0 0 var(--space-m);
    color: var(--ink-soft);
    font-size: 11px;
    letter-spacing: var(--track-wide);
  }
  .plate__title {
    margin: 0 0 var(--space-m);
    padding-right: 56px;
    font-family: var(--font-display);
    font-size: var(--text-xxl);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: var(--track-tight);
  }
  .plate__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
    margin: 0 0 var(--space-l);
    padding: 0 0 var(--space-l);
    border-bottom: var(--rule) solid var(--line);
    list-style: none;
  }
  .plate__tag {
    padding: 7px 12px;
    border: var(--rule) solid var(--line);
    border-radius: var(--pill);
    color: var(--ink-soft);
    font-size: 10.5px;
    line-height: 1;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
  }
  .plate__tag.is-lead {
    border-color: var(--line-strong);
    color: var(--ink);
  }

  .plate__label {
    margin: 0 0 var(--space-m);
    color: var(--ink-faint);
    font-size: var(--text-caps);
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
  }
  .plate__notes {
    max-height: 230px;
    overflow-y: auto;
    padding: var(--space-m) 20px;
    border: var(--rule) solid var(--line);
    border-radius: var(--radius-s);
    background: var(--wash);
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
  }
  .plate__notes:focus-visible {
    outline: var(--rule) solid var(--line-strong);
  }
  .plate__text {
    margin: 0 0 var(--space-s);
    color: var(--ink);
    font-size: var(--text-m);
    line-height: 1.85;
  }
  .plate__text:last-child {
    margin-bottom: 0;
  }

  .plate__actions {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    margin-top: var(--space-l);
  }
  .plate__copy {
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--radius-s);
    background: var(--button);
    color: var(--button-ink);
    font: inherit;
    font-size: 11px;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity var(--quick) var(--ease);
  }
  .plate__copy:hover {
    opacity: 0.86;
  }
  .plate__copy:focus-visible {
    outline: var(--rule) solid var(--ink);
    outline-offset: 3px;
  }
  .plate__status {
    color: var(--ink-faint);
    font-size: 9.5px;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    opacity: 0;
    transition: opacity var(--time) var(--ease);
  }
  .plate.is-copied .plate__status {
    opacity: 1;
  }

  @media (max-width: 800px) {
    .plate {
      grid-template-columns: 1fr;
    }
    .plate__notes {
      max-height: 180px;
    }
  }
</style>

<script>
(() => {
  for (const root of document.querySelectorAll('.plate')) {
    const button = root.querySelector('.plate__copy');
    const status = root.querySelector('.plate__status');
    const notes = root.querySelector('.plate__notes');
    let timer = 0;
    button.addEventListener('click', async () => {
      const text = [...notes.querySelectorAll('.plate__text')].map((p) => p.textContent.trim()).join('\n\n');
      try {
        await navigator.clipboard.writeText(text);
        status.textContent = 'Copied';
      } catch {
        status.textContent = 'Select the notes to copy';
      }
      root.classList.add('is-copied');
      clearTimeout(timer);
      timer = setTimeout(() => root.classList.remove('is-copied'), 1800);
    });
  }
})();
</script>

Sound notice

A small translucent notice card asking to turn on sound, with hairline yes and no buttons, above a round toggle whose four thin bars bounce while sound is on.

Code React For Figma
<section class="notice" aria-label="Sound">
  <div class="notice__card" role="dialog" aria-labelledby="notice-ask">
    <button class="notice__dismiss" type="button" aria-label="Dismiss">
      <svg viewBox="0 0 12 12" width="10" height="10" aria-hidden="true"><path d="M2 2l8 8M10 2l-8 8"/></svg>
    </button>
    <p class="notice__line">The reading room hums with a quiet tide.</p>
    <p class="notice__ask" id="notice-ask">Turn on room sound?</p>
    <div class="notice__choices">
      <button class="notice__choice is-primary" type="button" data-sound="on">
        <svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true"><path d="M2 6h3l4-3v10l-4-3H2zM11.5 5.5a3.5 3.5 0 0 1 0 5M13 3.5a6 6 0 0 1 0 9"/></svg>
        Yes
      </button>
      <button class="notice__choice" type="button" data-sound="off">
        <svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true"><path d="M2 6h3l4-3v10l-4-3H2zM11 6l4 4M15 6l-4 4"/></svg>
        No
      </button>
    </div>
  </div>
  <p class="notice__state" aria-live="polite">Room sound <span class="notice__value">Off</span></p>
  <button class="notice__toggle" type="button" aria-pressed="false" aria-label="Room sound">
    <span class="notice__bar"></span><span class="notice__bar"></span><span class="notice__bar"></span><span class="notice__bar"></span>
  </button>
</section>

<style>
  .notice {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-m);
    padding: var(--space-xl) var(--edge);
    min-height: 320px;
    justify-content: flex-end;
    background: radial-gradient(80% 120% at 100% 100%, #15161a, var(--night) 70%);
    color: var(--ink);
  }

  .notice__card {
    position: relative;
    width: min(100%, 250px);
    padding: var(--space-m) var(--space-m) var(--space-m);
    border: var(--rule) solid var(--line);
    border-radius: var(--radius);
    background: var(--panel-glass);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    transform-origin: 85% 100%;
    transition: opacity var(--time) var(--ease), transform var(--time) var(--ease);
  }
  /* The little tail pointing down at the toggle. */
  .notice__card::after {
    content: "";
    position: absolute;
    right: 34px;
    bottom: -6px;
    width: 10px;
    height: 10px;
    border-right: var(--rule) solid var(--line);
    border-bottom: var(--rule) solid var(--line);
    background: var(--panel);
    transform: rotate(45deg);
  }
  .notice.is-closed .notice__card {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    pointer-events: none;
  }

  .notice__dismiss {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    color: var(--ink-faint);
    cursor: pointer;
    transition: color var(--quick) var(--ease);
  }
  .notice__dismiss:hover,
  .notice__dismiss:focus-visible {
    color: var(--ink);
    outline: none;
  }
  .notice__dismiss path,
  .notice__choice path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
  }

  .notice__line {
    margin: 0 28px var(--space-xs) 0;
    color: var(--ink-mute);
    font-size: 11.5px;
    line-height: 1.55;
  }
  .notice__ask {
    margin: 0 0 var(--space-m);
    font-size: var(--text-m);
    font-weight: 500;
  }
  .notice__choices {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-xs);
  }
  .notice__choice {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 44px;
    padding: 0 14px;
    border: var(--rule) solid transparent;
    border-radius: var(--radius-s);
    background: none;
    color: var(--ink-faint);
    font: inherit;
    font-size: 10.5px;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    cursor: pointer;
    transition: color var(--quick) var(--ease), border-color var(--quick) var(--ease);
  }
  .notice__choice.is-primary {
    border-color: var(--line);
    color: var(--ink-soft);
  }
  .notice__choice:hover,
  .notice__choice:focus-visible {
    border-color: var(--line-strong);
    color: var(--ink);
    outline: none;
  }

  .notice__state {
    position: absolute;
    left: var(--edge);
    bottom: calc(var(--space-xl) + 14px);
    margin: 0;
    color: var(--ink-faint);
    font-size: 9.5px;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
  }
  .notice__value {
    margin-left: var(--space-xs);
    color: var(--ink-soft);
  }
  .notice__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 46px;
    height: 46px;
    margin-right: 22px;
    border: var(--rule) solid var(--line);
    border-radius: var(--pill);
    background: var(--panel-glass);
    cursor: pointer;
    transition: border-color var(--quick) var(--ease);
  }
  .notice__toggle:hover,
  .notice__toggle:focus-visible {
    border-color: var(--line-strong);
    outline: none;
  }
  .notice__bar {
    width: 1px;
    height: 3px;
    background: var(--ink-soft);
    transform-origin: 50% 50%;
  }
  .notice.is-on .notice__bar {
    height: 12px;
    background: var(--ink);
    animation: notice-bar 0.9s var(--ease) infinite alternate;
  }
  .notice.is-on .notice__bar:nth-child(2) { animation-delay: -0.3s; }
  .notice.is-on .notice__bar:nth-child(3) { animation-delay: -0.6s; }
  .notice.is-on .notice__bar:nth-child(4) { animation-delay: -0.15s; }
  .notice.is-paused .notice__bar {
    animation-play-state: paused;
  }
  @keyframes notice-bar {
    from { transform: scaleY(0.25); }
    to { transform: scaleY(1); }
  }

  @media (prefers-reduced-motion: reduce) {
    .notice.is-on .notice__bar {
      animation: none;
      transform: scaleY(0.7);
    }
  }
</style>

<script>
(() => {
  for (const root of document.querySelectorAll('.notice')) {
    const toggle = root.querySelector('.notice__toggle');
    const value = root.querySelector('.notice__value');
    const setSound = (on) => {
      value.textContent = on ? 'On' : 'Off';
      root.classList.toggle('is-on', on);
      toggle.setAttribute('aria-pressed', String(on));
    };
    for (const choice of root.querySelectorAll('.notice__choice')) {
      choice.addEventListener('click', () => {
        setSound(choice.dataset.sound === 'on');
        root.classList.add('is-closed');
        toggle.focus();
      });
    }
    root.querySelector('.notice__dismiss').addEventListener('click', () => {
      root.classList.add('is-closed');
      toggle.focus();
    });
    toggle.addEventListener('click', () => setSound(!root.classList.contains('is-on')));
    // The bars rest while the notice is off screen.
    new IntersectionObserver((entries) => {
      for (const entry of entries) root.classList.toggle('is-paused', !entry.isIntersecting);
    }).observe(root);
  }
})();
</script>

Plate index

Ruled rows of plates with number, name, process in spaced caps and year; hovering a row brightens it and fades in its dimmed thumbnail.

Code React For Figma
<section class="index" aria-labelledby="index-title">
  <header class="index__head">
    <p class="index__eyebrow">Index</p>
    <h2 class="index__title" id="index-title">All plates, by hour.</h2>
    <p class="index__count">09 of 90 shown</p>
  </header>

  <ol class="index__list">
    <li class="index__row">
      <a class="index__link" href="#">
        <span class="index__num">001</span>
        <span class="index__name">Still Water</span>
        <span class="index__meta">Oil on canvas</span>
        <span class="index__year">1864</span>
        <span class="index__thumb"><img class="index__photo" src="assets/sea-calm.jpg" alt="" width="1200" height="945" loading="lazy"></span>
      </a>
    </li>
    <li class="index__row">
      <a class="index__link" href="#">
        <span class="index__num">002</span>
        <span class="index__name">Salt Hour</span>
        <span class="index__meta">Albumen print</span>
        <span class="index__year">1857</span>
        <span class="index__thumb"><img class="index__photo" src="assets/solar-ocean.jpg" alt="" width="843" height="661" loading="lazy"></span>
      </a>
    </li>
    <li class="index__row">
      <a class="index__link" href="#">
        <span class="index__num">003</span>
        <span class="index__name">Field by Moon</span>
        <span class="index__meta">Etching</span>
        <span class="index__year">1877</span>
        <span class="index__thumb"><img class="index__photo" src="assets/valmondois.jpg" alt="" width="800" height="518" loading="lazy"></span>
      </a>
    </li>
    <li class="index__row">
      <a class="index__link" href="#">
        <span class="index__num">004</span>
        <span class="index__name">Red Moonrise</span>
        <span class="index__meta">Oil on canvas</span>
        <span class="index__year">1889</span>
        <span class="index__thumb"><img class="index__photo" src="assets/moonrise.jpg" alt="" width="667" height="800" loading="lazy"></span>
      </a>
    </li>
    <li class="index__row">
      <a class="index__link" href="#">
        <span class="index__num">005</span>
        <span class="index__name">Haze Harbour</span>
        <span class="index__meta">Oil on canvas</span>
        <span class="index__year">1877</span>
        <span class="index__thumb"><img class="index__photo" src="assets/harbor.jpg" alt="" width="800" height="400" loading="lazy"></span>
      </a>
    </li>
    <li class="index__row">
      <a class="index__link" href="#">
        <span class="index__num">006</span>
        <span class="index__name">Frozen Brook</span>
        <span class="index__meta">Oil on canvas</span>
        <span class="index__year">1889</span>
        <span class="index__thumb"><img class="index__photo" src="assets/icebound.jpg" alt="" width="800" height="670" loading="lazy"></span>
      </a>
    </li>
  </ol>
</section>

<style>
  .index {
    padding: var(--section-space) var(--edge);
    background: var(--night);
    color: var(--ink);
  }
  .index__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--space-xs) var(--space-l);
    margin-bottom: var(--space-l);
  }
  .index__eyebrow {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--ink-faint);
    font-size: var(--text-caps);
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
  }
  .index__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: var(--track-tight);
  }
  .index__count {
    margin: 0;
    color: var(--ink-faint);
    font-size: 9.5px;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
  }

  .index__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: var(--rule) solid var(--line);
  }
  .index__row {
    border-bottom: var(--rule) solid var(--line);
  }
  .index__link {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 2fr) minmax(0, 1.2fr) 56px 92px;
    align-items: center;
    gap: var(--space-m);
    min-height: 64px;
    padding: var(--space-s) 0;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color var(--quick) var(--ease);
  }
  .index__num,
  .index__meta,
  .index__year {
    color: var(--ink-faint);
    font-size: 9.5px;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
    transition: color var(--quick) var(--ease);
  }
  .index__year {
    text-align: right;
  }
  .index__name {
    font-family: var(--font-display);
    font-size: var(--text-l);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: var(--track-tight);
  }
  .index__thumb {
    justify-self: end;
    width: 80px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-s);
    box-shadow: 0 0 0 var(--rule) var(--line);
    opacity: 0.35;
    transform: translateX(6px);
    transition: opacity var(--time) var(--ease), transform var(--time) var(--ease);
  }
  .index__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--photo-filter);
    transition: filter var(--slow) var(--ease);
  }

  .index__link:hover,
  .index__link:focus-visible {
    color: var(--ink);
    outline: none;
  }
  .index__link:focus-visible {
    box-shadow: inset 0 0 0 var(--rule) var(--line-strong);
  }
  .index__link:hover .index__meta,
  .index__link:hover .index__num,
  .index__link:hover .index__year,
  .index__link:focus-visible .index__meta {
    color: var(--ink-soft);
  }
  .index__link:hover .index__thumb,
  .index__link:focus-visible .index__thumb {
    opacity: 1;
    transform: none;
  }
  .index__link:hover .index__photo,
  .index__link:focus-visible .index__photo {
    filter: var(--photo-filter-lift);
  }

  @media (max-width: 640px) {
    .index__link {
      grid-template-columns: 36px minmax(0, 1fr) 64px;
      grid-template-areas: "num name thumb" "num meta thumb";
      gap: 2px var(--space-m);
    }
    .index__num { grid-area: num; align-self: start; padding-top: 4px; }
    .index__name { grid-area: name; font-size: 16px; }
    .index__meta { grid-area: meta; }
    .index__year { display: none; }
    .index__thumb { grid-area: thumb; width: 64px; opacity: 0.6; transform: none; }
  }
</style>

Quiet statement

A spaced-caps eyebrow, a medium two-line headline and small grey reading copy in two columns, with a hairline-ruled row of facts.

Code React For Figma
<section class="statement" aria-labelledby="statement-title">
  <div class="statement__grid">
    <p class="statement__eyebrow">Why the lights are low</p>
    <h2 class="statement__title" id="statement-title">Pictures of the dark,<br>shown in the dark.</h2>
    <div class="statement__body">
      <p class="statement__text">Most of these plates were made by people working against the light: long exposures on a moving sea, etchings bitten by candle, paintings begun at dusk and finished by memory. Hung under bright lamps they flatten into grey.</p>
      <p class="statement__text">So the archive keeps them dim. Every picture rests a little below itself until you come close, then wakes. Nothing is sorted into rows; plates sit where they were last looked at, tied by a thread to the one beside them.</p>
    </div>
  </div>

  <dl class="statement__facts">
    <div class="statement__fact"><dt class="statement__key">Plates</dt><dd class="statement__value">90</dd></div>
    <div class="statement__fact"><dt class="statement__key">Oldest</dt><dd class="statement__value">1841</dd></div>
    <div class="statement__fact"><dt class="statement__key">Threads</dt><dd class="statement__value">214</dd></div>
    <div class="statement__fact"><dt class="statement__key">Room light</dt><dd class="statement__value">40 lux</dd></div>
  </dl>
</section>

<style>
  .statement {
    padding: var(--section-space) var(--edge);
    background: var(--night);
    color: var(--ink);
  }
  .statement__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: var(--space-m) clamp(28px, 6vw, 96px);
    align-items: start;
  }
  .statement__eyebrow {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--ink-faint);
    font-size: var(--text-caps);
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
  }
  .statement__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--text-xxl);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: var(--track-tight);
  }
  .statement__body {
    columns: 2 240px;
    column-gap: var(--space-l);
  }
  .statement__text {
    margin: 0 0 var(--space-m);
    color: var(--ink-mute);
    font-size: var(--text-m);
    line-height: 1.85;
    break-inside: avoid;
  }

  .statement__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: var(--space-xl) 0 0;
    border-top: var(--rule) solid var(--line);
  }
  .statement__fact {
    padding: var(--space-m) var(--space-m) 0 0;
  }
  .statement__fact + .statement__fact {
    padding-left: var(--space-m);
    border-left: var(--rule) solid var(--line);
  }
  .statement__key {
    margin-bottom: var(--space-xs);
    color: var(--ink-faint);
    font-size: 9.5px;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
  }
  .statement__value {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: var(--track-tight);
    font-variant-numeric: tabular-nums;
  }

  @media (max-width: 760px) {
    .statement__grid {
      grid-template-columns: 1fr;
    }
    .statement__facts {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .statement__fact:nth-child(3) {
      padding-left: 0;
      border-left: 0;
    }
  }
</style>

Style

  • --night #0b0d11
  • --night-deep #050608
  • --panel #0e0f12
  • --panel-glass rgba(5, 7, 8, 0.82)
  • --ink #f4f5f6
  • --ink-soft rgba(255, 255, 255, 0.5)
  • --ink-mute #9a9ca1
  • --ink-faint #5b5e66
  • --thread rgba(255, 255, 255, 0.09)
  • --line rgba(255, 255, 255, 0.1)
  • --line-strong rgba(255, 255, 255, 0.28)
  • --wash rgba(255, 255, 255, 0.02)
  • --button #f4f5f6
  • --button-ink #06070a

Type

  • Inter Tight for headlines, captions and caps labels, stands in for the site's neo-grotesk (a Haas Unica cut) set at 400 and 500, the only face on the page

Motion

  • On load each picture is covered by twelve vertical strips that slide down one after another, 900 ms each with a 40 ms stagger, cubic-bezier(0.22, 0.61, 0.36, 1).
  • Hovering a card lifts it 6 px, deepens its shadow and lifts the photo filter from dim to awake over 500 ms on the same easing.
  • Dragging the board pans every card and thread together and lets go with a short inertial glide that decays each frame.
  • Panels open by height and opacity over 350 ms; colour and border changes take 250 ms; fades and slides take 450 ms.
  • The sound toggle shows four thin bars that bounce at staggered delays while sound is on and rest flat while it is off.

Rules

  • The page is one near-black ground with a film grain and a dark vignette; nothing is ever pure white except the one light button.
  • Photographs are dimmed and desaturated by a filter and wake up only under the pointer.
  • Cards sit at free positions and different sizes, never in a grid, and are joined by straight 1 px threads at 9 percent white.
  • Labels are tiny uppercase with very wide tracking (0.16 to 0.3 em) in faded grey; headlines are medium weight, tight, at most 44 px.
  • Every edge is a hairline at 10 percent white on a translucent panel with a 5 px corner; tags are pills.
  • Text sits in the lower-left corner of the board and stays small, leaving the pictures the room.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500&display=swap");

:root {
  /* Colour */
  --night: #0b0d11; /* page background, the dark board */
  --night-deep: #050608; /* deepest ground: vignette edge, open detail backdrop */
  --panel: #0e0f12; /* floating panels and notices */
  --panel-glass: rgba(5, 7, 8, 0.82); /* translucent panel over pictures */
  --ink: #f4f5f6; /* main text, headings */
  --ink-soft: rgba(255, 255, 255, 0.5); /* nav words, captions, secondary text */
  --ink-mute: #9a9ca1; /* body copy */
  --ink-faint: #5b5e66; /* spaced-caps eyebrows, meta */
  --thread: rgba(255, 255, 255, 0.09); /* hairline threads joining pictures */
  --line: rgba(255, 255, 255, 0.1); /* hairline borders on panels and tags */
  --line-strong: rgba(255, 255, 255, 0.28); /* hovered borders, active tag */
  --wash: rgba(255, 255, 255, 0.02); /* faint fill inside boxes */
  --button: #f4f5f6; /* the one light button */
  --button-ink: #06070a; /* text on the light button */

  /* Type */
  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* headlines and names */
  --font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* running text and caps labels */
  --text-caps: 10.5px; /* spaced uppercase labels */
  --text-s: 12px; /* captions, body copy on the board */
  --text-m: 13px; /* reading copy in panels */
  --text-l: 18px; /* card names */
  --text-xl: 28px; /* headline */
  --text-xxl: clamp(30px, 3.2vw, 44px); /* detail title */
  --track-caps: 0.16em; /* letter spacing on caps labels */
  --track-wide: 0.3em; /* the widest caps: eyebrows */
  --track-tight: -0.01em; /* headlines */

  /* Space */
  --edge: clamp(20px, 3.9vw, 56px); /* side padding of the page */
  --gap: 16px; /* gap between items */
  --space-xs: 6px; /* tight inner spacing */
  --space-s: 10px; /* small spacing */
  --space-m: 16px; /* medium spacing */
  --space-l: 28px; /* large spacing */
  --space-xl: 48px; /* section inner air */
  --section-space: clamp(56px, 8vw, 112px); /* air between sections */

  /* Shape */
  --radius: 5px; /* cards, pictures, panels */
  --radius-s: 2px; /* small chips */
  --pill: 999px; /* tags and round buttons */
  --rule: 1px; /* every line is a hairline */
  --shadow-card: 0 24px 60px -20px rgba(0, 0, 0, 0.8); /* cards floating over the board */
  --shadow-lift: 0 30px 80px -18px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.14); /* hovered card */
  --photo-filter: saturate(0.62) brightness(0.8) contrast(1.06); /* pictures sink into the night */
  --photo-filter-lift: saturate(0.85) brightness(0.95) contrast(1.04); /* hovered picture wakes up */

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1); /* every transition */
  --quick: 250ms; /* colour and border changes */
  --mid: 350ms; /* panels opening */
  --time: 450ms; /* fades and slides */
  --slow: 500ms; /* card lift */
  --reveal: 900ms; /* strips sliding off a picture */
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 12px/1.8 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

For your agent

Use the kitbash MCP server at https://kitbash.me/mcp. Call get_pack("threaded-night-board"), then get_component for the parts you need, and build my site in that style: keep its tokens and rules, replace the placeholder copy with mine.
How to connect