.tt-motion {
  --tt-motion-top: 0px;
  --tt-motion-stage: max(465px, calc(100svh - var(--tt-motion-top)));
  --tt-motion-travel: clamp(420px, 85svh, 920px);
  --tt-motion-ink: #f6f3ef;
  --tt-motion-quiet: #c4c2c4;
  --tt-motion-red: #f03548;
  position: relative;
  width: 100%;
  background: radial-gradient(ellipse at 57% 52%, var(--tt-dark-highlight, #292929), transparent 70%)
    var(--tt-ink, #111);
  color: var(--tt-motion-ink);
}

.tt-motion.is-active {
  height: calc(var(--tt-motion-stage) + var(--tt-motion-travel));
}

.tt-motion__sticky {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: min(725px, var(--tt-motion-stage));
  padding: clamp(22px, 4vh, 50px) max(5.5vw, 20px) 20px;
}

#header.tt-motion-nav {
  z-index: 100;
}

#header.tt-motion-nav > .header-wrapper {
  position: fixed;
  inset: var(--tt-motion-nav-top, 0px) 0 auto;
  width: 100%;
  background: var(--tt-ink, #111);
  visibility: visible;
  opacity: 1;
  animation: none !important;
  transition: none;
  transform: none;
}

#header.tt-motion-nav #masthead {
  display: block;
}

#header.tt-motion-nav.tt-motion-nav-sized #masthead {
  height: var(--tt-motion-masthead-height) !important;
}

.tt-motion.is-active .tt-motion__sticky {
  position: sticky;
  top: var(--tt-motion-top);
  height: var(--tt-motion-stage);
  min-height: 0;
}

.tt-motion__copy {
  z-index: 1;
  width: min(1100px, 100%);
  align-self: center;
}

.tt-motion__copy .tt-motion__kicker {
  color: var(--tt-motion-red);
  font-size: clamp(.70rem, .92vw, .80rem);
  font-weight: 750;
  letter-spacing: .13em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.tt-motion__copy h1 {
  color: var(--tt-motion-ink);
  font-size: clamp(1.82rem, 4.15vw, 3.65rem);
  font-weight: 720;
  letter-spacing: -.04em;
  line-height: 1.02;
  margin: 0 0 9px;
  text-wrap: balance;
}

.tt-motion__copy .tt-motion__lead {
  color: var(--tt-motion-quiet);
  font-size: clamp(.82rem, 1.35vw, 1.08rem);
  line-height: 1.35;
  margin: 0;
  max-width: 67ch;
}

.tt-motion__art {
  aspect-ratio: 16 / 9;
  position: relative;
  width: min(1320px, 100%);
  min-height: 190px;
  max-height: 560px;
  align-self: center;
}

.tt-motion.is-active .tt-motion__art {
  aspect-ratio: auto;
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
}

.tt-motion__canvas,
.tt-motion__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.tt-motion__canvas[hidden],
.tt-motion.is-active .tt-motion__poster {
  display: none;
}

.tt-motion__poster {
  object-fit: contain;
}

.tt-motion__footer {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(1100px, 100%);
  padding-top: 4px;
}

.tt-motion__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.8vw, 46px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.tt-motion__steps .tt-motion__step {
  border-top: 1px solid rgba(246, 241, 234, .20);
  margin: 0;
  padding-top: 7px;
  position: relative;
}

.tt-motion__step[aria-current]::before {
  content: "";
  position: absolute;
  top: -1px;
  width: 2.1em;
  border-top: 1px solid var(--tt-motion-red);
}

.tt-motion__step strong {
  display: block;
  color: var(--tt-motion-ink);
  font-size: clamp(.78rem, 1.5vw, 1.03rem);
  font-weight: 700;
  line-height: 1.2;
}

.tt-motion__step span {
  color: var(--tt-motion-quiet);
  display: block;
  font-size: clamp(.70rem, 1.12vw, .91rem);
  line-height: 1.25;
  margin-top: 3px;
}

.tt-motion__tools {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
}

.tt-motion.is-active .tt-motion__tools {
  display: flex;
}

.tt-motion__progress {
  position: relative;
  flex: 1;
  height: 2px;
  background: rgba(246, 241, 234, .22);
}

.tt-motion__progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tt-motion-red);
  transform: scaleX(var(--tt-progress, 0));
  transform-origin: left;
}

.tt-motion__skip {
  color: var(--tt-motion-quiet);
  font-size: .78rem;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.tt-motion__skip:hover,
.tt-motion__skip:focus-visible {
  color: var(--tt-motion-ink);
}

.tt-motion-next {
  display: block;
  scroll-margin-top: 105px;
}

@media (min-width: 901px) {
  .tt-motion__art {
    width: min(1120px, 100%);
    max-height: none;
  }

  .tt-motion.is-active .tt-motion__art {
    --tt-motion-wide-scene: 1;
    width: min(2050px, calc(100% + 2 * max(5.5vw, 20px)));
  }

  .tt-motion__canvas,
  .tt-motion__poster {
    mask-image: linear-gradient(to right, transparent, #000 clamp(90px, 12vw, 210px));
  }
}

@media (max-width: 600px) {
  .tt-motion {
    --tt-motion-travel: clamp(390px, 75svh, 700px);
  }

  .tt-motion__sticky,
  .tt-motion.is-active .tt-motion__sticky {
    padding: 20px 16px 15px;
  }

  .tt-motion__copy h1 {
    max-width: 14ch;
    text-wrap: initial;
  }

  .tt-motion__art,
  .tt-motion.is-active .tt-motion__art {
    width: calc(100% + 32px);
  }

  .tt-motion__step span {
    word-break: normal;
    hyphens: auto;
  }
}

@media (max-height: 550px) and (orientation: landscape) {
  .tt-motion { --tt-motion-stage: max(330px, calc(100svh - var(--tt-motion-top))); }
  .tt-motion__sticky,
  .tt-motion.is-active .tt-motion__sticky { padding-top: 10px; padding-bottom: 8px; }
  .tt-motion__copy h1 { font-size: clamp(1.4rem, 3.5vh, 2rem); }
  .tt-motion__copy .tt-motion__lead { font-size: .78rem; }
  .tt-motion__tools { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .tt-motion.is-active { height: auto; }
  .tt-motion.is-active .tt-motion__sticky { height: auto; position: relative; }
  .tt-motion.is-active .tt-motion__tools,
  .tt-motion.is-active .tt-motion__canvas { display: none; }
  .tt-motion.is-active .tt-motion__poster { display: block; }
}



