/* Sections 06–09 share one horizontal stage. Without JS, their content stays readable. */
.service-carousel { background: var(--ink); color: var(--white); padding-block: var(--section-space); }
.service-carousel-frame { position: relative; width: min(calc(100% - 32px), 1456px); margin-inline: auto; }
.service-carousel-controls, .service-arrow { display: none; }
.service-carousel.is-ready .service-carousel-frame { padding-inline: 64px; }
.service-carousel.is-ready .service-carousel-viewport { overflow: hidden; border: 1px solid #384037; background: var(--ink); transition: height .3s ease; }
.service-carousel.is-ready .service-carousel-viewport[data-theme="paper"] { background: var(--paper); }
.service-carousel.is-ready .service-carousel-track { display: flex; align-items: flex-start; width: 100%; transition: transform .65s cubic-bezier(.22,.68,.15,1); will-change: transform; }
.service-carousel.is-ready .service-slide { flex: 0 0 100%; width: 100%; min-width: 0; margin: 0; padding: clamp(32px, 4vw, 56px); }
.service-carousel.is-ready .service-slide .section-shell { width: 100%; }
.service-carousel.is-ready .service-slide .reveal { opacity: 1; transform: none; }
.service-carousel.is-ready .fit-section { color: var(--ink); background: var(--paper); grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); }
.service-carousel.is-ready .communication-shell { gap: clamp(32px, 5vw, 72px); }
.service-carousel .communication-copy h2, .service-carousel .fit-intro h2, .service-carousel .membership-header h2 { font-size: clamp(2.4rem, 3.7vw, 4rem); }
.service-carousel .membership-card { padding: 0; background: transparent; }
.service-carousel .membership-header { gap: 40px; }
.service-carousel .membership-includes { margin-top: 32px; }
.service-carousel .membership-includes-head, .service-carousel .fit-profile-head { padding: 32px; }
.service-carousel .membership-includes-head h3 { font-size: clamp(1.8rem, 2.5vw, 2.8rem); }
.service-carousel .membership-benefit-grid > div { min-height: 180px; padding: 24px; }
.service-carousel .membership-summary-terms > div { padding: 24px; }
/* The fourth slide uses the same light palette as the second slide. */
.service-carousel .membership-section {
  --line-dark: rgba(11, 13, 12, .17);
  --label-on-dark: #586157;
  background: var(--paper);
  color: var(--ink);
}
.service-carousel .membership-section .membership-card { color: var(--ink); }
.service-carousel .membership-section .eyebrow-light { color: #586157; }
.service-carousel .membership-section .membership-header > p,
.service-carousel .membership-section .membership-benefit-grid p { color: #626861; }
.service-carousel .membership-section .membership-includes-head { background: var(--paper-2); }
.service-carousel .membership-section .membership-benefit-grid { background: var(--white); }
.service-carousel .fit-criterion { min-height: 210px; padding: 28px; }
.service-carousel .fit-profile-head h3 { font-size: clamp(2rem, 3vw, 3.2rem); }
.service-carousel .fit-intro .fit-check { margin-top: auto; }
.service-carousel.is-ready .service-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 64px; padding: 0; border: 1px solid #485044; background: transparent; color: var(--signal); transform: translateY(-50%); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.service-arrow-prev { left: 8px; }
.service-arrow-next { right: 8px; }
.service-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.service-carousel .service-arrow:hover { background: #242c20; border-color: var(--signal); }
.service-carousel button:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.service-carousel.is-ready .service-carousel-controls { display: flex; justify-content: center; align-items: center; gap: 32px; margin-top: 24px; }
.service-slide-choices { display: flex; gap: 20px; flex: 1; max-width: 980px; overflow-x: auto; scrollbar-width: thin; }
.service-slide-choices button { position: relative; display: flex; flex: 1 0 155px; align-items: center; gap: 12px; min-height: 64px; padding: 12px 0 18px; border: 0; background: transparent; color: #a7afa2; text-align: left; cursor: pointer; }
.service-slide-choices b { font-size: 1.25rem; line-height: 1; }
.service-slide-choices span { font-size: .875rem; line-height: 1.4; }
.service-slide-choices button[aria-pressed="true"] { color: var(--white); }
.service-slide-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; overflow: hidden; background: #41493b; }
.service-slide-progress::after { content: ""; display: block; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.service-slide-choices button[aria-pressed="true"] .service-slide-progress::after { transform: scaleX(1); }
.service-carousel.is-running button[aria-pressed="true"] .service-slide-progress::after { animation: service-countdown var(--carousel-duration, 5s) linear; }
.service-autoplay-toggle { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; max-width: 240px; padding: 10px 12px; border: 1px solid #485044; background: transparent; color: #c8d0c2; font-size: .875rem; line-height: 1.4; cursor: pointer; }
.service-autoplay-toggle:disabled { opacity: .6; cursor: default; }
.service-autoplay-icon { flex: 0 0 auto; width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.service-autoplay-toggle[aria-pressed="true"] .service-autoplay-icon { width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid currentColor; border-right: 0; }
@keyframes service-countdown { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 1080px) {
  .service-carousel.is-ready .fit-section { grid-template-columns: minmax(0, 1fr); }
  .service-carousel .fit-intro { max-width: none; }
  .service-carousel .fit-intro .fit-check { margin-top: 0; }
  .service-carousel.is-ready .service-carousel-controls { gap: 24px; }
  .service-autoplay-toggle { max-width: 180px; }
}
@media (max-width: 820px) {
  .service-carousel.is-ready .service-carousel-frame { padding-inline: 0; }
  .service-carousel.is-ready .service-slide { padding: 28px; }
  .service-carousel.is-ready .service-carousel-controls { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; padding-inline: 52px; }
  .service-slide-choices { width: 100%; max-width: none; gap: 12px; }
  .service-slide-choices button { flex-direction: column; justify-content: center; gap: 7px; text-align: center; padding-top: 6px; }
  .service-autoplay-toggle { max-width: none; justify-self: center; grid-row: 2; }
  .service-carousel.is-ready .service-arrow { top: auto; bottom: -74px; transform: none; height: 44px; }
  .service-arrow-prev { left: 0; }
  .service-arrow-next { right: 0; }
  .service-carousel .membership-header { gap: 24px; }
}
@media (max-width: 560px) {
  .service-carousel.is-ready .service-slide { padding: 24px; }
  .service-carousel .communication-copy h2, .service-carousel .fit-intro h2, .service-carousel .membership-header h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .service-carousel .membership-includes-head, .service-carousel .fit-profile-head, .service-carousel .fit-criterion { padding: 24px; }
  .service-slide-choices span { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .service-carousel.is-ready .service-carousel-track, .service-carousel.is-ready .service-carousel-viewport { transition: none; }
  .service-carousel .service-slide-progress::after { animation: none !important; }
}
.service-carousel .custom-service-slide { min-height: 520px; background: var(--ink); color: var(--white); }
.service-carousel .custom-service-slide.theme-paper { background: var(--paper); color: var(--ink); }
.custom-service-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 5vw, 76px); min-height: 430px; }
.custom-service-slide:not(.has-image) .custom-service-inner { grid-template-columns: minmax(0, 1fr); }
.custom-service-copy { max-width: 760px; }
.custom-service-copy .eyebrow { margin: 0 0 40px; color: var(--signal); }
.custom-service-slide.theme-paper .eyebrow { color: #4d6533; }
.custom-service-copy h2 { margin: 0 0 28px; font-size: clamp(2.6rem, 4.4vw, 5rem); line-height: 1.04; letter-spacing: -.045em; overflow-wrap: anywhere; }
.custom-service-copy > p:last-child { margin: 0; max-width: 56ch; font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.65; color: #c8d0c2; white-space: pre-line; overflow-wrap: anywhere; }
.custom-service-slide.theme-paper .custom-service-copy > p:last-child { color: #515a50; }
.custom-service-image { min-width: 0; aspect-ratio: 4/3; overflow: hidden; border: 1px solid #5d6756; }
.custom-service-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .custom-service-inner { grid-template-columns: 1fr; min-height: 0; } .custom-service-image { max-height: 300px; } .custom-service-slide:not(.has-image) .custom-service-inner { grid-template-columns: 1fr; } }
.service-carousel.is-ready .image-only-slide { display: grid; place-items: center; min-height: 420px; padding: 0; background: var(--ink); }
.image-only-slide img { display: block; width: 100%; max-height: min(78vh, 820px); object-fit: contain; }
