/* Section headings lead into their content. The still layout is the default. */
.chapter-page .hero-content .assessment-cta {
  margin-top: clamp(64px, 12vh, 92px);
}

.chapter-bridge {
  background: linear-gradient(#fff, #f5f8fd);
}

.chapter-rule {
  height: 1px;
  background: #dce4f0;
  margin-bottom: clamp(23px, 4vw, 44px);
}

.chapter-rule::after {
  content: '';
  display: block;
  width: clamp(30px, 5vw, 64px);
  height: 1px;
  background: var(--blue);
}

.bridge-copy {
  font-size: clamp(34px, 5.55vw, 82px);
  line-height: 1.06;
  letter-spacing: -.05em;
  font-weight: 550;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
  display: grid;
  justify-items: center;
  gap: clamp(44px, 12svh, 100px);
  padding: clamp(56px, 15svh, 135px) 24px;
}

.bridge-beat {
  display: block;
  max-inline-size: 23ch;
}

.bridge-mark {
  display: none;
}

.bridge-beat strong {
  color: var(--blue);
  font-weight: 550;
}

.chapter-reveal,
.chapter-ink {
  display: block;
}

.chapter-page .chapter-title {
  color: var(--ink);
  font-size: clamp(34px, 4.75vw, 64px);
  font-weight: 550;
  letter-spacing: -.048em;
  line-height: 1.1;
  text-wrap: balance;
}

.chapter-page .chapter-title > .chapter-ink {
  color: inherit;
}

.chapter-page .hero-bottom.chapter-outcomes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-block-size: clamp(330px, 62svh, 580px);
  padding-block: clamp(28px, 4.6vw, 58px) clamp(37px, 5vw, 64px);
  background: linear-gradient(#f5f8fd 70%, #fff);
}

.chapter-outcomes .outcome-heading {
  align-items: flex-end;
  margin-bottom: clamp(26px, 3vw, 38px);
}

.chapter-outcomes .outcome-toggle {
  flex: none;
  white-space: nowrap;
}

.chapter-process {
  padding-top: clamp(42px, 7vw, 90px);
}

.chapter-process .approach-section {
  padding-top: clamp(34px, 5vw, 64px);
}

.chapter-process .approach-intro h3 {
  max-width: 19ch;
  font-size: clamp(32px, 3.55vw, 48px);
  font-weight: 550;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.chapter-process .approach-intro h3 > span {
  color: #65748a;
}

.step-assessment-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #a6b4e5;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
}

.step-assessment-link:hover,
.step-assessment-link:focus-visible {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.chapter-page .people-section {
  border-top: 0;
  background: linear-gradient(#fff, var(--people-paper) 132px);
}

.chapter-page .people-section .chapter-head {
  margin-bottom: clamp(34px, 5vw, 62px);
}

/* The browser owns scroll and momentum. The two snap areas share one stage. */
@media screen and (min-height: 520px) and (prefers-reduced-motion: no-preference) {
  html.scene-scroll {
    scroll-behavior: auto;
    scroll-snap-type: y proximity;
  }

  .chapter-page {
    --hero-screen: max(710px, 100svh);
  }

  .scene-scroll .outcome-hero,
  .scene-scroll .chapter-process,
  .scene-scroll .people-section {
    scroll-snap-align: start;
  }

  .scene-scroll .chapter-page .chapter-outcomes,
  .scene-scroll .bookend-scenes .start-section {
    min-block-size: 100svh;
    scroll-snap-align: center;
  }

  .scene-scroll .chapter-process,
  .scene-scroll .people-section {
    min-block-size: 100svh;
  }

  .chapter-page .outcome-hero .hero-art {
    height: var(--hero-screen);
  }

  .chapter-page .outcome-hero .hero-content {
    min-height: var(--hero-screen);
  }

  .scene-scroll .chapter-bridge {
    position: relative;
    height: 200svh;
  }

  .scene-scroll .bridge-mark {
    position: absolute;
    inset: 0 auto auto 0;
    display: block;
    width: 1px;
    height: 100svh;
    scroll-snap-align: start;
    pointer-events: none;
  }

  .scene-scroll .bridge-mark-next { inset-block-start: 100svh; }

  .scene-scroll .bridge-copy {
    position: sticky;
    inset-block-start: 0;
    height: 100svh;
    padding-block: 0;
    place-items: center;
    gap: 0;
    perspective: 1100px;
    overflow: clip;
  }

  .scene-scroll .bridge-beat {
    grid-area: 1 / 1;
    will-change: transform, opacity;
  }

  .scene-scroll .bridge-beat + .bridge-beat { opacity: 0; }
}

@media (max-width: 700px) {
  .chapter-page .hero-content .assessment-cta { margin-top: clamp(47px, 7vh, 66px); }
  .chapter-page { --hero-screen: max(640px, 100svh); }
  .bridge-copy { font-size: clamp(35px, 9.7vw, 53px); }
  .chapter-outcomes .outcome-heading { gap: 12px; }
  .chapter-outcomes .outcome-toggle { padding-left: 0; }
}
