.hm-main {
  --hm-film-offset: calc(var(--lg-top) + 8px);
  padding-block-start: var(--hm-film-offset);
}

.hm-film {
  background: var(--ink-0);
}

.hm-film-surface {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: max(32vh, calc(100vh - var(--hm-film-offset) - 48px));
  max-height: max(32svh, calc(100svh - var(--hm-film-offset) - 48px));
  overflow: hidden;
}

.hm-film-video,
.hm-film-poster,
.hm-film-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-film-video {
  visibility: hidden;
}

.hm-film.has-frame .hm-film-video {
  visibility: visible;
}

.hm-film-controls:not([hidden]) {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.3vw, 20px);
  height: 48px;
  padding-inline: clamp(8px, 2.5vw, 36px);
  background: #0d1527;
  color: #f5f7fc;
}

.hm-film-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.hm-film-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hm-film-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.hm-film-toggle svg[hidden] {
  display: none;
}

.hm-film-seek {
  flex: 1;
  min-width: 0;
  height: 44px;
  margin: 0;
  accent-color: #81a8f1;
  cursor: pointer;
}

.hm-film-seek:disabled {
  cursor: default;
}

.hm-film-toggle:focus-visible,
.hm-film-seek:focus-visible {
  outline: 2px solid #a9c6ff;
  outline-offset: -2px;
}

.hm-film-time {
  min-width: 6.7em;
  text-align: end;
  white-space: nowrap;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

@media (min-aspect-ratio: 2/1) {
  .hm-film-video,
  .hm-film-poster img {
    object-fit: contain;
  }
}

@media (orientation: portrait) and (max-width: 767px) {
  .hm-film-surface {
    aspect-ratio: 9 / 16;
  }
}

.hm-overview {
  padding-block: clamp(18px, 2vw, 32px) clamp(56px, 8vw, 110px);
  scroll-margin-top: calc(var(--hdr-h) + 28px);
}

.hm-overview h1 {
  font-size: clamp(33px, 3.45vw, 62px);
  text-wrap: balance;
}

.hm-overview-range {
  display: block;
  color: var(--tx-2);
}

.hm-overview .t-lead {
  max-width: 76ch;
  margin-top: clamp(14px, 1.6vw, 22px);
}

.hm-overview .hero-branches {
  margin-top: clamp(28px, 4vw, 56px);
  padding-bottom: 0;
}
