[data-film-src] .uie-film {
  position:absolute;inset:0;display:block;width:100%;height:100%;
  object-fit:cover;object-position:var(--image-focal,50% 50%);
  opacity:0;pointer-events:none;
}
/* The poster and the first decoded frame share one fixed crop. */
[data-film-src] :is(.orbital-image,.route-hero-image),
[data-film-src] :is(.orbital-image,.route-hero-image) > :is(img,.uie-film) {
  animation:none;transform:none;translate:none;scale:none;
}
.front-hero[data-film-src] .orbital-image > :is(img,.uie-film) {object-position:var(--earth-focus,65% 46%)}
[data-film-src] .uie-film.is-playing {opacity:1}
[data-film-src] :is(.orbital-image,.route-hero-image)::after {z-index:1;pointer-events:none}
/* The encoded Earth and its poster both contain the same geographic artwork. */
.front-hero[data-film-src] .orbital-image > .uie-film {z-index:0}
.front-hero[data-film-src] .orbital-image > img {
  position:absolute;inset:0;z-index:1;opacity:1;pointer-events:none;
}
.front-hero[data-film-src] .orbital-image:has(.uie-film.is-playing) > img {opacity:0}
.front-hero[data-film-src] .orbital-image > .uie-film.is-playing {transition:none}
.front-hero[data-film-src] .orbital-image::after {z-index:3}
@media(prefers-reduced-motion:no-preference) {
  [data-film-src] .uie-film {transition:opacity .4s ease}
}

/* Keep the minimum ink tint through the entire copy column, even when a
   bright scene replaces a dark poster. Feather only beyond the reading rail. */
.front-hero[data-film-src],
.route-hero--panorama[data-film-src] {
  --film-copy-width: 43rem;
  --film-rail-end: min(100%, calc(var(--editorial-inset) + var(--film-copy-width)));
  --film-reading-scrim: linear-gradient(90deg,
    rgb(5 19 33 / .82), rgb(5 19 33 / .72) var(--film-rail-end),
    rgb(5 19 33 / .09) calc(var(--film-rail-end) + clamp(10rem, 22vw, 32rem)));
}
.front-hero[data-film-src] { --film-copy-width: 45rem; }
.front-hero[data-film-src] .orbital-image::after,
.route-hero--panorama[data-film-src] .route-hero-image::after {
  background: var(--film-reading-scrim);
}
.front-hero[data-film-src] .front-intro h1,
.route-hero--panorama[data-film-src] .route-hero-copy h1 { color: #fff; }
.front-hero[data-film-src] .front-intro p,
.route-hero--panorama[data-film-src] .route-hero-copy .lead,
.route-hero--panorama[data-film-src] .crumb { color: #edf4fa; }
.route-hero--panorama[data-film-src] .crumb {
  max-width: var(--film-copy-width);
}
.route-hero--panorama[data-film-src] .crumb a:is(:hover, :focus-visible) { color: #fff; }
/* The index shares the hero's editorial margins and sits at the foot of the image. */
.front-hero[data-film-src] {
  grid-template-columns: minmax(0, 1fr) clamp(18rem, 25vw, 23.5rem);
  align-content: stretch;
}
.front-hero[data-film-src] .front-intro { align-self: center; }
.front-hero[data-film-src] .orbital-footer {
  align-self: end;
  justify-self: end;
  width: 100%;
  margin: 0;
}
.front-hero[data-film-src] .hero-index {
  display: grid;
  gap: 0;
  padding: clamp(1rem, 1.6vw, 1.6rem) clamp(1.3rem, 2vw, 2rem);
  border: 0;
  border-radius: 5px;
  background: linear-gradient(115deg, rgb(10 34 54 / .42), rgb(23 51 73 / .28));
  -webkit-backdrop-filter: blur(10px) brightness(.52) saturate(.92);
  backdrop-filter: blur(10px) brightness(.52) saturate(.92);
  box-shadow: none;
}
.front-hero[data-film-src] .hero-index .index-title {
  color: #e4eff6;
  padding-bottom: .25rem;
  border: 0;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .025em;
  margin: 0 0 .6rem;
}
.front-hero[data-film-src] .hero-index a {
  display: flex;
  width: 100%;
  min-height: 3rem;
  padding: .55rem 0;
  color: white;
  font-size: clamp(1.06rem, 1.22vw, 1.25rem);
  line-height: 1.3;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .front-hero[data-film-src] .hero-index { background: rgb(10 32 49 / .76); }
}
@media (prefers-reduced-transparency: reduce) {
  .front-hero[data-film-src] .hero-index {
    background: #163246;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (max-width: 52rem) {
  .front-hero[data-film-src] {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    row-gap: clamp(1.75rem, 5vh, 3rem);
  }
  .front-hero[data-film-src] .orbital-footer { justify-self: start; width: min(100%, 25rem); }
  .front-hero[data-film-src] .hero-index a { min-height: 2.75rem; }
  .front-hero[data-film-src], .route-hero--panorama[data-film-src] {
    --film-reading-scrim: linear-gradient(112deg,
      rgb(5 19 33 / .78), rgb(5 19 33 / .68));
  }
}
