/* Each responsive crop meets the next one at the same position on the mountain.
   Keep its upper and lower scanlines visible, including when copy makes a scene taller. */
.scene > picture {
  display: contents;
}

main .scene .landscape {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.journey > .scene {
  border-top: 0;
}

/* Section-specific reading veils taper before the photographic join. */
.journey .scene::after {
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
}

.hero::after {
  mask-image: linear-gradient(to bottom, #000 92%, transparent);
}

.journey .summit::after {
  mask-image: linear-gradient(to bottom, transparent, #000 8%);
}

@media (min-width: 1001px) {
  /* The masthead covers the upper 260 units of the PDF's 1080-unit opening photograph. */
  main .hero .landscape {
    top: auto;
    bottom: 0;
    height: 131.7073%;
  }
}

@media (max-width: 1000px) {
  /* The closing photograph starts at the shared seam. Its person and equipment
     keep their natural aspect even when the text makes this last scene taller. */
  main .summit .landscape {
    top: 0;
    bottom: auto;
    height: auto;
    mask-image: linear-gradient(to bottom, black 77%, transparent);
  }
}

@media (min-width: 1001px) {
  /* The feature list has its own reading veil in the PDF. Feather only its
     background so its icons and text stay crisp against the unbroken slope. */
  .advantages .benefits {
    background: none;
    isolation: isolate;
  }

  .advantages .benefits::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #0009 12%, #0009 76%, transparent);
    mask-image: linear-gradient(to bottom, black 64%, transparent);
  }
}
