kitbash Sign in Connect agent
Components

Backlit silhouette

A cut-paper silhouette on cream with an ember glow across its eyes; opens from a small frame, zooms in on scroll, headline bottom left and an orange button bottom right.

Part of the style

Ember Silhouette Wireframe

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

Preview

Code
<section class="hero">
  <div class="hero__stage">
    <div class="hero__figure">
      <img class="hero__picture" src="assets/silhouette.jpg" alt="A cut-paper silhouette of a woman in profile, black on pale paper" width="1254" height="2400">
      <span class="hero__glow" aria-hidden="true"></span>
      <span class="hero__glint" aria-hidden="true"></span>
    </div>
  </div>
  <div class="hero__copy">
    <div class="hero__lead">
      <h1 class="hero__title">Your rooms deserve better light.</h1>
      <p class="hero__sub">Varde designs it for stages, galleries and façades.</p>
    </div>
    <div class="hero__aside">
      <p class="hero__note">Lighting studio<br>Stage, gallery, façade<br>Since 2011</p>
      <a class="hero__button" href="#">Book a walk-through</a>
    </div>
  </div>
</section>

<style>
  .hero {
    --figure-w: clamp(900px, 115vw, 1800px);
    --zoom: 1;
    --glow: 0.85;
    position: relative;
    isolation: isolate;
    height: clamp(600px, 56vw, 860px);
    overflow: hidden;
    background: var(--paper);
  }
  .hero__stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--cream);
    clip-path: inset(20% 27% 20% 27% round var(--radius-m));
    transition: clip-path var(--intro) var(--ease);
  }
  .hero.is-open .hero__stage {
    clip-path: inset(0 0 0 0 round 0);
  }
  .hero__figure {
    position: absolute;
    top: calc(20% - var(--figure-w) * 0.345);
    left: calc(63% - var(--figure-w) * 0.45);
    width: var(--figure-w);
    aspect-ratio: 1254 / 2400;
    transform: scale(var(--zoom));
    transform-origin: 44% 21.2%;
    mix-blend-mode: multiply;
  }
  .hero__picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(1.32) contrast(1.7);
    -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 15%, #000 85%, transparent 92%);
    mask-image: linear-gradient(90deg, transparent 8%, #000 15%, #000 85%, transparent 92%);
  }
  /* The ember lens: lighten keeps the cream as it is and lights only the black of the silhouette. */
  .hero__glow,
  .hero__glint {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: lighten;
    pointer-events: none;
  }
  .hero__glow {
    left: 38.5%;
    top: 20.2%;
    width: 15%;
    height: 2.6%;
    background: radial-gradient(closest-side, var(--amber) 0%, var(--amber) 28%, var(--ember) 70%, transparent 100%);
    filter: blur(4px);
    opacity: var(--glow);
    animation: hero-pulse 3.2s var(--ease) infinite;
  }
  .hero__glint {
    left: 40%;
    top: 20.7%;
    width: 4%;
    height: 0.9%;
    background: radial-gradient(closest-side, var(--paper), transparent);
    opacity: calc(var(--glow) * 0.8);
  }
  @keyframes hero-pulse {
    0%, 100% { filter: blur(4px) brightness(1); }
    50% { filter: blur(6px) brightness(1.25); }
  }

  .hero__copy {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-l);
    padding: 0 var(--edge) var(--space-l);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--slow) var(--ease) 900ms, transform var(--slow) var(--ease) 900ms;
  }
  .hero.is-open .hero__copy {
    opacity: 1;
    transform: none;
  }
  .hero__title {
    max-width: 14ch;
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--display-m);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: var(--track-tight);
  }
  .hero__sub {
    max-width: 19ch;
    margin: var(--space-xs) 0 0;
    color: var(--ink-soft);
    font-size: var(--display-m);
    line-height: 1.04;
    letter-spacing: var(--track-tight);
  }
  .hero__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-m);
    flex: none;
  }
  .hero__note {
    margin: 0;
    text-align: right;
    font-family: var(--font-mono);
    font-size: var(--text-micro);
    line-height: 1.25;
    letter-spacing: var(--track-mono);
    text-transform: uppercase;
  }
  .hero__button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--space-l);
    border-radius: var(--radius-s);
    color: var(--on-dark);
    background: var(--ember);
    font-family: var(--font-mono);
    font-size: var(--text-micro);
    font-weight: 500;
    letter-spacing: var(--track-mono);
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color var(--quick) var(--ease), transform var(--press) var(--ease-out);
  }
  .hero__button:hover {
    background: var(--ember-deep);
  }
  .hero__button:active {
    transform: scale(0.97);
  }
  .hero__button:focus-visible {
    outline: var(--line) solid var(--ink);
    outline-offset: 3px;
  }

  @media (max-width: 720px) {
    .hero {
      height: clamp(600px, 170vw, 760px);
    }
    .hero__figure {
      top: calc(12% - var(--figure-w) * 0.345);
      left: calc(62% - var(--figure-w) * 0.45);
    }
    .hero__copy {
      flex-direction: column;
      align-items: stretch;
      padding-top: var(--space-l);
      background: var(--cream);
    }
    .hero__aside {
      flex-direction: row;
      justify-content: space-between;
    }
    .hero__note {
      text-align: left;
    }
    .hero__sub {
      font-size: var(--text-l);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero__stage { clip-path: none; transition: none; }
    .hero__copy { opacity: 1; transform: none; transition: none; }
    .hero__glow { animation: none; }
  }
</style>

<script>
  (() => {
    const still = matchMedia('(prefers-reduced-motion: reduce)');
    document.querySelectorAll('.hero').forEach((root) => {
      requestAnimationFrame(() => requestAnimationFrame(() => root.classList.add('is-open')));
      if (still.matches) return;
      let visible = false;
      let frame = 0;
      const update = () => {
        frame = 0;
        const box = root.getBoundingClientRect();
        const progress = Math.min(1, Math.max(0, -box.top / box.height));
        root.style.setProperty('--zoom', (1 + progress * 0.35).toFixed(4));
        root.style.setProperty('--glow', (0.85 + progress * 0.15).toFixed(3));
      };
      new IntersectionObserver(([entry]) => { visible = entry.isIntersecting; if (visible) update(); }).observe(root);
      window.addEventListener('scroll', () => {
        if (visible && !frame) frame = requestAnimationFrame(update);
      }, { passive: true });
    });
  })();
</script>

Similar components

Dot-mosaic hero

Dot-mosaic hero

Huge line over a photograph

Huge line over a photograph

Fitted headline sheet

Fitted headline sheet

Particle halo hero

Particle halo hero

Slot machine gate

Slot machine gate

Centred hero with foil word

Centred hero with foil word

Spinning coin hero

Spinning coin hero

Typing hero with window

Typing hero with window