.science-tech-chapter {
  padding: 0;
}

.science-tech-chapter .tech-hero,
.science-tech-chapter .manifesto,
.science-tech-chapter .mechanism {
  min-height: 100svh;
}

.science-tech-chapter .mechanism {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-top: clamp(108px, 12vh, 124px);
}

.science-tech-chapter .manifesto__inner {
  padding-top: clamp(178px, 20vh, 210px);
  padding-right: clamp(36px, 4vw, 64px);
  padding-bottom: clamp(48px, 6vh, 68px);
  padding-left: clamp(36px, 4vw, 64px);
}

.science-tech-chapter .nano-mark {
  display: block;
  width: clamp(215px, 18vw, 270px);
  height: auto;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: clamp(30px, 3.6vh, 38px);
  margin-left: 0;
}

.science-tech-chapter .manifesto h1 {
  font-size: clamp(64px, min(7.15vw, 12vh), 110px);
  line-height: 1;
}

.science-tech-chapter .manifesto__subhead {
  margin-top: clamp(30px, 3.8vh, 40px);
}

.science-tech-chapter .accent-rule {
  margin-top: clamp(34px, 4vh, 42px);
  margin-bottom: clamp(38px, 4.6vh, 48px);
}

.science-tech-chapter .manifesto__copy {
  max-width: 38ch;
  font-size: clamp(13px, .95vw, 15px);
  line-height: 1.7;
  text-wrap: pretty;
}

.science-tech-chapter .mold-comparison {
  position: relative;
  z-index: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-top: clamp(24px, 2.8vh, 30px);
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.science-tech-chapter .mold-comparison__media {
  position: relative;
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: none;
}

.science-tech-chapter .stages {
  position: relative;
  z-index: 1;
  background: #fff;
}

.science-tech-chapter .mold-comparison__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.science-tech-chapter .mold-comparison__labels {
  position: absolute;
  right: 0;
  bottom: 7.5%;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  font-size: clamp(11px, 1vw, 16px);
  line-height: 1.2;
  text-align: center;
  pointer-events: none;
}

.science-tech-chapter .mold-comparison__labels span:first-child {
  color: #1b7bff;
  font-weight: 720;
}

.science-tech-chapter .mold-comparison__labels span:last-child {
  color: #1f2327;
  font-weight: 500;
}

.science-tech-chapter .polarity-label {
  margin-top: clamp(22px, 2.8vh, 28px);
  margin-bottom: clamp(23px, 3vh, 30px);
}

.science-tech-chapter .evidence-rail {
  margin-top: 10px;
}

html.is-deck,
html.is-deck body {
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

html.is-deck .deck {
  position: relative;
  inset: auto;
  height: auto;
  transform: none;
  transition: none;
}

html.is-deck .science-tech-chapter {
  height: auto;
  min-height: 100svh;
  padding: 0;
  overflow: visible;
}

html.is-deck .science-tech-chapter .tech-hero,
html.is-deck .science-tech-chapter .manifesto,
html.is-deck .science-tech-chapter .mechanism {
  height: auto;
  min-height: 100svh;
}

@media (min-width: 900px) and (max-height: 1000px) {
  .science-tech-chapter .mold-comparison {
    margin-top: 16px;
  }

  .science-tech-chapter .polarity-label {
    margin-top: 14px;
    margin-bottom: 14px;
  }

  .science-tech-chapter .evidence-rail {
    margin-top: 4px;
  }
}

@media (max-width: 899px), (max-height: 699px), (pointer: coarse) {
  .science-tech-chapter .tech-hero,
  .science-tech-chapter .manifesto,
  .science-tech-chapter .mechanism {
    height: auto;
    min-height: 100svh;
  }

  .science-tech-chapter .mold-comparison {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    padding: 8px;
  }

  .science-tech-chapter .mold-comparison__media {
    width: 100%;
    height: auto;
  }

  .science-tech-chapter .manifesto__inner {
    padding: 128px 24px 64px;
  }

  .science-tech-chapter .nano-mark {
    width: min(225px, 82%);
    margin-bottom: 26px;
  }

  .science-tech-chapter .manifesto__subhead {
    margin-top: 28px;
  }

  .science-tech-chapter .accent-rule {
    margin-top: 30px;
    margin-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .science-tech-chapter .mold-comparison__video {
    display: none;
  }

  .science-tech-chapter .mold-comparison__media {
    background: #fff url("./assets/how-it-works-animation.jpg") center / contain no-repeat;
  }
}
