kitbash Sign in Connect agent
Components

Small caps statement

A short uppercase statement alone on the far left, a paragraph from the middle of the grid and an underlined link whose arrow swaps on hover. Fades in on view.

Part of the style

Quiet Page, Loud Work

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --paper: #e4cfc5;
  --ink: #030105;
  --ink-head: #26202b;
  --grey: #64544c;
  --rule: #beaaa1;
  --frame: #030105;
  --pic-white: #e4cfc5;
  --accent: #ad413e;
  --pic-violet: #bb6d66;
  --pic-pink: #967a65;
  --pic-pink-deep: #8f7460;
  --pic-green: #9a7577;
  --pic-green-deep: #93797a;
  --accent-2: #bc5c5a;
  --pic-yellow: #b75b59;
  --pic-orange: #c4625f;
  --pic-teal: #c85a55;
  --pic-teal-deep: #b7655f;
}
</style>

<section class="statement" aria-labelledby="statement-title">
  <h2 class="statement__title" id="statement-title">Quiet about everything except the work</h2>
  <div class="statement__body">
    <p class="statement__text">We are six designers and engineers who keep the page calm so the pictures can be loud. Every site starts with one drawing on a wall and ends with code that loads before the coffee cools.</p>
    <a class="statement__link" href="#">
      <span>Meet the studio</span>
      <span class="statement__arrows" aria-hidden="true">
        <svg class="statement__arrow statement__arrow--out" viewBox="0 0 16 16"><path d="M1 8h14M9 2l6 6-6 6" /></svg>
        <svg class="statement__arrow statement__arrow--in" viewBox="0 0 16 16"><path d="M1 8h14M9 2l6 6-6 6" /></svg>
      </span>
      <span class="statement__line" aria-hidden="true"></span>
    </a>
  </div>
</section>

<style>
  .statement {
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    align-items: start;
    padding: var(--section-pad) var(--edge);
  }
  .statement__title {
    grid-column: 1 / span 1;
    margin: 0;
    font-size: var(--text-h2);
    font-weight: var(--weight-text);
    line-height: var(--lead-head);
    text-transform: uppercase;
  }
  .statement__body {
    grid-column: 4 / -1;
    display: grid;
    justify-items: start;
    gap: clamp(28px, 3.4vw, 48px);
  }
  .statement__text {
    margin: 0;
    font-size: var(--text-l);
    line-height: var(--lead-text);
    text-wrap: pretty;
  }
  .statement__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 40px;
    min-height: var(--tap);
    color: var(--ink);
    font-size: var(--text-m);
    text-transform: uppercase;
    text-decoration: none;
  }
  .statement__link:focus-visible {
    outline: var(--hair) solid var(--accent);
    outline-offset: 4px;
  }
  .statement__arrows {
    position: relative;
    width: 16px;
    height: 16px;
    overflow: hidden;
  }
  .statement__arrow {
    position: absolute;
    inset: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    transition: transform var(--t-arrow) var(--ease-out);
  }
  .statement__arrow--in {
    color: var(--accent);
    transform: translateX(-100%);
  }
  .statement__link:hover .statement__arrow--out,
  .statement__link:focus-visible .statement__arrow--out { transform: translateX(100%); }
  .statement__link:hover .statement__arrow--in,
  .statement__link:focus-visible .statement__arrow--in { transform: none; transition-delay: var(--t-arrow-delay); }
  .statement__line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 9px;
    height: var(--hair);
    background: var(--ink);
    overflow: hidden;
  }
  .statement__line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-line) var(--ease-out);
  }
  .statement__link:hover .statement__line::after,
  .statement__link:focus-visible .statement__line::after { transform: scaleX(1); }

  @media (max-width: 63.99rem) {
    .statement__title { grid-column: 1 / span 2; }
  }
  @media (max-width: 47.99rem) {
    .statement { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
    .statement__title,
    .statement__body { grid-column: 1; }
    .statement__title { max-width: 12em; }
  }
</style>

Similar components

Black statement

Black statement

Project chapter

Project chapter

Red flood studio

Red flood studio

Mixed-type headline

Mixed-type headline

Project sheet

Project sheet

Discipline shapes

Discipline shapes

Case study flood

Case study flood

Big statement

Big statement