/* Shared homepage section rhythm; preserve internal work and carousel geometry. */
.home-page{--section-space:48px;--section-end:40px}
.home-page .editor-work,.home-page .play-services,.home-page .bts-section,.home-page .team-intro,.home-page .recognition.people-partnership,.home-page .bts-section + .recognition.people-partnership{padding-top:var(--section-space);padding-bottom:var(--section-end);margin-top:0;margin-bottom:0}
.home-page .bts-heading{margin-bottom:32px}
.home-page .editor-heading{margin-bottom:32px}
.home-page .team-intro{padding-left:var(--pad);padding-right:var(--pad)}
.home-page #contact.photo-contact{margin-top:0;margin-bottom:0}
.home-page .service-intro:empty{display:none}
@media(max-width:700px){.home-page{--section-space:32px;--section-end:32px}.home-page .bts-heading,.home-page .editor-heading{margin-bottom:28px}.home-page .team-intro{gap:28px}}

/* Alternate the current section order explicitly, independent of hidden content. */
.home-page #work,.home-page #behind-the-scenes,.home-page .team-intro{background:#e5edf0;color:#252626}
.home-page #services,.home-page .recognition.people-partnership{background:#faf9f6;color:#252626}
.home-page .section-switch{width:max-content;max-width:100%;margin:0 0 32px auto;position:relative}
@media(max-width:700px){.home-page .section-switch{width:100%;margin-bottom:28px}.home-page .section-switch :is(button,a){min-width:0;font-size:11px;padding:12px 7px}}

/* Keep the visible sections alternating when an offering has no BTS section. */
.home-page:has(.bts-section[hidden]) .recognition.people-partnership{background:#e5edf0;color:#252626}
.home-page:has(.bts-section[hidden]) .team-intro{background:#faf9f6;color:#252626}
