/* Keep the homesite and distant river visible at the two homepage layouts. */
.hero.river-hero > img {
  object-position: 51% 52%;
  animation: none;
  will-change: auto;
}
.hero.river-hero .river-credit {
  font-family: var(--body);
  font-size: .81rem;
  letter-spacing: .04em;
  text-transform: none;
}
.river-credit:hover, .river-credit:focus-visible { text-decoration: underline; }
.framing-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 58px);
}
.framing-pair figure { margin: 0; }
.framing-zoom {
  display: block;
  background: none;
  border: 0;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
}
.framing-zoom img { width: 100%; height: auto; }
.framing-pair figcaption { margin-top: 18px; }
.framing-pair figcaption h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.framing-pair figcaption p { margin-top: 8px; max-width: 54ch; }
@media (max-width: 760px) {
  .hero.river-hero { display: flex; flex-direction: column; }
  .hero.river-hero::after { content: none; }
  .hero.river-hero > img {
    position: static;
    height: auto;
    aspect-ratio: 16 / 9;
    order: -2;
  }
  .hero.river-hero .hero-bottom {
    position: static;
    transform: none;
    order: -1;
    width: 100%;
    padding: 12px 22px;
    background: #203542;
    border-top: 0;
    align-items: center;
  }
  .hero.river-hero .hero-bottom a[href^="#"] { display: none; }
  .hero.river-hero .wrap { min-height: 0; padding-block: 36px 46px; }
  .framing-pair { grid-template-columns: 1fr; gap: 36px; }
}

.hero.river-hero > .framing-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 52%;
  opacity: 0;
  pointer-events: none;
}
.hero.river-hero > .framing-film.has-picture { opacity: 1; }
.hero-bottom .film-control {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 3px;
  padding: 5px 12px;
  background: rgba(15,32,44,.82);
  color: #fff;
  font: 600 .78rem var(--body,sans-serif);
  letter-spacing: .02em;
  cursor: pointer;
}
.hero-bottom .film-control[hidden] { display:none; }
.hero-bottom .film-control:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.hero-bottom .river-credit { margin-right:auto; }
.latest-framing .framing-pair { row-gap: 36px; }
.latest-framing img { display:block; }
.framing-more { margin-top: 32px; }
.framing-more summary { cursor:pointer; padding: 12px 0; font-weight: 600; }
.framing-more[open] summary { margin-bottom: 16px; }
@media(max-width:760px) {
  .hero.river-hero > .framing-film { height:auto; aspect-ratio:16/9; bottom:auto; }
}

.project-film { margin: 0 0 clamp(32px,5vw,56px); }
.project-film video { display:block; width:100%; height:auto; aspect-ratio:16/9; background:#1b2a36; }
.project-film figcaption { margin-top:10px; }

.hero.river-hero > .framing-film { transition:opacity .65s ease; }
.hero-bottom .film-control { margin-right:12px; }
@media(prefers-reduced-motion: reduce) { .hero.river-hero > .framing-film { transition:none; } }
