.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(3rem, 6vw, 6rem);
  background-color: var(--hero-background);
}

.hero__content {
  max-width: 52rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.75rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
}

.hero h1 > span {
  display: block;
}

.hero p {
  max-width: 50ch;
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 1.75rem;
}

.hero__primary,
.hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: var(--font-weight-bold);
}

.hero__primary {
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--hero-action-border);
  border-radius: 0.75rem;
  background-color: var(--hero-action-background);
  color: var(--hero-action-text);
  text-decoration: none;
}

.hero__secondary {
  color: var(--page-link);
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.3em;
}

.hero__primary:hover,
.hero__primary:focus-visible,
.hero__secondary:focus-visible {
  outline: 3px solid var(--header-focus);
  outline-offset: 3px;
}

.hero__secondary:hover {
  text-decoration-thickness: 0.25em;
}

.hero__art {
  flex: 0 0 clamp(10rem, 40vw - 14rem, 22rem);
  width: clamp(10rem, 40vw - 14rem, 22rem);
  color: var(--hero-art-color);
  fill: currentColor;
}

.hero__tile--medium {
  opacity: 0.6;
}

.hero__tile--faint {
  opacity: 0.3;
}

@media (max-width: 45rem) {
  .hero__art {
    display: none;
  }
}

@media (forced-colors: active) {
  .hero__primary {
    border-color: ButtonText;
    background-color: ButtonFace;
    color: ButtonText;
  }

  .hero__primary:hover,
  .hero__primary:focus-visible,
  .hero__secondary:focus-visible {
    outline-color: Highlight;
  }

  .hero__art {
    display: none;
  }
}
