/* Continuous film strips: the frame stays still; the film supplies the movement. */
.film-portal {
  position: relative;
  padding: 106px 0 24px;
  background: #fff;
  color: #171717;
}
.film-portal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 0 var(--gutter, 36px) 10px;
  font: 400 11px/1.4 var(--sans, Arial, sans-serif);
}
.film-portal-heading h1 { font: inherit; }
.film-portal-pause {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin: -10px 0;
  padding: 10px 0 10px 12px;
  border: 0;
  background: transparent;
  font: inherit;
  color: #626262;
}
.film-portal-pause::before {
  content: '';
  width: 6px;
  height: 8px;
  border-inline: 2px solid currentColor;
}
.film-portal-pause[aria-pressed="true"]::before {
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-right: 0;
  border-left: 6px solid currentColor;
}
.film-portal-pause:disabled { cursor: default; }
.film-portal-pause:disabled::before { width: 6px; height: 6px; border: 0; background: currentColor; }
.film-portal-pause:not(:disabled):hover { color: #171717; }
.film-portal-strips { display: grid; gap: 4px; }
.film-portal-strip {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 12 / 5;
  height: auto;
  overflow: hidden;
  background: #171717;
  color: #fff;
}
.film-portal-media,
.film-portal-media::after,
.film-portal-poster,
.film-portal-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-portal-poster,
.film-portal-video { max-width: none; object-fit: cover; object-position: center; }
.film-portal-video { opacity: 0; }
.film-portal-strip.is-current.has-frame .film-portal-video { opacity: 1; }
.film-portal-media::after {
  content: '';
  background: linear-gradient(180deg, #0002, transparent 35%, transparent 50%, #0008);
  pointer-events: none;
}
.film-portal-number {
  position: absolute;
  top: 18px;
  left: var(--gutter, 36px);
  font: 400 9px/1 var(--sans, Arial, sans-serif);
  text-shadow: 0 1px 5px #0008;
}
.film-portal-caption {
  position: absolute;
  left: var(--gutter, 36px);
  bottom: 22px;
  font: 400 clamp(24px, 2.7vw, 40px)/1.14 var(--art-serif, 'Bodoni 72', Didot, 'Times New Roman', serif);
  letter-spacing: -.035em;
  text-shadow: 0 1px 8px #0005;
}
.film-portal-caption > span {
  display: block;
  transform: translateY(0);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.film-portal-caption::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.film-portal-strip:is(:hover, :focus-visible) .film-portal-caption > span { transform: translateY(-4px); }
.film-portal-strip:is(:hover, :focus-visible) .film-portal-caption::after { transform: scaleX(1); }
.film-portal-strip:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
@media (max-width: 760px) {
  .film-portal { padding-top: 122px; }
  .film-portal-heading { padding-bottom: 12px; font-size: 10px; }
  .film-portal-number { top: 14px; }
  .film-portal-caption { bottom: 20px; font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .film-portal-caption > span,
  .film-portal-caption::after { transition: none; }
  .film-portal-strip .film-portal-video { display: none; }
  .film-portal-strip:is(:hover, :focus-visible) .film-portal-caption > span { transform: none; }
}
