/* Nexus 2.0: shared world coordinates, bounded camera, meaningful previews. */
.nexus .constellation{overflow:visible;display:block;padding:0;border-radius:12px;outline-offset:8px}.fabric-world{position:absolute;inset:0;transform:translate(var(--camera-x,0px),var(--camera-y,0px)) scale(var(--camera-zoom,1));transform-origin:50% 44%;transition:transform .18s ease-out;isolation:isolate}.constellation.exploring{cursor:grab;touch-action:pan-y pinch-zoom}.constellation.exploring:active{cursor:grabbing}.constellation a{cursor:pointer}body[data-view=nexus] .space{transform:translate(var(--far-x,0px),var(--far-y,0px)) scale(1.08);transition:transform .35s ease-out}.exploration-tools{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:15px auto 0}.exploration-tools button{font-size:11px;min-height:40px;padding:8px 12px;background:#05121bc9;border-color:#a5d1f155}.exploration-tools button[aria-pressed=true]{border-color:#c2e6ff;background:#1c415bd4}.camera-controls{display:flex;gap:4px}.camera-controls button{min-width:38px;padding:6px}.camera-controls button:disabled{opacity:.35;cursor:default}#exploration-help{font-size:10px;text-align:center;color:#d1dfeb;min-height:18px;margin:8px auto 2px;max-width:850px;text-shadow:0 0 6px black}.nexus .node{transform-origin:center top}.nexus .node.fabric-active .node-visual{height:92px}.nexus .node .preview-caption{display:block!important;font:9px ui-monospace,monospace;letter-spacing:.11em;color:#accde4;margin:3px 0 9px}.preview-drawing{display:flex;justify-content:center;align-items:center;gap:4px;height:54px}.preview-drawing span{font-size:10px;text-align:center;line-height:1.4;padding:5px 3px;border:1px solid #84bada88;background:#0d2940c9;color:#dff2ff;flex:1}.mini-solutions .preview-drawing span{border-top:3px solid #b9dfff;min-height:36px}.mini-portfolio .preview-drawing span{height:47px;padding-top:23px;background:linear-gradient(#5382a944 40%,#07121ccc 40%);transform:rotate(calc((var(--step) - 1)*5deg))}.mini-intelligence .preview-drawing span{border-radius:10px;font-size:10px;box-shadow:0 0 10px #a4d5ff22}.mini-about .preview-drawing span{border-radius:50%;height:42px;width:42px;flex:none;padding-top:13px}.mini-connect .preview-drawing{flex-direction:column;align-items:stretch;gap:3px}.mini-connect .preview-drawing span{padding:2px 5px;text-align:left;border-left:3px solid #abcfe5}.nexus .node.solutions.fabric-active{border-top:3px solid #ceeaff}.nexus .node.portfolio.fabric-active{rotate:-1deg}.nexus .node.intelligence.fabric-active{box-shadow:0 0 40px #7fcaff88,inset 0 0 20px #8ebfff33}.nexus .node.about.fabric-active{border-radius:6px 18px 6px 18px}.nexus .node.connect.fabric-active{border-color:#cfe9ec;box-shadow:0 0 35px #c6edf177}.nexus .connect{top:68%}.nexus .fabric-readout{position:relative;z-index:3;margin-top:20px}.nexus .filament-links{height:100%!important;mask-image:none}.nexus .wires,.nexus .fabric-axis,.nexus .core-ring{display:none}
@media(max-width:760px){.nexus .constellation{min-height:0;height:auto;overflow:visible}.fabric-world{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:235px 0 12px;inset:auto}.nexus .connect{top:auto}.nexus .core{top:118px}.exploration-tools{gap:6px}.exploration-tools button{font-size:10px;min-height:44px;padding:7px 9px}.camera-controls button{min-width:32px}.nexus .node.fabric-active .node-visual{height:92px}.nexus .node strong{font-size:12px}#exploration-help{font-size:12px;max-width:330px}.preview-drawing span{font-size:10px}.mini-about .preview-drawing span{width:36px;height:36px;padding-top:11px}}
body.reduced .fabric-world,body.reduced .space{transition:none}body.reduced .nexus .node.fabric-active{rotate:0}
@media(prefers-reduced-motion:reduce){.fabric-world,body[data-view=nexus] .space{transition:none}.nexus .node.fabric-active{rotate:0}}
@media(min-width:761px){.nexus .fabric-readout{margin-top:80px}}
@media(max-width:760px){.fabric-world{padding-left:20px;padding-right:20px;padding-bottom:30px}.nexus .fabric-readout{margin-top:50px}.nexus .node strong{font-size:11px}.mini-about .preview-drawing span{width:30px;height:30px;padding-top:8px}}

/* Phase 2: explicit preview, coherent live paths and scoped process experience. */
.exploration-tools button,.camera-controls button{min-width:44px;min-height:44px}.nexus .intent button{min-height:44px;font-size:12px}#exploration-help{font-size:12px;line-height:1.6}.nexus .node strong{font-size:14px}.nexus .node{touch-action:pan-y pinch-zoom}.nexus .node .preview-caption{font-size:8px}.mini-about .preview-drawing span{border-radius:6px;width:auto;height:auto;flex:1;padding:5px 2px}.preview-drawing{gap:3px}.preview-drawing span{min-width:0;overflow-wrap:anywhere}.nexus #fabric{height:100%;mask-image:none}.nexus .core{transition:filter .5s}.nexus .constellation:not([data-mode=neutral]) .core{filter:drop-shadow(0 0 38px #c8ecffa6)}
.filament-links g.active path{stroke-dasharray:var(--length);animation:signal-reveal .7s ease-out both}@keyframes signal-reveal{from{stroke-dashoffset:var(--length);opacity:.35}to{stroke-dashoffset:0;opacity:1}}
.nexus .code-fragments{translate:calc(var(--camera-x,0px)*-.3) calc(var(--camera-y,0px)*-.3);transition:translate .4s}.nexus .code-fragments span{animation:data-drift 9s ease-in-out infinite alternate}.nexus .code-fragments span:nth-child(even){animation-delay:-4s}@keyframes data-drift{to{translate:5px -9px;opacity:.5}}
.node-preview{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:900px;margin:24px auto 0;padding:22px 24px;background:#071523ed;border:1px solid #a4d7f588;border-radius:10px;box-shadow:0 0 30px #75bffb22}.node-preview[hidden]{display:none}.node-preview small{font:10px ui-monospace,monospace;letter-spacing:.12em;color:#bfd8eb}.node-preview h2{font-size:22px;margin:7px 0}.node-preview p{font-size:15px;line-height:1.65;margin:0;color:#d5e6f2}.preview-actions{display:flex;flex-direction:column;gap:10px;flex-shrink:0}.preview-actions .primary{font-size:13px;min-height:44px;padding:12px 16px}.preview-actions button{min-height:44px;font-size:12px}.node-preview{animation:preview-reveal .3s ease-out}@keyframes preview-reveal{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
.solution-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px}.solution-controls label{font-size:13px;line-height:1.5;color:#d5e6f2}.solution-controls input{display:block;width:100%;min-height:44px;background:#05101d;color:#edf8ff;border:1px solid #7fa9c5;border-radius:5px;padding:8px 10px;font:16px inherit;margin-top:6px}.solution-controls input[aria-invalid=true]{border-color:#ffb6a3}.solution-channels{margin:18px 0 8px;padding:12px;border:1px solid #597e99;border-radius:6px}.solution-channels legend{font-size:13px}.solution-channels label{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-right:16px;font-size:14px}.solution-channels input{width:20px;height:20px;accent-color:#b9ddf5}.solution-error{color:#ffd0c0;font-size:13px;line-height:1.6}.solution-workflow{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:20px 0;font-size:12px}.solution-workflow span:nth-child(odd){border:1px solid #74b0d1;padding:10px;border-radius:6px;background:#1b3a5166}.solution-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}.solution-comparison section{padding:16px;border:1px solid #5f8caa66;border-radius:8px;background:#07131ecc}.solution-comparison section:last-child{border-color:#b4dff2aa;background:#16364e66}.solution-comparison h3{font-size:14px;line-height:1.5;margin:0 0 10px}.solution-comparison p{font-size:12px;line-height:1.7}.solution-comparison strong{font-size:32px;color:#e0f4ff;font-weight:400}.solution-result{border-left:3px solid #b9e5f5;padding:14px;background:#83b7d31a;font-size:16px;line-height:1.6}.lab .solution-note,.lab .solution-formula{font-size:12px;line-height:1.7;color:#c0d5e3}.solution-formula{font-family:ui-monospace,monospace}.nexus :focus-visible,.detail :focus-visible{outline:2px solid #e5f7ff;outline-offset:5px}
@media(max-width:760px){.nexus .node strong{font-size:12px}.camera-controls{flex-wrap:wrap;justify-content:center}.node-preview{flex-direction:column;align-items:stretch;margin-top:20px;padding:18px;gap:16px}.preview-actions{flex-direction:row;flex-wrap:wrap}.preview-actions>*{flex:1}.solution-controls,.solution-comparison{grid-template-columns:1fr}.nexus .fabric-readout{margin-top:30px}.nexus .node.fabric-active{transform:translateY(-2px)!important}.nexus .node .node-visual{display:none}.nexus .node.fabric-active>span{font-size:12px;max-height:90px}.solution-workflow{justify-content:flex-start}.nexus .node{min-height:72px}.nexus .connect{width:180px}}
body.reduced .filament-links g.active path,body.reduced .node-preview,body.reduced .code-fragments span{animation:none}body.reduced .code-fragments,body.reduced .nexus .core{transition:none}
@media(prefers-reduced-motion:reduce){.filament-links g.active path,.node-preview,.code-fragments span{animation:none}.code-fragments,.nexus .core{transition:none}}
/* The explicit preview stays within reach without shifting the scene. */
.node-preview{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);width:min(900px,calc(100% - 48px));max-height:45svh;overflow:auto;z-index:20;margin:0;box-shadow:0 12px 60px #000c,0 0 30px #75bffb22}
@media(max-width:760px){.node-preview{bottom:12px;width:calc(100% - 24px);max-height:48svh}.node-preview h2{font-size:20px}.node-preview p{font-size:14px}.preview-actions .primary{white-space:normal}}

/* Approved Gateway A: original brand over the recovered cosmic composition. */
body[data-view=gateway] .space,.gateway-veil{background:linear-gradient(180deg,#02050b33,#02050b11 60%,#02050b55),url('gateway-universe.webp') center center/cover no-repeat;background-color:#02050b}
body[data-view=gateway] .planet,body[data-view=gateway] .dust{display:none}body[data-view=gateway] header{background:#03091288;border-color:#7eacc022}body[data-view=gateway] footer{background:#02070b99;border-color:#7eacc022}.gateway{position:relative;isolation:isolate;overflow:hidden;min-height:calc(100svh - 161px);justify-content:center;padding:24px 24px 40px;animation:none}.gateway .eyebrow{font-size:10px;letter-spacing:.27em;opacity:.85}.gateway-logo{width:min(540px,65svh,86vw);margin:0 0 -30px;animation:none;filter:drop-shadow(0 0 28px #b6e3ff33)}.gateway h1{font-size:clamp(13px,1.15vw,17px);letter-spacing:.22em;line-height:1.7;text-transform:uppercase;font-weight:400;max-width:650px;margin:0 0 12px}.gateway p{font-size:12px;color:#bfd4e6;text-shadow:0 2px 10px #000;margin:0 0 24px}.gateway>.primary{position:relative;border-radius:40px;min-width:280px;padding:17px 27px;border-color:#c7e4f699;background:linear-gradient(#456d8344,#06101deb);box-shadow:inset 0 2px 4px #c3e5ff55,0 0 16px #79bbeb22;font-size:12px;text-transform:uppercase;letter-spacing:.15em}.gateway>.primary:after{content:'';position:absolute;left:50%;top:100%;height:95px;width:1px;background:linear-gradient(#cdf5ff,transparent);box-shadow:0 0 12px #81d8ff;pointer-events:none}.gateway .subtle{position:relative;z-index:1;color:#cadbe8;text-shadow:0 2px 8px #000;background:#030c1555;border-radius:20px}.gateway-orbits{position:absolute;left:50%;top:42%;width:min(630px,80vw);aspect-ratio:1;translate:-50% -50%;z-index:-1;pointer-events:none}.gateway-orbits i{position:absolute;inset:0;border:1px solid #a4d8f72b;border-radius:50%;box-shadow:0 0 12px #8ccbfa0b;animation:gateway-orbit 35s linear infinite}.gateway-orbits i:after{content:'';position:absolute;left:50%;top:-2px;width:3px;height:3px;border-radius:50%;background:#d9f3ff;box-shadow:0 0 10px #bce9ff}.gateway-orbits i:nth-child(2){inset:8%;animation-duration:48s;animation-direction:reverse}.gateway-orbits i:nth-child(3){inset:-10% 4%;rotate:35deg;animation-duration:62s}@keyframes gateway-orbit{to{transform:rotate(360deg)}}.gateway-signals{position:absolute;inset:50px 5vw auto;display:flex;justify-content:space-between;pointer-events:none;font:9px/2 ui-monospace,monospace;letter-spacing:.25em;color:#9db7cd}.gateway-signals span:last-child{text-align:right}
.gateway-veil{position:fixed;inset:0;z-index:30;pointer-events:none}.gateway-traveller{position:fixed;z-index:31;pointer-events:none;max-width:none;transform-origin:top left}.gateway-transiting .gateway-traveller{will-change:transform,clip-path}.gateway-transiting .nexus-heading,.gateway-transiting .intent,.gateway-transiting .exploration-tools,.gateway-transiting #exploration-help{animation:gateway-controls-in 1.2s ease both}.gateway-transiting .nexus .node{animation:gateway-controls-in 1.2s ease both;animation-delay:.18s}@keyframes gateway-controls-in{0%,30%{opacity:0}to{opacity:1}}
@media(max-width:760px){.gateway{padding:24px 16px 35px;min-height:calc(100svh - 170px)}.gateway-logo{width:min(390px,80vw);margin:10px 0 -18px}.gateway h1{font-size:12px;letter-spacing:.15em;max-width:300px}.gateway p{font-size:12px;max-width:290px}.gateway>.primary{min-width:250px;font-size:11px}.gateway-signals{display:none}.gateway-orbits{top:36%;width:88vw}.gateway .subtle{font-size:11px}}
body.reduced .gateway-orbits i,body.reduced.gateway-transiting .node,body.reduced.gateway-transiting .nexus-heading{animation:none}@media(prefers-reduced-motion:reduce){.gateway-orbits i,.gateway-transiting .node,.gateway-transiting .nexus-heading,.gateway-transiting .intent,.gateway-transiting .exploration-tools{animation:none}}
/* Keep the fixed preview anchored to the viewport, not the entrance animation. */
.nexus.view{animation:none}

/* Initial service catalogue: separate from the illustrative simulator. */
.service-catalog{margin-top:3rem;border-top:1px solid #3b526b;padding-top:2rem;color:#e4edf7}
.service-catalog>h2{font-size:clamp(1.5rem,4vw,2.2rem);line-height:1.2}
.service-availability{max-width:80ch;color:#c6d4e3;line-height:1.65;margin:1.2rem 0}
.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem;margin:1.5rem 0}
.service-card{min-width:0;padding:1.5rem;border:1px solid #3b526b;border-radius:16px;background:linear-gradient(135deg,#101c2b,#08121f)}
.service-card h3{font-size:1.15rem;color:#f2f6fc;margin:0 0 1rem;overflow-wrap:anywhere}
.service-card ul{padding-left:1.2rem;line-height:1.65;color:#c6d4e3}
.service-contact{display:inline-flex;align-items:center;min-height:44px;color:#a6d7ff;margin-top:.5rem;line-height:1.5;text-underline-offset:4px;overflow-wrap:anywhere}
.service-contact:focus-visible{outline:2px solid #a6d7ff;outline-offset:5px;border-radius:3px}
@media(max-width:640px){.service-grid{grid-template-columns:1fr}.service-card{padding:1.1rem}}
/* Long project descriptions must not expand the two-column layout. */
.detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.detail-grid>*,.lab{min-width:0;overflow-wrap:anywhere}@media(max-width:760px){.detail-grid{grid-template-columns:minmax(0,1fr)}}
/* Section entry transforms must not create a horizontal page scrollbar. */
body{overflow-x:clip}
