#page.t-motion {
  --ac: var(--p6);
  --ac2: var(--p4);
  background: linear-gradient(180deg, var(--p1), var(--p0) 75%);
}

/* MOTION: a film strip pinned to the screen; scrolling pulls it sideways (js/pages/motion.js) */
.mo-s {
  position: relative;
  --fw: min(76vw, calc((100svh - 470px)*2.4));
}

.mo-s .stk {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  padding: max(9vh, 70px) 0 4vh;
}

.mo-top {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 6vw;
}

.mo-ti {
  display: grid;
}

.mi {
  grid-area: 1/1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s, transform .5s;
  pointer-events: none;
}

.mi.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mo-top h2,
.mf h2 {
  margin: .15em 0 0;
  font-size: clamp(34px, 5.4vw, 80px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--p7);
}

.strip {
  display: flex;
  align-self: center;
  gap: 4vw;
  padding: 0 calc((100% - var(--fw))/2);
  will-change: transform;
}

.strip figure {
  flex: none;
  width: var(--fw);
  margin: 0;
  padding: 36px 0 56px;
  position: relative;
  background: var(--p0);
  box-shadow: 0 0 60px rgba(125, 124, 156, .22), 0 0 0 1px rgba(183, 182, 213, .12);
}

.strip figure::before,
.strip figure::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background: repeating-linear-gradient(90deg, rgba(183, 182, 213, .45) 0 18px, transparent 18px 36px);
}

.strip figure::before {
  top: 11px;
}

.strip figure::after {
  bottom: 11px;
}

.strip img {
  width: 100%;
  aspect-ratio: 12/5;
  object-fit: cover;
}

.strip figcaption {
  position: absolute;
  left: 3%;
  bottom: 30px;
  font-size: 12px;
  letter-spacing: .4em;
  color: var(--ac);
}

/* reduced motion: no pinned strip, the five movements follow one another */
.mf {
  max-width: 1300px;
  margin: 0 auto 14vh;
  padding: 0 6vw;
}

.mf h2 {
  margin-bottom: 4vh;
}

.mf figure {
  margin: 0 0 4vh;
}

.mf img {
  width: 100%;
  height: auto;
}

@media (max-height: 760px) and (min-width: 761px) {
  .mo-s {
    --fw: min(76vw, calc((100svh - 410px)*2.4));
  }
}

/* phones */
@media (max-width: 760px) {
  .mo-s {
    --fw: 86vw;
  }
  .mo-s .stk {
    padding-top: max(8vh, 64px);
  }
  .strip {
    gap: 3vw;
  }
  .strip figure {
    padding: 28px 0 48px;
  }
  .strip figcaption {
    bottom: 24px;
    font-size: 10px;
  }
}
