kitbash Sign in Connect agent

Machine Shop Grid

Tech · 7 parts · engineering · grid · wireframe

A precision workshop laid out like a drawing sheet: pale blue-grey paper, near-black frames with 4 px gaps between every cell, hairline column rules and one orange accent. Huge fitted grotesk caps, small caps labels, a dotted-leader status readout, a turning dashed wireframe and cool grey photographs of machines; it suits engineering studios, hardware makers and instrument builders.

Get pack Remix

Whole page

Parts

Boxed nav cells

A top bar of separate boxed cells on an ink frame: wordmark cell, five link cells and an orange call to action cell; on phones a burger cell opens stacked 64 px cells.

Code React For Figma
<header class="nav">
  <nav class="nav__bar" aria-label="Main">
    <a class="nav__cell nav__mark" href="#">ALTAZ</a>
    <button class="nav__cell nav__toggle" type="button" aria-expanded="false" aria-controls="nav-cells" aria-label="Open menu">
      <span class="nav__burger" aria-hidden="true"></span>
    </button>
    <ul class="nav__cells" id="nav-cells">
      <li><a class="nav__cell nav__link" href="#">Instruments</a></li>
      <li><a class="nav__cell nav__link" href="#">Works</a></li>
      <li><a class="nav__cell nav__link" href="#">Services</a></li>
      <li><a class="nav__cell nav__link" href="#">Night tests</a></li>
      <li><a class="nav__cell nav__link" href="#">Logbook</a></li>
      <li><a class="nav__cell nav__link nav__ask" href="#">Commission one <span class="nav__arrow" aria-hidden="true">&rarr;</span></a></li>
    </ul>
  </nav>
</header>

<style>
  .nav {
    background: var(--ink);
    padding: var(--frame);
  }
  .nav__bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--frame);
  }
  .nav__cell {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    height: var(--cell-h);
    padding: 0 var(--cell-pad);
    border: 0;
    background: var(--page);
    color: var(--ink);
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--quick) var(--ease);
  }
  .nav__mark {
    flex: 1;
    font-size: var(--title-s);
    font-weight: var(--weight-mid);
    letter-spacing: -0.01em;
  }
  .nav__cells {
    display: flex;
    gap: var(--frame);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .nav__ask {
    background: var(--accent);
  }
  .nav__arrow {
    display: inline-block;
    translate: -4px 0;
    transition: translate var(--quick) var(--ease);
  }
  .nav__link:hover,
  .nav__link:focus-visible {
    background: var(--paper);
  }
  .nav__ask:hover .nav__arrow,
  .nav__ask:focus-visible .nav__arrow {
    translate: 0 0;
  }
  .nav__toggle {
    display: none;
    justify-content: center;
    width: var(--cell-h);
    padding: 0;
    cursor: pointer;
  }
  .nav__toggle:hover {
    background: var(--paper);
  }
  .nav__burger,
  .nav__burger::before {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: rotate var(--quick) var(--ease), translate var(--quick) var(--ease);
  }
  .nav__burger {
    translate: 0 -4px;
  }
  .nav__burger::before {
    content: "";
    translate: 0 6px;
  }
  .nav.is-open .nav__burger {
    translate: 0 0;
    rotate: 45deg;
  }
  .nav.is-open .nav__burger::before {
    translate: 0 0;
    rotate: -90deg;
  }

  @media (max-width: 64rem) {
    .nav__toggle {
      display: flex;
    }
    .nav__cells {
      display: none;
      flex: 1 0 100%;
      flex-direction: column;
    }
    .nav.is-open .nav__cells {
      display: flex;
    }
    .nav__cells .nav__cell {
      height: 64px;
    }
    .nav__ask {
      justify-content: center;
    }
  }
</style>

<script>
(() => {
  document.querySelectorAll('.nav').forEach((root) => {
    const toggle = root.querySelector('.nav__toggle');
    toggle.addEventListener('click', () => {
      const open = root.classList.toggle('is-open');
      toggle.setAttribute('aria-expanded', String(open));
      toggle.setAttribute('aria-label', open ? 'Close menu' : 'Open menu');
    });
  });
})();
</script>

Fitted headline sheet

A ruled sheet with a three-label meta row, a round black 300+ badge, a process chain, a lead with an orange button and a two-line caps title fitted edge to edge by script.

Code React For Figma
<section class="hero">
  <div class="hero__meta">
    <span class="hero__label">Precision instrument works</span>
    <span class="hero__label hero__label--mid">Abisko, Sweden</span>
    <span class="hero__label hero__label--end">Est. 1931</span>
  </div>

  <div class="hero__body">
    <p class="hero__badge"><strong class="hero__badge-number">300+</strong> Mounts<br>on the sky</p>
    <p class="hero__chain">
      <span>Optics &rarr; Mounts &rarr; Drives</span>
      <span class="hero__chain-soft">Built as one instrument</span>
    </p>
    <div class="hero__ask">
      <p class="hero__lead">We grind, mount and align telescopes for observatories that cannot lose a clear night. Glass, steel, drives and firmware, tested under a cold sky before anything ships.</p>
      <a class="hero__button" href="#">Start a commission <span class="hero__arrow" aria-hidden="true">&rarr;</span></a>
    </div>
  </div>

  <h1 class="hero__title" aria-label="Altaz Instruments">
    <span class="hero__line" aria-hidden="true">Altaz</span>
    <span class="hero__line" aria-hidden="true">Instruments</span>
  </h1>
</section>

<style>
  .hero {
    position: relative;
    padding: var(--space-l) var(--gutter);
    border-inline: var(--frame) solid var(--ink);
    background:
      repeating-linear-gradient(90deg,
        transparent 0 calc(var(--col-step) - var(--col-rule)),
        var(--rule-col) calc(var(--col-step) - var(--col-rule)) var(--col-step))
      calc(var(--col-offset) - var(--col-step) + var(--col-rule)) 0 / auto,
      var(--page);
    overflow: hidden;
  }
  .hero__meta,
  .hero__body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-l);
  }
  .hero__label {
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
  }
  .hero__label--mid {
    justify-self: center;
  }
  .hero__label--end {
    justify-self: end;
  }
  .hero__body {
    margin-top: var(--space-l);
    align-items: start;
  }
  .hero__badge {
    display: grid;
    place-content: center;
    width: var(--badge);
    aspect-ratio: 1;
    margin: 0;
    border-radius: var(--radius-round);
    background: var(--ink);
    color: var(--on-dark);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    font-weight: var(--weight-label);
    text-align: center;
  }
  .hero__badge-number {
    display: block;
    margin-bottom: 4px;
    font: var(--weight-mid) var(--badge-number)/1 var(--font-display);
    letter-spacing: -0.03em;
  }
  .hero__chain {
    display: grid;
    gap: var(--space-xs);
    margin: 0;
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
  }
  .hero__chain-soft {
    color: var(--ink-soft);
  }
  .hero__lead {
    margin: 0 0 var(--space-l);
    font-size: var(--text-lead);
    line-height: var(--lh-lead);
    letter-spacing: 0;
  }
  .hero__button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    height: var(--cell-h);
    padding: 0 var(--cell-pad);
    background: var(--accent);
    color: var(--ink);
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color var(--quick) var(--ease);
  }
  .hero__arrow {
    translate: -4px 0;
    transition: translate var(--quick) var(--ease);
  }
  .hero__button:hover,
  .hero__button:focus-visible {
    background: var(--paper);
  }
  .hero__button:hover .hero__arrow,
  .hero__button:focus-visible .hero__arrow {
    translate: 0 0;
  }

  /* The title is sized by the script so its widest line meets both edges; the clamp is the size before it runs. */
  .hero__title {
    margin: var(--space-l) 0 0;
    font-family: var(--font-display);
    font-size: clamp(56px, 15vw, 240px);
    font-weight: var(--weight-mid);
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
  }
  .hero__line {
    display: block;
    width: max-content;
  }

  @media (max-width: 56rem) {
    .hero {
      display: flex;
      flex-direction: column;
    }
    .hero__meta {
      grid-template-columns: 1fr auto;
    }
    .hero__label--mid {
      justify-self: end;
    }
    .hero__label--end {
      display: none;
    }
    .hero__title {
      order: 1;
    }
    .hero__body {
      order: 2;
      grid-template-columns: 1fr;
    }
    .hero__badge {
      order: 3;
      width: 140px;
    }
    .hero__chain {
      order: 2;
    }
  }
</style>

<script>
(() => {
  function fit(title) {
    const lines = [...title.querySelectorAll('.hero__line')];
    title.style.fontSize = '100px';
    const widest = Math.max(...lines.map((line) => line.getBoundingClientRect().width));
    const room = title.clientWidth;
    title.style.fontSize = `${Math.floor((room / widest) * 100 * 10) / 10}px`;
  }

  document.querySelectorAll('.hero__title').forEach((title) => {
    const refit = () => fit(title);
    new ResizeObserver(refit).observe(title);
    document.fonts.ready.then(refit);
  });
})();
</script>

Wireframe and system status

An orange vertical tab, a dark grid panel with a dashed icosahedron on canvas that turns and can be dragged, and a status readout with dotted leaders and a live sidereal clock.

Code React For Figma
<section class="readout" aria-labelledby="readout-title">
  <p class="readout__tab"><span>Works / Abisko</span></p>

  <div class="readout__panel">
    <canvas class="readout__shape" role="img" aria-label="A dashed wireframe icosahedron turning slowly on a square grid"></canvas>
    <span class="readout__corner readout__corner--top">FIG. 07 / MIRROR CELL</span>
    <span class="readout__corner readout__corner--end">AXIS &theta; <output class="readout__angle">000.0&deg;</output></span>
  </div>

  <div class="readout__status">
    <h2 class="readout__title" id="readout-title">System status</h2>
    <dl class="readout__rows">
      <div class="readout__row"><dt>Pointing</dt><dd>&plusmn;0.4 arcsec</dd></div>
      <div class="readout__row"><dt>Tracking drift</dt><dd>0.02&Prime; / min</dd></div>
      <div class="readout__row"><dt>Mirrors in grind</dt><dd>3</dd></div>
      <div class="readout__row"><dt>Field returns</dt><dd>0</dd></div>
      <div class="readout__row"><dt>First reply</dt><dd>2 days</dd></div>
      <div class="readout__row readout__row--live"><dt>Sidereal, Abisko</dt><dd><time class="readout__clock" data-longitude="18.83">00:00:00</time></dd></div>
    </dl>
    <p class="readout__note">Last bench calibration on the 14th, against the north collimator. Next sky check tonight at 22:40.</p>
  </div>
</section>

<style>
  .readout {
    display: grid;
    grid-template-columns: 40px minmax(0, 1.4fr) minmax(0, 1fr);
    gap: var(--space-l);
    padding: var(--space-l) var(--gutter);
    border-inline: var(--frame) solid var(--ink);
    background:
      repeating-linear-gradient(90deg,
        transparent 0 calc(var(--col-step) - var(--col-rule)),
        var(--rule-col) calc(var(--col-step) - var(--col-rule)) var(--col-step))
      calc(var(--col-offset) - var(--col-step) + var(--col-rule)) 0 / auto,
      var(--page);
  }
  .readout__tab {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    padding-top: 20px;
    background: var(--accent);
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
    white-space: nowrap;
  }
  .readout__tab span {
    writing-mode: vertical-rl;
    rotate: 180deg;
  }

  .readout__panel {
    position: relative;
    height: 320px;
    background-color: var(--ink);
    background-image:
      linear-gradient(var(--grid-dark) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
    background-size: 33px 33px;
    background-position: -1px -1px;
    color: var(--on-dark);
    cursor: grab;
  }
  .readout__panel:active {
    cursor: grabbing;
  }
  .readout__shape {
    width: 100%;
    height: 100%;
    touch-action: pan-y;
  }
  .readout__corner {
    position: absolute;
    font: var(--weight-label) 12px/var(--lh-label) var(--font-display);
    letter-spacing: 0.04em;
    pointer-events: none;
  }
  .readout__corner--top {
    top: 12px;
    left: 14px;
  }
  .readout__corner--end {
    right: 14px;
    bottom: 12px;
    color: var(--accent);
  }
  .readout__angle {
    font-variant-numeric: tabular-nums;
  }

  .readout__status {
    align-self: start;
  }
  .readout__title {
    margin: 0 0 var(--space-m);
    font: var(--weight-mid) var(--title-m)/var(--lh-title-m) var(--font-display);
    text-transform: uppercase;
  }
  .readout__rows {
    margin: 0;
  }
  .readout__row {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    height: 28px;
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
  }
  .readout__row::after {
    content: "";
    order: 1;
    flex: 1;
    min-width: var(--space-m);
    border-bottom: var(--dot-leader) dotted var(--ink);
    translate: 0 -3px;
  }
  .readout__row dt {
    order: 0;
  }
  .readout__row dd {
    order: 2;
    margin: 0;
    font-variant-numeric: tabular-nums;
  }
  .readout__note {
    max-width: 30em;
    margin: var(--space-m) 0 0;
    color: var(--ink-soft);
  }
  .readout__row--live dd {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--ink);
  }
  .readout__row--live dd::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--accent);
    animation: readout-blink 1s steps(1) infinite;
  }
  @keyframes readout-blink {
    50% { opacity: 0; }
  }

  @media (max-width: 56rem) {
    .readout {
      grid-template-columns: minmax(0, 1fr);
      gap: var(--space-m);
    }
    .readout__tab {
      height: 40px;
      align-items: center;
      padding: 0;
    }
    .readout__tab span {
      writing-mode: horizontal-tb;
      rotate: none;
    }
    .readout__panel {
      height: 280px;
    }
  }
</style>

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

  function icosahedron() {
    const g = (1 + Math.sqrt(5)) / 2;
    const raw = [
      [-1, g, 0], [1, g, 0], [-1, -g, 0], [1, -g, 0],
      [0, -1, g], [0, 1, g], [0, -1, -g], [0, 1, -g],
      [g, 0, -1], [g, 0, 1], [-g, 0, -1], [-g, 0, 1],
    ];
    const size = Math.hypot(1, g);
    const points = raw.map((p) => p.map((v) => v / size));
    const near = (a, b) => Math.abs(Math.hypot(...a.map((v, i) => v - b[i])) - 2 / size) < 1e-6;
    const edges = [];
    for (let a = 0; a < 12; a++) for (let b = a + 1; b < 12; b++) if (near(points[a], points[b])) edges.push([a, b]);
    const faces = [];
    for (const [a, b] of edges) for (let c = b + 1; c < 12; c++) if (near(points[a], points[c]) && near(points[b], points[c])) faces.push([a, b, c]);
    const facesOfEdge = edges.map(([a, b]) => faces.filter((f) => f.includes(a) && f.includes(b)));
    return { points, edges, faces, facesOfEdge };
  }

  function rotate([x, y, z], yaw, pitch) {
    const x1 = x * Math.cos(yaw) + z * Math.sin(yaw);
    const z1 = -x * Math.sin(yaw) + z * Math.cos(yaw);
    const y2 = y * Math.cos(pitch) - z1 * Math.sin(pitch);
    const z2 = y * Math.sin(pitch) + z1 * Math.cos(pitch);
    return [x1, y2, z2];
  }

  function run(panel) {
    const canvas = panel.querySelector('.readout__shape');
    const angleOut = panel.querySelector('.readout__angle');
    const context = canvas.getContext('2d');
    const shape = icosahedron();
    const camera = 3.2;
    let yaw = 0.6;
    let pitch = -0.35;
    let pull = 0;
    let dragFrom = null;
    let last = 0;
    let frame = 0;

    function paint() {
      const width = canvas.clientWidth;
      const height = canvas.clientHeight;
      const radius = Math.min(width, height) * 0.4;
      const turned = shape.points.map((p) => rotate(p, yaw, pitch));
      const flat = turned.map(([x, y, z]) => {
        const scale = camera / (camera - z);
        return [width / 2 + x * radius * scale, height / 2 + y * radius * scale];
      });
      const facing = shape.faces.map((face) => {
        const centre = [0, 1, 2].map((i) => face.reduce((sum, v) => sum + turned[v][i], 0) / 3);
        const toCamera = [-centre[0], -centre[1], camera - centre[2]];
        return centre.reduce((sum, v, i) => sum + v * toCamera[i], 0) > 0;
      });
      const ink = getComputedStyle(panel).color;
      context.clearRect(0, 0, width, height);
      context.lineWidth = 1.5;
      context.lineCap = 'round';
      context.setLineDash([6, 3]);
      context.strokeStyle = ink;
      for (const front of [false, true]) {
        context.globalAlpha = front ? 1 : 0.3;
        context.beginPath();
        shape.edges.forEach(([a, b], i) => {
          const seen = shape.facesOfEdge[i].some((f) => facing[shape.faces.indexOf(f)]);
          if (seen !== front) return;
          context.moveTo(...flat[a]);
          context.lineTo(...flat[b]);
        });
        context.stroke();
      }
      context.globalAlpha = 1;
      context.setLineDash([]);
      context.fillStyle = ink;
      flat.forEach(([x, y], i) => {
        if (turned[i][2] > 0) context.fillRect(x - 1.5, y - 1.5, 3, 3);
      });
      const degrees = ((yaw * 180 / Math.PI) % 360 + 360) % 360;
      angleOut.textContent = `${degrees.toFixed(1).padStart(5, '0')}°`;
    }

    function fit() {
      const density = Math.min(2, devicePixelRatio || 1);
      canvas.width = canvas.clientWidth * density;
      canvas.height = canvas.clientHeight * density;
      context.setTransform(density, 0, 0, density, 0, 0);
      paint();
    }

    function tick(now) {
      const seconds = last ? Math.min(0.05, (now - last) / 1000) : 0;
      last = now;
      if (!dragFrom) {
        yaw += (turnPerSecond + pull) * seconds;
        pull *= 0.94;
      }
      paint();
      frame = requestAnimationFrame(tick);
    }

    function start() {
      cancelAnimationFrame(frame);
      last = 0;
      frame = requestAnimationFrame(tick);
    }

    panel.addEventListener('pointerdown', (event) => {
      dragFrom = { x: event.clientX, y: event.clientY, yaw, pitch, at: performance.now() };
      panel.setPointerCapture(event.pointerId);
    });
    panel.addEventListener('pointermove', (event) => {
      if (!dragFrom) return;
      yaw = dragFrom.yaw + (event.clientX - dragFrom.x) * 0.01;
      pitch = Math.max(-1.2, Math.min(1.2, dragFrom.pitch + (event.clientY - dragFrom.y) * 0.01));
      if (still.matches || !frame) paint();
    });
    const release = (event) => {
      if (!dragFrom) return;
      const held = Math.max(16, performance.now() - dragFrom.at) / 1000;
      pull = Math.max(-3, Math.min(3, (event.clientX - dragFrom.x) * 0.01 / held * 0.3));
      dragFrom = null;
    };
    panel.addEventListener('pointerup', release);
    panel.addEventListener('pointercancel', release);

    new ResizeObserver(fit).observe(canvas);
    new IntersectionObserver(([entry]) => {
      cancelAnimationFrame(frame);
      frame = 0;
      if (entry.isIntersecting && !still.matches) start();
    }).observe(canvas);
  }

  function siderealTime(date, longitude) {
    const days = date.getTime() / 86400000 + 2440587.5 - 2451545.0;
    const hours = (((18.697374558 + 24.06570982441908 * days + longitude / 15) % 24) + 24) % 24;
    const seconds = Math.floor(hours * 3600);
    return [seconds / 3600, (seconds / 60) % 60, seconds % 60].map((v) => String(Math.floor(v)).padStart(2, '0')).join(':');
  }

  function runClock(clock) {
    const longitude = Number(clock.dataset.longitude);
    const show = () => { clock.textContent = siderealTime(new Date(), longitude); };
    show();
    setInterval(show, 1000);
  }

  document.querySelectorAll('.readout__panel').forEach(run);
  document.querySelectorAll('.readout__clock').forEach(runClock);
})();
</script>

Discipline ticker and machine reel

A black band of disciplines separated by slashes rolling at 40 px per second over a full-width machine shop photograph with a round play button that starts a slow dolly and a timecode.

Code React For Figma
<section class="reel" aria-label="Disciplines and the lathe room">
  <div class="reel__band">
    <ul class="reel__track">
      <li class="reel__item">Optical design</li>
      <li class="reel__item">Mirror grinding</li>
      <li class="reel__item">Equatorial mounts</li>
      <li class="reel__item">Dome drives</li>
      <li class="reel__item">Encoders &amp; firmware</li>
      <li class="reel__item">Spectrographs</li>
      <li class="reel__item">Alignment &amp; star test</li>
    </ul>
  </div>

  <figure class="reel__stage">
    <div class="reel__frame">
      <img class="reel__picture" src="assets/lathe-shafts.jpg" alt="Long belt-driven lathes for turning shafts in an old machine shop" width="1200" height="857" loading="lazy">
    </div>
    <button class="reel__play" type="button" aria-pressed="false" aria-label="Play the lathe room reel">
      <svg class="reel__icon reel__icon--play" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 5l7 7-7 7"/></svg>
      <svg class="reel__icon reel__icon--pause" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 6v12M15 6v12"/></svg>
    </button>
    <figcaption class="reel__caption">
      <span>Reel 03 / Lathe room, shaft line</span>
      <output class="reel__time">00:00:00:00</output>
    </figcaption>
  </figure>
</section>

<style>
  .reel {
    background: var(--ink);
  }
  .reel__band {
    display: flex;
    align-items: center;
    height: var(--cell-h);
    overflow: hidden;
    color: var(--on-dark);
  }
  .reel__track {
    display: flex;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: reel-roll var(--reel-duration, 42s) linear infinite;
  }
  .reel__band:hover .reel__track,
  .reel.is-away .reel__track {
    animation-play-state: paused;
  }
  .reel__item {
    flex: none;
    font: var(--weight-label) var(--text-tick)/var(--text-tick) var(--font-display);
    text-transform: uppercase;
    white-space: nowrap;
  }
  .reel__item::after {
    content: "/";
    padding: 0 var(--space-xs);
  }
  @keyframes reel-roll {
    to { transform: translateX(-50%); }
  }

  .reel__stage {
    position: relative;
    margin: 0;
  }
  .reel__frame {
    aspect-ratio: 21 / 8;
    overflow: hidden;
    background: var(--steel);
  }
  .reel__picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.25) brightness(1.05);
    mix-blend-mode: multiply;
    scale: 1.1;
    transform-origin: 40% 60%;
  }
  .reel.is-playing .reel__picture {
    animation: reel-dolly 18s var(--ease) infinite alternate;
  }
  @keyframes reel-dolly {
    from { scale: 1.1; translate: 0 0; }
    to { scale: 1.32; translate: -4% 2%; }
  }

  .reel__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: var(--play);
    height: var(--play);
    translate: -50% -50%;
    border: 2px solid var(--paper);
    border-radius: var(--radius-round);
    background: rgba(26, 27, 28, 0.35);
    color: var(--paper);
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .reel__play:hover,
  .reel__play:focus-visible {
    background: var(--paper);
    color: var(--ink);
  }
  .reel__icon {
    grid-area: 1 / 1;
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }
  .reel__icon--pause,
  .reel.is-playing .reel__icon--play {
    display: none;
  }
  .reel.is-playing .reel__icon--pause {
    display: block;
  }

  .reel__caption {
    position: absolute;
    right: var(--frame);
    bottom: var(--frame);
    left: var(--frame);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-xs) var(--space-m);
    padding: var(--space-s) var(--gutter);
    color: var(--paper);
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(26, 27, 28, 0.6);
  }
  .reel__time {
    font-variant-numeric: tabular-nums;
  }
  .reel.is-playing .reel__time {
    color: var(--accent);
  }

  @media (max-width: 56rem) {
    .reel__frame {
      aspect-ratio: 4 / 3;
    }
    .reel__play {
      --play: 72px;
    }
  }
</style>

<script>
(() => {
  const still = matchMedia('(prefers-reduced-motion: reduce)');
  const pad = (n) => String(Math.floor(n)).padStart(2, '0');

  function setUpTicker(root) {
    const track = root.querySelector('.reel__track');
    for (const item of [...track.children]) {
      const copy = item.cloneNode(true);
      copy.setAttribute('aria-hidden', 'true');
      track.append(copy);
    }
    const speed = Number(getComputedStyle(root).getPropertyValue('--tick-speed')) || 40;
    const measure = () => root.style.setProperty('--reel-duration', `${track.scrollWidth / 2 / speed}s`);
    measure();
    document.fonts.ready.then(measure);
    new IntersectionObserver(([entry]) => root.classList.toggle('is-away', !entry.isIntersecting)).observe(root);
  }

  function setUpPlayer(root) {
    const button = root.querySelector('.reel__play');
    const time = root.querySelector('.reel__time');
    let started = 0;
    let shown = 0;
    let timer = 0;
    const show = () => {
      const frames = ((performance.now() - started) / 1000 + shown) * 24;
      time.textContent = [frames / 86400, (frames / 1440) % 60, (frames / 24) % 60, frames % 24].map(pad).join(':');
    };
    button.addEventListener('click', () => {
      const playing = root.classList.toggle('is-playing');
      button.setAttribute('aria-pressed', String(playing));
      button.setAttribute('aria-label', playing ? 'Pause the lathe room reel' : 'Play the lathe room reel');
      clearInterval(timer);
      if (playing) {
        started = performance.now();
        timer = setInterval(show, 1000 / 24);
      } else {
        shown += (performance.now() - started) / 1000;
      }
    });
    new IntersectionObserver(([entry]) => {
      if (!entry.isIntersecting && root.classList.contains('is-playing')) button.click();
    }).observe(root);
    if (still.matches) root.querySelector('.reel__track').style.animation = 'none';
  }

  document.querySelectorAll('.reel').forEach((root) => {
    setUpTicker(root);
    setUpPlayer(root);
  });
})();
</script>

Services table

A ruled table of material, discipline and scope whose rows go black on hover and pick a detail panel with a photograph, two ruled notes and a link.

Code React For Figma
<section class="services" aria-labelledby="services-title">
  <div class="services__index">
    <p class="services__strip"><span>Core disciplines</span><span class="services__arrows" aria-hidden="true">&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</span></p>
    <div class="services__intro">
      <h2 class="services__title" id="services-title">Services</h2>
      <p class="services__text">Four disciplines, one workshop. Glass, steel and firmware are drawn on the same sheet, so nothing is handed over blind between them.</p>
      <a class="services__button" href="#">All services <span class="services__arrow" aria-hidden="true">&rarr;</span></a>
    </div>
    <table class="services__table">
      <caption class="services__caption">Disciplines, with what each one covers</caption>
      <thead>
        <tr><th scope="col">Material</th><th scope="col">Discipline</th><th scope="col">Covers</th></tr>
      </thead>
      <tbody>
        <tr class="services__row is-current" data-panel="0"><td>Glass</td><th scope="row"><button class="services__pick" type="button" aria-pressed="true">Optical design</button></th><td>Objectives</td></tr>
        <tr class="services__row" data-panel="1"><td>Steel</td><th scope="row"><button class="services__pick" type="button" aria-pressed="false">Mounts &amp; drives</button></th><td>Fork &amp; German</td></tr>
        <tr class="services__row" data-panel="2"><td>Firmware</td><th scope="row"><button class="services__pick" type="button" aria-pressed="false">Encoders &amp; control</button></th><td>Pointing models</td></tr>
        <tr class="services__row" data-panel="3"><td>Shop</td><th scope="row"><button class="services__pick" type="button" aria-pressed="false">Machining &amp; build</button></th><td>Piers &amp; tubes</td></tr>
      </tbody>
    </table>
  </div>

  <div class="services__detail" aria-live="polite">
    <article class="services__panel">
      <header class="services__head"><span class="services__label">Glass</span><h3 class="services__name">Optical design</h3></header>
      <div class="services__body">
        <div class="services__picture" style="--cx: 0.325; --cy: 0.137; --cw: 0.585; --ch: 0.639;"><img src="assets/lens-spindle.jpg" alt="A long room of spindle machines grinding and polishing lenses" width="800" height="549" loading="lazy"></div>
        <div class="services__notes">
          <div class="services__note"><h4>Objectives</h4><p>Doublets and triplets figured to a twentieth of a wave on slow spindles, checked against a flat.</p></div>
          <div class="services__note"><h4>Mirrors</h4><p>Primaries up to 1.2 metres, ground, polished and silvered under one roof.</p></div>
        </div>
      </div>
      <a class="services__more" href="#">View service <span class="services__arrow" aria-hidden="true">&rarr;</span></a>
    </article>
    <article class="services__panel" hidden>
      <header class="services__head"><span class="services__label">Steel</span><h3 class="services__name">Mounts &amp; drives</h3></header>
      <div class="services__body">
        <div class="services__picture" style="--cx: 0.235; --cy: 0.3625; --cw: 0.4; --ch: 0.255;"><img src="assets/driving-clock.jpg" alt="The open case of a telescope driving clock, gears and governor inside" width="680" height="800" loading="lazy"></div>
        <div class="services__notes">
          <div class="services__note"><h4>Fork mounts</h4><p>Cast and stress-relieved forks that hold a two-tonne tube still in a gusting dome.</p></div>
          <div class="services__note"><h4>German mounts</h4><p>Counterweighted heads for refractors, with worm drives lapped to their own wheels.</p></div>
        </div>
      </div>
      <a class="services__more" href="#">View service <span class="services__arrow" aria-hidden="true">&rarr;</span></a>
    </article>
    <article class="services__panel" hidden>
      <header class="services__head"><span class="services__label">Firmware</span><h3 class="services__name">Encoders &amp; control</h3></header>
      <div class="services__body">
        <div class="services__picture" style="--cx: 0; --cy: 0.126; --cw: 1; --ch: 0.755;"><img src="assets/dividing-engine.jpg" alt="An engraving of a circular dividing engine for cutting graduations into a ring" width="800" height="795" loading="lazy"></div>
        <div class="services__notes">
          <div class="services__note"><h4>Encoder rings</h4><p>Absolute rings read to 26 bits, cut on the dividing engine in the basement.</p></div>
          <div class="services__note"><h4>Pointing models</h4><p>A sky model from two hundred stars on site, so the first target lands in the eyepiece.</p></div>
        </div>
      </div>
      <a class="services__more" href="#">View service <span class="services__arrow" aria-hidden="true">&rarr;</span></a>
    </article>
    <article class="services__panel" hidden>
      <header class="services__head"><span class="services__label">Shop</span><h3 class="services__name">Machining &amp; build</h3></header>
      <div class="services__body">
        <div class="services__picture" style="--cx: 0.07; --cy: 0.04; --cw: 0.86; --ch: 0.892;"><img src="assets/machine-shop.jpg" alt="A long timber-roofed machine shop with lathes along one wall" width="1200" height="868" loading="lazy"></div>
        <div class="services__notes">
          <div class="services__note"><h4>Tubes &amp; piers</h4><p>Steel tubes rolled and welded in house, piers cast to the plan of each site.</p></div>
          <div class="services__note"><h4>Fixtures</h4><p>Every jig a commission needs, turned the same week on the long lathes downstairs.</p></div>
        </div>
      </div>
      <a class="services__more" href="#">View service <span class="services__arrow" aria-hidden="true">&rarr;</span></a>
    </article>
  </div>
</section>

<style>
  .services {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--frame);
    padding: var(--frame);
    background: var(--ink);
  }
  .services__index,
  .services__detail {
    background: var(--paper);
  }
  .services__strip {
    display: flex;
    justify-content: space-between;
    gap: var(--space-m);
    margin: 0;
    padding: var(--space-s) var(--gutter);
    border-bottom: var(--hair) solid var(--ink);
    background: var(--page);
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
  }
  .services__arrows {
    letter-spacing: 0.08em;
  }
  .services__intro {
    padding: var(--space-l) var(--gutter) 0;
  }
  .services__title,
  .services__name {
    margin: 0;
    font: var(--weight-mid) var(--title-xl)/1 var(--font-display);
    text-transform: uppercase;
    letter-spacing: -0.01em;
  }
  .services__text {
    max-width: 30em;
    margin: var(--space-m) 0;
  }
  .services__button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    height: var(--cell-h);
    padding: 0 var(--cell-pad);
    background: var(--ink);
    color: var(--on-dark);
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .services__button:hover,
  .services__button:focus-visible {
    background: var(--accent);
    color: var(--ink);
  }
  .services__arrow {
    display: inline-block;
    translate: -4px 0;
    transition: translate var(--quick) var(--ease);
  }
  .services__button:hover .services__arrow,
  .services__more:hover .services__arrow {
    translate: 0 0;
  }

  .services__table {
    width: calc(100% - 2 * var(--gutter));
    margin: var(--space-l) var(--gutter);
    border-collapse: collapse;
  }
  .services__caption,
  .services__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .services__row {
    border-bottom: var(--hair) solid var(--ink);
    cursor: pointer;
    transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .services__row td,
  .services__row th {
    height: var(--tap);
    padding: 0 8px;
    font-size: var(--text-body);
    font-weight: var(--weight-light);
    text-align: left;
  }
  .services__row td:last-child {
    text-align: right;
  }
  .services__pick {
    width: 100%;
    min-height: var(--tap);
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: var(--weight-bold) var(--text-body)/var(--lh-body) var(--font-body);
    letter-spacing: var(--track-body);
    text-align: left;
    cursor: pointer;
  }
  .services__row:hover,
  .services__row.is-current {
    background: var(--ink);
    color: var(--on-dark);
  }

  .services__detail {
    display: flex;
  }
  .services__panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-l);
    width: 100%;
    padding: var(--space-l) var(--gutter);
    animation: services-in var(--quick) var(--ease);
  }
  .services__panel[hidden] {
    display: none;
  }
  @keyframes services-in {
    from { opacity: 0; }
  }
  .services__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-s) var(--space-m);
  }
  .services__label {
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
  }
  .services__name {
    text-align: right;
  }
  .services__body {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: var(--space-l);
    align-items: start;
  }
  /* A picture box cut to one region of its file: --cx and --cy place the region, --cw and --ch size it, all as fractions of the file. */
  .services__picture {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--steel);
  }
  .services__picture img {
    position: absolute;
    top: calc(-100% * var(--cy) / var(--ch));
    left: calc(-100% * var(--cx) / var(--cw));
    width: calc(100% / var(--cw));
    height: calc(100% / var(--ch));
    max-width: none;
    filter: grayscale(1) contrast(1.35) brightness(1.08);
    mix-blend-mode: multiply;
  }
  .services__notes {
    display: grid;
    gap: var(--space-m);
  }
  .services__note h4 {
    margin: 0;
    padding-bottom: var(--space-s);
    border-bottom: var(--hair) solid var(--ink);
    font: var(--weight-bold) var(--text-body)/var(--lh-body) var(--font-body);
  }
  .services__note p {
    margin: var(--space-s) 0 0;
  }
  .services__more {
    display: inline-flex;
    align-items: center;
    align-self: flex-end;
    gap: var(--space-s);
    min-height: var(--tap);
    margin-top: auto;
    color: var(--ink);
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
    text-decoration: none;
  }

  @media (max-width: 56rem) {
    .services {
      grid-template-columns: minmax(0, 1fr);
    }
    .services__body {
      grid-template-columns: minmax(0, 1fr);
    }
    .services__row td:first-child {
      display: none;
    }
  }
</style>

<script>
(() => {
  const finePointer = matchMedia('(hover: hover) and (pointer: fine)');

  document.querySelectorAll('.services').forEach((root) => {
    const rows = [...root.querySelectorAll('.services__row')];
    const panels = [...root.querySelectorAll('.services__panel')];

    function choose(row) {
      if (row.classList.contains('is-current')) return;
      rows.forEach((other) => {
        const current = other === row;
        other.classList.toggle('is-current', current);
        other.querySelector('.services__pick').setAttribute('aria-pressed', String(current));
      });
      panels.forEach((panel, index) => { panel.hidden = index !== Number(row.dataset.panel); });
    }

    rows.forEach((row) => {
      row.addEventListener('click', () => choose(row));
      row.addEventListener('pointerenter', () => { if (finePointer.matches) choose(row); });
    });
  });
})();
</script>

Selected work cards

A heading bar with a dark button over two framed cards with telescope photographs, category and year, caps title, blurb and a ruled foot that fills orange on hover.

Code React For Figma
<section class="work" aria-labelledby="work-title">
  <header class="work__head">
    <div>
      <h2 class="work__title" id="work-title">Selected work</h2>
      <p class="work__text">Instruments we have figured, mounted and signed off for observatories that cannot afford a lost night.</p>
    </div>
    <a class="work__button" href="#">View all work <span class="work__arrow" aria-hidden="true">&rarr;</span></a>
  </header>

  <ul class="work__cards">
    <li class="work__card">
      <a class="work__link" href="#">
        <span class="work__picture"><span class="work__zoom" style="--cx: 0; --cy: 0.25; --cw: 1; --ch: 0.496;"><img src="assets/yerkes-telescope.jpg" alt="A long refractor on a tall iron pier under an observatory dome" width="635" height="800" loading="lazy"></span></span>
        <span class="work__body">
          <span class="work__meta"><span>Refractor rebuild</span><span>2026</span></span>
          <span class="work__name">Seventy-six centimetre great refractor</span>
          <span class="work__blurb">A century-old objective re-cell, a new drive and a pointing model built from 180 stars, back on the sky in one season.</span>
        </span>
        <span class="work__foot">View case study <span class="work__arrow" aria-hidden="true">&rarr;</span></span>
      </a>
    </li>
    <li class="work__card">
      <a class="work__link" href="#">
        <span class="work__picture"><span class="work__zoom" style="--cx: 0; --cy: 0.2; --cw: 1; --ch: 0.465;"><img src="assets/engelhardt-refractor.jpg" alt="A long refractor on its equatorial mount under a ribbed dome" width="893" height="1200" loading="lazy"></span></span>
        <span class="work__body">
          <span class="work__meta"><span>Dome and mount</span><span>2025</span></span>
          <span class="work__name">Polar station tracking mount</span>
          <span class="work__blurb">A fork mount that tracks at minus forty with no heater on the worm, and a dome that turns with it.</span>
        </span>
        <span class="work__foot">View case study <span class="work__arrow" aria-hidden="true">&rarr;</span></span>
      </a>
    </li>
  </ul>
</section>

<style>
  .work {
    background: var(--ink);
    padding: 0 var(--frame) var(--frame);
  }
  .work__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-m);
    padding: var(--space-l) var(--gutter);
    background: var(--page);
  }
  .work__title {
    margin: 0;
    font: var(--weight-mid) var(--title-xl)/1 var(--font-display);
    text-transform: uppercase;
    letter-spacing: -0.01em;
  }
  .work__text {
    margin: var(--space-m) 0 0;
  }
  .work__button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    height: var(--cell-h);
    padding: 0 var(--cell-pad);
    background: var(--ink);
    color: var(--on-dark);
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .work__button:hover,
  .work__button:focus-visible {
    background: var(--accent);
    color: var(--ink);
  }
  .work__arrow {
    display: inline-block;
    translate: -4px 0;
    transition: translate var(--quick) var(--ease);
  }
  .work__button:hover .work__arrow,
  .work__link:hover .work__arrow,
  .work__link:focus-visible .work__arrow {
    translate: 0 0;
  }

  .work__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--frame);
    margin: var(--frame) 0 0;
    padding: 0;
    list-style: none;
  }
  .work__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
  }
  .work__picture {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--steel);
  }
  /* The zoom box is the picture cut to one region of its file: --cx and --cy place it, --cw and --ch size it, as fractions. */
  .work__zoom {
    position: absolute;
    inset: 0;
    background: var(--steel);
    scale: 1;
    transition: scale var(--slow) var(--ease);
  }
  .work__zoom img {
    position: absolute;
    top: calc(-100% * var(--cy) / var(--ch));
    left: calc(-100% * var(--cx) / var(--cw));
    width: calc(100% / var(--cw));
    height: calc(100% / var(--ch));
    max-width: none;
    filter: grayscale(1) contrast(1.35) brightness(1.08);
    mix-blend-mode: multiply;
  }
  .work__link:hover .work__zoom,
  .work__link:focus-visible .work__zoom {
    scale: 1.06;
  }
  .work__body {
    display: grid;
    gap: var(--space-m);
    padding: var(--space-l) var(--gutter);
  }
  .work__meta {
    display: flex;
    justify-content: space-between;
    gap: var(--space-m);
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
  }
  .work__name {
    font: var(--weight-mid) var(--title-m)/var(--lh-title-m) var(--font-display);
    text-transform: uppercase;
  }
  .work__blurb {
    max-width: 34em;
  }
  .work__foot {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    min-height: var(--cell-h);
    margin-top: auto;
    padding: 0 var(--gutter);
    border-top: var(--hair) solid var(--rule-col);
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
    transition: background-color var(--quick) var(--ease);
  }
  .work__link:hover .work__foot,
  .work__link:focus-visible .work__foot {
    background: var(--accent);
  }

  @media (max-width: 56rem) {
    .work__cards {
      grid-template-columns: minmax(0, 1fr);
    }
  }
</style>

Infrastructure checker

A white heading bar over a grid of boxed cells in white, black, hatched and orange, each with a numbered line icon, plus an engraved plate with a caption slip.

Code React For Figma
<section class="plant" aria-labelledby="plant-title">
  <h2 class="plant__title" id="plant-title">In-house infrastructure</h2>

  <ul class="plant__grid">
    <li class="plant__cell">
      <svg class="plant__icon" viewBox="0 0 48 48" aria-hidden="true"><path d="M24 6c6 5 6 31 0 36c-6-5-6-31 0-36z"/><path d="M2 24h44M4 16l20 8l20-8M4 32l20-8l20 8"/></svg>
      <span class="plant__number">01</span>
      <h3 class="plant__name">Optics room</h3>
      <p class="plant__text">Grinding and figuring spindles for glass up to 1.2 metres, with an interferometer on the next bench.</p>
    </li>
    <li class="plant__cell plant__cell--dark">
      <svg class="plant__icon" viewBox="0 0 48 48" aria-hidden="true"><path d="M20 30V8a4 4 0 0 1 8 0v22a8 8 0 1 1-8 0z"/><path d="M24 14v20M30 12h6M30 18h4M30 24h6M30 30h4"/><circle cx="24" cy="37" r="3"/></svg>
      <span class="plant__number">02</span>
      <h3 class="plant__name">Cold room</h3>
      <p class="plant__text">Mounts run for a week at minus forty before they ship north. Grease, worms and encoders all.</p>
    </li>
    <li class="plant__cell plant__cell--hatched">
      <svg class="plant__icon" viewBox="0 0 48 48" aria-hidden="true"><path d="M6 34a18 18 0 0 1 36 0z"/><path d="M21 16.3V34M27 16.3V34M4 38h40M10 42h28"/></svg>
      <span class="plant__number">03</span>
      <h3 class="plant__name">Dome yard</h3>
      <p class="plant__text">Two test domes on the roof, one for each kind of mount, open on every clear night of the year.</p>
    </li>
    <li class="plant__cell plant__cell--accent">
      <svg class="plant__icon" viewBox="0 0 48 48" aria-hidden="true"><path d="M24 4v12M24 32v12M4 24h12M32 24h12M10 10l8 8M30 30l8 8M38 10l-8 8M18 30l-8 8"/><circle cx="24" cy="24" r="3"/></svg>
      <span class="plant__number">04</span>
      <h3 class="plant__name">Star test tower</h3>
      <p class="plant__text">A forty-metre tower with an artificial star at the top, for when the real ones stay behind cloud.</p>
    </li>
    <li class="plant__cell plant__cell--picture">
      <img class="plant__picture" src="assets/dividing-drawing.jpg" alt="An engraved plate of an engine for dividing straight lines on mathematical instruments" width="800" height="457" loading="lazy">
      <p class="plant__caption"><span>Plate 3</span> The dividing engine downstairs still works from this drawing.</p>
    </li>
    <li class="plant__cell">
      <svg class="plant__icon" viewBox="0 0 48 48" aria-hidden="true"><circle cx="24" cy="24" r="18"/><circle cx="24" cy="24" r="10"/><path d="M24 2v6M24 40v6M2 24h6M40 24h6M8.4 8.4l4.3 4.3M35.3 35.3l4.3 4.3M39.6 8.4l-4.3 4.3M12.7 35.3l-4.3 4.3"/></svg>
      <span class="plant__number">05</span>
      <h3 class="plant__name">Metrology lab</h3>
      <p class="plant__text">A measuring machine and an autocollimator check every ring to a tenth of an arcsecond.</p>
    </li>
    <li class="plant__cell plant__cell--dark">
      <svg class="plant__icon" viewBox="0 0 48 48" aria-hidden="true"><path d="M24 4l17.3 10v20L24 44L6.7 34V14z"/><path d="M24 14l8.7 5v10L24 34l-8.7-5V19z"/><path d="M24 4v10M41.3 14l-8.6 5M41.3 34l-8.6-5M24 44V34M6.7 34l8.6-5M6.7 14l8.6 5"/></svg>
      <span class="plant__number">06</span>
      <h3 class="plant__name">Clean assembly</h3>
      <p class="plant__text">Optics meet their cells in filtered air, gloved, logged and photographed bolt by bolt.</p>
    </li>
  </ul>
</section>

<style>
  .plant {
    padding: var(--frame);
    background: var(--ink);
  }
  .plant__title {
    margin: 0 0 var(--frame);
    padding: var(--space-m) var(--gutter);
    background: var(--paper);
    font: var(--weight-mid) var(--title-xl)/1 var(--font-display);
    text-transform: uppercase;
    letter-spacing: -0.01em;
  }
  .plant__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--frame);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .plant__cell {
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: start;
    gap: var(--space-s) var(--space-m);
    min-height: 260px;
    padding: var(--space-l) var(--gutter);
    background: var(--paper);
    color: var(--ink);
  }
  .plant__cell--dark {
    background: var(--ink);
    color: var(--on-dark);
    box-shadow: inset 0 0 0 var(--hair) var(--on-dark);
  }
  .plant__cell--accent {
    background: var(--accent);
  }
  .plant__cell--hatched {
    background:
      repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 8px),
      var(--paper);
  }
  .plant__icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-m);
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    stroke-linejoin: round;
    transition: rotate var(--slow) var(--ease);
  }
  .plant__cell:hover .plant__icon {
    rotate: 45deg;
  }
  .plant__number {
    justify-self: end;
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
  }
  .plant__name,
  .plant__text {
    grid-column: 1 / -1;
    margin: 0;
  }
  .plant__name {
    font: var(--weight-mid) var(--title-s)/var(--lh-title-s) var(--font-display);
    text-transform: uppercase;
  }
  .plant__text {
    max-width: 26em;
  }

  .plant__cell--picture {
    position: relative;
    grid-column: span 2;
    display: block;
    padding: 0;
    overflow: hidden;
    background: var(--page);
  }
  .plant__picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.3);
    mix-blend-mode: multiply;
  }
  .plant__caption {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    gap: var(--space-s);
    max-width: 100%;
    margin: 0;
    padding: var(--space-s) var(--space-m);
    background: var(--ink);
    color: var(--on-dark);
    font: var(--weight-label) var(--text-label)/var(--lh-label) var(--font-display);
    text-transform: uppercase;
  }
  .plant__caption span {
    color: var(--accent);
  }

  @media (max-width: 64rem) {
    .plant__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .plant__cell {
      min-height: 220px;
    }
  }
  @media (max-width: 30rem) {
    .plant__grid {
      grid-template-columns: minmax(0, 1fr);
    }
    .plant__cell {
      min-height: 0;
    }
    .plant__cell--picture {
      grid-column: auto;
      min-height: 240px;
    }
  }
</style>

Style

  • --page #e3e7eb
  • --ink #1a1b1c
  • --ink-soft rgba(26, 28, 28, 0.65)
  • --paper #ffffff
  • --accent #ff5f14
  • --on-dark #e3e7eb
  • --rule-col #c8ccd0
  • --grid-dark rgba(227, 231, 235, 0.12)
  • --hatch #cfd5db
  • --steel #b9c4ce

Type

  • Familjen Grotesk for headlines, labels, nav cells and buttons, stands in for Apfel Grotezk, a slightly quirky grotesk set in caps at 14, 24, 26, 48 px and fitted to the full width for the title
  • Geist for running text, stands in for Geist at weight 300, 14/18 px with 0.14 px tracking and 18/28 px for the lead

Motion

  • Nav cells fade their fill from the page grey to white on hover, 300 ms, cubic-bezier(0.44, 0, 0.56, 1).
  • The orange call to action cell and buttons fade to white (dark buttons to orange) in 300 ms on the same easing, while their arrow slides from -4 px to 0.
  • The ticker of disciplines rolls at a steady 40 px per second, linear, pauses on hover and when off screen.
  • The dashed wireframe icosahedron turns about 6 degrees a second; dragging spins it and lets it coast back to its own pace; it stops off screen.
  • Services rows go black in 300 ms when hovered or picked, and the detail panel swaps with a 300 ms fade.
  • Work card photographs zoom by 6 percent over 600 ms on hover and the card foot fills orange.
  • The play button on the reel starts an 18 s slow dolly across the photograph and a running 24 fps timecode.
  • Line icons in the infrastructure grid turn 45 degrees over 600 ms on hover.

Rules

  • Every block sits in a near-black frame: 4 px of ink around the page and between every cell, no rounded corners.
  • The pale sheet carries 1.5 px column rules every 199 px, like a drawing sheet behind the content.
  • Labels are 14/16 px caps at weight 400; section headings are 48 px caps at weight 500 with line height 1.
  • Nav cells and buttons are 56 px tall with 24 px side padding and a small arrow after the word.
  • One orange only, for the call to action, a vertical tab, one block in a checker and live indicators.
  • Only the badge and the play button are round; everything else is a box.
  • Photographs are greyscale, contrasted and multiplied over a cool steel blue so they share one tone.
  • Readouts use dotted leaders between an uppercase label and a tabular value.
base.css
/* Fonts: free Google Fonts that stand in for the site's faces. */
@import url("https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;500&family=Geist:wght@300;400;700&display=swap");

:root {
  --page: #e3e7eb; /* page background, the drawing sheet */
  --ink: #1a1b1c; /* main text, frame gaps, dark panels and buttons */
  --ink-soft: rgba(26, 28, 28, 0.65); /* second line of a label, small print */
  --paper: #ffffff; /* white cards and the hover fill of every cell and button */
  --accent: #ff5f14; /* the one orange: call to action cell, tabs, blocks */
  --on-dark: #e3e7eb; /* text and wire lines on dark panels */
  --rule-col: #c8ccd0; /* hairline column rules on the sheet */
  --grid-dark: rgba(227, 231, 235, 0.12); /* square grid behind the wireframe */
  --hatch: #cfd5db; /* diagonal hatching in a hatched cell */
  --steel: #b9c4ce; /* cool base under photographs, multiplied with the grey picture */

  --font-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif; /* tight grotesk caps: headlines, labels, nav, buttons */
  --font-body: "Geist", "Helvetica Neue", Arial, sans-serif; /* light grotesk for running text */

  --text-label: 14px; /* uppercase labels, nav cells, buttons, ticker size is --text-tick */
  --lh-label: 16px; /* line height of labels */
  --text-body: 14px; /* running text */
  --lh-body: 18px; /* line height of running text */
  --track-body: 0.01em; /* 0.14px on 14px text */
  --text-lead: 18px; /* the hero paragraph */
  --lh-lead: 28px; /* line height of the hero paragraph */
  --text-tick: 16px; /* ticker words */
  --title-s: 24px; /* small caps titles, cell names */
  --lh-title-s: 28px; /* line height of small titles */
  --title-m: 26px; /* card titles, readout heading */
  --lh-title-m: 32px; /* line height of card titles */
  --title-l: clamp(28px, 2.4vw, 34px); /* checker block titles */
  --title-xl: clamp(34px, 3.4vw, 48px); /* section headings, set at 48 on desktop */
  --badge-number: 40px; /* the number inside the round badge */
  --weight-light: 300; /* running text */
  --weight-label: 400; /* labels, nav cells, buttons */
  --weight-mid: 500; /* every display line */
  --weight-bold: 700; /* table discipline names */

  --frame: 4px; /* the black gap between every cell and around the page */
  --hair: 1px; /* row rules, card dividers */
  --col-rule: 1.5px; /* column rules on the sheet */
  --col-step: 199px; /* distance between column rules */
  --col-offset: 150px; /* where the first column rule sits */
  --dot-leader: 1px; /* dotted leader in the readout */
  --cell-h: 56px; /* nav cells and buttons */
  --cell-pad: 24px; /* side padding of nav cells and buttons */
  --gutter: clamp(16px, 2.5vw, 36px); /* side padding inside the frame */
  --space-xs: 8px; /* label to its second line */
  --space-s: 12px; /* arrow gap, small stacks */
  --space-m: 24px; /* between blocks in a cell */
  --space-l: 40px; /* card padding */
  --space-xl: 64px; /* above big type */
  --tap: 44px; /* smallest tappable size */
  --badge: 160px; /* round badge diameter */
  --play: 88px; /* round play button diameter */
  --radius-round: 50%; /* badges and the play button, the only round things */

  --ease: cubic-bezier(0.44, 0, 0.56, 1); /* slow in, slow out, every hover */
  --quick: 300ms; /* nav cells, buttons, rows */
  --slow: 600ms; /* picture zoom, icon turn */
  --tick-speed: 40; /* ticker speed in px per second, read by the script */
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: var(--weight-light) var(--text-body)/var(--lh-body) var(--font-body); letter-spacing: var(--track-body); -webkit-font-smoothing: antialiased; }
img, svg, canvas { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

@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("machine-shop-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