/* The same semantic story works in normal document flow without animation. */
.solution-scroll-story{--story-risk:#ed998e;--story-cyan:#8ae9ed;--story-line:#8ae9ed30;position:relative;background:#030a10;isolation:isolate}
.story-stage{position:relative}
.story-hero{position:relative;padding-bottom:35px;z-index:3}
.story-breadcrumb .breadcrumbs{padding-block:24px;font-size:10px}
.story-hero-layout{display:grid;grid-template-columns:1.12fr 1fr;gap:40px;align-items:center;min-height:510px}
.story-hero-copy h1{font-size:clamp(38px,4.4vw,66px);line-height:1.1;letter-spacing:-.055em;margin:24px 0}
.story-hero-copy h1 span{color:var(--brand-accent)}
.solution-scroll-story[data-accent-topic=ai] .story-hero-copy h1 span{color:var(--ai-accent)}
.story-lead{font-size:clamp(14px,1.2vw,17px);line-height:1.8;color:#b1cad5;max-width:620px}
.story-hero-copy .hero-actions{margin-top:28px;gap:24px;flex-wrap:wrap}
.story-emblem-anchor{height:430px;min-width:0}
.story-emblem{position:absolute;width:min(43vw,520px);top:60px;right:5%;z-index:1;pointer-events:none}
.story-emblem .domain-emblem{background:none}
.story-scroll-hint{font:10px/1.6 Plex,monospace;color:#90afbf;width:calc(100% - 112px);max-width:1320px;margin:10px auto 0}
.story-scroll-hint span{color:var(--brand-accent);padding-right:12px}
.story-visual-stage{position:relative;width:min(1280px,calc(100% - 96px));margin:0 auto;padding:24px 0 35px;z-index:4}
.story-step-controls{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--story-line,#8ae9ed30);padding-bottom:16px;margin-bottom:24px}
.story-step-controls button{font:12px Manrope,sans-serif;padding:7px 0;color:#96b2c0}
.story-step-controls button[aria-pressed=true]{color:#8ae9ed}
.story-step-controls>span{color:#5b8394}
.story-step-controls>a{margin-left:auto;font-size:11px;color:#8ae9ed}
.story-views{position:relative}
.story-view{margin-bottom:48px;scroll-margin-top:160px}
.story-view-heading{min-height:103px;max-width:980px;margin-bottom:20px}
.story-kicker{font:10px Plex,monospace;letter-spacing:.1em;color:#8ae9ed;margin-bottom:13px;text-transform:uppercase}
.story-view-problem .story-kicker{color:#ed998e}
.story-view h2{font-size:clamp(24px,2.6vw,38px);line-height:1.24;letter-spacing:-.04em;font-weight:400;color:#e3eff3}
.story-diagram{position:relative;min-height:290px;height:clamp(290px,36vw,370px);background:radial-gradient(ellipse at center,#12334555,transparent 67%);isolation:isolate}
.story-diagram:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#8ae9ed06 1px,transparent 1px),linear-gradient(90deg,#8ae9ed06 1px,transparent 1px);background-size:40px 40px;mask-image:radial-gradient(ellipse,#000,transparent 72%);z-index:-1}
.story-node-grid{height:100%;display:grid;grid-template-columns:repeat(var(--node-count,4),minmax(0,1fr));gap:20px 42px;align-items:center;position:relative;z-index:1;padding:28px 0}
.story-diagram[data-node-count="4"]{--node-count:4}.story-diagram[data-node-count="5"]{--node-count:5}.story-diagram[data-node-count="6"]{--node-count:6}
.story-node{position:relative;min-width:0;text-align:center;padding:10px 4px;align-self:center}
.story-node-icon{position:relative;width:76px;height:76px;margin:0 auto 15px;color:#8ae9ed;display:grid;place-items:center}
.story-node-icon svg{width:60px;height:60px;filter:drop-shadow(0 0 8px #8ae9ed25)}
.story-node-halo{position:absolute;inset:-8px;border:1px solid #8ae9ed18;border-radius:50%;transform:scale(.85)}
.story-node h3{font-size:clamp(13px,1.35vw,17px);line-height:1.4;color:#e3eff3;letter-spacing:-.02em;margin-bottom:8px;overflow-wrap:normal}
.story-node p{font-size:12px;line-height:1.55;color:#9cb9c7;max-width:180px;margin:auto}
.story-diagram[data-fixed=false] .story-node[data-risk=true] .story-node-icon{color:#ed998e}
.story-diagram[data-fixed=false] .story-node[data-risk=true] .story-node-halo{border-color:#ed998e66;transform:scale(1.04)}
.story-diagram[data-fixed=false] .story-node[data-arrival=true]{opacity:.5}
.story-diagram[data-mode=lanes] .story-node-grid,.story-diagram[data-mode=operations] .story-node-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr 1fr;column-gap:55px;row-gap:15px;padding:0}
.story-diagram[data-mode=lanes] .story-node:nth-child(1),.story-diagram[data-mode=operations] .story-node:nth-child(1){grid-column:1;grid-row:1}
.story-diagram[data-mode=lanes] .story-node:nth-child(2),.story-diagram[data-mode=operations] .story-node:nth-child(2){grid-column:1;grid-row:2}
.story-diagram[data-mode=lanes][data-node-count="6"] .story-node:nth-child(3),.story-diagram[data-mode=operations][data-node-count="6"] .story-node:nth-child(3){grid-column:2;grid-row:2}
.story-diagram[data-mode=lanes][data-node-count="6"] .story-node:nth-child(4),.story-diagram[data-mode=operations][data-node-count="6"] .story-node:nth-child(4){grid-column:2;grid-row:1}
.story-diagram[data-mode=lanes][data-node-count="6"] .story-node:nth-child(5),.story-diagram[data-mode=operations][data-node-count="6"] .story-node:nth-child(5){grid-column:3;grid-row:1 / span 2}
.story-diagram[data-mode=lanes][data-node-count="6"] .story-node:nth-child(6),.story-diagram[data-mode=operations][data-node-count="6"] .story-node:nth-child(6){grid-column:4;grid-row:1 / span 2}
.story-diagram[data-mode=lanes][data-node-count="5"] .story-node:nth-child(3),.story-diagram[data-mode=operations][data-node-count="5"] .story-node:nth-child(3){grid-column:2;grid-row:1 / span 2}
.story-diagram[data-mode=lanes][data-node-count="5"] .story-node:nth-child(4),.story-diagram[data-mode=operations][data-node-count="5"] .story-node:nth-child(4){grid-column:3;grid-row:1 / span 2}
.story-diagram[data-mode=lanes][data-node-count="5"] .story-node:nth-child(5),.story-diagram[data-mode=operations][data-node-count="5"] .story-node:nth-child(5){grid-column:4;grid-row:1 / span 2}
.story-diagram[data-mode=network] .story-node-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr 1fr;padding:0;row-gap:24px}
.story-diagram[data-mode=network] .story-node:nth-child(1){grid-column:1;grid-row:1/span 2}
.story-diagram[data-mode=network] .story-node:nth-child(2){grid-column:2;grid-row:1}
.story-diagram[data-mode=network] .story-node:nth-child(3){grid-column:2;grid-row:2}
.story-diagram[data-mode=network] .story-node:nth-child(4){grid-column:3;grid-row:1/span 2}
.story-diagram[data-mode=network] .story-node:nth-child(5){grid-column:4;grid-row:1/span 2}
.story-connections{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:0;pointer-events:none}
.story-connections path{fill:none;stroke-width:1.5;vector-effect:non-scaling-stroke}
.story-edge{stroke:#6496a7;opacity:.55}.story-edge[data-effect=keep]{stroke:#8ae9ed;opacity:.75}
.story-diagram[data-fixed=false] .story-edge[data-effect=block],.story-diagram[data-fixed=false] .story-edge[data-effect=remove]{stroke:#ed998e;opacity:.8}
.story-diagram[data-fixed=false] .story-edge[data-effect=connect]{stroke-dasharray:5 12}
.story-diagram[data-fixed=false] .story-edge[data-effect=backup]{stroke-dasharray:3 9;opacity:.16}
.story-diagram[data-fixed=true] .story-edge{stroke:#8ae9ed;opacity:.8}
.story-diagram[data-fixed=true] .story-edge[data-effect=remove]{opacity:.18;stroke-dasharray:3 9}
.story-diagram[data-fixed=true] .story-edge[data-effect=block]{stroke:#ed998e;opacity:.6}
.story-packet{fill:#b4fbff;filter:drop-shadow(0 0 4px #8ae9ed)}
.story-diagram[data-fixed=false] .story-packet[data-effect=block],.story-diagram[data-fixed=false] .story-packet[data-effect=remove]{fill:#ed998e}
.story-stop{stroke:#8ae9ed;stroke-width:3;fill:none;vector-effect:non-scaling-stroke}
.story-result{border-top:1px solid #8ae9ed24;padding-top:16px;margin-top:16px;font-size:14px;line-height:1.6;color:#b8d0da;max-width:100%}
.story-disclaimer{font:10px/1.6 Plex,monospace;color:#7798a9;margin-top:15px}
.story-chart{display:grid;grid-template-columns:145px 1fr 100px;align-items:end;gap:20px;position:absolute;bottom:0;left:0;right:0;height:55px;font:9px Plex,monospace;color:#8faebd;z-index:2;background:#030a10}
.story-chart-bars{height:50px;display:flex;gap:16px;align-items:end}.story-chart-bars>div{flex:1;display:flex;gap:4px;align-items:end;height:100%}.story-chart-bars i,.story-chart-bars b{display:block;width:50%;height:var(--bar);background:#8ae9ed77;border-top:1px solid #8ae9ed}.story-chart-bars b{background:#ed998e55;border-color:#ed998e}.story-diagram[data-fixed=true] .story-chart-bars b{background:#b2edc377;border-color:#b2edc3}.story-chart small{font-size:8px}.story-diagram:has(.story-chart) .story-node-grid{padding-bottom:70px}
.story-progress{display:none}
/* Only pin when there is enough space, motion is allowed, and JS is ready. */
.solution-scroll-story.is-scroll{height:calc(var(--story-stage-height)*4.8)}
.is-scroll .story-stage{position:sticky;top:var(--story-nav-height);height:var(--story-stage-height);overflow:clip}
.is-scroll .story-hero{height:100%;padding-bottom:0;opacity:var(--hero-opacity,1);transform:translateY(calc(var(--hero-lift,0)*-1px));pointer-events:var(--hero-events,auto)}
.is-scroll .story-hero-layout{height:calc(100% - 100px);min-height:0}
.is-scroll .story-emblem{top:var(--emblem-top);left:var(--emblem-left);right:auto;width:var(--emblem-width)}
.is-scroll .story-scroll-hint{position:absolute;bottom:18px;left:0;right:0}
.is-scroll .story-visual-stage{position:absolute;inset:18px 0 24px;padding:0;margin:0 auto;display:flex;flex-direction:column;opacity:var(--visual-opacity,0);transform:translateY(calc(var(--visual-lift,100)*1px));pointer-events:var(--visual-events,none)}
.is-scroll .story-views{flex:1;min-height:0;display:grid}
.is-scroll .story-view{grid-area:1/1;min-height:0;margin:0;display:flex;flex-direction:column;opacity:var(--problem-opacity,1)}
.is-scroll .story-view-fix{opacity:var(--fix-opacity,0);pointer-events:none}
.is-scroll .story-view-heading{flex:none;min-height:92px;margin-bottom:12px}
.is-scroll .story-diagram{flex:1;min-height:0;height:auto;max-height:440px}
.is-scroll .story-result{flex:none;font-size:13px;margin-top:12px;padding-top:12px}
.is-scroll .story-disclaimer{flex:none;margin-top:12px}
.is-scroll .story-progress{display:block;position:absolute;bottom:0;left:0;right:0;height:2px;background:#8ae9ed0a}
.is-scroll .story-progress i{display:block;transform-origin:left;width:100%;height:100%;background:#8ae9ed;transform:scaleX(var(--story-progress,0))}
.is-scroll .story-step-controls{flex:none;margin-bottom:18px;padding-bottom:11px}
.story-review-list article{display:flex;justify-content:space-between;gap:25px;padding:23px 0;border-bottom:1px solid #8ae9ed2a}.story-review-list h3{font-size:20px}.story-review-list p{font-size:12px;color:#9cb9c7;margin-top:8px}.story-review-list article>div:last-child{display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:11px;color:#8ae9ed}
.story-layout-lab{padding-top:40px}.story-layout-lab>article{margin-top:70px}.story-layout-lab .story-view{padding:25px 0;border-bottom:1px solid #8ae9ed44}
@media(max-width:1150px){.story-node-grid{gap:18px 27px}.story-node h3{font-size:14px}.story-node p{font-size:11px}.story-hero-copy h1{font-size:clamp(36px,4.3vw,51px)}.story-hero-layout{gap:25px}.story-node-icon{width:52px;height:52px;margin-bottom:10px}.story-node-icon svg{width:43px;height:43px}.story-visual-stage{width:calc(100% - 64px)}}
@media(max-width:950px){.story-node-grid,.story-diagram[data-mode] .story-node-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr 1fr;gap:18px 38px;padding:5px 0}.story-diagram[data-mode] .story-node{grid-column:auto;grid-row:auto}.story-diagram{height:360px;min-height:340px}.story-diagram:has(.story-chart){min-height:390px}.is-scroll .story-diagram{min-height:0}.story-hero-copy .hero-actions{gap:12px}.story-hero-copy .hero-actions a{font-size:11px}.story-hero-layout{width:calc(100% - 64px)}.story-emblem-anchor{height:340px}.story-view h2{font-size:27px}.story-result{font-size:12px}.story-view-heading{min-height:110px}}
@media(max-width:760px){.story-breadcrumb .breadcrumbs{width:calc(100% - 36px);padding-block:12px;font-size:9px;line-height:1.6}.story-hero-layout{width:calc(100% - 36px);grid-template-columns:1fr;gap:10px;min-height:0;padding-top:15px}.story-hero-copy h1{font-size:clamp(31px,5.8vw,42px);margin:14px 0}.story-hero-copy .eyebrow{font-size:9px}.story-lead{font-size:13px;line-height:1.7;max-width:600px}.story-hero-copy .hero-actions{margin-top:18px;gap:18px}.story-hero-copy .hero-actions .btn{min-height:40px;padding:11px 15px}.story-emblem-anchor{height:230px}.story-emblem{width:230px;top:auto;bottom:36px;right:calc(50% - 115px)}.story-scroll-hint{width:calc(100% - 36px);font-size:8px}.story-visual-stage{width:calc(100% - 36px)}.story-node-grid,.story-diagram[data-mode] .story-node-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,1fr);gap:12px 36px;padding:4px 0}.story-diagram[data-node-count="4"] .story-node-grid{grid-template-rows:repeat(2,1fr)}.story-diagram{min-height:360px;height:380px}.story-node{padding:5px 2px}.story-node-icon{width:38px;height:38px;margin-bottom:6px}.story-node-icon svg{width:34px;height:34px}.story-node h3{font-size:13px;margin-bottom:4px}.story-node p{font-size:11px;line-height:1.4;max-width:190px}.story-node-halo{inset:-3px}.story-step-controls{gap:14px;margin-bottom:18px;padding-bottom:13px}.story-step-controls button{font-size:11px}.story-step-controls a{font-size:9px}.story-view h2{font-size:24px;line-height:1.25}.story-view-heading{min-height:105px}.story-kicker{font-size:9px;margin-bottom:10px}.story-result{font-size:12px}.story-disclaimer{font-size:8px;line-height:1.5}.story-chart{grid-template-columns:78px 1fr;gap:10px;font-size:8px;height:40px}.story-chart-bars{gap:6px;height:36px}.story-chart small{display:none}.story-diagram:has(.story-chart) .story-node-grid{padding-bottom:49px}.story-review-list article{display:block}.story-review-list article>div:last-child{margin-top:15px}.is-scroll .story-hero-layout{height:calc(100% - 70px);display:flex;flex-direction:column;justify-content:center;padding-top:0;gap:8px}.is-scroll .story-hero-copy{width:100%}.is-scroll .story-emblem-anchor{height:clamp(160px,26svh,240px);flex-shrink:1;width:100%;min-height:145px}.is-scroll .story-visual-stage{inset:14px 0 18px}.is-scroll .story-view-heading{min-height:108px;margin-bottom:6px}.is-scroll .story-step-controls{margin-bottom:14px}.is-scroll .story-result{font-size:11px;margin-top:9px;padding-top:9px}.is-scroll .story-disclaimer{margin-top:8px}.is-scroll .story-diagram{max-height:440px}}
@media(max-width:380px){.story-hero-copy h1{font-size:30px}.story-lead{font-size:12px}.story-node h3{font-size:12px}.story-node p{font-size:10px}.story-view h2{font-size:22px}.story-step-controls{gap:10px}}
@media print{.solution-scroll-story.is-scroll{height:auto!important}.is-scroll .story-stage{height:auto!important;position:static;overflow:visible}.story-hero{opacity:1!important;transform:none!important}.story-emblem,.story-scroll-hint,.story-step-controls,.story-progress{display:none!important}.is-scroll .story-hero-layout{display:block;height:auto}.story-emblem-anchor{display:none}.is-scroll .story-visual-stage{position:static;opacity:1!important;transform:none!important}.is-scroll .story-views{display:block}.is-scroll .story-view{opacity:1!important;display:block;break-inside:avoid}.is-scroll .story-diagram{height:320px}.story-disclaimer{color:#555}}

.is-scroll .emblem-fallback{transform:scale(var(--fallback-grow,1));opacity:var(--fallback-opacity,1)}
@media(max-width:760px){.story-emblem{position:relative;top:auto;bottom:auto;right:auto;margin:-255px auto 45px}.is-scroll .story-emblem{position:absolute;margin:0;top:var(--emblem-top);left:var(--emblem-left)}}

/* Keep narrative labels crisp while the graph itself morphs between states. */
.is-scroll .story-view-problem :is(.story-view-heading,.story-result,.story-node h3,.story-node p){opacity:var(--problem-copy-opacity,1)}
.is-scroll .story-view-fix :is(.story-view-heading,.story-result,.story-node h3,.story-node p){opacity:var(--fix-copy-opacity,0)}
.story-node h3,.story-node p{position:relative;background:#030a10;border-radius:4px}
.story-node-icon{background:radial-gradient(circle,#0b202b 20%,#030a10 68%,transparent 70%)}
.story-emblem .emblem-caption{display:none}
.story-node h3,.story-node p{width:fit-content;max-width:100%;margin-left:auto;margin-right:auto;padding-inline:3px}
@media(max-width:950px){.story-diagram[data-mode][data-node-count] .story-node:nth-child(n){grid-column:auto;grid-row:auto}}
.story-emblem .emblem-loading{display:none}

.is-scroll .story-diagram{max-height:none}
