/* Homepage seamless section-background rhythm — v63
   Keep the cinematic light/dark alternation while making adjacent chapters
   feel part of one visual system rather than independent colour panels. */

body.home-v253 {
  --home-warm-paper: #f4f0e8;
  --home-warm-paper-soft: #f6f2eb;
  --home-charcoal: #151416;
  --home-charcoal-burgundy: #181316;
  --home-charcoal-warm: #1a1517;
  --home-chapter-rule: rgba(21,21,22,.085);
}

/* Light chapters: one restrained warm-paper family. */
body.home-v253 #programme,
body.home-v253 #outcomes,
body.home-v253 #leadership,
body.home-v253 #pathway,
body.home-v253 .faq {
  background: var(--home-warm-paper) !important;
}

/* Clinical stays only fractionally lighter for hierarchy, not as a new band. */
body.home-v253 #study {
  background: var(--home-warm-paper-soft) !important;
  border-block-color: var(--home-chapter-rule) !important;
}

/* Dark chapters share the same charcoal family with very restrained tonal shifts. */
body.home-v253 #thymus {
  background: var(--home-charcoal) !important;
}
body.home-v253 #evidence {
  background: var(--home-charcoal-burgundy) !important;
}
body.home-v253 #film {
  background: linear-gradient(145deg,
    var(--home-charcoal-warm) 0%,
    #1d1518 58%,
    var(--home-charcoal) 100%) !important;
}

/* Leadership → Commercial → FAQ reads as one long light chapter.
   Fine rules preserve section definition without introducing new colour bands. */
body.home-v253 #leadership {
  border-bottom: 0 !important;
}
body.home-v253 #pathway {
  border-top: 1px solid var(--home-chapter-rule) !important;
}
body.home-v253 .faq {
  border-top: 1px solid var(--home-chapter-rule) !important;
}

/* Keep the pre-footer as the intentional soft transition into the dark footer. */
body.home-v253 .home-cta.global-prefooter-v260 {
  border-top-color: rgba(143,29,44,.10) !important;
}
