/* The hero: an animated business collage over a luminous, grainy green horizon. */
.hero-glow{inset:0;background:radial-gradient(ellipse 95% 68% at 85% 108%,#e8ffa4 0%,#d0fa79 24%,#aee44e 43%,#77a62c99 58%,#223b1b55 73%,transparent 89%),linear-gradient(0deg,#b9e76d 0%,#88ad4250 18%,transparent 44%);transition:opacity 1.25s ease;}
.hero-glow:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 65% 40% at 78% 95%,#dfff8f80,transparent 80%);animation:glow-breathe 12s ease-in-out infinite;transform-origin:75% 100%}
.hero:after{opacity:.1;background-size:145px 145px;mask-image:linear-gradient(transparent 30%,#000 70%);mix-blend-mode:soft-light}
.hero-art{top:29%;right:1.5%;width:45%;height:43%;perspective:1200px}
.hero-halo{inset:8% -10% -40%;background:radial-gradient(ellipse at 55% 70%,#b9ed5c20,transparent 65%);filter:blur(35px)}

.hero-bottom a{color:#20300e}
@keyframes physical-float{0%,100%{transform:translateY(0) rotate(-3deg) rotateY(-18deg) rotateX(5deg)}50%{transform:translateY(-5px) rotate(-2deg) rotateY(-10deg) rotateX(4deg)}}
@keyframes glow-breathe{0%,100%{opacity:.65;transform:scale(1)}50%{opacity:1;transform:scale(1.045)}}
@media(max-width:1100px) and (min-width:761px){.hero-art{right:0;width:42%;top:30%;height:45%}}
@media(max-width:760px){.hero-art{top:auto;bottom:100px;right:3%;width:94%;height:270px;max-width:600px}.hero-glow{background:radial-gradient(ellipse 145% 45% at 70% 108%,#e7ffa6 0%,#d3f781 28%,#a9dc4c 45%,#507c2c66 69%,transparent 88%)}.hero:after{mask-image:linear-gradient(transparent 45%,#000 80%)}.hero-halo{inset:0 -5% -25%}.hero-bottom a{color:#20300e}.hero-bottom>span{color:#263b1a}}
@media(max-width:420px){.hero-art{bottom:90px;height:250px;right:1%;width:98%}}
.motion-paused .hero-glow:after{animation:none}
@media(prefers-reduced-motion:reduce){.hero-glow:after{animation:none!important}}

/* ---------- Hero: services orbit ---------- */
/* Annam's mark in the centre; four service pills orbit it on a tilted 3D ring, always facing
   the viewer: larger and brighter at the front, smaller and dimmer behind the centre.
   Every 2 seconds a spark runs out along one spoke and lights its pill (8-second cycle). */
@media (min-width: 761px) { .hero-art { top: 20%; height: 62%; } }
.hero-art { container-type: size; }
.hero-orbit {
  --S: min(100cqw, 100cqh);          /* size of the square scene */
  --R: calc(var(--S) * .43);         /* orbit radius */
  --tiltX: 62deg;                    /* how far the orbit's plane leans back */
  position: relative; z-index: 1; width: var(--S); height: var(--S); perspective: calc(var(--S) * 1.9);
  font-family: Annam, Arial, sans-serif;
}
.ho-stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
/* The rings, spokes and orbit lie in this tilted plane; pills and core stand up out of it. */
.ho-plane { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--tiltX)); }
.ho-ring { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; }
.ho-ring-1 { width: calc(var(--R) * 2); height: calc(var(--R) * 2); border: 1px dashed #ffffff26; }
.ho-ring-2 { width: calc(var(--R) * 2.55); height: calc(var(--R) * 2.55); border: 1px solid #ffffff12; animation: ho-spin 70s linear infinite reverse; }
.ho-ring-2 > i { position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.ho-ring-2 > i + i { top: auto; bottom: -3px; width: 6px; height: 6px; margin-left: -3px; opacity: .6; }
.ho-spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: ho-spin 48s linear infinite; }
.ho-arm { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotate(var(--a)); }
.ho-spoke { position: absolute; left: 0; top: -1px; width: var(--R); height: 2px; overflow: hidden; background: linear-gradient(90deg, #afff0014, #afff0040); }
.ho-spoke::after { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, #e9ffb0, transparent); transform: translateX(-100%); animation: ho-travel 8s ease-in calc(var(--i) * 2s) infinite backwards; }
/* Undo the arm's angle here; the pill itself undoes the spin and the plane's tilt, so it
   always faces the viewer (a "billboard"). */
.ho-node { position: absolute; left: var(--R); top: 0; transform-style: preserve-3d; transform: rotate(calc(-1 * var(--a))); }
.ho-node-in {
  position: absolute; translate: -50% -50%; display: flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 8px 16px 8px 8px; border: 1px solid #afff0066; border-radius: 999px; background: #121212f2;
  box-shadow: 0 10px 26px #000b; color: #fff; font-size: 15px;
  transform: rotateX(calc(-1 * var(--tiltX)));   /* resting pose when motion is off */
  animation: ho-face 48s linear infinite, ho-lit 8s ease calc(var(--i) * 2s) infinite backwards, ho-depth 48s linear var(--d) infinite;
}
.ho-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #000; animation: ho-icon 8s ease calc(var(--i) * 2s) infinite backwards; }
.ho-icon svg { width: 17px; height: 17px; }
.ho-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; transform: rotateX(calc(-1 * var(--tiltX))); display: grid; place-items: center; width: calc(var(--S) * .22); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #eaffa8, var(--green) 55%, #7fb000); box-shadow: 0 0 60px #afff0066, inset 0 -6px 14px #5d8a0080; color: #000; font-size: calc(var(--S) * .12); line-height: 1; }
.ho-core > span { display: grid; place-items: center; width: 52%; aspect-ratio: 1; animation: ho-spin 24s linear infinite; }
.ho-core svg { width: 100%; height: 100%; }    /* six-arm Annam mark */
/* Channel icons: a faint "watermark" orbit just outside the services, turning the other way.
   Generic line icons (chat, cart, mail, phone, payment) rather than brand logos. */
.ho-spin2 { position: absolute; inset: 0; transform-style: preserve-3d; animation: ho-spin 70s linear infinite reverse; }
.ho-arm2 { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotate(var(--b)); }
.ho-chan {
  position: absolute; left: calc(var(--R) * 1.275); top: 0; translate: -50% -50%;
  display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #afff0040; border-radius: 50%;
  background: #0b0b0bcc; color: var(--green); opacity: .45;
  /* Face the viewer: undo the arm angle, the reverse spin and the plane's tilt. */
  transform: rotate(calc(-1 * var(--b))) rotateX(calc(-1 * var(--tiltX)));
  animation: ho-face2 70s linear infinite;
}
.ho-chan svg { width: 17px; height: 17px; }
.ho-core::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #afff00; animation: ho-ripple 2s ease-out infinite; }
@keyframes ho-spin { to { transform: rotate(360deg); } }
@keyframes ho-face2 { from { transform: rotate(calc(-1 * var(--b))) rotateX(calc(-1 * var(--tiltX))); } to { transform: rotate(calc(360deg - var(--b))) rotateX(calc(-1 * var(--tiltX))); } }
@keyframes ho-face { from { transform: rotate(0deg) rotateX(calc(-1 * var(--tiltX))); } to { transform: rotate(-360deg) rotateX(calc(-1 * var(--tiltX))); } }
/* Brightness by position: front of the orbit (bottom) brightest, back (top) dimmest. */
@keyframes ho-depth { 0%, 100% { filter: brightness(.8); } 25% { filter: brightness(1.1); } 50% { filter: brightness(.8); } 75% { filter: brightness(.45); } }
@keyframes ho-travel { 0% { transform: translateX(-100%); } 11% { transform: translateX(260%); } 100% { transform: translateX(260%); } }
@keyframes ho-lit {
  0%, 8% { border-color: #2e2e2e; box-shadow: 0 10px 26px #000b; }
  12%, 22% { border-color: var(--green); box-shadow: 0 0 28px #afff0059, 0 10px 26px #000b; }
  32%, 100% { border-color: #2e2e2e; box-shadow: 0 10px 26px #000b; }
}
@keyframes ho-icon { 0%, 8% { background: #1d260c; color: var(--green); } 12%, 22% { background: var(--green); color: #000; } 32%, 100% { background: #1d260c; color: var(--green); } }
@keyframes ho-ripple { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@media (max-width: 760px) {
  .ho-node-in { gap: 7px; padding: 5px 11px 5px 5px; font-size: 12px; }
  .ho-icon { width: 24px; height: 24px; }
  .ho-icon svg { width: 13px; height: 13px; }
  .ho-chan { width: 24px; height: 24px; }
  .ho-chan svg { width: 12px; height: 12px; }
}
/* Paused or reduced motion: a still scene with every service shown lit. */
@media (prefers-reduced-motion: reduce) { .hero-orbit * { animation: none !important; } }
