kitbash Sign in Connect agent
Components

Diagnosis ask

Light statement on the left, eyebrow, heavy question and light paragraph on the right, closed by a label and arrow chip.

Part of the style

Ghosted Portrait Caps

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #c0c5bd;
  --ink-soft: #80837e;
  --ink-faint: #3e3d3a;
  --paper: #030303;
  --mist: #0d0d0d;
  --night: #fffffe;
  --on-night: #060606;
  --rule: #100f0f;
  --rule-strong: #c0c5bd;
  --accent: #134688;
}
</style>

<section class="check">
  <div class="check__ghost" aria-hidden="true">
    <img class="check__face" src="assets/portrait-a.jpg" alt="" width="900" height="1161" loading="lazy" />
  </div>
  <p class="check__statement">A bridge is read by its record long before anyone stands on it. <span class="check__statement-soft">No renderings. No slogans. Just the file.</span></p>
  <div class="check__ask">
    <p class="check__eyebrow">Diagnosis</p>
    <h2 class="check__heading">Does your record match the span?</h2>
    <p class="check__body">Before any repair is ordered, the state of things has to be clear. Find out in one visit whether your paperwork describes the bridge that is actually standing, or a bridge from thirty years ago.</p>
    <a class="check__action" href="#">
      <span>Request a span audit</span>
      <span class="check__chip" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M2 8h11M9 4l4 4-4 4" /></svg></span>
    </a>
  </div>
</section>

<style>
  .check {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
    padding: var(--section-space) var(--edge);
    background: var(--paper);
  }
  .check__ghost {
    position: absolute;
    inset: 0 auto 0 0;
    width: 46%;
    z-index: -1;
    pointer-events: none;
  }
  .check__face {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    filter: grayscale(1) invert(1) contrast(0.9) brightness(1.15);
    opacity: 0.16;
    -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 95%), linear-gradient(#000 50%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, #000 30%, transparent 95%), linear-gradient(#000 50%, transparent);
    mask-composite: intersect;
  }
  .check__statement {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--display-m);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.02em;
  }
  .check__statement-soft {
    display: block;
    margin-top: 0.4em;
    color: var(--ink-soft);
  }
  .check__eyebrow {
    margin: 0;
    font-size: var(--text-l);
    font-weight: 300;
    line-height: 1.3;
  }
  .check__heading {
    margin: 0 0 var(--space-m);
    font-family: var(--font-display);
    font-size: var(--display-l);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }
  .check__body {
    max-width: var(--measure);
    margin: 0 0 var(--space-l);
    font-size: var(--text-s);
    font-weight: 300;
    line-height: 1.7;
  }
  .check__action {
    display: inline-flex;
    align-items: center;
    gap: var(--space-m);
    min-height: 44px;
    color: var(--ink);
    font-size: var(--text-s);
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-decoration: none;
  }
  .check__action:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
  }
  .check__chip {
    display: inline-grid;
    place-items: center;
    width: var(--chip-w);
    height: var(--chip-h);
    border-radius: var(--radius-pill);
    background: var(--ink);
  }
  .check__chip svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--paper);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--quick) var(--ease);
  }
  .check__action:hover .check__chip svg,
  .check__action:focus-visible .check__chip svg {
    transform: translateX(4px);
  }
  @media (max-width: 48rem) {
    .check {
      grid-template-columns: 1fr;
    }
    .check__ghost {
      width: 100%;
      inset: 0 0 auto 0;
      height: 60%;
    }
  }
</style>

Similar components

Studio note

Studio note

Catchphrase and tickets

Catchphrase and tickets

Quiet invitation

Quiet invitation

Contact tile

Contact tile

Closing line

Closing line

Green ways to start

Green ways to start

Green pill sign-off

Green pill sign-off

Sticker follow line

Sticker follow line