.nature-hero {
  --photo-surface: #e8eedf;
}

.project-feature, .garden-intro {
  --photo-surface: #e9eee1;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
}

:is(.project-feature, .garden-intro) > div {
  align-self: center;
  padding: clamp(34px, 5vw, 72px) clamp(22px, 4vw, 58px);
  padding-inline-start: max(5vw, calc((100vw - 72rem) / 2));
}

.project-feature > figure, .garden-main-photo {
  position: relative;
  min-height: clamp(420px, 37vw, 570px);
}

.project-feature > figure > :is(.image-frame, img), .garden-main-photo > a {
  position: absolute;
  inset: 0;
}

.garden-main-photo .image-frame { height: 100%; }

.project-feature > figure img, .garden-main-photo img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center 64%;
}

.nature-hero > .content-image::before, .project-feature > figure::before, .garden-main-photo::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to right, var(--photo-surface), transparent 30%);
  pointer-events: none;
}

.nature-hero > .content-image figcaption, .project-feature > figure figcaption, .garden-main-photo figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(14px, 3vw, 44px);
  bottom: clamp(12px, 2vw, 24px);
  left: auto;
  max-width: calc(100% - 28px);
  margin: 0;
  padding: 7px 12px;
  border-radius: 4px;
  background: #f6f8f0f5;
  color: #284634;
  font-size: .84rem;
  line-height: 1.45;
}

.garden-main-photo > a:focus-visible {
  z-index: 2;
  outline-offset: -5px;
}

.project-feature > figure .image-stamp, .garden-main-photo .image-stamp {
  inset: 10px 10px auto auto;
}

.landscape-story figure > .image-frame { border-radius: 4px 0 0 4px; }
.landscape-story figure img { display: block; border-radius: 0; }

.landscape-story figure > .image-frame::after, .approach-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.landscape-story figure > .image-frame::after {
  background: linear-gradient(to left, #fff, transparent 24%);
}

.approach-photo::before {
  background: linear-gradient(to left, #183d2c, transparent 26%);
}

.content-card { --photo-card-inset: 28px; }
.content-card > .image-frame {
  margin: calc(0px - var(--photo-card-inset)) calc(0px - var(--photo-card-inset)) 18px;
  border-radius: 4px 4px 0 0;
}
.content-card > .image-frame img { display: block; }

.tree-card .photo {
  margin: -14px -14px 0;
  border-radius: 24px 24px 0 0;
}

.garden-gallery figure {
  border-radius: 4px;
  background: #f1f4ed;
}
.garden-gallery figure img { border-radius: 4px 4px 0 0; }
.garden-gallery figcaption { margin: 0; padding: 10px 14px 12px; }

.photo-source > .image-frame {
  margin: -1rem -1rem 0;
  border-radius: 3px 3px 0 0;
}
.photo-source > .image-frame img { border-radius: 0; }

@media (max-width: 880px) {
  .project-feature, .garden-intro { grid-template-columns: 1fr; }
  :is(.project-feature, .garden-intro) > div {
    padding: 32px clamp(16px, 5vw, 40px) 16px;
  }
  .project-feature > figure, .garden-main-photo { min-height: min(62.5vw, 420px); }
  :is(.project-feature > figure, .garden-main-photo)::before {
    background: linear-gradient(to bottom, var(--photo-surface), transparent 40px);
  }
}

@media (max-width: 800px) {
  .hero-shade {
    background: linear-gradient(to bottom, #0c2d20ed, #0c2d20a6 64%, #0c2d2073),
      linear-gradient(to right, #0c2d2066, transparent 75%);
  }
  .nature-hero > .content-image::before {
    background: linear-gradient(to bottom, var(--photo-surface), transparent 40px);
  }
  .landscape-story figure > .image-frame { border-radius: 4px 4px 0 0; }
  .landscape-story figure > .image-frame::after {
    background: linear-gradient(to top, #fff, transparent 30px);
  }
  .approach-photo::before {
    background: linear-gradient(to top, #183d2c, transparent 48px);
  }
  .content-card { --photo-card-inset: 20px; }
  .home-explore .content-card > .image-frame {
    grid-row: 1 / 4;
    margin: -16px 0 -16px -16px;
    border-radius: 4px 0 0 4px;
  }
  .home-explore .content-card > .image-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}
