kitbash Sign in Connect agent
Components

Golden split hero

A wordmark, notice, stacked red headline and red tile in the big square, with a vertically set statement and smaller turned panels in the remainder.

Part of the style

Red Spiral Grid

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

Preview

Code
<style>
/* Goes after the pack's base.css */
:root {
  --ink: #e8e6ed;
  --ink-soft: #838287;
  --paper: #101213;
  --paper-tint: #161819;
  --night: #131217;
  --key: #16191a;
  --key-ink: #191b1c;
  --red: #d25b4f;
  --red-deep: #bc564b;
}
</style>

<header class="hero">
  <div class="hero__frame">
    <div class="hero__major hero__panel">
      <div class="hero__top">
        <a class="hero__wordmark" href="#">
          <svg class="hero__glyph" viewBox="0 0 162 100" aria-hidden="true">
            <path d="M1 1 H161 V99 H1 Z M100 1 V99 M100 62 H161 M124 62 V99 M100 76 H124" />
            <path d="M1 99 A99 99 0 0 1 100 1 A61 61 0 0 1 161 62 A37 37 0 0 1 124 99 A24 24 0 0 1 100 76" />
          </svg>
          <span>Tidewright</span>
        </a>
        <p class="hero__notice">
          <strong>Note:</strong> every room on this site turns a quarter as you go. Prefer it still?
          <a class="hero__notice-link" href="#">Read the flat version.</a>
        </p>
      </div>
      <div class="hero__bottom">
        <h1 class="hero__title">Measure<br>Model<br>Make</h1>
        <div class="hero__cue">
          <a class="hero__tile" href="#work">
            <svg class="hero__tile-icon" viewBox="0 0 62 100" aria-hidden="true">
              <path d="M1 1 H61 V99 H1 Z M1 62 H61 M24 62 V99 M1 76 H24 M24 85 H38" />
              <path d="M61 62 A60 60 0 0 0 1 1 M1 62 A37 37 0 0 0 38 99" />
            </svg>
            <span>Begin</span>
          </a>
          <div class="hero__keys" aria-hidden="true">
            <span class="hero__key hero__key--up">&#9652;</span>
            <span class="hero__key hero__key--left">&#9666;</span>
            <span class="hero__key hero__key--down">&#9662;</span>
            <span class="hero__key hero__key--right">&#9656;</span>
          </div>
        </div>
      </div>
    </div>

    <div class="hero__minor">
      <div class="hero__panel hero__turned">
        <div class="hero__turned-inner">
          <h2 class="hero__statement">Objects that keep their own time.</h2>
          <p class="hero__copy">
            We build working instruments for rooms full of old things: clocks that read the tide,
            drawers that light the fern you open, a lens that finds the moon on a cloudy day.
            <a class="hero__copy-link" href="#">Booking projects for spring.</a>
          </p>
        </div>
      </div>
      <div class="hero__rest">
        <div class="hero__panel hero__small hero__small--flip">
          <p class="hero__small-kicker">Now on show</p>
          <p class="hero__small-title">Coil Room</p>
          <p class="hero__small-copy">Forty bronze spirals, one dial that sorts them by age.</p>
        </div>
        <div class="hero__nest">
          <div class="hero__panel hero__small hero__small--dot">
            <span class="hero__square"></span>
          </div>
          <div class="hero__panel hero__small hero__small--left">
            <p class="hero__small-title">Est. 2014</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</header>

<style>
  .hero {
    background: var(--night);
    color: var(--ink);
  }
  .hero__frame {
    display: grid;
    grid-template-columns: minmax(0, 61.8034fr) minmax(0, 38.1966fr);
    gap: var(--seam);
    aspect-ratio: 1.618034 / 1;
    min-height: 520px;
  }
  .hero__panel {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: var(--wave-texture), var(--paper-tint);
  }
  .hero__major {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space-xl);
  }
  .hero__top,
  .hero__bottom {
    display: flex;
    justify-content: space-between;
    gap: var(--space-l);
  }
  .hero__bottom {
    align-items: flex-end;
  }
  .hero__wordmark {
    display: inline-flex;
    align-items: center;
    gap: var(--space-s);
    min-height: var(--tap);
    color: var(--ink);
    font: 800 var(--text-xl) / 1 var(--font-display);
    letter-spacing: -0.03em;
    text-decoration: none;
  }
  .hero__glyph {
    width: 44px;
    height: auto;
    fill: none;
    stroke: var(--ink);
    stroke-width: 3;
  }
  .hero__notice {
    max-width: 25em;
    margin: 0;
    font-size: var(--text-m);
    line-height: 1.5;
  }
  .hero__notice strong {
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
  }
  .hero__notice-link,
  .hero__copy-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: var(--rule-thin);
    text-underline-offset: 3px;
    transition: color var(--quick) var(--ease);
  }
  .hero__copy-link {
    color: var(--red);
  }
  .hero__notice-link:hover,
  .hero__notice-link:focus-visible {
    color: var(--red);
  }
  .hero__title {
    margin: 0;
    color: var(--red);
    font-family: var(--font-display);
    font-size: var(--display-m);
    font-weight: 700;
    line-height: var(--leading-display);
    letter-spacing: var(--track-display);
  }
  .hero__cue {
    display: grid;
    justify-items: center;
    gap: var(--space-s);
  }
  .hero__tile {
    display: grid;
    place-items: center;
    align-content: space-between;
    width: 96px;
    height: 132px;
    padding: var(--space-m) var(--space-s) var(--space-s);
    border-radius: 0;
    background: var(--red);
    color: var(--paper);
    font: 700 var(--text-l) / 1 var(--font-body);
    text-decoration: none;
    transition: background var(--medium) var(--ease), border-radius var(--quick) var(--ease-out);
  }
  .hero__tile-icon {
    width: 32px;
    fill: none;
    stroke: var(--paper);
    stroke-width: 2.4;
  }
  .hero__tile:hover,
  .hero__tile:focus-visible {
    background: var(--red-deep);
    border-top-left-radius: 48px;
  }
  .hero__tile:focus-visible {
    outline: var(--rule-thin) solid var(--red);
    outline-offset: 4px;
  }
  .hero__keys {
    display: grid;
    grid-template-columns: repeat(3, 26px);
    grid-template-rows: 14px 14px;
    gap: 3px;
  }
  .hero__key {
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--key);
    color: var(--key-ink);
    font-size: 9px;
    line-height: 1;
  }
  .hero__key--up { grid-column: 2; grid-row: 1; }
  .hero__key--left { grid-column: 1; grid-row: 2; }
  .hero__key--down { grid-column: 2; grid-row: 2; }
  .hero__key--right { grid-column: 3; grid-row: 2; }

  /* Right column: the remainder of the golden split, cut again and again. */
  .hero__minor {
    display: grid;
    grid-template-rows: minmax(0, 61.8034fr) minmax(0, 38.1966fr);
    gap: var(--seam);
    min-height: 0;
  }
  .hero__turned-inner {
    position: absolute;
    inset: var(--space-xl) var(--space-l);
    display: flex;
    flex-direction: column;
    gap: var(--space-l);
    writing-mode: vertical-rl;
  }
  .hero__statement {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: var(--track-display);
  }
  .hero__copy {
    max-inline-size: 24em;
    margin: 0;
    margin-block-start: auto;
    color: var(--ink);
    font-size: var(--text-s);
    line-height: 1.5;
  }
  .hero__rest {
    display: grid;
    grid-template-columns: minmax(0, 38.1966fr) minmax(0, 61.8034fr);
    gap: var(--seam);
    min-height: 0;
  }
  .hero__rest > .hero__small--flip {
    grid-column: 2;
    grid-row: 1;
  }
  .hero__nest {
    display: grid;
    grid-template-rows: minmax(0, 38.1966fr) minmax(0, 61.8034fr);
    gap: var(--seam);
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
  }
  .hero__small {
    container-type: size;
  }
  .hero__small--flip {
    display: flex;
    flex-direction: column;
    gap: 3cqi;
    padding: 10cqi;
    transform: rotate(180deg);
  }
  .hero__small-kicker,
  .hero__small-title,
  .hero__small-copy {
    margin: 0;
  }
  .hero__small-kicker {
    color: var(--red);
    font-size: max(9px, 5.5cqi);
    font-weight: 700;
  }
  .hero__small-title {
    font-size: max(12px, 11cqi);
    font-weight: 700;
    line-height: 1;
  }
  .hero__small-copy {
    max-width: 18em;
    color: var(--ink-soft);
    font-size: max(9px, 5.5cqi);
    line-height: 1.45;
  }
  .hero__small--dot {
    display: grid;
    place-items: center;
  }
  .hero__square {
    width: 38%;
    aspect-ratio: 1;
    background: var(--night);
    animation: hero-square 6s var(--ease) infinite;
  }
  @keyframes hero-square {
    0%, 40% { transform: rotate(0); }
    50%, 90% { transform: rotate(90deg); border-top-left-radius: var(--radius-quarter); }
    100% { transform: rotate(180deg); }
  }
  .hero__small--left {
    display: grid;
    align-content: end;
    padding: 12cqi;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  @media (max-width: 960px) and (min-width: 641px) {
    .hero__frame {
      aspect-ratio: auto;
    }
    .hero__major {
      padding: var(--space-l);
    }
    .hero__top {
      flex-direction: column;
      gap: var(--space-m);
    }
    .hero__turned-inner {
      inset: var(--space-l) var(--space-m);
    }
  }

  /* Phones: the big square first, then the turned panel beside the small cuts. */
  @media (max-width: 640px) {
    .hero__frame {
      grid-template-columns: 1fr;
      aspect-ratio: auto;
      min-height: 0;
    }
    .hero__major {
      min-height: 100vw;
      gap: var(--space-xl);
      padding: var(--space-l) var(--space-m);
    }
    .hero__top,
    .hero__bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: var(--space-m);
    }
    .hero__bottom {
      flex-direction: row;
      align-items: flex-end;
    }
    .hero__title {
      font-size: clamp(30px, 9vw, 40px);
    }
    .hero__minor {
      grid-template-rows: none;
      grid-template-columns: minmax(0, 38.1966fr) minmax(0, 61.8034fr);
      min-height: 460px;
    }
    .hero__turned {
      grid-column: 2;
      grid-row: 1;
    }
    .hero__turned-inner {
      inset: var(--space-l) var(--space-m);
    }
    .hero__rest {
      grid-column: 1;
      grid-row: 1;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: minmax(0, 38.1966fr) minmax(0, 61.8034fr);
      overflow: hidden;
    }
    .hero__rest > .hero__small--flip {
      grid-column: 1;
      grid-row: 2;
    }
    .hero__nest {
      grid-row: 1;
      grid-template-rows: none;
      grid-template-columns: minmax(0, 61.8034fr) minmax(0, 38.1966fr);
    }
    .hero__statement {
      font-size: 26px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero__square {
      animation: none;
    }
  }
</style>

Similar components

Sticker headline hero

Sticker headline hero

Night water statement

Night water statement

Fog hero with fluid blob

Fog hero with fluid blob

Red clock field

Red clock field

Split opening

Split opening

Hello column

Hello column

Iris lens opener

Iris lens opener

Error screen

Error screen