kitbash Sign in Connect agent
Components

Commented case grid

A pale /* comment */ title over a two-column grid of rounded case pictures with grey tag chips, a bold title and a short line.

Part of the style

Comment Bracket Folio

6 parts that belong together, with their tokens, type and rules.

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --paper: #ffffff;
  --card: #ffffff;
  --ink: #181717;
  --ink-soft: #5c5b5b;
  --ghost: #cfcfcf;
  --chip: #efefef;
  --rule: #e1e1e1;
  --night: #121111;
  --on-night: #ffffff;
  --night-soft: #898989;
  --haze-b: #fdfdfd;
  --haze-a: #9e8776;
  --pop: #c2680c;
  --sand: #9e8776;
  --tint-sun: #bc7945;
  --tint-sky: #866f5f;
  --tint-moss: #927b6a;
}
</style>

<section class="work">
  <h2 class="work__head"><span class="work__mark">/*</span> Selected Work <span class="work__mark">*/</span></h2>
  <div class="work__grid">
    <article class="work__case">
      <a class="work__link" href="#">
        <div class="work__frame work__frame--haze">
          <img class="work__img" src="assets/telephone.jpg" alt="A brass candlestick telephone with a rotary dial" width="900" height="1200" style="object-position: 50% 30%">
          <span class="work__badge">Dialtone</span>
        </div>
        <ul class="work__tags"><li class="work__tag">Product Design</li><li class="work__tag">Voice</li><li class="work__tag">Branding</li></ul>
        <h3 class="work__title">Dialtone</h3>
        <p class="work__blurb">A 0→1 calling app for repair shops that turns a missed ring into a booked visit</p>
      </a>
    </article>
    <article class="work__case">
      <a class="work__link" href="#">
        <div class="work__frame work__frame--night">
          <img class="work__img" src="assets/lamp.jpg" alt="Two pleated lamps glowing on a dark wooden table" width="800" height="533">
        </div>
        <ul class="work__tags"><li class="work__tag">Design System</li></ul>
        <h3 class="work__title">Lumen Desk</h3>
        <p class="work__blurb">Giving a dusty lighting catalogue one calm system for forty product lines</p>
      </a>
    </article>
    <article class="work__case">
      <a class="work__link" href="#">
        <div class="work__frame work__frame--pop">
          <img class="work__img" src="assets/camera.jpg" alt="A boxy mapping camera with a wide lens on a museum shelf" width="800" height="530">
        </div>
        <ul class="work__tags"><li class="work__tag">Product Design</li><li class="work__tag">Data</li></ul>
        <h3 class="work__title">Survey Eye</h3>
        <p class="work__blurb">Reshaped a field survey tool so one crew can map a site before lunch</p>
      </a>
    </article>
    <article class="work__case">
      <a class="work__link" href="#">
        <div class="work__frame work__frame--sand">
          <img class="work__img" src="assets/radio.jpg" alt="A small teal transistor radio on a white plinth" width="800" height="600">
        </div>
        <ul class="work__tags"><li class="work__tag">Branding</li><li class="work__tag">Website</li><li class="work__tag">Motion</li></ul>
        <h3 class="work__title">Pocket Wave</h3>
        <p class="work__blurb">A shop and a tone of voice for a tiny radio maker, without the nostalgia clichés</p>
      </a>
    </article>
  </div>
</section>

<style>
  .work {
    padding: var(--space-xl) var(--edge) var(--section-space);
  }
  .work__head {
    margin: 0 0 var(--space-xl);
    color: var(--ghost);
    font-size: var(--display-m);
    font-weight: var(--weight-bold);
    letter-spacing: var(--track-tight);
    line-height: 1.1;
    text-align: center;
  }
  .work__mark {
    font-style: italic;
  }
  .work__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl) var(--gap);
  }
  .work__case {
    opacity: 0;
    translate: 0 16px;
    transition: opacity var(--slow) ease, translate var(--slow) var(--ease);
    transition-delay: calc(var(--order, 0) * 80ms);
  }
  .work.is-seen .work__case {
    opacity: 1;
    translate: 0 0;
  }
  .work__link {
    display: block;
    color: var(--ink);
    text-decoration: none;
  }
  .work__frame {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-s);
  }
  .work__frame--haze { background: linear-gradient(135deg, var(--haze-b), var(--haze-a)); }
  .work__frame--night { background: var(--night); }
  .work__frame--pop { background: var(--pop); }
  .work__frame--sand { background: var(--sand); }
  .work__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--slow) var(--ease);
  }
  .work__frame--haze .work__img,
  .work__frame--sand .work__img {
    mix-blend-mode: multiply;
  }
  .work__frame--haze .work__img {
    width: 46%;
    margin-inline: auto;
    border-radius: var(--radius-s);
    transform: rotate(-4deg) scale(0.86);
    box-shadow: var(--shadow-soft);
  }
  /* zoom past the museum label onto the object itself */
  .work__frame--sand .work__img {
    transform: scale(1.85);
    transform-origin: 45% 2%;
  }
  .work__link:hover .work__frame--sand .work__img,
  .work__link:focus-visible .work__frame--sand .work__img {
    transform: scale(1.93);
  }
  .work__frame--pop .work__img {
    mix-blend-mode: luminosity;
    opacity: 0.9;
  }
  .work__badge {
    position: absolute;
    left: 50%;
    top: 50%;
    padding: var(--space-xs) var(--space-s);
    border-radius: var(--radius-xs);
    background: var(--card);
    font-size: var(--display-s);
    font-weight: 400;
    translate: 10% -50%;
    box-shadow: var(--shadow-soft);
  }
  .work__link:hover .work__img,
  .work__link:focus-visible .work__img {
    transform: scale(1.04);
  }
  .work__link:hover .work__frame--haze .work__img,
  .work__link:focus-visible .work__frame--haze .work__img {
    transform: rotate(0deg) scale(0.9);
  }
  .work__link:focus-visible {
    outline: var(--line) solid var(--ink);
    outline-offset: 6px;
    border-radius: var(--radius-s);
  }
  .work__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin: var(--space-m) 0 var(--space-s);
    padding: 0;
    list-style: none;
  }
  .work__tag {
    padding: 3px 6px;
    border-radius: var(--radius-xs);
    background: var(--chip);
    font-size: var(--text-xs);
    font-weight: 400;
  }
  .work__title {
    margin: 0 0 var(--space-xs);
    font-size: var(--display-s);
    font-weight: var(--weight-bold);
    letter-spacing: var(--track-tight);
    line-height: 1.1;
  }
  .work__blurb {
    max-width: 26rem;
    margin: 0;
    font-size: var(--text-s);
    line-height: 1.4;
  }
  @media (max-width: 640px) {
    .work__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .work__blurb { font-size: var(--text-m); }
  }
  @media (prefers-reduced-motion: reduce) {
    .work__case { opacity: 1; translate: none; transition: none; }
  }
</style>

<script>
  (() => {
    const seen = new IntersectionObserver((entries) => {
      for (const entry of entries) {
        if (!entry.isIntersecting) continue;
        entry.target.classList.add('is-seen');
        seen.unobserve(entry.target);
      }
    }, { threshold: 0.1 });
    for (const root of document.querySelectorAll('.work')) {
      root.querySelectorAll('.work__case').forEach((item, order) => item.style.setProperty('--order', order));
      seen.observe(root);
    }
  })();
</script>

Similar components

Grey print tiles

Grey print tiles

Reel window gallery

Reel window gallery

Black work cards with device frames

Black work cards with device frames

Project cards

Project cards

Numbered tile index

Numbered tile index

Staggered work grid

Staggered work grid

Work rail

Work rail

Tinted plates

Tinted plates