/* Four coordinated palettes are selected at random for each new scene run. */
.hero-art{--scene-ink:#715181;--scene-muted:#a18aaa;--scene-accent:#a080b5;--scene-deep:#826095;--scene-line:#decee9;--scene-soft:#f3ecf8;--scene-mid:#dfcaed;--scene-strong:#b092c8;--scene-surface:#fcf9fe;--scene-pale:#f8f3fc;--scene-success:#8a9e7e;--scene-danger:#b78d8b;color:var(--scene-accent)}
.hero-art[data-palette="lagoon"]{--scene-ink:#4c7474;--scene-muted:#88a4a0;--scene-accent:#7ba7a0;--scene-deep:#54877f;--scene-line:#d2e2de;--scene-soft:#edf6f2;--scene-mid:#cce3d8;--scene-strong:#8ebbae;--scene-surface:#f9fdfb;--scene-pale:#f3faf6;--scene-success:#8a9f78;--scene-danger:#bc9690}
.hero-art[data-palette="amber"]{--scene-ink:#856c4b;--scene-muted:#ad9a7d;--scene-accent:#b69b70;--scene-deep:#a38255;--scene-line:#e7ddc9;--scene-soft:#faf4e9;--scene-mid:#ecddbf;--scene-strong:#c6aa7a;--scene-surface:#fffdf8;--scene-pale:#fbf7ef;--scene-success:#94a17d;--scene-danger:#bb8b7e}
.hero-art[data-palette="rose"]{--scene-ink:#896575;--scene-muted:#b29aa5;--scene-accent:#bd95a9;--scene-deep:#a2768e;--scene-line:#ebd9e2;--scene-soft:#fbf1f5;--scene-mid:#ecd2df;--scene-strong:#c29bb1;--scene-surface:#fffafd;--scene-pale:#fcf5f8;--scene-success:#94a08a;--scene-danger:#bc8e8c}
.service-canvas{overflow:visible;position:absolute;top:60px;left:0;width:100%;height:calc(100% - 260px);padding:0}
.hero-service-panel{left:50%;bottom:39px;transform:translateX(-50%)}
.art-caption{right:50%;transform:translateX(50%);bottom:13px;white-space:nowrap}
.art-halo{background:radial-gradient(ellipse,color-mix(in srgb,var(--scene-mid) 50%,transparent),transparent 68%);transition:background 1s}
.scene-orbit{stroke:var(--scene-line);stroke-width:.7;stroke-dasharray:3 7;opacity:.5}
.service-scene{opacity:0;visibility:hidden;transform:translateY(7px) scale(.985);transform-origin:310px 280px;transition:opacity .45s ease,transform .65s cubic-bezier(.2,.7,.2,1),visibility .45s;pointer-events:none}
.service-scene.is-active{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.scene-card{fill:url(#scene-surface);stroke:var(--scene-line);stroke-width:1;filter:url(#scene-shadow)}
.scene-card-accent{fill:url(#scene-core);stroke:var(--scene-accent);stroke-width:.7;filter:url(#scene-shadow)}
.scene-surface-start{stop-color:#fff}.scene-surface-end{stop-color:var(--scene-surface)}.scene-core-start{stop-color:var(--scene-soft)}.scene-core-end{stop-color:var(--scene-mid)}
.scene-icon{fill:none;stroke:var(--scene-accent);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.scene-label-text{font:8px var(--font);fill:var(--scene-muted);letter-spacing:.1px;stroke:none}
.scene-node-title{font:600 9px var(--display);fill:var(--scene-ink);letter-spacing:.45px;stroke:none}
.scene-kicker{font:6.7px var(--font);letter-spacing:1.35px;fill:var(--scene-muted);stroke:none}
.scene-caption{font:6.3px var(--font);letter-spacing:1.1px;fill:var(--scene-muted);stroke:none}
.scene-type{font:48px Georgia,serif;fill:var(--scene-accent);stroke:none}.scene-success{font:7px var(--font);letter-spacing:.7px;fill:var(--scene-success);stroke:none}
.scene-status{fill:var(--scene-accent);stroke:#fff;stroke-width:2}
.scene-divider,.scene-document-line{stroke:var(--scene-line);stroke-width:1;stroke-linecap:round}.scene-document-line{stroke-width:4}
.scene-chart-grid{stroke:var(--scene-line);stroke-width:.6}.scene-chart{stroke:var(--scene-accent);stroke-width:2;fill:none;stroke-dasharray:1;stroke-dashoffset:1}
.scene-wire{fill:none;stroke:var(--scene-line);stroke-width:1.2;stroke-dasharray:1;stroke-dashoffset:1}
.scene-packet{fill:var(--scene-accent);stroke:#fff;stroke-width:1.5;opacity:0;offset-distance:0%;offset-rotate:0deg}
.scene-piece{opacity:1;transform:none}
.is-active .scene-piece{animation:scene-build .75s cubic-bezier(.2,.7,.2,1) calc(var(--piece,0)*140ms) both}
.is-active .scene-wire{animation:scene-wire-in 1.2s ease calc(var(--wire-delay,0ms) + 300ms) both}
.is-active .scene-packet{animation:scene-request 4.4s ease-in-out var(--packet-delay,1s) infinite}
.is-active .scene-chart{animation:scene-wire-in 1.5s ease .8s both}
.scene-token{fill:var(--scene-mid);transform-box:fill-box;transform-origin:left;transform:scaleX(0)}
.is-active .scene-token{animation:scene-token-in .45s ease calc(1s + var(--token,0)*.2s) both}
.security-boundary{stroke:var(--scene-line);stroke-width:1;stroke-dasharray:5 6;fill:var(--scene-pale)}
.security-inner{stroke:var(--scene-line);stroke-width:1;fill:none}.is-active .security-boundary{animation:security-perimeter 28s linear infinite}
/* Suspend motion only while the hero is offscreen or the tab is hidden. */
.scene-offscreen .service-scene *{animation-play-state:paused!important}

@keyframes scene-build{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes scene-wire-in{to{stroke-dashoffset:0}}@keyframes scene-request{0%,12%{offset-distance:0%;opacity:0}20%{opacity:1}72%{offset-distance:100%;opacity:1}80%,100%{offset-distance:100%;opacity:0}}
@keyframes scene-token-in{to{transform:scaleX(1)}}@keyframes security-perimeter{to{stroke-dashoffset:-110}}
/* A projected globe: geography, great-circle routing and region activity. */
.network-globe{fill:url(#network-globe-fill);stroke:none}.globe-light{stop-color:var(--scene-surface)}.globe-mid{stop-color:var(--scene-mid)}.globe-dark{stop-color:var(--scene-strong)}
.globe-ground{fill:var(--scene-line);opacity:.25;filter:blur(7px)}.globe-edge{fill:none;stroke:#fff;stroke-opacity:.7;stroke-width:1}
.cloud-grid-back{fill:none;stroke:var(--scene-deep);stroke-width:.5;opacity:.08}.cloud-grid-front{fill:none;stroke:#fff;stroke-width:.65;opacity:.55}

.cloud-routes-back{fill:none;stroke:var(--scene-accent);stroke-width:.8;opacity:.12}.cloud-routes-front{fill:none;stroke:var(--scene-deep);stroke-width:1;stroke-dasharray:3 4;opacity:.7}
.cloud-hub-halo{fill:var(--scene-accent);fill-opacity:.14;stroke:var(--scene-accent);stroke-width:.5;stroke-opacity:.35}.cloud-hub-dot{fill:var(--scene-deep);stroke:#fff;stroke-width:1.5}.cloud-flow{fill:#fff;stroke:var(--scene-deep);stroke-width:1.5}.cloud-callout{fill:none;stroke:var(--scene-line);stroke-width:.8}
/* Security: identity, scoped access, a rejected request and an audit trail. */
.policy-row-bg{fill:var(--scene-pale);stroke:var(--scene-line);stroke-width:.5}.policy-check{fill:none;stroke:var(--scene-success);stroke-width:1.5}
.is-active .policy-row{animation:policy-verify 8.8s ease calc(var(--stage)*.4s) infinite}.authorized-flow.scene-packet{fill:var(--scene-success)}
.blocked-route{fill:none;stroke:var(--scene-danger);stroke-opacity:.35;stroke-width:1;stroke-dasharray:3 4}.blocked-packet{fill:var(--scene-danger);stroke:#fff;stroke-width:1.2;offset-distance:0%;opacity:0}
.is-active .blocked-packet{animation:request-rejected 8.8s ease infinite}.security-block-disc{fill:var(--scene-surface);stroke:var(--scene-danger);stroke-width:.8}.security-block-cross{stroke:var(--scene-danger);stroke-width:1.2}.is-active .security-block{animation:boundary-decision 8.8s ease infinite}
@keyframes policy-verify{0%,10%{opacity:.45}25%,88%{opacity:1}100%{opacity:.45}}
@keyframes request-rejected{0%,18%{opacity:0;offset-distance:0%}24%{opacity:1;offset-distance:0%}43%,50%{opacity:1;offset-distance:94%}60%,100%{opacity:0;offset-distance:94%}}
@keyframes boundary-decision{0%,35%{opacity:.2}43%,65%{opacity:1}90%,100%{opacity:.2}}
/* DevOps: review, automated gates, immutable artifact and controlled rollout. */
.branch-line{fill:none;stroke:var(--scene-accent);stroke-width:1.2;opacity:.55}.commit-dot{fill:var(--scene-surface);stroke:var(--scene-accent);stroke-width:1.5}
.pipeline-row-bg{fill:var(--scene-pale);stroke:var(--scene-line);stroke-width:.5}.pipeline-track{fill:var(--scene-line)}.pipeline-progress{fill:var(--scene-accent);transform-box:fill-box;transform-origin:left;transform:scaleX(0)}
.is-active .pipeline-progress{animation:ci-progress 8.8s ease calc(var(--stage)*.65s) infinite}
.release-instance{fill:var(--scene-soft);stroke:var(--scene-line);stroke-width:.8}.is-active .release-instance{animation:canary-rollout 8.8s ease calc(var(--stage)*.45s) infinite}
.release-production{fill:var(--scene-pale);stroke:var(--scene-line);stroke-width:1}.is-active .release-production{animation:production-ready 8.8s ease infinite}
@keyframes ci-progress{0%,8%{transform:scaleX(0)}22%,85%{transform:scaleX(1)}100%{transform:scaleX(0)}}
@keyframes canary-rollout{0%,43%{fill:var(--scene-soft);stroke:var(--scene-line)}55%,88%{fill:var(--scene-mid);stroke:var(--scene-accent)}100%{fill:var(--scene-soft);stroke:var(--scene-line)}}
@keyframes production-ready{0%,66%{fill:var(--scene-pale);stroke:var(--scene-line)}76%,92%{fill:var(--scene-soft);stroke:var(--scene-success)}100%{fill:var(--scene-pale);stroke:var(--scene-line)}}
/* Payments: a card leaves the wallet, taps, authorises, then creates a receipt. */
.payment-card-back{fill:var(--scene-pale);stroke:var(--scene-line);stroke-width:1}.payment-card-middle{fill:var(--scene-soft);stroke:var(--scene-line);stroke-width:1}.payment-card-front{fill:url(#scene-core);stroke:var(--scene-accent);stroke-width:.8;filter:url(#scene-shadow)}
.payment-card-brand{font:7px var(--display);font-weight:600;letter-spacing:1.5px;fill:var(--scene-ink);stroke:none}.payment-card-number{font:10px monospace;fill:var(--scene-ink);stroke:none;letter-spacing:.5px}
.payment-chip{fill:var(--scene-surface);stroke:var(--scene-accent);stroke-width:.7}.payment-chip-line,.card-contactless{fill:none;stroke:var(--scene-accent);stroke-width:.8}
.terminal-screen{fill:var(--scene-pale);stroke:var(--scene-line);stroke-width:.7}.terminal-key{fill:var(--scene-soft);stroke:var(--scene-line);stroke-width:.5}
.is-active .payment-card-use{animation:card-tap 8.8s cubic-bezier(.3,.65,.2,1) infinite;transform-origin:170px 235px}
.tap-wave{fill:none;stroke:var(--scene-accent);stroke-width:1.3;opacity:0}.is-active .tap-wave{animation:contactless-tap 8.8s ease calc(var(--wave)*.12s) infinite}
.payment-approved{opacity:0}.payment-approved .scene-node-title{fill:var(--scene-success)}.payment-approved .scene-icon{stroke:var(--scene-success)}
.is-active .payment-approved{animation:payment-authorised 8.8s ease infinite}.is-active .payment-prompt{animation:payment-prompt 8.8s ease infinite}
.receipt-paper{fill:var(--scene-surface);stroke:var(--scene-line);stroke-width:.8}.payment-receipt{opacity:0;transform:translateY(-10px)}.is-active .payment-receipt{animation:receipt-created 8.8s ease infinite}
@keyframes card-tap{0%,12%{transform:translate(0,0) rotate(0deg)}34%,52%{transform:translate(111px,29px) rotate(7deg)}74%,100%{transform:translate(0,0) rotate(0deg)}}
@keyframes contactless-tap{0%,29%{opacity:0}37%,47%{opacity:1}58%,100%{opacity:0}}
@keyframes payment-authorised{0%,49%{opacity:0}55%,88%{opacity:1}100%{opacity:0}}
@keyframes payment-prompt{0%,45%{opacity:1}51%,90%{opacity:0}100%{opacity:1}}
@keyframes receipt-created{0%,57%{opacity:0;transform:translateY(-12px)}68%,89%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(0)}}
/* The supporting hero panel follows the selected scene palette. */
.hero-service-panel{border-color:var(--scene-line);background:color-mix(in srgb,var(--scene-surface) 94%,transparent)}.spotlight-icon{background:var(--scene-soft);border-color:var(--scene-line);color:var(--scene-accent)}
.spotlight-text h3{color:var(--scene-ink)}.spotlight-text p,.spotlight-top{color:var(--scene-muted)}.spotlight-count b{color:var(--scene-ink)}
.spotlight-top .status-dot{background:var(--scene-accent);box-shadow:0 0 0 3px var(--scene-pale)}.spotlight-bottom{border-color:var(--scene-line)}
.spotlight-segment:before{background:var(--scene-line)}.spotlight-segment i{background:var(--scene-accent)}.spotlight-segment[aria-pressed=true]:before{background:var(--scene-mid)}.spotlight-segment[aria-pressed=true] i{background:var(--scene-deep)}.spotlight-bottom>a{color:var(--scene-deep)}
/* Six delivery stages, with tangible decisions and handover artifacts. */
.process-layout{align-items:start}.process-intro{position:sticky;top:45px}.process h2{font-size:43px;line-height:1.16;max-width:430px}.process-intro>p{max-width:350px}
.process-principles{margin-top:48px;border-top:1px solid #48404f;padding-top:23px;max-width:350px}.process-principles>span{font-size:7px;letter-spacing:1.15px;color:#9784a5;display:block;margin-bottom:23px}.process-principles>div{display:flex;align-items:center;gap:14px;font-size:11px;color:#c2afcf;margin:15px 0}.process-principles i{font:8px monospace;color:#887096;font-style:normal}
.step>button{font-size:20px;gap:23px}.process-points{list-style:none;padding:0;margin:0 0 27px;display:grid;gap:19px;counter-reset:point}.process-points li{position:relative;padding-left:19px;counter-increment:point}.process-points li:before{content:'↗';position:absolute;left:0;top:0;font-size:11px;color:#a186b5}.process-points strong{display:block;font-size:11px;font-weight:500;color:#c5b2d3;line-height:1.6;margin-bottom:5px}.process-points span{display:block;font-size:10px;color:#9d89ac;line-height:1.8}.step-content>p{margin-bottom:25px}
.process-outcome{border:1px solid #4f405a;border-radius:8px;padding:17px 19px;background:#302836}.process-outcome>span{display:block;font-size:6px;letter-spacing:1.1px;color:#a78bb9;margin-bottom:8px}.process-outcome>p{font-size:11px;line-height:1.8;color:#c1a9d2;margin:0}
@media(max-width:1150px){.service-canvas{top:45px;height:calc(100% - 235px)}.hero-service-panel{left:50%;bottom:34px}.art-caption{right:50%;bottom:11px}.process h2{font-size:36px}.step>button{font-size:18px}}
@media(max-width:900px){.service-canvas{top:35px;height:calc(100% - 210px)}.hero-service-panel{left:50%;bottom:30px}.art-caption{right:50%;bottom:10px}.process h2{font-size:33px}.step>button{font-size:16px;gap:16px}.process-points li{padding-left:15px}.process-outcome{padding:14px}.process-intro{top:30px}}
@media(max-width:640px){.service-canvas{top:37px;height:calc(100% - 208px);margin:0}.hero-service-panel{left:50%;bottom:27px}.art-caption{right:50%;bottom:5px}.scene-kicker{font-size:7px;letter-spacing:.8px}.scene-caption{font-size:6.5px;letter-spacing:.6px}.process-intro{position:static}.process h2{font-size:37px}.process-principles{margin-top:30px;padding-top:19px}.process-principles>span{font-size:6px;margin-bottom:17px}.process-principles>div{font-size:10px;margin:12px 0}.step>button{font-size:20px;gap:20px}.process-points strong{font-size:11px}.process-points span{font-size:10px}.process-outcome>p{font-size:10px}}
@media(prefers-reduced-motion:reduce){.service-scene{transition:none;transform:none}.service-scene.is-active .scene-piece{opacity:1;transform:none}.is-active .scene-wire,.is-active .scene-chart{stroke-dashoffset:0}.is-active .scene-token{transform:scaleX(1)}.scene-packet,.blocked-packet,.tap-wave{display:none}.pipeline-progress{transform:scaleX(1)}.payment-card-use{transform:none}.payment-prompt{display:none}.payment-approved,.payment-receipt{opacity:1;transform:none}}
