main > .photo-hero {
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  min-block-size: clamp(30rem, 42vw, 36rem);
  padding-block: var(--sp-5);
  overflow: hidden;
  background: var(--canvas, #050b17);
}

main > .photo-hero .photo-hero-image,
main > .photo-hero::before {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  pointer-events: none;
}

main > .photo-hero .photo-hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 67% center;
}

main > .photo-hero::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, var(--canvas, #050b17) 4%, rgb(5 11 23 / 94%) 33%, rgb(5 11 23 / 67%) 59%, rgb(5 11 23 / 14%) 100%);
}

main > .photo-hero > .container {
  position: relative;
  inline-size: 100%;
}

main > .photo-hero h1:not(.hero-statement) {
  max-inline-size: 20ch;
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  overflow-wrap: anywhere;
}

main > .photo-hero .lede {
  max-inline-size: 43ch;
  color: var(--color-text);
}

main > .photo-hero .btn {
  max-inline-size: 100%;
  white-space: normal;
  text-align: center;
}

@media (max-width: 760px) {
  main > .photo-hero {
    min-block-size: 28rem;
    padding-block: var(--sp-4);
  }

  main > .photo-hero .photo-hero-image {
    object-position: 74% center;
  }

  main > .photo-hero::before {
    background: linear-gradient(90deg, rgb(5 11 23 / 93%), rgb(5 11 23 / 72%));
  }
}

@media (max-width: 420px) {
  main > .photo-hero h1:not(.hero-statement) {
    font-size: 2.25rem;
  }

  main > .photo-hero .lede {
    font-size: var(--fs-base);
  }
}
