/* AVRYN · ORBIT SYSTEM — consolidated module */

body.av-premium-hero-enabled .av-ai-hero-system { display: none !important; }
body.av-premium-hero-enabled .av-ambient-orbit { display: none !important; }

.avc-hero,
.avc-hero .av-container,
.av-ai-hero-grid { overflow: clip; }

.av-premium-hero-orbit {
  --av-po-x: 0px;
  --av-po-y: 0px;
  position: relative;
  align-self: center;
  width: 100%;
  height: clamp(540px, 43vw, 660px);
  min-width: 0;
  overflow: visible;
  pointer-events: none;
  contain: layout style;
}

.av-premium-orbit-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 650px);
  height: auto;
  min-width: 0;
  aspect-ratio: 1;
  isolation: isolate;
  border-radius: 50%;
  transform: translate(calc(-50% + var(--av-po-x)), calc(-50% + var(--av-po-y)));
  transition: transform .18s linear;
}

.av-po-halo,
.av-po-ring,
.av-po-active-ring,
.av-po-spinner,
.av-po-axis {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
}

.av-po-halo,
.av-po-ring,
.av-po-active-ring,
.av-po-spinner { border-radius: 50%; }

.av-po-halo { transform: translate(-50%, -50%); }
.av-po-halo-1 {
  width: 76%;
  height: 76%;
  background: radial-gradient(circle, rgba(183, 216, 90, .13), rgba(98, 104, 93, .055) 42%, transparent 70%);
  filter: blur(13px);
  animation: avOrbitHalo 8s ease-in-out infinite alternate;
}
.av-po-halo-2 {
  width: 42%;
  height: 42%;
  background: radial-gradient(circle, rgba(242, 240, 233, .04), rgba(183, 216, 90, .09) 35%, transparent 72%);
  filter: blur(18px);
  animation: avOrbitHalo 6s ease-in-out -3s infinite alternate-reverse;
}

.av-po-axis { z-index: 0; opacity: .22; transform: translate(-50%, -50%); }
.av-po-axis-x {
  width: 88%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(165, 167, 158, .14), rgba(183, 216, 90, .26), rgba(165, 167, 158, .14), transparent);
}
.av-po-axis-y {
  width: 1px;
  height: 88%;
  background: linear-gradient(180deg, transparent, rgba(165, 167, 158, .12), rgba(183, 216, 90, .22), rgba(165, 167, 158, .12), transparent);
}

.av-po-ring {
  z-index: 1;
  border: 1px solid rgba(165, 167, 158, .14);
  box-shadow: inset 0 0 32px rgba(165, 167, 158, .018);
  transform: translate(-50%, -50%);
}
.av-po-ring-1 { width: 94%; height: 94%; }
.av-po-ring-2 { width: 78%; height: 78%; border-color: rgba(183, 216, 90, .18); }
.av-po-ring-3 { width: 62%; height: 62%; }
.av-po-ring-4 { width: 46%; height: 46%; border-color: rgba(183, 216, 90, .24); }
.av-po-ring-5 {
  width: 31%;
  height: 31%;
  border-color: rgba(183, 216, 90, .42);
  box-shadow: 0 0 54px rgba(183, 216, 90, .075), inset 0 0 34px rgba(183, 216, 90, .045);
}

.av-po-active-ring {
  z-index: 2;
  transform: translate(-50%, -50%);
  -webkit-mask: radial-gradient(circle, transparent calc(50% - 1px), #050505 50%, transparent calc(50% + 2px));
  mask: radial-gradient(circle, transparent calc(50% - 1px), #050505 50%, transparent calc(50% + 2px));
}
.av-po-active-ring-1 {
  width: 94%;
  height: 94%;
  background: conic-gradient(from 42deg, transparent 0 246deg, rgba(183, 216, 90, .88) 278deg, transparent 310deg);
  animation: avOrbitRotate 34s linear infinite;
}
.av-po-active-ring-2 {
  width: 78%;
  height: 78%;
  background: conic-gradient(from 215deg, transparent 0 112deg, rgba(242, 240, 233, .5) 136deg, rgba(183, 216, 90, .72) 150deg, transparent 182deg);
  animation: avOrbitRotateReverse 27s linear infinite;
}
.av-po-active-ring-3 {
  width: 46%;
  height: 46%;
  background: conic-gradient(from 90deg, transparent 0 172deg, rgba(183, 216, 90, .78) 205deg, transparent 232deg);
  animation: avOrbitRotate 19s linear infinite;
}

.av-po-spinner { z-index: 5; transform: translate(-50%, -50%); animation: avOrbitRotate 18s linear infinite; }
.av-po-spinner i {
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(242, 240, 233, .48);
  border-radius: 50%;
  background: #B7D85A;
  box-shadow: 0 0 0 5px rgba(183, 216, 90, .07), 0 0 17px rgba(183, 216, 90, .85), 0 0 38px rgba(183, 216, 90, .28);
  transform: translate(50%, -50%);
}
.av-po-spinner-1 { width: 94%; height: 94%; animation-duration: 24s; }
.av-po-spinner-2 { width: 78%; height: 78%; animation-duration: 19s; animation-direction: reverse; }
.av-po-spinner-3 { width: 62%; height: 62%; animation-duration: 15s; }
.av-po-spinner-4 { width: 46%; height: 46%; animation-duration: 12s; animation-direction: reverse; }
.av-po-spinner-5 { width: 31%; height: 31%; animation-duration: 9s; }
.av-po-spinner-2 i,
.av-po-spinner-4 i { width: 5px; height: 5px; opacity: .7; }

.av-po-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 8;
  display: flex;
  width: 196px;
  height: 196px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(183, 216, 90, .48);
  border-radius: 50%;
  background: radial-gradient(circle at 46% 40%, rgba(183, 216, 90, .105), transparent 49%), rgba(5, 5, 5, .95);
  box-shadow: 0 0 62px rgba(183, 216, 90, .15), 0 0 128px rgba(183, 216, 90, .06), inset 0 0 45px rgba(165, 167, 158, .055);
  transform: translate(-50%, -50%);
  animation: avOrbitCore 6s ease-in-out infinite;
}
.av-po-core::before {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px solid rgba(165, 167, 158, .16);
  border-radius: 50%;
}
.av-po-core small,
.av-po-core-meta {
  position: relative;
  z-index: 3;
  color: #A5A79E;
  font-size: 8px;
  letter-spacing: .24em;
}
.av-po-core small { margin-bottom: 9px; }
.av-po-core-meta { margin-top: 8px; font-size: 7px; }
.av-po-core-brand { position: relative; z-index: 3; display: grid; width: 82px; height: 66px; place-items: center; }
.av-po-core-logo { width: 82px; height: 66px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(183, 216, 90, .14)); }
.av-po-core-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(183, 216, 90, .24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: avOrbitPulse 5s ease-out infinite;
}
.av-po-core-pulse-2 { animation-delay: -2.5s; }

.av-po-capability {
  position: absolute;
  z-index: 12;
  display: block;
  min-width: 0;
  opacity: 1;
}
.av-po-capability > i {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(242, 240, 233, .55);
  border-radius: 50%;
  background: #B7D85A;
  box-shadow: 0 0 0 4px rgba(183, 216, 90, .06), 0 0 16px rgba(183, 216, 90, .82);
  transform: translate(-50%, -50%);
}
.av-po-capability > div {
  position: relative;
  display: flex;
  min-width: 136px;
  flex-direction: column;
  gap: 4px;
  margin-left: 12px;
  padding: 4px 0 4px 18px;
  text-align: left;
  transform: translateY(-50%);
}
.av-po-capability > div::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(183, 216, 90, .8), transparent);
}
.av-po-capability strong {
  color: #F2F0E9;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 660;
  letter-spacing: .12em;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(5, 5, 5, .9);
}
.av-po-capability span {
  color: #A5A79E;
  font-size: 8.5px;
  line-height: 1.25;
  letter-spacing: .01em;
  white-space: nowrap;
  text-shadow: 0 2px 15px #050505;
}
.av-po-capability-1 { top: 22.98%; left: 65.27%; }
.av-po-capability-2 { top: 62.16%; left: 4.60%; }
.av-po-capability-3 { top: 85.63%; left: 65.86%; }

.av-po-direction,
.av-po-star,
.av-po-status { position: absolute; z-index: 6; }
.av-po-direction { color: rgba(183, 216, 90, .62); font-size: 13px; letter-spacing: -.08em; text-shadow: 0 0 10px rgba(183, 216, 90, .42); }
.av-po-direction-1 { top: 46%; right: 12%; transform: rotate(90deg); }
.av-po-direction-2 { bottom: 14%; left: 10%; transform: rotate(34deg); }
.av-po-direction-3 { right: 18%; bottom: 5%; transform: rotate(-25deg); }
.av-po-star {
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: transparent;
}
.av-po-star::before {
  position: absolute;
  top: 50%;
  right: 0;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: #B7D85A;
  box-shadow: 0 0 10px rgba(183, 216, 90, .8);
  transform: translate(50%, -50%);
  animation: avOrbitStar 4s ease-in-out infinite;
}
.av-po-star-1 { width: 94%; height: 94%; transform: translate(-50%, -50%) rotate(-145deg); }
.av-po-star-2 { width: 78%; height: 78%; transform: translate(-50%, -50%) rotate(-64deg); }
.av-po-star-3 { width: 62%; height: 62%; transform: translate(-50%, -50%) rotate(10deg); }
.av-po-star-4 { width: 46%; height: 46%; transform: translate(-50%, -50%) rotate(142deg); }
.av-po-star-5 { width: 94%; height: 94%; transform: translate(-50%, -50%) rotate(64deg); }
.av-po-star-2::before { animation-delay: -1s; }
.av-po-star-3::before { animation-delay: -2s; }
.av-po-star-4::before { animation-delay: -3s; }
.av-po-star-5::before { animation-delay: -1.5s; }
.av-po-status {
  top: 11.05%;
  left: 76.30%;
  display: block;
  color: #A5A79E;
  font-size: 7px;
  font-weight: 620;
  letter-spacing: .18em;
  white-space: nowrap;
}
.av-po-status i {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #B7D85A;
  box-shadow: 0 0 10px rgba(183, 216, 90, .82);
  transform: translate(-50%, -50%);
  animation: avOrbitStatus 2.4s ease-in-out infinite;
}
.av-po-status span { display: block; margin-left: 10px; transform: translateY(-50%); }

.av-premium-hero-orbit:not(.is-orbit-visible) .av-premium-orbit-stage { opacity: 0; transform: translate(-50%, calc(-50% + 18px)) scale(.97); }
.av-premium-hero-orbit .av-premium-orbit-stage { opacity: 1; transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1); }

@keyframes avOrbitRotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes avOrbitRotateReverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes avOrbitHalo { to { opacity: .66; transform: translate(-50%, -50%) scale(1.07); } }
@keyframes avOrbitPulse { 0% { opacity: .8; transform: translate(-50%, -50%) scale(.9); } 80%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.42); } }
@keyframes avOrbitCore { 50% { box-shadow: 0 0 76px rgba(183, 216, 90, .18), 0 0 142px rgba(183, 216, 90, .075), inset 0 0 52px rgba(165, 167, 158, .07); } }
@keyframes avOrbitStar { 50% { opacity: .28; transform: scale(.7); } }
@keyframes avOrbitStatus { 50% { opacity: .3; transform: scale(.75); } }

@media (max-width: 1120px) and (min-width: 901px) {
  .av-premium-hero-orbit { height: 540px; }
  .av-premium-orbit-stage { width: min(100%, 530px); }
  .av-po-core { width: 168px; height: 168px; }
  .av-po-core-brand,
  .av-po-core-logo { width: 70px; height: 57px; }
  .av-po-capability strong { font-size: 8.4px; }
  .av-po-capability span { font-size: 7.2px; }
  .av-po-capability > div { min-width: 116px; padding-left: 14px; }
  .av-po-capability > div::before { width: 9px; }
}

@media (max-width: 900px) {
  .av-premium-hero-orbit {
    width: 100%;
    height: min(76vw, 610px);
    min-height: 520px;
    margin-top: 18px;
    overflow: hidden;
  }
  .av-premium-orbit-stage { width: min(84vw, 580px); }
}

@media (max-width: 680px) {
  .av-premium-hero-orbit { height: 415px; min-height: 0; margin: 16px auto 0; }
  .av-premium-orbit-stage { width: min(100%, 390px); }
  .av-po-core { width: 126px; height: 126px; }
  .av-po-core-brand,
  .av-po-core-logo { width: 56px; height: 46px; }
  .av-po-core small { margin-bottom: 4px; font-size: 6px; }
  .av-po-core-meta { margin-top: 4px; font-size: 5.5px; }
  .av-po-capability > i { width: 6px; height: 6px; flex-basis: 6px; }
  .av-po-capability > div { min-width: 116px; gap: 3px; margin-left: 9px; padding-left: 10px; }
  .av-po-capability > div::before { width: 7px; }
  .av-po-capability strong { font-size: 9px; font-weight: 720; letter-spacing: .065em; }
  .av-po-capability span { font-size: 7.6px; line-height: 1.3; }
  .av-po-capability-1 { top: 21.30%; left: 61.70%; }
  .av-po-capability-2 { top: 62.16%; left: 4.60%; }
  .av-po-capability-3 { top: 80.83%; left: 53.20%; }
  .av-po-status { top: 7.47%; left: 70%; font-size: 5.5px; }
  .av-po-axis { opacity: .12; }
  .av-po-direction { font-size: 10px; }
}

@media (max-width: 390px) {
  .av-premium-hero-orbit { height: 375px; }
  .av-premium-orbit-stage { width: min(100%, 350px); }
  .av-po-core { width: 116px; height: 116px; }
  .av-po-capability > div { min-width: 108px; }
  .av-po-capability strong { font-size: 8.4px; }
  .av-po-capability span { font-size: 7.2px; }
}

@media (prefers-reduced-motion: reduce) {
  .av-premium-hero-orbit *,
  .av-premium-hero-orbit *::before,
  .av-premium-hero-orbit *::after { animation: none !important; transition: none !important; }
  .av-premium-hero-orbit:not(.is-orbit-visible) .av-premium-orbit-stage { opacity: 1; transform: translate(-50%, -50%); }
}
