/* About-page approval sample: original photo, shaded only through CSS. */
.page-hero--about-photo {
  min-height: clamp(34rem, 45vw, 42rem);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  border-bottom: 0;
  background: #17251f;
  color: #fffdf8;
}

.page-hero--about-photo::before { display: none; }

.page-hero--about-photo .about-hero__photo,
.page-hero--about-photo .about-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero--about-photo .about-hero__photo {
  z-index: 0;
  pointer-events: none;
}

.page-hero--about-photo .about-hero__photo img {
  display: block;
  object-fit: cover;
  object-position: 50% 90%;
}

.page-hero--about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Gradual opacity steps avoid a visible shoulder where the two fades meet. */
  background: linear-gradient(90deg,
    rgba(17, 28, 23, .84) 0%,
    rgba(17, 28, 23, .83) 10%,
    rgba(17, 28, 23, .81) 20%,
    rgba(17, 28, 23, .77) 30%,
    rgba(17, 28, 23, .71) 40%,
    rgba(17, 28, 23, .63) 50%,
    rgba(17, 28, 23, .53) 60%,
    rgba(17, 28, 23, .41) 70%,
    rgba(17, 28, 23, .29) 80%,
    rgba(17, 28, 23, .18) 90%,
    rgba(17, 28, 23, .10) 100%);
  mask-image: linear-gradient(180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, .99) 10%,
    rgba(0, 0, 0, .97) 20%,
    rgba(0, 0, 0, .94) 30%,
    rgba(0, 0, 0, .89) 40%,
    rgba(0, 0, 0, .81) 50%,
    rgba(0, 0, 0, .70) 60%,
    rgba(0, 0, 0, .57) 70%,
    rgba(0, 0, 0, .43) 80%,
    rgba(0, 0, 0, .30) 90%,
    rgba(0, 0, 0, .20) 100%);
}

.page-hero--about-photo > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero--about-photo h1,
.page-hero--about-photo .eyebrow,
.page-hero--about-photo .lede {
  color: #fffdf8;
  opacity: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .18);
}

.page-hero--about-photo .lede {
  max-width: 36ch;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .page-hero--about-photo {
    min-height: 36rem;
    padding-block: 3rem;
  }

  .page-hero--about-photo .about-hero__photo img {
    object-position: 43% 100%;
  }

  .page-hero--about-photo::after {
    mask-image: none;
    background: linear-gradient(180deg,
      rgba(17, 28, 23, .84) 0%,
      rgba(17, 28, 23, .83) 10%,
      rgba(17, 28, 23, .81) 20%,
      rgba(17, 28, 23, .77) 30%,
      rgba(17, 28, 23, .70) 40%,
      rgba(17, 28, 23, .60) 50%,
      rgba(17, 28, 23, .48) 60%,
      rgba(17, 28, 23, .35) 70%,
      rgba(17, 28, 23, .24) 80%,
      rgba(17, 28, 23, .16) 90%,
      rgba(17, 28, 23, .12) 100%);
  }

  .page-hero--about-photo .lede { max-width: 30ch; }
}
