.page-hero__media-wrap {
  position: relative;
  width: 100%;
}

.page-hero--shaped .page-hero__media-wrap .about-hero__img {
  clip-path: url(#MyClip);
}

.page-hero__media-wrap .hero-about__link,
.page-hero__media-wrap .shop-hero__link {
  position: absolute;
  bottom: 2.5rem;
  inset-inline-end: 2.5rem;
  z-index: 5;
}

.page-hero {
  --hero-media-height: clamp(14rem, 38vw, 26.25rem);
  --hero-overlay-size: clamp(3rem, 9.5vw + 0.5rem, 8.75rem);
  --hero-heading-size: clamp(1.75rem, 3.8vw + 0.5rem, 4.375rem);
  --hero-tagline-size: clamp(0.9375rem, 0.85vw + 0.65rem, 1.125rem);
  --hero-gap-media-tagline: 1.25rem;
  --hero-gap-tagline-heading: 2.75rem;
}

.page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.page-hero__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: var(--hero-media-height);
}

.page-hero__overlay-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 96%;
  margin-inline: auto;
  padding-inline: clamp(0.75rem, 3vw, 2rem);
  text-align: center;
  font-weight: 600;
  color: #fff;
  font-size: var(--hero-overlay-size);
  line-height: 1;
  letter-spacing: clamp(0.06em, 0.35vw, 0.14em);
  text-transform: uppercase;
  word-break: break-word;
}

.hero-about__text__stroke {
  color: transparent;
  -webkit-text-stroke-color: #fff;
  -webkit-text-stroke-width: 1px;
  z-index: 4;
}

.page-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-hero__tagline {
  margin-top: var(--hero-gap-media-tagline);
  max-width: min(100%, 36rem);
  font-size: var(--hero-tagline-size);
  font-weight: 400;
  line-height: 1.5;
  color: var(--secondary-foreground);
}

.page-hero__heading {
  margin-top: var(--hero-gap-tagline-heading);
  width: 100%;
  max-width: 100%;
  font-weight: 600;
  font-size: var(--hero-heading-size, clamp(1.75rem, 4.2vw + 0.3rem, 3.375rem));
  line-height: 1.15;
  color: var(--color-text-primary);
}

.page-hero__heading-line {
  display: block;
  width: 100%;
  text-wrap: balance;
}

.page-hero__heading .text-secondary-foreground {
  color: var(--secondary-foreground);
}

.page-hero__copy:has(.page-hero__tagline) .page-hero__heading {
  margin-top: var(--hero-gap-tagline-heading);
}

.page-hero__copy:not(:has(.page-hero__tagline)) .page-hero__heading {
  margin-top: var(--hero-gap-media-tagline);
}

.hero-about__link,
.shop-hero__link {
  z-index: 5;
}

@media screen and (min-width: 768px) {
  .page-hero__tagline {
    max-width: 45%;
  }
}

@media screen and (max-width: 550px) {
  .page-hero {
    --hero-media-height: clamp(11.5rem, 52vw, 15rem);
    --hero-overlay-size: clamp(2.25rem, 14vw, 3.25rem);
    --hero-heading-size: clamp(1.5rem, 7vw, 2rem);
    --hero-tagline-size: 0.9375rem;
    --hero-gap-media-tagline: 1rem;
    --hero-gap-tagline-heading: 1.75rem;
  }

  .page-hero__overlay-title {
    letter-spacing: 0.05em;
  }

  .page-hero__tagline {
    max-width: 100%;
  }

  .page-hero__media-wrap .hero-about__link,
  .page-hero__media-wrap .shop-hero__link {
    top: 12px;
    inset-inline-start: 12px;
    inset-inline-end: auto;
    bottom: auto;
    width: fit-content;
  }
}
