/* Keep the downhill photo on narrow screens; use the lake overlook on desktop. */
.hero-image picture { display: block; width: 100%; height: 100%; }
@media (min-width: 1024px) {
  .hero {
    display: flex;
    align-items: center;
    height: clamp(640px, 49.5vw, 960px);
    min-height: 0;
    max-height: none;
    padding: 0;
  }

  .hero-image {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -2;
    width: min(66%, 1600px);
    max-width: none;
    height: 100%;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }

  .hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #171a18 0%, #171a1899 9%, transparent 26%);
  }

  .hero::after {
    display: block;
    background: linear-gradient(90deg, #171a18 0%, #171a18ef 24%, #171a18d9 30%, #171a1870 38%, transparent 48%), linear-gradient(0deg, #171a18b3 0%, transparent 19%);
  }

  .hero-content {
    width: 100%;
    min-width: 0;
    padding: 64px 4.6% 100px;
  }

  .hero h1 { font-size: clamp(64px, 7.2vw, 132px); }
  .hero-actions { flex-wrap: wrap; }

  .hero-foot {
    left: 4.6%;
    right: 4.6%;
  }
}

/* Show every selected photo at its original aspect ratio. */
.photo-grid { display: block; columns: 3; column-gap: 20px; }
.photo-button, .photo-button.tall {
  display: inline-block;
  width: 100%;
  height: auto;
  margin: 0 0 20px;
  break-inside: avoid;
  vertical-align: top;
  text-align: left;
  cursor: zoom-in;
}
.photo-button img { width: 100%; height: auto; object-fit: contain; }
.photo-button:hover img { transform: none; opacity: .93; }
.photo-button::after { display: none; }
.photo-button > span, #dialog-caption { display: none; }
.ride-film {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(30px, 7vw, 100px);
  max-width: 1050px;
  margin: 60px auto 0;
  padding-top: 50px;
  border-top: 1px solid #b6bfb0;
}
.ride-film h3 { font-family: var(--heading); font-size: clamp(34px, 4vw, 56px); line-height: 1.05; margin-bottom: 24px; }
.ride-film p { max-width: 390px; }
.ride-film video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--ink); }
@media (max-width: 1000px) { .photo-grid { columns: 2; } }
@media (max-width: 760px) {
  .photo-grid { columns: 2; column-gap: 12px; }
  .photo-button, .photo-button.tall { height: auto; margin-bottom: 12px; }
  .photo-button > span { padding: 12px; font-size: 9px; }
  .ride-film { grid-template-columns: 1fr; gap: 20px; margin-top: 35px; padding-top: 35px; }
  .ride-film video { width: min(100%, 360px); justify-self: center; }
}
@media (max-width: 480px) { .photo-grid { columns: 1; } }
