/* Option 2 draft: compact interactive chapters in normal page flow. */
html.edco-b-page, html.edco-b-page body { overflow-x: clip !important; overflow-y: visible !important; }
body .edco-b-section, body .edco-b-section > .wrap { overflow: visible !important; transform: none !important; }
body #white-bg.edco-b-section { padding-top: 0; padding-bottom: 0; border-top: 0; background: #f4f0fa; scroll-margin-top: 100px; }
body #white-bg.edco-b-section > .wrap { width: 100%; max-width: none; }
/* Match the case-study pill's equal 50px gaps and centre the contact row. */
body .edco-b-stage > .edco-b-contact { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 80%; max-width: 1280px; margin: 0 auto !important; padding-block: 50px; text-align: center; }
body .edco-b-stage > .edco-b-contact > p { margin: 0 !important; text-align: center !important; }
body .edco-b-stage > .edco-b-contact > p:not(.edco-b-contact-actions) { max-width: 820px; font: 400 16px/1.5 Outfit,sans-serif; color: #393e4b; }
body .edco-b-contact .edco-b-contact-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
@media(min-width:768px) { body .edco-b-stage > .edco-b-contact { width: 85%; } }
body #white-bg.edco-b-section .edco-b-runway { width: 100%; margin-inline: 0 !important; padding-inline: 0; }
body .edco-b-runway { display: block !important; position: relative; margin-bottom: 0; padding-bottom: 0 !important; }
body .edco-b-stage { --chapter: 0; --drift: 0px; position: relative; isolation: isolate; overflow: clip; width: 100%; background: #f4f0fa; color: #023550; touch-action: pan-y pinch-zoom; }
body .edco-b-stage::before {
 /* At chapter six the left edge stays 4% beyond the panel despite the larger movement. */
 content: ''; position: absolute; inset: -60px -40%; z-index: -1; pointer-events: none;
 background: radial-gradient(ellipse at 29% 80%, #64cdc12b, transparent 55%);
 transform: translate3d(calc(var(--chapter) * 4%),var(--drift),0); transition: transform 900ms ease;
}
body .edco-b-panels { display: grid; padding: 48px 7% 32px; }
/* Shared grid cell reserves the tallest chapter's content height, without any viewport height or scroll runway. */
body .edco-b-stage .edco-b-panel { grid-area: 1 / 1; float: none; width: 100%; max-width: none; padding: 0; visibility: hidden; pointer-events: none; }
body .edco-b-stage .edco-b-panel.is-active { visibility: visible; pointer-events: auto; }
/* The six 42px controls plus five 8px gaps span 292px; align copy to their left edge. */
body .edco-b-stage .what-wrap { --b-content-gap: 6%; --b-label-line: 16.8px; --b-label-gap: 12px; display: grid; grid-template-columns: calc(50% - 146px - var(--b-content-gap)) minmax(0,1fr); align-items: start; gap: var(--b-content-gap); width: 100%; max-width: 1024px; height: 100%; margin: 0 auto; text-align: left; padding: 0; }
body .edco-b-stage .what-wrap > h4 { text-align: center !important; color: #6c40c1; }
/* Align the SVG canvas with the step title, below the small Process label. */
body .edco-b-art { align-self: start; justify-self: center; width: 128px; margin-top: calc(var(--b-label-line) + var(--b-label-gap)); }
body .edco-b-art > h4 { display: none; }
body .edco-b-art svg { display: block; width: 100%; height: auto; }
body .edco-b-copy { min-width: 0; max-width: 560px; }
body .edco-b-eyebrow { display: block; margin: 0 0 var(--b-label-gap); color: #6c40c1; font: 600 12px/var(--b-label-line) Outfit,sans-serif; letter-spacing: .12em; text-transform: uppercase; }
body .edco-b-stage .edco-b-copy h5 { font: 400 clamp(23px,2.1vw,29px)/1.16 SangBleu,Georgia,serif; color: #023550; margin: 0 0 14px; text-wrap: balance; text-align: left !important; }
body .edco-b-stage .edco-b-copy p { font: 400 16px/1.5 Outfit,sans-serif; color: #393e4b; margin: 0 0 8px; text-align: left !important; }
body .edco-b-stage .edco-b-copy p:last-child { margin-bottom: 0; }
body .edco-b-stage .edco-b-copy a { color: #4c2995; text-decoration: underline; text-underline-offset: 3px; }
body .edco-b-nav { position: relative; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 0 7%; }
body .edco-b-buttons { display: flex; justify-content: center; gap: 8px; }
body .edco-b-nav button { background: transparent; color: #6c40c1; border: 0; box-shadow: none; border-radius: 50%; padding: 0; width: 42px; height: 42px; font: 400 16px/1 Outfit,sans-serif; cursor: pointer; transition: background 250ms ease,color 250ms ease,transform 250ms ease; }
body .edco-b-nav button[aria-selected="true"] { background: #6c40c1; color: white; }
body .edco-b-nav button:hover:not(:disabled) { background: #64cdc1; color: #023550; }
body .edco-b-nav button:focus-visible { outline: 2px solid #023550; outline-offset: 3px; }
/* Same circular, outlined arrow treatment as the homepage testimonial controls. */
body .edco-b-nav .edco-b-arrow { flex: 0 0 42px; border: 1px solid #6c40c166; font-size: 17px; }
body .edco-b-nav .edco-b-arrow:hover:not(:disabled) { border-color: #64cdc1; }
body .edco-b-nav .edco-b-arrow:disabled { opacity: .3; cursor: default; }
body .edco-b-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(min-width:1100px) {
 body .edco-b-art { position: relative; left: 24px; }
 /* 128 / 64 * 1.09375 retains the earlier 112 / 64 * 1.25 visible line width. */
 body .edco-b-art svg { stroke-width: 1.09375; }
}
@media(min-width:700px) and (max-width:1099px) {
 body .edco-b-stage .what-wrap { --b-content-gap: 32px; }
 body .edco-b-art { width: 128px; }
}
@media(max-width:699px) {
 body .edco-b-panels { padding: 48px 24px 32px; }
 body .edco-b-stage .what-wrap { grid-template-columns: 72px minmax(0,1fr); gap: 20px; }
 body .edco-b-art { width: 72px; }
 body .edco-b-stage .edco-b-copy h5 { font-size: 24px; }
 body .edco-b-nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 16px; padding: 0 24px; }
 body .edco-b-buttons { gap: 4px; grid-column: 1 / -1; grid-row: 1; justify-self: center; }
 body .edco-b-arrow--previous { grid-column: 1; grid-row: 2; justify-self: end; }
 body .edco-b-arrow--next { grid-column: 2; grid-row: 2; justify-self: start; }
}
@media(prefers-reduced-motion:reduce) {
 body .edco-b-stage *, body .edco-b-stage::before { transition: none !important; }
 body .edco-b-stage::before { transform: none !important; }
}


