kitbash Sign in Connect agent

Red Spiral Grid

Experimental · 6 parts · portfolio · golden ratio · spiral

Pale wave-textured panels cut on the golden section, separated by black seams, with signal-red headlines, red tiles and a white spiral drawn over a red field. Every smaller panel turns its content a further quarter, and the work gallery rotates and zooms along the spiral to bring each square forward; suits studio portfolios, exhibition and maker sites.

Get pack Remix

Whole page

Parts

Spiral intro

A red golden rectangle where white division lines rule in, a spiral draws through every square and the brand fades up, with a replay button.

Code React For Figma
<section class="intro is-playing" aria-label="Opening">
  <div class="intro__frame">
    <div class="intro__stage">
      <svg class="intro__drawing" viewBox="0 0 1618 1000" aria-hidden="true">
        <g class="intro__grid">
          <path class="intro__line" style="--i: 0" pathLength="1" d="M1000 0 V1000" />
          <path class="intro__line" style="--i: 1" pathLength="1" d="M1000 618 H1618" />
          <path class="intro__line" style="--i: 2" pathLength="1" d="M1236 618 V1000" />
          <path class="intro__line" style="--i: 3" pathLength="1" d="M1000 764 H1236" />
          <path class="intro__line" style="--i: 4" pathLength="1" d="M1146 618 V764" />
          <path class="intro__line" style="--i: 5" pathLength="1" d="M1146 708 H1236" />
          <path class="intro__line" style="--i: 6" pathLength="1" d="M1180 708 V764" />
          <path class="intro__line" style="--i: 7" pathLength="1" d="M1146 730 H1180" />
        </g>
        <path class="intro__spiral" pathLength="1"
          d="M0 1000 A1000 1000 0 0 1 1000 0 A618 618 0 0 1 1618 618 A382 382 0 0 1 1236 1000 A236 236 0 0 1 1000 764 A146 146 0 0 1 1146 618 A90 90 0 0 1 1236 708 A56 56 0 0 1 1180 764 A34 34 0 0 1 1146 730" />
      </svg>
    </div>

    <div class="intro__copy">
      <p class="intro__brand">Tidewright</p>
      <p class="intro__line-of-work">Instruments, rooms and screens for small museums.</p>
      <button class="intro__replay" type="button">
        <svg viewBox="0 0 20 20" aria-hidden="true"><path d="M16 10a6 6 0 1 1-2-4.5M14.5 2v4h-4" /></svg>
        Draw again
      </button>
    </div>
  </div>
</section>

<style>
  .intro {
    background: var(--red);
    color: var(--paper);
  }
  .intro__frame {
    position: relative;
    container-type: inline-size;
    aspect-ratio: 1.618034 / 1;
    overflow: hidden;
  }
  .intro__stage {
    position: absolute;
    inset: 0;
  }
  .intro__drawing {
    width: 100%;
    height: 100%;
    overflow: visible;
  }
  .intro__line,
  .intro__spiral {
    fill: none;
    stroke: var(--paper);
    stroke-width: 5;
    stroke-linecap: square;
    stroke-dasharray: 1 1;
    stroke-dashoffset: 0;
  }
  .intro__copy {
    position: absolute;
    left: 0;
    bottom: 0;
    width: var(--phi-major);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: var(--space-s);
    padding: var(--space-xl);
  }
  .intro__brand {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--display-l);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.02em;
  }
  .intro__line-of-work {
    max-width: 22em;
    margin: 0;
    font-size: var(--text-l);
    font-weight: 500;
    line-height: 1.4;
  }
  .intro__replay {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: var(--tap);
    margin-top: var(--space-s);
    padding: 0 var(--space-m) 0 var(--space-s);
    border: var(--rule-thin) solid var(--paper);
    border-radius: var(--radius);
    background: transparent;
    color: var(--paper);
    font: 700 var(--text-s) / 1 var(--font-body);
    cursor: pointer;
    transition: background var(--quick) var(--ease-out), color var(--quick) var(--ease-out), border-radius var(--medium) var(--ease-out);
  }
  .intro__replay svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }
  .intro__replay:hover,
  .intro__replay:focus-visible {
    background: var(--paper);
    color: var(--red);
    border-top-left-radius: 22px;
  }
  .intro__replay:focus-visible {
    outline: var(--rule-thin) solid var(--paper);
    outline-offset: 3px;
  }

  /* Playing: lines rule in one after another, then the spiral draws, then the words fade in. */
  .intro.is-playing .intro__line {
    animation: intro-rule var(--medium) var(--ease-out) both;
    animation-delay: calc(var(--i) * 50ms);
  }
  .intro.is-playing .intro__spiral {
    animation: intro-spiral var(--draw) var(--ease-in) both;
    animation-delay: 450ms;
  }
  .intro.is-playing .intro__copy > * {
    animation: intro-fade var(--slow) var(--ease-in) both;
    animation-delay: 1500ms;
  }
  .intro.is-playing .intro__copy > :nth-child(2) { animation-delay: 1600ms; }
  .intro.is-playing .intro__copy > :nth-child(3) { animation-delay: 1700ms; }

  @keyframes intro-rule {
    from { stroke-dashoffset: 1; }
  }
  @keyframes intro-spiral {
    from { stroke-dashoffset: 1; }
  }
  @keyframes intro-fade {
    from { opacity: 0; transform: translateY(12px); }
  }

  /* Phones: the field stands up, the big square on top. */
  @media (max-width: 640px) {
    .intro__frame {
      aspect-ratio: 1 / 1.618034;
    }
    .intro__stage {
      inset: auto;
      top: 0;
      left: 0;
      width: calc(100cqw * 1.618034);
      height: 100cqw;
      transform-origin: 0 0;
      transform: translateX(100cqw) rotate(90deg);
    }
    .intro__copy {
      top: 0;
      bottom: auto;
      width: 100%;
      height: var(--phi-major);
      padding: var(--space-l) var(--space-m) var(--space-m) var(--space-l);
    }
    .intro__brand {
      font-size: clamp(30px, 10cqw, 44px);
    }
    .intro__line-of-work {
      font-size: var(--text-s);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .intro.is-playing .intro__line,
    .intro.is-playing .intro__spiral,
    .intro.is-playing .intro__copy > * {
      animation: none;
    }
  }
</style>

<script>
  (() => {
    for (const root of document.querySelectorAll('.intro')) {
      const replay = root.querySelector('.intro__replay');
      const play = () => {
        root.classList.remove('is-playing');
        void root.offsetWidth;
        root.classList.add('is-playing');
      };
      replay.addEventListener('click', play);
    }
  })();
</script>

Golden split hero

A wordmark, notice, stacked red headline and red tile in the big square, with a vertically set statement and smaller turned panels in the remainder.

Code React For Figma
<header class="hero">
  <div class="hero__frame">
    <div class="hero__major hero__panel">
      <div class="hero__top">
        <a class="hero__wordmark" href="#">
          <svg class="hero__glyph" viewBox="0 0 162 100" aria-hidden="true">
            <path d="M1 1 H161 V99 H1 Z M100 1 V99 M100 62 H161 M124 62 V99 M100 76 H124" />
            <path d="M1 99 A99 99 0 0 1 100 1 A61 61 0 0 1 161 62 A37 37 0 0 1 124 99 A24 24 0 0 1 100 76" />
          </svg>
          <span>Tidewright</span>
        </a>
        <p class="hero__notice">
          <strong>Note:</strong> every room on this site turns a quarter as you go. Prefer it still?
          <a class="hero__notice-link" href="#">Read the flat version.</a>
        </p>
      </div>
      <div class="hero__bottom">
        <h1 class="hero__title">Measure<br>Model<br>Make</h1>
        <div class="hero__cue">
          <a class="hero__tile" href="#work">
            <svg class="hero__tile-icon" viewBox="0 0 62 100" aria-hidden="true">
              <path d="M1 1 H61 V99 H1 Z M1 62 H61 M24 62 V99 M1 76 H24 M24 85 H38" />
              <path d="M61 62 A60 60 0 0 0 1 1 M1 62 A37 37 0 0 0 38 99" />
            </svg>
            <span>Begin</span>
          </a>
          <div class="hero__keys" aria-hidden="true">
            <span class="hero__key hero__key--up">&#9652;</span>
            <span class="hero__key hero__key--left">&#9666;</span>
            <span class="hero__key hero__key--down">&#9662;</span>
            <span class="hero__key hero__key--right">&#9656;</span>
          </div>
        </div>
      </div>
    </div>

    <div class="hero__minor">
      <div class="hero__panel hero__turned">
        <div class="hero__turned-inner">
          <h2 class="hero__statement">Objects that keep their own time.</h2>
          <p class="hero__copy">
            We build working instruments for rooms full of old things: clocks that read the tide,
            drawers that light the fern you open, a lens that finds the moon on a cloudy day.
            <a class="hero__copy-link" href="#">Booking projects for spring.</a>
          </p>
        </div>
      </div>
      <div class="hero__rest">
        <div class="hero__panel hero__small hero__small--flip">
          <p class="hero__small-kicker">Now on show</p>
          <p class="hero__small-title">Coil Room</p>
          <p class="hero__small-copy">Forty bronze spirals, one dial that sorts them by age.</p>
        </div>
        <div class="hero__nest">
          <div class="hero__panel hero__small hero__small--dot">
            <span class="hero__square"></span>
          </div>
          <div class="hero__panel hero__small hero__small--left">
            <p class="hero__small-title">Est. 2014</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</header>

<style>
  .hero {
    background: var(--night);
    color: var(--ink);
  }
  .hero__frame {
    display: grid;
    grid-template-columns: minmax(0, 61.8034fr) minmax(0, 38.1966fr);
    gap: var(--seam);
    aspect-ratio: 1.618034 / 1;
    min-height: 520px;
  }
  .hero__panel {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: var(--wave-texture), var(--paper-tint);
  }
  .hero__major {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space-xl);
  }
  .hero__top,
  .hero__bottom {
    display: flex;
    justify-content: space-between;
    gap: var(--space-l);
  }
  .hero__bottom {
    align-items: flex-end;
  }
  .hero__wordmark {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    min-height: var(--tap);
    color: var(--ink);
    font: 800 var(--text-xl) / 1 var(--font-display);
    letter-spacing: -0.03em;
    text-decoration: none;
  }
  .hero__glyph {
    width: 44px;
    height: auto;
    fill: none;
    stroke: var(--ink);
    stroke-width: 3;
  }
  .hero__notice {
    max-width: 25em;
    margin: 0;
    font-size: var(--text-m);
    line-height: 1.5;
  }
  .hero__notice strong {
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
  }
  .hero__notice-link,
  .hero__copy-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: var(--rule-thin);
    text-underline-offset: 3px;
    transition: color var(--quick) var(--ease);
  }
  .hero__copy-link {
    color: var(--red);
  }
  .hero__notice-link:hover,
  .hero__notice-link:focus-visible {
    color: var(--red);
  }
  .hero__title {
    margin: 0;
    color: var(--red);
    font-family: var(--font-display);
    font-size: var(--display-m);
    font-weight: 700;
    line-height: var(--leading-display);
    letter-spacing: var(--track-display);
  }
  .hero__cue {
    display: grid;
    justify-items: center;
    gap: var(--space-s);
  }
  .hero__tile {
    display: grid;
    place-items: center;
    align-content: space-between;
    width: 96px;
    height: 132px;
    padding: var(--space-m) var(--space-s) var(--space-s);
    border-radius: 0;
    background: var(--red);
    color: var(--paper);
    font: 700 var(--text-l) / 1 var(--font-body);
    text-decoration: none;
    transition: background var(--medium) var(--ease), border-radius var(--quick) var(--ease-out);
  }
  .hero__tile-icon {
    width: 32px;
    fill: none;
    stroke: var(--paper);
    stroke-width: 2.4;
  }
  .hero__tile:hover,
  .hero__tile:focus-visible {
    background: var(--red-deep);
    border-top-left-radius: 48px;
  }
  .hero__tile:focus-visible {
    outline: var(--rule-thin) solid var(--red);
    outline-offset: 4px;
  }
  .hero__keys {
    display: grid;
    grid-template-columns: repeat(3, 26px);
    grid-template-rows: 14px 14px;
    gap: 3px;
  }
  .hero__key {
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--key);
    color: var(--key-ink);
    font-size: 9px;
    line-height: 1;
  }
  .hero__key--up { grid-column: 2; grid-row: 1; }
  .hero__key--left { grid-column: 1; grid-row: 2; }
  .hero__key--down { grid-column: 2; grid-row: 2; }
  .hero__key--right { grid-column: 3; grid-row: 2; }

  /* Right column: the remainder of the golden split, cut again and again. */
  .hero__minor {
    display: grid;
    grid-template-rows: minmax(0, 61.8034fr) minmax(0, 38.1966fr);
    gap: var(--seam);
    min-height: 0;
  }
  .hero__turned-inner {
    position: absolute;
    inset: var(--space-xl) var(--space-l);
    display: flex;
    flex-direction: column;
    gap: var(--space-l);
    writing-mode: vertical-rl;
  }
  .hero__statement {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: var(--track-display);
  }
  .hero__copy {
    max-inline-size: 24em;
    margin: 0;
    margin-block-start: auto;
    color: var(--ink);
    font-size: var(--text-s);
    line-height: 1.5;
  }
  .hero__rest {
    display: grid;
    grid-template-columns: minmax(0, 38.1966fr) minmax(0, 61.8034fr);
    gap: var(--seam);
    min-height: 0;
  }
  .hero__rest > .hero__small--flip {
    grid-column: 2;
    grid-row: 1;
  }
  .hero__nest {
    display: grid;
    grid-template-rows: minmax(0, 38.1966fr) minmax(0, 61.8034fr);
    gap: var(--seam);
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
  }
  .hero__small {
    container-type: size;
  }
  .hero__small--flip {
    display: flex;
    flex-direction: column;
    gap: 3cqi;
    padding: 10cqi;
    transform: rotate(180deg);
  }
  .hero__small-kicker,
  .hero__small-title,
  .hero__small-copy {
    margin: 0;
  }
  .hero__small-kicker {
    color: var(--red);
    font-size: max(9px, 5.5cqi);
    font-weight: 700;
  }
  .hero__small-title {
    font-size: max(12px, 11cqi);
    font-weight: 700;
    line-height: 1;
  }
  .hero__small-copy {
    max-width: 18em;
    color: var(--ink-soft);
    font-size: max(9px, 5.5cqi);
    line-height: 1.45;
  }
  .hero__small--dot {
    display: grid;
    place-items: center;
  }
  .hero__square {
    width: 38%;
    aspect-ratio: 1;
    background: var(--night);
    animation: hero-square 6s var(--ease) infinite;
  }
  @keyframes hero-square {
    0%, 40% { transform: rotate(0); }
    50%, 90% { transform: rotate(90deg); border-top-left-radius: var(--radius-quarter); }
    100% { transform: rotate(180deg); }
  }
  .hero__small--left {
    display: grid;
    align-content: end;
    padding: 12cqi;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  @media (max-width: 960px) and (min-width: 641px) {
    .hero__frame {
      aspect-ratio: auto;
    }
    .hero__major {
      padding: var(--space-l);
    }
    .hero__top {
      flex-direction: column;
      gap: var(--space-m);
    }
    .hero__turned-inner {
      inset: var(--space-l) var(--space-m);
    }
  }

  /* Phones: the big square first, then the turned panel beside the small cuts. */
  @media (max-width: 640px) {
    .hero__frame {
      grid-template-columns: 1fr;
      aspect-ratio: auto;
      min-height: 0;
    }
    .hero__major {
      min-height: 100vw;
      gap: var(--space-xl);
      padding: var(--space-l) var(--space-m);
    }
    .hero__top,
    .hero__bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: var(--space-m);
    }
    .hero__bottom {
      flex-direction: row;
      align-items: flex-end;
    }
    .hero__title {
      font-size: clamp(30px, 9vw, 40px);
    }
    .hero__minor {
      grid-template-rows: none;
      grid-template-columns: minmax(0, 38.1966fr) minmax(0, 61.8034fr);
      min-height: 460px;
    }
    .hero__turned {
      grid-column: 2;
      grid-row: 1;
    }
    .hero__turned-inner {
      inset: var(--space-l) var(--space-m);
    }
    .hero__rest {
      grid-column: 1;
      grid-row: 1;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: minmax(0, 38.1966fr) minmax(0, 61.8034fr);
      overflow: hidden;
    }
    .hero__rest > .hero__small--flip {
      grid-column: 1;
      grid-row: 2;
    }
    .hero__nest {
      grid-row: 1;
      grid-template-rows: none;
      grid-template-columns: minmax(0, 61.8034fr) minmax(0, 38.1966fr);
    }
    .hero__statement {
      font-size: 26px;
    }
  }

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

Spiral gallery

Seven nested golden squares of work, each turned a quarter more; the keys, buttons or a tap turn and zoom the tiling to bring a square forward.

Code React For Figma
<section class="spiral" id="work" aria-label="Selected work">
  <div class="spiral__frame" tabindex="0" aria-roledescription="spiral gallery" aria-label="Selected work. Use the arrow keys to turn.">
    <div class="spiral__stage">
      <div class="spiral__spin">

        <div class="spiral__panel" style="--k: 0; left: 0%; top: 0%; width: 61.8034%; height: 100%;">
          <div class="spiral__face spiral__face--open">
            <p class="spiral__kicker">Selected work, 2019 to 2026</p>
            <h2 class="spiral__lead">Five rooms that turn when you look closer.</h2>
            <p class="spiral__text">Each square holds one project. Press the arrow keys, use the buttons below or tap a smaller square to turn the whole grid a quarter and bring it forward.</p>
          </div>
        </div>

        <div class="spiral__panel" style="--k: 1; left: 61.8034%; top: 0%; width: 38.1966%; height: 61.8034%;">
          <div class="spiral__face">
            <p class="spiral__meta"><span class="spiral__index">01</span><span>Harbour museum, 2025</span></p>
            <div class="spiral__picture"><img src="assets/waves.jpg" alt="Woodcut of a wave breaking on a beach" width="1000" height="712" loading="lazy"></div>
            <h3 class="spiral__title">Tide Clock</h3>
            <p class="spiral__text">A brass dial that reads the harbour gauge and turns twice a day.</p>
            <a class="spiral__link" href="#">Open the case</a>
          </div>
        </div>

        <div class="spiral__panel" style="--k: 2; left: 76.3932%; top: 61.8034%; width: 23.6068%; height: 38.1966%;">
          <div class="spiral__face">
            <p class="spiral__meta"><span class="spiral__index">02</span><span>Silver collection, 2024</span></p>
            <div class="spiral__picture"><img src="assets/shell.jpg" alt="A nautilus shell mounted as a gilded cup" width="613" height="800" loading="lazy"></div>
            <h3 class="spiral__title">Shell Cabinet Lights</h3>
            <p class="spiral__text">Light that follows the chambers of a shell from the mouth to the eye.</p>
            <a class="spiral__link" href="#">Open the case</a>
          </div>
        </div>

        <div class="spiral__panel" style="--k: 3; left: 61.8034%; top: 76.3932%; width: 14.5898%; height: 23.6068%;">
          <div class="spiral__face">
            <p class="spiral__meta"><span class="spiral__index">03</span><span>Print room, 2023</span></p>
            <div class="spiral__picture"><img src="assets/watch.jpg" alt="Woodblock print of a pocket watch on a cord, with verses" width="714" height="800" loading="lazy"></div>
            <h3 class="spiral__title">Pocket Time</h3>
            <p class="spiral__text">A handheld guide that knows how long you have stood at each print.</p>
            <a class="spiral__link" href="#">Open the case</a>
          </div>
        </div>

        <div class="spiral__panel" style="--k: 4; left: 61.8034%; top: 61.8034%; width: 9.017%; height: 14.5898%;">
          <div class="spiral__face">
            <p class="spiral__meta"><span class="spiral__index">04</span><span>Botany hall, 2021</span></p>
            <div class="spiral__picture"><img src="assets/fern.jpg" alt="Nature print of small ferns on a botanical plate" width="542" height="800" loading="lazy"></div>
            <h3 class="spiral__title">Herbarium Drawers</h3>
            <p class="spiral__text">Pull a drawer and the wall map lights the hill the fern was found on.</p>
            <a class="spiral__link" href="#">Open the case</a>
          </div>
        </div>

        <div class="spiral__panel" style="--k: 5; left: 70.8204%; top: 61.8034%; width: 5.5728%; height: 9.017%;">
          <div class="spiral__face">
            <p class="spiral__meta"><span class="spiral__index">05</span><span>Bronze age room, 2019</span></p>
            <div class="spiral__picture"><img src="assets/fibula.jpg" alt="An ancient bronze pin wound into a flat spiral" width="800" height="600" loading="lazy"></div>
            <h3 class="spiral__title">Coil Room</h3>
            <p class="spiral__text">Forty bronze spirals and one dial that sorts them by age.</p>
            <a class="spiral__link" href="#">Open the case</a>
          </div>
        </div>

        <div class="spiral__panel spiral__panel--end" style="--k: 6; left: 72.949%; top: 70.8204%; width: 3.4442%; height: 5.5728%;">
          <div class="spiral__face spiral__face--end">
            <p class="spiral__lead">That is the middle.</p>
            <button class="spiral__restart" type="button">Back out</button>
          </div>
        </div>

      </div>
    </div>
  </div>

  <div class="spiral__bar">
    <p class="spiral__status" aria-live="polite"><span class="spiral__count">00 / 06</span> <span class="spiral__current">Selected work</span></p>
    <div class="spiral__keys">
      <button class="spiral__key spiral__key--prev" type="button" aria-label="Turn back">
        <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M10 3 5 8l5 5" /></svg>
      </button>
      <button class="spiral__key spiral__key--next" type="button" aria-label="Turn forward">
        <svg viewBox="0 0 16 16" aria-hidden="true"><path d="m6 3 5 5-5 5" /></svg>
      </button>
    </div>
  </div>
</section>

<style>
  .spiral {
    --base-turn: 0;
    background: var(--night);
    color: var(--ink);
  }
  .spiral__frame {
    position: relative;
    container-type: inline-size;
    aspect-ratio: 1.618034 / 1;
    overflow: hidden;
    background: var(--night);
    outline: none;
  }
  .spiral__frame:focus-visible {
    box-shadow: inset 0 0 0 var(--rule-white) var(--red);
  }
  .spiral__stage {
    position: absolute;
    inset: 0;
  }
  .spiral__spin {
    position: absolute;
    inset: 0;
    transform-origin: var(--spiral-eye) var(--spiral-eye);
    transition: transform var(--turn) var(--ease);
  }
  .spiral__panel {
    --fit: 1;
    position: absolute;
    container-type: size;
    border: calc(var(--seam) * var(--fit)) solid var(--night);
    background: var(--wave-texture), var(--paper-tint);
    background-size: calc(96px * var(--fit)) calc(9px * var(--fit)), auto;
    overflow: hidden;
    cursor: pointer;
  }
  .spiral__panel.is-current {
    cursor: default;
  }
  .spiral__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 2.4cqi;
    padding: 7cqi;
    transform: rotate(calc((var(--k) - var(--base-turn)) * 90deg));
  }
  .spiral__face--open {
    justify-content: flex-end;
    gap: 4cqi;
    padding: 9cqi;
  }
  .spiral__kicker,
  .spiral__meta,
  .spiral__lead,
  .spiral__title,
  .spiral__text {
    margin: 0;
  }
  .spiral__kicker {
    color: var(--red);
    font-size: 2.6cqi;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .spiral__lead {
    max-width: 11em;
    color: var(--red);
    font-family: var(--font-display);
    font-size: 8cqi;
    font-weight: 700;
    line-height: var(--leading-display);
    letter-spacing: var(--track-display);
  }
  .spiral__meta {
    display: flex;
    justify-content: space-between;
    color: var(--ink-soft);
    font-size: 2.6cqi;
  }
  .spiral__index {
    color: var(--red);
    font-weight: 700;
  }
  .spiral__picture {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    background: var(--red);
  }
  .spiral__picture img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.25);
    mix-blend-mode: multiply;
    transition: mix-blend-mode var(--medium) var(--ease-out), opacity var(--medium) var(--ease-out);
  }
  .spiral__panel.is-current .spiral__picture:hover img {
    mix-blend-mode: normal;
  }
  .spiral__title {
    font-family: var(--font-display);
    font-size: 6.4cqi;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: var(--track-display);
  }
  .spiral__text {
    max-width: 30em;
    font-size: 2.9cqi;
    line-height: 1.45;
  }
  /* Links only answer in the square that is forward; elsewhere they are seen as text-sized marks. */
  .spiral__link,
  .spiral__restart {
    display: none;
  }
  .spiral__panel.is-current .spiral__restart {
    display: block;
  }
  .spiral__panel.is-current .spiral__link {
    display: inline-flex;
  }
  .spiral__link {
    align-items: center;
    min-height: calc(var(--tap) * var(--fit));
    align-self: flex-start;
    color: var(--red);
    font-size: 2.9cqi;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: calc(var(--rule-thin) * 2 * var(--fit));
    text-underline-offset: 0.3em;
  }
  .spiral__face--end {
    justify-content: center;
    align-items: flex-start;
    gap: 6cqi;
    padding: 12cqi;
  }
  .spiral__restart {
    min-width: 30cqi;
    min-height: 14cqi;
    padding: 0 6cqi;
    border: 0;
    background: var(--red);
    color: var(--paper);
    font: 700 4.4cqi / 1 var(--font-body);
    cursor: pointer;
    transition: background var(--medium) var(--ease), border-radius var(--quick) var(--ease-out);
  }
  .spiral__restart:hover,
  .spiral__restart:focus-visible {
    background: var(--red-deep);
    border-top-left-radius: 7cqi;
  }

  .spiral__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
    padding: var(--space-s) var(--edge);
    border-top: var(--seam) solid var(--night);
    background: var(--night);
    color: var(--paper);
  }
  .spiral__status {
    margin: 0;
    font-size: var(--text-s);
  }
  .spiral__count {
    margin-right: var(--space-s);
    color: var(--red);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
  .spiral__keys {
    display: flex;
    gap: var(--space-xs);
  }
  .spiral__key {
    display: grid;
    place-items: center;
    width: 56px;
    height: var(--tap);
    border: 0;
    border-radius: var(--radius);
    background: var(--key);
    color: var(--key-ink);
    cursor: pointer;
    transition: background var(--quick) var(--ease), transform var(--quick) var(--ease);
  }
  .spiral__key svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
  }
  .spiral__key:hover,
  .spiral__key:focus-visible {
    background: var(--red);
  }
  .spiral__key:active,
  .spiral__key.is-pressed {
    background: var(--red);
    transform: translateY(2px);
  }
  .spiral__key:focus-visible {
    outline: var(--rule-thin) solid var(--paper);
    outline-offset: 2px;
  }
  .spiral__key:disabled {
    opacity: 0.35;
    cursor: default;
  }

  /* Phones: the grid stands up, the big square on top, every face turns back a quarter. */
  @media (max-width: 640px) {
    .spiral {
      --base-turn: 1;
    }
    .spiral__frame {
      aspect-ratio: 1 / 1.618034;
    }
    .spiral__stage {
      inset: auto;
      top: 0;
      left: 0;
      width: calc(100cqw * 1.618034);
      height: 100cqw;
      transform-origin: 0 0;
      transform: translateX(100cqw) rotate(90deg);
    }
    .spiral__text {
      font-size: 3.4cqi;
    }
    .spiral__meta,
    .spiral__kicker {
      font-size: 3.2cqi;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .spiral__spin {
      transition: none;
    }
  }
</style>

<script>
  (() => {
    const PHI = (1 + Math.sqrt(5)) / 2;
    for (const root of document.querySelectorAll('.spiral')) {
      const frame = root.querySelector('.spiral__frame');
      const spin = root.querySelector('.spiral__spin');
      const panels = [...root.querySelectorAll('.spiral__panel')];
      const count = root.querySelector('.spiral__count');
      const current = root.querySelector('.spiral__current');
      const prev = root.querySelector('.spiral__key--prev');
      const next = root.querySelector('.spiral__key--next');
      const last = panels.length - 1;
      const pad = (n) => String(n).padStart(2, '0');
      let step = 0;

      panels.forEach((panel, k) => panel.style.setProperty('--fit', (1 / Math.pow(PHI, k)).toFixed(5)));

      const go = (to) => {
        step = Math.max(0, Math.min(last, to));
        spin.style.transform = `rotate(${-90 * step}deg) scale(${Math.pow(PHI, step).toFixed(5)})`;
        panels.forEach((panel, k) => {
          panel.classList.toggle('is-current', k === step);
          for (const el of panel.querySelectorAll('a, button')) el.tabIndex = k === step ? 0 : -1;
          panel.setAttribute('aria-hidden', k === step ? 'false' : 'true');
        });
        const title = panels[step].querySelector('.spiral__title, .spiral__lead');
        count.textContent = `${pad(step)} / ${pad(last)}`;
        current.textContent = step === 0 ? 'Selected work' : title.textContent;
        prev.disabled = step === 0;
        next.disabled = step === last;
      };

      const press = (key) => {
        key.classList.add('is-pressed');
        setTimeout(() => key.classList.remove('is-pressed'), 160);
      };

      prev.addEventListener('click', () => go(step - 1));
      next.addEventListener('click', () => go(step + 1));
      root.querySelector('.spiral__restart').addEventListener('click', () => { go(0); frame.focus(); });
      panels.forEach((panel, k) => panel.addEventListener('click', (event) => {
        if (k === step || event.target.closest('a, button')) return;
        go(k);
      }));
      frame.addEventListener('keydown', (event) => {
        if (event.key === 'ArrowRight' || event.key === 'ArrowDown') { event.preventDefault(); press(next); go(step + 1); }
        if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') { event.preventDefault(); press(prev); go(step - 1); }
      });

      go(0);
    }
  })();
</script>

Case file

A project write-up in the big square with credits, copy and facts, a red duotone picture and a tile that turns the sheet upside down.

Code React For Figma
<article class="casefile" aria-labelledby="casefile-title">
  <div class="casefile__frame">
    <div class="casefile__panel casefile__major">
      <div class="casefile__sheet">
        <div class="casefile__head">
          <p class="casefile__kicker">Case 06</p>
          <a class="casefile__visit" href="#">Visit</a>
        </div>
        <h2 class="casefile__title" id="casefile-title">Lighthouse Reading Room</h2>
        <div class="casefile__body">
          <dl class="casefile__credits">
            <dt>With</dt>
            <dd>Ada Morrow</dd>
            <dd>Tomas Pell</dd>
            <dd>Ines Okafor-Lund</dd>
            <dd>Rufus Haig</dd>
            <dd>The keepers' trust</dd>
          </dl>
          <p class="casefile__text">
            A reading room in an old lamp house, where every desk lamp turns with the beam that used to sweep the bay.
            We rebuilt the lens mount as a slow clock, wrote the timing for twenty-two desk lights and laid the floor
            out on a golden cut so every chair sits in its own square.
          </p>
        </div>
        <ul class="casefile__facts">
          <li><span>Year</span>2026</li>
          <li><span>Place</span>North quay</li>
          <li><span>Our part</span>Lighting, timing, furniture</li>
        </ul>
      </div>
    </div>

    <div class="casefile__minor">
      <figure class="casefile__panel casefile__figure">
        <img class="casefile__img" src="assets/lighthouse.jpg" alt="Painting of a rocky cove with bathers in the shallows" width="800" height="475" loading="lazy">
        <figcaption class="casefile__caption">The cove below the lamp house, as the founders painted it.</figcaption>
      </figure>
      <div class="casefile__panel casefile__side">
        <p class="casefile__side-label">Read it the other way</p>
        <button class="casefile__turn" type="button" aria-pressed="false">
          <svg viewBox="0 0 20 20" aria-hidden="true"><path d="M4 10a6 6 0 0 1 10.5-4M16 10a6 6 0 0 1-10.5 4M14.5 2v4h-4M5.5 18v-4h4" /></svg>
          <span>Turn</span>
        </button>
      </div>
    </div>
  </div>
</article>

<style>
  .casefile {
    background: var(--night);
    color: var(--ink);
  }
  .casefile__frame {
    display: grid;
    grid-template-columns: 61.8034fr 38.1966fr;
    gap: var(--seam);
    min-height: min(720px, 61.8034vw);
  }
  .casefile__panel {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: var(--wave-texture), var(--paper-tint);
  }
  .casefile__major {
    padding: var(--space-xl);
  }
  .casefile__sheet {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
    height: 100%;
    transition: transform var(--slow) var(--ease-in);
  }
  .casefile.is-turned .casefile__sheet {
    transform: rotate(180deg);
  }
  .casefile__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .casefile__kicker {
    margin: 0;
    color: var(--red);
    font-size: var(--text-s);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .casefile__visit {
    display: inline-grid;
    place-items: center;
    min-width: var(--tap);
    min-height: var(--tap);
    padding: 0 var(--space-s);
    border: var(--rule-thin) solid var(--ink);
    border-radius: var(--radius);
    color: var(--ink);
    font-size: var(--text-s);
    font-weight: 700;
    text-decoration: none;
    transition: background var(--quick) var(--ease), color var(--quick) var(--ease), border-color var(--quick) var(--ease);
  }
  .casefile__visit:hover,
  .casefile__visit:focus-visible {
    border-color: var(--red);
    background: var(--red);
    color: var(--paper);
  }
  .casefile__title {
    max-width: 12em;
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--display-m);
    font-weight: 700;
    line-height: var(--leading-display);
    letter-spacing: var(--track-display);
  }
  .casefile__body {
    display: grid;
    grid-template-columns: minmax(0, 38.1966fr) minmax(0, 61.8034fr);
    gap: var(--space-l);
    margin-top: auto;
  }
  .casefile__credits {
    margin: 0;
    font-size: var(--text-s);
    line-height: 1.7;
  }
  .casefile__credits dt {
    color: var(--ink-soft);
  }
  .casefile__credits dd {
    margin: 0;
    font-weight: 500;
    transition: color var(--quick) var(--ease);
  }
  .casefile__credits dd:hover {
    color: var(--red);
  }
  .casefile__text {
    max-width: 32em;
    margin: 0;
    font-size: var(--text-m);
    line-height: 1.55;
  }
  .casefile__facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-l);
    margin: 0;
    padding: var(--space-s) 0 0;
    border-top: var(--rule-thin) solid var(--ink);
    list-style: none;
    font-size: var(--text-s);
    font-weight: 700;
  }
  .casefile__facts span {
    display: block;
    color: var(--ink-soft);
    font-weight: 400;
  }

  .casefile__minor {
    display: grid;
    grid-template-rows: 61.8034fr 38.1966fr;
    gap: var(--seam);
    min-height: 0;
  }
  .casefile__figure {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    background: var(--red);
  }
  .casefile__img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    filter: grayscale(1) contrast(1.3);
    mix-blend-mode: multiply;
  }
  .casefile__caption {
    padding: var(--space-s) var(--space-m);
    color: var(--paper);
    font-size: var(--text-s);
    line-height: 1.4;
  }
  .casefile__side {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: var(--space-m);
    padding: var(--space-l);
  }
  .casefile__side-label {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1.05;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
  .casefile__turn {
    display: grid;
    place-items: center;
    align-content: space-between;
    align-self: flex-end;
    width: 72px;
    height: 104px;
    padding: var(--space-m) var(--space-xs) var(--space-s);
    border: 0;
    border-radius: 0;
    background: var(--red);
    color: var(--paper);
    font: 700 var(--text-l) / 1 var(--font-body);
    cursor: pointer;
    transition: background var(--medium) var(--ease), border-radius var(--quick) var(--ease-out);
  }
  .casefile__turn svg {
    width: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }
  .casefile__turn:hover,
  .casefile__turn:focus-visible,
  .casefile.is-turned .casefile__turn {
    background: var(--red-deep);
    border-top-left-radius: 36px;
  }
  .casefile__turn:focus-visible {
    outline: var(--rule-thin) solid var(--red);
    outline-offset: 3px;
  }

  @media (max-width: 760px) {
    .casefile__frame {
      grid-template-columns: 1fr;
    }
    .casefile__major {
      padding: var(--space-l) var(--space-m);
    }
    .casefile__body {
      grid-template-columns: 1fr;
      gap: var(--space-m);
    }
    .casefile__minor {
      grid-template-rows: none;
      grid-template-columns: 61.8034fr 38.1966fr;
    }
    .casefile__side {
      flex-direction: column;
      padding: var(--space-m);
    }
    .casefile__side-label {
      font-size: var(--text-l);
      writing-mode: horizontal-tb;
      transform: none;
    }
    .casefile__turn {
      align-self: flex-start;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .casefile__sheet {
      transition: none;
    }
  }
</style>

<script>
  (() => {
    for (const root of document.querySelectorAll('.casefile')) {
      const turn = root.querySelector('.casefile__turn');
      turn.addEventListener('click', () => {
        const turned = root.classList.toggle('is-turned');
        turn.setAttribute('aria-pressed', String(turned));
      });
    }
  })();
</script>

Contact tile

A vertically set ask beside a tall red tile with a blinking speech bubble.

Code React For Figma
<section class="contact" aria-labelledby="contact-title">
  <div class="contact__frame">
    <div class="contact__panel contact__words">
      <h2 class="contact__title" id="contact-title">Got an odd object? Tell us about it.</h2>
      <p class="contact__text">
        Send a photo, a measurement and the room it lives in. We answer every letter within a week,
        usually with a sketch. <a class="contact__link" href="#">Open for autumn projects.</a>
      </p>
    </div>
    <div class="contact__panel contact__ask">
      <a class="contact__tile" href="#">
        <svg class="contact__bubble" viewBox="0 0 40 36" aria-hidden="true">
          <path class="contact__bubble-line" d="M3 3 H37 V27 H16 L8 33 V27 H3 Z" />
          <circle class="contact__dot" cx="13" cy="15" r="2.2" />
          <circle class="contact__dot" cx="20" cy="15" r="2.2" />
          <circle class="contact__dot" cx="27" cy="15" r="2.2" />
        </svg>
        <span class="contact__label">Write to us</span>
      </a>
      <p class="contact__address">letters@tidewright.example<br>Quay Street 9, second floor</p>
    </div>
  </div>
</section>

<style>
  .contact {
    background: var(--night);
    color: var(--ink);
  }
  .contact__frame {
    display: grid;
    grid-template-columns: 61.8034fr 38.1966fr;
    gap: var(--seam);
  }
  .contact__panel {
    min-width: 0;
    background: var(--wave-texture), var(--paper-tint);
  }
  .contact__words {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    min-height: 460px;
    padding: var(--space-xl);
    writing-mode: vertical-rl;
  }
  .contact__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--display-m);
    font-weight: 700;
    line-height: var(--leading-display);
    letter-spacing: var(--track-display);
  }
  .contact__text {
    max-inline-size: 22em;
    margin: 0;
    margin-block-start: auto;
    font-size: var(--text-m);
    line-height: 1.55;
  }
  .contact__link {
    color: var(--red);
    text-decoration: underline;
    text-decoration-thickness: var(--rule-thin);
    text-underline-offset: 3px;
  }
  .contact__ask {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-l);
    padding: var(--space-xl) var(--space-l);
  }
  .contact__tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 132px;
    height: 176px;
    padding: var(--space-m) var(--space-s);
    border-radius: 0;
    background: var(--red);
    color: var(--paper);
    text-decoration: none;
    writing-mode: vertical-rl;
    transition: background var(--medium) var(--ease), border-radius var(--quick) var(--ease-out);
  }
  .contact__tile:hover,
  .contact__tile:focus-visible {
    background: var(--red-deep);
    border-bottom-right-radius: var(--radius-quarter);
  }
  .contact__tile:focus-visible {
    outline: var(--rule-thin) solid var(--red);
    outline-offset: 4px;
  }
  .contact__label {
    font: 700 var(--text-l) / 1 var(--font-body);
    white-space: nowrap;
  }
  .contact__bubble {
    width: 34px;
  }
  .contact__bubble-line {
    fill: none;
    stroke: var(--paper);
    stroke-width: 2;
    stroke-linejoin: round;
  }
  .contact__dot {
    fill: var(--paper);
    animation: contact-blink var(--blink) linear infinite;
  }
  .contact__dot:nth-of-type(2) { animation-delay: 200ms; }
  .contact__dot:nth-of-type(3) { animation-delay: 400ms; }
  @keyframes contact-blink {
    0%, 8% { opacity: 1; }
    12%, 22% { opacity: 0; }
    26%, 100% { opacity: 1; }
  }
  .contact__address {
    margin: 0;
    color: var(--ink-soft);
    font-size: var(--text-s);
    line-height: 1.6;
  }

  @media (max-width: 640px) {
    .contact__frame {
      grid-template-columns: 1fr;
    }
    .contact__words {
      min-height: 420px;
      padding: var(--space-l) var(--space-m);
      gap: var(--space-l);
    }
    .contact__title {
      font-size: clamp(26px, 8vw, 34px);
    }
    .contact__ask {
      flex-direction: row;
      align-items: flex-end;
      padding: var(--space-l) var(--space-m);
    }
    .contact__tile {
      width: 96px;
      height: 140px;
    }
  }

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

Style

  • --red #f11b1b
  • --red-deep #c90f12
  • --ink #0b0b0b
  • --ink-soft #66666c
  • --paper #ffffff
  • --paper-tint #f4f4f6
  • --night #020202
  • --key #c6c6cb
  • --key-ink #ffffff

Type

  • Inter for headlines and running text, stands in for the operating system's own grotesk (San Francisco on Apple devices), used bold for headlines and regular for copy

Motion

  • Intro: eight white division lines rule in one after another (0.3s each, ease-out, 50ms apart), then the golden spiral draws over 1.2s ease-in, then the words fade up over 0.6s ease-in, 100ms apart.
  • Spiral gallery: one step rotates the whole tiling a quarter turn back and scales it by 1.618 around the spiral's eye, over 1s ease, so the next square fills the big panel upright.
  • Red tiles darken over 0.3s and one corner swells into a quarter circle over 0.2s ease-out on hover.
  • The case panel turns over 180 degrees in 0.6s ease-in when its Turn tile is pressed.
  • Three dots in the contact bubble blink on a 3s linear loop, 200ms apart; the hero's black square turns a quarter every 3s.

Rules

  • Every layout is a golden cut: 61.8 against 38.2, and the remainder cut again the same way.
  • Panels are pale, faintly wave-textured squares divided by 2px black seams; the page behind them is near black.
  • Each smaller panel turns its content a further quarter: upright, sideways, upside down, the other side.
  • Red is the only colour: the intro field, stacked bold headlines, tiles, links and the picture duotone.
  • One grotesk, bold with slightly open tracking for headlines, small and regular for copy, set vertical in narrow panels.
  • Pictures sit as red and black duotones: greyscale multiplied onto a red box.
  • On phones the golden rectangle stands up: the big square on top and every face turned back a quarter.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap");

:root {
  /* Colour roles */
  --red: #f11b1b; /* signal red: intro field, headlines, tiles, links */
  --red-deep: #c90f12; /* red tile pressed and hovered */
  --ink: #0b0b0b; /* main text on panels */
  --ink-soft: #66666c; /* small print and captions */
  --paper: #ffffff; /* panel ground and text on red */
  --paper-tint: #f4f4f6; /* panel ground under the wave texture */
  --night: #020202; /* page behind the panels, seams and footer */
  --key: #c6c6cb; /* grey keycap faces */
  --key-ink: #ffffff; /* arrows on keycaps */
  --wave-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='9'%3E%3Cpath d='M0 4.5 Q12 1.5 24 4.5 T48 4.5 T72 4.5 T96 4.5' fill='none' stroke='%23e3e3e8' stroke-width='1'/%3E%3C/svg%3E"); /* fine wavy line texture on panels */

  /* Type */
  --font-display: "Inter", -apple-system, "Helvetica Neue", sans-serif; /* headlines, bold and tight */
  --font-body: "Inter", -apple-system, "Helvetica Neue", sans-serif; /* running text */
  --text-xs: 11px; /* tiny captions inside small panels */
  --text-s: 13px; /* small print, labels */
  --text-m: 14.5px; /* running text */
  --text-l: 16px; /* buttons and leads */
  --text-xl: 24px; /* sub-heads */
  --display-m: clamp(28px, 3.3vw, 48px); /* red stacked headline */
  --display-l: clamp(40px, 6vw, 88px); /* vertical statements */
  --track-display: 0.02em; /* slight open tracking on bold display lines */
  --leading-display: 1.08; /* tight display leading */

  /* Golden section */
  --phi: 1.618034; /* ratio of every panel split */
  --phi-major: 61.8034%; /* larger share of a golden split */
  --phi-minor: 38.1966%; /* smaller share of a golden split */
  --spiral-eye: 72.3607%; /* fixed point of the spiral, as x and y of the stage */

  /* Lines and shape */
  --seam: 2px; /* dark gap between panels */
  --rule-white: 3px; /* white division lines on the red intro */
  --rule-thin: 1px; /* underlines and hairlines */
  --radius: 3px; /* keycaps and tiles */
  --radius-quarter: 100%; /* quarter-circle corner on hovered tiles */

  /* Space */
  --space-xs: 6px; /* tight gaps */
  --space-s: 12px; /* small gaps */
  --space-m: 20px; /* between blocks */
  --space-l: 36px; /* panel padding on phones */
  --space-xl: clamp(40px, 5.6vw, 80px); /* panel padding on desktop */
  --edge: clamp(20px, 5.6vw, 80px); /* outer page margin */
  --tap: 44px; /* minimum tap target */

  /* Motion */
  --quick: 200ms; /* hover colour */
  --medium: 300ms; /* tile morph and fades */
  --slow: 600ms; /* panel content entering */
  --turn: 1000ms; /* spiral turn between panels */
  --draw: 1200ms; /* spiral line drawing */
  --blink: 3000ms; /* blinking dots loop */
  --ease: ease; /* default easing */
  --ease-out: ease-out; /* hovers */
  --ease-in: ease-in; /* fades in */
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--text-m)/1.5 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-spiral-grid"), 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