/* Live logos over the selected art direction; each original entry is rendered once. */
#ecosystem{padding:0;overflow:hidden;background:#090909;isolation:isolate}
.ecosystem-design{position:relative;min-width:0}
.eco-heading{position:relative;z-index:2;padding:0;margin:0}
.eco-eyebrow{display:block;color:var(--accent);font-size:11px;letter-spacing:.5em;margin-bottom:18px}
.eco-heading h2{font:500 clamp(38px,5vw,72px)/1.25 "Songti SC","Noto Serif SC",Georgia,serif;color:var(--ink);margin:0 0 22px}
.eco-heading>p{max-width:430px;font-size:14px;line-height:1.9;color:var(--muted)}
.eco-resource-count{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:12px;margin-top:22px}
.eco-resource-count strong{font:400 30px/1.2 Georgia,serif;color:var(--accent);padding-right:18px;border-right:1px solid var(--line)}
.eco-tile{box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;min-width:0;overflow:visible;border:1px solid rgb(var(--eco-rgb)/.42);border-radius:8px;background:#10100fe8;box-shadow:inset 0 1px 1px #ffffff14,0 10px 24px #0006;transition:border-color .3s,box-shadow .3s,translate .3s}
.eco-tile>img,.eco-resource-link>img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;border-radius:2px;filter:none}
.eco-resource-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:inherit}
.eco-tile:hover,.eco-tile:focus-within{border-color:rgb(var(--eco-rgb)/.95);box-shadow:0 0 28px rgb(var(--eco-rgb)/.18),inset 0 1px 1px #ffffff24;translate:0 -5px;z-index:6}
.eco-caption{position:absolute;left:0;right:0;top:100%;margin-top:7px;padding:8px 12px;background:var(--surface);border:1px solid var(--line);border-radius:6px;opacity:0;pointer-events:none;font-size:11px;line-height:1.7;text-align:center;transition:opacity .2s}
.eco-tile:hover .eco-caption,.eco-tile:focus-within .eco-caption{opacity:1}
.eco-rail{position:relative;min-width:0;overflow:hidden;padding:20px 0 26px}
.eco-track{display:flex;width:max-content;animation:eco-flow 86s linear infinite;will-change:transform}
.eco-group{display:flex;align-items:center;gap:14px;padding-right:14px}
.eco-rail .eco-tile{width:188px;height:110px;padding:21px 22px}
.eco-rail.eco-static .eco-track{animation:none}.eco-rail.eco-static [data-eco-clone]{display:none}
.eco-rail.eco-static{overflow-x:auto}
@keyframes eco-flow{to{transform:translateX(-50%)}}
.eco-ribbons{--eco-rgb:222 186 116;padding:72px 0 115px;background:#090909 url('assets/ecosystem/gold-ribbons.webp') center center/100% 100% no-repeat;min-height:860px}
.eco-ribbons .eco-heading{padding:0 max(32px,4.6vw);margin-bottom:24px}
.eco-ribbon-stage{padding:28px 0 20px;perspective:1300px}
.eco-ribbon-stage .eco-rail{width:calc(100% + 100px);margin-left:-50px;transform:rotate(-5deg);border-block:1px solid rgb(var(--eco-rgb)/.30);box-shadow:0 -1px 16px rgb(var(--eco-rgb)/.08),0 1px 16px rgb(var(--eco-rgb)/.08);margin-bottom:30px;padding:17px 0;background:#0b0a098c}
.eco-ribbon-stage .eco-rail-1{transform:rotate(-2deg) scale(.98);margin-top:38px}
.eco-ribbon-stage .eco-rail-1 .eco-track{animation-direction:reverse;animation-duration:98s}
.eco-ribbon-stage .eco-rail-2{transform:rotate(2deg) scale(.95);margin-top:24px}
.eco-ribbon-stage .eco-rail-2 .eco-track{animation-duration:112s}
.eco-ribbon-stage .eco-tile{background:#18150ee8;border-color:rgb(var(--eco-rgb)/.55);box-shadow:inset 0 1px 5px #e4bf7020,0 8px 22px #0009}
.eco-ribbon-stage .eco-tile:nth-child(3n+1){transform:perspective(700px) rotateY(5deg)}
.eco-ribbon-stage .eco-tile:nth-child(3n){transform:perspective(700px) rotateY(-5deg)}
/* B: the original logos keep their colors; the scene and frames use the B theme blue. */
.binary #ecosystem{background:#060e1a}
.eco-constellation{--eco-rgb:97 198 255;display:grid;grid-template-columns:minmax(230px,.32fr) minmax(0,1fr);align-items:center;padding:40px max(32px,4.6vw) 52px;gap:0 16px}
.eco-constellation .eco-heading{padding-left:6px}
.eco-constellation .eco-heading h2{font-family:inherit;font-size:clamp(38px,4.2vw,62px);font-weight:500}
.eco-constellation .eco-eyebrow{letter-spacing:.34em}
.eco-network-stage{position:relative;aspect-ratio:1.18;width:100%;min-width:0}
.eco-network-art{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;opacity:.8;animation:eco-network-glow 8s ease-in-out infinite}
.eco-network-nodes{position:absolute;inset:0}
.eco-network-nodes .eco-tile{position:absolute;left:var(--node-x);top:var(--node-y);transform:translate(-50%,-50%);width:clamp(82px,8.5vw,130px);height:clamp(45px,4.6vw,68px);padding:8px 12px;border-radius:4px;background:#08182beF;border-color:rgb(var(--eco-rgb)/.33);box-shadow:0 0 16px #071321aa}
.eco-network-hub{position:absolute;left:51.8%;top:49.1%;transform:translate(-50%,-50%);width:clamp(120px,14vw,192px);height:86px;display:flex;align-items:center;justify-content:center;padding:14px;background:#0b1c2beF;border:1px solid #61c6ffb3;border-radius:8px;box-shadow:0 0 35px #61c6ff35;z-index:3}
.eco-network-hub .brand-logo{width:100%;max-height:46px;object-fit:contain}
.eco-network-footer{grid-column:1/-1;border-top:1px solid rgb(var(--eco-rgb)/.27);margin-top:18px}
.eco-network-footer .eco-rail{padding-top:22px;padding-bottom:10px}
.eco-network-footer .eco-tile{width:155px;height:82px;padding:14px 18px;background:#091322}
.eco-network-footer .eco-track{animation-duration:110s}
@keyframes eco-network-glow{50%{opacity:1}}
.eco-text-resources{padding:24px var(--page-gutter);display:flex;gap:24px;flex-wrap:wrap}
.eco-motion-paused .eco-track,.eco-motion-paused .eco-network-art{animation-play-state:paused}
@media(max-width:1050px){.eco-constellation{grid-template-columns:210px minmax(0,1fr);padding-inline:24px}.eco-network-nodes .eco-tile{width:80px;height:44px;padding:6px 9px}.eco-network-hub{width:125px;height:65px}.eco-constellation .eco-heading h2{font-size:38px}}
@media(max-width:760px){
 .eco-ribbons{min-height:0;padding:48px 0 55px;background-size:auto 100%;background-position:center}
 .eco-ribbons .eco-heading{padding:0 24px;margin-bottom:16px}
 .eco-heading h2{font-size:38px;margin-bottom:12px}.eco-eyebrow{font-size:9px;letter-spacing:.34em;margin-bottom:14px}
 .eco-resource-count{margin-top:14px;font-size:11px}.eco-resource-count strong{font-size:26px}
 .eco-ribbon-stage{padding-top:16px;padding-bottom:0}
 .eco-ribbon-stage .eco-rail{margin-bottom:20px;padding:12px 0}
 .eco-ribbon-stage .eco-rail-1{margin-top:25px}.eco-ribbon-stage .eco-rail-2{margin-top:18px}
 .eco-rail .eco-tile{width:142px;height:86px;padding:16px}.eco-group{gap:10px;padding-right:10px}
 .eco-constellation{display:block;padding:48px 24px 30px}
 .eco-constellation .eco-heading{padding:0;margin-bottom:16px}
 .eco-constellation .eco-heading h2{font-size:34px}
 .eco-constellation .eco-resource-count{margin-top:8px}
 .eco-network-stage{aspect-ratio:1/1.28;margin-inline:-8px;width:calc(100% + 16px)}
 .eco-network-nodes .eco-tile{width:67px;height:40px;padding:6px 7px;border-radius:4px}
 .eco-network-hub{width:96px;height:54px;padding:11px;top:50%;left:52%}
 .eco-network-hub .brand-logo{max-height:28px}
 .eco-network-footer{margin-top:24px}.eco-network-footer .eco-tile{width:130px;height:70px;padding:12px}
}
@media(prefers-reduced-motion:reduce){.eco-track,.eco-network-art{animation:none!important}.eco-rail{overflow-x:auto}.eco-rail [data-eco-clone]{display:none}.eco-tile{transition:none}.eco-ribbon-stage .eco-rail{transform:none;width:100%;margin-left:0}.eco-tile:hover{translate:none}}
/* Compact constellation keeps all 18 logos legible with a clear center on phones. */
@media(max-width:760px){
 .eco-network-stage{aspect-ratio:1/1.42}
 .eco-network-nodes .eco-tile{width:76px;height:43px}
 .eco-network-nodes .eco-tile:nth-child(3n+1){left:16%}
 .eco-network-nodes .eco-tile:nth-child(3n+2){left:50%}
 .eco-network-nodes .eco-tile:nth-child(3n){left:84%}
 .eco-network-nodes .eco-tile:nth-child(-n+3){top:7%}
 .eco-network-nodes .eco-tile:nth-child(n+4):nth-child(-n+6){top:22%}
 .eco-network-nodes .eco-tile:nth-child(n+7):nth-child(-n+9){top:37%}
 .eco-network-nodes .eco-tile:nth-child(n+10):nth-child(-n+12){top:63%}
 .eco-network-nodes .eco-tile:nth-child(n+13):nth-child(-n+15){top:78%}
 .eco-network-nodes .eco-tile:nth-child(n+16){top:93%}
}
.eco-ribbon-stage .eco-static{transform:none;width:100%;margin-left:0}
.eco-static .eco-track{margin-inline:auto}

/* A small screens: scale the complete desktop composition, including its full backdrop. */
@media(max-width:760px){
 .aster #ecosystem:has(.eco-ribbons){height:var(--eco-scaled-height,calc(100vw * .780645));position:relative}
 .aster .eco-ribbons{width:1240px;height:968px;min-height:968px;box-sizing:border-box;padding:72px 0 115px;background-size:100% 100%;transform:scale(var(--eco-scene-scale,.3));transform-origin:top left;overflow:hidden}
 .aster .eco-ribbons .eco-heading{padding:0 57px;margin-bottom:24px}
 .aster .eco-ribbons .eco-heading h2{font-size:62px;line-height:1.25;margin-bottom:22px}
 .aster .eco-ribbons .eco-eyebrow{font-size:11px;letter-spacing:.5em;margin-bottom:18px}
 .aster .eco-ribbons .eco-resource-count{margin-top:22px;font-size:12px}
 .aster .eco-ribbons .eco-resource-count strong{font-size:30px}
 .aster .eco-ribbon-stage{padding:28px 0 20px}
 .aster .eco-ribbon-stage .eco-tile{width:188px;height:110px;padding:21px 22px;border-radius:8px}
 .aster .eco-ribbon-stage .eco-group{gap:14px;padding-right:14px}
 .aster .eco-ribbon-stage .eco-rail{padding:17px 0;margin-bottom:30px}
 .aster .eco-ribbon-stage .eco-rail-1{margin-top:38px}
 .aster .eco-ribbon-stage .eco-rail-2{margin-top:24px}
}

/* A: center the whole scene with visible quiet space on both sides. */
@media(min-width:761px){
 .aster .eco-ribbons{width:calc(100% - 64px);max-width:1240px;margin-inline:auto;overflow:hidden;border-radius:12px}
}
@media(max-width:760px){
 .aster .eco-ribbons{margin-left:var(--eco-scene-inset,6vw);border-radius:14px}
}
/* A: one continuous rising helix, with every card turning inside the base footprint. */
.aster #ecosystem:has(.eco-ribbons){height:var(--eco-scaled-height,968px);position:relative}
.aster .eco-ribbons{width:1240px;max-width:none;height:968px;min-height:968px;padding:0;box-sizing:border-box;margin:0 0 0 var(--eco-scene-inset,32px);transform:scale(var(--eco-scene-scale,1));transform-origin:top left;overflow:visible;border-radius:0;background:#090909;isolation:isolate}
.aster .eco-ribbons:before{content:"";position:absolute;inset:0;background:url('assets/ecosystem/gold-ribbons.webp') center/100% 100% no-repeat;opacity:.52;pointer-events:none;z-index:0}
.aster .eco-ribbons .eco-heading{position:absolute;left:57px;top:64px;padding:0;margin:0;z-index:300;pointer-events:none}
.aster .eco-ribbons .eco-heading h2{font-size:62px;line-height:1.25;margin:0 0 22px}
.aster .eco-ribbons .eco-eyebrow{font-size:11px;letter-spacing:.5em;margin-bottom:18px}
.aster .eco-ribbons .eco-resource-count{margin-top:22px;font-size:12px}
.aster .eco-ribbons .eco-resource-count strong{font-size:30px}
.eco-helix-stage{position:absolute;inset:0;z-index:1;isolation:isolate}
.eco-helix-nodes{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;padding:300px 90px 0}
.eco-helix-nodes .eco-tile{width:166px;height:92px;padding:14px}
.eco-helix-ready .eco-helix-nodes{display:contents;padding:0}
.eco-helix-ready .eco-helix-nodes .eco-tile{position:absolute;width:180px;height:104px;padding:16px 16px;border-radius:8px;background:#17130eef;border:1px solid #d9b468a6;box-shadow:inset 0 1px 3px #ffe6a144,0 6px 20px #0008;transition:box-shadow .25s,border-color .25s;will-change:transform;backface-visibility:visible}
.eco-helix-ready .eco-helix-nodes .eco-tile:hover{translate:none;border-color:#ffdea1;box-shadow:0 0 22px #e9bd6b6b,inset 0 1px 2px #ffe6a166}
.eco-helix-wire{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;fill:none;stroke:#edc986;stroke-width:1.4}
.eco-helix-wire-back{z-index:4;opacity:.23}
.eco-helix-wire-front{z-index:110;opacity:.85;filter:drop-shadow(0 0 3px #f2c377) drop-shadow(0 0 8px #d3a25366)}
