/* V84: high-contrast premium hero and controlled graphical motion system. */
:root {
  --v84-ink: #061735;
  --v84-navy: #061a3a;
  --v84-midnight: #020b1c;
  --v84-blue: #1267f3;
  --v84-cyan: #31d7ff;
  --v84-paper: #f7f4ed;
  --v84-soft: rgba(255, 255, 255, 0.74);
}

.page-hero,
.guide-hero,
.home-hero {
  position: relative;
  isolation: isolate;
}

.page-hero,
.guide-hero {
  color: #fff !important;
  background:
    linear-gradient(110deg, rgba(2, 11, 28, 0.98) 0%, rgba(6, 26, 58, 0.98) 48%, rgba(7, 31, 73, 0.92) 100%) !important;
  overflow: hidden;
}

.page-hero::before,
.guide-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(49, 215, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 215, 255, 0.12) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  opacity: 0.42;
  transform: translate3d(0, 0, 0);
  animation: v84GridDrift 14s linear infinite;
}

.page-hero::after,
.guide-hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 11, 28, 0.98) 0%, rgba(2, 11, 28, 0.82) 46%, rgba(2, 11, 28, 0.24) 78%, transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 34%);
  content: "";
}

.page-hero-inner,
.guide-hero-copy,
.article-header {
  position: relative;
  z-index: 2;
}

.page-hero .home-link,
.guide-hero .home-link {
  color: rgba(255, 255, 255, 0.68) !important;
}

.page-hero .eyebrow,
.guide-hero .eyebrow {
  color: var(--v84-cyan) !important;
}

.page-hero h1,
.guide-hero h1 {
  color: #fff !important;
  max-width: 880px;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.page-hero .page-lead,
.guide-hero .page-lead {
  color: rgba(235, 243, 255, 0.82) !important;
}

.page-hero .button-outline,
.guide-hero .button-outline {
  border-color: rgba(255, 255, 255, 0.42) !important;
  color: #fff !important;
}

.page-hero .button-outline:hover,
.guide-hero .button-outline:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.premium-hero-graphic {
  position: absolute;
  z-index: 1;
  right: clamp(28px, 7vw, 118px);
  top: 50%;
  width: min(36vw, 520px);
  min-width: 360px;
  aspect-ratio: 1.2;
  transform: translateY(-50%);
  pointer-events: none;
}

.premium-hero-graphic::before,
.premium-hero-graphic::after {
  position: absolute;
  content: "";
}

.premium-hero-graphic::before {
  inset: 7% 3% 16% 20%;
  border: 1px solid rgba(49, 215, 255, 0.38);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    linear-gradient(90deg, transparent 0 32%, rgba(49, 215, 255, 0.16) 32% 33%, transparent 33% 66%, rgba(49, 215, 255, 0.12) 66% 67%, transparent 67%);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.24),
    inset 0 0 42px rgba(49, 215, 255, 0.08);
  animation: v84PanelFloat 7s ease-in-out infinite;
}

.premium-hero-graphic::after {
  right: 0;
  bottom: 3%;
  width: 46%;
  height: 30%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(49, 215, 255, 0.42), rgba(18, 103, 243, 0.10) 55%, transparent 55%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 13px);
  animation: v84PanelFloat 7s ease-in-out -2.4s infinite;
}

.premium-hero-line {
  position: absolute;
  left: 5%;
  right: 7%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(49, 215, 255, 0.92), rgba(255, 255, 255, 0.28), transparent);
  transform-origin: left;
  animation: v84SignalSweep 4.8s ease-in-out infinite;
}

.premium-hero-line:nth-child(1) { top: 26%; }
.premium-hero-line:nth-child(2) { top: 48%; animation-delay: -1.4s; }
.premium-hero-line:nth-child(3) { top: 70%; animation-delay: -2.8s; }

.premium-hero-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(49, 215, 255, 0.9);
  border-radius: 50%;
  background: var(--v84-midnight);
  box-shadow: 0 0 24px rgba(49, 215, 255, 0.45);
  animation: v84NodePulse 3.6s ease-in-out infinite;
}

.premium-hero-node:nth-child(4) { left: 18%; top: 24%; }
.premium-hero-node:nth-child(5) { left: 58%; top: 47%; animation-delay: -1.2s; }
.premium-hero-node:nth-child(6) { left: 76%; top: 68%; animation-delay: -2.4s; }

.article-header {
  background: linear-gradient(180deg, #fbfaf6, #f1ede4) !important;
}

.article-header h1 {
  color: var(--v84-ink) !important;
}

.article-header .article-deck,
.article-header .article-meta time,
.article-header .article-meta span {
  color: #4f6078 !important;
}

.home-hero .hero-copy h1 {
  color: var(--v84-ink) !important;
}

.home-hero .hero-lead {
  color: #4d5d73 !important;
}

.section,
.content-section,
.archive-shell,
.contact-layout,
.article-layout,
.process-section {
  scroll-margin-top: 104px;
}

.product-card,
.solution-card,
.capability-card,
.project-card,
.insight-card {
  border-radius: 18px !important;
}

@keyframes v84GridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 58px 58px, 58px 58px; }
}

@keyframes v84PanelFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes v84SignalSweep {
  0%, 100% { opacity: 0.28; transform: scaleX(0.72); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes v84NodePulse {
  0%, 100% { opacity: 0.62; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.18); }
}

@media (width >= 980px) {
  .page-hero-inner,
  .guide-hero-copy {
    padding-top: clamp(86px, 8vw, 138px) !important;
    padding-bottom: clamp(86px, 8vw, 138px) !important;
  }

  .page-hero-inner {
    padding-right: min(48vw, 660px) !important;
  }

  .guide-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr) !important;
    gap: clamp(34px, 5vw, 78px);
    align-items: center;
  }
}

@media (width <= 979px) {
  .premium-hero-graphic {
    opacity: 0.28;
    right: -120px;
    width: 520px;
    min-width: 0;
  }

  .page-hero-inner {
    padding-right: 32px !important;
  }
}

@media (width <= 760px) {
  .page-hero,
  .guide-hero {
    min-height: auto !important;
  }

  .page-hero::after,
  .guide-hero::after {
    background:
      linear-gradient(180deg, rgba(2, 11, 28, 0.94) 0%, rgba(6, 26, 58, 0.88) 100%) !important;
  }

  .premium-hero-graphic {
    display: none;
  }

  .page-hero-inner,
  .guide-hero-copy {
    padding-top: 48px !important;
    padding-bottom: 58px !important;
  }

  .page-hero h1,
  .guide-hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.7rem) !important;
    line-height: 1.03 !important;
  }

  .page-hero .page-lead,
  .guide-hero .page-lead {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero::before,
  .guide-hero::before,
  .premium-hero-graphic::before,
  .premium-hero-graphic::after,
  .premium-hero-line,
  .premium-hero-node {
    animation: none !important;
  }
}
