/* MOONFAR chapter details. Deliberately scoped away from Product Universe/Presence.
   No shared token, global element rule, document layout or content is replaced. */
.hero {
  background-image:radial-gradient(ellipse 55% 76% at 81% 42%,#24395020,transparent 78%);
}
.hero::after {
  content:"";position:absolute;inset:auto var(--page) 0;height:1px;
  background:linear-gradient(90deg,transparent,#91a1ba12 25%,#bca57740 61%,transparent);
  opacity:.7;pointer-events:none;
}
.hero .orbital-core::before {
  border-color:#aebfd33b;
  box-shadow:inset -25px -19px 70px #000a,inset 1px 1px 1px #bdc9d324,0 20px 70px #0000002a;
  background:radial-gradient(circle at 27% 23%,#63758930,#28384765 25%,#0c141f 63%,#05080d 94%);
}
.hero .orbital-core::after {
  border-color:#b9c8d11a;
  background:repeating-linear-gradient(128deg,transparent 0 7px,#a6b4c306 8px,transparent 9px 14px),linear-gradient(140deg,#b7c5d116,transparent 40%,#080b1077 75%);
  animation:bd-metal-breathe 28s ease-in-out infinite alternate;
  animation-play-state:paused;
}
.hero.bd-detail-live .orbital-core::after { animation-play-state:running; }
.hero .ring-b::after {
  content:"";position:absolute;inset:-1px;border:1px solid transparent;
  border-inline-start-color:#c0ac8066;border-radius:50%;transform:rotate(28deg);
  pointer-events:none;
}
.hero .orbital-word { color:#b2bdca; }
.hero .orbital-figure figcaption { color:#8b98a7; }
.hero .hero-actions .button {
  position:relative;isolation:isolate;overflow:hidden;
  border-color:#bcc6d452;box-shadow:inset 0 1px 0 #ffffff07;
}
.hero .hero-actions .button::before {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(120deg,#728ba20d,transparent 42%,#bda67913);
  opacity:0;transition:opacity var(--motion-hover) var(--motion-ease);
}
.hero .hero-actions .button:hover::before,
.hero .hero-actions .button:focus-visible::before { opacity:1; }
.audience-strip {
  background:linear-gradient(90deg,transparent,#8da5c005 50%,transparent);
  border-block-color:#9baabd1b;
}
.audience-strip .strip-star { opacity:.54; }

#services { background-image:radial-gradient(ellipse 45% 37% at 16% 51%,#253a5112,transparent 90%); }
#services .service,
#why .reason-list article { position:relative;isolation:isolate; }
#services .service::before,
#why .reason-list article::before {
  content:"";position:absolute;inset:0 -16px;z-index:-1;pointer-events:none;
  border-radius:2px;opacity:0;
  background:radial-gradient(330px circle at var(--bd-light-x,50%) var(--bd-light-y,50%),#41617b23,transparent 72%);
  transition:opacity var(--motion-reveal) var(--motion-ease);
}
#services .service::after,
#why .reason-list article::after {
  content:"";position:absolute;inset-inline:0;top:-1px;height:1px;pointer-events:none;
  background:linear-gradient(90deg,#bca5777a,#91a4bb24 43%,transparent);
  opacity:0;transform:scaleX(.22);transform-origin:0 50%;
  transition:opacity var(--motion-hover) var(--motion-ease),transform var(--motion-spatial) var(--motion-ease-spatial);
}
#why .reason-list article::after { top:auto;bottom:-1px; }
#services .service:hover::before,
#services .service:focus-within::before,
#why .reason-list article:hover::before,
#why .reason-list article:focus-within::before { opacity:1; }
#services .service:hover::after,
#services .service:focus-within::after,
#why .reason-list article:hover::after,
#why .reason-list article:focus-within::after { opacity:1;transform:scaleX(1); }
#services .service-no,
#why .reason-list article>span { transition:color var(--motion-hover) var(--motion-ease); }
#services .service:hover .service-no,
#why .reason-list article:hover>span { color:var(--gold-light); }

#capabilities {
  background-image:radial-gradient(ellipse 52% 73% at 84% 56%,#20344b20,transparent 84%),linear-gradient(180deg,transparent,#11203530 46%,transparent);
}
#capabilities .process li { position:relative; }
#capabilities .process li::after {
  content:"";position:absolute;top:-1px;inset-inline:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,#bea9808c,#879aae35 65%,transparent);
  transform-origin:0 50%;transform:scaleX(1);
}
#capabilities.bd-detail-ready .process li::after {
  transform:scaleX(0);
  transition:transform var(--motion-spatial) var(--motion-ease-spatial) var(--bd-step-delay,0ms);
}
#capabilities.bd-detail-ready .process li.bd-step-seen::after { transform:scaleX(1); }
#capabilities .step-number {
  display:inline-block;font-variant-numeric:tabular-nums;
  transition:opacity var(--motion-reveal) var(--motion-ease),transform var(--motion-reveal) var(--motion-ease);
}
#capabilities.bd-detail-ready .process li:not(.bd-step-seen) .step-number { opacity:.48;transform:translateY(5px); }
#capabilities .process li.bd-step-seen .step-number { opacity:1;transform:none; }
#capabilities .process li::before { box-shadow:0 0 0 4px #bca57709; }

#why { background-image:radial-gradient(ellipse 44% 68% at 9% 60%,#1e334a1a,transparent 86%); }
#why .orbit-emblem { border-color:#8ea1b638; }
#why .orbit-emblem::after { border-color:#bca5773b; }
#about { background-image:radial-gradient(ellipse 65% 48% at 69% 71%,#29405619,transparent 84%); }
#about .about-signature { position:relative;color:#b9c2ce; }
#about .about-signature::before {
  content:"";position:absolute;inset-inline-start:0;top:-15px;width:46px;height:1px;
  background:linear-gradient(90deg,#bca57780,transparent);pointer-events:none;
}
#about .about-word { -webkit-text-stroke:.5px #8e9eb817; }

#contact {
  background-image:radial-gradient(ellipse 49% 65% at 87% 50%,#2b415c1b,transparent 85%),linear-gradient(160deg,#111c2940,transparent 60%);
}
#contact .contact-channel { position:relative;isolation:isolate; }
#contact .contact-channel::before {
  content:"";position:absolute;inset:0 -18px;z-index:-1;pointer-events:none;
  background:radial-gradient(380px circle at var(--bd-light-x,70%) var(--bd-light-y,50%),#425e7722,transparent 77%);
  opacity:0;transition:opacity var(--motion-reveal) var(--motion-ease);
}
#contact .contact-channel:hover::before,
#contact .contact-channel:focus-within::before { opacity:1; }
#contact .contact-channel:hover,
#contact .contact-channel:focus-within { border-color:#bca5774a; }
#contact .contact-channel { transition:border-color var(--motion-reveal) var(--motion-ease); }
#contact .channel-label { transition:color var(--motion-hover) var(--motion-ease); }
#contact .contact-channel:focus-within .channel-label,
#contact .contact-channel:hover .channel-label { color:#b2bfcd; }
#contact .email,
#contact a[href^="https://wa.me/"] {
  width:fit-content;max-width:100%;
  background-image:linear-gradient(90deg,#bca57775,#bca57715);
  background-repeat:no-repeat;background-size:0 1px;background-position:0 100%;
  transition:color var(--motion-hover) var(--motion-ease),background-size var(--motion-reveal) var(--motion-ease);
}
#contact .email:hover,
#contact .email:focus-visible,
#contact a[href^="https://wa.me/"]:hover,
#contact a[href^="https://wa.me/"]:focus-visible { color:var(--gold-light);background-size:100% 1px; }
#contact .contact-intro>.button {
  background:linear-gradient(120deg,#7890a609,transparent 47%,#bca57709);
  box-shadow:inset 0 1px 0 #ffffff06;
}
#contact .copy { transition:color var(--motion-hover) var(--motion-ease),border-color var(--motion-hover) var(--motion-ease); }
#contact .copy:hover { color:var(--gold-light);border-color:#bca57791; }

.site-header .primary-nav a.bd-active { color:var(--text); }
.site-header .primary-nav a.bd-active::after { transform:scaleX(1);background:var(--gold); }
.site-header .languages a { transition:color var(--motion-hover) var(--motion-ease); }
.site-footer { position:relative; }
.site-footer::before {
  content:"";position:absolute;inset-inline:var(--page);top:-1px;height:1px;
  background:linear-gradient(90deg,transparent,#bca57737 68%,transparent);pointer-events:none;
}
.site-footer .footer-name { position:relative; }
.site-footer .footer-name::after {
  content:"";position:absolute;inset-inline:0;bottom:-7px;height:1px;
  background:linear-gradient(90deg,#bca57766,transparent);
  opacity:.3;transform:scaleX(.25);transform-origin:0 50%;
  transition:opacity var(--motion-hover) var(--motion-ease),transform var(--motion-reveal) var(--motion-ease);
}
.site-footer .footer-name:hover::after,
.site-footer .footer-name:focus-visible::after { transform:scaleX(1);opacity:1; }
.site-footer .footer-top>.text-link>span { transition:translate var(--motion-hover) var(--motion-ease); }
.site-footer .footer-top>.text-link:hover>span { translate:0 -2px; }

[dir=rtl] #services .service::after,
[dir=rtl] #why .reason-list article::after,
[dir=rtl] #capabilities .process li::after,
[dir=rtl] .site-footer .footer-name::after { transform-origin:100% 50%; }
[dir=rtl] #services .service::after,
[dir=rtl] #why .reason-list article::after,
[dir=rtl] #capabilities .process li::after,
[dir=rtl] #about .about-signature::before,
[dir=rtl] .site-footer .footer-name::after { background-image:linear-gradient(270deg,#bca57773,#91a4bb24 43%,transparent); }
[dir=rtl] #contact a[href^="https://wa.me/"] { background-position:100% 100%; }
[dir=rtl] #contact .channel-label,
[dir=rtl] #contact .channel-value,
[dir=rtl] #contact .email { text-align:right; }

@keyframes bd-metal-breathe { from{opacity:.7} to{opacity:1} }
@media(max-width:1100px) {
  .site-header .primary-nav a.bd-active { color:var(--gold-light);border-color:#bca57742; }
}
@media(max-width:760px) {
  #services .service::before,#why .reason-list article::before { inset-inline:-10px; }
  #contact .contact-channel::before { inset-inline:-12px; }
  #capabilities .process li::after {
    top:0;bottom:0;inset-inline-start:-1px;inset-inline-end:auto;
    height:100%;width:1px;background:linear-gradient(180deg,#bea98085,#879aae28);
    transform-origin:50% 0;
  }
  #capabilities.bd-detail-ready .process li::after { transform:scaleY(0); }
  #capabilities.bd-detail-ready .process li.bd-step-seen::after { transform:scaleY(1); }
  [dir=rtl] #capabilities .process li::after { transform-origin:50% 0;background:linear-gradient(180deg,#bea98085,#879aae28); }
  #contact .email { background-size:100% 1px;background-image:linear-gradient(90deg,#bca57735,transparent); }
}
@media(hover:none),(pointer:coarse) {
  .hero .orbital-core::after { animation:none; }
  #services .service::before,#why .reason-list article::before,#contact .contact-channel::before { display:none; }
  #capabilities.bd-detail-ready .process li::after,#capabilities .step-number { transition:none; }
}
@media(prefers-reduced-motion:reduce) {
  .hero .orbital-core::after { animation:none!important; }
  #services .service::before,#services .service::after,
  #why .reason-list article::before,#why .reason-list article::after,
  #contact .contact-channel::before,.site-footer .footer-name::after { transition:none; }
  #capabilities.bd-detail-ready .process li::after { transform:scaleX(1);transition:none; }
  #capabilities.bd-detail-ready .process li .step-number { opacity:1;transform:none;transition:none; }
  .site-footer .footer-top>.text-link>span { translate:none!important; }
}
@media(prefers-reduced-motion:reduce) and (max-width:760px) {
  #capabilities.bd-detail-ready .process li::after { transform:scaleY(1); }
}
