kitbash Sign in Connect agent

Night Water Footnote

Minimal · 7 parts · portfolio · serif · six-column grid

A near-black navy page of moving night water with sparks of orange light, one tiny centred serif sentence and its asterisked footnote, giving way to white pages where pictures hang in a six-column row. It suits artists, photographers and small studios who want the work and very little else.

Get pack Remix

Whole page

Parts

Three-word bar

Name, Work and Info in the first three columns, a hairline toggle at the far right that drops a six-column index of works.

Code React For Figma
<header class="nav">
  <nav class="nav__bar" aria-label="Main">
    <a class="nav__link nav__name" href="#">Ottilie Brask</a>
    <a class="nav__link" href="#" aria-current="page">Work</a>
    <a class="nav__link" href="#">Info</a>
    <button class="nav__toggle" type="button" aria-expanded="false" aria-controls="nav-index" aria-label="Index of works">
      <span class="nav__lines" aria-hidden="true"><span></span><span></span><span></span><span></span></span>
    </button>
  </nav>
  <div class="nav__panel" id="nav-index" hidden>
    <ol class="nav__works">
      <li><a class="nav__work" href="#"><em>Slack Water</em>, 2026</a></li>
      <li><a class="nav__work" href="#"><em>Weather Over the Mole</em>, 2025–2026</a></li>
      <li><a class="nav__work" href="#"><em>A Ledger of Swells</em>, 2025</a></li>
      <li><a class="nav__work" href="#"><em>Two Boats, Leaving</em>, 2024–2026</a></li>
      <li><a class="nav__work" href="#"><em>Sky Held Still</em>, 2024</a></li>
      <li><a class="nav__work" href="#"><em>The Hour Exposure</em>, 2023</a></li>
    </ol>
  </div>
</header>

<style>
  .nav {
    position: relative;
    z-index: 2;
    background: var(--night);
    color: var(--mist);
  }
  .nav__bar {
    display: grid;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    gap: var(--gap);
    align-items: center;
    padding: 0 var(--edge);
    min-height: 48px;
  }
  .nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
    justify-self: start;
    color: inherit;
    font: 500 var(--text-nav) / var(--leading-tight) var(--font-grotesk);
    text-decoration: none;
    transition: color var(--quick) var(--ease);
  }
  .nav__link:hover,
  .nav__link:focus-visible,
  .nav__link[aria-current="page"] {
    color: var(--day);
  }
  .nav__link:focus-visible,
  .nav__toggle:focus-visible,
  .nav__work:focus-visible {
    outline: var(--line) solid currentColor;
    outline-offset: 2px;
  }
  .nav__toggle {
    grid-column: var(--columns);
    justify-self: end;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  .nav__lines {
    display: grid;
    gap: 3px;
    width: 32px;
  }
  .nav__lines span {
    display: block;
    height: var(--line);
    background: currentColor;
    transition: transform var(--quick) var(--ease), opacity var(--quick) var(--ease);
  }
  .nav__toggle:hover .nav__lines span:nth-child(2n) {
    transform: translateX(4px);
  }
  .nav.is-open .nav__lines span:nth-child(2),
  .nav.is-open .nav__lines span:nth-child(3) {
    opacity: 0;
  }
  .nav.is-open .nav__lines span:nth-child(1) {
    transform: translateY(4px);
  }
  .nav.is-open .nav__lines span:nth-child(4) {
    transform: translateY(-4px);
  }
  .nav__panel {
    position: absolute;
    inset: 100% 0 auto;
    padding: var(--space-m) var(--edge) var(--space-l);
    background: var(--night);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--quick) var(--ease), transform var(--quick) var(--ease);
  }
  .nav.is-open .nav__panel {
    opacity: 1;
    transform: none;
  }
  .nav__works {
    display: grid;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    gap: 0 var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .nav__works li {
    grid-column: 2 / span 2;
  }
  .nav__work {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--mist-soft);
    font-size: var(--text-m);
    text-decoration: none;
    transition: color var(--quick) var(--ease);
  }
  .nav__work:hover,
  .nav__work:focus-visible {
    color: var(--day);
  }

  @media (max-width: 40rem) {
    .nav__bar {
      grid-template-columns: repeat(3, minmax(0, 1fr)) 44px;
    }
    .nav__toggle {
      grid-column: 4;
      margin-right: -8px;
    }
    .nav__lines {
      width: 24px;
    }
    .nav__works li {
      grid-column: 1 / -1;
    }
  }
</style>

<script>
  (() => {
    document.querySelectorAll('.nav').forEach((root) => {
      const toggle = root.querySelector('.nav__toggle');
      const panel = root.querySelector('.nav__panel');
      if (!toggle || !panel) return;
      let timer = 0;
      const set = (open) => {
        clearTimeout(timer);
        toggle.setAttribute('aria-expanded', String(open));
        if (open) {
          panel.hidden = false;
          requestAnimationFrame(() => root.classList.add('is-open'));
        } else {
          root.classList.remove('is-open');
          timer = setTimeout(() => { panel.hidden = true; }, 220);
        }
      };
      toggle.addEventListener('click', () => set(!root.classList.contains('is-open')));
      root.addEventListener('keydown', (event) => {
        if (event.key === 'Escape' && root.classList.contains('is-open')) {
          set(false);
          toggle.focus();
        }
      });
    });
  })();
</script>

Night water statement

A full-width canvas of dark swells with flickering orange glints, one small centred serif sentence with an asterisk, and its footnote pinned bottom left.

Code React For Figma
<section class="nightwater" aria-labelledby="nightwater-statement">
  <canvas class="nightwater__canvas" role="img" aria-label="Dark water at night with small clusters of orange light glinting on the swell"></canvas>
  <a class="nightwater__statement" id="nightwater-statement" href="#">Water keeps no record of itself, so I keep it, an hour at a time, on paper that remembers.<sup class="nightwater__mark">*</sup></a>
  <p class="nightwater__footnote"><sup>*</sup>From the harbour notebook, the winter of the long tides</p>
</section>

<style>
  .nightwater {
    position: relative;
    display: grid;
    place-items: center;
    height: clamp(520px, 56vw, 820px);
    padding: var(--space-l) var(--edge);
    overflow: hidden;
    background: var(--night);
    color: var(--mist);
  }
  .nightwater__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--glint);
  }
  .nightwater__statement {
    position: relative;
    max-width: 36em;
    padding: var(--space-s) 0;
    color: inherit;
    font-size: var(--text-m);
    line-height: var(--leading);
    text-align: center;
    text-decoration: none;
    text-wrap: balance;
    transition: color var(--fade) var(--ease);
  }
  .nightwater__statement:hover,
  .nightwater__statement:focus-visible {
    color: var(--day);
  }
  .nightwater__statement:focus-visible {
    outline: var(--line) solid currentColor;
    outline-offset: 6px;
  }
  .nightwater__mark {
    font-size: 0.6em;
    line-height: 0;
  }
  .nightwater__footnote {
    position: absolute;
    left: var(--edge);
    bottom: var(--edge);
    right: var(--edge);
    margin: 0;
    font-size: var(--text-s);
    line-height: var(--leading);
  }
  .nightwater__footnote sup {
    font-size: 0.7em;
    line-height: 0;
  }

  @media (max-width: 40rem) {
    .nightwater {
      height: clamp(560px, 170vw, 720px);
    }
    .nightwater__statement {
      max-width: 22em;
      font-size: calc(var(--text-m) + 2px);
    }
  }
</style>

<script>
  (() => {
    const still = matchMedia('(prefers-reduced-motion: reduce)');

    // A fixed random field so every load shows the same sea.
    function field(count) {
      let seed = 7;
      const rand = () => ((seed = (seed * 16807) % 2147483647) / 2147483647);
      const glints = [];
      for (let i = 0; i < count; i += 1) {
        glints.push({
          band: Math.floor(rand() * 7),
          x: rand(),
          dy: (rand() - 0.5) * 2 * rand(),
          length: 1 + rand() * 4.5,
          rate: 1.5 + rand() * 4,
          phase: rand() * Math.PI * 2,
        });
      }
      return glints;
    }

    function paint(context, width, height, seconds, colours, glints) {
      const sea = context.createLinearGradient(0, 0, 0, height);
      sea.addColorStop(0, colours.night);
      sea.addColorStop(1, colours.deep);
      context.globalCompositeOperation = 'source-over';
      context.fillStyle = sea;
      context.fillRect(0, 0, width, height);

      // Slow swells: layered sine bands filled downward, lighter crests over darker troughs, drifting sideways.
      for (let i = 0; i < 12; i += 1) {
        const lit = i % 2 === 0;
        const base = ((i + 0.3) / 12) * height;
        const drift = seconds * (lit ? 0.05 : -0.035);
        context.beginPath();
        context.moveTo(0, height);
        for (let x = 0; x <= width + 24; x += 24) {
          const y = base + Math.sin(x / width * (3 + (i % 4)) + drift + i * 1.3) * height * 0.025
            + Math.sin(x / width * 11 - drift * 1.7 + i) * height * 0.006;
          context.lineTo(x, y);
        }
        context.lineTo(width, height);
        context.closePath();
        context.globalAlpha = lit ? 0.16 : 0.22;
        context.fillStyle = lit ? colours.swell : colours.deep;
        context.fill();
      }
      context.globalAlpha = 1;

      // Glints: dashes along seven wavy crest lines; a slow travelling envelope gathers them into clusters.
      context.globalCompositeOperation = 'lighter';
      context.lineCap = 'round';
      const rows = 7;
      for (const g of glints) {
        const row = (g.band + 0.5) / rows;
        const wave = Math.sin(g.x * 5.5 + g.band * 1.7 + seconds * 0.18) * height * 0.035;
        const x = g.x * width;
        const y = row * height + wave + g.dy * height * 0.03;
        const gather = Math.sin(g.x * 9 + g.band * 2.3 - seconds * 0.22) * Math.sin(g.x * 3.1 - g.band + seconds * 0.13);
        const flicker = 0.5 + 0.5 * Math.sin(seconds * g.rate + g.phase);
        const light = Math.max(0, gather - 0.12) * 1.5 * flicker;
        if (light < 0.05) continue;
        const reach = g.length * (0.4 + light * 0.8);
        context.beginPath();
        context.moveTo(x - reach, y);
        context.lineTo(x + reach, y);
        context.strokeStyle = colours.glint;
        context.globalAlpha = Math.min(0.22, light * 0.18);
        context.lineWidth = 3.5 + light * 2.5;
        context.stroke();
        context.globalAlpha = Math.min(1, light * 1.1);
        context.strokeStyle = light > 0.85 ? colours.core : colours.glint;
        context.lineWidth = 0.9 + light * 1.2;
        context.stroke();
      }
      context.globalAlpha = 1;
      context.globalCompositeOperation = 'source-over';
    }

    function run(canvas) {
      const context = canvas.getContext('2d');
      const css = getComputedStyle(canvas);
      const colours = {
        night: css.getPropertyValue('--night').trim(),
        deep: css.getPropertyValue('--night-deep').trim(),
        swell: css.getPropertyValue('--night-swell').trim(),
        glint: css.getPropertyValue('--glint').trim(),
        core: css.getPropertyValue('--glint-core').trim(),
      };
      let glints = field(1200);
      let frame = 0;
      const draw = (now) => paint(context, canvas.clientWidth, canvas.clientHeight, now / 1000 + 40, colours, glints);
      const fit = () => {
        const density = Math.min(2, devicePixelRatio || 1);
        canvas.width = canvas.clientWidth * density;
        canvas.height = canvas.clientHeight * density;
        context.setTransform(density, 0, 0, density, 0, 0);
        glints = field(Math.round(Math.min(2600, Math.max(900, canvas.clientWidth * 1.8))));
        draw(performance.now());
      };
      const tick = (now) => {
        draw(now);
        frame = requestAnimationFrame(tick);
      };
      new ResizeObserver(fit).observe(canvas);
      new IntersectionObserver(([entry]) => {
        cancelAnimationFrame(frame);
        if (entry.isIntersecting && !still.matches) frame = requestAnimationFrame(tick);
      }).observe(canvas);
    }

    document.querySelectorAll('.nightwater__canvas').forEach(run);
  })();
</script>

Hanging rail

Six equal tiles in one row on white, a framed print alternating with a close crop of it; pointing at a tile swaps the caption pinned at the bottom.

Code React For Figma
<section class="rail" aria-label="Selected work">
  <ul class="rail__row">
    <li class="rail__item">
      <a class="rail__tile rail__tile--framed" href="#" data-work="0" aria-label="Slack Water, installed">
        <span class="rail__frame"><img class="rail__img" src="assets/breaking-wave.jpg" alt="Albumen print of waves breaking on dark rocks under a heavy sky" width="650" height="800" loading="lazy"></span>
      </a>
    </li>
    <li class="rail__item">
      <a class="rail__tile rail__tile--crop" href="#" data-work="0" aria-label="Slack Water, detail">
        <img class="rail__img" src="assets/breaking-wave.jpg" alt="Close crop of white surf on the same print" width="650" height="800" loading="lazy" style="--crop-x: 70%; --crop-y: 72%;">
      </a>
    </li>
    <li class="rail__item">
      <a class="rail__tile rail__tile--framed" href="#" data-work="1" aria-label="Sky Held Still, installed">
        <span class="rail__frame"><img class="rail__img" src="assets/cloud-music.jpg" alt="Silver print of tall clouds over a dark hill" width="649" height="800" loading="lazy"></span>
      </a>
    </li>
    <li class="rail__item">
      <a class="rail__tile rail__tile--crop" href="#" data-work="1" aria-label="Sky Held Still, detail">
        <img class="rail__img" src="assets/cloud-music.jpg" alt="Close crop of cloud edges on the same print" width="649" height="800" loading="lazy" style="--crop-x: 35%; --crop-y: 30%;">
      </a>
    </li>
    <li class="rail__item">
      <a class="rail__tile rail__tile--framed" href="#" data-work="2" aria-label="Two Boats, Leaving, installed">
        <span class="rail__frame"><img class="rail__img" src="assets/brig.jpg" alt="Sepia print of a wide grey sea with a small sailing boat" width="800" height="634" loading="lazy"></span>
      </a>
    </li>
    <li class="rail__item">
      <a class="rail__tile rail__tile--crop" href="#" data-work="2" aria-label="Two Boats, Leaving, detail">
        <img class="rail__img" src="assets/brig.jpg" alt="Close crop of the sail and the light on the water" width="800" height="634" loading="lazy" style="--crop-x: 58%; --crop-y: 66%;">
      </a>
    </li>
  </ul>

  <div class="rail__captions" aria-live="polite">
    <div class="rail__caption is-current" data-work="0">
      <p class="rail__title"><em>Slack Water</em>, 2026</p>
      <p class="rail__detail">Silver gelatin print on baryta paper, white oak frame<br>16 x 20 x 1.5 in</p>
    </div>
    <div class="rail__caption" data-work="1">
      <p class="rail__title"><em>Sky Held Still</em>, 2024</p>
      <p class="rail__detail">Platinum print, hand-coated, pale ash frame<br>11 x 14 x 1.25 in</p>
    </div>
    <div class="rail__caption" data-work="2">
      <p class="rail__title"><em>Two Boats, Leaving</em>, 2024–2026</p>
      <p class="rail__detail">Pigment print mounted on aluminium, float frame<br>Various dimensions</p>
    </div>
  </div>
</section>

<style>
  .rail {
    display: grid;
    grid-template-rows: 1fr auto 1fr auto;
    min-height: clamp(560px, 50vw, 720px);
    padding: var(--space-l) var(--edge) var(--edge);
    background: var(--day);
    color: var(--ink);
  }
  .rail__row {
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    gap: var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .rail__tile {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--wall);
  }
  .rail__tile:focus-visible {
    outline: var(--line) solid var(--ink);
    outline-offset: 4px;
  }
  .rail__frame {
    display: block;
    width: 62%;
    padding: 9%;
    background: var(--mat);
    border: 4px solid var(--day);
    box-shadow: var(--shadow-print);
    transition: transform var(--fade) var(--ease);
  }
  .rail__frame .rail__img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .rail__tile--crop .rail__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--crop-x, 50%) var(--crop-y, 50%);
    transform: scale(1.9);
    transform-origin: var(--crop-x, 50%) var(--crop-y, 50%);
    transition: transform var(--slow) var(--ease);
  }
  .rail__tile--crop:hover .rail__img,
  .rail__tile--crop:focus-visible .rail__img {
    transform: scale(2.1);
  }
  .rail__tile--framed:hover .rail__frame,
  .rail__tile--framed:focus-visible .rail__frame {
    transform: translateY(-3px);
  }
  .rail__row.is-pointing .rail__tile:not(.is-current) {
    opacity: 0.55;
  }
  .rail__tile {
    transition: opacity var(--fade) var(--ease);
  }

  .rail__captions {
    grid-row: 4;
    display: grid;
  }
  .rail__caption {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    gap: var(--gap);
    opacity: 0;
    transition: opacity var(--fade) var(--ease);
  }
  .rail__caption.is-current {
    opacity: 1;
  }
  .rail__title,
  .rail__detail {
    margin: 0;
    font-size: var(--text-m);
    line-height: var(--leading);
  }
  .rail__detail {
    grid-column: 2 / span 3;
  }

  @media (max-width: 48rem) {
    .rail__row {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rail {
      grid-template-rows: auto auto;
      gap: var(--space-l);
      padding-top: var(--space-l);
    }
    .rail__row { grid-row: 1; }
    .rail__captions { grid-row: 2; }
    .rail__caption {
      grid-template-columns: minmax(0, 1fr);
      gap: var(--space-xs);
    }
    .rail__detail {
      grid-column: 1;
      color: var(--ink-soft);
    }
  }
</style>

<script>
  (() => {
    document.querySelectorAll('.rail').forEach((root) => {
      const row = root.querySelector('.rail__row');
      const tiles = [...root.querySelectorAll('.rail__tile')];
      const captions = [...root.querySelectorAll('.rail__caption')];
      let resting = '0';
      const show = (work, pointing) => {
        captions.forEach((c) => c.classList.toggle('is-current', c.dataset.work === work));
        tiles.forEach((t) => t.classList.toggle('is-current', pointing && t.dataset.work === work));
        row.classList.toggle('is-pointing', pointing);
      };
      tiles.forEach((tile) => {
        tile.addEventListener('pointerenter', () => show(tile.dataset.work, true));
        tile.addEventListener('focus', () => show(tile.dataset.work, true));
        tile.addEventListener('click', (event) => {
          event.preventDefault();
          resting = tile.dataset.work;
          show(resting, true);
        });
      });
      row.addEventListener('pointerleave', () => show(resting, false));
      row.addEventListener('focusout', (event) => {
        if (!row.contains(event.relatedTarget)) show(resting, false);
      });
    });
  })();
</script>

Works index

Ruled rows of works on the six-column grid: italic title and year, medium, dimensions; a small picture of the pointed row appears in the last column.

Code React For Figma
<section class="index" aria-labelledby="index-heading">
  <div class="index__head">
    <h2 class="index__heading" id="index-heading">Works</h2>
    <p class="index__count">6 entries, newest first</p>
  </div>

  <div class="index__body">
    <ol class="index__rows">
      <li><a class="index__row is-current" href="#" data-row="0">
        <span class="index__title"><em>Slack Water</em>, 2026</span>
        <span class="index__medium">Silver gelatin print on baryta paper, white oak frame</span>
        <span class="index__size">16 x 20 x 1.5 in</span>
      </a></li>
      <li><a class="index__row" href="#" data-row="1">
        <span class="index__title"><em>Weather Over the Mole</em>, 2025–2026</span>
        <span class="index__medium">Single-channel video loop, salvaged ship's lamp, birch case</span>
        <span class="index__size">22 x 14 x 3 in</span>
      </a></li>
      <li><a class="index__row" href="#" data-row="2">
        <span class="index__title"><em>A Ledger of Swells</em>, 2025</span>
        <span class="index__medium">Forty contact prints pinned to a cedar lath</span>
        <span class="index__size">96 x 4 x 2 in</span>
      </a></li>
      <li><a class="index__row" href="#" data-row="3">
        <span class="index__title"><em>Two Boats, Leaving</em>, 2024–2026</span>
        <span class="index__medium">Pigment print mounted on aluminium, float frame</span>
        <span class="index__size">Various dimensions</span>
      </a></li>
      <li><a class="index__row" href="#" data-row="4">
        <span class="index__title"><em>Sky Held Still</em>, 2024</span>
        <span class="index__medium">Platinum print, hand-coated, pale ash frame</span>
        <span class="index__size">11 x 14 x 1.25 in</span>
      </a></li>
      <li><a class="index__row" href="#" data-row="5">
        <span class="index__title"><em>The Hour Exposure</em>, 2023</span>
        <span class="index__medium">Cyanotype on Japanese tissue, unframed</span>
        <span class="index__size">30 x 42 in</span>
      </a></li>
    </ol>

    <div class="index__preview" aria-hidden="true">
      <img class="index__picture is-current" data-row="0" src="assets/breaking-wave.jpg" alt="" width="650" height="800" loading="lazy">
      <img class="index__picture" data-row="1" src="assets/great-wave.jpg" alt="" width="1200" height="978" loading="lazy">
      <img class="index__picture" data-row="2" src="assets/solar-clouds.jpg" alt="" width="800" height="627" loading="lazy">
      <img class="index__picture" data-row="3" src="assets/brig.jpg" alt="" width="800" height="634" loading="lazy">
      <img class="index__picture" data-row="4" src="assets/cloud-music.jpg" alt="" width="649" height="800" loading="lazy">
      <img class="index__picture" data-row="5" src="assets/great-wave.jpg" alt="" width="1200" height="978" loading="lazy" style="object-position: 30% 80%;">
    </div>
  </div>
</section>

<style>
  .index {
    padding: var(--space-l) var(--edge) var(--section-space);
    background: var(--day);
    color: var(--ink);
  }
  .index__head,
  .index__body {
    display: grid;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    gap: var(--gap);
  }
  .index__head {
    margin-bottom: var(--space-xl);
  }
  .index__heading {
    margin: 0;
    font: 500 var(--text-nav) / var(--leading-tight) var(--font-grotesk);
  }
  .index__count {
    grid-column: 2 / span 2;
    margin: 0;
    color: var(--ink-soft);
    font-size: var(--text-s);
  }
  .index__rows {
    grid-column: 1 / span 5;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .index__row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--gap);
    align-items: baseline;
    min-height: 44px;
    padding: var(--space-s) 0 var(--space-m);
    color: var(--ink-soft);
    font-size: var(--text-m);
    line-height: var(--leading);
    text-decoration: none;
    transition: color var(--quick) var(--ease);
  }
  .index__row.is-current,
  .index__row:hover,
  .index__row:focus-visible {
    color: var(--ink);
  }
  .index__row:focus-visible {
    outline: var(--line) solid var(--ink);
    outline-offset: 2px;
  }
  .index__title em {
    color: var(--ink);
  }
  .index__medium {
    grid-column: 2 / span 2;
  }
  .index__size {
    grid-column: 4;
  }

  .index__preview {
    grid-column: 6;
    position: relative;
    align-self: start;
    aspect-ratio: 4 / 5;
    background: var(--wall);
  }
  .index__picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity var(--fade) var(--ease);
  }
  .index__picture.is-current {
    opacity: 1;
  }

  @media (max-width: 48rem) {
    .index__rows {
      grid-column: 1 / -1;
    }
    .index__preview {
      display: none;
    }
    .index__count {
      grid-column: 3 / -1;
    }
    .index__row {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--space-xs) var(--gap);
      padding-bottom: var(--space-l);
    }
    .index__title {
      grid-column: 1 / -1;
    }
    .index__medium {
      grid-column: 1;
    }
    .index__size {
      grid-column: 2;
    }
  }
</style>

<script>
  (() => {
    document.querySelectorAll('.index').forEach((root) => {
      const rows = [...root.querySelectorAll('.index__row')];
      const pictures = [...root.querySelectorAll('.index__picture')];
      const show = (id) => {
        rows.forEach((r) => r.classList.toggle('is-current', r.dataset.row === id));
        pictures.forEach((p) => p.classList.toggle('is-current', p.dataset.row === id));
      };
      rows.forEach((row) => {
        row.addEventListener('pointerenter', () => show(row.dataset.row));
        row.addEventListener('focus', () => show(row.dataset.row));
      });
    });
  })();
</script>

Night viewer

One picture centred on the navy ground with a numbered counter and Previous and Next words; clicking either half steps and crossfades.

Code React For Figma
<section class="viewer" aria-roledescription="carousel" aria-label="Weather Over the Mole, views">
  <div class="viewer__stage">
    <figure class="viewer__slide is-current" aria-label="1 of 4">
      <img class="viewer__img" src="assets/great-wave.jpg" alt="Sepia seascape: low sun behind piled clouds over a calm sea" width="1200" height="978">
      <figcaption class="viewer__caption"><em>Weather Over the Mole</em>, 2025–2026. Installation view, harbour shed</figcaption>
    </figure>
    <figure class="viewer__slide" aria-label="2 of 4">
      <img class="viewer__img" src="assets/solar-clouds.jpg" alt="Dark sea under a sky broken by bands of light" width="800" height="627" loading="lazy">
      <figcaption class="viewer__caption"><em>Weather Over the Mole</em>, 2025–2026. Still from the loop, minute eleven</figcaption>
    </figure>
    <figure class="viewer__slide" aria-label="3 of 4">
      <img class="viewer__img" src="assets/brig.jpg" alt="A small sailing boat on a pale grey sea" width="800" height="634" loading="lazy">
      <figcaption class="viewer__caption"><em>Weather Over the Mole</em>, 2025–2026. Still from the loop, minute thirty</figcaption>
    </figure>
    <figure class="viewer__slide" aria-label="4 of 4">
      <img class="viewer__img" src="assets/breaking-wave.jpg" alt="Surf breaking white over black rocks" width="650" height="800" loading="lazy">
      <figcaption class="viewer__caption"><em>Weather Over the Mole</em>, 2025–2026. Detail of the lamp housing</figcaption>
    </figure>
    <button class="viewer__half viewer__half--prev" type="button" aria-label="Previous view"></button>
    <button class="viewer__half viewer__half--next" type="button" aria-label="Next view"></button>
  </div>

  <div class="viewer__controls">
    <button class="viewer__word" type="button" data-step="-1">Previous</button>
    <p class="viewer__count" aria-live="polite"><span class="viewer__now">1</span> / <span class="viewer__total">4</span></p>
    <button class="viewer__word" type="button" data-step="1">Next</button>
  </div>
</section>

<style>
  .viewer {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: var(--space-m);
    height: clamp(560px, 50vw, 720px);
    padding: var(--space-l) var(--edge) var(--space-s);
    background: var(--night);
    color: var(--mist);
  }
  .viewer__stage {
    position: relative;
    min-height: 0;
  }
  .viewer__slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
    gap: var(--space-s);
    margin: 0;
    opacity: 0;
    transition: opacity var(--slow) var(--ease);
  }
  .viewer__slide.is-current {
    opacity: 1;
  }
  .viewer__img {
    width: 100%;
    height: 100%;
    max-width: 960px;
    object-fit: contain;
  }
  .viewer__caption {
    font-size: var(--text-s);
    line-height: var(--leading);
    text-align: center;
  }
  .viewer__half {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    padding: 0;
    border: 0;
    background: none;
  }
  .viewer__half--prev {
    left: 0;
    cursor: w-resize;
  }
  .viewer__half--next {
    right: 0;
    cursor: e-resize;
  }
  .viewer__controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .viewer__word {
    justify-self: start;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: 500 var(--text-nav) / var(--leading-tight) var(--font-grotesk);
    cursor: pointer;
    transition: color var(--quick) var(--ease);
  }
  .viewer__word + .viewer__count + .viewer__word {
    justify-self: end;
  }
  .viewer__word:hover,
  .viewer__word:focus-visible {
    color: var(--day);
  }
  .viewer__word:focus-visible,
  .viewer__half:focus-visible {
    outline: var(--line) solid var(--mist);
    outline-offset: -2px;
  }
  .viewer__count {
    margin: 0;
    color: var(--mist-soft);
    font-size: var(--text-s);
    font-variant-numeric: tabular-nums;
  }

  @media (max-width: 40rem) {
    .viewer {
      height: clamp(480px, 140vw, 600px);
    }
  }
</style>

<script>
  (() => {
    document.querySelectorAll('.viewer').forEach((root) => {
      const slides = [...root.querySelectorAll('.viewer__slide')];
      const now = root.querySelector('.viewer__now');
      let index = 0;
      const go = (step) => {
        slides[index].classList.remove('is-current');
        index = (index + step + slides.length) % slides.length;
        slides[index].classList.add('is-current');
        if (now) now.textContent = String(index + 1);
      };
      root.querySelector('.viewer__half--prev')?.addEventListener('click', () => go(-1));
      root.querySelector('.viewer__half--next')?.addEventListener('click', () => go(1));
      root.querySelectorAll('.viewer__word').forEach((button) => {
        button.addEventListener('click', () => go(Number(button.dataset.step)));
      });
      root.addEventListener('keydown', (event) => {
        if (event.key === 'ArrowLeft') go(-1);
        if (event.key === 'ArrowRight') go(1);
      });
    });
  })();
</script>

Info sheet

Short biography and statement in columns two and three, grotesk contacts below, a portrait in the last column with a tiny credit.

Code React For Figma
<section class="info" aria-labelledby="info-heading">
  <h2 class="info__heading" id="info-heading">Info</h2>

  <p class="info__bio">Ottilie Brask is a photographer and printer working with long exposures of open water, and a founding member of the <a class="info__inline" href="#">Low Tide Press</a> cooperative, based on a small harbour on the north coast.</p>

  <ul class="info__contacts">
    <li><a class="info__contact" href="#">studio@example.com</a></li>
    <li><a class="info__contact" href="#">Instagram</a></li>
  </ul>

  <p class="info__statement">I photograph water because it refuses to hold still for a picture. Each print is an hour folded into a sheet of paper: what the sea did, slowly, while I stood and waited for the light to arrive and leave again.</p>

  <figure class="info__portrait">
    <img class="info__img" src="assets/portrait.jpg" alt="A woman in a pale dress seated in profile, an old albumen portrait" width="659" height="800" loading="lazy">
    <figcaption class="info__credit">Portrait, albumen print, 1867</figcaption>
  </figure>
</section>

<style>
  .info {
    display: grid;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    grid-template-rows: auto auto 1fr auto;
    gap: var(--space-xl) var(--gap);
    min-height: clamp(560px, 50vw, 720px);
    padding: var(--space-l) var(--edge) var(--section-space);
    background: var(--day);
    color: var(--ink);
  }
  .info__heading {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font: 500 var(--text-nav) / var(--leading) var(--font-grotesk);
  }
  .info__bio,
  .info__statement {
    margin: 0;
    font-size: var(--text-m);
    line-height: var(--leading);
  }
  .info__bio {
    grid-column: 2 / span 2;
    grid-row: 1;
  }
  .info__statement {
    grid-column: 2 / span 2;
    grid-row: 3;
    align-self: end;
  }
  .info__inline {
    color: inherit;
    text-decoration-thickness: var(--line);
    text-underline-offset: 2px;
  }
  .info__contacts {
    grid-column: 2 / span 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .info__contact {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    font: 500 var(--text-nav) / var(--leading-tight) var(--font-grotesk);
    text-decoration: none;
    overflow-wrap: anywhere;
  }
  .info__contact:hover,
  .info__inline:hover {
    color: var(--ink-soft);
  }
  .info__contact:focus-visible,
  .info__inline:focus-visible {
    outline: var(--line) solid var(--ink);
    outline-offset: 2px;
  }
  .info__portrait {
    grid-column: 6;
    grid-row: 1 / span 3;
    margin: 0;
  }
  .info__img {
    width: 100%;
    height: auto;
    aspect-ratio: 659 / 800;
    object-fit: cover;
  }
  .info__credit {
    margin-top: var(--space-xs);
    font-size: var(--text-s);
    line-height: var(--leading);
  }

  @media (max-width: 48rem) {
    .info {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: none;
      gap: var(--space-l) var(--gap);
      min-height: 0;
    }
    .info__heading { grid-column: 1 / -1; grid-row: auto; }
    .info__portrait { grid-column: 1 / span 1; grid-row: auto; }
    .info__bio,
    .info__contacts,
    .info__statement { grid-column: 1 / -1; grid-row: auto; }
  }
</style>

Style

  • --night #080f31
  • --night-deep #040820
  • --night-swell #16224f
  • --mist #aaaaaa
  • --mist-soft #6c7189
  • --day #ffffff
  • --wall #f1f1ef
  • --mat #fbfbfa
  • --ink #464649
  • --ink-soft #8d8d91
  • --rule #d9d9dc
  • --glint #f4a640
  • --glint-core #ffe2a6

Type

  • Source Serif 4 for nearly all text: statements, captions, reading copy, stands in for Suisse Works, a sharp contemporary text serif set small at 15px and 12px
  • Inter Tight for nav words, contacts and buttons, stands in for Neue Haas Grotesk Text at weight 500, a Helvetica-like grotesk used only for things you click

Motion

  • The home's water is a canvas loop: dark swells drift slowly and clusters of orange glints flicker along their crests; it stops off screen and is drawn still under reduced motion.
  • Captions crossfade in 450ms when a different picture or row is pointed at.
  • The viewer crossfades one picture into the next over 900ms when stepped.
  • The hairline index toggle opens its panel by fading and sliding it down 8px in 200ms.

Rules

  • Everything snaps to six equal columns with 16px edges and gutters; text starts on a column line, never centred in a column.
  • Text is tiny: 15px serif for reading, 12px for footnotes and credits, 14.25px medium grotesk only for nav words.
  • Two grounds: deep navy night with grey text for the opening, white day with charcoal text for the work.
  • One statement at a time, centred and small, with an asterisk pointing to a footnote pinned in a corner.
  • Pictures hang in a single row of equal tiles, alternating a framed print on a pale wall with a close crop of it.
  • Large empty bands separate the few things on a screen; no rules, no boxes, no corners, no colour outside the pictures and the glints.
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&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;1,8..60,400&display=swap");

:root {
  --night: #080f31; /* page ground at night: the home, the viewer, the water */
  --night-deep: #040820; /* darker trough of the water drawing */
  --night-swell: #16224f; /* lit crest of the water drawing */
  --mist: #aaaaaa; /* text on the night ground */
  --mist-soft: #6c7189; /* second-level text on the night ground */
  --day: #ffffff; /* page ground by day: work, index, info */
  --wall: #f1f1ef; /* the pale wall a framed print hangs on */
  --mat: #fbfbfa; /* the white mat and frame around a print */
  --ink: #464649; /* main text by day */
  --ink-soft: #8d8d91; /* captions and second-level text by day */
  --rule: #d9d9dc; /* hairline rule by day */
  --glint: #f4a640; /* light glinting on the night water */
  --glint-core: #ffe2a6; /* hot centre of a glint */

  --font-serif: "Source Serif 4", "Georgia", serif; /* nearly everything: statements, captions, reading copy */
  --font-grotesk: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* nav words, contacts and buttons only */

  --text-m: 15px; /* running serif text */
  --text-s: 12px; /* footnotes, credits, captions under pictures */
  --text-xs: 10px; /* counters and smallest marks */
  --text-nav: 14.25px; /* grotesk nav words */
  --text-l: clamp(17px, 1.6vw, 22px); /* the rare larger serif statement */
  --leading: 1.3; /* line height of the serif */
  --leading-tight: 1; /* line height of the grotesk words */

  --edge: 16px; /* side padding of every section */
  --gap: 16px; /* gutter between the six columns */
  --columns: 6; /* the grid every part snaps to */
  --space-xs: 4px; /* inside a caption */
  --space-s: 8px; /* between a picture and its credit */
  --space-m: 16px; /* between short blocks */
  --space-l: 48px; /* between groups */
  --space-xl: 120px; /* the large empty bands between rows */
  --section-space: 96px; /* air above and below a section */

  --line: 1px; /* hairline rules and the toggle's strokes */
  --radius: 0; /* every corner is square */
  --shadow-print: 0 1px 2px rgba(0, 0, 0, 0.08), 0 10px 24px rgba(0, 0, 0, 0.07); /* the only shadow: a framed print off the wall */

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1); /* default easing */
  --quick: 200ms; /* hover and press */
  --fade: 450ms; /* caption and picture crossfades */
  --slow: 900ms; /* the viewer's picture crossfade */
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--mist); font: 400 var(--text-m) / var(--leading) var(--font-serif); -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("night-water-footnote"), 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