kitbash Sign in Connect agent

Pastel Wave Snapshots

Playful · 7 parts · photo grid · lightbox · pastel

Mint, butter, blush and dusty blue ribbons sweep behind one narrow centred column: a heavy, squeezed lowercase title, a grid of pictures in thick white rounded frames, and small grey questions. It suits a one-joke collection, a fan archive or a tiny club site that is all pictures and a few words.

Get pack Remix

Whole page

Parts

Title and picture of the day

The heavy squeezed lowercase title over a one-line aside and one big white-framed picture with a caption chip.

Code React For Figma
<section class="hero">
  <h1 class="hero__title">people looking at the sea</h1>
  <p class="hero__aside">a growing pile of pictures in which somebody stares at the water. we don't know why either.</p>
  <figure class="hero__frame">
    <img class="hero__photo" src="assets/beach-sainte-adresse.jpg" alt="A pebbly beach with boats pulled up and small figures looking out over a grey-green sea" width="800" height="591">
    <figcaption class="hero__chip"><b class="hero__no">no. 041</b> two boats, one cloudy sky, eleven onlookers</figcaption>
  </figure>
</section>

<style>
  .hero {
    padding: var(--section-space) var(--edge) var(--space-l);
    text-align: center;
  }
  .hero__title {
    max-width: 12em;
    margin: 0 auto;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: var(--display);
    font-weight: 800;
    line-height: var(--display-leading);
    letter-spacing: var(--display-track);
    text-wrap: balance;
  }
  .hero__aside {
    max-width: 34em;
    margin: var(--space-m) auto var(--space-l);
    font-size: var(--text-s);
    font-style: italic;
    font-weight: 700;
    text-wrap: balance;
  }
  .hero__frame {
    position: relative;
    max-width: var(--column);
    margin: 0 auto;
    padding: var(--frame-pad);
    border-radius: var(--radius-frame);
    background: var(--frame);
    box-shadow: var(--shadow);
  }
  .hero__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 591;
    object-fit: cover;
    border-radius: var(--radius-photo);
  }
  .hero__chip {
    position: absolute;
    left: 50%;
    bottom: calc(var(--frame-pad) * -1.6);
    translate: -50% 0;
    width: max-content;
    max-width: calc(100% - 2 * var(--space-l));
    padding: var(--space-s) var(--space-m);
    border-radius: var(--radius-pill);
    background: var(--frame);
    box-shadow: var(--shadow);
    color: var(--ink-soft);
    font-size: var(--text-s);
    line-height: var(--leading);
  }
  .hero__no {
    margin-right: var(--space-xs);
    color: var(--ink);
    font-weight: 800;
  }
  @media (max-width: 30rem) {
    .hero__chip {
      position: static;
      translate: none;
      max-width: none;
      width: auto;
      margin-top: var(--space-s);
      box-shadow: none;
      padding: var(--space-xs) 0 0;
    }
  }
</style>

Framed picture grid

Square pictures in thick white rounded frames, five across, two on phones; each grows on hover and opens large over a dark scrim with a loading ring.

Code React For Figma
<section class="tiles">
  <h2 class="tiles__heading">the pile so far</h2>
  <ul class="tiles__grid">
    <li><a class="tiles__tile" href="assets/beach-sainte-adresse.jpg"><img class="tiles__photo" src="assets/beach-sainte-adresse.jpg" alt="" width="800" height="591"><span class="tiles__label">no. 041, pebbles and boats</span></a></li>
    <li><a class="tiles__tile" href="assets/mother-seashore.jpg"><img class="tiles__photo" src="assets/mother-seashore.jpg" alt="" width="800" height="521"><span class="tiles__label">no. 040, two of them, wrapped up</span></a></li>
    <li><a class="tiles__tile" href="assets/woman-on-beach.jpg"><img class="tiles__photo" src="assets/woman-on-beach.jpg" alt="" width="556" height="800"><span class="tiles__label">no. 039, white dress, pale night</span></a></li>
    <li><a class="tiles__tile" href="assets/york-harbor.jpg"><img class="tiles__photo" src="assets/york-harbor.jpg" alt="" width="800" height="400"><span class="tiles__label">no. 038, nobody visible, still counts</span></a></li>
    <li><a class="tiles__tile" href="assets/children-berneval.jpg"><img class="tiles__photo" src="assets/children-berneval.jpg" alt="" width="507" height="800"><span class="tiles__label">no. 037, small ones in the sand</span></a></li>
    <li><a class="tiles__tile" href="assets/boats-etretat.jpg"><img class="tiles__photo" src="assets/boats-etretat.jpg" alt="" width="800" height="638"><span class="tiles__label">no. 036, boats looking back</span></a></li>
    <li><a class="tiles__tile" href="assets/seascape.jpg"><img class="tiles__photo" src="assets/seascape.jpg" alt="" width="800" height="631"><span class="tiles__label">no. 035, the sea looking at us</span></a></li>
    <li><a class="tiles__tile" href="assets/promenade.jpg"><img class="tiles__photo" src="assets/promenade.jpg" alt="" width="800" height="596"><span class="tiles__label">no. 034, a crowd that missed the sea</span></a></li>
    <li><a class="tiles__tile" href="assets/gulf-salerno.jpg"><img class="tiles__photo" src="assets/gulf-salerno.jpg" alt="" width="800" height="562"><span class="tiles__label">no. 033, one tiny boat, golden hour</span></a></li>
    <li><a class="tiles__tile" href="assets/in-the-sea.jpg"><img class="tiles__photo" src="assets/in-the-sea.jpg" alt="" width="800" height="603"><span class="tiles__label">no. 032, already in it</span></a></li>
  </ul>

  <div class="tiles__modal" role="dialog" aria-modal="true" aria-label="Picture" hidden>
    <span class="tiles__spinner" aria-hidden="true"></span>
    <figure class="tiles__stage">
      <img class="tiles__big" src="assets/beach-sainte-adresse.jpg" alt="" width="800" height="591">
      <figcaption class="tiles__caption"></figcaption>
    </figure>
    <button class="tiles__close" type="button" aria-label="Close">×</button>
  </div>
</section>

<style>
  .tiles {
    padding: var(--space-l) var(--edge) var(--section-space);
  }
  .tiles__heading {
    margin: 0 0 var(--space-m);
    color: var(--ink);
    font-size: var(--text-m);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
  }
  .tiles__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-s);
    max-width: var(--column);
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }
  .tiles__tile {
    position: relative;
    display: block;
    padding: var(--frame-pad);
    border-radius: var(--radius-frame);
    background: var(--frame);
    box-shadow: var(--shadow);
    transition: transform var(--quick) var(--ease), filter var(--quick) var(--ease);
  }
  .tiles__tile:hover,
  .tiles__tile:focus-visible {
    transform: scale(1.06);
    filter: brightness(1.06) saturate(1.1);
    z-index: 1;
  }
  .tiles__tile:focus-visible {
    outline: 3px solid var(--link);
    outline-offset: 3px;
  }
  .tiles__photo {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-photo);
  }
  .tiles__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .tiles__modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: var(--edge);
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--slow) var(--ease), visibility var(--slow) var(--ease), background-color var(--slow) var(--ease);
  }
  .tiles__modal[hidden] { display: none; }
  .tiles.is-open .tiles__modal {
    opacity: 1;
    visibility: visible;
    background: var(--scrim);
  }
  .tiles__stage {
    margin: 0;
    max-width: min(900px, 100%);
    padding: var(--frame-pad);
    border-radius: var(--radius-frame);
    background: var(--frame);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--quick) var(--ease), transform var(--slow) var(--ease);
  }
  .tiles.is-loaded .tiles__stage {
    opacity: 1;
    transform: none;
  }
  .tiles__big {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(560px, 90vw);
    object-fit: contain;
    border-radius: var(--radius-photo);
  }
  .tiles__caption {
    padding: var(--space-s) var(--space-xs) 0;
    font-size: var(--text-s);
    font-style: italic;
    font-weight: 700;
    text-align: center;
  }
  .tiles__spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 3px solid var(--frame);
    border-right-color: transparent;
    border-radius: var(--radius-pill);
    animation: tiles-spin var(--spin) linear infinite;
  }
  .tiles.is-loaded .tiles__spinner { visibility: hidden; animation: none; }
  .tiles__close {
    position: absolute;
    top: var(--space-m);
    right: var(--space-m);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--frame);
    color: var(--ink);
    font: 800 var(--text-l) / 1 var(--font-body);
    cursor: pointer;
  }
  .tiles__close:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
  @keyframes tiles-spin { to { transform: rotate(1turn); } }

  @media (max-width: 40rem) {
    .tiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-m); }
  }
  @media (prefers-reduced-motion: reduce) {
    .tiles__tile:hover, .tiles__tile:focus-visible { transform: none; }
    .tiles__spinner { animation: none; }
  }
</style>

<script>
(() => {
  for (const root of document.querySelectorAll('.tiles')) {
    const modal = root.querySelector('.tiles__modal');
    const big = root.querySelector('.tiles__big');
    const caption = root.querySelector('.tiles__caption');
    const close = root.querySelector('.tiles__close');
    const tiles = [...root.querySelectorAll('.tiles__tile')];
    let current = 0;
    let opener = null;

    const show = (index) => {
      current = (index + tiles.length) % tiles.length;
      const tile = tiles[current];
      root.classList.remove('is-loaded');
      caption.textContent = tile.querySelector('.tiles__label').textContent;
      big.alt = caption.textContent;
      const done = () => root.classList.add('is-loaded');
      big.onload = done;
      big.src = tile.getAttribute('href');
      if (big.complete && big.naturalWidth) requestAnimationFrame(done);
    };
    const open = (index) => {
      opener = tiles[index];
      modal.hidden = false;
      requestAnimationFrame(() => root.classList.add('is-open'));
      show(index);
      close.focus();
    };
    const shut = () => {
      root.classList.remove('is-open', 'is-loaded');
      setTimeout(() => { if (!root.classList.contains('is-open')) modal.hidden = true; }, 500);
      if (opener) opener.focus();
    };

    tiles.forEach((tile, index) => tile.addEventListener('click', (event) => {
      event.preventDefault();
      open(index);
    }));
    close.addEventListener('click', shut);
    modal.addEventListener('click', (event) => { if (event.target === modal) shut(); });
    root.addEventListener('keydown', (event) => {
      if (!root.classList.contains('is-open')) return;
      if (event.key === 'Escape') shut();
      if (event.key === 'ArrowRight') show(current + 1);
      if (event.key === 'ArrowLeft') show(current - 1);
    });
  }
})();
</script>

Framed slideshow

One big framed picture with round white arrows, a counter and caption; it cross-fades to the next and answers the arrow keys.

Code React For Figma
<section class="slideshow" aria-roledescription="carousel" aria-label="Picture of the week">
  <div class="slideshow__frame" tabindex="0">
    <figure class="slideshow__slide is-active">
      <img class="slideshow__photo" src="assets/mother-seashore.jpg" alt="Two figures wrapped in shawls on a grey beach, watching the waves" width="800" height="521">
      <figcaption class="slideshow__caption"><b class="slideshow__q">who are these people?</b> no idea. they brought a basket.</figcaption>
    </figure>
    <figure class="slideshow__slide">
      <img class="slideshow__photo" src="assets/gulf-salerno.jpg" alt="Golden cliffs over a calm gulf with one small boat" width="800" height="562" loading="lazy">
      <figcaption class="slideshow__caption"><b class="slideshow__q">where is the person?</b> in the boat. squint.</figcaption>
    </figure>
    <figure class="slideshow__slide">
      <img class="slideshow__photo" src="assets/boats-etretat.jpg" alt="Fishing boats and thatched sheds on a stony beach under cliffs" width="800" height="638" loading="lazy">
      <figcaption class="slideshow__caption"><b class="slideshow__q">does a boat count?</b> this one was staring. it counts.</figcaption>
    </figure>
    <figure class="slideshow__slide">
      <img class="slideshow__photo" src="assets/york-harbor.jpg" alt="A misty harbour at low sun with two sailing boats" width="800" height="400" loading="lazy">
      <figcaption class="slideshow__caption"><b class="slideshow__q">why so misty?</b> they were looking very hard.</figcaption>
    </figure>
    <span class="slideshow__spinner" aria-hidden="true"></span>
  </div>
  <div class="slideshow__bar">
    <button class="slideshow__arrow" type="button" data-step="-1" aria-label="Previous picture">←</button>
    <p class="slideshow__count" aria-live="polite"><span class="slideshow__now">1</span> / <span class="slideshow__all">4</span></p>
    <button class="slideshow__arrow" type="button" data-step="1" aria-label="Next picture">→</button>
  </div>
</section>

<style>
  .slideshow {
    max-width: calc(var(--column) + 2 * var(--edge));
    margin: 0 auto;
    padding: var(--section-space) var(--edge);
  }
  .slideshow__frame {
    position: relative;
    display: grid;
    padding: var(--frame-pad);
    border-radius: var(--radius-frame);
    background: var(--frame);
    box-shadow: var(--shadow);
  }
  .slideshow__frame:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
  .slideshow__slide {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--slow) var(--ease), visibility var(--slow) var(--ease);
  }
  .slideshow__slide.is-active { opacity: 1; visibility: visible; }
  .slideshow__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-photo);
    background: var(--paper);
  }
  .slideshow__caption {
    padding: var(--space-s) var(--space-xs) var(--space-xs);
    font-size: var(--text-s);
    text-align: center;
  }
  .slideshow__q {
    display: block;
    color: var(--ink-soft);
    font-style: italic;
    font-weight: 700;
  }
  .slideshow__spinner {
    position: absolute;
    top: 42%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 3px solid var(--frame);
    border-right-color: transparent;
    border-radius: var(--radius-pill);
    opacity: 0;
    transition: opacity var(--quick) var(--ease);
  }
  .slideshow.is-waiting .slideshow__spinner {
    opacity: 1;
    animation: slideshow-spin var(--spin) linear infinite;
  }
  .slideshow__bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-l);
    margin-top: var(--space-l);
  }
  .slideshow__arrow {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--frame);
    box-shadow: var(--shadow);
    color: var(--ink);
    font: 800 var(--text-m) / 1 var(--font-body);
    cursor: pointer;
    transition: transform var(--quick) var(--ease), color var(--quick) var(--ease);
  }
  .slideshow__arrow:hover { transform: scale(1.08); color: var(--link); }
  .slideshow__arrow:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
  .slideshow__count {
    margin: 0;
    min-width: 4em;
    color: var(--ink);
    font-size: var(--text-m);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
  }
  @keyframes slideshow-spin { to { transform: rotate(1turn); } }
  @media (prefers-reduced-motion: reduce) {
    .slideshow__slide { transition: none; }
    .slideshow__arrow:hover { transform: none; }
  }
</style>

<script>
(() => {
  for (const root of document.querySelectorAll('.slideshow')) {
    const slides = [...root.querySelectorAll('.slideshow__slide')];
    const now = root.querySelector('.slideshow__now');
    root.querySelector('.slideshow__all').textContent = slides.length;
    let current = 0;

    const go = (index) => {
      const next = (index + slides.length) % slides.length;
      const img = slides[next].querySelector('img');
      const swap = () => {
        root.classList.remove('is-waiting');
        slides[current].classList.remove('is-active');
        slides[next].classList.add('is-active');
        current = next;
        now.textContent = current + 1;
      };
      if (img.complete && img.naturalWidth) return swap();
      root.classList.add('is-waiting');
      img.loading = 'eager';
      img.addEventListener('load', swap, { once: true });
    };

    root.querySelectorAll('.slideshow__arrow').forEach((button) =>
      button.addEventListener('click', () => go(current + Number(button.dataset.step))));
    root.querySelector('.slideshow__frame').addEventListener('keydown', (event) => {
      if (event.key === 'ArrowRight') go(current + 1);
      if (event.key === 'ArrowLeft') go(current - 1);
    });
  }
})();
</script>

Drifting frames

A slow endless row of small framed pictures, tilted a little each way, that stops when the pointer rests on it.

Code React For Figma
<section class="drift" aria-label="Recently added">
  <p class="drift__label"><b class="drift__count">142</b> pictures so far, newest first</p>
  <div class="drift__window">
    <ul class="drift__track">
      <li class="drift__item"><img class="drift__photo" src="assets/woman-on-beach.jpg" alt="A woman in white at the shore at night" width="556" height="800"></li>
      <li class="drift__item"><img class="drift__photo" src="assets/seascape.jpg" alt="Blue waves breaking under a stormy sky" width="800" height="631"></li>
      <li class="drift__item"><img class="drift__photo" src="assets/children-berneval.jpg" alt="Children sketched on a beach" width="507" height="800"></li>
      <li class="drift__item"><img class="drift__photo" src="assets/promenade.jpg" alt="A crowd strolling under trees" width="800" height="596"></li>
      <li class="drift__item"><img class="drift__photo" src="assets/in-the-sea.jpg" alt="Figures playing in shallow sea water" width="800" height="603"></li>
      <li class="drift__item"><img class="drift__photo" src="assets/york-harbor.jpg" alt="A misty harbour with two boats" width="800" height="400"></li>
      <li class="drift__item"><img class="drift__photo" src="assets/beach-sainte-adresse.jpg" alt="A pebbly beach with boats" width="800" height="591"></li>
    </ul>
  </div>
</section>

<style>
  .drift {
    padding: var(--section-space) 0;
    text-align: center;
  }
  .drift__label {
    margin: 0 var(--edge) var(--space-l);
    font-size: var(--text-s);
    font-style: italic;
    font-weight: 700;
  }
  .drift__count {
    display: block;
    color: var(--ink);
    font-size: var(--display);
    font-style: normal;
    font-weight: 800;
    line-height: var(--display-leading);
    letter-spacing: var(--display-track);
  }
  .drift__window {
    overflow: hidden;
    padding: var(--space-l) 0;
  }
  .drift__track {
    display: flex;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: drift-roll 48s linear infinite;
  }
  .drift__window:hover .drift__track { animation-play-state: paused; }
  .drift__item {
    flex: none;
    margin-right: var(--space-l);
    padding: var(--frame-pad);
    border-radius: var(--radius-frame);
    background: var(--frame);
    box-shadow: var(--shadow);
    rotate: -3deg;
    transition: rotate var(--quick) var(--ease), scale var(--quick) var(--ease);
  }
  .drift__item:nth-child(even) { rotate: 2.5deg; translate: 0 10px; }
  .drift__item:nth-child(3n) { rotate: -1deg; }
  .drift__item:hover { rotate: 0deg; scale: 1.06; }
  .drift__photo {
    width: clamp(120px, 16vw, 190px);
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-photo);
  }
  @keyframes drift-roll { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) {
    .drift__track { animation: none; }
  }
</style>

<script>
(() => {
  for (const track of document.querySelectorAll('.drift__track')) {
    for (const item of [...track.children]) {
      const copy = item.cloneNode(true);
      copy.setAttribute('aria-hidden', 'true');
      track.append(copy);
    }
  }
})();
</script>

Questions

A bold grey heading and centred bold italic questions whose short answers fold open in place.

Code React For Figma
<section class="questions">
  <h2 class="questions__heading">questions</h2>
  <details class="questions__item" open>
    <summary class="questions__q">who are these people?</summary>
    <p class="questions__a">strangers, mostly. painted a long time ago.</p>
  </details>
  <details class="questions__item" open>
    <summary class="questions__q">what are they looking at?</summary>
    <p class="questions__a">the sea. it is always the sea.</p>
  </details>
  <details class="questions__item" open>
    <summary class="questions__q">will they ever turn around?</summary>
    <p class="questions__a">not on our watch</p>
  </details>
  <details class="questions__item">
    <summary class="questions__q">is a lake allowed?</summary>
    <p class="questions__a">a big lake, on a windy day, after a vote</p>
  </details>
  <details class="questions__item">
    <summary class="questions__q">can I send one in?</summary>
    <p class="questions__a">please do: <a class="questions__link" href="#">hello@saltbench.club</a></p>
  </details>
</section>

<style>
  .questions {
    max-width: calc(var(--column) + 2 * var(--edge));
    margin: 0 auto;
    padding: var(--section-space) var(--edge);
    text-align: center;
  }
  .questions__heading {
    margin: 0 0 var(--space-l);
    color: var(--ink-soft);
    font-size: var(--text-l);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  .questions__item + .questions__item { margin-top: var(--space-s); }
  .questions__q {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-s);
    min-height: 44px;
    color: var(--ink-soft);
    font-size: var(--text-s);
    font-style: italic;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
    transition: color var(--quick) var(--ease);
  }
  .questions__q::-webkit-details-marker { display: none; }
  .questions__q::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-pill);
    background: var(--frame);
    color: var(--ink);
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    transition: rotate var(--quick) var(--ease);
  }
  .questions__item[open] .questions__q::after { rotate: 45deg; }
  .questions__q:hover { color: var(--ink); }
  .questions__q:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: var(--radius-field); }
  .questions__a {
    margin: calc(var(--space-s) * -1) 0 var(--space-s);
    font-size: var(--text-s);
  }
  .questions__link {
    color: var(--link);
    font-weight: 700;
    text-decoration: none;
    transition: color var(--quick) var(--ease);
  }
  .questions__link:hover { color: var(--link-deep); }
</style>

Send yours

A white rounded card asking for pictures: an empty framed drop tile, an email field and one blue pill button.

Code React For Figma
<section class="send">
  <form class="send__card" action="#" onsubmit="return false">
    <label class="send__drop">
      <input class="send__file" type="file" accept="image/*">
      <span class="send__plus" aria-hidden="true">+</span>
      <span class="send__hint">drop a picture of someone looking at the sea</span>
    </label>
    <div class="send__side">
      <h2 class="send__title">got one?</h2>
      <p class="send__text">we take paintings, postcards and your aunt's holiday slides. backs of heads only.</p>
      <label class="send__label" for="send-email">your email</label>
      <input class="send__field" id="send-email" type="email" placeholder="you@somewhere.sea" autocomplete="email">
      <button class="send__button" type="submit">send it in</button>
      <p class="send__done" aria-live="polite"></p>
    </div>
  </form>
</section>

<style>
  .send {
    padding: var(--section-space) var(--edge);
  }
  .send__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: var(--space-l);
    max-width: var(--column);
    margin: 0 auto;
    padding: var(--space-l);
    border-radius: var(--radius-frame);
    background: var(--frame);
    box-shadow: var(--shadow);
  }
  .send__drop {
    position: relative;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: var(--space-s);
    aspect-ratio: 1;
    padding: var(--space-m);
    border: 2px dashed var(--ribbon-blue);
    border-radius: var(--radius-photo);
    background: var(--paper);
    text-align: center;
    cursor: pointer;
    transition: background-color var(--quick) var(--ease), transform var(--quick) var(--ease);
  }
  .send__drop:hover { background: var(--ribbon-cream); transform: scale(1.02); }
  .send__drop:focus-within { outline: 3px solid var(--link); outline-offset: 3px; }
  .send__file {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
  }
  .send__plus {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-pill);
    background: var(--frame);
    box-shadow: var(--shadow);
    color: var(--ink);
    font-size: var(--text-l);
    font-weight: 800;
  }
  .send__hint {
    max-width: 14em;
    font-size: var(--text-s);
    font-style: italic;
    font-weight: 700;
  }
  .send.is-picked .send__drop { background: var(--ribbon-teal); }
  .send__side {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .send__title {
    margin: 0;
    color: var(--ink);
    font-size: var(--display);
    font-weight: 800;
    line-height: var(--display-leading);
    letter-spacing: var(--display-track);
  }
  .send__text {
    margin: var(--space-s) 0 var(--space-l);
    font-size: var(--text-s);
  }
  .send__label {
    margin-bottom: var(--space-xs);
    color: var(--ink);
    font-size: var(--text-s);
    font-weight: 700;
  }
  .send__field {
    min-height: 44px;
    padding: 0 var(--space-m);
    border: var(--rule) solid var(--ink-soft);
    border-radius: var(--radius-field);
    background: var(--frame);
    color: var(--ink);
    font: 400 var(--text-m) var(--font-body);
  }
  .send__field:focus { outline: 3px solid var(--link); outline-offset: 1px; border-color: var(--link); }
  .send__button {
    align-self: flex-start;
    min-height: 44px;
    margin-top: var(--space-m);
    padding: 0 var(--space-l);
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--link);
    color: var(--frame);
    font: 700 var(--text-m) var(--font-body);
    cursor: pointer;
    transition: background-color var(--quick) var(--ease), transform var(--quick) var(--ease);
  }
  .send__button:hover { background: var(--link-deep); transform: scale(1.04); }
  .send__button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
  .send__done { min-height: 1.3em; margin: var(--space-s) 0 0; font-size: var(--text-s); font-weight: 700; color: var(--link); }
  @media (max-width: 40rem) {
    .send__card { grid-template-columns: 1fr; padding: var(--space-m); }
    .send__drop { aspect-ratio: 16 / 9; }
  }
  @media (prefers-reduced-motion: reduce) {
    .send__drop:hover, .send__button:hover { transform: none; }
  }
</style>

<script>
(() => {
  for (const root of document.querySelectorAll('.send')) {
    const file = root.querySelector('.send__file');
    const hint = root.querySelector('.send__hint');
    const done = root.querySelector('.send__done');
    file.addEventListener('change', () => {
      if (!file.files.length) return;
      root.classList.add('is-picked');
      hint.textContent = file.files[0].name;
    });
    root.querySelector('.send__card').addEventListener('submit', () => {
      const email = root.querySelector('.send__field');
      done.textContent = email.checkValidity() && email.value ? 'got it. we will have a look.' : 'we need an email first.';
    });
  }
})();
</script>

Style

  • --ink #2b2b2b
  • --ink-soft #696969
  • --link #396cf7
  • --link-deep #1f4fd6
  • --frame #ffffff
  • --paper #f3f1ec
  • --ribbon-teal #92ddd3
  • --ribbon-cream #f6e1bf
  • --ribbon-pink #f4b7b9
  • --ribbon-blue #9dc0cd
  • --dot #8a8a8a59
  • --scrim #2b2b2bd9
  • --shadow-ink #2b2b2b26

Type

  • Inter for headlines, stands in for Inter at weight 800 with very tight negative tracking, as the site sets it
  • Inter for body, stands in for Inter at 13px, bold italic for questions and regular for answers, as the site sets it

Motion

  • A framed picture grows to 1.06 and brightens over 250ms ease on hover or focus.
  • A clicked picture opens over a dark scrim that fades in over 500ms ease, with a white ring spinning once a second until the picture has loaded, then the picture fades and rises in over 500ms.
  • The slideshow cross-fades one picture into the next over 500ms ease, showing the spinning ring while it waits.
  • A row of tilted framed pictures drifts sideways in an endless 48s loop and stops on hover.
  • Links change colour over 250ms ease; answers fold open in place.

Rules

  • Everything sits in one narrow column, about 660px, centred on the page.
  • The page itself is the decoration: wide pastel ribbons swept from the lower left with faint square dots on a 104px grid, fixed behind the content.
  • Every picture wears a thick white frame (10px) with 17px outer corners, smaller inner corners and a soft shadow.
  • The title is lowercase Inter 800 set solid with tracking near -0.075em, in near-black; everything else is small and grey.
  • Text is 13px: questions bold italic, answers regular, both centred.
  • Blue is kept for links and the one button; one hairline rule closes the page.
base.css
/* Fonts: Inter is free on Google Fonts and is the source's own face. */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,700;0,800;1,700;1,800&display=swap");

:root {
  /* Ink */
  --ink: #2b2b2b; /* headlines, the heavy title */
  --ink-soft: #696969; /* running text, questions, captions */
  --link: #396cf7; /* links and the one action colour */
  --link-deep: #1f4fd6; /* link on hover and press */
  --frame: #ffffff; /* white photo frames, cards and fields */
  --paper: #f3f1ec; /* off-white ribbon, the page under the ribbons */

  /* The ribbons drawn across the page */
  --ribbon-teal: #92ddd3; /* mint ribbon */
  --ribbon-cream: #f6e1bf; /* butter ribbon */
  --ribbon-pink: #f4b7b9; /* blush ribbon */
  --ribbon-blue: #9dc0cd; /* dusty blue ribbon */
  --dot: #8a8a8a59; /* faint square dots over the ribbons */
  --scrim: #2b2b2bd9; /* dimmed page behind the open picture */
  --shadow-ink: #2b2b2b26; /* colour of the soft lift under frames */

  /* Type */
  --font-display: "Inter", system-ui, sans-serif; /* the heavy squeezed title */
  --font-body: "Inter", system-ui, sans-serif; /* running text */
  --display: clamp(42px, 5.4vw, 84px); /* title size, 58px at 1080 */
  --display-track: -0.074em; /* the title's very tight tracking */
  --display-leading: 0.98; /* title line height */
  --text-s: 13px; /* questions, answers, captions */
  --text-m: 17px; /* footer line, buttons */
  --text-l: 30px; /* section heading such as "questions" */
  --leading: 1.25; /* body line height */

  /* Space */
  --space-xs: 4px; /* inside chips */
  --space-s: 8px; /* tile gutter, small gaps */
  --space-m: 16px; /* between a question and the next */
  --space-l: 28px; /* between blocks in a part */
  --space-xl: 48px; /* before a heading */
  --edge: clamp(16px, 4vw, 48px); /* side padding of a part */
  --section-space: clamp(32px, 5vw, 64px); /* air above and below a part */
  --column: 660px; /* the one narrow centred column everything sits in */
  --frame-pad: 10px; /* white border around every picture */

  /* Shape */
  --radius-frame: 17px; /* outer corner of a white frame */
  --radius-photo: 9px; /* corner of the picture inside its frame */
  --radius-field: 12px; /* fields and small buttons */
  --radius-pill: 999px; /* round buttons and chips */
  --rule: 1px; /* the one hairline rule */
  --shadow: 0 4px 14px var(--shadow-ink); /* soft lift under frames */

  /* Motion */
  --ease: ease; /* every transition */
  --quick: 250ms; /* hover zoom, colour */
  --slow: 500ms; /* fades of the open picture and the backdrop */
  --spin: 1000ms; /* one turn of the loading ring */
}

*, *::before, *::after { box-sizing: border-box; }
/* Square dots on a loose grid, then ribbons swept from the lower left corner. Fixed, like a backdrop; html paints
   nothing, so the body background fills the whole viewport. */
body {
  margin: 0;
  color: var(--ink-soft);
  font: 400 var(--text-s) / var(--leading) var(--font-body);
  -webkit-font-smoothing: antialiased;
  background: var(--paper);
  background-image:
    conic-gradient(at 7px 7px, transparent 75%, var(--dot) 0),
    radial-gradient(ellipse 220% 150% at -50% 140%,
      var(--ribbon-teal) 0 36%, var(--ribbon-blue) 36% 47%, var(--ribbon-pink) 47% 62%,
      var(--paper) 62% 69%, var(--ribbon-cream) 69% 80%, var(--ribbon-teal) 80% 91%,
      var(--ribbon-blue) 91% 101%, var(--ribbon-cream) 101% 110%, var(--ribbon-blue) 110%);
  background-size: 104px 104px, auto;
  background-attachment: fixed;
}
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("pastel-wave-snapshots"), 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