/* Spark v8. Original pixel-neon art. Layout changes ONLY on phone-sized screens. */
.energy-scroll-hint{cursor:default;color:var(--accent-cyan);gap:12px;user-select:none}
.energy-scroll-hint .ui-icon{width:13px;height:13px}
.neural-core::before{background:radial-gradient(ellipse at 65% 33%,rgba(49,188,221,.17),transparent 53%),radial-gradient(ellipse,rgba(145,49,243,.46),rgba(119,36,188,.18) 47%,transparent 72%);opacity:var(--neural-charge,.75)}
.core-orbit{border-color:rgba(103,232,249,.3);box-shadow:0 18px 48px -30px rgba(103,232,249,.3)}
.core-orbit::before{background:var(--accent-pearl);box-shadow:0 0 17px var(--accent-cyan)}
.neural-sparks,.orbit-sparks,.neural-transit-sparks{pointer-events:none!important;image-rendering:pixelated;mix-blend-mode:screen}
.orbit-sparks{position:absolute;inset:25%;width:50%;height:50%;transform-origin:center;z-index:2}
.continuity-brain{position:absolute;left:0;top:0;aspect-ratio:1;pointer-events:none;transform-origin:center}
.continuity-brain>img,.continuity-brain>canvas{position:absolute;inset:0;width:100%;height:100%;margin:0;max-width:none;object-fit:contain}
.continuity-brain>img{image-rendering:pixelated}
/* One source; each material receives the same travelling energy in its own way. */
.energy-surface{--received:0;--energy-x:50%;--energy-y:50%}
.hero-copy{isolation:isolate}
.hero-copy::after{content:"";position:absolute;right:-5%;top:20%;width:140px;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent,var(--accent-cyan));opacity:calc(var(--received,0)*.6);transform:scaleX(var(--received,0));transform-origin:right}
.orbit-stage .orbit-dashes{stroke-width:calc(1.8px + var(--received,0)*1.4px);filter:drop-shadow(0 0 3px rgba(103,232,249,.65))}
.orbit-stage .orbit-item{border-color:rgba(103,232,249,calc(.16 + var(--received,0)*.65))}
.orbit-stage .orbit-item img{filter:drop-shadow(0 0 calc(var(--received,0)*7px) rgba(103,232,249,.6))}
.signal-crossing .band-one{border-color:rgba(103,232,249,calc(.18 + var(--received,0)*.8))}
.signal-crossing .band-one:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at var(--energy-x) 50%,rgba(103,232,249,.21),transparent 45%);opacity:var(--received);mix-blend-mode:screen}
.assembly-view .plane-circuit{filter:drop-shadow(0 0 calc(var(--received,0)*4px) rgba(103,232,249,.65))}
.assembly-view .assembly-shadow{opacity:calc(.45 + var(--received,0)*.45)}
.strategy-panel:before{background:linear-gradient(90deg,var(--accent-cyan),var(--accent-gold));width:calc(70px + var(--received,0)*130px)}
.skill-instrument .deck-horizon{border-color:rgba(103,232,249,calc(.2 + var(--received,0)*.6))}
.skill-instrument .deck-shard[aria-pressed=true] .shard-surface:after{border-color:rgba(242,204,143,calc(.3 + var(--received,0)*.65))}
.skill-instrument #instrument-title{color:var(--ink);text-shadow:0 0 calc(var(--received,0)*20px) rgba(103,232,249,.45)}
.framework .atlas-bottom{position:relative}.framework .atlas-bottom:after{content:"";position:absolute;top:-14px;right:0;width:40%;height:1px;background:linear-gradient(90deg,transparent,var(--accent-cyan));opacity:var(--received,0);pointer-events:none}
.approach-intro>img,.service-art img{filter:drop-shadow(0 0 calc(var(--received,0)*10px) rgba(103,232,249,.6))}
.service-art .service-outline{border-color:rgba(103,232,249,calc(.25 + var(--received,0)*.7))}
.signature-sculpture .signature-period{color:var(--accent-gold);text-shadow:0 0 calc(var(--received,0)*22px) rgba(242,204,143,.85)}
.signature-sculpture .signature-axis{background:linear-gradient(90deg,var(--accent-cyan),var(--accent-gold),transparent);opacity:calc(.4 + var(--received,0)*.6)}
.contact-portal .portal-highlight{stroke-width:calc(1.3px + var(--received,0)*1.8px);filter:drop-shadow(0 0 calc(var(--received,0)*5px) rgba(242,204,143,.7))}
/* A small, locally bounded light pool; never a full-screen flashing layer. */
.energy-reception{position:fixed;inset:0;z-index:7;pointer-events:none!important;contain:strict;overflow:hidden;mix-blend-mode:screen}
.energy-reception *{pointer-events:none!important}
.energy-pool{position:absolute;width:260px;height:180px;left:0;top:0;opacity:0;background:radial-gradient(ellipse,rgba(103,232,249,.17),rgba(119,59,201,.07) 40%,transparent 68%);transform-origin:center}
.energy-pool.is-gold{background:radial-gradient(ellipse,rgba(242,204,143,.15),rgba(119,59,201,.05) 43%,transparent 68%)}
body:has(dialog[open]) .energy-reception{display:none}
@media(max-width:680px){
 .hero-layout{display:flex;flex-direction:column;gap:0;min-height:0}
 .hero-visual{order:-1;align-self:center;width:100%;max-width:440px;margin:0;padding:0;justify-content:flex-start}
 .neural-stage{width:min(calc(100vw - 12px),430px);max-width:none;margin:-18px auto -18px;flex:none;align-self:center}
 .hero-visual figcaption{margin-top:-33px}.framework-name{font-size:27px}.core-caption{font-size:11px;margin-top:6px}
 .hero-visual .framework-caption{display:none}.energy-scroll-hint{font-size:11px;margin-top:13px;min-height:25px}
 .hero-copy{align-self:stretch;padding:26px 0 27px;z-index:3}.hero h1{font-size:clamp(39px,10.7vw,55px);line-height:1.07;max-width:10em}
 .hero-description{font-size:16px;line-height:1.6;margin-top:17px;max-width:37ch}.hero-identity{display:none}
 .hero-copy::after{top:8px;right:0;width:92px}.principles{margin-top:9px}
 .energy-pool{width:180px;height:140px}
}
@media(max-width:360px){.neural-stage{margin-top:-12px}.hero-copy{padding-top:23px}.hero h1{font-size:39px}.framework-name{font-size:25px}}
@media(max-width:932px) and (max-height:500px) and (hover:none) and (pointer:coarse){
 .hero-layout{display:flex;flex-direction:column;min-height:0}.hero-visual{order:-1;width:100%;margin:0;padding:0;max-width:440px;align-self:center}.neural-stage{width:min(70svh,340px);margin:-24px auto -22px}.hero-visual figcaption{margin-top:-24px}.hero-visual .framework-caption{display:none}.hero-copy{padding:24px 0;align-self:stretch}.hero h1{font-size:44px}.hero-description{font-size:16px}.hero-identity{display:none}
}
@media print{.energy-reception,.orbit-sparks,.neural-transit-sparks,.energy-scroll-hint{display:none!important}}
