/* Homepage editorial photography: a quiet, nature-led counterpoint to the guide links. */
.hp-story {
  --hp-paper: #f1f5f0;
  --hp-ink: #17382e;
  --hp-muted: #64746b;
  display: grid;
  align-items: center;
  gap: clamp(34px, 7vw, 104px);
  padding: clamp(58px, 8vw, 112px) 8%;
  color: var(--hp-ink);
}

.hp-story-single {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .8fr);
  background: var(--hp-paper);
}

.hp-story-grey .hp-story-image {
  width: min(100%, 660px);
}

.hp-story-image,
.hp-pair-photos {
  min-width: 0;
}

.hp-photo-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dce5dc;
  color: inherit;
}

.hp-photo-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.hp-photo-link:hover img,
.hp-photo-link:focus-visible img {
  transform: scale(1.025);
}

.hp-story-single .hp-photo-link {
  height: clamp(330px, 43vw, 580px);
}

.hp-photo-arrow {
  position: absolute;
  right: 17px;
  bottom: 17px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #f5f7ef;
  color: #17382e;
  font-size: 18px;
}

.hp-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 0;
  color: var(--hp-muted);
  font-size: 11px;
  line-height: 1.5;
}

.hp-caption span:first-child {
  color: var(--hp-ink);
  font-weight: 700;
  letter-spacing: .04em;
}

.hp-story-copy {
  max-width: 470px;
}

.hp-kicker {
  margin: 0 0 20px;
  color: #70845d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.hp-story-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.hp-story-copy > p:not(.hp-kicker) {
  margin: 0 0 24px;
  color: var(--hp-muted);
  font-size: 16px;
  line-height: 1.8;
}

.hp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 7px;
  border-bottom: 1px solid #9aa995;
  color: var(--hp-ink);
  font-size: 14px;
  font-weight: 700;
}

.hp-text-link span {
  font-size: 17px;
}

.hp-story-pair {
  grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr);
}

.hp-story-colour {
  background: #faf8f1;
}

.hp-story-companions {
  background: #e9f0e9;
}

.hp-stock-note {
  max-width: 400px;
  padding-left: 14px;
  border-left: 2px solid #9aac8e;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.hp-pair-photos {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: end;
  gap: 16px;
}

.hp-pair-figure {
  min-width: 0;
  margin: 0;
}

.hp-pair-figure:first-child .hp-photo-link {
  height: clamp(240px, 31vw, 420px);
}

.hp-pair-figure:last-child {
  margin-bottom: 34px;
}

.hp-pair-figure:last-child .hp-photo-link {
  height: clamp(210px, 26vw, 350px);
}

.hp-story-colour .hp-pair-figure:first-child .hp-photo-link img {
  object-position: 64% 35%;
}

.hp-story-colour .hp-pair-figure:last-child .hp-photo-link img {
  object-position: 75% 35%;
}

.hp-story-companions .hp-pair-figure:last-child .hp-photo-link img {
  object-position: 65% 30%;
}

@media (max-width: 760px) {
  .hp-story {
    gap: 28px;
    padding: 55px 6%;
  }

  .hp-story-single,
  .hp-story-pair {
    grid-template-columns: 1fr;
  }

  .hp-story-copy {
    max-width: none;
  }

  .hp-story-single .hp-photo-link {
    height: min(112vw, 430px);
  }

  .hp-pair-photos {
    gap: 10px;
  }

  .hp-pair-figure:first-child .hp-photo-link {
    height: 57vw;
    max-height: 350px;
  }

  .hp-pair-figure:last-child {
    margin-bottom: 24px;
  }

  .hp-pair-figure:last-child .hp-photo-link {
    height: 48vw;
    max-height: 300px;
  }

  .hp-caption {
    display: block;
  }

  .hp-caption span {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-photo-link img {
    transition: none;
  }
}