/* Aegius Growth Mark v4 — slimmer, calmer, logo-first circuit tree. */
.bw-aegius-growth-v4{
  --ag4-cyan:#52dcff;
  --ag4-cyan-strong:#9cecff;
  --ag4-volt:#b9db1b;
  --ag4-line:rgba(82,220,255,.64);
  --ag4-line-soft:rgba(82,220,255,.16);
  --ag4-mesh:rgba(82,220,255,.13);
  position:relative;
  display:grid;
  place-items:center;
  width:100%;
  max-width:500px;
  margin-inline:auto;
  pointer-events:none;
  user-select:none;
  isolation:isolate;
}
.bw-aegius-growth-v4::before{
  content:"";
  position:absolute;
  z-index:-1;
  width:84%;
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(5,185,242,.055),rgba(5,185,242,.018) 40%,transparent 72%);
  opacity:.68;
}
.bw-aegius-growth-v4 svg{
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
}
.bw-aegius-growth-v4__lane,
.bw-aegius-growth-v4__branch,
.bw-aegius-growth-v4__root,
.bw-aegius-growth-v4__mesh,
.bw-aegius-growth-v4__packet{
  fill:none;
  vector-effect:non-scaling-stroke;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Slim trunk: four lines only. */
.bw-aegius-growth-v4__lane,
.bw-aegius-growth-v4__branch,
.bw-aegius-growth-v4__root{
  stroke-dasharray:1;
  stroke-dashoffset:1;
}
.bw-aegius-growth-v4__lane{
  stroke:var(--ag4-line);
  stroke-width:1.8;
}
.bw-aegius-growth-v4__lane--core{
  stroke:var(--ag4-cyan-strong);
  stroke-width:2.4;
}
.bw-aegius-growth-v4__lane--volt{stroke:rgba(185,219,27,.38)}
.bw-aegius-growth-v4__branch{
  stroke:rgba(82,220,255,.56);
  stroke-width:1.35;
}
.bw-aegius-growth-v4__branch--strong{
  stroke:rgba(82,220,255,.76);
  stroke-width:1.75;
}
.bw-aegius-growth-v4__branch--volt{stroke:rgba(185,219,27,.32)}
.bw-aegius-growth-v4__root{
  stroke:rgba(82,220,255,.27);
  stroke-width:1;
}
.bw-aegius-growth-v4__root--strong{
  stroke:rgba(82,220,255,.44);
  stroke-width:1.2;
}
.bw-aegius-growth-v4.is-visible :is(.bw-aegius-growth-v4__lane,.bw-aegius-growth-v4__branch,.bw-aegius-growth-v4__root){
  animation:bwAegiusGrowthV4Grow 1.36s cubic-bezier(.22,.61,.36,1) var(--grow-delay,0s) forwards;
}

/* Airy canopy graph. */
.bw-aegius-growth-v4__mesh{
  stroke:var(--ag4-mesh);
  stroke-width:.72;
  opacity:0;
  transition:opacity .7s ease 1.28s;
}
.bw-aegius-growth-v4.is-visible .bw-aegius-growth-v4__mesh{opacity:.58}

.bw-aegius-growth-v4__hub,
.bw-aegius-growth-v4__node{
  opacity:0;
  transform-box:fill-box;
  transform-origin:center;
}
.bw-aegius-growth-v4__hub .outer{
  fill:rgba(5,20,31,.92);
  stroke:var(--ag4-cyan-strong);
  stroke-width:1.05;
  vector-effect:non-scaling-stroke;
}
.bw-aegius-growth-v4__hub .inner{
  fill:var(--ag4-cyan);
  stroke:none;
}
.bw-aegius-growth-v4__hub--volt .outer{stroke:var(--ag4-volt)}
.bw-aegius-growth-v4__hub--volt .inner{fill:var(--ag4-volt)}
.bw-aegius-growth-v4__node circle{
  fill:var(--ag4-cyan);
  stroke:#eafcff;
  stroke-width:.45;
  vector-effect:non-scaling-stroke;
}
.bw-aegius-growth-v4__node--volt circle{fill:var(--ag4-volt);stroke:#f3ffd5}
.bw-aegius-growth-v4.is-visible .bw-aegius-growth-v4__hub{
  animation:bwAegiusGrowthV4Hub .5s cubic-bezier(.2,.74,.28,1.15) var(--node-delay,1.12s) forwards;
}
.bw-aegius-growth-v4.is-visible .bw-aegius-growth-v4__node{
  animation:bwAegiusGrowthV4Node .36s ease-out var(--node-delay,1.26s) forwards;
}

/* Fewer, finer packets. */
.bw-aegius-growth-v4__packet{
  stroke:var(--ag4-cyan-strong);
  stroke-width:1.9;
  stroke-dasharray:.03 .97;
  stroke-dashoffset:1;
  opacity:0;
}
.bw-aegius-growth-v4__packet--volt{stroke:rgba(185,219,27,.68)}
.bw-aegius-growth-v4.is-visible .bw-aegius-growth-v4__packet{
  opacity:.9;
  animation:bwAegiusGrowthV4Packet var(--packet-duration,3.8s) linear var(--packet-delay,1.65s) infinite;
}

.bw-aegius-growth-v4__core{
  transform-box:fill-box;
  transform-origin:center;
}
.bw-aegius-growth-v4__core .ring{
  fill:rgba(5,185,242,.028);
  stroke:rgba(82,220,255,.36);
  stroke-width:.85;
  vector-effect:non-scaling-stroke;
}
.bw-aegius-growth-v4__core .seed{
  fill:var(--ag4-volt);
  stroke:#f3ffd3;
  stroke-width:.7;
  vector-effect:non-scaling-stroke;
}
.bw-aegius-growth-v4.is-visible .bw-aegius-growth-v4__core{
  animation:bwAegiusGrowthV4Core 3.4s ease-in-out infinite;
}

.bw-aegius-growth-v4--hero{
  width:min(480px,100%);
  min-height:360px;
  border:0;
  background:transparent;
  padding:0;
  overflow:visible;
}
.bw-aegius-growth-v4--mini{
  width:84px;
  min-height:70px;
}
.bw-aegius-growth-v4--mini::before{opacity:.28}
.bw-aegius-growth-v4--mini .bw-aegius-growth-v4__lane{stroke-width:1.25}
.bw-aegius-growth-v4--mini .bw-aegius-growth-v4__lane--core{stroke-width:1.65}
.bw-aegius-growth-v4--mini .bw-aegius-growth-v4__branch{stroke-width:.85}
.bw-aegius-growth-v4--mini .bw-aegius-growth-v4__root{stroke-width:.65}
.bw-aegius-growth-v4--mini .bw-aegius-growth-v4__mesh{opacity:.14}
.bw-aegius-growth-v4--mini .bw-aegius-growth-v4__packet{stroke-width:1.2}
.bw-aegius-growth-v4--mini .bw-aegius-growth-v4__node:nth-child(n+12){display:none}
.bw-aegius-growth-v4--mini[data-count-level="0"] .bw-aegius-growth-v4__hub:nth-child(n+4),
.bw-aegius-growth-v4--mini[data-count-level="0"] .bw-aegius-growth-v4__node{opacity:.12!important}
.bw-aegius-growth-v4--mini[data-count-level="1"] .bw-aegius-growth-v4__node:nth-child(n+7){opacity:.22!important}
.bw-aegius-growth-v4--mini[data-count-level="2"] .bw-aegius-growth-v4__node:nth-child(n+10){opacity:.36!important}
.bw-aegius-growth-v4--mini.is-count-updated{animation:bwAegiusGrowthV4Count .44s ease-out}

/* Sustainability section: open visual, but less bulky than v3. */
.bw-sustain.bw-sustain--tree{
  grid-template-columns:minmax(0,.9fr) minmax(360px,.9fr) minmax(0,.76fr);
  gap:clamp(22px,3vw,42px);
  align-items:center;
}
.bw-sustain__tree{
  position:relative;
  min-width:0;
  display:grid;
  place-items:center;
  margin-inline:-8px;
}
.bw-sustain__tree>*{position:relative;z-index:1}

/* Desktop hero: lift Aegius so it no longer overlaps the service panel. */
@media (min-width:981px){
  .bw-home-visual>.bw-ai-graph{top:-68px;width:min(304px,82%)}
}

@keyframes bwAegiusGrowthV4Grow{to{stroke-dashoffset:0}}
@keyframes bwAegiusGrowthV4Hub{
  0%{opacity:0;transform:scale(.5)}
  70%{opacity:1;transform:scale(1.09)}
  100%{opacity:.96;transform:scale(1)}
}
@keyframes bwAegiusGrowthV4Node{from{opacity:0;transform:scale(.55)}to{opacity:.86;transform:scale(1)}}
@keyframes bwAegiusGrowthV4Packet{to{stroke-dashoffset:-1}}
@keyframes bwAegiusGrowthV4Core{
  0%,100%{opacity:.68;transform:scale(.95)}
  50%{opacity:1;transform:scale(1.055)}
}
@keyframes bwAegiusGrowthV4Count{
  0%{transform:scale(.96);opacity:.75}
  55%{transform:scale(1.035);opacity:1}
  100%{transform:scale(1);opacity:1}
}

@media(max-width:1080px){
  .bw-sustain.bw-sustain--tree{grid-template-columns:minmax(0,1fr) minmax(330px,.85fr)}
  .bw-sustain.bw-sustain--tree .bw-sustain__facts{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}
  .bw-sustain__tree{margin-inline:0}
}
@media(max-width:760px){
  .bw-sustain.bw-sustain--tree{grid-template-columns:1fr}
  .bw-sustain.bw-sustain--tree .bw-sustain__facts{grid-column:auto;grid-template-columns:1fr}
  .bw-sustain__tree{order:2;margin-top:4px}
  .bw-sustain.bw-sustain--tree .bw-sustain__facts{order:3}
  .bw-aegius-growth-v4--hero{width:min(390px,92vw);min-height:300px}
}
@media(max-width:520px){
  .bw-aegius-growth-v4--hero{width:min(340px,92vw);min-height:270px}
  .bw-aegius-growth-v4--mini{width:70px;min-height:60px}
  .bw-aegius-growth-v4__packet{stroke-width:1.45}
}
@media(prefers-reduced-motion:reduce){
  .bw-aegius-growth-v4__lane,
  .bw-aegius-growth-v4__branch,
  .bw-aegius-growth-v4__root{stroke-dashoffset:0!important;animation:none!important}
  .bw-aegius-growth-v4__mesh{opacity:.5!important;transition:none!important}
  .bw-aegius-growth-v4__hub,
  .bw-aegius-growth-v4__node{opacity:.9!important;transform:none!important;animation:none!important}
  .bw-aegius-growth-v4__core{animation:none!important}
  .bw-aegius-growth-v4__packet{display:none!important}
  .bw-aegius-growth-v4--mini.is-count-updated{animation:none!important}
}
