/* The film's stage becomes the page: drawn objects, hard cuts, and connected action. */
.motion-opening {
  position: relative;
  background: #0b0d10;
  color: #faf8f5;
  overflow: hidden;
}
.opening-stage {
  width: 100%;
  height: calc(100svh - 190px);
  min-height: 570px;
  max-height: 900px;
  position: relative;
  overflow: hidden;
}
.opening-stage > svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  stroke: none;
  fill: none;
}
.opening-stage text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: -0.055em;
}
.opening-stage .motion-mono {
  font-family: "Geist Mono", monospace;
  font-weight: 400;
  letter-spacing: 0.035em;
}
.opening-foot {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.5%;
  gap: 24px;
  border-top: 1px solid #ffffff25;
  font-size: 12px;
}
.opening-transport {
  display: flex;
  align-items: center;
  gap: 10px;
}
.opening-transport > button {
  min-width: 32px;
  min-height: 38px;
  font-size: 19px;
  padding: 0;
}
.opening-progress {
  display: flex;
  gap: 5px;
}
.opening-progress button {
  padding: 12px 0;
  width: 26px;
  position: relative;
}
.opening-progress button:before,
.opening-progress i {
  display: block;
  content: "";
  height: 2px;
  background: currentColor;
  opacity: 0.25;
}
.opening-progress i {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 1;
}
.opening-explore {
  display: flex;
  align-items: center;
  gap: 25px;
  font-weight: 500;
}
.opening-film {
  font-size: 12px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.opening-scope {
  font-size: 10px;
  line-height: 1.7;
  padding: 10px 5.5% 14px;
  color: #b5c7bc;
}
.opening-scope a {
  margin-left: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.motion-opening.is-light {
  color: #0b0d10;
}
.motion-opening.is-light .opening-foot {
  border-color: #0b0d1030;
}
.motion-opening.is-light .opening-scope {
  color: #42624d;
}
@media (max-width: 760px) {
  .opening-stage {
    height: calc(100svh - 174px);
    min-height: 570px;
    max-height: 780px;
  }
  .opening-foot {
    padding: 0 20px;
    height: 54px;
    gap: 10px;
  }
  .opening-film {
    display: none;
  }
  .opening-progress {
    gap: 4px;
  }
  .opening-progress button {
    width: 17px;
  }
  .opening-transport {
    gap: 4px;
  }
  .opening-explore {
    font-size: 11px;
    gap: 9px;
  }
  .opening-scope {
    padding: 9px 20px 13px;
    font-size: 9px;
  }
  .opening-scope a {
    display: inline-block;
    margin-left: 0;
  }
  .opening-stage text {
    letter-spacing: -0.055em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .opening-transport > button {
    display: none;
  }
  .opening-stage * {
    animation: none !important;
    transition: none !important;
  }
}

.opening-stage #mark-letters {
  font-weight: 700;
  letter-spacing: -0.028em;
}

.opening-film-mobile {
  display: none;
}
@media (max-width: 760px) {
  .opening-film-mobile {
    display: block;
    padding: 7px 0 0;
    font-size: 10px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .opening-stage {
    height: calc(100svh - 194px);
  }
}

.opening-film {
  display: flex;
  background: #faf8f5;
  color: #0b0d10;
  padding: 10px 17px;
  border-radius: 4px;
  font-size: 14px;
  min-height: 44px;
  font-weight: 600;
}
.motion-opening.is-light .opening-film {
  background: #0b0d10;
  color: #faf8f5;
}
.opening-stage {
  height: calc(100svh - 245px);
  min-height: 510px;
}
.opening-foot {
  height: 64px;
}
@media (max-width: 760px) {
  .opening-stage {
    height: calc(100svh - 310px);
    min-height: 440px;
  }
  .opening-foot {
    height: auto;
    min-height: 108px;
    flex-wrap: wrap;
    padding: 8px 20px;
    gap: 0;
  }
  .opening-transport {
    width: 100%;
    justify-content: space-between;
  }
  .opening-explore {
    width: 100%;
  }
  .opening-film {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size: 13px;
    min-height: 44px;
  }
  .opening-explore > a {
    display: none;
  }
  .opening-context {
    padding: 16px 20px;
    display: block;
    font-size: var(--type-small);
  }
  .opening-context strong {
    font-size: var(--type-body);
  }
  .opening-context a {
    display: inline-block;
    margin-top: 10px;
  }
  .opening-film-mobile {
    display: none;
  }
}

@media (max-width: 760px) {
  .opening-explore {
    display: none;
  }
  .opening-film {
    width: 100%;
  }
  .opening-foot {
    min-height: 104px;
  }
}
