/* NANDA GOMES AI — Systems Network V7. Final component styles, isolated from the shared institutional layout. */
.ngai-theme .ngai-macro-hero{
  position:relative;isolation:isolate;overflow:hidden;min-height:clamp(620px,83vh,860px);
  background:radial-gradient(ellipse 77% 78% at 80% 46%,rgba(53,102,155,.095),rgba(39,80,124,.025) 54%,transparent 97%),linear-gradient(113deg,#030508 0%,#050912 60%,#080f19 100%);
}
.ngai-theme .ngai-macro-hero::before{content:"";z-index:1;opacity:.18;background-image:linear-gradient(rgba(176,206,233,.034) 1px,transparent 1px),linear-gradient(90deg,rgba(176,206,233,.034) 1px,transparent 1px);background-size:86px 86px;mask-image:linear-gradient(90deg,transparent 24%,#000 100%)}
.ngai-theme .ngai-macro-hero::after{content:"";z-index:0;inset:0;opacity:.22;background:url('../images/network-fallback.svg') 100% center/auto 95% no-repeat;pointer-events:none}
.ngai-theme .ngai-macro-hero .ngai-network{position:absolute;inset:0;display:block;z-index:1;width:100%;height:100%;pointer-events:none;opacity:1!important;filter:none}
.ngai-theme .ngai-macro-hero .ngai-network-halo{position:absolute;inset:0;z-index:1;pointer-events:none;animation:none;background:radial-gradient(ellipse 43% 55% at 84% 44%,rgba(85,141,203,.053),transparent 100%);opacity:1;transform:none}
.ngai-theme .ngai-macro-hero .ngai-cursor-glow{z-index:2;opacity:0;background:radial-gradient(260px circle at var(--pointer-x,75%) var(--pointer-y,50%),rgba(137,191,238,.11),transparent 80%);transition:opacity .3s}
.ngai-theme .ngai-macro-hero.is-pointer-active .ngai-cursor-glow{opacity:1}
.ngai-theme .ngai-macro-hero .ngai-wrap{position:relative;z-index:3;width:100%;max-width:1280px;padding:128px 44px 132px}
.ngai-theme .ngai-macro-hero .ngai-wrap::before{content:none!important;display:none!important}
.ngai-theme .ngai-macro-hero h1{font-size:clamp(64px,8.3vw,121px);line-height:.95;letter-spacing:-.077em;max-width:1100px;margin:27px 0 35px;color:#fff;text-shadow:0 10px 45px rgba(2,5,11,.32)}
.ngai-theme .ngai-macro-hero .lead{max-width:780px;font-size:clamp(19px,2.2vw,26px);color:#c9d2dd;line-height:1.48}
.ngai-theme .ngai-macro-hero .ngai-index{right:44px;bottom:34px;z-index:3}
.ngai-theme .ngai-macro-hero .ngai-actions{margin-top:41px}
/* Lens: paired scales with a visible connection, not a brain illustration. */
.ngai-theme .ngai-lens{background:#f1f4f7;color:#0a1420;padding-top:106px;padding-bottom:108px}
.ngai-lens-heading{display:grid;grid-template-columns:1.2fr .8fr;gap:66px;align-items:end;margin-bottom:45px}
.ngai-theme .ngai-lens-heading h2{margin:18px 0 0;max-width:830px}
.ngai-theme .ngai-lens-heading .ngai-section-intro{margin:0;color:#3f5265;max-width:440px}
.ngai-scale-architecture{display:grid;grid-template-columns:minmax(0,1fr) 145px minmax(0,1fr);gap:0;align-items:stretch;border:1px solid #ced9e3;background:#fff}
.ngai-scale-card{min-width:0;padding:34px 33px 39px;background:#fff;position:relative}
.ngai-scale-card:last-child{background:#e8f0f6}
.ngai-scale-overline{display:flex;align-items:center;justify-content:space-between;color:#356895;font-size:11px;letter-spacing:.18em;font-weight:650}
.ngai-scale-overline span:last-child{font-size:25px;font-weight:350;letter-spacing:0}
.ngai-theme .ngai-scale-card h3{font-size:clamp(30px,3.5vw,48px);line-height:1.07;letter-spacing:-.055em;font-weight:500;margin:37px 0 17px;color:#071520}
.ngai-scale-card p{max-width:370px;font-size:16px;line-height:1.68;color:#45586a;margin:0}
.ngai-scale-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:#0b1826;color:#c3dcf0;font-size:9px;letter-spacing:.16em;text-align:center;font-weight:650}
.ngai-scale-link span:first-child,.ngai-scale-link span:last-child{display:block;width:1px;flex:1;max-height:90px;min-height:35px;background:linear-gradient(180deg,transparent,#9ec9e8,transparent)}
.ngai-system-link{display:grid;grid-template-columns:185px 1fr 1.15fr;gap:28px;align-items:start;padding:39px 0 31px;border-bottom:1px solid #ccd7e2;margin-top:19px}
.ngai-system-link>span{font-size:10px;letter-spacing:.17em;color:#386b98;font-weight:700;padding-top:5px}
.ngai-system-link strong{font-size:clamp(22px,2.7vw,31px);line-height:1.18;letter-spacing:-.045em;font-weight:550;color:#0c2032}
.ngai-system-link p{margin:0;color:#43596e;font-size:15px;line-height:1.65}
.ngai-lens .ngai-principles{margin-top:24px}
.ngai-lens .ngai-principle{background:transparent;border:0;border-right:1px solid #ccd7e2;padding:23px 28px 16px 0;min-height:auto}
.ngai-lens .ngai-principle:last-child{border-right:0;padding-right:0}
.ngai-lens .ngai-principle h3{margin:21px 0 14px;color:#0d2336}
.ngai-lens .ngai-principle p{color:#4d6174}
/* Work: domain hierarchy, research is a shared method rather than a fifth oversized card. */
.ngai-theme .ngai-work{background:radial-gradient(ellipse at 88% 7%,rgba(69,114,161,.09),transparent 47%),#070d15}
.ngai-work .ngai-domain-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:50px}
.ngai-work .ngai-domain{min-height:209px;background:#0b1521;transition:border-color .25s,background .25s,transform .25s}
.ngai-work .ngai-domain:nth-child(5){grid-column:auto}
.ngai-cross-domain{border:1px solid #354152;border-top:0;padding:27px 30px;display:grid;grid-template-columns:210px 1fr;gap:28px;align-items:baseline;background:#101c2a}
.ngai-cross-domain>span{font-size:10px;letter-spacing:.15em;color:#a4c8e4;font-weight:650}
.ngai-cross-domain h3{color:#fff;font-size:25px;line-height:1.15;letter-spacing:-.04em;font-weight:500;margin:0 0 10px}
.ngai-cross-domain p{color:#bbc9d9;font-size:15px;line-height:1.6;max-width:730px;margin:0}
/* Method/Publications preserve the approved fact/analysis/inference/uncertainty distinction. */
.ngai-theme .ngai-research{background:#f4f6f8}
.ngai-research .ngai-publication{background:#e9eff5;border-left:3px solid #447ea9}
/* Home Resources: curation is not a marketplace and has no misleading usage labels. */
.ngai-theme .ngai-resources-teaser{background:#0a121d;padding:106px 32px}
.ngai-resources-teaser-heading{display:grid;grid-template-columns:1.1fr .9fr;gap:68px;align-items:end;margin:0 0 38px}
.ngai-resources-teaser-heading h2{margin:15px 0 0}
.ngai-resources-teaser-heading p{margin:0;color:#afc1d1}
.ngai-resources-teaser-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid rgba(153,195,232,.23)}
.ngai-resources-teaser-card{min-height:230px;padding:24px;background:#0d1a28;border-right:1px solid rgba(153,195,232,.23);transition:background .25s}
.ngai-resources-teaser-card:last-child{border-right:0}
.ngai-resources-teaser-card>span{font-size:10px;letter-spacing:.12em;color:#9ec9e8;font-weight:650}
.ngai-resources-teaser-card h3{margin:56px 0 13px;color:#fff;font-size:23px;font-weight:500;letter-spacing:-.04em}
.ngai-resources-teaser-card p{font-size:14px;line-height:1.55;color:#b8c7d6;margin:0}
.ngai-resources-teaser-bottom{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-top:31px}
.ngai-resources-teaser-bottom p{color:#9fb1c2;max-width:590px;font-size:13px;margin:0}
.ngai-resources-teaser-bottom a{flex:0 0 auto}
/* Identity/contact return to a quiet editorial surface at the end of the page. */
.ngai-theme .ngai-about-section{background:#eff3f6;color:#0b1825;border-top:1px solid #d6e1ea}
.ngai-about-section .ngai-about-copy h2{color:#101c2a}
.ngai-about-section .ngai-about-copy p{color:#46596b}
.ngai-about-section .ngai-portrait{background:#fff;border:1px solid #ced8e2}
.ngai-about-section .ngai-labels span{border-color:#b7cbdd;color:#285777}
.ngai-theme .ngai-contact-section{background:#f7f9fb;color:#0b1825;border-top:1px solid #d2dce5}
/* Institutional pages: the shared graphic is a low-opacity circuit motif, never a duplicate mark. */
.ngai-theme .ngai-doc-hero-network{position:absolute;inset:auto 2% 0 auto;top:3%;width:min(44vw,560px);aspect-ratio:auto;height:97%;opacity:.42;transform:none;border:0;background:url('../images/network-fallback.svg') center right/contain no-repeat;pointer-events:none}
.ngai-theme .ngai-doc-hero-network i{display:none!important}
@media(hover:hover) and (pointer:fine){.ngai-resources-teaser-card:hover{background:#13273a}}
@media(max-width:1020px){.ngai-resources-teaser-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ngai-resources-teaser-card:nth-child(2){border-right:0}.ngai-resources-teaser-card:nth-child(-n+2){border-bottom:1px solid rgba(153,195,232,.23)}.ngai-lens-heading,.ngai-resources-teaser-heading{gap:32px}}
@media(max-width:800px){.ngai-theme .ngai-macro-hero{min-height:640px}.ngai-theme .ngai-macro-hero .ngai-wrap{padding:100px 24px 115px}.ngai-theme .ngai-macro-hero h1{font-size:clamp(56px,10vw,82px)}.ngai-theme .ngai-macro-hero .lead{font-size:19px}.ngai-theme .ngai-macro-hero .ngai-index{right:24px;bottom:23px}.ngai-lens-heading,.ngai-resources-teaser-heading{display:block}.ngai-theme .ngai-lens-heading .ngai-section-intro{margin-top:24px}.ngai-resources-teaser-heading p{margin-top:24px}.ngai-scale-architecture{grid-template-columns:minmax(0,1fr)}.ngai-scale-link{flex-direction:row;min-height:63px;gap:10px}.ngai-scale-link span:first-child,.ngai-scale-link span:last-child{width:21%;height:1px;min-height:0;max-height:none;flex:none;background:linear-gradient(90deg,transparent,#9ec9e8,transparent)}.ngai-system-link{grid-template-columns:1fr;gap:13px}.ngai-cross-domain{grid-template-columns:1fr;gap:14px}.ngai-theme .ngai-doc-hero-network{width:72vw;opacity:.24}}
@media(max-width:570px){.ngai-theme .ngai-macro-hero{min-height:610px}.ngai-theme .ngai-macro-hero .ngai-wrap{padding:85px 23px 108px}.ngai-theme .ngai-macro-hero h1{font-size:clamp(55px,13.5vw,77px);line-height:.96}.ngai-theme .ngai-macro-hero .lead{font-size:18px}.ngai-theme .ngai-macro-hero .ngai-index{font-size:9px;right:21px;bottom:18px}.ngai-theme .ngai-macro-hero::after{background-size:auto 72%;opacity:.22}.ngai-theme .ngai-lens{padding:76px 22px}.ngai-scale-card{padding:23px 22px 28px}.ngai-lens .ngai-principles{display:grid;grid-template-columns:1fr}.ngai-lens .ngai-principle,.ngai-lens .ngai-principle:last-child{border:0;border-bottom:1px solid #ccd7e2;padding:22px 0}.ngai-theme .ngai-resources-teaser{padding:76px 22px}.ngai-resources-teaser-grid{grid-template-columns:1fr}.ngai-resources-teaser-card,.ngai-resources-teaser-card:nth-child(2),.ngai-resources-teaser-card:last-child{min-height:150px;border-right:0;border-bottom:1px solid rgba(153,195,232,.23);padding:21px}.ngai-resources-teaser-card:last-child{border-bottom:0}.ngai-resources-teaser-card h3{margin:25px 0 10px}.ngai-resources-teaser-bottom{flex-direction:column;align-items:flex-start;gap:20px}.ngai-resources-teaser-bottom a{width:100%}}
@media(prefers-reduced-motion:reduce){.ngai-theme .ngai-macro-hero .ngai-network{display:none!important}.ngai-theme .ngai-macro-hero .ngai-cursor-glow{display:none!important}.ngai-resources-teaser-card{transition:none}}

/* V7.1 — ORBITAL SYSTEMS. Scoped strictly to the Hero; no internal-page changes. */
.ngai-theme .ngai-macro-hero{
  background:radial-gradient(ellipse 65% 80% at 86% 48%,rgba(38,80,130,.085) 0%,rgba(27,62,104,.024) 54%,transparent 95%),linear-gradient(115deg,#030508 0%,#050912 58%,#08111c 100%);
}
.ngai-theme .ngai-macro-hero::after{
  background-image:url('../images/orbital-fallback.svg');
  background-position:right center;
  background-size:auto 100%;
  opacity:.16;
}
.ngai-theme .ngai-macro-hero .ngai-orbital-veil{
  position:absolute;inset:0;pointer-events:none;z-index:2;
  background:linear-gradient(90deg,rgba(3,5,9,.48) 0%,rgba(3,5,9,.37) 34%,rgba(3,5,9,.08) 62%,transparent 78%);
}
.ngai-theme .ngai-macro-hero .ngai-network-halo{
  z-index:1;background:radial-gradient(ellipse 45% 57% at 87% 48%,rgba(64,120,173,.055),transparent 100%);
}
.ngai-theme .ngai-macro-hero .ngai-cursor-glow{z-index:2}
.ngai-theme .ngai-macro-hero .ngai-wrap{z-index:3}
@media(max-width:800px){
  .ngai-theme .ngai-macro-hero::after{background-size:auto 76%;background-position:84% center;opacity:.13}
  .ngai-theme .ngai-macro-hero .ngai-orbital-veil{background:linear-gradient(90deg,rgba(3,5,9,.70),rgba(3,5,9,.34) 68%,rgba(3,5,9,.16))}
}
@media(prefers-reduced-motion:reduce){
  .ngai-theme .ngai-macro-hero::after{opacity:.29}
  .ngai-theme .ngai-macro-hero .ngai-orbital-veil{background:linear-gradient(90deg,rgba(3,5,9,.61),rgba(3,5,9,.18) 73%,transparent)}
}

/* V7.2 — color depth without a vertical light column. The content and all internal pages remain unchanged. */
.ngai-theme .ngai-macro-hero{
  background:
    radial-gradient(ellipse 48% 52% at 82% 47%,rgba(56,98,158,.075),transparent 88%),
    radial-gradient(ellipse 36% 45% at 92% 52%,rgba(99,82,141,.031),transparent 91%),
    linear-gradient(113deg,#030508 0%,#050912 60%,#080f19 100%);
}
.ngai-theme .ngai-macro-hero .ngai-network-halo{
  background:radial-gradient(ellipse 42% 51% at 82% 48%,rgba(69,110,178,.042),transparent 100%);
}
.ngai-theme .ngai-macro-hero::after{background-position:right center;opacity:.15}
@media(max-width:800px){
  .ngai-theme .ngai-macro-hero::after{opacity:.11}
}

/* V7.3: orbital volume and restrained spectral depth. Sphere placement remains locked. */
.ngai-theme .ngai-macro-hero .ngai-network-halo{background:radial-gradient(ellipse 45% 52% at 83% 48%,rgba(75,117,179,.044),transparent 100%)}
/* Keep the orbital silhouette behind open space, rather than crossing the
   headline at wide desktop sizes. V7.2 sizing is retained at <=1299px. */
@media (min-width:1300px){
  .ngai-theme .ngai-macro-hero h1{font-size:clamp(99px,7.2vw,107px)}
}
@media(prefers-reduced-motion:reduce){
  .ngai-theme .ngai-macro-hero::after{opacity:.50}
}

/* V7.4 — moving Orbital Systems visual. Only Hero presentation changes. */
.ngai-theme .ngai-macro-hero{
  background:
    radial-gradient(ellipse 48% 67% at 79% 47%,rgba(33,64,121,.055),transparent 86%),
    radial-gradient(ellipse 35% 55% at 94% 57%,rgba(93,62,130,.023),transparent 88%),
    linear-gradient(113deg,#030508 0%,#050911 60%,#07101b 100%);
}
.ngai-theme .ngai-macro-hero::after{
  inset:auto;left:83.8%;top:48.5%;
  width:min(37.6vw,538px);height:min(37.6vw,538px);
  background:url('../images/orbital-network-texture.webp') center/contain no-repeat;
  transform:translate(-50%,-50%);
  opacity:.77;
  mask-image:none;
  pointer-events:none;
}
.ngai-theme .ngai-macro-hero[data-orbital-system="ready"]::after{opacity:0}
.ngai-theme .ngai-macro-hero .ngai-network-halo{
  background:radial-gradient(ellipse 43% 51% at 81% 49%,rgba(45,93,161,.045),transparent 100%);
}
.ngai-theme .ngai-macro-hero .ngai-orbital-veil{
  background:linear-gradient(90deg,rgba(3,5,9,.50) 0%,rgba(3,5,9,.36) 34%,rgba(3,5,9,.08) 59%,rgba(3,5,9,0) 78%);
}
@media(max-width:800px){
  .ngai-theme .ngai-macro-hero{min-height:730px}
  .ngai-theme .ngai-macro-hero::after{left:76%;top:81%;width:min(59vw,240px);height:min(59vw,240px);opacity:.67}
  .ngai-theme .ngai-macro-hero .ngai-orbital-veil{
    background:linear-gradient(180deg,rgba(3,5,9,.10),rgba(3,5,9,.24) 57%,rgba(3,5,9,.38) 100%);
  }
}
@media(prefers-reduced-motion:reduce){
  .ngai-theme .ngai-macro-hero::after,.ngai-theme .ngai-macro-hero[data-orbital-system="ready"]::after{opacity:.79}
  .ngai-theme .ngai-macro-hero .ngai-network{display:none!important}
}
@media(max-width:570px){
  .ngai-theme .ngai-macro-hero .ngai-index{
    left:23px;right:auto;bottom:22px;max-width:144px;
    text-align:left;white-space:normal;line-height:1.65;
  }
}

/* V7.5 — responsive mobile Hero, content-first, orb in its own visual stage. */
.ngai-mobile-orbit-stage{display:none}
@media(max-width:800px){
  /* Sticky navigation can cover the heading after a touch scroll on compact screens. */
  .ngai-theme.ngai-home .site-header{position:relative;top:auto}
  .ngai-theme .ngai-macro-hero{display:block;min-height:0}
  .ngai-theme .ngai-macro-hero .ngai-wrap{
    width:100%;max-width:none;min-width:0;
    display:flex;flex-direction:column;align-items:stretch;
    padding:48px 23px 32px;
  }
  .ngai-theme .ngai-macro-hero .ngai-kicker{font-size:10px;line-height:1.6;letter-spacing:.14em;max-width:38ch}
  .ngai-theme .ngai-macro-hero h1{
    max-width:100%;margin:19px 0 25px;
    font-size:clamp(48px,11.8vw,67px);line-height:.98;letter-spacing:-.067em;
  }
  .ngai-theme .ngai-macro-hero .lead{max-width:36ch;font-size:17px;line-height:1.52;margin:0}
  .ngai-theme .ngai-macro-hero .ngai-actions{margin-top:29px;display:flex;align-items:flex-start;gap:10px}
  .ngai-theme .ngai-macro-hero .ngai-button{min-height:48px;padding:14px 17px;font-size:10px;letter-spacing:.11em;white-space:normal}
  /* An intrinsic stage keeps the orbital animation clear of headline and CTAs. */
  .ngai-theme .ngai-macro-hero .ngai-mobile-orbit-stage{
    display:block;flex:none;position:relative;
    height:clamp(255px,75vw,338px);margin-top:28px;
    background:url('../images/orbital-network-texture.webp') 68% center/min(54vw,235px) auto no-repeat;
    pointer-events:none;
  }
  .ngai-theme .ngai-macro-hero[data-orbital-system="ready"] .ngai-mobile-orbit-stage{background-image:none}
  .ngai-theme .ngai-macro-hero::after{display:none!important}
  .ngai-theme .ngai-macro-hero .ngai-index{
    position:absolute;left:23px;right:auto;bottom:35px;
    max-width:142px;text-align:left;white-space:normal;
    font-size:9px;line-height:1.55;letter-spacing:.15em;
  }
}
@media(max-width:360px){
  .ngai-theme .ngai-macro-hero .ngai-wrap{padding-left:19px;padding-right:19px}
  .ngai-theme .ngai-macro-hero .ngai-index{left:19px}
  .ngai-theme .ngai-macro-hero h1{font-size:clamp(44px,12vw,50px)}
  .ngai-theme .ngai-macro-hero .ngai-button{padding:13px 14px;letter-spacing:.085em}
}
@media(prefers-reduced-motion:reduce){
  .ngai-theme .ngai-macro-hero .ngai-mobile-orbit-stage{background-image:url('../images/orbital-network-texture.webp')!important}
}
