kitbash Sign in Connect agent
Components

Statement and rising panel

A centred two-line statement fades in on black while a grey picture panel rises from the bottom edge.

Part of the style

Staggered Black Folio

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --page: #101213;
  --ink: #e8e6ed;
  --ink-soft: #97969b;
  --ink-mute: #616568;
  --stage: #444749;
  --stage-light: #c7c5cb;
  --paper: #e8e6ed;
  --paper-ink: #101213;
  --rule: #363a3b;
  --flat-orange: #b64238;
  --flat-yellow: #b64238;
  --flat-green: #b64238;
  --flat-blue: #b64238;
}
</style>

<section class="hero">
  <h1 class="hero__statement">We shape, sharpen and <span class="hero__line">reset quiet brands.</span></h1>
  <figure class="hero__panel">
    <img class="hero__picture" src="assets/vase.jpg" alt="A blue and white lidded porcelain jar on a grey ground" width="918" height="1200" loading="eager">
  </figure>
</section>

<style>
  .hero {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-content: space-between;
    min-height: clamp(560px, 50vw, 860px);
    padding: clamp(40px, 6vw, 96px) var(--edge) 0;
    overflow: hidden;
  }
  .hero__statement {
    grid-column: 1 / -1;
    margin: 0 auto;
    max-width: 22ch;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    text-wrap: balance;
    animation: hero-fade var(--fade) var(--ease) 300ms both;
  }
  .hero__line {
    display: block;
  }
  .hero__panel {
    grid-column: 7 / -1;
    margin: var(--space-xl) 0 0;
    height: clamp(220px, 24vw, 340px);
    overflow: hidden;
    background: var(--stage-light);
    animation: hero-rise var(--zoom) var(--ease-out) 500ms both;
  }
  .hero__picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    animation: hero-zoom var(--zoom) var(--ease-out) 500ms both;
  }

  @keyframes hero-fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes hero-rise {
    from { transform: translateY(100%); }
    to { transform: none; }
  }
  @keyframes hero-zoom {
    from { transform: scale(1.18); }
    to { transform: none; }
  }

  @media (max-width: 40rem) {
    .hero {
      min-height: 640px;
      align-content: center;
      padding-top: var(--space-l);
    }
    .hero__statement {
      font-size: clamp(28px, 8.5vw, 40px);
      line-height: 1.4;
    }
    .hero__panel {
      grid-column: 1 / -1;
      height: 200px;
      margin-top: var(--space-l);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero__statement,
    .hero__panel,
    .hero__picture {
      animation: none;
    }
  }
</style>

Similar components

Sketch statement

Sketch statement

Cast-in hero

Cast-in hero

Swapping chip wordmark

Swapping chip wordmark

Turning orb

Turning orb

Iris lens opener

Iris lens opener

Sunburst stage

Sunburst stage

Hero

Hero

Split wordmark hero

Split wordmark hero