/* v46 — one continuous journey; native scroll and a single persistent diagram. */
.home{--journey-sky:#edf3f8}
.home main [id]{scroll-margin-top:12px}
.home .home-clients{padding-bottom:110px}
.home .home-problems,.home .home-services,.home .home-ai,.home .home-flow{position:relative}
.scene-seam{position:absolute;left:0;right:0;top:-79px;height:80px;pointer-events:none}
.scene-seam svg{display:block;width:100%;height:100%}
.seam-sky{color:var(--journey-sky)}.seam-white{color:#fff}.seam-navy{color:#163e63}
.home .home-problems{background:var(--journey-sky);padding-top:36px;padding-bottom:0}
.problem-confluence{height:86px;color:#93b5cf;margin-inline:0;opacity:.85}
.problem-confluence svg{display:block;width:100%;height:100%}
.home-problems .problems-next{flex-direction:column;align-items:center;gap:12px;padding:20px 0 16px;text-align:center}
.home-problems .problems-next>p{font-size:23px;line-height:1.7;letter-spacing:-.02em;color:#183345;font-weight:600}
.home-problems .problems-next .text-link{font-size:12px}
.home .home-problems+.home-solution{background:linear-gradient(var(--journey-sky),#f4f8fb);padding-top:76px;padding-bottom:124px}
.home .home-solution .section-intro{margin-bottom:26px}
.home .home-solution .section-intro h2{font-size:clamp(29px,3vw,39px)}
.home .home-services{background:#fff;padding-top:46px;padding-bottom:50px}
.home .home-cases{padding-bottom:142px}
.home .home-ai{padding-top:66px;padding-bottom:116px;border-radius:0 0 50% 0 / 0 0 55px 0}
.home .home-technology{padding-top:28px;padding-bottom:124px}
.home .home-technology .tech-heading{border-top:0}
.home .home-flow{background:var(--journey-sky);padding-top:40px;padding-bottom:90px;border-radius:0 0 0 45% / 0 0 0 38px}
.home .intent-bar{border-radius:50% 0 0 0 / 45px 0 0 0;padding-top:75px}
/* Readable static composition is the default, also used without JS. */
.home .story-layout{display:flex;flex-direction:column;gap:0;margin-top:12px}
.home .story-visual{order:-1;position:static}
.home .story-sticky{position:static;padding:0}
.story-caption,.home .consolidation,.home .story-sticky>.fineprint{display:none}
.home .story-nav{display:flex;gap:0;border-bottom:1px solid #bfd0df;margin-bottom:22px;padding:0}
.home .story-nav a{flex:1;text-align:center;background:none!important;color:#526473;border-radius:0;font-size:12px;padding:13px 10px;line-height:1.6}
.home .story-nav a[aria-current]{color:#235f98;font-weight:700}
.home .story-nav a::after{height:2px;bottom:-1px;background:#286db5;transition:none}
.home .home-problems+.home-solution .story-step{position:relative;min-height:0;padding:34px 0 46px 27px;border-left:1px solid #bfd0df;margin-left:7px}
.home .story-step::before{content:'';position:absolute;width:9px;height:9px;background:#fff;border:2px solid #6397bd;border-radius:50%;left:-5px;top:40px;box-sizing:border-box}
.home .story-step:last-child{padding-bottom:0}
.home .story-step .step-label{border:0;padding:0;display:flex;gap:12px;align-items:center;font-size:12px;margin-bottom:18px}
.step-label>span{font:400 18px/1 Arial,sans-serif;color:#7594ac}
.home .story-step h3{font-size:clamp(23px,2.4vw,31px);line-height:1.6;margin-bottom:20px}
.home .story-step p{max-width:33em}
.story-inline-visual{display:flex;flex-direction:column;gap:0;width:min(100%,360px);background:#fff;border:1px solid #dce6ee;border-radius:5px;padding:22px 24px;margin:6px 0 24px;box-shadow:0 10px 28px #18334508;box-sizing:border-box}
.paper-eyebrow{font:500 9px/1.5 Arial,sans-serif;letter-spacing:.13em;color:#567288}
.paper-title{display:flex;width:100%;align-items:center;justify-content:space-between;margin:9px 0 16px;gap:16px;color:#183345}
.paper-title>span{font-size:14px;font-weight:700}
.paper-title strong{font:400 56px/.95 Arial,sans-serif;color:#245b87;letter-spacing:-.04em}
.paper-title strong>span{font:600 12px/1.4 var(--font);margin-left:4px;letter-spacing:0}
.paper-rows{width:100%;display:grid;border-top:1px solid #dfe7ed;margin-bottom:20px}
.paper-rows>span{display:flex;justify-content:space-between;align-items:center;min-height:32px;border-bottom:1px solid #e8eef3;font-size:11px;color:#4c667a}
.paper-rows i{font-style:normal;color:#397cac;font-size:12px}
.paper-rows .paper-rule{width:32px;height:3px;background:#c0d3e0;border-radius:2px}
.story-inline-visual>b{font-size:14px;color:#193e5a;line-height:1.6}
.story-inline-visual>.paper-note{font-size:10px;color:#627889;line-height:1.8;margin-top:3px}
/* Only tall desktop viewports get the pinned scene. The reading column stays in normal flow. */
@media(min-width:700px) and (min-height:681px) and (prefers-reduced-motion:no-preference){
 .home .home-solution[data-scroll-scene] .story-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:clamp(35px,6vw,90px);align-items:stretch}
 .home .home-solution[data-scroll-scene] .story-copy{grid-column:1;grid-row:1;order:0}
 .home .home-solution[data-scroll-scene] .story-visual{grid-column:2;grid-row:1;order:0;position:relative}
 .home .home-solution[data-scroll-scene] .story-sticky{position:sticky;top:104px;padding:10px 0 22px}
 .home .home-problems+.home-solution[data-scroll-scene] .story-step{min-height:clamp(430px,70svh,670px);padding:60px 0 66px 29px;justify-content:center}
 .home .home-solution[data-scroll-scene] .story-step::before{top:calc(50% - 152px)}
 .home .home-solution[data-scroll-scene] .story-step .step-label{transition:color .25s}
 .home .home-solution[data-scroll-scene] .story-step[data-current]::before{background:#286db5;border-color:#286db5;box-shadow:0 0 0 5px #dce9f3}
 .home .home-solution[data-scroll-scene] .story-inline-visual{display:none}
 .home .home-solution[data-scroll-scene] .story-caption{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:12px;color:#526f85;margin-bottom:15px}
 .story-counter{font:400 11px/1 Arial,sans-serif;letter-spacing:.08em}
 .home .home-solution[data-scroll-scene] .story-nav{margin-bottom:24px}
 .home .home-solution[data-scroll-scene] .consolidation{display:block;padding:0 18px 0;border:0;background:transparent;box-shadow:none;border-radius:0;--gather:1}
 .home .diagram-top{height:auto;gap:9px;font:500 12px/1.4 Arial,sans-serif;transform:translateY(calc((1 - var(--gather))*-9px))}
 .home .diagram-top>span{display:flex;align-items:center;justify-content:center;min-height:45px;padding:6px;background:#fff;border:1px solid #dce6ee;border-radius:4px}
 .home .routing-lines{height:71px;margin:0 auto -15px}
 .home .consolidation .routing-draw{stroke-dasharray:700;stroke-dashoffset:calc((1 - var(--gather))*700);transition:none}
 .home .diagram-hub{padding:11px 18px;gap:5px;width:176px;box-shadow:none;background:#fff;border:1px solid #b8cfdf;border-radius:5px}
 .home .diagram-hub img{width:110px;height:26px}.home .diagram-hub>span{font-size:10px}
 .home .diagram-connection{height:24px;background:#699abf}
 .paper-deck{position:relative;margin:0 auto;width:min(100%,350px)}
 .paper-back{position:absolute;inset:0 12px 13px;background:#dce8f1;border:1px solid #c6d8e5;border-radius:5px;transform-origin:50% 70%}
 .paper-back-one{transform:translate(calc((1 - var(--gather))*-48px),calc((1 - var(--gather))*-5px)) rotate(calc((1 - var(--gather))*-8deg))}
 .paper-back-two{transform:translate(calc((1 - var(--gather))*48px),calc((1 - var(--gather))*-5px)) rotate(calc((1 - var(--gather))*8deg))}
 .home .diagram-output{position:relative;display:grid;min-height:272px;background:none;border:0;padding:0;box-shadow:none}
 .home .output-panel{grid-area:1/1;width:100%;align-items:flex-start;justify-content:flex-start;gap:0;background:#fff;border:1px solid #d8e4ed;padding:22px 26px 20px;border-radius:5px;box-sizing:border-box;box-shadow:0 12px 35px #1b43620b;opacity:0;transform:translateY(9px);transition:opacity .22s ease,transform .3s ease;pointer-events:none}
 .home .output-panel b{font-size:15px;line-height:1.6;color:#193e5a}
 .home .output-panel>.paper-note{font-size:10px;margin-top:3px;line-height:1.8}
 .home .consolidation[data-active="0"] .output-contract,.home .consolidation[data-active="1"] .output-billing,.home .consolidation[data-active="2"] .output-support{opacity:1;transform:none}
 .home .home-solution[data-scroll-scene] .story-sticky>.fineprint{display:block;margin:17px 18px 0;font-size:10px;line-height:1.7;max-width:38em}
}
@media(max-width:860px){
 .home .home-clients{padding-bottom:75px}
 .scene-seam{height:48px;top:-47px}
 .home .home-problems{padding-top:30px}
 .problem-confluence{height:56px}
 .home-problems .problems-next{padding-top:16px}
 .home-problems .problems-next>p{font-size:20px}
 .home .home-problems+.home-solution{padding-block:46px 78px}
 .home .home-services{padding-block:32px 22px}
 .home .home-cases{padding-bottom:90px}
 .home .home-ai{padding-block:42px 70px;border-bottom-right-radius:50% 30px}
 .home .home-technology{padding-block:22px 84px}
 .home .home-flow{padding-block:34px 65px}
 .home .intent-bar{padding-top:55px}
}
@media(max-width:540px){
 .problem-confluence{height:48px;max-width:270px;margin-inline:auto}
 .home-problems .problems-next>p{font-size:18px}
 .home .home-solution .section-intro h2{font-size:27px;max-width:12em}
 .home .story-step[data-step="0"] h3 br{display:none}
 .home .story-step>p{font-size:14px}
 .home .story-step .story-detail{font-size:13px}
 .home .story-step>p br{display:none}
 .home .story-nav a{padding-inline:5px}
 .story-inline-visual{padding:20px;max-width:330px}
 .paper-title strong{font-size:46px}
 .paper-title>span{font-size:13px}
 .home .home-problems+.home-solution .story-step{padding-left:21px}
}
@media(prefers-reduced-motion:reduce){
 .home .scene-seam,.home .story-step,.home .story-inline-visual{transform:none;transition:none}
 .home .story-nav a::after{transition:none}
}
/* Earlier versions framed each paragraph as a card. Keep this reading surface continuous. */
.home .home-solution .story-step{background:transparent;box-shadow:none;border-radius:0;border-top:0;margin-bottom:0}
@media(min-width:700px) and (min-height:681px) and (max-height:800px) and (prefers-reduced-motion:no-preference){
 .home .home-solution[data-scroll-scene] .story-sticky{top:94px;padding:0 0 12px}
 .home .home-solution[data-scroll-scene] .story-caption{display:none}
 .home .home-solution[data-scroll-scene] .story-nav{margin-bottom:14px}
 .home .story-nav a{padding-block:8px;line-height:1.4}
 .home .diagram-top>span{min-height:36px}
 .home .routing-lines{height:47px;margin-bottom:-12px}
 .home .diagram-hub{padding:7px 16px;gap:3px;line-height:1.4}
 .home .diagram-hub img{height:23px;width:104px}
 .home .diagram-connection{height:17px}
 .home .diagram-output{min-height:245px}
 .home .output-panel{padding:18px 24px}
 .home .output-panel .paper-title{margin:6px 0 12px}
 .home .output-panel .paper-title strong{font-size:44px}
 .home .output-panel .paper-rows{margin-bottom:13px}
 .home .output-panel .paper-rows>span{min-height:27px}
 .home .home-solution[data-scroll-scene] .story-sticky>.fineprint{margin-top:12px}
}
@media(max-width:860px){
 .problem-confluence{position:relative;width:1px;margin-inline:auto;background:#aac3d6;opacity:1}
 .problem-confluence svg{display:none}
 .problem-confluence::after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#7fa6c3;left:-3px;bottom:0}
}
/* Preserve a visible surface behind the three service cards. */
.home .home-services{background:#e8f0f6;padding-bottom:84px;border-radius:0 0 45% 0 / 0 0 38px 0}
.home-services .scene-seam{color:#e8f0f6}
@media(max-width:860px){.home .home-services{padding-bottom:60px;border-bottom-right-radius:45% 26px}}

/* The in-app preview and landscape tablets can also keep the same object in view. */
@media(min-width:700px) and (max-width:860px) and (min-height:761px) and (prefers-reduced-motion:no-preference){
 .home .home-solution[data-scroll-scene] .story-layout{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:26px}
 .home .home-solution[data-scroll-scene] .story-sticky{top:84px}
 .home .home-solution[data-scroll-scene] .consolidation{padding-inline:0}
 .home .home-solution[data-scroll-scene] .story-step{padding-left:19px}
 .home .home-solution[data-scroll-scene] .story-step h3{font-size:23px}
 .home .home-solution[data-scroll-scene] .story-step>p{font-size:14px}
 .home .home-solution[data-scroll-scene] .story-step .story-detail{font-size:13px}
 .home .home-solution[data-scroll-scene] .story-caption{font-size:10px}
 .home .diagram-top{font-size:10px;gap:5px}
 .home .output-panel{padding:20px}
 .home .output-panel b{font-size:13px}
 .home .output-panel>.paper-note{font-size:9px}
 .home .home-solution[data-scroll-scene] .story-sticky>.fineprint{font-size:9px;margin-inline:0}
}
@media(min-width:700px) and (min-height:681px) and (prefers-reduced-motion:no-preference){
 .home .home-solution[data-scroll-scene] .consolidation{overflow:clip;padding-bottom:16px;margin-bottom:-16px}
}
@media(min-width:700px) and (max-width:860px) and (min-height:761px) and (prefers-reduced-motion:no-preference){
 .home .paper-back-one{transform:translate(calc((1 - var(--gather))*-14px),0) rotate(calc((1 - var(--gather))*-4deg))}
 .home .paper-back-two{transform:translate(calc((1 - var(--gather))*14px),0) rotate(calc((1 - var(--gather))*4deg))}
}
