/* The hero film. Seven stages of one booth, scrubbed by scroll. Always on the
   ink ground, in both themes: the film is dark and the copy is white on it. */
.film { position: relative; height: calc(var(--film-span, 7) * 100vh + 100vh); background: var(--ink); color: var(--white); }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; background: var(--ink); }
.film__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(9 10 12 / .84) 0%, rgb(9 10 12 / .58) 34%, rgb(9 10 12 / 0) 60%), linear-gradient(0deg, rgb(9 10 12 / .5) 0%, transparent 30%); pointer-events: none; }
.film__copy { position: absolute; inset: var(--header-h) var(--gutter) 0; display: grid; align-items: center; pointer-events: none; }
.film__state { grid-area: 1 / 1; max-width: min(46vw, 680px); opacity: 0; transform: translateY(18px); transition: opacity 420ms ease, transform 520ms cubic-bezier(.2,.72,.2,1); }
.film__state.is-on { opacity: 1; transform: none; pointer-events: auto; }
.film__state.is-on .button, .film__state.is-on .text-link { pointer-events: auto; }
.film__eyebrow { color: rgb(255 255 255 / .72); }
.film h1, .film h2 { margin: 22px 0 24px; font-size: clamp(44px, 6.4vw, 112px); font-weight: 500; letter-spacing: -.065em; line-height: .84; }
.film__lede { max-width: 44ch; font-size: clamp(15px, 1.25vw, 20px); line-height: 1.5; color: rgb(255 255 255 / .8); }
.film__actions { display: flex; align-items: center; gap: 26px; margin-top: 30px; }
.film__steps { position: absolute; z-index: 3; right: var(--gutter); bottom: 26px; left: var(--gutter); margin: 0; padding: 0; list-style: none; display: flex; gap: 22px; font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; text-transform: uppercase; color: rgb(255 255 255 / .42); }
.film__steps li { position: relative; flex: 1 1 0; padding-top: 12px; transition: color 300ms ease; }
.film__steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: rgb(255 255 255 / .22); }
.film__steps li::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--blue); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.film__steps li.is-on { color: var(--white); }

@media (max-width: 799px) {
  .film__copy { align-items: end; padding-bottom: 92px; }
  .film__state { max-width: 100%; }
  .film h1, .film h2 { font-size: clamp(40px, 12vw, 72px); }
  .film__video { object-position: 60% 50%; }
  .film__scrim { background: linear-gradient(180deg, rgb(9 10 12 / .15) 0%, rgb(9 10 12 / .25) 40%, rgb(9 10 12 / .92) 100%); }
  .film__steps { gap: 10px; bottom: 20px; }
  .film__actions { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .film { height: auto; min-height: 100vh; }
  .film__stage { position: relative; }
  .film__state { transition: none; }
}
html:not(.has-js) .film { height: auto; min-height: 100vh; }
html:not(.has-js) .film__stage { position: relative; }
