kitbash Connect agent

Heat Reel

Minimal · 6 parts · film · video · studio

A white one-screen reel in a single bold uppercase grotesque: a huge tightly packed wordmark, small grey labels that step down like a staircase, client and deliverable titles that roll past with a soft blur, and a right-hand column of graded film clips that slides to keep the current one level with the titles. Suits film and production studios, photographers and agencies whose work is footage and who want the page to stay quiet around it.

Get pack Remix

Whole page

Parts

Wordmark masthead

A heavy wide wordmark across half the width, a 28px statement indented two columns, and a three-line nav whose current item carries a solid block. Studio grows the wordmark and statement to full width, Theme flips the masthead dark.

Code React For Figma
<header class="masthead">
  <a class="masthead__mark" href="#" aria-label="Hotwork, home">HOTWORK</a>
  <p class="masthead__lead">is a slow-cinema production house making films for workshops shaped by heat, hands, and patience.</p>
  <nav class="masthead__nav" aria-label="main">
    <button class="masthead__link is-current" type="button" data-layout="home" aria-current="page">Home<span class="masthead__marker" aria-hidden="true"></span></button>
    <button class="masthead__link" type="button" data-layout="studio">Studio<span class="masthead__marker" aria-hidden="true"></span></button>
    <button class="masthead__link masthead__link--theme" type="button" aria-pressed="false">Theme<span class="masthead__marker" aria-hidden="true"></span></button>
  </nav>
</header>

<style>
  .masthead {
    --masthead-ink: var(--ink);
    --masthead-soft: var(--ink-soft);
    --masthead-mark-size: 7.62vw;
    --masthead-lead-size: var(--text-lead);
    --masthead-col: calc((100cqw - 11 * var(--gutter)) / 12);
    --masthead-lead-pad: calc(var(--masthead-col) * 2 + 2 * var(--gutter));
    --masthead-lead-width: calc(var(--masthead-col) * 8 + 7 * var(--gutter));
    --masthead-nav-right: calc(100% / 3 + 12px);
    container-type: inline-size;
    position: relative;
    padding: var(--edge) var(--edge) var(--space-l);
    background: var(--paper);
    color: var(--masthead-ink);
    transition: background-color var(--time-fade) var(--ease-glide), color var(--time-fade) var(--ease-glide);
  }
  .masthead.is-dark {
    --masthead-ink: var(--night-ink);
    --masthead-soft: var(--night-soft);
    background: var(--night);
  }
  .masthead.is-open {
    --masthead-mark-size: 14.05vw;
    --masthead-lead-size: var(--text-lead-open);
    --masthead-lead-pad: 0px;
    --masthead-lead-width: calc(var(--masthead-col) * 10 + 9 * var(--gutter));
    --masthead-nav-right: var(--edge);
  }

  .masthead__mark {
    display: block;
    width: max-content;
    margin: 0 0 0 -0.055em;
    color: inherit;
    font-family: var(--font-mark);
    font-weight: var(--weight-mark);
    font-stretch: var(--stretch-mark);
    font-size: var(--masthead-mark-size);
    line-height: 0.74;
    letter-spacing: var(--tracking-mark);
    text-decoration: none;
    padding-top: 0.02em;
    transition: font-size var(--time-layout) var(--ease-snap), opacity var(--time-fade) var(--ease-glide);
  }
  .masthead__mark:hover { opacity: 0.92; }

  .masthead__lead {
    width: var(--masthead-lead-width);
    max-width: 100%;
    margin: 0.5em 0 0;
    padding-left: var(--masthead-lead-pad);
    font-size: var(--masthead-lead-size);
    line-height: var(--leading-lead);
    text-wrap: pretty;
    transition:
      padding-left var(--time-layout) var(--ease-snap),
      width var(--time-layout) var(--ease-snap),
      font-size var(--time-layout) var(--ease-snap);
  }

  .masthead__nav {
    position: absolute;
    top: var(--edge);
    right: var(--masthead-nav-right);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: right var(--time-layout) var(--ease-snap);
  }
  .masthead__link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-stretch: inherit;
    text-transform: inherit;
    line-height: var(--leading-link);
    cursor: pointer;
    transition: color var(--time-hover) var(--ease-glide);
  }
  .masthead__marker {
    display: block;
    width: 0;
    height: var(--marker-h);
    margin-left: 0;
    background: currentColor;
    transition: width var(--time-fade) var(--ease-snap), margin-left var(--time-fade) var(--ease-snap);
  }
  .masthead__link.is-current .masthead__marker,
  .masthead__link[aria-pressed="true"] .masthead__marker {
    width: var(--marker-w);
    margin-left: var(--space-s);
  }
  @media (hover: hover) {
    .masthead__link:hover { color: var(--masthead-soft); }
    .masthead__link:hover .masthead__marker { background: var(--masthead-ink); }
  }
  .masthead__link:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    outline: none;
  }
  .masthead__mark:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
  }

  @media (max-width: 54.6rem) {
    .masthead {
      --masthead-mark-size: 14.5vw;
      --masthead-lead-pad: 0px;
      --masthead-lead-width: 100%;
      display: grid;
      padding-bottom: var(--space-m);
    }
    .masthead.is-open { --masthead-mark-size: 14.5vw; --masthead-lead-size: clamp(18px, 5.4vw, 28px); }
    .masthead__lead { --masthead-lead-size: clamp(12px, 3.6vw, 14px); line-height: var(--leading-list); }
    .masthead.is-open .masthead__lead { --masthead-lead-size: clamp(18px, 5.4vw, 28px); }
    .masthead__nav {
      position: static;
      flex-direction: row;
      justify-content: flex-end;
      gap: var(--gutter);
      margin-top: var(--space-s);
    }
  }
  /* Touch: the three tight lines become rows a finger can hit. */
  @media (pointer: coarse), (max-width: 54.6rem) {
    .masthead__link { min-height: var(--tap); min-width: var(--tap); }
    .masthead__mark { min-height: var(--tap); }
  }
</style>

<script>
(() => {
  function setLayout(root, layout) {
    root.classList.toggle('is-open', layout === 'studio');
    for (const link of root.querySelectorAll('[data-layout]')) {
      const current = link.dataset.layout === layout;
      link.classList.toggle('is-current', current);
      if (current) link.setAttribute('aria-current', 'page');
      else link.removeAttribute('aria-current');
    }
  }

  function toggleTheme(root, button) {
    const dark = !root.classList.contains('is-dark');
    root.classList.toggle('is-dark', dark);
    button.setAttribute('aria-pressed', String(dark));
  }

  for (const root of document.querySelectorAll('.masthead')) {
    for (const link of root.querySelectorAll('[data-layout]')) {
      link.addEventListener('click', () => setLayout(root, link.dataset.layout));
    }
    root.querySelector('.masthead__mark').addEventListener('click', (event) => {
      event.preventDefault();
      setLayout(root, 'home');
    });
    const theme = root.querySelector('.masthead__link--theme');
    theme.addEventListener('click', () => toggleTheme(root, theme));
  }
})();
</script>

Film reel

The signature one-screen reel: a counting timecode, Client and Deliverables titles that roll and blur inside one-line windows, an index, a crossfading paragraph with a View project link, next and prev, and a column of drawn, graded film loops that slides to centre the current one. Clips, arrows, the wheel over the clips and swipes change film.

Code React For Figma
<section class="reel" aria-label="Selected films" aria-roledescription="carousel" tabindex="0">
  <div class="reel__copy">
    <p class="reel__time" aria-live="off"><span class="reel__now">00:00</span> / <span class="reel__total">01:42</span></p>

    <div class="reel__titles">
      <p class="reel__label">Client</p>
      <div class="reel__window reel__window--client"><div class="reel__track" data-reel="client"></div></div>
      <p class="reel__label reel__label--second">Deliverables</p>
      <div class="reel__window reel__window--work"><div class="reel__track" data-reel="work"></div></div>
    </div>

    <p class="reel__index" aria-live="polite"><span class="reel__count">01</span> / <span class="reel__of">06</span></p>

    <div class="reel__stack reel__stack--about" data-stack="about"></div>

    <div class="reel__steps">
      <span class="reel__step-label">Next</span>
      <div class="reel__stack reel__stack--next" data-stack="next"></div>
      <span class="reel__step-label reel__step-label--prev">Prev</span>
      <div class="reel__stack reel__stack--prev" data-stack="prev"></div>
    </div>
  </div>

  <div class="reel__column">
    <div class="reel__clips"></div>
  </div>
</section>

<style>
  .reel {
    --reel-col: calc((100cqw - 2 * var(--edge) - 11 * var(--gutter)) / 12);
    --reel-step: 56px;
    container-type: inline-size;
    --reel-h: calc(var(--text-title) * var(--leading-title));
    --reel-small-h: calc(var(--text) * 1.3);
    position: relative;
    height: var(--stage);
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    outline: none;
    opacity: 0;
    animation: reel-fade-in var(--time-fade) var(--ease-glide) var(--time-fade) forwards;
  }
  @keyframes reel-fade-in { to { opacity: 1; } }
  .reel:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }

  .reel p { margin: 0; }

  .reel__copy {
    position: absolute;
    inset: 0 auto 0 var(--edge);
    width: calc(var(--reel-col) * 8 + var(--gutter) * 7);
  }

  .reel__time {
    position: absolute;
    top: 36.67%;
    left: 0;
    width: calc(var(--reel-col) * 4 + var(--gutter) * 3);
    color: var(--ink-soft);
    text-align: center;
    font-variant-numeric: tabular-nums;
  }

  /* Two title reels set as a staircase: each label sits where the line above starts. */
  .reel__titles {
    position: absolute;
    top: calc(50% - var(--reel-h) - 4px);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: max-content max-content minmax(0, 1fr);
    column-gap: var(--space-s);
    row-gap: 8px;
    align-items: start;
  }
  .reel__label {
    padding-top: 0.12em;
    color: var(--ink-soft);
    line-height: 1;
  }
  .reel__label--second { grid-column: 2; }
  .reel__window {
    height: var(--reel-h);
    overflow: hidden;
  }
  .reel__window--client { grid-column: 2 / -1; }
  .reel__window--work { grid-column: 3; }
  .reel__track {
    display: flex;
    flex-direction: column;
    transform: translate3d(0, calc(var(--reel-h) * var(--offset, 0) * -1), 0);
    transition: transform var(--time-track) var(--ease-glide);
    backface-visibility: hidden;
  }
  .reel__item {
    flex: none;
    height: var(--reel-h);
    display: flex;
    align-items: center;
    margin: 0;
    font-size: var(--text-title);
    line-height: var(--leading-title);
    letter-spacing: var(--tracking-title);
    white-space: nowrap;
    opacity: 0;
    filter: blur(2px);
    transition: opacity var(--time-fade) var(--ease-snap), filter var(--time-fade) var(--ease-snap);
  }
  .reel__item.is-active { opacity: 1; filter: blur(0); }
  .reel.is-static .reel__track,
  .reel.is-static .reel__item,
  .reel.is-static .reel__clips { transition: none; }

  .reel__index {
    position: absolute;
    top: calc(50% - 0.65em);
    right: 0;
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
  }

  /* Crossfading stacks: every panel shares one cell, only the active one is visible. */
  .reel__stack { display: grid; }
  .reel__panel {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--time-swap) var(--ease-glide), visibility 0s linear var(--time-swap);
  }
  .reel__panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity var(--time-swap) var(--ease-glide), visibility 0s linear 0s;
  }

  .reel__stack--about {
    position: absolute;
    top: 61.33%;
    left: var(--reel-step);
    width: clamp(240px, 24cqw, 346px);
    align-items: start;
  }
  .reel__about { color: var(--ink-soft); text-wrap: pretty; }
  .reel__link,
  .reel__jump {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-stretch: inherit;
    text-transform: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--time-hover) var(--ease-glide);
  }
  .reel__link {
    min-height: var(--tap);
    margin-top: calc(var(--space-m) - (var(--tap) - 1lh) / 2);
    margin-bottom: calc((var(--tap) - 1lh) / -2);
  }
  @media (hover: hover) {
    .reel__link:hover,
    .reel__jump:hover { color: var(--ink-soft); }
  }
  .reel__link:focus-visible,
  .reel__jump:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    outline: none;
  }
  .reel__clip:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
  }

  .reel__steps {
    position: absolute;
    left: 0;
    bottom: var(--edge);
    display: grid;
    grid-template-columns: max-content max-content max-content;
    column-gap: 4px;
    line-height: var(--leading);
  }
  .reel__step-label { color: var(--ink-soft); }
  .reel__step-label--prev { grid-column: 2; }
  .reel__stack--next { grid-column: 2 / -1; }
  .reel__stack--prev { grid-column: 3; }

  /* Footage column: drawn clips stacked down the right third, the active one centred on the titles. */
  .reel__column {
    position: absolute;
    inset: 0 var(--edge) 0 auto;
    width: calc(var(--reel-col) * 4 + var(--gutter) * 3);
    overflow: hidden;
  }
  .reel__clips {
    display: flex;
    flex-direction: column;
    gap: var(--gutter);
    transform: translate3d(0, var(--shift, 0px), 0);
    transition: transform var(--time-track) var(--ease-glide);
    will-change: transform;
  }
  .reel__clip {
    position: relative;
    display: block;
    flex: none;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--film);
    cursor: pointer;
  }
  .reel__clip canvas { width: 100%; height: 100%; }
  .reel__veil {
    position: absolute;
    inset: 0;
    background: var(--ink-soft);
    pointer-events: none;
    transition: opacity var(--time-hover) var(--ease-glide) var(--time-swap);
  }
  .reel__clip.is-loaded .reel__veil { opacity: 0; }

  /* Phones and narrow tablets: one column, the clips become a sideways strip under the titles. */
  @media (max-width: 54.6rem) {
    .reel {
      --reel-h: calc(var(--text-title) * 0.92);
      --reel-indent: 54px;
      height: auto;
      display: flex;
      flex-direction: column;
      padding: var(--space-l) 0 var(--edge);
    }
    .reel__copy { display: contents; }
    .reel__time,
    .reel__titles,
    .reel__index,
    .reel__stack--about,
    .reel__steps,
    .reel__column {
      position: static;
      width: auto;
      inset: auto;
    }
    .reel__time { order: 1; text-align: center; }
    .reel__titles { order: 2; margin: var(--space-l) var(--edge) 0; }
    .reel__window--work {
      height: var(--reel-small-h);
      --reel-h: var(--reel-small-h);
    }
    .reel__window--work .reel__item {
      font-size: var(--text);
      letter-spacing: 0;
    }
    .reel__column { order: 3; margin: var(--space-l) 0 0; overflow: hidden; clip-path: inset(0 0 0 var(--reel-indent)); }
    .reel__clips {
      flex-direction: row;
      align-items: center;
      padding-left: var(--reel-indent);
      transform: translate3d(var(--shift, 0px), 0, 0);
    }
    .reel__clip { width: calc(100vw - 2 * var(--reel-indent)); }
    .reel__stack--about { order: 4; margin: var(--space-l) var(--reel-indent) 0; max-width: 34ch; }
    .reel__steps { order: 5; margin: var(--space-l) var(--edge) 0; row-gap: 0; }
    .reel__jump { min-height: var(--tap); }
    .reel__step-label { align-self: center; }
    .reel__index { order: 6; margin-top: var(--space-m); text-align: center; }
  }

  @media (prefers-reduced-motion: reduce) {
    .reel { animation: none; opacity: 1; }
    .reel__item { filter: none; }
  }
</style>

<script>
(() => {
  const FILMS = [
    { client: 'Ostra Ceramics', work: 'Direction + Film + Sound', seconds: 102, ratio: 16 / 9, scene: 'wheel',
      about: 'A slow film for a three-person pottery on the salt marsh, cut to the turn of the wheel and fired in one long take.' },
    { client: 'Vell Foundry', work: 'Creative + Production + Post', seconds: 130, ratio: 2, scene: 'pour',
      about: 'Pour-day footage for a bell foundry, shot at a hundred and twenty frames over one night of casting.' },
    { client: 'Pale Glassworks', work: 'Film + Stills', seconds: 48, ratio: 4 / 3, scene: 'glass',
      about: 'Short loops of the gather, the blow and the slow cool, made for the studio shop and its winter catalogue.' },
    { client: 'Brisa Tileworks', work: 'Strategy + Campaign + Edit', seconds: 65, ratio: 16 / 9, scene: 'tiles',
      about: 'An overhead series for a tile maker, one glaze to a film, built to sit quietly behind every product page.' },
    { client: 'Marrow Forge', work: 'Production + Post', seconds: 380, ratio: 2.1, scene: 'forge',
      about: 'A short documentary on a smith who still makes every hinge and latch for the old town by hand.' },
    { client: 'Low Tide Bakehouse', work: 'Creative + Production + Post', seconds: 36, ratio: 3 / 2, scene: 'oven',
      about: 'Morning films from a wood-fired bakery, made to open the shop site before the first loaf is out.' },
  ];
  const COPIES = 3;
  const FPS = 24;
  const still = matchMedia('(prefers-reduced-motion: reduce)');
  const narrow = matchMedia('(max-width: 54.6rem)');
  const pad = (n) => String(n).padStart(2, '0');
  const clock = (s) => `${pad(Math.floor(s / 60))}:${pad(Math.floor(s % 60))}`;
  const hash = (n) => { const x = Math.sin(n * 127.1 + 311.7) * 43758.5453; return x - Math.floor(x); };

  /* ---------- drawn footage: every clip is a small graded film loop ---------- */

  function makeGrain() {
    const tile = document.createElement('canvas');
    tile.width = tile.height = 128;
    const g = tile.getContext('2d');
    const img = g.createImageData(128, 128);
    for (let i = 0; i < img.data.length; i += 4) {
      const v = Math.random() * 255;
      img.data[i] = img.data[i + 1] = img.data[i + 2] = v;
      img.data[i + 3] = 255;
    }
    g.putImageData(img, 0, 0);
    return tile;
  }
  const GRAIN = makeGrain();

  function glow(c, x, y, r, stops) {
    const g = c.createRadialGradient(x, y, 0, x, y, r);
    stops.forEach(([at, color]) => g.addColorStop(at, color));
    c.fillStyle = g;
    c.fillRect(x - r, y - r, r * 2, r * 2);
  }

  function finish(c, w, h, t, warmth) {
    c.globalCompositeOperation = 'source-over';
    const v = c.createRadialGradient(w / 2, h / 2, Math.min(w, h) * 0.25, w / 2, h / 2, Math.hypot(w, h) * 0.62);
    v.addColorStop(0, 'rgba(0,0,0,0)');
    v.addColorStop(1, 'rgba(0,0,0,0.55)');
    c.fillStyle = v;
    c.fillRect(0, 0, w, h);
    c.globalCompositeOperation = 'soft-light';
    c.fillStyle = warmth;
    c.fillRect(0, 0, w, h);
    c.save();
    c.globalCompositeOperation = 'overlay';
    c.globalAlpha = 0.13;
    const frame = Math.floor(t * FPS);
    c.translate(-hash(frame) * 128, -hash(frame + 9) * 128);
    c.fillStyle = c.createPattern(GRAIN, 'repeat');
    c.fillRect(0, 0, w + 128, h + 128);
    c.restore();
  }

  const SCENES = {
    wheel(c, w, h, t) {
      const bg = c.createRadialGradient(w * 0.5, h * 0.55, 0, w * 0.5, h * 0.55, w * 0.7);
      bg.addColorStop(0, '#5a463a'); bg.addColorStop(1, '#1b1410');
      c.fillStyle = bg; c.fillRect(0, 0, w, h);
      const cx = w * 0.52, cy = h * 0.56, R = h * 0.78, spin = t * 2.2;
      const head = c.createRadialGradient(cx - R * 0.2, cy - R * 0.3, R * 0.1, cx, cy, R);
      head.addColorStop(0, '#6c5647'); head.addColorStop(1, '#2e231d');
      c.fillStyle = head; c.beginPath(); c.arc(cx, cy, R, 0, Math.PI * 2); c.fill();
      for (let k = 0; k < 46; k++) {
        const r = R * (0.32 + hash(k) * 0.66), a = hash(k + 50) * 6.283 + spin * (1 - r / R * 0.15);
        c.strokeStyle = `rgba(214,180,150,${0.05 + hash(k + 90) * 0.12})`;
        c.lineWidth = 0.6 + hash(k + 7) * 2.2;
        c.beginPath(); c.arc(cx, cy, r, a, a + 0.25 + hash(k + 3) * 1.1); c.stroke();
      }
      const wob = Math.sin(spin) * h * 0.004, px = cx + wob, py = cy + Math.cos(spin) * h * 0.003;
      const outer = h * 0.3, inner = h * 0.205;
      const body = c.createRadialGradient(px - outer * 0.4, py - outer * 0.5, outer * 0.1, px, py, outer);
      body.addColorStop(0, '#d98a60'); body.addColorStop(0.7, '#b8603e'); body.addColorStop(1, '#6f3520');
      c.fillStyle = body; c.beginPath(); c.arc(px, py, outer, 0, Math.PI * 2); c.fill();
      const well = c.createRadialGradient(px + inner * 0.25, py + inner * 0.3, inner * 0.1, px, py, inner);
      well.addColorStop(0, '#2a1710'); well.addColorStop(0.75, '#4b2616'); well.addColorStop(1, '#8d4a2c');
      c.fillStyle = well; c.beginPath(); c.arc(px, py, inner, 0, Math.PI * 2); c.fill();
      for (let k = 0; k < 7; k++) {
        c.strokeStyle = `rgba(255,214,180,${0.07 + (k % 2) * 0.05})`; c.lineWidth = 1;
        c.beginPath(); c.arc(px, py, inner + (outer - inner) * (k + 0.5) / 7, 0, Math.PI * 2); c.stroke();
      }
      c.strokeStyle = 'rgba(255,236,214,0.55)'; c.lineWidth = h * 0.012; c.lineCap = 'round';
      c.beginPath(); c.arc(px, py, outer * 0.93, 3.6, 4.5); c.stroke();
      c.lineWidth = h * 0.006; c.beginPath(); c.arc(px, py, inner * 1.04, 0.5, 1.3); c.stroke();
      glow(c, w * 0.95, -h * 0.1, w * 0.6, [[0, 'rgba(255,190,130,0.22)'], [1, 'rgba(255,190,130,0)']]);
      finish(c, w, h, t, 'rgba(255,170,110,0.25)');
    },

    pour(c, w, h, t) {
      c.fillStyle = '#0d0b0a'; c.fillRect(0, 0, w, h);
      glow(c, w * 0.52, h * 0.9, w * 0.55, [[0, 'rgba(255,110,30,0.35)'], [1, 'rgba(255,110,30,0)']]);
      c.fillStyle = '#1a1411';
      c.beginPath(); c.moveTo(w * 0.1, -h * 0.05); c.lineTo(w * 0.36, h * 0.08); c.lineTo(w * 0.33, h * 0.2); c.lineTo(w * 0.05, h * 0.12); c.fill();
      c.strokeStyle = 'rgba(255,140,60,0.5)'; c.lineWidth = 2;
      c.beginPath(); c.moveTo(w * 0.36, h * 0.08); c.lineTo(w * 0.33, h * 0.2); c.stroke();
      c.globalCompositeOperation = 'lighter';
      const sway = Math.sin(t * 3.1) * w * 0.006;
      const stream = (width, color) => {
        c.strokeStyle = color; c.lineWidth = width; c.lineCap = 'round';
        c.beginPath(); c.moveTo(w * 0.345, h * 0.15);
        c.bezierCurveTo(w * 0.4, h * 0.2, w * 0.5 + sway, h * 0.4, w * 0.505 + sway, h * 0.8); c.stroke();
      };
      stream(h * 0.075, 'rgba(255,90,20,0.22)');
      stream(h * 0.04, 'rgba(255,140,50,0.6)');
      stream(h * 0.016, 'rgba(255,230,170,0.95)');
      glow(c, w * 0.505, h * 0.82, h * 0.32, [[0, 'rgba(255,240,200,0.95)'], [0.3, 'rgba(255,140,40,0.6)'], [1, 'rgba(255,80,20,0)']]);
      for (let i = 0; i < 80; i++) {
        const life = 0.6 + hash(i) * 0.9, p = ((t / life) + hash(i + 40)) % 1;
        const vx = (hash(i + 80) - 0.5) * w * 0.9, vy = -(0.4 + hash(i + 120)) * h * 1.3;
        const x = w * 0.505 + vx * p, y = h * 0.8 + vy * p + h * 1.6 * p * p;
        const dx = vx * 0.03, dy = (vy + h * 3.2 * p) * 0.03;
        c.strokeStyle = `rgba(255,${190 + hash(i + 3) * 60},120,${(1 - p) * 0.9})`;
        c.lineWidth = 1 + hash(i + 5) * 1.2;
        c.beginPath(); c.moveTo(x, y); c.lineTo(x - dx, y - dy); c.stroke();
      }
      c.globalCompositeOperation = 'source-over';
      c.fillStyle = '#120d0b';
      c.beginPath(); c.ellipse(w * 0.505, h * 0.98, w * 0.3, h * 0.12, 0, 0, Math.PI * 2); c.fill();
      c.strokeStyle = 'rgba(255,150,70,0.6)'; c.lineWidth = 1.5;
      c.beginPath(); c.ellipse(w * 0.505, h * 0.98, w * 0.3, h * 0.12, 0, Math.PI * 1.08, Math.PI * 1.92); c.stroke();
      for (let k = 0; k < 3; k++) {
        const p = ((t * 0.08) + k / 3) % 1;
        glow(c, w * (0.4 + k * 0.12), h * (0.7 - p * 0.9), h * (0.3 + p * 0.3), [[0, `rgba(140,120,110,${0.08 * (1 - p)})`], [1, 'rgba(140,120,110,0)']]);
      }
      finish(c, w, h, t, 'rgba(255,120,40,0.18)');
    },

    glass(c, w, h, t) {
      const bg = c.createLinearGradient(0, 0, w, h);
      bg.addColorStop(0, '#0c2427'); bg.addColorStop(1, '#1d4a4b');
      c.fillStyle = bg; c.fillRect(0, 0, w, h);
      for (let i = 0; i < 16; i++) {
        const x = (hash(i) * 1.2 - 0.1) * w + Math.sin(t * 0.3 + i) * w * 0.02;
        const y = (hash(i + 20) * 1.1 - 0.05) * h - ((t * 6 * (0.5 + hash(i + 4))) % (h * 1.2)) + h * 0.1;
        const r = h * (0.04 + hash(i + 30) * 0.1);
        c.fillStyle = `rgba(160,214,207,${0.04 + hash(i + 60) * 0.08})`;
        c.beginPath(); c.arc(x, (y + h * 1.2) % (h * 1.2) - h * 0.1, r, 0, Math.PI * 2); c.fill();
      }
      const ox = w * 0.6, oy = h * 0.48, breathe = 1 + Math.sin(t * 1.6) * 0.035;
      c.strokeStyle = '#07141a'; c.lineWidth = h * 0.045; c.lineCap = 'round';
      c.beginPath(); c.moveTo(-w * 0.05, h * 0.92); c.lineTo(ox - h * 0.12, oy + h * 0.06); c.stroke();
      c.strokeStyle = 'rgba(190,230,226,0.45)'; c.lineWidth = h * 0.008;
      c.beginPath(); c.moveTo(-w * 0.05, h * 0.9); c.lineTo(ox - h * 0.13, oy + h * 0.04); c.stroke();
      c.globalCompositeOperation = 'lighter';
      glow(c, ox, oy, h * 0.55 * breathe, [[0, 'rgba(255,150,60,0.4)'], [1, 'rgba(255,120,40,0)']]);
      c.save(); c.translate(ox, oy); c.rotate(Math.sin(t * 0.7) * 0.15); c.scale(1.12 * breathe, 0.94 / breathe);
      const orb = c.createRadialGradient(-h * 0.04, -h * 0.05, 0, 0, 0, h * 0.19);
      orb.addColorStop(0, 'rgba(255,248,224,1)'); orb.addColorStop(0.35, 'rgba(255,207,122,0.95)');
      orb.addColorStop(0.8, 'rgba(255,120,40,0.75)'); orb.addColorStop(1, 'rgba(200,60,20,0)');
      c.fillStyle = orb; c.beginPath(); c.arc(0, 0, h * 0.19, 0, Math.PI * 2); c.fill();
      c.restore();
      c.globalCompositeOperation = 'source-over';
      c.strokeStyle = 'rgba(255,255,255,0.5)'; c.lineWidth = h * 0.01; c.lineCap = 'round';
      c.beginPath(); c.arc(ox, oy, h * 0.15 * breathe, 3.7, 4.3); c.stroke();
      finish(c, w, h, t, 'rgba(120,200,190,0.16)');
    },

    tiles(c, w, h, t) {
      const glazes = ['#24408e', '#e9dfc8', '#8aa08a', '#c99a3e', '#e9dfc8', '#e9dfc8'];
      c.fillStyle = '#d6cfbf'; c.fillRect(0, 0, w, h);
      const s = h / 2.6, gap = Math.max(2, h * 0.012), ox = -((t * h * 0.05) % s), oy = -((t * h * 0.025) % s);
      const base = Math.floor(t * h * 0.05 / s), baseY = Math.floor(t * h * 0.025 / s);
      for (let gy = -1; gy < h / s + 2; gy++) {
        for (let gx = -1; gx < w / s + 2; gx++) {
          const id = (gx + base) * 31 + (gy + baseY) * 17;
          const color = glazes[Math.floor(hash(id) * glazes.length)];
          const x = ox + gx * s + gap / 2, y = oy + gy * s + gap / 2, size = s - gap;
          c.fillStyle = color; c.fillRect(x, y, size, size);
          const sheen = c.createLinearGradient(x, y, x + size, y + size);
          sheen.addColorStop(0, 'rgba(255,255,255,0.22)'); sheen.addColorStop(0.5, 'rgba(255,255,255,0)'); sheen.addColorStop(1, 'rgba(0,0,0,0.12)');
          c.fillStyle = sheen; c.fillRect(x, y, size, size);
          const motif = hash(id + 3);
          if (color === '#e9dfc8' && motif < 0.55) {
            c.fillStyle = motif < 0.3 ? '#24408e' : '#b8603e';
            const corner = Math.floor(hash(id + 7) * 4), cxp = x + (corner % 2) * size, cyp = y + Math.floor(corner / 2) * size;
            c.save(); c.beginPath(); c.rect(x, y, size, size); c.clip();
            c.beginPath(); c.arc(cxp, cyp, size * 0.62, 0, Math.PI * 2); c.fill();
            c.fillStyle = '#e9dfc8'; c.beginPath(); c.arc(cxp, cyp, size * 0.38, 0, Math.PI * 2); c.fill();
            c.restore();
          }
        }
      }
      const sweep = ((t * 0.09) % 1.8 - 0.4) * w;
      const band = c.createLinearGradient(sweep - w * 0.3, 0, sweep + w * 0.3, h * 0.3);
      band.addColorStop(0, 'rgba(255,250,235,0)'); band.addColorStop(0.5, 'rgba(255,250,235,0.28)'); band.addColorStop(1, 'rgba(255,250,235,0)');
      c.fillStyle = band; c.fillRect(0, 0, w, h);
      finish(c, w, h, t, 'rgba(255,220,170,0.2)');
    },

    forge(c, w, h, t) {
      c.fillStyle = '#0b0908'; c.fillRect(0, 0, w, h);
      const beat = (t % 2.2) / 2.2, flash = Math.exp(-beat * 9);
      const heat = 0.85 + Math.sin(t * 2.3) * 0.08 + flash * 0.2;
      glow(c, w * 0.66, h * 0.5, w * 0.6, [[0, `rgba(255,90,20,${0.28 * heat})`], [1, 'rgba(255,90,20,0)']]);
      c.fillStyle = '#16110e';
      c.beginPath(); c.moveTo(w * 0.32, h * 0.62); c.lineTo(w * 0.98, h * 0.62); c.lineTo(w * 0.86, h * 0.76); c.lineTo(w * 0.78, h * 0.76);
      c.lineTo(w * 0.78, h * 1.05); c.lineTo(w * 0.5, h * 1.05); c.lineTo(w * 0.5, h * 0.76); c.lineTo(w * 0.42, h * 0.76); c.closePath(); c.fill();
      c.strokeStyle = `rgba(255,140,60,${0.55 * heat})`; c.lineWidth = 1.5;
      c.beginPath(); c.moveTo(w * 0.32, h * 0.62); c.lineTo(w * 0.98, h * 0.62); c.stroke();
      const y = h * 0.555, thick = h * 0.07;
      const bar = c.createLinearGradient(0, 0, w * 0.74, 0);
      bar.addColorStop(0, '#2a0904'); bar.addColorStop(0.45, '#9e2512'); bar.addColorStop(0.8, '#ff7a1a'); bar.addColorStop(1, '#ffe3a3');
      c.fillStyle = bar; c.globalAlpha = Math.min(1, heat);
      c.beginPath(); c.roundRect(-w * 0.02, y - thick / 2, w * 0.76, thick, thick / 2); c.fill();
      c.globalAlpha = 1;
      c.strokeStyle = '#050403'; c.lineWidth = h * 0.03; c.lineCap = 'round';
      c.beginPath(); c.moveTo(-w * 0.02, y - thick * 0.9); c.lineTo(w * 0.2, y - thick * 0.45); c.stroke();
      c.beginPath(); c.moveTo(-w * 0.02, y + thick * 0.9); c.lineTo(w * 0.2, y + thick * 0.45); c.stroke();
      c.globalCompositeOperation = 'lighter';
      glow(c, w * 0.7, y, h * (0.25 + flash * 0.5), [[0, `rgba(255,240,200,${0.5 + flash * 0.5})`], [0.4, `rgba(255,140,40,${0.25 + flash * 0.4})`], [1, 'rgba(255,90,20,0)']]);
      if (beat < 0.5) {
        for (let i = 0; i < 46; i++) {
          const a = hash(i + Math.floor(t / 2.2) * 7) * Math.PI * 2, speed = (0.3 + hash(i + 11) * 0.9) * w;
          const p = beat * 2, x = w * 0.7 + Math.cos(a) * speed * p * 0.5, yy = y + Math.sin(a) * speed * p * 0.35 + h * 0.6 * p * p;
          c.strokeStyle = `rgba(255,${200 + hash(i) * 55},140,${(1 - p) * 0.95})`; c.lineWidth = 1.2;
          c.beginPath(); c.moveTo(x, yy); c.lineTo(x - Math.cos(a) * 6, yy - Math.sin(a) * 4); c.stroke();
        }
      }
      c.globalCompositeOperation = 'source-over';
      finish(c, w, h, t, 'rgba(255,110,40,0.2)');
    },

    oven(c, w, h, t) {
      c.fillStyle = '#24160f'; c.fillRect(0, 0, w, h);
      const rows = 9, bh = h / rows;
      for (let r = 0; r < rows; r++) {
        for (let k = -1; k < w / (bh * 2.2) + 1; k++) {
          const x = k * bh * 2.2 + (r % 2) * bh * 1.1, shade = 22 + hash(r * 40 + k) * 16;
          c.fillStyle = `rgb(${shade + 22},${shade},${shade - 6})`;
          c.fillRect(x + 1.5, r * bh + 1.5, bh * 2.2 - 3, bh - 3);
        }
      }
      const flick = 0.82 + Math.sin(t * 7.3) * 0.06 + Math.sin(t * 13.1) * 0.05 + Math.sin(t * 2.1) * 0.07;
      const ax = w * 0.5, base = h * 0.92, aw = w * 0.31, ah = h * 0.62;
      c.save();
      c.beginPath(); c.moveTo(ax - aw, base); c.lineTo(ax - aw, base - ah * 0.45);
      c.ellipse(ax, base - ah * 0.45, aw, ah * 0.55, 0, Math.PI, 0); c.lineTo(ax + aw, base); c.closePath();
      c.fillStyle = '#120a06'; c.fill();
      c.clip();
      const fire = c.createRadialGradient(ax + aw * 0.35, base - ah * 0.3, 0, ax + aw * 0.1, base - ah * 0.3, aw * 1.05);
      fire.addColorStop(0, `rgba(255,226,160,${flick})`); fire.addColorStop(0.28, `rgba(246,128,38,${flick * 0.9})`);
      fire.addColorStop(0.62, `rgba(140,40,10,${0.85 + flick * 0.1})`); fire.addColorStop(1, 'rgba(26,8,3,1)');
      c.fillStyle = fire; c.fillRect(ax - aw, base - ah * 1.1, aw * 2, ah * 1.1);
      c.globalCompositeOperation = 'lighter';
      for (let i = 0; i < 9; i++) {
        const p = ((t * (0.35 + hash(i) * 0.3)) + hash(i + 9)) % 1;
        const fx = ax + aw * (0.1 + hash(i + 3) * 0.7), fy = base - ah * (0.35 + p * 0.6);
        glow(c, fx, fy, aw * (0.18 + hash(i + 5) * 0.12) * (1 - p * 0.5), [[0, `rgba(255,170,70,${0.4 * (1 - p)})`], [1, 'rgba(255,120,40,0)']]);
      }
      c.globalCompositeOperation = 'source-over';
      for (let i = 0; i < 4; i++) {
        const lx = ax - aw * 0.66 + i * aw * 0.42, ly = base - ah * 0.08, lw = aw * 0.17, lh = ah * 0.16;
        c.fillStyle = '#4a2a14'; c.beginPath(); c.ellipse(lx, ly, lw, lh, 0, Math.PI, 0); c.fill();
        c.strokeStyle = `rgba(255,196,120,${0.75 * flick})`; c.lineWidth = h * 0.012;
        c.beginPath(); c.ellipse(lx, ly, lw * 0.96, lh * 0.94, 0, Math.PI * 1.15, Math.PI * 1.75); c.stroke();
        c.strokeStyle = 'rgba(30,14,6,0.6)'; c.lineWidth = h * 0.006;
        c.beginPath(); c.moveTo(lx - lw * 0.4, ly - lh * 0.55); c.lineTo(lx + lw * 0.2, ly - lh * 0.75); c.stroke();
      }
      c.restore();
      c.fillStyle = '#0d0805'; c.fillRect(0, base, w, h - base);
      glow(c, ax, base, aw * 1.4, [[0, `rgba(255,140,60,${0.25 * flick})`], [1, 'rgba(255,140,60,0)']]);
      finish(c, w, h, t, 'rgba(255,160,90,0.22)');
    },
  };

  /* ---------- the reel ---------- */

  function buildTrack(track, key) {
    for (let copy = 0; copy < COPIES; copy++) {
      for (const film of FILMS) {
        const item = document.createElement('p');
        item.className = 'reel__item';
        item.textContent = film[key];
        if (copy !== 1) item.setAttribute('aria-hidden', 'true');
        track.append(item);
      }
    }
  }

  function buildStacks(root) {
    const about = root.querySelector('[data-stack="about"]');
    const next = root.querySelector('[data-stack="next"]');
    const prev = root.querySelector('[data-stack="prev"]');
    FILMS.forEach((film, i) => {
      const panel = document.createElement('div');
      panel.className = 'reel__panel';
      panel.innerHTML = `<p class="reel__about"></p><a class="reel__link" href="#">View project</a>`;
      panel.querySelector('.reel__about').textContent = film.about;
      about.append(panel);
      for (const [stack, step] of [[next, 1], [prev, -1]]) {
        const target = (i + step + FILMS.length) % FILMS.length;
        const jump = document.createElement('div');
        jump.className = 'reel__panel';
        jump.innerHTML = `<button class="reel__jump" type="button"></button>`;
        jump.firstChild.textContent = FILMS[target].client;
        jump.firstChild.dataset.step = step;
        stack.append(jump);
      }
    });
  }

  function buildClips(root) {
    const holder = root.querySelector('.reel__clips');
    const clips = [];
    for (let copy = 0; copy < COPIES; copy++) {
      FILMS.forEach((film, i) => {
        const clip = document.createElement('button');
        clip.type = 'button';
        clip.className = 'reel__clip';
        clip.style.aspectRatio = film.ratio;
        clip.setAttribute('aria-label', `${film.client}, film`);
        if (copy !== 1) clip.tabIndex = -1;
        clip.innerHTML = '<canvas aria-hidden="true"></canvas><span class="reel__veil"></span>';
        clip.dataset.film = i;
        clip.dataset.slot = copy * FILMS.length + i;
        holder.append(clip);
        clips.push(clip);
      });
    }
    return clips;
  }

  function setUp(root) {
    const n = FILMS.length;
    const tracks = [...root.querySelectorAll('.reel__track')];
    tracks.forEach((track) => buildTrack(track, track.dataset.reel === 'client' ? 'client' : 'work'));
    buildStacks(root);
    const clips = buildClips(root);
    const column = root.querySelector('.reel__column');
    const holder = root.querySelector('.reel__clips');
    const now = root.querySelector('.reel__now');
    const total = root.querySelector('.reel__total');
    const count = root.querySelector('.reel__count');
    root.querySelector('.reel__of').textContent = pad(n);

    let slot = n;            // position in the tripled list; the middle copy is the real one
    let playedFrom = performance.now();
    let locked = false;

    const film = () => ((slot % n) + n) % n;
    const label = root.querySelector('.reel__label');
    const measureStep = () => root.style.setProperty('--reel-step', `${label.offsetWidth + parseFloat(getComputedStyle(label.parentElement).columnGap)}px`);
    measureStep();
    document.fonts.ready.then(measureStep);

    function centreClips() {
      const clip = clips[slot];
      if (narrow.matches) {
        holder.style.setProperty('--shift', `${-clip.offsetLeft + parseFloat(getComputedStyle(holder).paddingLeft)}px`);
      } else {
        holder.style.setProperty('--shift', `${column.clientHeight / 2 - clip.offsetTop - clip.offsetHeight / 2}px`);
      }
    }

    function render() {
      const i = film();
      for (const track of tracks) {
        track.style.setProperty('--offset', slot);
        [...track.children].forEach((item, k) => item.classList.toggle('is-active', k === slot));
      }
      for (const stack of root.querySelectorAll('.reel__stack')) {
        [...stack.children].forEach((panel, k) => {
          panel.classList.toggle('is-active', k === i);
          panel.inert = k !== i;
        });
      }
      count.textContent = pad(i + 1);
      total.textContent = clock(FILMS[i].seconds);
      centreClips();
    }

    function settle() {
      if (slot >= n && slot < 2 * n) return;
      root.classList.add('is-static');
      slot = film() + n;
      render();
      root.offsetHeight;
      root.classList.remove('is-static');
    }

    function go(step) {
      if (locked || step === 0) return;
      locked = true;
      slot += step;
      playedFrom = performance.now();
      now.textContent = '00:00';
      render();
      setTimeout(() => { settle(); locked = false; }, still.matches ? 30 : 640);
    }

    root.addEventListener('click', (event) => {
      const jump = event.target.closest('.reel__jump');
      if (jump) { go(Number(jump.dataset.step)); return; }
      const clip = event.target.closest('.reel__clip');
      if (clip) {
        const target = Number(clip.dataset.slot);
        if (target !== slot) go(target - slot);
      }
      if (event.target.closest('.reel__link')) event.preventDefault();
    });
    root.addEventListener('keydown', (event) => {
      const keys = { ArrowDown: 1, ArrowRight: 1, ArrowUp: -1, ArrowLeft: -1 };
      if (!(event.key in keys)) return;
      event.preventDefault();
      go(keys[event.key]);
    });
    let wheel = 0;
    column.addEventListener('wheel', (event) => {
      event.preventDefault();
      wheel += Math.abs(event.deltaY) > Math.abs(event.deltaX) ? event.deltaY : event.deltaX;
      if (Math.abs(wheel) < 40) return;
      go(Math.sign(wheel));
      wheel = 0;
    }, { passive: false });
    let touchX = null;
    column.addEventListener('touchstart', (event) => { touchX = event.touches[0].clientX; }, { passive: true });
    column.addEventListener('touchend', (event) => {
      if (touchX === null) return;
      const dx = event.changedTouches[0].clientX - touchX;
      if (Math.abs(dx) > 40) go(dx < 0 ? 1 : -1);
      touchX = null;
    });

    new ResizeObserver(() => { root.classList.add('is-static'); centreClips(); root.offsetHeight; root.classList.remove('is-static'); }).observe(column);
    narrow.addEventListener('change', render);

    root.classList.add('is-static');
    render();
    root.offsetHeight;
    root.classList.remove('is-static');

    /* footage: paint only clips on screen, at film cadence */
    const visible = new Set();
    const watch = new IntersectionObserver((entries) => {
      for (const entry of entries) entry.isIntersecting ? visible.add(entry.target) : visible.delete(entry.target);
    }, { root: column });
    const sizes = new Map();
    function fit(canvas) {
      const density = Math.min(2, devicePixelRatio || 1);
      const w = canvas.clientWidth, h = canvas.clientHeight;
      canvas.width = Math.round(w * density);
      canvas.height = Math.round(h * density);
      sizes.set(canvas, { w, h, density });
    }
    function paint(clip, seconds) {
      const canvas = clip.firstChild;
      if (!sizes.has(canvas)) fit(canvas);
      const { w, h, density } = sizes.get(canvas);
      const c = canvas.getContext('2d');
      c.setTransform(density, 0, 0, density, 0, 0);
      c.save();
      const frame = Math.floor(seconds * FPS);
      c.translate((hash(frame) - 0.5) * 0.6, (hash(frame + 3) - 0.5) * 0.6);
      SCENES[FILMS[clip.dataset.film].scene](c, w, h, seconds + Number(clip.dataset.film) * 7);
      c.restore();
    }
    const resize = new ResizeObserver((entries) => {
      for (const entry of entries) { fit(entry.target); paint(entry.target.parentElement, performance.now() / 1000); }
    });
    clips.forEach((clip, k) => {
      watch.observe(clip);
      resize.observe(clip.firstChild);
      const order = Math.abs(k - slot);
      setTimeout(() => clip.classList.add('is-loaded'), still.matches ? 0 : 520 + Math.min(order, 4) * 130);
    });

    let frame = 0, last = 0, running = false;
    function tick(ms) {
      frame = requestAnimationFrame(tick);
      if (ms - last < 1000 / FPS) return;
      last = ms;
      for (const clip of visible) paint(clip, ms / 1000);
      const played = (ms - playedFrom) / 1000;
      now.textContent = clock(played % FILMS[film()].seconds);
    }
    function start() { if (!running && !still.matches) { running = true; frame = requestAnimationFrame(tick); } }
    function stop() { running = false; cancelAnimationFrame(frame); }
    new IntersectionObserver(([entry]) => {
      if (entry.isIntersecting) { start(); requestAnimationFrame(() => visible.forEach((clip) => paint(clip, performance.now() / 1000))); }
      else stop();
    }).observe(root);
    requestAnimationFrame(() => visible.forEach((clip) => paint(clip, 4)));
  }

  document.querySelectorAll('.reel').forEach(setUp);
})();
</script>

Film player

A project page: index, client and deliverables, a 4px progress bar you can seek, and control pairs (play/pause, mute/unmute, minimize/fullscreen, time) where the live word is big. Shots slide sideways and widen; Project details fades the film for the brief and a full-width wordmark.

Code React For Figma
<section class="player" aria-label="Vell Foundry, Bell Night">
  <header class="player__head">
    <p class="player__index"><span class="player__shot-no">01</span> / <span class="player__shot-of">04</span></p>
    <div class="player__titles">
      <span class="player__label">Client</span>
      <h2 class="player__title">Vell Foundry</h2>
      <span class="player__label player__label--second">Deliverables</span>
      <p class="player__title player__title--work">Creative + Production + Post</p>
    </div>
  </header>

  <div class="player__bar" role="slider" tabindex="0" aria-label="Seek" aria-valuemin="0" aria-valuemax="48" aria-valuenow="0" aria-valuetext="00:00 of 00:48">
    <div class="player__fill"><span class="player__handle"></span></div>
  </div>

  <div class="player__controls">
    <button class="player__pair player__pair--play" type="button" aria-label="Pause"><span class="player__word player__word--off">Play</span><span class="player__word player__word--on">Pause</span></button>
    <button class="player__pair player__pair--sound" type="button" aria-label="Unmute"><span class="player__word player__word--off">Mute</span><span class="player__word player__word--on">Unmute</span></button>
    <button class="player__pair player__pair--size" type="button" aria-label="Fullscreen"><span class="player__word player__word--off">Minimize</span><span class="player__word player__word--on">Fullscreen</span></button>
    <p class="player__clock"><span class="player__now">00:00</span>&nbsp;/ <span class="player__total">00:48</span></p>
  </div>

  <div class="player__stage">
    <div class="player__aside">
      <button class="player__details" type="button" aria-expanded="false">
        <svg class="player__sign" viewBox="0 0 10 10" aria-hidden="true"><path class="player__sign-h" d="M1 4.25h8v1.5H1z"/><path class="player__sign-v" d="M4.25 1h1.5v8h-1.5z"/></svg>
        <span class="player__details-text"><span class="player__details-open">Project details</span><span class="player__details-close">Hide details</span></span>
      </button>
      <button class="player__return" type="button">Return</button>
    </div>

    <div class="player__info" inert>
      <p class="player__info-label">Info</p>
      <p class="player__info-text">Bell Night follows one casting at a family bell foundry, from the furnace lit at dusk to the last mould knocked out at dawn. Shot over a single night with two cameras and no added light, then cut to the toll of the finished bell.</p>
      <p class="player__info-label">Credits</p>
      <p class="player__info-text">Direction and camera: Ines Talor. Sound: Okke Brand. Grade: in house. Foundry: the Vell family, fourth generation.</p>
    </div>
    <p class="player__mark" aria-hidden="true">HOTWORK</p>

    <div class="player__strip">
      <div class="player__track"></div>
    </div>
  </div>
</section>

<style>
  .player {
    --player-col: calc((100cqw - 2 * var(--edge) - 11 * var(--gutter)) / 12);
    --player-span4: calc(var(--player-col) * 4 + var(--gutter) * 3);
    --player-span8: calc(var(--player-col) * 8 + var(--gutter) * 7);
    --player-full: calc(100cqw - 2 * var(--edge));
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    height: var(--stage);
    padding: var(--edge);
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
  }
  .player p, .player h2 { margin: 0; }

  .player__head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
  }
  .player__index { grid-column: 1 / 3; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
  .player__titles {
    grid-column: 3 / -1;
    display: grid;
    grid-template-columns: max-content max-content minmax(0, 1fr);
    column-gap: var(--space-s);
    row-gap: 8px;
    align-items: start;
  }
  .player__label { color: var(--ink-soft); line-height: 1; padding-top: 0.1em; }
  .player__label--second { grid-column: 2; }
  .player__title {
    grid-column: 2 / -1;
    font: inherit;
    font-stretch: inherit;
    font-size: var(--text-title);
    line-height: 0.7;
    letter-spacing: var(--tracking-title);
    padding-top: 0.03em;
  }
  .player__title--work { grid-column: 3; }

  /* Seek bar: grey rail, ink fill, a small handle that shows on hover. */
  .player__bar {
    position: relative;
    margin-top: clamp(32px, 4.4vw, 64px);
    height: var(--tap);
    margin-bottom: calc((var(--tap) - var(--bar)) / -2);
    translate: 0 calc((var(--tap) - var(--bar)) / -2);
    cursor: pointer;
    outline: none;
  }
  .player__bar::before,
  .player__fill {
    position: absolute;
    left: 0;
    top: 50%;
    height: var(--bar);
    translate: 0 -50%;
  }
  .player__bar::before { content: ""; right: 0; background: var(--ink-soft); }
  .player__fill { width: calc(var(--progress, 0) * 100%); background: var(--ink); }
  .player__handle {
    position: absolute;
    right: 0;
    top: 50%;
    width: 4px;
    height: 8px;
    translate: 0 -50%;
    background: var(--ink);
    opacity: 0;
    transition: opacity 0.25s var(--ease-glide);
  }
  .player__bar:hover .player__handle,
  .player__bar.is-dragging .player__handle,
  .player__bar:focus-visible .player__handle { opacity: 1; }
  .player__bar:focus-visible::before { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }

  /* Control pairs: the action you can take is big and ink, the other word small and grey. */
  .player__controls {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
    margin-top: var(--gutter);
  }
  .player__pair {
    display: flex;
    align-items: flex-start;
    gap: var(--space-s);
    min-height: var(--tap);
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-stretch: inherit;
    text-transform: inherit;
    cursor: pointer;
    white-space: nowrap;
  }
  .player__pair--play { grid-column: 1 / 4; justify-self: start; }
  .player__pair--sound { grid-column: 4 / 7; justify-self: start; }
  .player__pair--size { grid-column: 7 / 10; justify-self: end; }
  .player__clock { grid-column: 10 / 13; justify-self: end; display: flex; align-items: flex-start; color: var(--ink-soft); font-variant-numeric: tabular-nums; line-height: 1; }
  .player__total { margin-left: 4px; color: var(--ink); font-size: var(--text-control); line-height: var(--leading-control); }
  .player__word {
    color: var(--ink-soft);
    font-size: var(--text);
    line-height: 1;
    transition: color var(--time-hover) var(--ease-glide), font-size var(--time-hover) var(--ease-glide), line-height var(--time-hover) var(--ease-glide);
  }
  .player__pair:not(.is-alt) .player__word--on,
  .player__pair.is-alt .player__word--off { color: var(--ink); font-size: var(--text-control); line-height: var(--leading-control); }
  @media (hover: hover) {
    .player__pair:hover .player__word { color: var(--ink); }
  }
  .player__pair:focus-visible,
  .player__shot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .player__details:focus-visible,
  .player__return:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    outline: none;
  }

  /* Stage: shots slide in from the right and the current one widens; details fade over them. */
  .player__stage {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .player__aside {
    position: absolute;
    top: clamp(24px, 5vw, 72px);
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .player__details,
  .player__return {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-stretch: inherit;
    text-transform: inherit;
    line-height: var(--leading-list);
    cursor: pointer;
    transition: color var(--time-hover) var(--ease-glide);
  }
  .player__sign { width: 9px; height: 9px; flex: none; }
  .player__sign path { fill: currentColor; transition: fill var(--time-hover) var(--ease-glide), opacity var(--time-hover) var(--ease-glide); }
  .player__details-text { position: relative; display: grid; justify-items: end; }
  .player__details-open,
  .player__details-close { grid-area: 1 / 1; transition: opacity var(--time-hover) var(--ease-glide); }
  .player__details-close { opacity: 0; color: var(--ink-soft); }
  .player.is-details .player__details-open { opacity: 0; }
  .player.is-details .player__details-close { opacity: 1; }
  .player.is-details .player__sign-v { opacity: 0; }
  @media (hover: hover) {
    .player__details:hover .player__sign path { fill: var(--ink-soft); }
    .player.is-details .player__details:hover .player__details-close { color: var(--ink); }
    .player__return:hover { color: var(--ink-soft); }
  }

  .player__info {
    position: absolute;
    top: clamp(24px, 5vw, 72px);
    left: calc(var(--player-col) * 4 + var(--gutter) * 4);
    width: var(--player-span4);
    display: grid;
    gap: var(--space-s);
    opacity: 0;
    transition: opacity var(--time-hover) var(--ease-glide) 0s;
  }
  .player__info-label { color: var(--ink-soft); line-height: var(--leading-list); }
  .player__info-text { line-height: var(--leading-list); margin-bottom: var(--space-m) !important; text-wrap: pretty; }
  .player__mark {
    position: absolute;
    left: -0.05em;
    bottom: -0.03em;
    font-family: var(--font-mark);
    font-weight: var(--weight-mark);
    font-stretch: var(--stretch-mark);
    font-size: calc(var(--player-full) / 6.3);
    line-height: 0.74;
    letter-spacing: var(--tracking-mark);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--time-hover) var(--ease-glide) 0s;
  }
  .player.is-details .player__info,
  .player.is-details .player__mark { opacity: 1; transition-delay: 0.15s; }

  .player__strip { position: relative; }
  .player__track {
    display: flex;
    align-items: flex-end;
    gap: var(--gutter);
    transform: translate3d(calc(var(--shot, 0) * -1 * (var(--player-span4) + var(--gutter))), 0, 0);
    transition: transform var(--time-track) var(--ease-snap), opacity var(--time-hover) var(--ease-glide) 0.15s;
    will-change: transform;
  }
  .player.is-details .player__track { opacity: 0; transition: transform var(--time-track) var(--ease-snap), opacity var(--time-hover) var(--ease-glide) 0s; }
  .player__shot {
    position: relative;
    flex: 0 0 auto;
    width: var(--player-span4);
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    background: var(--film);
    cursor: pointer;
    transition: width var(--time-track) var(--ease-snap);
    will-change: width;
  }
  .player__shot.is-current { width: min(var(--player-span8), var(--player-room, 100cqw) * 16 / 9); cursor: default; }
  .player.is-full .player__shot.is-current { width: min(var(--player-full), var(--player-room, 100cqw) * 16 / 9); }
  .player.is-full .player__track { transform: translate3d(calc(var(--shot, 0) * -1 * (var(--player-span4) + var(--gutter))), 0, 0); }
  .player__shot canvas { width: 100%; height: 100%; }
  .player__veil {
    position: absolute;
    inset: 0;
    background: var(--ink-soft);
    pointer-events: none;
    transition: opacity var(--time-hover) var(--ease-glide) var(--time-swap);
  }
  .player__shot.is-loaded .player__veil { opacity: 0; }
  .player__cap {
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    color: var(--ink-soft);
    white-space: nowrap;
    line-height: 1;
    opacity: 0;
    transition: opacity var(--time-hover) var(--ease-glide);
  }
  @media (hover: hover) {
    .player__shot:not(.is-current):hover .player__cap { opacity: 1; }
  }

  @media (max-width: 54.6rem) {
    .player { height: auto; padding: var(--space-s); }
    .player__index { display: none; }
    .player__title--work { font-size: var(--text); line-height: var(--leading-list); letter-spacing: 0; padding-top: 0; }
    .player__titles { grid-column: 1 / -1; }
    .player__controls { grid-template-columns: 1fr 1fr; row-gap: var(--space-s); }
    .player__pair--play, .player__pair--sound, .player__pair--size, .player__clock { grid-column: auto; justify-self: start; }
    .player__clock { justify-self: end; }
    .player__pair--sound { justify-self: end; }
    .player__stage { margin-top: var(--space-l); }
    .player__aside { position: static; margin-bottom: var(--space-s); }
    .player__info { position: static; width: auto; display: none; }
    .player.is-details .player__info { display: grid; }
    .player__mark { display: none; }
    .player__strip { overflow: hidden; margin-inline: calc(var(--space-s) * -1); padding-inline: var(--space-s); }
    .player__shot, .player__shot.is-current, .player.is-full .player__shot.is-current { width: calc(100cqw - 2 * var(--space-s)); }
    .player__track, .player.is-full .player__track { transform: translate3d(calc(var(--shot, 0) * -1 * (100cqw - 2 * var(--space-s) + var(--gutter))), 0, 0); }
    .player.is-details .player__track { display: none; }
  }
  /* Touch: the stacked details and return lines grow to a finger's height. */
  @media (pointer: coarse), (max-width: 54.6rem) {
    .player__details, .player__return { min-height: var(--tap); min-width: var(--tap); }
  }
</style>

<script>
(() => {
  const SHOTS = [
    { scene: 'pour', name: 'The pour', length: 12 },
    { scene: 'crucible', name: 'Crucible', length: 12 },
    { scene: 'ingots', name: 'Cooling', length: 12 },
    { scene: 'yard', name: 'Dawn yard', length: 12 },
  ];
  const TOTAL = SHOTS.reduce((sum, shot) => sum + shot.length, 0);
  const FPS = 24;
  const still = matchMedia('(prefers-reduced-motion: reduce)');
  const pad = (n) => String(n).padStart(2, '0');
  const clock = (s) => `${pad(Math.floor(s / 60))}:${pad(Math.floor(s % 60))}`;
  const hash = (n) => { const x = Math.sin(n * 127.1 + 311.7) * 43758.5453; return x - Math.floor(x); };

  /* ---------- drawn footage ---------- */

  const GRAIN = (() => {
    const tile = document.createElement('canvas');
    tile.width = tile.height = 128;
    const g = tile.getContext('2d');
    const img = g.createImageData(128, 128);
    for (let i = 0; i < img.data.length; i += 4) {
      const v = Math.random() * 255;
      img.data[i] = img.data[i + 1] = img.data[i + 2] = v;
      img.data[i + 3] = 255;
    }
    g.putImageData(img, 0, 0);
    return tile;
  })();

  function glow(c, x, y, r, stops) {
    const g = c.createRadialGradient(x, y, 0, x, y, r);
    stops.forEach(([at, color]) => g.addColorStop(at, color));
    c.fillStyle = g;
    c.fillRect(x - r, y - r, r * 2, r * 2);
  }

  function finish(c, w, h, t, warmth) {
    const v = c.createRadialGradient(w / 2, h / 2, Math.min(w, h) * 0.25, w / 2, h / 2, Math.hypot(w, h) * 0.62);
    v.addColorStop(0, 'rgba(0,0,0,0)');
    v.addColorStop(1, 'rgba(0,0,0,0.55)');
    c.fillStyle = v;
    c.fillRect(0, 0, w, h);
    c.save();
    c.globalCompositeOperation = 'soft-light';
    c.fillStyle = warmth;
    c.fillRect(0, 0, w, h);
    c.globalCompositeOperation = 'overlay';
    c.globalAlpha = 0.13;
    const frame = Math.floor(t * FPS);
    c.translate(-hash(frame) * 128, -hash(frame + 9) * 128);
    c.fillStyle = c.createPattern(GRAIN, 'repeat');
    c.fillRect(0, 0, w + 128, h + 128);
    c.restore();
  }

  const SCENES = {
    pour(c, w, h, t) {
      c.fillStyle = '#0d0b0a'; c.fillRect(0, 0, w, h);
      glow(c, w * 0.6, h * 0.95, w * 0.5, [[0, 'rgba(255,110,30,0.4)'], [1, 'rgba(255,110,30,0)']]);
      c.fillStyle = '#1c1512';
      c.beginPath(); c.moveTo(w * 0.18, -h * 0.1); c.lineTo(w * 0.47, h * 0.06); c.lineTo(w * 0.44, h * 0.26); c.lineTo(w * 0.12, h * 0.16); c.fill();
      c.strokeStyle = 'rgba(255,150,70,0.55)'; c.lineWidth = 2;
      c.beginPath(); c.moveTo(w * 0.47, h * 0.06); c.lineTo(w * 0.44, h * 0.26); c.stroke();
      c.globalCompositeOperation = 'lighter';
      const sway = Math.sin(t * 2.7) * w * 0.004;
      const stream = (width, color) => {
        c.strokeStyle = color; c.lineWidth = width; c.lineCap = 'round';
        c.beginPath(); c.moveTo(w * 0.455, h * 0.2);
        c.bezierCurveTo(w * 0.52, h * 0.26, w * 0.6 + sway, h * 0.45, w * 0.605 + sway, h * 0.86); c.stroke();
      };
      stream(h * 0.08, 'rgba(255,90,20,0.22)');
      stream(h * 0.045, 'rgba(255,140,50,0.6)');
      stream(h * 0.018, 'rgba(255,232,176,0.95)');
      glow(c, w * 0.605, h * 0.88, h * 0.3, [[0, 'rgba(255,240,200,0.95)'], [0.3, 'rgba(255,140,40,0.6)'], [1, 'rgba(255,80,20,0)']]);
      for (let i = 0; i < 90; i++) {
        const life = 0.6 + hash(i) * 0.9, p = ((t / life) + hash(i + 40)) % 1;
        const vx = (hash(i + 80) - 0.5) * w * 0.7, vy = -(0.4 + hash(i + 120)) * h * 1.2;
        const x = w * 0.605 + vx * p, y = h * 0.86 + vy * p + h * 1.5 * p * p;
        const dx = vx * 0.03, dy = (vy + h * 3 * p) * 0.03;
        c.strokeStyle = `rgba(255,${190 + hash(i + 3) * 60},120,${(1 - p) * 0.9})`;
        c.lineWidth = 1 + hash(i + 5) * 1.2;
        c.beginPath(); c.moveTo(x, y); c.lineTo(x - dx, y - dy); c.stroke();
      }
      c.globalCompositeOperation = 'source-over';
      c.fillStyle = '#120d0b';
      c.beginPath(); c.ellipse(w * 0.605, h * 1.02, w * 0.24, h * 0.13, 0, 0, Math.PI * 2); c.fill();
      c.strokeStyle = 'rgba(255,150,70,0.6)'; c.lineWidth = 1.5;
      c.beginPath(); c.ellipse(w * 0.605, h * 1.02, w * 0.24, h * 0.13, 0, Math.PI * 1.08, Math.PI * 1.92); c.stroke();
      finish(c, w, h, t, 'rgba(255,120,40,0.18)');
    },

    crucible(c, w, h, t) {
      c.fillStyle = '#100c0a'; c.fillRect(0, 0, w, h);
      const cx = w * 0.5, cy = h * 0.52, R = h * 0.44;
      glow(c, cx, cy, R * 1.9, [[0, 'rgba(255,100,30,0.35)'], [1, 'rgba(255,100,30,0)']]);
      const ring = c.createRadialGradient(cx - R * 0.3, cy - R * 0.4, R * 0.2, cx, cy, R * 1.25);
      ring.addColorStop(0, '#4a3d35'); ring.addColorStop(1, '#1d1714');
      c.fillStyle = ring; c.beginPath(); c.arc(cx, cy, R * 1.22, 0, Math.PI * 2); c.fill();
      const melt = c.createRadialGradient(cx - R * 0.15, cy - R * 0.2, 0, cx, cy, R);
      melt.addColorStop(0, '#fff3cf'); melt.addColorStop(0.45, '#ffb04a'); melt.addColorStop(0.85, '#e8561a'); melt.addColorStop(1, '#7a1e08');
      c.fillStyle = melt; c.beginPath(); c.arc(cx, cy, R, 0, Math.PI * 2); c.fill();
      c.save(); c.beginPath(); c.arc(cx, cy, R * 0.98, 0, Math.PI * 2); c.clip();
      for (let i = 0; i < 14; i++) {
        const a = hash(i) * 6.283 + t * (0.1 + hash(i + 4) * 0.08), r = R * (0.35 + hash(i + 8) * 0.6);
        const x = cx + Math.cos(a) * r, y = cy + Math.sin(a) * r, size = R * (0.12 + hash(i + 6) * 0.2);
        glow(c, x, y, size, [[0, `rgba(90,30,10,${0.35 + hash(i + 2) * 0.3})`], [0.6, 'rgba(120,40,12,0.18)'], [1, 'rgba(120,40,12,0)']]);
      }
      const crust = c.createRadialGradient(cx, cy, R * 0.8, cx, cy, R);
      crust.addColorStop(0, 'rgba(110,32,10,0)'); crust.addColorStop(1, 'rgba(70,20,8,0.75)');
      c.fillStyle = crust; c.fillRect(cx - R, cy - R, R * 2, R * 2);
      c.restore();
      c.strokeStyle = 'rgba(255,240,210,0.6)'; c.lineWidth = h * 0.008;
      c.beginPath(); c.arc(cx, cy, R * 1.01, 3.5, 4.4); c.stroke();
      c.globalCompositeOperation = 'lighter';
      for (let k = 0; k < 3; k++) {
        const p = ((t * 0.12) + k / 3) % 1;
        glow(c, cx + Math.sin(t * 0.4 + k) * w * 0.1, cy - p * h * 0.9, h * (0.2 + p * 0.25), [[0, `rgba(255,160,90,${0.07 * (1 - p)})`], [1, 'rgba(255,160,90,0)']]);
      }
      c.globalCompositeOperation = 'source-over';
      finish(c, w, h, t, 'rgba(255,120,40,0.2)');
    },

    ingots(c, w, h, t) {
      const floor = c.createLinearGradient(0, 0, 0, h);
      floor.addColorStop(0, '#120f0d'); floor.addColorStop(0.55, '#1f1915'); floor.addColorStop(1, '#2e2520');
      c.fillStyle = floor; c.fillRect(0, 0, w, h);
      const count = 5, gap = w * 0.03, iw = (w * 0.9 - gap * (count - 1)) / count, ih = h * 0.22, y = h * 0.5, lip = ih * 0.35;
      for (let i = 0; i < count; i++) {
        const x = w * 0.05 + i * (iw + gap);
        const cool = Math.min(1, Math.max(0, t * 0.06 + i * 0.16 - 0.08));
        const r = Math.round(255 - cool * 175), g = Math.round(150 - cool * 100), b = Math.round(60 - cool * 18);
        c.fillStyle = '#0b0907';
        c.beginPath(); c.moveTo(x - iw * 0.05, y + ih * 1.12); c.lineTo(x + iw * 1.05, y + ih * 1.12); c.lineTo(x + iw * 0.97, y - lip * 0.2); c.lineTo(x + iw * 0.03, y - lip * 0.2); c.fill();
        const top = c.createLinearGradient(x, y - lip, x, y + lip);
        top.addColorStop(0, `rgb(${Math.min(255, r + 40)},${Math.min(255, g + 70)},${b + 70})`);
        top.addColorStop(1, `rgb(${r},${g},${b})`);
        c.fillStyle = top;
        c.beginPath(); c.moveTo(x + iw * 0.06, y - lip); c.lineTo(x + iw * 0.94, y - lip); c.lineTo(x + iw, y); c.lineTo(x, y); c.fill();
        const face = c.createLinearGradient(x, y, x, y + ih);
        face.addColorStop(0, `rgb(${r - 30},${Math.max(24, g - 50)},${Math.max(18, b - 20)})`);
        face.addColorStop(1, `rgb(${Math.max(30, r - 120)},${Math.max(22, g - 90)},${Math.max(18, b - 30)})`);
        c.fillStyle = face; c.fillRect(x, y, iw, ih);
        c.strokeStyle = `rgba(255,230,190,${0.5 * (1 - cool) + 0.08})`; c.lineWidth = 1;
        c.beginPath(); c.moveTo(x + iw * 0.06, y - lip); c.lineTo(x + iw * 0.94, y - lip); c.stroke();
        if (cool < 0.85) {
          c.globalCompositeOperation = 'lighter';
          glow(c, x + iw / 2, y, iw * 1.2, [[0, `rgba(255,120,40,${0.32 * (1 - cool)})`], [1, 'rgba(255,120,40,0)']]);
          glow(c, x + iw / 2, y + ih * 1.6, iw * 0.9, [[0, `rgba(255,110,40,${0.18 * (1 - cool)})`], [1, 'rgba(255,110,40,0)']]);
          c.globalCompositeOperation = 'source-over';
        }
        for (let k = 0; k < 2; k++) {
          const p = ((t * 0.18) + hash(i * 3 + k)) % 1;
          glow(c, x + iw * (0.3 + k * 0.4) + Math.sin(t + i) * iw * 0.1, y - lip - p * h * 0.42, iw * (0.3 + p * 0.45),
            [[0, `rgba(210,200,190,${0.14 * (1 - p) * (1 - cool * 0.6)})`], [1, 'rgba(210,200,190,0)']]);
        }
      }
      glow(c, w * 0.35, -h * 0.25, w * 0.7, [[0, 'rgba(150,175,205,0.16)'], [1, 'rgba(150,175,205,0)']]);
      finish(c, w, h, t, 'rgba(255,140,60,0.15)');
    },

    yard(c, w, h, t) {
      const sky = c.createLinearGradient(0, 0, 0, h * 0.75);
      sky.addColorStop(0, '#1a2333'); sky.addColorStop(0.6, '#5a4a52'); sky.addColorStop(1, '#d3804a');
      c.fillStyle = sky; c.fillRect(0, 0, w, h);
      glow(c, w * 0.78, h * 0.74, w * 0.45, [[0, 'rgba(255,190,120,0.55)'], [1, 'rgba(255,190,120,0)']]);
      for (let k = 0; k < 6; k++) {
        const p = ((t * 0.05) + k / 6) % 1;
        glow(c, w * 0.31 + p * w * 0.35 + Math.sin(t * 0.3 + k) * w * 0.02, h * 0.18 - p * h * 0.25, h * (0.12 + p * 0.3),
          [[0, `rgba(120,110,120,${0.35 * (1 - p)})`], [1, 'rgba(120,110,120,0)']]);
      }
      c.fillStyle = '#0e0d10';
      c.beginPath();
      c.moveTo(0, h * 0.72); c.lineTo(w * 0.12, h * 0.72); c.lineTo(w * 0.12, h * 0.5); c.lineTo(w * 0.3, h * 0.38); c.lineTo(w * 0.3, h * 0.12);
      c.lineTo(w * 0.33, h * 0.12); c.lineTo(w * 0.33, h * 0.38); c.lineTo(w * 0.48, h * 0.5); c.lineTo(w * 0.48, h * 0.58); c.lineTo(w * 0.66, h * 0.58);
      c.lineTo(w * 0.66, h * 0.72); c.lineTo(w, h * 0.72); c.lineTo(w, h); c.lineTo(0, h); c.closePath(); c.fill();
      const lamp = 0.85 + Math.sin(t * 9) * 0.04;
      c.fillStyle = `rgba(255,170,90,${lamp})`;
      for (let i = 0; i < 4; i++) c.fillRect(w * (0.15 + i * 0.07), h * 0.56, w * 0.028, h * 0.05);
      c.fillStyle = `rgba(255,140,60,${lamp})`; c.fillRect(w * 0.53, h * 0.62, w * 0.08, h * 0.1);
      c.globalCompositeOperation = 'lighter';
      glow(c, w * 0.57, h * 0.72, w * 0.18, [[0, `rgba(255,140,60,${0.45 * lamp})`], [1, 'rgba(255,140,60,0)']]);
      c.globalCompositeOperation = 'source-over';
      c.fillStyle = '#08080a'; c.fillRect(0, h * 0.86, w, h * 0.14);
      finish(c, w, h, t, 'rgba(255,170,110,0.18)');
    },
  };

  /* ---------- the player ---------- */

  function setUp(root) {
    const track = root.querySelector('.player__track');
    const shots = SHOTS.map((shot, i) => {
      const button = document.createElement('button');
      button.type = 'button';
      button.className = 'player__shot';
      button.setAttribute('aria-label', `Shot ${i + 1}, ${shot.name}`);
      button.innerHTML = '<canvas aria-hidden="true"></canvas><span class="player__veil"></span><span class="player__cap"></span>';
      button.querySelector('.player__cap').textContent = `${pad(i + 1)} ${shot.name}`;
      track.append(button);
      return button;
    });
    const starts = SHOTS.map((_, i) => SHOTS.slice(0, i).reduce((sum, shot) => sum + shot.length, 0));
    const bar = root.querySelector('.player__bar');
    const now = root.querySelector('.player__now');
    const shotNo = root.querySelector('.player__shot-no');
    const play = root.querySelector('.player__pair--play');
    const sound = root.querySelector('.player__pair--sound');
    const size = root.querySelector('.player__pair--size');
    const details = root.querySelector('.player__details');
    const info = root.querySelector('.player__info');
    root.querySelector('.player__shot-of').textContent = pad(SHOTS.length);
    const stage = root.querySelector('.player__stage');
    new ResizeObserver(() => root.style.setProperty('--player-room', `${stage.clientHeight}px`)).observe(stage);
    root.querySelector('.player__total').textContent = clock(TOTAL);

    let time = 0;
    let playing = !still.matches;
    let onScreen = false;
    let current = -1;

    const shotAt = (s) => starts.reduce((found, start, i) => (s >= start ? i : found), 0);

    function show() {
      const i = shotAt(time);
      if (i !== current) {
        current = i;
        root.style.setProperty('--shot', i);
        shots.forEach((shot, k) => shot.classList.toggle('is-current', k === i));
        shotNo.textContent = pad(i + 1);
      }
      bar.style.setProperty('--progress', time / TOTAL);
      bar.setAttribute('aria-valuenow', Math.floor(time));
      bar.setAttribute('aria-valuetext', `${clock(time)} of ${clock(TOTAL)}`);
      now.textContent = clock(time);
    }

    /* A pair shows its second word big by default; is-alt makes the first word the big one. */
    function setPair(pair, alt, labelAlt, labelDefault) {
      pair.classList.toggle('is-alt', alt);
      pair.setAttribute('aria-label', alt ? labelAlt : labelDefault);
    }

    play.addEventListener('click', () => { playing = !playing; setPair(play, !playing, 'Play', 'Pause'); last = 0; });
    sound.addEventListener('click', () => setPair(sound, !sound.classList.contains('is-alt'), 'Mute', 'Unmute'));
    size.addEventListener('click', () => {
      const full = !root.classList.contains('is-full');
      root.classList.toggle('is-full', full);
      setPair(size, full, 'Minimize', 'Fullscreen');
    });
    function setDetails(open) {
      root.classList.toggle('is-details', open);
      details.setAttribute('aria-expanded', String(open));
      info.inert = !open;
      track.inert = open;
    }
    details.addEventListener('click', () => setDetails(!root.classList.contains('is-details')));
    root.querySelector('.player__return').addEventListener('click', () => { setDetails(false); time = 0; show(); paintAll(); });
    shots.forEach((shot, i) => shot.addEventListener('click', () => { if (i !== current) { time = starts[i]; show(); paintAll(); } }));

    function seekTo(clientX) {
      const box = bar.getBoundingClientRect();
      time = Math.min(TOTAL - 0.01, Math.max(0, (clientX - box.left) / box.width * TOTAL));
      show();
      paintAll();
    }
    bar.addEventListener('pointerdown', (event) => {
      bar.setPointerCapture(event.pointerId);
      bar.classList.add('is-dragging');
      seekTo(event.clientX);
    });
    bar.addEventListener('pointermove', (event) => { if (bar.classList.contains('is-dragging')) seekTo(event.clientX); });
    bar.addEventListener('pointerup', () => bar.classList.remove('is-dragging'));
    bar.addEventListener('keydown', (event) => {
      const step = { ArrowRight: 2, ArrowLeft: -2, Home: -TOTAL, End: TOTAL }[event.key];
      if (step === undefined) return;
      event.preventDefault();
      time = Math.min(TOTAL - 0.01, Math.max(0, time + step));
      show();
      paintAll();
    });

    /* footage */
    const sizes = new Map();
    function fit(canvas) {
      const density = Math.min(2, devicePixelRatio || 1);
      canvas.width = Math.round(canvas.clientWidth * density);
      canvas.height = Math.round(canvas.clientHeight * density);
      sizes.set(canvas, { w: canvas.clientWidth, h: canvas.clientHeight, density });
    }
    function paint(i) {
      const canvas = shots[i].firstChild;
      if (!sizes.has(canvas)) fit(canvas);
      const { w, h, density } = sizes.get(canvas);
      if (!w || !h) return;
      const c = canvas.getContext('2d');
      const local = i === current ? time - starts[i] + 3 : 3 + i;
      c.setTransform(density, 0, 0, density, 0, 0);
      c.save();
      const frame = Math.floor(local * FPS);
      if (playing && i === current) c.translate((hash(frame) - 0.5) * 0.6, (hash(frame + 3) - 0.5) * 0.6);
      SCENES[SHOTS[i].scene](c, w, h, local);
      c.restore();
    }
    function paintAll() { shots.forEach((_, i) => paint(i)); }
    new ResizeObserver((entries) => {
      for (const entry of entries) { fit(entry.target); }
      paintAll();
    }).observe(track);
    shots.forEach((shot) => new ResizeObserver(() => { fit(shot.firstChild); paint(shots.indexOf(shot)); }).observe(shot.firstChild));

    let frame = 0, last = 0;
    function tick(ms) {
      frame = requestAnimationFrame(tick);
      if (ms - last < 1000 / FPS) return;
      const elapsed = last ? (ms - last) / 1000 : 0;
      last = ms;
      if (playing) {
        time = (time + elapsed) % TOTAL;
        show();
        paint(current);
      }
    }
    function run() {
      cancelAnimationFrame(frame);
      last = 0;
      if (onScreen && !still.matches) frame = requestAnimationFrame(tick);
    }
    new IntersectionObserver(([entry]) => { onScreen = entry.isIntersecting; run(); }).observe(root);

    if (!playing) setPair(play, true, 'Play', 'Pause');
    show();
    requestAnimationFrame(paintAll);
    shots.forEach((shot, i) => setTimeout(() => shot.classList.add('is-loaded'), still.matches ? 0 : 520 + i * 130));
  }

  document.querySelectorAll('.player').forEach(setUp);
})();
</script>

Services list

Services as a grey list with the current one marked by a sliding block and set in ink, its description crossfading in the right half, and a contact list below. Hover inks an item, a click moves the block.

Code React For Figma
<section class="services" aria-label="Studio">
  <h2 class="services__label">Services</h2>
  <ul class="services__list" role="tablist" aria-label="Services">
    <li><button class="services__item is-current" type="button" role="tab" aria-selected="true" aria-controls="services-copy-1" id="services-tab-1"><span class="services__marker" aria-hidden="true"></span>Treatment</button></li>
    <li><button class="services__item" type="button" role="tab" aria-selected="false" aria-controls="services-copy-2" id="services-tab-2" tabindex="-1"><span class="services__marker" aria-hidden="true"></span>Direction</button></li>
    <li><button class="services__item" type="button" role="tab" aria-selected="false" aria-controls="services-copy-3" id="services-tab-3" tabindex="-1"><span class="services__marker" aria-hidden="true"></span>Production</button></li>
    <li><button class="services__item" type="button" role="tab" aria-selected="false" aria-controls="services-copy-4" id="services-tab-4" tabindex="-1"><span class="services__marker" aria-hidden="true"></span>Grade + Sound</button></li>
    <li><button class="services__item" type="button" role="tab" aria-selected="false" aria-controls="services-copy-5" id="services-tab-5" tabindex="-1"><span class="services__marker" aria-hidden="true"></span>Archive + Licensing</button></li>
  </ul>
  <div class="services__copy">
    <p class="services__text is-current" role="tabpanel" id="services-copy-1" aria-labelledby="services-tab-1">Every film starts at the bench, not the camera. We spend a working day in the shop before we write a line, learning where the heat comes from, who does what and which sounds belong to the place. The treatment that follows is short, specific and built around the work itself.</p>
    <p class="services__text" role="tabpanel" id="services-copy-2" aria-labelledby="services-tab-2" hidden>We direct for patience. Long takes, natural light and hands doing what they do every day; nobody performs for us. A director stays with the film from the first visit to the final grade, so the voice of the piece never changes hands.</p>
    <p class="services__text" role="tabpanel" id="services-copy-3" aria-labelledby="services-tab-3" hidden>A small crew of three to six, chosen for the room. We plan around firing schedules and pour days, carry our own safety kit for hot shops and leave the floor exactly as we found it, swept.</p>
    <p class="services__text" role="tabpanel" id="services-copy-4" aria-labelledby="services-tab-4" hidden>Edit, grade and sound happen in house. We cut to the rhythm of the craft, grade for the colour of heat rather than for a look, and record every room for an hour of silence so the quiet parts sound true.</p>
    <p class="services__text" role="tabpanel" id="services-copy-5" aria-labelledby="services-tab-5" hidden>Every shoot ends as a library: loops, stills and stems named, tagged and delivered so the workshop can use them for years. We keep a mirror of it and license selects back to the maker, never to anyone else.</p>
  </div>

  <h2 class="services__label services__label--contact">Contact</h2>
  <ul class="services__list services__list--contact">
    <li><a class="services__link" href="#">Email</a></li>
    <li><a class="services__link" href="#">Vimeo</a></li>
    <li><a class="services__link" href="#">Letters</a></li>
  </ul>
</section>

<style>
  .services {
    --services-col: calc((100cqw - 11 * var(--gutter)) / 12);
    container-type: inline-size;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: var(--space-l);
    align-items: start;
    padding: var(--space-l) var(--edge);
    background: var(--paper);
    color: var(--ink);
    line-height: var(--leading-list);
  }
  .services__label {
    grid-column: 1 / 3;
    margin: 0;
    font: inherit;
    font-stretch: inherit;
    text-align: right;
  }
  .services__list {
    grid-column: 3 / 7;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .services__item,
  .services__link {
    display: flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink-soft);
    font: inherit;
    font-stretch: inherit;
    text-transform: inherit;
    text-align: left;
    text-decoration: none;
    line-height: var(--leading-list);
    cursor: pointer;
    transition: color var(--time-hover) var(--ease-snap);
  }
  .services__item.is-current { color: var(--ink); cursor: default; }
  @media (hover: hover) {
    .services__item:hover,
    .services__link:hover { color: var(--ink); }
  }
  /* Tight lists: focus is a heavy underline, so the ring never covers the next line. */
  .services__item:focus-visible,
  .services__link:focus-visible {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    outline: none;
  }
  .services__marker {
    flex: none;
    width: 0;
    height: var(--marker-h);
    margin-right: 0;
    background: var(--ink);
    transition: width var(--time-fade) var(--ease-snap), margin-right var(--time-fade) var(--ease-snap);
  }
  .services__item.is-current .services__marker {
    width: var(--marker-w);
    margin-right: 4px;
  }

  .services__copy {
    grid-column: 7 / 11;
    display: grid;
  }
  .services__text {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
    transition: opacity var(--time-swap) var(--ease-glide);
    text-wrap: pretty;
  }
  .services__text[hidden] { display: block; visibility: hidden; }
  .services__text.is-current { opacity: 1; }

  .services__label--contact { grid-row: 2; }
  .services__list--contact { grid-row: 2; }

  @media (max-width: 54.6rem) {
    .services {
      grid-template-columns: max-content minmax(0, 1fr);
      row-gap: var(--space-m);
      column-gap: var(--space-m);
    }
    .services__label { grid-column: 1; text-align: left; padding-top: 14px; }
    .services__list { grid-column: 2; }
    .services__copy { grid-column: 1 / -1; grid-row: 2; }
    .services__label--contact,
    .services__list--contact { grid-row: 3; }
  }
  /* Touch: list rows grow to a finger's height. */
  @media (pointer: coarse), (max-width: 54.6rem) {
    .services__item,
    .services__link { min-height: var(--tap); min-width: var(--tap); }
  }
</style>

<script>
(() => {
  function select(root, tab, focus) {
    const tabs = [...root.querySelectorAll('.services__item')];
    for (const other of tabs) {
      const on = other === tab;
      other.classList.toggle('is-current', on);
      other.setAttribute('aria-selected', String(on));
      other.tabIndex = on ? 0 : -1;
      const panel = root.querySelector(`#${other.getAttribute('aria-controls')}`);
      panel.classList.toggle('is-current', on);
      panel.hidden = !on;
    }
    if (focus) tab.focus();
  }

  for (const root of document.querySelectorAll('.services')) {
    const tabs = [...root.querySelectorAll('.services__item')];
    tabs.forEach((tab, i) => {
      tab.addEventListener('click', () => select(root, tab, false));
      tab.addEventListener('keydown', (event) => {
        const step = { ArrowDown: 1, ArrowRight: 1, ArrowUp: -1, ArrowLeft: -1 }[event.key];
        if (!step) return;
        event.preventDefault();
        select(root, tabs[(i + step + tabs.length) % tabs.length], true);
      });
    });
  }
})();
</script>

Film index

Every film as one row of number, client, deliverables, year and running time. Hovering a row greys the rest, grows the block beside it and crossfades its graded still in the right third.

Code React For Figma
<section class="index" aria-label="All films">
  <div class="index__head" aria-hidden="true">
    <span class="index__h index__h--no">No.</span>
    <span class="index__h index__h--client">Client</span>
    <span class="index__h index__h--work">Deliverables</span>
    <span class="index__h index__h--year">Year</span>
    <span class="index__h index__h--time">Runtime</span>
  </div>
  <ol class="index__rows">
    <li><a class="index__row is-current" href="#" data-still="wheel"><span class="index__no"><span class="index__marker" aria-hidden="true"></span>01</span><span class="index__client">Ostra Ceramics</span><span class="index__work">Direction + Film + Sound</span><span class="index__year">2026</span><span class="index__time">01:42</span></a></li>
    <li><a class="index__row" href="#" data-still="pour"><span class="index__no"><span class="index__marker" aria-hidden="true"></span>02</span><span class="index__client">Vell Foundry</span><span class="index__work">Creative + Production + Post</span><span class="index__year">2026</span><span class="index__time">02:10</span></a></li>
    <li><a class="index__row" href="#" data-still="glass"><span class="index__no"><span class="index__marker" aria-hidden="true"></span>03</span><span class="index__client">Pale Glassworks</span><span class="index__work">Film + Stills</span><span class="index__year">2025</span><span class="index__time">00:48</span></a></li>
    <li><a class="index__row" href="#" data-still="tiles"><span class="index__no"><span class="index__marker" aria-hidden="true"></span>04</span><span class="index__client">Brisa Tileworks</span><span class="index__work">Strategy + Campaign + Edit</span><span class="index__year">2025</span><span class="index__time">01:05</span></a></li>
    <li><a class="index__row" href="#" data-still="forge"><span class="index__no"><span class="index__marker" aria-hidden="true"></span>05</span><span class="index__client">Marrow Forge</span><span class="index__work">Production + Post</span><span class="index__year">2024</span><span class="index__time">06:20</span></a></li>
    <li><a class="index__row" href="#" data-still="oven"><span class="index__no"><span class="index__marker" aria-hidden="true"></span>06</span><span class="index__client">Low Tide Bakehouse</span><span class="index__work">Creative + Production + Post</span><span class="index__year">2024</span><span class="index__time">00:36</span></a></li>
  </ol>
  <figure class="index__frame" aria-hidden="true">
    <div class="index__stills">
      <div class="index__still index__still--wheel is-current"><i></i></div>
      <div class="index__still index__still--pour"><i></i></div>
      <div class="index__still index__still--glass"><i></i></div>
      <div class="index__still index__still--tiles"><i></i></div>
      <div class="index__still index__still--forge"><i></i></div>
      <div class="index__still index__still--oven"><i></i></div>
      <span class="index__grain"></span>
    </div>
    <figcaption class="index__caption"><span class="index__caption-label">Still</span> <span class="index__caption-text">Ostra Ceramics, 00:31</span></figcaption>
  </figure>
</section>

<style>
  .index {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    column-gap: var(--gutter);
    align-items: start;
    padding: var(--space-l) var(--edge);
    background: var(--paper);
    color: var(--ink);
  }
  .index__head,
  .index__row {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: baseline;
  }
  .index__head {
    grid-column: 1 / 9;
    padding-bottom: var(--space-m);
    color: var(--ink-soft);
  }
  .index__rows {
    grid-column: 1 / 9;
    grid-row: 2;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .index__h--no, .index__no { grid-column: 1; }
  .index__h--client, .index__client { grid-column: 2 / 5; }
  .index__h--work, .index__work { grid-column: 5 / 8; }
  .index__h--year, .index__year { grid-column: 8; justify-self: end; }
  .index__h--time, .index__time { grid-column: 8; justify-self: end; }
  .index__h--year, .index__year { display: none; }

  .index__row {
    min-height: var(--tap);
    color: inherit;
    text-decoration: none;
    transition: color var(--time-hover) var(--ease-glide);
  }
  .index__rows.is-pointing .index__row { color: var(--ink-soft); }
  .index__rows.is-pointing .index__row.is-current { color: var(--ink); }
  .index__row:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

  .index__no {
    display: flex;
    align-items: center;
    font-variant-numeric: tabular-nums;
  }
  .index__marker {
    flex: none;
    width: 0;
    height: var(--marker-h);
    margin-right: 0;
    background: currentColor;
    transition: width var(--time-fade) var(--ease-snap), margin-right var(--time-fade) var(--ease-snap);
  }
  .index__row.is-current .index__marker { width: var(--marker-w); margin-right: 4px; }
  .index__client {
    font-size: var(--text-control);
    line-height: var(--leading-control);
    letter-spacing: var(--tracking-title);
    padding-top: 6px;
  }
  .index__work { color: var(--ink-soft); transition: color var(--time-hover) var(--ease-glide); }
  .index__rows.is-pointing .index__row.is-current .index__work { color: var(--ink); }
  .index__time { font-variant-numeric: tabular-nums; }

  /* The still: one graded frame per film, drawn in CSS, crossfading in the right third. */
  .index__frame {
    grid-column: 9 / 13;
    grid-row: 1 / 3;
    margin: 0;
    position: sticky;
    top: var(--edge);
  }
  .index__stills {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink-soft);
  }
  .index__still {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--time-swap) var(--ease-glide);
  }
  .index__still.is-current { opacity: 1; }
  .index__still::before,
  .index__still::after,
  .index__still i { content: ""; position: absolute; display: block; }
  .index__still::after {
    /* vignette, same for every frame */
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
  }
  .index__grain {
    position: absolute;
    inset: 0;
    opacity: 0.32;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1.4 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .index__still--wheel {
    background:
      repeating-radial-gradient(circle at 52% 58%, rgba(214, 180, 150, 0.09) 0 1px, transparent 1px 9px),
      radial-gradient(circle at 52% 58%, #5a463a 0, #2e231d 62%, #1b1410 100%);
  }
  .index__still--wheel::before {
    left: 52%; top: 58%; width: 54%; aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    background:
      radial-gradient(circle closest-side at 53% 55%, #241309 0 38%, #3d1e10 58%, #7a3e24 68%, #c97a52 70.5%, transparent 71.5%),
      repeating-radial-gradient(circle closest-side, rgba(255, 214, 180, 0.14) 0 1px, transparent 1px 6px),
      radial-gradient(circle at 35% 30%, #d98a60, #b8603e 55%, #6f3520 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 18px 40px rgba(0, 0, 0, 0.35);
  }
  .index__still--wheel i {
    left: 52%; top: 58%; width: 50%; aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(255, 236, 214, 0.6);
    rotate: -60deg;
  }

  .index__still--pour {
    background:
      radial-gradient(ellipse at 50% 100%, rgba(255, 110, 30, 0.45), transparent 55%),
      var(--film);
  }
  .index__still--pour::before {
    left: 30%; top: 14%; width: 22%; height: 72%;
    border-top: 0.6em solid rgba(255, 196, 120, 0.95);
    border-right: 0.6em solid rgba(255, 196, 120, 0.95);
    border-radius: 0 100% 0 0;
    filter: drop-shadow(0 0 6px rgba(255, 140, 40, 0.9)) drop-shadow(0 0 18px rgba(255, 90, 20, 0.7));
  }
  .index__still--pour i {
    left: 20%; right: 20%; bottom: -12%; height: 26%;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 30%, #fff1c8 0, #ff9a3a 16%, #2a120a 42%, #120d0b 70%);
    box-shadow: 0 -2px 0 rgba(255, 150, 70, 0.5);
  }

  .index__still--glass {
    background:
      radial-gradient(circle at 20% 25%, rgba(160, 214, 207, 0.14) 0 6%, transparent 6.5%),
      radial-gradient(circle at 82% 78%, rgba(160, 214, 207, 0.1) 0 9%, transparent 9.5%),
      radial-gradient(circle at 62% 48%, rgba(255, 150, 60, 0.45), transparent 45%),
      linear-gradient(135deg, #0c2427, var(--lagoon));
  }
  .index__still--glass::before {
    left: 50%; top: 32%; width: 26%; aspect-ratio: 1.15;
    border-radius: 50%;
    background: radial-gradient(circle at 42% 40%, #fff8e0 0, #ffcf7a 35%, #ff7a28 75%, rgba(200, 60, 20, 0) 100%);
    box-shadow: 0 0 40px rgba(255, 150, 60, 0.6);
  }
  .index__still--glass i {
    left: -10%; top: 74%; width: 66%; height: 3.5%;
    background: #07141a;
    border-top: 1px solid rgba(190, 230, 226, 0.5);
    rotate: -24deg;
    transform-origin: 100% 50%;
  }

  .index__still--tiles {
    --tile: 25%;
    background:
      radial-gradient(circle at 0 0, var(--glaze) 0 30%, var(--bone) 31% 52%, var(--glaze) 53% 60%, transparent 61%) 0 0 / var(--tile) 33.34%,
      linear-gradient(var(--bone), var(--bone)) 0 0 / var(--tile) 33.34%,
      #d6cfbf;
  }
  .index__still--tiles::before {
    inset: 0;
    background:
      linear-gradient(90deg, #d6cfbf 3px, transparent 3px) 0 0 / var(--tile) 100%,
      linear-gradient(#d6cfbf 3px, transparent 3px) 0 0 / 100% 33.34%,
      linear-gradient(var(--sage), var(--sage)) 33.33% 50% / 25% 33.34% no-repeat,
      linear-gradient(#c99a3e, #c99a3e) 100% 100% / 25% 33.34% no-repeat;
  }
  .index__still--tiles i {
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 250, 235, 0.35) 48%, transparent 66%);
  }

  .index__still--forge {
    background:
      radial-gradient(ellipse at 68% 52%, rgba(255, 90, 20, 0.35), transparent 50%),
      #0b0908;
  }
  .index__still--forge::before {
    left: -2%; top: 47%; width: 74%; height: 7%;
    border-radius: 99px;
    background: linear-gradient(90deg, #2a0904, #9e2512 45%, var(--ember) 80%, var(--ember-hot));
    box-shadow: 0 0 22px rgba(255, 110, 30, 0.55);
  }
  .index__still--forge i {
    left: 32%; right: -4%; top: 58%; bottom: -2%;
    background: #16110e;
    clip-path: polygon(0 0, 100% 0, 85% 30%, 72% 30%, 72% 100%, 28% 100%, 28% 30%, 15% 30%);
    border-top: 2px solid rgba(255, 140, 60, 0.6);
  }

  .index__still--oven {
    background:
      linear-gradient(#24160f 2px, transparent 2px) 0 0 / 100% 11.1%,
      repeating-linear-gradient(90deg, #3a2419 0 22%, #24160f 22% 23%),
      #2e1c13;
  }
  .index__still--oven::before {
    left: 19%; right: 19%; top: 30%; bottom: 8%;
    border-radius: 50% 50% 0 0 / 70% 70% 0 0;
    background: radial-gradient(ellipse at 60% 35%, var(--ember-hot) 0, #f06e1e 38%, #3c1206 100%);
    box-shadow: 0 0 0 6px #120a06;
  }
  .index__still--oven i {
    left: 24%; right: 24%; bottom: 8%; height: 10%;
    background: radial-gradient(ellipse at 50% 100%, #4a2a14 0 64%, transparent 66%) 0 100% / 25% 100% repeat-x;
    filter: drop-shadow(0 -2px 0 rgba(255, 196, 120, 0.7));
  }

  .index__caption {
    margin-top: var(--space-s);
    color: var(--ink);
    line-height: var(--leading-list);
  }
  .index__caption-label { color: var(--ink-soft); }
  .index__caption-text { transition: opacity var(--time-swap) var(--ease-glide); }
  .index__caption-text.is-swapping { opacity: 0; transition-duration: 0.12s; }

  @media (max-width: 54.6rem) {
    .index { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--space-m); }
    .index__head { padding-bottom: 0; }
    .index__frame { grid-column: 1; grid-row: 1; position: static; max-width: 34rem; }
    .index__head, .index__rows { grid-column: 1; grid-row: auto; }
    .index__head, .index__row { grid-template-columns: 3.2em minmax(0, 1fr) max-content; row-gap: 2px; }
    .index__h--client, .index__client { grid-column: 2; }
    .index__h--work { display: none; }
    .index__work { grid-column: 2; grid-row: 2; }
    .index__h--time, .index__time { grid-column: 3; grid-row: 1; }
    .index__row { padding-block: 10px; }
    .index__marker { display: none; }
  }
  @media (min-width: 75rem) {
    .index__h--year, .index__year { display: block; grid-column: 7; justify-self: end; }
    .index__h--work, .index__work { grid-column: 5 / 7; }
  }
</style>

<script>
(() => {
  for (const root of document.querySelectorAll('.index')) {
    const list = root.querySelector('.index__rows');
    const rows = [...root.querySelectorAll('.index__row')];
    const stills = [...root.querySelectorAll('.index__still')];
    const caption = root.querySelector('.index__caption-text');
    const stamps = ['00:31', '01:12', '00:09', '00:44', '03:58', '00:21'];
    let swap = 0;

    function show(row) {
      if (row.classList.contains('is-current')) return;
      const i = rows.indexOf(row);
      rows.forEach((other) => other.classList.toggle('is-current', other === row));
      stills.forEach((still, k) => still.classList.toggle('is-current', k === i));
      caption.classList.add('is-swapping');
      clearTimeout(swap);
      swap = setTimeout(() => {
        caption.textContent = `${row.querySelector('.index__client').textContent}, ${stamps[i]}`;
        caption.classList.remove('is-swapping');
      }, 120);
    }

    for (const row of rows) {
      row.addEventListener('pointerenter', () => show(row));
      row.addEventListener('focus', () => { list.classList.add('is-pointing'); show(row); });
      row.addEventListener('blur', () => list.classList.remove('is-pointing'));
      row.addEventListener('click', (event) => { event.preventDefault(); show(row); });
    }
    list.addEventListener('pointerenter', () => list.classList.add('is-pointing'));
    list.addEventListener('pointerleave', () => list.classList.remove('is-pointing'));
  }
})();
</script>

Style

  • --ink #111729
  • --ink-soft #9fa1a9
  • --paper #ffffff
  • --night #1d1e20
  • --night-ink #ffffff
  • --night-soft #a4a4a5
  • --film #0d0b0a
  • --clay #b8603e
  • --clay-deep #3a2c24
  • --ember #ff7a1a
  • --ember-hot #ffe3a3
  • --glaze #24408e
  • --bone #e9dfc8
  • --sage #8aa08a
  • --lagoon #1d4a4b

Type

  • Archivo 700 at 91% width for every word: labels, titles, statement, controls, paragraphs, stands in for a licensed bold neo-grotesque (National 2 Bold) used at one weight in capitals; 91% width matches its measured word widths within 2%
  • Archivo 900 at 125% width, tracked -0.075em for the wordmark, stands in for a custom heavy, wide wordmark drawn with its letters touching

Motion

  • The page fades in over 0.35s after a 0.35s pause; every clip sits under a flat grey veil that fades out 0.2s after a 0.4s delay once its footage is ready, the current one first.
  • Changing film rolls both title reels 0.6s on cubic-bezier(0.25, 0.2, 0, 1) inside a one-line window while the leaving title blurs to 2px and fades and the arriving one sharpens, 0.35s on cubic-bezier(0.7, 0.2, 0, 1).
  • The footage column slides 0.6s on the same glide curve to centre the current clip on the titles; paragraphs, next and prev crossfade 0.4s; the timecode swaps instantly and counts up.
  • Links and buttons go from ink to grey in 0.2s; there are no underlines, no movement on hover.
  • A solid 27 by 10px block marks the current item; moving it shrinks one block to nothing and grows the next, 0.35s on cubic-bezier(0.7, 0.2, 0, 1).
  • Opening the studio view grows the wordmark to the full width, the statement to twice its size and slides the nav to the edge, all 0.5s on cubic-bezier(0.7, 0.2, 0, 1); the dark theme crossfades the page in 0.35s.
  • In the player each control is a pair of words: the live one big, the other small and grey; pressing swaps their sizes in 0.2s. Shots slide sideways 0.6s and the current shot widens as the others narrow.
  • Drawn footage runs at 24 frames a second with grain, a vignette and a faint gate weave, and stops when off screen.

Rules

  • One face, one weight, all capitals; hierarchy is size and two colours only: ink #111729 and grey #9fa1a9 on white.
  • Everything hangs on a 12 column grid with 16px margins and gutters; the right third is footage, the left two thirds are words.
  • Labels are 14px grey and sit right before what they name; a second line starts where the first line's value starts, so pairs step down in a staircase.
  • Titles are 43.2px with a line height under 0.8 and -0.025em tracking; the statement is 28px set solid; everything else is 14px.
  • The wordmark is the only black mass on the page and fills about half the width; it grows to the full width when the page has nothing else to show.
  • No rules, no boxes, no radii, no shadows; pictures are the only colour and sit edge to edge in their column with 16px between them.
  • The current thing is never underlined or coloured, it is marked by a small solid block or by being the only line not in grey.
base.css
/* Fonts: Archivo, a variable grotesque. At 91% width and 700 it matches the measured widths of the site's bold
   grotesque to within 2%; at 125% width and 900 it draws the heavy, tightly packed wordmark. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,700..900&display=swap");

:root {
  --ink: #111729; /* every primary word, the wordmark, the sliding block marker */
  --ink-soft: #9fa1a9; /* labels, running text, hovered links, the grey veil over footage still loading */
  --paper: #ffffff; /* page background */
  --night: #1d1e20; /* page background in the dark theme */
  --night-ink: #ffffff; /* primary words in the dark theme */
  --night-soft: #a4a4a5; /* labels in the dark theme */
  --film: #0d0b0a; /* letterbox black behind drawn footage */
  --clay: #b8603e; /* footage: thrown terracotta */
  --clay-deep: #3a2c24; /* footage: wet wheel head, oven brick */
  --ember: #ff7a1a; /* footage: molten metal, fire */
  --ember-hot: #ffe3a3; /* footage: white-hot core */
  --glaze: #24408e; /* footage: cobalt tile glaze */
  --bone: #e9dfc8; /* footage: cream glaze, flour */
  --sage: #8aa08a; /* footage: celadon glaze */
  --lagoon: #1d4a4b; /* footage: glass studio teal */

  --font-text: "Archivo", "Helvetica Neue", Arial, sans-serif; /* the one face for every word */
  --font-mark: "Archivo", "Arial Black", sans-serif; /* the wordmark, same family at full width */
  --stretch-text: 91%; /* text width that matches the site's grotesque */
  --stretch-mark: 125%; /* the wordmark is set fully wide */
  --weight-text: 700; /* every word is bold */
  --weight-mark: 900; /* the wordmark is black */

  --text: clamp(12px, 1.5vw, 14px); /* the house size: labels, links, paragraphs, all caps */
  --text-lead: clamp(12px, 2vw, 28px); /* the statement under the wordmark */
  --text-lead-open: clamp(20px, 3.75vw, 54px); /* the statement when the masthead opens wide */
  --text-control: clamp(20px, 2vw, 28px); /* the active word of a control pair */
  --text-title: clamp(26px, 3vw, 43.2px); /* client and deliverables titles */
  --leading: 1.29; /* paragraphs: 18px on 14px */
  --leading-list: 1.2; /* stacked menus and lists: 16.8px on 14px */
  --leading-link: 1.1; /* the three-line nav */
  --leading-lead: 1; /* statement: 28px on 28px */
  --leading-control: 0.85; /* the big word of a control pair */
  --leading-title: 0.787; /* titles: 34px on 43.2px, lines overlap a little */
  --tracking-title: -0.025em; /* titles: -1.08px on 43.2px */
  --tracking-mark: -0.075em; /* the wordmark's letters touch */

  --edge: 16px; /* page margin */
  --gutter: 16px; /* column gap of the 12 column grid */
  --space-s: 8px; /* label to value, marker to word */
  --space-m: 32px; /* paragraph to link */
  --space-l: 64px; /* between blocks */
  --tap: 44px; /* smallest tappable height */
  --marker-w: 27px; /* the solid block that marks the current item */
  --marker-h: 10px; /* its height */
  --bar: 4px; /* progress bar thickness */
  --stage: clamp(560px, 62.5vw, 900px); /* height of a one-screen part */

  --ease-snap: cubic-bezier(0.7, 0.2, 0, 1); /* layout, widths, the marker, blur on titles: slow start, hard landing */
  --ease-glide: cubic-bezier(0.25, 0.2, 0, 1); /* colour, fades and the sliding tracks */
  --time-hover: 0.2s; /* colour on hover, control words resizing */
  --time-fade: 0.35s; /* titles blurring in, theme swap, page fade in */
  --time-swap: 0.4s; /* paragraphs crossfading; the delay before a loaded clip shows */
  --time-layout: 0.5s; /* the masthead opening wide */
  --time-track: 0.6s; /* title reels and footage columns sliding */
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: var(--weight-text) var(--text)/var(--leading) var(--font-text);
  font-stretch: var(--stretch-text);
  text-transform: uppercase;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -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; transition-delay: 0s !important; }
}

For your agent

Use the kitbash MCP server at https://kitbash.me/mcp. Call get_pack("heat-reel"), 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