.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-visual {
  z-index: 2;
}

/* Keep the complete transparent wordmark visible in every placement. */
.brand,
.footer-logo {
  height: auto;
  overflow: visible;
  mix-blend-mode: normal;
}

.brand {
  width: 150px;
}

.brand img,
.footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-logo {
  width: 220px;
}

.site-header {
  height: 98px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.site-header.scrolled {
  height: 82px;
}

.site-header.scrolled .brand {
  width: 126px;
}

/* Decorative hero elements stay inside the image instead of being clipped. */
.floating-note {
  left: 18px;
  bottom: 24px;
  transform: none;
  z-index: 4;
}

.orbit {
  top: 22px;
  right: 22px;
  width: 145px;
  height: 145px;
  z-index: 4;
}

.orbit span:nth-child(2) {
  right: -4px;
  top: 61px;
}

.orbit span:nth-child(3) {
  left: -4px;
  top: 61px;
}

@media (max-width: 560px) {
  .site-header {
    height: 90px;
    padding: 8px 22px;
  }

  .site-header.scrolled {
    height: 82px;
  }

  .brand {
    width: 135px;
  }

  .site-header.scrolled .brand {
    width: 122px;
  }

  .hero {
    padding-top: 122px;
  }

  .floating-note {
    left: 14px;
    bottom: 16px;
  }
}
