/* Each chapter inherits the preceding chapter's last color, then dissolves
   into its own surface. Content sits below the blend, never underneath it. */
body main > section:not(.sequence) {
  border-top: 0;
  background-color: var(--surface, #07110d);
  background-image: linear-gradient(180deg, var(--from, var(--surface, #07110d)), var(--surface, #07110d) 100px);
  background-repeat: no-repeat;
  padding-top: 132px;
}
body main > .google-proof { --from: #07110d; --surface: #f6f3ea; }
body main > .lux-mission { --from: #f6f3ea; --surface: #f6f3ea; padding-top: 64px; }
body main > .home-evidence { --from: #f6f3ea; --surface: #07110d; }
body main > .video-letter { --from: #07110d; --surface: #0d1e16; }
body main > .organizer-story { --from: #10271e; --surface: #07110d; }
body main > .student-proof { --from: #07110d; --surface: #11271d; }
body main > .editorial { --from: #11271d; --surface: #f6f3ea; }
body main > .truth-shift { --from: #f6f3ea; --surface: #0e241b; }
body main > .system { --from: #0e241b; --surface: #f6f3ea; }
body main > .offer { --from: #f6f3ea; --surface: #0d1e16; }
body main > .about { --from: #0d1e16; --surface: #f6f3ea; }
body main > .faq { --from: #f6f3ea; --surface: #f6f3ea; padding-top: 64px; }
body main > .booking { --from: #f6f3ea; --surface: #0b2017; }
body .story-testimonial {
  border-top: 0;
  background: linear-gradient(180deg, #0d1e16, #10271e 72px);
  padding-top: 96px;
}
body .site-footer { border-top: 0; background: linear-gradient(#0b2017, #07110d); }
.sequence::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 140px; z-index: 4; pointer-events: none; background: linear-gradient(transparent, #07110d); }
.story-testimonial + .story-testimonial { background: #10271e; }
/* Keep the original scroll film visible, including while its buffer prepares. */
html body.is-loading { overflow: hidden; }
.chapter { opacity: 0; transition: opacity 480ms ease, visibility 0s linear 480ms; }
.chapter.is-visible { opacity: 1; transition-delay: 0s; }
/* Keep the original display face inside short laptop and phone viewports. */
.chapter__title { font-size: clamp(44px, min(7vw, 10svh), 112px); }
.chapter--control .chapter__title, .chapter--next .chapter__title { max-width: none; font-family: var(--display); }
@media (prefers-reduced-motion: reduce) { .chapter { transition: none; } }
@media (max-width: 780px) {
  .chapter--hero { padding-top: 108px; }
  .chapter--hero .hook-primary { max-width: 16ch; font-size: clamp(32px, 9.5vw, 44px); line-height: .98; }
  .chapter--hero .hook-control { max-width: 32ch; font-size: 16px; line-height: 1.45; }
  .chapter--hero .hero-action { margin-top: 18px; }
  .chapter__title { font-size: clamp(40px, min(13vw, 6.8svh), 64px); }
  body main > section:not(.sequence) {
    background-image: linear-gradient(180deg, var(--from, var(--surface, #07110d)), var(--surface, #07110d) 64px);
    padding-top: 92px;
  }
  body main > .lux-mission, body main > .faq { padding-top: 44px; }
  body .story-testimonial { padding-top: 80px; }
}
