/* One open scene: the copy and workflow share the same light and connecting path. */
.hero-grid{position:relative;isolation:isolate;gap:56px}
.hero-grid::before{content:'';position:absolute;z-index:-1;pointer-events:none;inset:-80px -14vw -12px;background:radial-gradient(ellipse at 81% 43%,#b8b4ff45 0%,#dedaff29 28%,transparent 58%),radial-gradient(ellipse at 56% 78%,#d8e9ff38 0%,transparent 55%)}
.hero-copy{position:relative;z-index:2}
.flow-hero{--flow-cycle:8s;position:relative;z-index:1;width:100%;min-width:0;overflow:visible;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.flow-scene{position:relative;height:440px;width:100%;min-width:0}
.flow-routes{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.flow-route,.flow-bridge-track{stroke:#c6bcef;stroke-width:1.5;vector-effect:non-scaling-stroke}
.flow-packet,.flow-bridge-signal{stroke:#795aff;stroke-width:3.5;stroke-linecap:round;stroke-dasharray:16 116;stroke-dashoffset:16;opacity:0;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 4px #7b61ff50)}
.flow-packet-in{animation:flow-in var(--flow-cycle) linear infinite both}
.flow-packet-out{animation:flow-out var(--flow-cycle) linear infinite both}
.flow-bridge{max-width:none;position:absolute;z-index:-1;overflow:visible;pointer-events:none;visibility:hidden}
.flow-bridge.is-ready{visibility:visible}
.flow-bridge-track{stroke:#dcd5f5}
.flow-bridge-signal{stroke-width:2.5;stroke-dasharray:10 110;animation:flow-bridge var(--flow-cycle) linear infinite both}
.flow-bridge-origin{fill:#b3a3ed;stroke:#fff;stroke-width:2}
.hero-flow-node{position:absolute;z-index:1;width:166px;transform:translateX(-50%);text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;padding-top:45px}
.hero-flow-node>strong{font-size:1rem;font-weight:600;line-height:1.4;letter-spacing:-.025em;color:var(--ink)}
.hero-flow-node>span:not(.flow-node-orb){font-size:.875rem;line-height:1.5;color:var(--muted)}
.flow-entry{left:16%;top:calc(100% * 100 / 440)}
.flow-engine{left:52%;top:50%;width:196px;padding-top:80px}
.flow-result{left:84%;top:calc(100% * 340 / 440)}
.flow-node-orb{position:absolute;left:50%;top:0;transform:translate(-50%,-50%);display:grid;place-items:center;width:60px;height:60px;border:1px solid #ddd7f0;border-radius:50%;background:#fff;color:#6846ed;box-shadow:0 6px 20px #5447800a}
.flow-node-orb>svg{width:25px;height:25px}
.flow-entry .flow-node-orb{animation:flow-receive var(--flow-cycle) ease-in-out infinite both}
.flow-engine>.flow-node-orb{width:112px;height:112px;border:0;color:#fff;background:linear-gradient(145deg,#7854ff,#4d2cff 70%);box-shadow:0 14px 36px #4d2cff25,inset 0 1px 1px #ffffff6b;animation:flow-activate var(--flow-cycle) ease-in-out infinite both}
.flow-engine>.flow-node-orb>.brand-mark{width:62px;height:62px;position:relative}
.flow-engine .hero-loop-highlight{stroke:#cec2ff;stroke-dasharray:45 300;animation:flow-loop var(--flow-cycle) linear infinite both}
.flow-engine>.flow-node-orb>.flow-orbit{max-width:none;position:absolute;inset:-16px;width:144px;height:144px;overflow:visible}
.flow-orbit-track{stroke:#dcd2ff;stroke-width:1}
.flow-orbit-signal{stroke:#9d85f7;stroke-width:2;stroke-linecap:round;stroke-dasharray:12 88;transform-origin:72px 72px;animation:flow-orbit 8s linear infinite}
.flow-engine>strong{font-size:1.125rem;letter-spacing:-.03em}
.flow-result .flow-node-orb{animation:flow-result var(--flow-cycle) ease-in-out infinite both}
.flow-done-base{stroke:#97aaad;opacity:.6}
.flow-done-trace{stroke:#168052;stroke-dasharray:20;stroke-dashoffset:0;animation:flow-check var(--flow-cycle) ease-in-out infinite both}
.flow-hero-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;margin-top:18px;font-size:.875rem;line-height:1.5;color:var(--muted)}
.flow-hero-footer>span{display:inline-flex;align-items:center;gap:8px}
.flow-hero-footer>span>svg{width:18px;height:18px;flex:none;color:#6a5a94}
.about-art .flow-hero{max-width:600px;margin-inline:auto}
@keyframes flow-bridge{0%{stroke-dashoffset:10;opacity:0}2%{opacity:1}23%{stroke-dashoffset:-100;opacity:1}26%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes flow-in{0%,21%{stroke-dashoffset:16;opacity:0}23%{opacity:1}44%{stroke-dashoffset:-100;opacity:1}47%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes flow-out{0%,54%{stroke-dashoffset:16;opacity:0}56%{opacity:1}78%{stroke-dashoffset:-100;opacity:1}81%,100%{stroke-dashoffset:-100;opacity:0}}
@keyframes flow-receive{0%,15%,45%,100%{border-color:#ddd7f0;box-shadow:0 6px 20px #5447800a}21%,31%{border-color:#a38aff;box-shadow:0 0 0 6px #7b61ff0a,0 8px 24px #7b61ff16}}
@keyframes flow-activate{0%,38%,69%,100%{box-shadow:0 14px 36px #4d2cff25,inset 0 1px 1px #ffffff6b}45%,57%{box-shadow:0 0 0 8px #7b61ff0a,0 16px 48px #4d2cff45,inset 0 1px 1px #ffffff6b}}
@keyframes flow-loop{0%,36%{stroke-dashoffset:300;opacity:0}40%{opacity:1}60%{stroke-dashoffset:0;opacity:1}65%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes flow-orbit{to{transform:rotate(360deg)}}
@keyframes flow-result{0%,72%,100%{background:#fff;border-color:#ddd7f0;box-shadow:0 6px 20px #5447800a}81%,96%{background:#e9f7ef;border-color:#aedbc4;box-shadow:0 0 0 6px #16805208,0 8px 24px #1680520c}}
@keyframes flow-check{0%,74%{stroke-dashoffset:20;opacity:0}76%{stroke-dashoffset:20;opacity:1}85%,96%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
.flow-hero.is-outside *,.flow-hero.is-outside *::before,.flow-hero.is-outside *::after,.tab-inactive .flow-hero *,.tab-inactive .flow-hero *::before,.tab-inactive .flow-hero *::after{animation-play-state:paused!important}
.motion-paused .flow-hero *,.motion-paused .flow-hero *::before,.motion-paused .flow-hero *::after{animation:none!important}
.motion-paused .flow-packet,.motion-paused .flow-bridge-signal,.motion-paused .flow-orbit-signal,.motion-paused .flow-engine .hero-loop-highlight{display:none}
.motion-paused .flow-result .flow-node-orb{background:#e9f7ef;border-color:#aedbc4}
.motion-paused .flow-done-trace{stroke-dashoffset:0;opacity:1}
@media(max-width:1100px){.hero-grid{gap:36px}.hero-flow-node{width:150px}.flow-engine{width:180px}.flow-hero-footer{justify-content:center;gap:0 16px}}
@media(max-width:960px){
  .hero-grid{gap:30px}
  .hero-grid::before{inset:-50px -12vw -10px;background:radial-gradient(ellipse at 65% 65%,#b8b4ff38,transparent 64%)}
  .flow-hero{max-width:600px;justify-self:center}
  .flow-bridge,.flow-bridge.is-ready{display:none}
  .flow-hero-footer{justify-content:space-between}
  .flow-packet-in{animation-delay:-1.6s}.flow-packet-out,.flow-entry .flow-node-orb,.flow-engine .flow-node-orb,.flow-engine .hero-loop-highlight,.flow-result .flow-node-orb,.flow-done-trace{animation-delay:-1.6s}
}
@media(max-width:700px){
  .flow-scene{height:420px}
  .flow-hero-footer{justify-content:center;gap:0 12px;margin-top:36px}
  .hero-flow-node{width:132px}.flow-engine{width:180px;padding-top:73px}
  .hero-flow-node>span:not(.flow-node-orb){max-width:130px}
  .flow-engine>.flow-node-orb{width:100px;height:100px}
  .flow-engine>.flow-node-orb>.brand-mark{width:56px;height:56px}
  .flow-engine>.flow-node-orb>.flow-orbit{inset:-14px;width:128px;height:128px}
}
@media(max-width:440px){
  .flow-entry{left:19%}.flow-result{left:81%}
  .hero-flow-node{width:122px}.flow-engine{width:164px}
  .hero-flow-node>span:not(.flow-node-orb){display:none}
  .flow-engine{padding-top:60px}
  .flow-entry .flow-node-orb,.flow-result .flow-node-orb{width:54px;height:54px}
  .hero-flow-node>strong{font-size:.9375rem}.flow-engine>strong{font-size:1rem}
}
@media(prefers-reduced-motion:reduce){
  .flow-hero *,.flow-hero *::before,.flow-hero *::after{animation:none!important}
  .flow-packet,.flow-bridge-signal,.flow-orbit-signal,.flow-engine .hero-loop-highlight{display:none}
  .flow-result .flow-node-orb{background:#e9f7ef;border-color:#aedbc4}
  .flow-done-trace{stroke-dashoffset:0;opacity:1}
}
