kitbash Sign in Connect agent
Components

About panel

A squashed word band over an extended bold statement and run-in contact lines, a thin stretched word down the side.

Part of the style

Stretched Word Stack

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #184f53;
  --paper: #ebf9f9;
  --on-picture: #ebf9f9;
  --picture-ground: #184f53;
}
</style>

<section class="about" aria-label="About the studio">
  <div class="about__main">
    <svg class="about__word" viewBox="0 -71 100 72.5" preserveAspectRatio="none" role="img" aria-label="INFO">
      <text x="0" y="0" textLength="100" lengthAdjust="spacingAndGlyphs">INFO</text>
    </svg>
    <p class="about__statement">Ostrand is a location scouting studio on the north coast. For twelve years we have found roads, pools, cliffs and empty halls for film and advertising crews, from one-day stills to six-week features. We drive out first, photograph the light by the hour and come back with keys, permits and a folder you can shoot from.</p>
    <p class="about__lines"><span class="about__pair"><b class="about__label">Mail:</b> <a class="about__link" href="#">desk@ostrand.example</a></span> <span class="about__pair"><b class="about__label">Social:</b> <a class="about__link" href="#">Instagram</a>, <a class="about__link" href="#">Vimeo</a></span> <span class="about__pair"><b class="about__label">Office:</b> Kanalweg 12, Harbour District</span></p>
    <p class="about__lines"><span class="about__pair"><b class="about__label">Booking:</b> Two weeks ahead for roads, a month for anything with water</span></p>
  </div>
  <a class="about__side" href="#places">
    <svg class="about__word about__word--side" viewBox="0 -71 100 72.5" preserveAspectRatio="none" role="img" aria-label="PLACES">
      <text x="0" y="0" textLength="100" lengthAdjust="spacingAndGlyphs">PLACES</text>
    </svg>
  </a>
</section>

<style>
  .about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(84px, 17vw, 250px);
    gap: var(--space-m);
    background: var(--paper);
  }
  .about__main {
    min-width: 0;
    padding-bottom: var(--space-l);
  }
  .about__word {
    width: 100%;
    height: clamp(150px, 26vw, 380px);
    overflow: visible;
  }
  .about__word text {
    font-family: var(--font-display);
    font-size: 100px;
    font-weight: var(--weight-display);
    font-stretch: var(--width-word);
    fill: var(--ink);
  }
  .about__side {
    position: relative;
    display: block;
    min-height: clamp(150px, 26vw, 380px);
    color: var(--ink);
  }
  .about__side:focus-visible {
    outline: var(--line) solid var(--ink);
    outline-offset: calc(var(--line) * -1);
  }
  .about__word--side {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .about__word--side text {
    font-stretch: var(--width-tall);
    fill: currentColor;
  }
  .about__statement {
    max-width: 50rem;
    margin: var(--space-s) 0 var(--space-m);
    padding-left: var(--edge);
  }
  .about__lines {
    max-width: 50rem;
    margin: 0 0 var(--space-m);
    padding-left: var(--edge);
  }
  .about__pair {
    margin-right: var(--gap);
  }
  .about__label {
    font-stretch: var(--width-label);
  }
  .about__link {
    padding-block: 12px;
    color: var(--ink);
    text-decoration: none;
    background-clip: content-box;
    transition: color var(--quick) var(--ease), background-color var(--quick) var(--ease);
  }
  .about__link:hover,
  .about__link:focus-visible {
    color: var(--paper);
    background-color: var(--ink);
    outline: none;
  }

  @media (max-width: 40rem) {
    .about {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .about__side {
      min-height: var(--word-band);
    }
    .about__word--side text {
      font-stretch: var(--width-word);
    }
  }
</style>

Similar components

Credits statement

Credits statement

Published page

Published page

About banner

About banner

Process reader

Process reader

Small caps statement

Small caps statement

Wiped statement

Wiped statement

Dictionary entry

Dictionary entry

Serif statement and lists

Serif statement and lists