.hero.hero-film-active {
  --film-inset: max(var(--gutter), calc((100% - 1240px) / 2));
  position: relative;
  isolation: isolate;
  padding: 0;
  background: var(--navy-950);
  color: #fff;
  border: 0;
}
.hero-film-active .hero-layout {
  display: flex;
  align-items: center;
  min-height: clamp(500px, 40vw, 660px);
}
.hero-film-active .hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  z-index: 0;
}
.hero-film-active .hero-visual > img, .border-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 55%;
}
.border-film { display: block; opacity: 0; }
.film-has-frame .border-film { opacity: 1; }
.hero-film-active .hero-visual::after {
  z-index: 1;
  background:
    linear-gradient(90deg,rgba(6,23,41,.93) 0%,rgba(8,26,45,.84) 24%,rgba(8,28,47,.62) 45%,rgba(7,24,40,.12) 73%,rgba(7,24,40,.13) 100%),
    linear-gradient(0deg,rgba(4,19,36,.4),transparent 28%);
}
.hero-film-active .hero-copy {
  position: relative;
  z-index: 1;
  width: min(53%, 635px);
  padding: clamp(44px,4.8vw,80px) 0;
}
.hero-film-active .hero-kicker { color:#dbedff; }
.hero-film-active .pin-icon, .hero-film-active .h-period { color:#72cbfa; }
.hero-film-active h1 { letter-spacing:-.06em; }
.hero-film-active .hero-intro { color:#edf5ff; max-width:26em; }
.hero-film-active .btn-secondary {
  border-color:rgba(227,241,255,.65);
  color:white;
  background:rgba(8,28,47,.52);
}
.hero-film-active .btn-secondary:hover { background:#183e60; }
.hero-film-active .hero-actions :focus-visible, .film-control:focus-visible {
  outline:3px solid white;
  outline-offset:3px;
}
.hero-film-active .route-overlay {
  z-index: 2;
  top:auto;
  bottom:clamp(26px,3.2vw,54px);
  left:auto;
  right:var(--film-inset);
  width:clamp(280px,31vw,465px);
  background:linear-gradient(100deg,rgba(9,30,49,.92),rgba(12,39,61,.83));
}
.film-toolbar {
  position:absolute;
  z-index: 2;
  top:clamp(20px,2.7vw,42px);
  right:var(--film-inset);
  display:flex;
  align-items:center;
  max-width:calc(100% - var(--gutter) * 2);
  overflow:hidden;
  border:1px solid rgba(226,242,255,.42);
  border-radius:var(--radius-sm);
  background:rgba(9,32,52,.90);
  color:white;
  font-size:.79rem;
  line-height:1.3;
}
.film-scene { padding:8px 13px; }
.film-control {
  border:0;
  border-left:1px solid rgba(226,242,255,.3);
  display:flex;
  align-items:center;
  gap:8px;
  flex:none;
  min-height:42px;
  padding:8px 13px;
  color:inherit;
  background:rgba(62,96,124,.43);
  font-size:inherit;
  font-weight:600;
  line-height:inherit;
}
.film-control[hidden] { display:none; }
.film-control:hover { background:rgba(87,127,162,.68); }
.film-control:focus-visible { outline-offset:-3px; }
.film-icon { width:12px; height:13px; display:block; position:relative; }
.film-icon::before {
  position:absolute; content:''; top:1px; left:2px;
  border-style:solid;
  border-width:5.5px 0 5.5px 9px;
  border-color:transparent transparent transparent currentColor;
}
.film-control[data-playing="true"] .film-icon::before {
  left:1px;
  width:9px;
  height:11px;
  border:0;
  border-left:3px solid currentColor;
  border-right:3px solid currentColor;
  box-sizing:border-box;
}
@media(min-width:701px) and (max-width:900px) {
  .hero-film-active .hero-copy {width:55%}
  .hero-film-active .route-overlay {width:34%;padding:12px}
}
@media(max-width:700px) {
  .hero-film-active .hero-layout {min-height:0}
  .hero-film-active .hero-visual > img, .border-film {
    /* Keep people, gates and vehicles visible above the copy on narrow screens. */
    object-fit:cover;
    object-position:66% 48%;
  }
  .hero-film-active .hero-visual::after {
    background:linear-gradient(180deg,rgba(4,18,32,.22),rgba(5,22,38,.07) 18%,rgba(5,22,39,.64) 37%,rgba(5,23,40,.87) 62%,rgba(6,25,43,.95));
  }
  .hero-film-active .hero-copy {
    width:100%;
    padding:clamp(170px,40vw,230px) 0 120px;
  }
  .film-toolbar { top:16px; left:var(--gutter); right:auto; font-size:.75rem; }
  .film-scene {padding:7px 10px}
  .film-control {min-height:40px;padding:7px 10px}
  .hero-film-active .route-overlay {
    left:var(--gutter);right:var(--gutter);
    bottom:18px;
    width:auto;
  }
  .hero-film-active .hero-intro {max-width:32em}
}
@media(max-width:370px) {
  .hero-film-active .hero-copy { padding-top:158px; }
  .film-toolbar {font-size:.7rem}
}
/* On a phone the padded copy shares the same footprint as the film controls. */
.hero-film-active .hero-copy {pointer-events:none}
.hero-film-active .hero-copy > * {pointer-events:auto}
