kitbash Sign in Connect agent
Components

Spectrum letters hero

The brand in giant hairline condensed letters filled with the heat ramp, a thermal portrait over them with a looping raw scan band and a drawn ring, a framed intro box and a black date slab, all on a pink heat glow.

Part of the style

Thermal Spectrum Letters

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

Preview

Code
<section class="hero">
  <svg class="hero__defs" width="0" height="0" aria-hidden="true" focusable="false">
    <filter id="hero-thermal" color-interpolation-filters="sRGB">
      <feColorMatrix type="matrix" values="0.3 0.59 0.11 0 0  0.3 0.59 0.11 0 0  0.3 0.59 0.11 0 0  0 0 0 1 0" />
      <feComponentTransfer>
        <feFuncR type="linear" slope="1.6" intercept="-0.22" />
        <feFuncG type="linear" slope="1.6" intercept="-0.22" />
        <feFuncB type="linear" slope="1.6" intercept="-0.22" />
      </feComponentTransfer>
      <feComponentTransfer>
        <feFuncR type="table" tableValues="0.18 0.18 0.10 0.56 1 1 1" />
        <feFuncG type="table" tableValues="0.09 0.42 0.78 0.82 0.83 0.48 0.18" />
        <feFuncB type="table" tableValues="0.66 1 0.90 0.42 0 0.10 0.53" />
      </feComponentTransfer>
    </filter>
  </svg>

  <div class="hero__top">
    <div class="hero__intro">
      <p class="hero__lead">Three late nights in a portrait museum. Every painting is re-hung under thermal cameras, so you see the warmth the sitters never showed.</p>
      <div class="hero__actions">
        <a class="hero__button" href="#">Get passes</a>
        <a class="hero__link" href="#">See the sitters</a>
      </div>
    </div>
    <div class="hero__date">
      <p class="hero__place">Hall Nine · Old Gasworks</p>
      <p class="hero__days">12—14 Feb</p>
      <p class="hero__note">2027 · Three late nights</p>
    </div>
  </div>

  <div class="hero__stage">
    <div class="hero__glow" aria-hidden="true"></div>
    <h1 class="hero__letters">
      <span class="hero__label">Ferno</span>
      <span class="hero__letter" aria-hidden="true">F</span>
      <span class="hero__letter" aria-hidden="true">E</span>
      <span class="hero__letter" aria-hidden="true">R</span>
      <span class="hero__letter" aria-hidden="true">N</span>
      <span class="hero__letter" aria-hidden="true">O</span>
    </h1>
    <figure class="hero__figure">
      <img class="hero__photo hero__photo--heat" src="assets/portrait-hero.jpg" alt="A long-haired sitter looking straight at the camera, shown in false thermal colour" width="952" height="1200" />
      <img class="hero__photo hero__photo--raw" src="assets/portrait-hero.jpg" alt="" aria-hidden="true" width="952" height="1200" />
      <span class="hero__band" aria-hidden="true"></span>
      <figcaption class="hero__chip">Open after dark</figcaption>
    </figure>
    <svg class="hero__ring" viewBox="0 0 700 170" aria-hidden="true" focusable="false">
      <ellipse class="hero__ring-line" cx="350" cy="85" rx="344" ry="62" transform="rotate(4 350 85)" pathLength="1" />
    </svg>
  </div>
</section>

<style>
  .hero {
    position: relative;
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
  }
  .hero__defs {
    position: absolute;
    width: 0;
    height: 0;
  }
  .hero__top {
    position: absolute;
    inset: var(--space-l) var(--edge) auto;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--gap);
    pointer-events: none;
  }
  .hero__intro,
  .hero__date {
    pointer-events: auto;
  }
  .hero__intro {
    width: clamp(260px, 25vw, 350px);
    padding: var(--space-m);
    background: var(--paper);
    border: var(--rule) solid var(--ink);
  }
  .hero__lead {
    margin: 0 0 var(--space-m);
    font-size: var(--text-l);
    font-weight: 450;
    line-height: 1.42;
    letter-spacing: -0.005em;
  }
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-m);
  }
  .hero__button {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 var(--space-m);
    background: var(--ink);
    color: var(--paper);
    font-size: var(--text-xs);
    font-weight: 750;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--t-colour) ease;
  }
  .hero__button:hover {
    color: var(--heat-5);
  }
  .hero__link {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap);
    color: inherit;
    font-weight: 550;
    text-decoration: none;
    background: var(--spectrum-x) no-repeat left bottom 9px / 100% var(--underline);
    transition: background-size var(--t-underline) var(--ease);
  }
  .hero__link:hover,
  .hero__link:focus-visible {
    background-size: 100% 24px;
  }
  .hero__button:focus-visible,
  .hero__link:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
  }
  .hero__date {
    width: clamp(200px, 17vw, 250px);
    padding: var(--space-m);
    background: var(--night);
    color: var(--paper);
  }
  .hero__place,
  .hero__note {
    margin: 0;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
  }
  .hero__note {
    color: var(--night-text);
  }
  .hero__days {
    margin: var(--space-s) 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--numeral);
    line-height: 0.88;
    text-transform: uppercase;
  }

  .hero__stage {
    position: relative;
    padding: 0 var(--edge);
  }
  .hero__glow {
    position: absolute;
    left: 50%;
    top: -10%;
    width: min(1100px, 90vw);
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, var(--blush), transparent);
    opacity: 0.85;
  }
  .hero__letters {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: clamp(170px, 21vw, 320px) 0 0;
    font-family: var(--font-display);
    font-weight: 200;
    font-size: clamp(180px, 46vw, 720px);
    line-height: 0.78;
    letter-spacing: 0;
  }
  .hero__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .hero__letter {
    display: block;
    padding-top: 0.04em;
    background: var(--spectrum);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .hero__figure {
    position: absolute;
    z-index: 2;
    top: var(--space-l);
    left: 50%;
    width: clamp(220px, 27vw, 400px);
    aspect-ratio: 3 / 4;
    margin: 0;
    transform: translateX(-50%);
    box-shadow: var(--shadow-lift);
    overflow: hidden;
  }
  .hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
  }
  .hero__photo--heat {
    filter: url(#hero-thermal);
  }
  .hero__photo--raw {
    clip-path: inset(0 0 100% 0);
    animation: hero-raw var(--t-scan) linear infinite;
  }
  .hero__band {
    position: absolute;
    inset: 0 0 auto;
    height: 30%;
    border-block: var(--rule) solid rgba(241, 237, 228, 0.75);
    transform: translateY(-100%);
    animation: hero-band var(--t-scan) linear infinite;
  }
  .hero.is-paused .hero__photo--raw,
  .hero.is-paused .hero__band {
    animation-play-state: paused;
  }
  @keyframes hero-raw {
    0% { clip-path: inset(0 0 100% 0); }
    23% { clip-path: inset(0 0 70% 0); }
    77% { clip-path: inset(70% 0 0 0); }
    100% { clip-path: inset(100% 0 0 0); }
  }
  @keyframes hero-band {
    from { transform: translateY(-100%); }
    to { transform: translateY(333.4%); }
  }
  .hero__chip {
    position: absolute;
    top: var(--space-m);
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-xs) var(--space-s);
    background: var(--night);
    color: var(--paper);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    white-space: nowrap;
  }
  .hero__ring {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    width: clamp(330px, 50vw, 760px);
    transform: translateX(-50%);
    overflow: visible;
    pointer-events: none;
  }
  .hero__ring-line {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: hero-ring 1.6s var(--ease) 0.2s forwards;
  }
  @keyframes hero-ring {
    to { stroke-dashoffset: 0; }
  }

  @media (max-width: 52rem) {
    .hero__top {
      position: relative;
      inset: auto;
      flex-direction: column;
      align-items: stretch;
      padding: var(--space-m) var(--edge) 0;
    }
    .hero__intro,
    .hero__date {
      width: auto;
    }
    .hero__days {
      font-size: 56px;
    }
    .hero__letters {
      margin-top: clamp(120px, 40vw, 260px);
      font-size: clamp(150px, 46vw, 400px);
    }
    .hero__figure {
      top: var(--space-l);
      left: auto;
      right: var(--edge);
      width: 58%;
      transform: none;
    }
    .hero__ring {
      width: 92%;
      left: 4%;
      transform: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero__photo--raw {
      animation: none;
      clip-path: inset(38% 0 32% 0);
    }
    .hero__band {
      animation: none;
      transform: translateY(126.7%);
    }
    .hero__ring-line {
      animation: none;
      stroke-dashoffset: 0;
    }
  }
</style>

<script>
  (function () {
    document.querySelectorAll(".hero").forEach(function (root) {
      if (!("IntersectionObserver" in window)) return;
      new IntersectionObserver(function (entries) {
        entries.forEach(function (entry) {
          root.classList.toggle("is-paused", !entry.isIntersecting);
        });
      }).observe(root);
    });
  })();
</script>

Similar components

Halftone globe hero

Halftone globe hero

Lobby Kiosk

Lobby Kiosk

Opening line

Opening line

Table hero

Table hero

Spinning coin hero

Spinning coin hero

Centred hero with foil word

Centred hero with foil word

Full-bleed arrival

Full-bleed arrival

Tablet on the lawn

Tablet on the lawn