/* Plain chapter boundaries. Preserve alternating surfaces and section spacing. */
.section-divided {
  --chapter-surface: #fff;
  --chapter-previous: var(--surface-dark, #17292f);
  position: relative;
  padding-top: 0;
  background: var(--chapter-surface);
}
.products.section-divided { --chapter-surface: var(--surface-dark, #17292f); --chapter-previous: #17292f; }
.about.section-divided, .process-section.section-divided, .contact-cta.section-divided { --chapter-surface: #fff; --chapter-previous: var(--surface-dark, #17292f); }
.projects.section-divided, .faq-section.section-divided, #site-footer.section-divided { --chapter-surface: var(--surface-dark, #17292f); --chapter-previous: #fff; }
#site-footer.section-divided { background: var(--chapter-surface); }
/* Use the existing services palette on the alternating dark chapters. */
.products.section-divided > .section-heading h2,
.projects.section-divided .section-heading h2,
.faq-section.section-divided .faq-intro h2 { color: #fff; }
.products.section-divided > .section-heading .section-kicker,
.projects.section-divided .section-heading .section-kicker,
.faq-section.section-divided .faq-intro .section-kicker {
  color: #ffb2b7; padding: 0; border: 0; background: none;
}
.projects.section-divided .section-heading > p,
.faq-section.section-divided .faq-intro > p:not(.section-kicker) { color: #c0ced3; }
.products.section-divided > .section-heading > .text-link { color: #fff; border-color: #ffffff50; }
.products.section-divided > .section-heading > .text-link > .icon { color: #ffb2b7; }
.faq-section.section-divided .faq-list details { background: #fff; }
#site-footer.section-divided { color: #c0ced3; }
#site-footer.section-divided .footer-brand > p,
#site-footer.section-divided .footer-column a,
#site-footer.section-divided .footer-column button,
#site-footer.section-divided .footer-bottom,
#site-footer.section-divided .footer-bottom button { color: #c0ced3; }
#site-footer.section-divided .footer-column h3 { color: #fff; }
#site-footer.section-divided .footer-column a:hover,
#site-footer.section-divided .footer-column button:hover,
#site-footer.section-divided .footer-bottom button:hover,
#site-footer.section-divided .footer-contact .icon,
#site-footer.section-divided h3.signature-kicker .signature-mark { color: #ffb2b7; }
#site-footer.section-divided .footer-column,
#site-footer.section-divided .footer-map,
#site-footer.section-divided .footer-bottom { border-color: #ffffff25; }
#site-footer.section-divided .footer-brand img,
#site-footer.section-divided .footer-map img { filter: none; mix-blend-mode: lighten; }
#site-footer.section-divided .socials button { border-color: #ffffff40!important; background: transparent; color: #fff; }
#site-footer.section-divided .socials .social-icon { filter: none; mix-blend-mode: normal; opacity: .9; }
#site-footer.section-divided .socials button:hover { background: #ffffff12; border-color: #ffb2b7!important; }
#site-footer.section-divided :is(a,button):focus-visible { outline-color: #ffb2b7; }
/* Contact is the opening part of the footer, sharing its continuous dark surface. */
#site-footer .footer-cta { background: transparent; color: #fff; }
#site-footer .footer-cta .contact-cta-inner { padding-block: 64px 48px; border-top: 0; border-bottom: 1px solid #ffffff25; }
#site-footer .footer-cta .contact-cta-inner::before,
#site-footer .footer-cta .contact-cta-inner::after { display: none; }
#site-footer .footer-cta h2 { color: #fff; }
#site-footer .footer-cta .contact-cta-inner > div > p:not(.section-kicker) { color: #c0ced3; }
#site-footer .footer-cta .section-kicker { color: #ffb2b7; }
#site-footer .footer-cta .contact-direct { background: #ffffff06; border-color: #ffffff25; border-left-color: #ffb2b7; }
#site-footer .footer-cta .contact-direct:hover { background: #ffffff0d; }
#site-footer .footer-cta .contact-direct strong { color: #fff; }
#site-footer .footer-cta .contact-direct small { color: #c0ced3; }
#site-footer .footer-cta .contact-direct > .icon { color: #ffb2b7; }
#site-footer .footer-cta .quick-project { color: #23383f; }
#site-footer .footer-cta .quick-project-caption,
#site-footer .footer-cta .quick-project-caption .signature-mark { color: #c40013; }
#site-footer .footer-cta .quick-project :is(a,button):focus-visible { outline-color: #c40013; }
/* Keep section boundaries free of decorative rules. */
.products.section-divided > .section-heading,
.projects.section-divided .section-heading { padding-top: 0; border-top: 0; }
.products.section-divided > .section-heading::before,
.products.section-divided > .section-heading::after,
.projects.section-divided .section-heading::before,
.projects.section-divided .section-heading::after,
.process-section.section-divided > .container::before,
.process-section.section-divided > .container::after,
.contact-cta.section-divided .contact-cta-inner::before,
.contact-cta.section-divided .contact-cta-inner::after,
#site-footer.section-divided .footer-main::before,
#site-footer.section-divided .footer-main::after { display: none; }
.products.section-divided { padding-top: 52px; }
.products.section-divided > .section-heading { margin-top: 0; }
.about.section-divided .about-inner,
.projects.section-divided > .container,
.process-section.section-divided > .container,
.faq-section.section-divided > .container,
.contact-cta.section-divided .contact-cta-inner,
#site-footer.section-divided .footer-main { padding-top: 52px; border-top: 0; }
@media(max-width:800px) {
  #site-footer .footer-cta .contact-cta-inner { padding-block: 42px 34px; }
  .products.section-divided { padding-top: 34px; }
  .about.section-divided .about-inner,
  .projects.section-divided > .container,
  .process-section.section-divided > .container,
  .faq-section.section-divided > .container,
  .contact-cta.section-divided .contact-cta-inner,
  #site-footer.section-divided .footer-main { padding-top: 34px; }
}
