kitbash Sign in Connect agent
Components

Lead paragraph and fact card

A large serif lead with the name in bold, a quieter paragraph and an italic aside, beside a framed picture over ruled label and value rows.

Part of the style

Night Moss Essay

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --night: #91816b;
  --night-raised: #8d7e68;
  --night-lift: #72644e;
  --line: #90816b;
  --line-strong: #625440;
  --ink: #1c0d06;
  --ink-soft: #27160d;
  --ink-faint: #25140b;
  --ink-dim: #352319;
  --moss: #261501;
  --moss-deep: #110600;
}
</style>

<section class="about">
  <p class="about__eyebrow about__item">About</p>
  <div class="about__grid">
    <div class="about__text">
      <p class="about__lead about__item">I'm <strong class="about__name">Ines.</strong> I learned to bake in a kitchen with one window and a radio that only found the weather. I kept going because the dough was patient with me.</p>
      <p class="about__body about__item">Ten years on the night shift at a city bakery taught me timing. Then I bought a stone mill and moved back to the valley. The quiet keeps the loaves honest.</p>
      <p class="about__aside about__item">I sell to the village, not the internet. The aim was never to be everywhere, only to be the best thing on someone's table.</p>
    </div>
    <figure class="about__card about__item">
      <img class="about__photo" src="assets/window.jpg" alt="A painted figure in a nightdress looking out of a moonlit window" width="609" height="900" loading="lazy">
      <dl class="about__facts">
        <div class="about__row"><dt class="about__label">Local</dt><dd class="about__value">Lower Ashby valley</dd></div>
        <div class="about__row"><dt class="about__label">Phase</dt><dd class="about__value">milling my own flour</dd></div>
        <div class="about__row"><dt class="about__label">Craft</dt><dd class="about__value">long ferments / rye / wood oven</dd></div>
        <div class="about__row"><dt class="about__label">Offline</dt><dd class="about__value">walking the hedges, early radio</dd></div>
      </dl>
    </figure>
  </div>
</section>

<style>
  .about {
    padding: var(--section-space) var(--inset);
    background: var(--night);
  }
  .about__eyebrow {
    margin: 0 0 var(--space-l);
    color: var(--moss);
    font: 500 var(--text-label)/1 var(--font-label);
    letter-spacing: var(--track-label);
    text-transform: uppercase;
  }
  .about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(16rem, 1fr);
    gap: var(--gap);
    align-items: start;
  }
  .about__lead {
    margin: 0;
    max-width: var(--measure);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: var(--display-m);
    line-height: 1.5;
  }
  .about__name {
    font-weight: 500;
  }
  .about__body {
    margin: var(--space-l) 0 0;
    max-width: 42rem;
    color: var(--ink-soft);
    font-size: var(--text-l);
    line-height: var(--leading-body);
  }
  .about__aside {
    margin: var(--space-l) 0 0;
    max-width: var(--measure);
    color: var(--ink);
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--display-s);
    line-height: 1.5;
  }
  .about__card {
    margin: 0;
    overflow: hidden;
    background: var(--night-raised);
    border: var(--rule) solid var(--line-strong);
    border-radius: var(--radius);
  }
  .about__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 50% 30%;
    filter: saturate(0.75) brightness(0.88);
    transition: filter var(--slow) var(--ease);
  }
  .about__card:hover .about__photo {
    filter: saturate(1) brightness(1);
  }
  .about__facts {
    margin: 0;
    padding: var(--space-xs) var(--space-l) var(--space-s);
  }
  .about__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-m);
    padding: var(--space-s) 0;
  }
  .about__row + .about__row {
    border-top: var(--rule) solid var(--line);
  }
  .about__label {
    flex: none;
    color: var(--ink-faint);
    font: 500 var(--text-label)/1 var(--font-label);
    letter-spacing: var(--track-label);
    text-transform: uppercase;
  }
  .about__value {
    margin: 0;
    color: var(--ink);
    font-size: var(--text-m);
    line-height: 1.35;
    text-align: right;
  }
  .about__item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--reveal) var(--ease-out), transform var(--reveal) var(--ease-out);
    transition-delay: calc(var(--order, 0) * 90ms);
  }
  .about.is-seen .about__item {
    opacity: 1;
    transform: none;
  }
  @media (max-width: 52rem) {
    .about__grid { grid-template-columns: 1fr; }
    .about__card { max-width: 30rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .about__item { opacity: 1; transform: 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('.about')) {
    root.querySelectorAll('.about__item').forEach((item, order) => item.style.setProperty('--order', order));
    seen.observe(root);
  }
})();
</script>

Similar components

Info sheet

Info sheet

Drawn self-portrait

Drawn self-portrait

About with cut-out portrait

About with cut-out portrait

Paper roster card

Paper roster card

Team portraits

Team portraits

Guest profiles

Guest profiles

Author

Author

Founders

Founders