@layer components {
  .hero {
    --hero-pad-bottom: 4rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-region);
    text-align: center;
    padding: var(--space-page-y) var(--space-page-x) var(--hero-pad-bottom);
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero-bg);
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero-glow);
    pointer-events: none;
  }

  .hero-brand {
    position: relative;
    z-index: var(--z-raised);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-top,
  .hero-content {
    position: relative;
    z-index: var(--z-raised);
    width: 100%;
    max-width: var(--width-content);
  }

  .hero-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-region);
  }

  .hero-intro,
  .hero-content {
    text-align: left;
  }

  /* The principles share the hero background instead of their own band. */
  .hero .principles {
    background: none;
  }

  .hero-image {
    position: relative;
    z-index: var(--z-raised);
    width: var(--size-hero-image);
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: var(--shadow-hero);
  }

  .hero-tagline {
    position: relative;
    z-index: var(--z-raised);
    width: 100%;
    max-width: var(--width-content);
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: var(--weight-semibold);
    color: var(--color-muted);
    letter-spacing: var(--tracking-normal);
    line-height: var(--leading-snug);
  }

  .hero-cta {
    display: flex;
    gap: var(--space-block);
    justify-content: center;
    flex-wrap: wrap;
  }
}
