/* WEBOPS · Operational Gravity Radar · Home owner */
.nhx-gravity {
  --g-green:#7AC943;
  --g-teal:#1F5D5E;
  --g-ink:#123C4B;
  --g-muted:#66737c;
  --g-bg:#f6faf7;
  --g-panel:rgba(255,255,255,.86);
  --g-line:rgba(31,93,94,.16);
  --g-shadow:rgba(15,35,48,.09);
  padding:clamp(58px,6vw,88px) 0;
  background:var(--g-bg);
  color:var(--g-ink);
}
.nhx-gravity__shell {
  display:grid;
  gap:30px;
}
.nhx-gravity__intro {
  max-width:760px;
}
.nhx-gravity__intro .nhx-kicker {
  color:var(--g-green)!important;
}
.nhx-gravity__intro h2 {
  margin:8px 0 0;
  max-width:18ch;
  color:var(--g-ink);
  font-size:clamp(2rem,4vw,3.35rem);
  line-height:1.04;
  letter-spacing:-.035em;
}
.nhx-gravity__intro > p:last-child {
  margin:18px 0 0;
  max-width:66ch;
  color:var(--g-muted);
  font-size:1.02rem;
  line-height:1.65;
}
.nhx-gravity--home {
  padding-top:clamp(28px,3vw,44px);
}
.nhx-gravity--home .nhx-gravity__intro .nhx-kicker {
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  width:auto!important;
  margin:0 0 16px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--g-green)!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.2!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.nhx-gravity--home .nhx-gravity__intro .nhx-kicker::before {
  content:"";
  width:40px;
  height:3px;
  flex:0 0 40px;
  border-radius:999px;
  background:var(--g-green);
}
.nhx-gravity--home .nhx-gravity__intro {
  width:50%;
  max-width:none;
}
.nhx-gravity--home .nhx-gravity__intro h2 {
  margin:0!important;
  max-width:22ch!important;
  color:var(--g-ink)!important;
  font-family:Manrope,Inter,system-ui,sans-serif!important;
  font-size:clamp(calc(2.25rem - 2px),calc(4vw - 2px),calc(3rem - 2px))!important;
  font-weight:700!important;
  line-height:1.06!important;
  letter-spacing:-.035em!important;
}

/* Light title contract: same semantic teal used by Home section titles. */
html[data-nhx-theme="light"] .nhx-gravity--home .nhx-gravity__intro h2 {
  color:var(--g-teal)!important;
}
.nhx-gravity--home .nhx-gravity__intro > p:last-child {
  margin-top:24px!important;
  max-width:70ch;
  font-size:18px;
  line-height:1.6;
}
.nhx-gravity__stage {
  position:relative;
  overflow:hidden;
  border:1px solid var(--g-line);
  border-radius:30px;
  background:
    radial-gradient(circle at 42% 48%,rgba(122,201,67,.10),transparent 25%),
    linear-gradient(rgba(31,93,94,.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(31,93,94,.03) 1px,transparent 1px),
    var(--g-panel);
  background-size:auto,44px 44px,44px 44px,auto;
  box-shadow:0 24px 58px var(--g-shadow);
}
@media (min-width:1001px) {
  .nhx-gravity--home .nhx-gravity__stage {
    height:calc(560px + 5cm);
    min-height:0;
  }
  .nhx-gravity--home .nhx-gravity__radar-layout {
    height:100%;
    min-height:0;
  }
  .nhx-gravity--home .nhx-gravity__radar-wrap {
    /* Grow one grid module while keeping the top Data/visibility label visually anchored. */
    transform:translateY(-44px);
  }
  .nhx-gravity--home .nhx-radar {
    width:min(100%,676px);
  }
  .nhx-gravity--home .nhx-gravity__route {
    transform:translateY(-88px);
  }
}
.nhx-gravity__stage-meta {
  position:absolute;
  left:22px;
  top:20px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 11px;
  border:1px solid rgba(31,93,94,.12);
  border-radius:999px;
  background:rgba(255,255,255,.76);
  box-shadow:0 8px 24px rgba(15,35,48,.055);
  backdrop-filter:blur(10px);
  color:var(--g-muted);
  font-size:.68rem;
  line-height:1;
  z-index:5;
}
.nhx-gravity__stage-meta strong {
  color:var(--g-ink);
  font-size:.69rem;
}
.nhx-gravity__stage-meta-dot {
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--g-green);
  box-shadow:0 0 0 5px rgba(122,201,67,.1);
}
.nhx-gravity__stage-reset {
  margin-left:2px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--g-teal);
  font:inherit;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:2px;
  cursor:pointer;
}
.nhx-gravity__stage-reset:focus-visible {
  outline:2px solid var(--g-green);
  outline-offset:3px;
  border-radius:4px;
}
.nhx-gravity__radar-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(294px,344px);
  gap:clamp(20px,2.5vw,38px);
  align-items:center;
  min-height:inherit;
  padding:66px 34px 44px;
}
.nhx-gravity__radar-wrap {
  display:grid;
  min-width:0;
  place-items:center;
  align-self:stretch;
}
.nhx-radar {
  display:block;
  width:min(100%,760px);
  height:auto;
  overflow:visible;
  touch-action:none;
  user-select:none;
}
.nhx-radar__ring {
  fill:none;
  stroke:rgba(31,93,94,.14);
  stroke-width:1.2;
  vector-effect:non-scaling-stroke;
}
.nhx-radar__ring[data-level="3"] {
  stroke:rgba(31,93,94,.22);
}
.nhx-radar__ring-label {
  fill:rgba(31,93,94,.44);
  font-family:Manrope,Inter,system-ui,sans-serif;
  font-size:10px;
  font-weight:800;
}
.nhx-radar__axis {
  stroke:rgba(31,93,94,.18);
  stroke-width:1.1;
  vector-effect:non-scaling-stroke;
}
.nhx-radar__polygon {
  fill:rgba(122,201,67,.16);
  stroke:var(--g-green);
  stroke-width:2.4;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
  filter:drop-shadow(0 8px 16px rgba(122,201,67,.14));
  transition:points .18s ease,fill .18s ease;
}
.nhx-radar__hub circle {
  fill:rgba(122,201,67,.14);
  stroke:rgba(122,201,67,.62);
  stroke-width:1.4;
  vector-effect:non-scaling-stroke;
}
.nhx-radar__hub text {
  fill:var(--g-ink);
  font-family:Manrope,Inter,system-ui,sans-serif;
  font-size:12px;
  font-weight:850;
  letter-spacing:.05em;
}
.nhx-radar__axis-label {
  fill:var(--g-ink);
  font-family:Manrope,Inter,system-ui,sans-serif;
  font-size:14px;
  font-weight:800;
}
.nhx-radar__axis-value {
  fill:var(--g-muted);
  font-family:Manrope,Inter,system-ui,sans-serif;
  font-size:13px;
  font-weight:700;
  transition:fill .18s ease;
}
.nhx-radar__axis-value.is-touched {
  fill:var(--g-green);
}
.nhx-radar__handle {
  cursor:grab;
  outline:none;
}
.nhx-radar__handle:active {
  cursor:grabbing;
}
.nhx-radar__handle-halo {
  fill:rgba(122,201,67,.08);
  stroke:transparent;
  transition:fill .18s ease,stroke .18s ease;
}
.nhx-radar__handle-core {
  fill:#fff;
  stroke:rgba(31,93,94,.28);
  stroke-width:1.5;
  vector-effect:non-scaling-stroke;
  transition:fill .18s ease,stroke .18s ease,filter .18s ease;
}
.nhx-radar__handle-icon {
  fill:var(--g-teal);
  font-family:Manrope,Inter,system-ui,sans-serif;
  font-size:13px;
  font-weight:900;
  pointer-events:none;
}
.nhx-radar__handle:hover .nhx-radar__handle-core,
.nhx-radar__handle:focus-visible .nhx-radar__handle-core,
.nhx-radar__handle.is-touched .nhx-radar__handle-core {
  fill:#f2faec;
  stroke:var(--g-green);
  filter:drop-shadow(0 4px 8px rgba(122,201,67,.22));
}
.nhx-radar__handle:focus-visible .nhx-radar__handle-halo {
  fill:rgba(122,201,67,.14);
  stroke:rgba(122,201,67,.46);
}
.nhx-gravity__route {
  position:relative;
  align-self:center;
  overflow:hidden;
  width:100%;
  padding:22px 22px 20px;
  border:1px solid rgba(31,93,94,.20);
  border-radius:20px;
  background:rgba(255,255,255,.92);
  box-shadow:0 16px 36px rgba(15,35,48,.09);
  backdrop-filter:blur(12px);
}
.nhx-gravity__route::before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(to bottom,transparent,var(--g-green) 22% 78%,transparent);
  opacity:.45;
}
.nhx-gravity__route-label {
  display:block;
  color:var(--g-teal);
  font-size:.68rem;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.nhx-gravity__route > strong {
  display:block;
  margin-top:7px;
  color:var(--g-ink);
  font-family:Manrope,Inter,system-ui,sans-serif;
  font-size:1.18rem;
  line-height:1.22;
}
.nhx-gravity__route > p {
  margin:10px 0 0;
  color:var(--g-muted);
  font-size:.82rem;
  line-height:1.52;
}
.nhx-gravity__priority {
  margin-top:12px;
  padding:11px;
  border:1px solid rgba(31,93,94,.14);
  border-radius:13px;
  background:rgba(31,93,94,.035);
}
.nhx-gravity__priority > strong {
  display:block;
  color:var(--g-ink);
  font-size:.76rem;
  line-height:1.35;
}
.nhx-gravity__priority-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin-top:9px;
}
.nhx-gravity__priority-options button {
  min-height:42px;
  padding:8px 9px;
  border:1px solid rgba(31,93,94,.16);
  border-radius:10px;
  background:var(--g-panel);
  color:var(--g-ink);
  font:inherit;
  font-size:.69rem;
  font-weight:750;
  line-height:1.25;
  text-align:left;
  cursor:pointer;
}
.nhx-gravity__priority-options button:hover,
.nhx-gravity__priority-options button:focus-visible,
.nhx-gravity__priority-options button[aria-pressed="true"] {
  border-color:var(--g-green);
  background:rgba(122,201,67,.10);
  outline:none;
}
.nhx-gravity__complement {
  padding:10px 11px;
  border:1px solid rgba(122,201,67,.24);
  border-radius:12px;
  background:rgba(122,201,67,.07);
  color:var(--g-ink)!important;
  font-size:.76rem!important;
  line-height:1.45!important;
}
.nhx-gravity__complement a {
  color:var(--g-teal);
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}
.nhx-gravity__route-actions {
  display:grid;
  gap:9px;
  margin-top:16px;
}
.nhx-gravity__route [hidden] {
  display:none!important;
}
.nhx-gravity__route-actions .nhx-button {
  justify-content:center;
  padding:.76rem .95rem!important;
  font-size:.78rem!important;
}
.nhx-gravity__human {
  color:var(--g-teal);
  font-size:.77rem;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}
.nhx-gravity[data-route-state="solution"] .nhx-gravity__route,
.nhx-gravity[data-route-state="frontier"] .nhx-gravity__route,
.nhx-gravity[data-route-state="priority"] .nhx-gravity__route {
  border-color:rgba(122,201,67,.52);
  box-shadow:0 20px 42px rgba(15,35,48,.11),0 0 0 1px rgba(122,201,67,.06) inset;
}
.nhx-gravity[data-route-state="complementary"] .nhx-gravity__route {
  border-color:rgba(122,201,67,.40);
  box-shadow:0 18px 38px rgba(15,35,48,.10),0 0 0 1px rgba(122,201,67,.05) inset;
}
.nhx-gravity[data-route-state="human"] .nhx-gravity__route {
  border-color:rgba(31,93,94,.34);
}
.nhx-gravity__status {
  position:absolute;
  left:24px;
  bottom:18px;
  max-width:62ch;
  margin:0;
  color:var(--g-muted);
  font-size:.75rem;
  line-height:1.4;
  z-index:4;
}
.nhx-gravity__fallback {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.nhx-gravity.is-enhanced .nhx-gravity__fallback {
  display:none;
}
.nhx-gravity__fallback a {
  display:grid;
  gap:6px;
  padding:16px;
  border:1px solid var(--g-line);
  border-radius:16px;
  background:var(--g-panel);
  color:inherit;
  text-decoration:none;
}
.nhx-gravity__fallback a strong {
  color:var(--g-ink);
  font-size:.86rem;
}
.nhx-gravity__fallback a span {
  color:var(--g-muted);
  font-size:.75rem;
  line-height:1.4;
}
.nhx-gravity__fallback-title {
  margin:0 0 10px;
  font-weight:800;
}
html[data-nhx-theme="night"] .nhx-gravity {
  --g-ink:#edf7f3;
  --g-muted:#b6c5c4;
  --g-bg:#0d171c;
  --g-panel:rgba(18,31,37,.91);
  --g-line:rgba(161,205,191,.18);
  --g-shadow:rgba(0,0,0,.25);
}
html[data-nhx-theme="night"] .nhx-gravity__route,
html[data-nhx-theme="night"] .nhx-gravity__stage-meta {
  background:rgba(18,31,37,.92);
}
html[data-nhx-theme="night"] .nhx-radar__handle-core {
  fill:#13252c;
  stroke:rgba(161,205,191,.28);
}
html[data-nhx-theme="night"] .nhx-radar__handle.is-touched .nhx-radar__handle-core,
html[data-nhx-theme="night"] .nhx-radar__handle:focus-visible .nhx-radar__handle-core {
  fill:#193325;
}
@media (max-width:1000px) {
  .nhx-gravity--home .nhx-gravity__intro {
    width:100%;
    max-width:760px;
  }
  .nhx-gravity__stage {
    min-height:980px;
  }
  .nhx-gravity__radar-layout {
    grid-template-columns:1fr;
    gap:20px;
    padding:64px 22px 78px;
  }
  .nhx-gravity__radar-wrap {
    min-height:650px;
  }
  .nhx-gravity__route {
    width:min(100%,620px);
    justify-self:center;
  }
  .nhx-gravity__stage-meta {
    left:16px;
    top:16px;
  }
  .nhx-gravity__status {
    left:20px;
    right:20px;
    bottom:16px;
  }
  .nhx-gravity__fallback {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:680px) {
  .nhx-gravity {
    padding:48px 0;
  }
  .nhx-gravity--home {
    padding-top:28px;
  }
  .nhx-gravity__stage {
    min-height:850px;
    border-radius:22px;
  }
  .nhx-gravity__stage-meta {
    right:14px;
    left:14px;
    justify-content:center;
  }
  .nhx-gravity__stage-meta strong {
    display:none;
  }
  .nhx-gravity__radar-layout {
    padding:58px 10px 76px;
  }
  .nhx-gravity__radar-wrap {
    min-height:520px;
  }
  .nhx-radar__axis-label {
    font-size:16px;
  }
  .nhx-radar__axis-value {
    font-size:15px;
  }
  .nhx-radar__hub text {
    font-size:15px;
  }
  .nhx-radar__ring-label {
    font-size:12px;
  }
  .nhx-radar__handle-icon {
    font-size:15px;
  }
  .nhx-gravity__priority-options {
    grid-template-columns:1fr;
  }
  .nhx-gravity__route {
    padding:18px 18px 17px;
  }
  .nhx-gravity__fallback {
    grid-template-columns:1fr;
  }
}
@media (prefers-reduced-motion:reduce) {
  .nhx-radar__polygon,
  .nhx-radar__handle-core,
  .nhx-radar__handle-halo,
  .nhx-radar__axis-value {
    transition:none!important;
  }
}
html.nhx-low-bandwidth .nhx-gravity__stage,
.nhx-gravity.is-low-bandwidth .nhx-gravity__stage {
  background:var(--g-panel);
  box-shadow:none;
}
html.nhx-low-bandwidth .nhx-gravity__stage-meta,
html.nhx-low-bandwidth .nhx-gravity__route,
.nhx-gravity.is-low-bandwidth .nhx-gravity__stage-meta,
.nhx-gravity.is-low-bandwidth .nhx-gravity__route {
  backdrop-filter:none;
}
