kitbash Connect agent

Red Hour

Experimental · 7 parts · clock · red · dark

A flat pure red field with a dot grid, a live analogue clock drawn as a soft black glow, and the date and time set as huge wide black numerals in the corners, opening onto near-black rooms of small grey text, mono caps tags and pastel accents. Suits one-person studios, sound and creative-coding portfolios, and anything that wants its first screen to be a toy.

Get pack Remix

Whole page

Parts

Red clock field

The signature first screen: red dot-grid field, a live analogue clock made of a blurred black glow with thin red and black hands, the hour, minute, month and day as huge wide numerals in the corners, a WORK link, a left side tab, a help note and round shuffle and sound buttons. Shuffle flips it to a red disc on black.

Code React For Figma
<section class="clock" aria-label="Morra studio, live clock">
  <div class="clock__field">
    <span class="clock__spot" aria-hidden="true"></span>
    <div class="clock__glow" aria-hidden="true"></div>
    <svg class="clock__face" viewBox="-100 -100 200 200" aria-hidden="true">
      <g class="clock__hand clock__hand--hour"><line x1="0" y1="8" x2="0" y2="-40"></line></g>
      <g class="clock__hand clock__hand--minute"><line x1="0" y1="10" x2="0" y2="-68"></line><circle cx="0" cy="-68" r="1.7"></circle></g>
      <g class="clock__hand clock__hand--second"><line x1="0" y1="18" x2="0" y2="-82"></line><circle cx="0" cy="-82" r="1.3"></circle><circle cx="0" cy="18" r="1.3"></circle></g>
      <circle class="clock__pin" cx="0" cy="0" r="2"></circle>
    </svg>

    <time class="clock__time" datetime="">
      <span class="clock__num clock__num--hour" data-clock="hour">10</span>
      <span class="clock__num clock__num--minute" data-clock="minute">20</span>
      <span class="clock__num clock__num--month" data-clock="month">NOV</span>
      <span class="clock__num clock__num--day" data-clock="day">18</span>
    </time>

    <a class="clock__work" href="#">Work</a>

    <a class="clock__tab" href="#" aria-label="Morra, shortlisted for a site of the day">
      <span class="clock__tab-mark">M.</span>
      <span class="clock__tab-word">Shortlist</span>
    </a>

    <button class="clock__help" type="button" aria-label="How the clock works" aria-expanded="false">
      <span class="clock__key clock__key--square">?</span>
    </button>
    <div class="clock__note" role="dialog" aria-label="How the clock works" hidden>
      <div class="clock__note-head">
        <button class="clock__note-close" type="button" aria-label="Close note"><span class="clock__note-x">&times;</span></button>
        <span class="clock__note-title">The hour room</span>
      </div>
      <p class="clock__note-text">This clock runs on your own time. Move across the dots, lean the glow, flip the room with the arrows. Press it again to come back.</p>
      <p class="clock__note-foot">Sound + type + time</p>
    </div>

    <div class="clock__keys">
      <button class="clock__btn clock__btn--flip" type="button" aria-label="Flip the room" aria-pressed="false">
        <span class="clock__key clock__key--square">
          <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 10a7 7 0 0 1 12.5-3.5M19 14a7 7 0 0 1-12.5 3.5"></path><path d="M18 3v4h-4M6 21v-4h4"></path></svg>
        </span>
      </button>
      <button class="clock__btn clock__btn--sound" type="button" aria-label="Ticking sound" aria-pressed="false">
        <span class="clock__key clock__key--round">
          <span class="clock__bars" aria-hidden="true"><i></i><i></i><i></i><i></i><i></i></span>
        </span>
      </button>
    </div>

    <span class="clock__down" aria-hidden="true">&darr;</span>
  </div>
</section>

<style>
  .clock {
    background: var(--signal);
  }
  .clock__field {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: clamp(560px, 75vw, 860px);
    background-color: var(--signal);
    background-image: radial-gradient(circle, var(--dot) calc(var(--dot-size) / 2), transparent calc(var(--dot-size) / 2 + 0.6px));
    background-size: var(--grid-step) var(--grid-step);
    background-position: center;
    color: var(--ink);
    transition: background-color var(--time) var(--ease);
  }

  /* The dot nearest the pointer grows. */
  .clock__spot {
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: var(--radius-round);
    background: var(--ink);
    opacity: 0;
    transition: opacity var(--quick) var(--ease), translate var(--quick) var(--ease);
  }
  .clock.is-pointing .clock__spot { opacity: 1; }

  .clock__glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(300px, 46vw, 640px);
    aspect-ratio: 1;
    translate: calc(-50% + var(--lean-x, 0px)) calc(-50% + var(--lean-y, 0px));
    border-radius: 50%;
    background: radial-gradient(circle, var(--ink) 0 34%, transparent 70%);
    filter: blur(6px);
    animation: clock-glow-in var(--intro) var(--ease) both;
    transition: translate var(--time) var(--ease), width var(--time) var(--ease), background var(--time) var(--ease), filter var(--time) var(--ease);
  }
  @keyframes clock-glow-in {
    from { opacity: 0.3; scale: 0.82; background: radial-gradient(circle, var(--signal-deep) 0 30%, transparent 70%); }
  }

  .clock__face {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(280px, 40vw, 560px);
    aspect-ratio: 1;
    translate: -50% -50%;
    overflow: visible;
    z-index: 1;
  }
  .clock__hand line {
    stroke-linecap: round;
  }
  .clock__hand--hour line { stroke: var(--signal); stroke-width: 0.9; }
  .clock__hand--minute line { stroke: var(--signal); stroke-width: 0.7; }
  .clock__hand--minute circle { fill: var(--signal); }
  .clock__hand--second line { stroke: var(--ink); stroke-width: 0.5; }
  .clock__hand--second circle { fill: var(--ink); }
  .clock__pin { fill: var(--signal); }

  .clock__num {
    position: absolute;
    z-index: 2;
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: var(--display-xl);
    line-height: 0.74;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
    animation: clock-num-in var(--time-slow) var(--ease) both;
    animation-delay: 0.7s;
  }
  .clock__num--hour { left: var(--edge); top: var(--edge); }
  .clock__num--minute { right: var(--edge); top: var(--edge); }
  .clock__num--month { left: var(--edge); bottom: var(--edge); }
  .clock__num--day { right: var(--edge); bottom: var(--edge); }
  @keyframes clock-num-in {
    from { opacity: 0; translate: 0 -0.12em; }
  }

  .clock__work {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: calc(var(--edge) - 12px);
    translate: -50% 0;
    display: grid;
    place-items: center;
    min-width: var(--tap);
    min-height: var(--tap);
    padding: 0 var(--space-s);
    color: inherit;
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: var(--display-s);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -0.01em;
  }
  .clock__work::after {
    content: "";
    position: absolute;
    left: var(--space-s);
    right: var(--space-s);
    bottom: 10px;
    height: 2px;
    background: currentColor;
    scale: 0 1;
    transition: scale var(--quick) var(--ease);
  }
  .clock__work:hover::after,
  .clock__work:focus-visible::after { scale: 1 1; }

  .clock__tab {
    position: absolute;
    z-index: 3;
    left: 0;
    top: 50%;
    translate: 0 -50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-s);
    width: 48px;
    padding: var(--space-s) 0 var(--space-m);
    background: var(--ink);
    color: var(--text);
    text-decoration: none;
    transition: width var(--quick) var(--ease);
  }
  .clock__tab:hover,
  .clock__tab:focus-visible { width: 56px; }
  .clock__tab-mark {
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: 15px;
  }
  .clock__tab-word {
    writing-mode: vertical-rl;
    rotate: 180deg;
    font-size: var(--text-xs);
    font-weight: 500;
  }

  .clock__help,
  .clock__btn,
  .clock__note-close {
    display: grid;
    place-items: center;
    width: var(--tap);
    height: var(--tap);
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  .clock__help {
    position: absolute;
    z-index: 3;
    left: 56px;
    top: 50%;
    translate: 0 -50%;
  }
  .clock__key {
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--signal);
    font: 500 13px/1 var(--font-mono);
    transition: scale var(--quick) var(--ease), background var(--time) var(--ease), color var(--time) var(--ease);
  }
  .clock__key--square { width: 26px; height: 26px; border-radius: var(--radius-s); }
  .clock__key--round { width: 38px; height: 38px; border-radius: var(--radius-round); }
  .clock__help:hover .clock__key,
  .clock__btn:hover .clock__key { scale: 1.12; }
  .clock__help:focus-visible .clock__key,
  .clock__btn:focus-visible .clock__key,
  .clock__note-close:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
  .clock__key svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .clock__keys {
    position: absolute;
    z-index: 3;
    right: calc(var(--edge) - 6px);
    top: 50%;
    translate: 0 -50%;
    display: grid;
    justify-items: center;
    gap: var(--space-s);
  }
  .clock__bars {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 14px;
  }
  .clock__bars i {
    width: 2px;
    height: 4px;
    border-radius: 1px;
    background: currentColor;
  }
  .clock__bars i:nth-child(2), .clock__bars i:nth-child(4) { height: 8px; }
  .clock__bars i:nth-child(3) { height: 12px; }
  .clock__btn--sound[aria-pressed="true"] .clock__bars i {
    animation: clock-bar 0.9s var(--ease) infinite alternate;
  }
  .clock__bars i:nth-child(2) { animation-delay: -0.2s !important; }
  .clock__bars i:nth-child(3) { animation-delay: -0.5s !important; }
  .clock__bars i:nth-child(4) { animation-delay: -0.1s !important; }
  @keyframes clock-bar {
    to { height: 14px; }
  }

  .clock__note {
    position: absolute;
    z-index: 4;
    left: 104px;
    top: 50%;
    translate: 0 -50%;
    width: min(260px, calc(100% - 120px));
    padding: var(--space-xs) var(--space-s) var(--space-s);
    border-radius: var(--radius-s);
    background: var(--ink);
    color: var(--signal);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    line-height: 1.45;
    text-transform: uppercase;
    animation: clock-note-in var(--time) var(--ease);
  }
  .clock__note[hidden] { display: none; }
  @keyframes clock-note-in {
    from { opacity: 0; translate: -8px -50%; }
  }
  .clock__note-head {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-left: -10px;
    border-bottom: 1px solid var(--signal);
  }
  .clock__note-x {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--signal);
    color: var(--ink);
    font-size: 15px;
  }
  .clock__note-text { margin: var(--space-s) 0 var(--space-l); }
  .clock__note-foot { margin: 0; color: var(--signal); opacity: 0.7; }

  .clock__down {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 14px;
    translate: -50% 0;
    font-size: 15px;
  }

  /* Flipped: black room, red disc. Red numerals turn black where they cross the disc. */
  .clock.is-flipped .clock__field {
    background-color: var(--ink);
    background-image: radial-gradient(circle, var(--signal) calc(var(--dot-size) / 2), transparent calc(var(--dot-size) / 2 + 0.6px));
    color: var(--signal);
  }
  .clock.is-flipped .clock__glow {
    width: clamp(520px, 88vw, 1200px);
    background: radial-gradient(circle, var(--signal) 0 69%, transparent 70.5%);
    filter: none;
  }
  .clock.is-flipped .clock__num { color: var(--signal); mix-blend-mode: difference; }
  .clock.is-flipped .clock__hand line,
  .clock.is-flipped .clock__pin { stroke: var(--ink); }
  .clock.is-flipped .clock__hand circle,
  .clock.is-flipped .clock__pin { fill: var(--ink); }
  .clock.is-flipped .clock__spot { background: var(--signal); }
  .clock.is-flipped .clock__tab { box-shadow: inset -1px 0 0 var(--signal); }
  .clock.is-flipped .clock__key { box-shadow: 0 0 0 1px var(--signal); }

  @media (max-width: 600px) {
    .clock__field { height: clamp(560px, 160vw, 760px); }
    .clock__glow { width: min(86vw, 400px); }
    .clock__face { width: min(78vw, 340px); }
    .clock__work { top: calc(var(--edge) + 28px); }
    .clock__num--hour, .clock__num--minute { top: calc(var(--edge) + 28px); }
    .clock__keys { top: 30%; }
    .clock__down { display: none; }
    .clock__note { left: 56px; top: auto; bottom: 22%; translate: 0 0; width: calc(100% - 72px); }
    .clock.is-flipped .clock__glow { width: 150vw; }
  }

  @media (prefers-reduced-motion: reduce) {
    .clock__glow, .clock__num, .clock__note { animation: none; }
  }
</style>

<script>
(() => {
  const MONTHS = ['JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC'];
  const LEAN = 0.04;
  const calm = matchMedia('(prefers-reduced-motion: reduce)');

  const pad = (value) => String(value).padStart(2, '0');

  function handAngles(now) {
    const seconds = now.getSeconds() + (calm.matches ? 0 : now.getMilliseconds() / 1000);
    const minutes = now.getMinutes() + seconds / 60;
    const hours = (now.getHours() % 12) + minutes / 60;
    return { hour: hours * 30, minute: minutes * 6, second: seconds * 6 };
  }

  function playTick(audio) {
    const tone = audio.createOscillator();
    const volume = audio.createGain();
    tone.frequency.value = 1800;
    volume.gain.setValueAtTime(0.08, audio.currentTime);
    volume.gain.exponentialRampToValueAtTime(0.0001, audio.currentTime + 0.03);
    tone.connect(volume).connect(audio.destination);
    tone.start();
    tone.stop(audio.currentTime + 0.04);
  }

  function setUp(root) {
    const field = root.querySelector('.clock__field');
    const glow = root.querySelector('.clock__glow');
    const spot = root.querySelector('.clock__spot');
    const time = root.querySelector('.clock__time');
    const hands = {
      hour: root.querySelector('.clock__hand--hour'),
      minute: root.querySelector('.clock__hand--minute'),
      second: root.querySelector('.clock__hand--second'),
    };
    const numbers = Object.fromEntries([...root.querySelectorAll('[data-clock]')].map((el) => [el.dataset.clock, el]));
    const help = root.querySelector('.clock__help');
    const note = root.querySelector('.clock__note');
    const flip = root.querySelector('.clock__btn--flip');
    const sound = root.querySelector('.clock__btn--sound');
    let frame = 0;
    let lastSecond = -1;
    let audio = null;

    function writeNumerals(now) {
      numbers.hour.textContent = pad(now.getHours());
      numbers.minute.textContent = pad(now.getMinutes());
      numbers.month.textContent = MONTHS[now.getMonth()];
      numbers.day.textContent = pad(now.getDate());
      time.setAttribute('datetime', now.toISOString());
    }

    function draw() {
      const now = new Date();
      const angles = handAngles(now);
      for (const name in hands) hands[name].setAttribute('transform', `rotate(${angles[name]})`);
      if (now.getSeconds() !== lastSecond) {
        lastSecond = now.getSeconds();
        writeNumerals(now);
        if (audio) playTick(audio);
      }
    }

    function loop() {
      draw();
      frame = calm.matches ? setTimeout(loop, 1000) : requestAnimationFrame(loop);
    }
    function stop() {
      cancelAnimationFrame(frame);
      clearTimeout(frame);
    }

    new IntersectionObserver(([entry]) => {
      stop();
      if (entry.isIntersecting) loop();
    }).observe(root);
    draw();

    field.addEventListener('pointermove', (event) => {
      const box = field.getBoundingClientRect();
      const x = event.clientX - box.left;
      const y = event.clientY - box.top;
      const step = parseFloat(getComputedStyle(field).backgroundSize) || 80;
      const nearestX = box.width / 2 + Math.round((x - box.width / 2) / step) * step;
      const nearestY = box.height / 2 + Math.round((y - box.height / 2) / step) * step;
      spot.style.translate = `${nearestX}px ${nearestY}px`;
      root.classList.add('is-pointing');
      if (calm.matches) return;
      glow.style.setProperty('--lean-x', `${(x - box.width / 2) * LEAN}px`);
      glow.style.setProperty('--lean-y', `${(y - box.height / 2) * LEAN}px`);
    });
    field.addEventListener('pointerleave', () => {
      root.classList.remove('is-pointing');
      glow.style.setProperty('--lean-x', '0px');
      glow.style.setProperty('--lean-y', '0px');
    });

    function setNote(open) {
      note.hidden = !open;
      help.setAttribute('aria-expanded', String(open));
    }
    help.addEventListener('click', () => setNote(note.hidden));
    note.querySelector('.clock__note-close').addEventListener('click', () => setNote(false));
    root.addEventListener('keydown', (event) => {
      if (event.key === 'Escape') setNote(false);
    });

    flip.addEventListener('click', () => {
      const flipped = root.classList.toggle('is-flipped');
      flip.setAttribute('aria-pressed', String(flipped));
    });

    sound.addEventListener('click', () => {
      const on = sound.getAttribute('aria-pressed') !== 'true';
      sound.setAttribute('aria-pressed', String(on));
      audio = on ? new AudioContext() : (audio.close(), null);
    });
  }

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

Dark top bar

Black bar with red wide-grotesque HOME and WORK words and two round red social buttons, a black side tab on the left and a red vertical HELLO! tab on the right. The bar swaps HOME for BACK when a panel is open.

Code React For Figma
<section class="nav">
  <header class="nav__bar">
    <a class="nav__word nav__word--home" href="#" data-home="Home" data-back="Back">Home</a>
    <button class="nav__word nav__word--work" type="button" aria-expanded="false">Work</button>
    <div class="nav__social">
      <a class="nav__round" href="#" aria-label="Morra on Instagram">IG</a>
      <a class="nav__round" href="#" aria-label="Morra on LinkedIn">IN</a>
    </div>
  </header>

  <div class="nav__room">
    <a class="nav__tab" href="#" aria-label="Morra, shortlisted for a site of the day">
      <span class="nav__tab-mark">M.</span>
      <span class="nav__tab-word">Shortlist</span>
    </a>

    <div class="nav__body">
      <p class="nav__label">Index &mdash; 2026</p>
      <p class="nav__lead">A two-person room for brand, product and the odd instrument. Small, hands on, slow to answer and quick to ship.</p>
      <ul class="nav__menu" aria-label="Sections">
        <li><a class="nav__item" href="#"><span class="nav__num">01</span>Work</a></li>
        <li><a class="nav__item" href="#"><span class="nav__num">02</span>Studio</a></li>
        <li><a class="nav__item" href="#"><span class="nav__num">03</span>Notes</a></li>
        <li><a class="nav__item" href="#"><span class="nav__num">04</span>Contact</a></li>
      </ul>
    </div>

    <a class="nav__hello" href="#">Hello!</a>
  </div>
</section>

<style>
  .nav {
    position: relative;
    background-color: var(--ink);
    background-image: radial-gradient(circle, var(--dot-dark) 1px, transparent 1.6px);
    background-size: var(--grid-step) var(--grid-step);
    background-position: center;
    color: var(--text-mid);
  }
  .nav__bar {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: var(--space-s) var(--edge);
  }
  .nav__word {
    display: grid;
    place-items: center start;
    min-height: var(--tap);
    padding: 0;
    border: 0;
    background: none;
    color: var(--signal);
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: var(--display-s);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: color var(--quick) var(--ease);
  }
  .nav__word--work { place-items: center; padding: 0 var(--space-s); }
  .nav__word:hover,
  .nav__word:focus-visible { color: var(--text); }
  .nav__word:focus-visible,
  .nav__round:focus-visible,
  .nav__item:focus-visible,
  .nav__tab:focus-visible,
  .nav__hello:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

  .nav__social {
    display: flex;
    justify-content: end;
    gap: 2px;
  }
  .nav__round {
    display: grid;
    place-items: center;
    width: var(--tap);
    height: var(--tap);
    color: var(--ink);
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: 11px;
    text-decoration: none;
    position: relative;
  }
  .nav__round::before {
    content: "";
    position: absolute;
    inset: 7px;
    z-index: -1;
    border-radius: var(--radius-round);
    background: var(--signal);
    transition: scale var(--quick) var(--ease);
  }
  .nav__round { isolation: isolate; }
  .nav__round:hover::before { scale: 1.12; }

  .nav__room {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    min-height: 560px;
  }
  .nav__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-s);
    width: 44px;
    padding: var(--space-s) 0 var(--space-m);
    background: var(--night-2);
    color: var(--text);
    text-decoration: none;
    transition: width var(--quick) var(--ease), background var(--quick) var(--ease);
  }
  .nav__tab:hover { width: 52px; background: var(--night-3); }
  .nav__tab-mark {
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: 15px;
  }
  .nav__tab-word {
    writing-mode: vertical-rl;
    rotate: 180deg;
    font-size: var(--text-xs);
  }

  .nav__body {
    display: grid;
    gap: var(--space-m);
    justify-items: start;
    max-width: 560px;
    padding: var(--space-xl) var(--space-m);
    margin-inline: auto;
  }
  .nav__label {
    margin: 0;
    color: var(--text-dim);
    font: 400 var(--text-xs)/1 var(--font-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .nav__lead {
    margin: 0;
    color: var(--text);
    font-size: var(--text-l);
    line-height: 1.2;
  }
  .nav__menu {
    display: grid;
    width: 100%;
    margin: var(--space-m) 0 0;
    padding: 0;
    list-style: none;
  }
  .nav__menu li + li { border-top: 1px solid var(--night-3); }
  .nav__item {
    display: flex;
    align-items: baseline;
    gap: var(--space-m);
    min-height: var(--tap);
    padding: var(--space-s) 0;
    color: var(--text-mid);
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 800;
    font-size: var(--display-m);
    line-height: 0.9;
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--quick) var(--ease), translate var(--quick) var(--ease);
  }
  .nav__item:hover { color: var(--signal); translate: 8px 0; }
  .nav__num {
    color: var(--text-dim);
    font: 400 var(--text-xs)/1 var(--font-mono);
  }

  .nav__hello {
    justify-self: end;
    display: grid;
    place-items: center;
    width: var(--tap);
    padding: var(--space-m) 0;
    margin-right: var(--space-xs);
    color: var(--signal);
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: 19px;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-rl;
    transition: color var(--quick) var(--ease);
  }
  .nav__hello:hover { color: var(--text); }

  .nav.is-open .nav__word--work { color: var(--text); }

  @media (max-width: 600px) {
    .nav__room { grid-template-columns: 48px minmax(0, 1fr) 48px; }
    .nav__body { padding-inline: var(--space-xs); }
  }
</style>

<script>
(() => {
  document.querySelectorAll('.nav').forEach((root) => {
    const work = root.querySelector('.nav__word--work');
    const home = root.querySelector('.nav__word--home');
    work.addEventListener('click', () => {
      const open = root.classList.toggle('is-open');
      work.setAttribute('aria-expanded', String(open));
      home.textContent = open ? home.dataset.back : home.dataset.home;
    });
  });
})();
</script>

Discipline shapes

Studio intro with a red wide name and grey text, then three big red glow shapes (ring, soft disc, filled square) that morph and breathe, each with a red caps label, and a contact line with red square bullets.

Code React For Figma
<section class="disciplines" aria-labelledby="disciplines-title">
  <div class="disciplines__intro">
    <h2 class="disciplines__name" id="disciplines-title">Morra.studio</h2>
    <p class="disciplines__text">Morra is a two-person design room working across signs, screens and sound, from the first sketch to the thing people hold.</p>
    <p class="disciplines__text">Built like a workshop: one bench, few clients, everyone sanding. Open to new rooms from March.</p>
  </div>

  <ul class="disciplines__list">
    <li class="disciplines__item">
      <span class="disciplines__shape disciplines__shape--ring" aria-hidden="true"><span class="disciplines__core"></span></span>
      <span class="disciplines__label">Signs</span>
    </li>
    <li class="disciplines__item">
      <span class="disciplines__shape disciplines__shape--halo" aria-hidden="true"><span class="disciplines__core"></span></span>
      <span class="disciplines__label">Screens</span>
    </li>
    <li class="disciplines__item">
      <span class="disciplines__shape disciplines__shape--solid" aria-hidden="true"><span class="disciplines__core"></span></span>
      <span class="disciplines__label">Sound</span>
    </li>
  </ul>

  <div class="disciplines__contact">
    <p class="disciplines__ask">Let&rsquo;s make a thing</p>
    <a class="disciplines__link" href="#">hello@morra.studio</a>
    <p class="disciplines__ask">Read the bench notes</p>
    <a class="disciplines__link" href="#">morra.studio/notes</a>
  </div>
</section>

<style>
  .disciplines {
    display: grid;
    gap: var(--space-l);
    padding: var(--space-xl) var(--edge);
    background-color: var(--ink);
    background-image: radial-gradient(circle, var(--dot-dark) 1px, transparent 1.6px);
    background-size: var(--grid-step) var(--grid-step);
    background-position: center;
  }
  .disciplines__intro {
    display: grid;
    gap: var(--space-s);
    max-width: 440px;
    margin-left: auto;
  }
  .disciplines__name {
    margin: 0 0 var(--space-xs);
    color: var(--signal);
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: clamp(24px, 1rem + 1.6vw, 36px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
  }
  .disciplines__text {
    margin: 0;
    font-size: var(--text-s);
  }

  .disciplines__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-m);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .disciplines__item {
    display: grid;
    justify-items: center;
    gap: var(--space-m);
  }
  .disciplines__shape {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(88px, 14vw, 180px);
    aspect-ratio: 1;
    border-radius: 26%;
    animation: disciplines-morph 5s var(--ease) infinite alternate;
  }
  .disciplines__item:nth-child(2) .disciplines__shape { animation-delay: -1.7s; }
  .disciplines__item:nth-child(3) .disciplines__shape { animation-delay: -3.4s; }
  .disciplines__core {
    border-radius: inherit;
    animation: disciplines-breathe 3.2s ease-in-out infinite alternate;
  }

  .disciplines__shape--ring { border: 1.5px solid var(--signal); }
  .disciplines__shape--ring .disciplines__core {
    width: 56%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--ink) 0 8%, var(--signal) 70%, var(--signal) 100%);
    filter: blur(1px);
  }

  .disciplines__shape--halo {
    border-radius: 50%;
    background: radial-gradient(circle, transparent 40%, var(--signal) 72%);
    animation-name: none;
  }
  .disciplines__shape--halo .disciplines__core {
    width: 52%;
    aspect-ratio: 1;
    border-radius: 24%;
    background: var(--ink);
    filter: blur(5px);
  }

  .disciplines__shape--solid { background: var(--signal); }
  .disciplines__shape--solid .disciplines__core {
    width: 52%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--ink);
  }

  @keyframes disciplines-morph {
    to { border-radius: 42%; }
  }
  @keyframes disciplines-breathe {
    to { scale: 0.86; }
  }

  .disciplines__label {
    color: var(--signal);
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: var(--display-s);
    text-transform: uppercase;
  }

  .disciplines__contact {
    display: grid;
    justify-items: start;
    gap: var(--space-xs);
  }
  .disciplines__ask {
    margin: var(--space-s) 0 0;
    color: var(--text-mid);
    font-size: var(--text-m);
  }
  .disciplines__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    min-height: var(--tap);
    color: var(--text);
    font-size: var(--text-l);
    text-decoration: none;
  }
  .disciplines__link::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: var(--signal);
    transition: rotate var(--time) var(--ease);
  }
  .disciplines__link:hover::before,
  .disciplines__link:focus-visible::before { rotate: 45deg; }
  .disciplines__link:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

  @media (max-width: 600px) {
    .disciplines__list { gap: var(--space-s); }
    .disciplines__label { font-size: 13px; }
    .disciplines__link { font-size: var(--text-m); }
  }

  .disciplines.is-offscreen *,
  .disciplines.is-offscreen *::after { animation-play-state: paused; }

  @media (prefers-reduced-motion: reduce) {
    .disciplines__shape, .disciplines__core { animation: none; }
  }
</style>

<script>
(() => {
  const watch = new IntersectionObserver((entries) => {
    for (const entry of entries) entry.target.classList.toggle('is-offscreen', !entry.isIntersecting);
  });
  document.querySelectorAll('.disciplines').forEach((root) => watch.observe(root));
})();
</script>

Red word band

A full-width red band of wide black words separated by dashes running left forever over a black dot grid; pauses on hover.

Code React For Figma
<section class="ticker" aria-label="Where we work">
  <div class="ticker__band">
    <div class="ticker__track">
      <span class="ticker__item">Workshop</span>
      <span class="ticker__item">Taller</span>
      <span class="ticker__item">Werkstatt</span>
      <span class="ticker__item">Pracownia</span>
      <span class="ticker__item">Bottega</span>
      <span class="ticker__item">Room</span>
    </div>
  </div>
  <div class="ticker__band ticker__band--back" aria-hidden="true">
    <div class="ticker__track">
      <span class="ticker__item">Signs</span>
      <span class="ticker__item">Screens</span>
      <span class="ticker__item">Sound</span>
      <span class="ticker__item">Since 2019</span>
    </div>
  </div>
  <p class="ticker__caption">Same bench, six languages. Hover to hold it</p>
</section>

<style>
  .ticker {
    display: grid;
    align-content: center;
    gap: var(--space-m);
    min-height: clamp(380px, 52vw, 640px);
    padding: var(--space-xl) 0;
    background-color: var(--ink);
    background-image: radial-gradient(circle, var(--dot-dark) 1px, transparent 1.6px);
    background-size: var(--grid-step) var(--grid-step);
    background-position: center;
  }
  .ticker__band {
    overflow: hidden;
    background: var(--signal);
    color: var(--ink);
  }
  .ticker__track {
    display: flex;
    width: max-content;
    animation: ticker-roll 26s linear infinite;
  }
  .ticker__band--back {
    border-block: 2px solid var(--signal);
    background: transparent;
    color: var(--signal);
  }
  .ticker__band--back .ticker__track { animation-direction: reverse; animation-duration: 34s; }
  .ticker__band:hover .ticker__track { animation-play-state: paused; }
  .ticker__item {
    flex: none;
    padding: 0.08em 0;
    white-space: nowrap;
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 900;
    font-size: clamp(30px, 1rem + 2.8vw, 56px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
  }
  .ticker__item::before {
    content: "\2014";
    padding: 0 0.3em;
  }
  .ticker__caption {
    margin: 0;
    padding: 0 var(--edge);
    color: var(--text-dim);
    font: 400 var(--text-xs)/1.4 var(--font-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
  }
  @keyframes ticker-roll { to { transform: translateX(-50%); } }
  .ticker.is-offscreen *,
  .ticker.is-offscreen *::after { animation-play-state: paused; }
  @media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }
</style>

<script>
(() => {
  const watch = new IntersectionObserver((entries) => {
    for (const entry of entries) entry.target.classList.toggle('is-offscreen', !entry.isIntersecting);
  });
  document.querySelectorAll('.ticker').forEach((root) => watch.observe(root));
  for (const track of document.querySelectorAll('.ticker__track')) {
    for (const item of [...track.children]) {
      const copy = item.cloneNode(true);
      copy.setAttribute('aria-hidden', 'true');
      track.append(copy);
    }
  }
})();
</script>

Work cards

A centred column of dark project cards, each with a square thumbnail drawn in CSS, a white title, two grey lines and mono caps tag pills. Cards lift on hover.

Code React For Figma
<section class="worklist" aria-label="Selected work">
  <ul class="worklist__list">
    <li>
      <a class="worklist__card" href="#">
        <span class="worklist__thumb worklist__thumb--hour" aria-hidden="true"><span class="worklist__orb"></span></span>
        <span class="worklist__body">
          <span class="worklist__title">The Hour Room</span>
          <span class="worklist__text">A clock you can play like a drum machine: stretch it, flip it, and let the minutes keep the beat.</span>
          <span class="worklist__tags"><span class="worklist__tag">Interaction</span><span class="worklist__tag">Creative code</span><span class="worklist__tag">Sound</span></span>
        </span>
      </a>
    </li>
    <li>
      <a class="worklist__card" href="#">
        <span class="worklist__thumb worklist__thumb--mint" aria-hidden="true">
          <svg class="worklist__mark" viewBox="0 0 40 40"><path d="M6 8h10v6h8V8h10v10h-6v-4h-4l-4 6-4-6h-4v4H6zM14 24a6 6 0 0 1 12 0v8h-4v-8a2 2 0 0 0-4 0v8h-4z"></path></svg>
        </span>
        <span class="worklist__body">
          <span class="worklist__title">Choirbook</span>
          <span class="worklist__text">Rehearsal notes for amateur choirs: hum a line, find the bar, mark where the altos got lost.</span>
          <span class="worklist__tags"><span class="worklist__tag">Product</span><span class="worklist__tag">Web</span><span class="worklist__tag">Direction</span></span>
        </span>
      </a>
    </li>
    <li>
      <a class="worklist__card" href="#">
        <span class="worklist__thumb worklist__thumb--grain" aria-hidden="true"><span class="worklist__sphere"></span></span>
        <span class="worklist__body">
          <span class="worklist__title">Pebble Pact</span>
          <span class="worklist__text">A ring and an app for keeping promises between two people. Each kept one adds a stone.</span>
          <span class="worklist__tags"><span class="worklist__tag">Object</span><span class="worklist__tag">Interface</span><span class="worklist__tag">Art direction</span></span>
        </span>
      </a>
    </li>
    <li>
      <a class="worklist__card" href="#">
        <span class="worklist__thumb worklist__thumb--moss" aria-hidden="true"><span class="worklist__capsule">&uarr;</span></span>
        <span class="worklist__body">
          <span class="worklist__title">Tidewise</span>
          <span class="worklist__text">Tide tables that breathe: harbour data drawn as motion, for sailors and anyone who swims early.</span>
          <span class="worklist__tags"><span class="worklist__tag">Data vis</span><span class="worklist__tag">Motion</span><span class="worklist__tag">System</span></span>
        </span>
      </a>
    </li>
  </ul>
</section>

<style>
  .worklist {
    padding: var(--space-l) var(--edge);
    background: var(--ink);
  }
  .worklist__list {
    display: grid;
    gap: var(--space-xs);
    max-width: 620px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }
  .worklist__card {
    display: grid;
    grid-template-columns: clamp(84px, 18vw, 128px) minmax(0, 1fr);
    gap: var(--space-m);
    align-items: start;
    padding: var(--space-xs);
    border-radius: var(--radius-m);
    background: var(--night-2);
    color: inherit;
    text-decoration: none;
    transition: background var(--quick) var(--ease);
  }
  .worklist__card:hover,
  .worklist__card:focus-visible { background: var(--night-3); }
  .worklist__card:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

  .worklist__thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-s);
  }
  .worklist__thumb > * { transition: scale var(--quick) var(--ease); }
  .worklist__card:hover .worklist__thumb > * { scale: 1.06; }

  .worklist__thumb--hour { background: var(--signal); }
  .worklist__orb {
    width: 74%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, var(--signal-deep) 0 10%, var(--ink) 38%, transparent 70%);
  }

  .worklist__thumb--mint { background: var(--mint); }
  .worklist__mark { width: 58%; fill: var(--ink); }

  .worklist__thumb--grain { background: var(--night-2); }
  .worklist__sphere {
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
      radial-gradient(circle, var(--night) 0.9px, transparent 1.2px) 0 0 / 5px 5px,
      radial-gradient(circle at 35% 30%, var(--text) 0, var(--text-mid) 35%, var(--night-3) 75%);
  }

  .worklist__thumb--moss { background: var(--moss); }
  .worklist__capsule {
    display: grid;
    place-items: start center;
    width: 46%;
    height: 72%;
    padding-top: 12%;
    border-radius: var(--radius-round);
    background: linear-gradient(var(--moss), var(--leaf) 75%, var(--violet-pale));
    color: var(--text);
    font-size: clamp(18px, 3vw, 28px);
    line-height: 1;
  }

  .worklist__body {
    display: grid;
    gap: var(--space-xs);
    padding-top: var(--space-xs);
  }
  .worklist__title {
    color: var(--text);
    font-size: var(--text-s);
    font-weight: 500;
  }
  .worklist__text {
    color: var(--text-mid);
    font-size: var(--text-s);
    line-height: 1.35;
  }
  .worklist__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 2px;
  }
  .worklist__tag {
    padding: 3px var(--space-xs);
    border-radius: 3px;
    background: var(--night-3);
    color: var(--text-mid);
    font: 400 10px/1.2 var(--font-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  @media (max-width: 480px) {
    .worklist__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  }
</style>

Case study flood

A mint flood with a geometric SVG mark and three small text columns, above two dark wells: a mascot face that blinks and follows the pointer, and a listening glyph with a mono status pill.

Code React For Figma
<section class="casefile" aria-labelledby="casefile-title">
  <div class="casefile__flood">
    <svg class="casefile__mark" viewBox="0 0 40 40" aria-hidden="true"><path d="M6 8h10v6h8V8h10v10h-6v-4h-4l-4 6-4-6h-4v4H6zM14 24a6 6 0 0 1 12 0v8h-4v-8a2 2 0 0 0-4 0v8h-4z"></path></svg>
    <div class="casefile__col">
      <h2 class="casefile__head" id="casefile-title">Choirbook</h2>
      <p class="casefile__text">Rehearsal notes for amateur choirs. Hum a line into the phone and it finds the bar, the part and who sang it flat.</p>
    </div>
    <div class="casefile__col">
      <h3 class="casefile__head">The product</h3>
      <p class="casefile__text">A score that listens. Sections leave notes for each other, the director pins the hard bars, and Tuesday starts where Thursday ended.</p>
    </div>
    <div class="casefile__col">
      <h3 class="casefile__head">Our part</h3>
      <p class="casefile__text">Name, mark, mascot and the whole app, from first hum to store page, over eleven months with a team of four.</p>
    </div>
  </div>

  <div class="casefile__wells">
    <div class="casefile__well">
      <p class="casefile__hint">Move near Hum, or tap to wake it</p>
      <svg class="casefile__face" viewBox="0 0 120 120" aria-hidden="true">
        <path class="casefile__line" d="M24 104V54a36 36 0 0 1 72 0v50"></path>
        <g class="casefile__eyes">
          <path class="casefile__line casefile__eye" d="M44 50v8a6 6 0 0 0 12 0v-8"></path>
          <path class="casefile__line casefile__eye" d="M64 50v8a6 6 0 0 0 12 0v-8"></path>
        </g>
        <path class="casefile__line casefile__mouth" d="M52 80h16"></path>
      </svg>
    </div>
    <div class="casefile__well">
      <p class="casefile__hint">Always on, never recording</p>
      <svg class="casefile__wave" viewBox="0 0 120 80" aria-hidden="true">
        <line class="casefile__line casefile__bar" x1="20" y1="30" x2="20" y2="50"></line>
        <line class="casefile__line casefile__bar" x1="40" y1="16" x2="40" y2="64"></line>
        <line class="casefile__line casefile__bar" x1="60" y1="6" x2="60" y2="74"></line>
        <line class="casefile__line casefile__bar" x1="80" y1="16" x2="80" y2="64"></line>
        <line class="casefile__line casefile__bar" x1="100" y1="30" x2="100" y2="50"></line>
      </svg>
      <span class="casefile__status">Listening<span class="casefile__dots" aria-hidden="true"></span></span>
    </div>
  </div>
</section>

<style>
  .casefile {
    background: var(--ink);
    padding-bottom: var(--space-xs);
  }
  .casefile__flood {
    display: grid;
    grid-template-columns: auto repeat(3, minmax(0, 1fr));
    gap: var(--space-m);
    align-items: start;
    padding: var(--space-l) var(--edge);
    background: var(--mint);
    color: var(--ink);
  }
  .casefile__mark {
    width: clamp(56px, 8vw, 96px);
    fill: var(--ink);
  }
  .casefile__col { display: grid; gap: var(--space-xs); }
  .casefile__head {
    margin: 0;
    font-size: var(--text-s);
    font-weight: 500;
  }
  .casefile__text {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.72;
  }

  .casefile__wells {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-xs) 0;
  }
  .casefile__well {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: var(--space-m);
    min-height: clamp(260px, 32vw, 420px);
    padding: var(--space-l) var(--space-s);
    background: var(--night-2);
  }
  .casefile__hint {
    position: absolute;
    top: var(--space-s);
    left: 0;
    right: 0;
    margin: 0;
    color: var(--text-dim);
    font-size: 11px;
    text-align: center;
  }
  .casefile__line {
    fill: none;
    stroke: var(--mint);
    stroke-width: 7;
    stroke-linecap: square;
  }
  .casefile__face { width: clamp(96px, 14vw, 160px); overflow: visible; }
  .casefile__eyes {
    translate: var(--look-x, 0px) var(--look-y, 0px);
    transition: translate var(--quick) var(--ease);
  }
  .casefile__eye {
    transform-box: fill-box;
    transform-origin: center;
    animation: casefile-blink 4.2s steps(1) infinite;
  }
  @keyframes casefile-blink {
    96% { scale: 1 0.15; }
  }
  .casefile__mouth { transition: d var(--quick) var(--ease); }
  .casefile.is-awake .casefile__mouth { d: path("M50 78q10 10 20 0"); }

  .casefile__wave { width: clamp(96px, 14vw, 160px); }
  .casefile__bar {
    transform-box: fill-box;
    transform-origin: center;
    animation: casefile-bar 1.1s var(--ease) infinite alternate;
  }
  .casefile__bar:nth-child(2) { animation-delay: -0.3s; }
  .casefile__bar:nth-child(3) { animation-delay: -0.6s; }
  .casefile__bar:nth-child(4) { animation-delay: -0.15s; }
  .casefile__bar:nth-child(5) { animation-delay: -0.45s; }
  @keyframes casefile-bar {
    to { scale: 1 0.4; }
  }
  .casefile__status {
    padding: var(--space-xs) var(--space-s);
    border-radius: var(--radius-round);
    background: var(--night);
    color: var(--mint);
    font: 500 var(--text-xs)/1 var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .casefile__dots::after {
    content: "...";
    display: inline-block;
    width: 3ch;
    overflow: hidden;
    vertical-align: bottom;
    animation: casefile-dots 1.4s steps(4) infinite;
  }
  @keyframes casefile-dots {
    from { width: 0; }
  }

  @media (max-width: 720px) {
    .casefile__flood { grid-template-columns: auto minmax(0, 1fr); }
    .casefile__flood .casefile__col:nth-child(n + 3) { grid-column: 2; }
  }
  @media (max-width: 480px) {
    .casefile__wells { grid-template-columns: 1fr; }
    .casefile__well { min-height: 220px; }
  }

  .casefile.is-offscreen *,
  .casefile.is-offscreen *::after { animation-play-state: paused; }

  @media (prefers-reduced-motion: reduce) {
    .casefile__eye, .casefile__bar, .casefile__dots::after { animation: none; }
    .casefile__eyes { transition: none; }
  }
</style>

<script>
(() => {
  const REACH = 4;
  const watch = new IntersectionObserver((entries) => {
    for (const entry of entries) entry.target.classList.toggle('is-offscreen', !entry.isIntersecting);
  });
  document.querySelectorAll('.casefile').forEach((root) => watch.observe(root));
  document.querySelectorAll('.casefile').forEach((root) => {
    const face = root.querySelector('.casefile__face');
    const eyes = root.querySelector('.casefile__eyes');
    root.addEventListener('pointermove', (event) => {
      const box = face.getBoundingClientRect();
      const dx = event.clientX - (box.left + box.width / 2);
      const dy = event.clientY - (box.top + box.height / 2);
      const length = Math.hypot(dx, dy) || 1;
      eyes.style.setProperty('--look-x', `${(dx / length) * REACH}px`);
      eyes.style.setProperty('--look-y', `${(dy / length) * REACH}px`);
      root.classList.toggle('is-awake', length < box.width * 1.2);
    });
    root.addEventListener('pointerleave', () => {
      eyes.style.setProperty('--look-x', '0px');
      eyes.style.setProperty('--look-y', '0px');
      root.classList.remove('is-awake');
    });
    face.parentElement.addEventListener('click', () => root.classList.toggle('is-awake'));
  });
})();
</script>

Instrument panel

Dark control well with a toggle, mono caps tag pills that switch to violet, two range sliders with round numeric ends, a clear button and a status line that reports the setting.

Code React For Figma
<section class="controls" aria-label="Sound finder">
  <div class="controls__panel">
    <div class="controls__row">
      <span class="controls__side" data-side="off">Loops</span>
      <button class="controls__switch" type="button" role="switch" aria-checked="true" aria-label="Show single sounds instead of loops"><span class="controls__knob"></span></button>
      <span class="controls__side" data-side="on">Sounds</span>
      <label class="controls__search">
        <span class="controls__hidden">Search sounds</span>
        <input class="controls__input" type="search" placeholder="Search sounds">
        <svg class="controls__lens" viewBox="0 0 16 16" aria-hidden="true"><circle cx="7" cy="7" r="4.5"></circle><path d="M10.5 10.5 14 14"></path></svg>
      </label>
    </div>

    <div class="controls__row">
      <span class="controls__label">Tags:</span>
      <div class="controls__tags">
        <button class="controls__tag is-on" type="button" aria-pressed="true">Dusty</button>
        <button class="controls__tag is-on" type="button" aria-pressed="true">Warm</button>
        <button class="controls__tag" type="button" aria-pressed="false">Bright</button>
        <button class="controls__tag" type="button" aria-pressed="false">Hollow</button>
        <button class="controls__tag" type="button" aria-pressed="false">Glassy</button>
        <button class="controls__tag" type="button" aria-pressed="false">Night</button>
      </div>
    </div>

    <div class="controls__row">
      <label class="controls__label" for="controls-bpm">BPM</label>
      <div class="controls__range">
        <span class="controls__end">60</span>
        <input class="controls__slider" id="controls-bpm" type="range" min="60" max="200" value="112" data-unit=" bpm">
        <output class="controls__end controls__end--value" for="controls-bpm">112</output>
      </div>
      <label class="controls__label" for="controls-length">Length</label>
      <div class="controls__range controls__range--violet">
        <span class="controls__end">0s</span>
        <input class="controls__slider" id="controls-length" type="range" min="0" max="40" value="24" data-unit="s">
        <output class="controls__end controls__end--value" for="controls-length">24s</output>
      </div>
      <button class="controls__clear" type="button">Clear all</button>
    </div>

    <p class="controls__status" aria-live="polite"></p>
  </div>
</section>

<style>
  .controls {
    padding: var(--space-xl) var(--edge);
    background: var(--ink);
  }
  .controls__panel {
    display: grid;
    gap: var(--space-m);
    justify-items: start;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 64px) clamp(16px, 4vw, 48px);
    border-radius: var(--radius-m);
    background: var(--night);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text);
  }
  .controls__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-s);
  }
  .controls__hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .controls__side { color: var(--text-dim); transition: color var(--quick) var(--ease); }
  .controls__panel:has(.controls__switch[aria-checked="true"]) .controls__side[data-side="on"],
  .controls__panel:has(.controls__switch[aria-checked="false"]) .controls__side[data-side="off"] { color: var(--text); }

  .controls__switch {
    position: relative;
    width: 64px;
    height: var(--tap);
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .controls__switch::before {
    content: "";
    position: absolute;
    inset: 8px 0;
    border-radius: var(--radius-round);
    background: var(--text);
  }
  .controls__knob {
    position: absolute;
    top: 11px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--night-3);
    transition: translate var(--time) var(--ease), background var(--time) var(--ease);
  }
  .controls__switch[aria-checked="true"] .controls__knob { translate: 36px 0; background: var(--violet); }

  .controls__search {
    position: relative;
    flex: 1 1 200px;
    display: flex;
    align-items: center;
  }
  .controls__input {
    width: 100%;
    min-height: var(--tap);
    padding: 0 36px 0 var(--space-s);
    border: 1px solid var(--text-dim);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    text-transform: uppercase;
  }
  .controls__input::placeholder { color: var(--text-dim); }
  .controls__input:focus { outline: none; border-color: var(--text); }
  .controls__lens {
    position: absolute;
    right: 12px;
    width: 14px;
    fill: none;
    stroke: var(--text-mid);
    stroke-width: 1.5;
  }

  .controls__label { color: var(--text); }
  .controls__tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .controls__tag {
    min-height: var(--tap);
    padding: 0 var(--space-s);
    border: 0;
    border-radius: var(--radius-round);
    background: var(--night-3);
    color: var(--text);
    font: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    cursor: pointer;
    transition: background var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .controls__tag:hover { background: var(--text-dim); }
  .controls__tag.is-on { background: var(--violet); color: var(--ink); }

  .controls__range {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: var(--radius-round);
    background: var(--night-3);
    --fill: var(--text-mid);
  }
  .controls__range--violet { background: var(--violet); --fill: var(--violet-pale); }
  .controls__end {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 4px;
    border-radius: var(--radius-round);
    background: var(--ink);
    color: var(--text);
    font-variant-numeric: tabular-nums;
  }
  .controls__range--violet .controls__end--value { border: 2px solid var(--violet-pale); }
  .controls__slider {
    width: clamp(80px, 14vw, 120px);
    height: var(--tap);
    margin: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
  }
  .controls__slider::-webkit-slider-runnable-track { height: 2px; background: var(--fill); }
  .controls__slider::-moz-range-track { height: 2px; background: var(--fill); }
  .controls__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    margin-top: -6px;
    border: 0;
    border-radius: 50%;
    background: var(--fill);
  }
  .controls__slider::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--fill); }
  .controls__slider:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

  .controls__clear {
    min-height: var(--tap);
    padding: 0 var(--space-s);
    border: 1.5px solid var(--text);
    background: none;
    color: var(--text);
    font: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    cursor: pointer;
    transition: background var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .controls__clear:hover { background: var(--text); color: var(--ink); }
  .controls__switch:focus-visible,
  .controls__tag:focus-visible,
  .controls__clear:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; }

  .controls__status {
    min-height: 1.4em;
    margin: 0;
    color: var(--lilac);
  }
  .controls__status::before { content: "\203A  "; color: var(--text-dim); white-space: pre; }
</style>

<script>
(() => {
  const SOUNDS_PER_TAG = 37;
  const LIBRARY = 412;

  document.querySelectorAll('.controls').forEach((root) => {
    const toggle = root.querySelector('.controls__switch');
    const tags = [...root.querySelectorAll('.controls__tag')];
    const sliders = [...root.querySelectorAll('.controls__slider')];
    const status = root.querySelector('.controls__status');

    function describe() {
      const chosen = tags.filter((tag) => tag.classList.contains('is-on')).map((tag) => tag.textContent.toLowerCase());
      const [bpm, length] = sliders.map((slider) => Number(slider.value));
      const kind = toggle.getAttribute('aria-checked') === 'true' ? 'sounds' : 'loops';
      const count = chosen.length ? Math.max(3, Math.round(SOUNDS_PER_TAG * chosen.length * (length + 8) / 48)) : LIBRARY;
      const mood = chosen.length ? chosen.join(' + ') : 'any mood';
      return `${count} ${kind}, ${mood}, ${bpm} bpm, up to ${length}s`;
    }
    function render() {
      for (const slider of sliders) {
        slider.nextElementSibling.textContent = slider.dataset.unit === 's' ? `${slider.value}s` : slider.value;
      }
      status.textContent = describe();
    }

    toggle.addEventListener('click', () => {
      toggle.setAttribute('aria-checked', String(toggle.getAttribute('aria-checked') !== 'true'));
      render();
    });
    for (const tag of tags) {
      tag.addEventListener('click', () => {
        const on = tag.classList.toggle('is-on');
        tag.setAttribute('aria-pressed', String(on));
        render();
      });
    }
    for (const slider of sliders) slider.addEventListener('input', render);
    root.querySelector('.controls__clear').addEventListener('click', () => {
      for (const tag of tags) {
        tag.classList.remove('is-on');
        tag.setAttribute('aria-pressed', 'false');
      }
      sliders[0].value = 112;
      sliders[1].value = 40;
      render();
    });
    render();
  });
})();
</script>

Style

  • --signal #ff0000
  • --signal-deep #8a0000
  • --ink #000000
  • --night #111111
  • --night-2 #1b1b1b
  • --night-3 #2a2a2a
  • --dot rgba(0, 0, 0, 0.55)
  • --dot-dark rgba(255, 255, 255, 0.12)
  • --text #ffffff
  • --text-mid #979797
  • --text-dim rgba(255, 255, 255, 0.5)
  • --lilac #c4b5d6
  • --violet #7b6cf6
  • --violet-pale #d7d5fa
  • --sage #53816e
  • --leaf #86a96f
  • --mint #3ef0a5
  • --moss #163300
  • --plum #6633ba

Type

  • Archivo 800 to 900 at width 125 for corner numerals, nav words, section shouts, ticker, stands in for a licensed wide heavy grotesque with flat terminals (Clash Grotesk bold)
  • Inter Tight 400 to 500 for running text, list titles, lead sentences, stands in for a licensed neutral Swiss grotesque (Suisse Intl)
  • IBM Plex Mono 400 to 500 for caps labels, tags, controls, status lines, stands in for the mono cut of the same Swiss family (Suisse Intl Mono)

Motion

  • The clock keeps real time: hands move every frame, numerals in the corners change with the hour and minute, and everything stops while the clock is off screen.
  • On load the black glow fades in from a dark red smudge over 1.8s, then the four numerals and the side buttons drop in, 0.64s on a quick-start soft-landing curve.
  • The glow leans gently toward the pointer and the dot nearest the pointer grows; on touch it follows the finger.
  • The shuffle button flips the field: a big red disc swells on black, numerals and hands turn black, and the corners cut through the disc; pressing again flips back over 0.56s.
  • The question button opens a small black note card with red mono caps text beside the side tab; Escape or the cross closes it.
  • Work cards lift their background one step and their thumbnails scale 1.04 on hover, 0.18s.
  • Discipline shapes morph between a rounded square and a circle and their red glow breathes, each out of step with the next.
  • A red band ticker of wide black words runs left forever and pauses on hover.
  • Sliders and tag pills in the instrument panel answer at once; the status line types out what the setting does.

Rules

  • The first screen is one flat #ff0000 field with no gradients except the glow; everything on it is pure black.
  • Four numerals sit tight in the four corners, wide and heavy, cut by nothing: hour, minute, month, day.
  • Chrome is tiny against the numerals: a small WORK word top centre, a black tab hugging the left edge, small black rounded squares and circles on the right.
  • Inside, the page is black (#000) with panels one step up (#111); text is small (13.5px) and grey, titles white, never bold.
  • Labels are mono caps at 11px in grey pills or red chips; the wide grotesque is kept for a few red shout words.
  • Colour inside is red plus one pastel per project: lilac, violet, sage, mint. A case study floods its own colour edge to edge.
  • Corners are small (6 to 8px) on cards and pills, big (24px) on icon shapes, fully round on buttons.
  • A faint dot grid sits under every dark panel too, so the field never fully goes away.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@125,800;125,900&family=Inter+Tight:wght@400;500&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --signal: #ff0000; /* the one flat red field, red hands, red labels on black */
  --signal-deep: #8a0000; /* red seen through the glow while it fades in */
  --ink: #000000; /* numerals, glow, tabs and buttons on red; page black */
  --night: #111111; /* raised dark panels, cards */
  --night-2: #1b1b1b; /* card hover, inner wells */
  --night-3: #2a2a2a; /* tag pills, slider tracks */
  --dot: rgba(0, 0, 0, 0.55); /* the grid dots on red */
  --dot-dark: rgba(255, 255, 255, 0.12); /* the grid dots on black */
  --text: #ffffff; /* titles on black */
  --text-mid: #979797; /* running text on black */
  --text-dim: rgba(255, 255, 255, 0.5); /* captions, inactive controls */
  --lilac: #c4b5d6; /* accent: soft labels */
  --violet: #7b6cf6; /* accent: active pill and slider fill */
  --violet-pale: #d7d5fa; /* accent: thumb on violet */
  --sage: #53816e; /* accent: muted green thumbnails */
  --leaf: #86a96f; /* accent: second green */
  --mint: #3ef0a5; /* accent: the case study flood */
  --moss: #163300; /* accent: dark green well */
  --plum: #6633ba; /* accent: purple thumbnail */

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif; /* wide heavy grotesque for numerals, nav words, big labels */
  --font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif; /* small neutral grotesque for running text */
  --font-mono: "IBM Plex Mono", ui-monospace, monospace; /* caps labels, tags, controls */
  --display-width: 125; /* width axis of the display face, always fully wide */

  --text-xs: 11.25px; /* mono caps tags */
  --text-s: 13.5px; /* running text, the site's main size */
  --text-m: 16.5px; /* titles in lists */
  --text-l: clamp(20px, 1.2rem + 0.6vw, 27px); /* lead sentences */
  --display-s: clamp(15px, 0.8rem + 0.3vw, 18px); /* nav words: WORK, HOME */
  --display-m: clamp(32px, 1rem + 4vw, 54px); /* section shouts */
  --display-xl: clamp(64px, 1.5rem + 9vw, 176px); /* the corner numerals */

  --edge: clamp(16px, 2.2vw, 30px); /* side padding of the page */
  --space-xs: 6px; /* inside pills */
  --space-s: 12px; /* between lines of one block */
  --space-m: 20px; /* between items */
  --space-l: 32px; /* between blocks */
  --space-xl: 56px; /* section padding */
  --tap: 44px; /* smallest tappable size */
  --grid-step: clamp(56px, 7vw, 104px); /* distance between grid dots */
  --dot-size: 2.5px; /* grid dot diameter */

  --radius-s: 6px; /* tags, small buttons, cards' inner thumb */
  --radius-m: 8px; /* cards, panels */
  --radius-l: 24px; /* big rounded icon shapes */
  --radius-round: 999px; /* pills and round buttons */

  --ease: cubic-bezier(0.32, 0.72, 0.16, 1); /* every transition: quick start, long soft landing */
  --quick: 0.18s; /* hover, press */
  --time: 0.56s; /* panels opening, shapes morphing */
  --time-slow: 0.64s; /* entrances */
  --intro: 1.8s; /* the clock glow fading in */
}

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

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

For your agent

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