/* ============================================================
 * Hero v2 — full-bleed dark backdrop, copy + chat overlay.
 *
 * Carefully tuned to read as "satellite operations room" rather
 * than "marketing illustration". Restraint above everything.
 * ============================================================ */
.hero2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0A0E14;
  color: #E8EAEF;
  min-height: 760px;
}

.hero2__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* The scrim has two passes: a left-side darken (so the copy
   never fights the map below it) and a soft bottom-fade so the
   handoff to the white sections below is graceful. */
.hero2__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* left darken for the copy column */
    linear-gradient(105deg,
      rgba(10, 14, 20, 0.86) 0%,
      rgba(10, 14, 20, 0.66) 30%,
      rgba(10, 14, 20, 0.30) 55%,
      rgba(10, 14, 20, 0.08) 75%,
      rgba(10, 14, 20, 0) 100%),
    /* bottom fade for handoff to next section */
    linear-gradient(180deg,
      rgba(10, 14, 20, 0) 60%,
      rgba(250, 251, 252, 0.05) 80%,
      var(--bg-app) 100%);
}

/* When .mono is used inside the dark hero, it would otherwise inherit
   --fg-1 (near-black) from the global rule. Re-anchor it so monospace
   numerics stay visible on the dark backdrop. */
.hero2 .mono,
.hero2 code {
  color: rgba(232, 234, 239, 0.85);
}

.hero2__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 120px;
  min-height: 760px;
}

@media (max-width: 1080px) {
  .hero2__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 130px;
    padding-bottom: 80px;
  }
  .hero2__status { top: 72px; }
}

.hero2__copy {
  max-width: 560px;
  min-width: 0;
}

/* ---------- Eyebrow: subtle, but actually visible ---------- */
.hero2__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero2__eyebrow-bar {
  width: 36px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero2__eyebrow-text {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(232, 234, 239, 0.85);
  white-space: nowrap;
  flex-wrap: wrap;
}
.hero2__eyebrow-strong {
  color: var(--accent);
  font-weight: 600;
}
.hero2__eyebrow-sep {
  color: rgba(232, 234, 239, 0.35);
}

/* ---------- Headline ---------- */
.hero2__title {
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 660;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
  color: #FFFFFF;
  text-wrap: balance;
}
.hero2__title-accent {
  position: relative;
  white-space: nowrap;
  color: #FFFFFF;
}
.hero2__title-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 10px;
  background: var(--accent);
  opacity: 0.28;
  border-radius: 4px;
  z-index: -1;
}

.hero2__lede {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(232, 234, 239, 0.78);
  max-width: 48ch;
  text-wrap: pretty;
}

.hero2__cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* On dark hero, the primary button uses the accent — it pops better
   than the porcelain primary, and we don't repeat the same look. */
.hero2 .hero2__cta-primary {
  background: var(--accent);
  color: #07111F;
  font-weight: 620;
}
.hero2 .hero2__cta-primary:hover {
  background: color-mix(in oklab, var(--accent) 88%, white);
}
.hero2 .hero2__cta-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-weight: 540;
}
.hero2 .hero2__cta-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

/* ---------- "In service of" line ---------- */
.hero2__served {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero2__served-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(232, 234, 239, 0.45);
}
.hero2__served-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
@media (max-width: 480px) {
  .hero2__served-list { grid-template-columns: 1fr; }
}
.hero2__served-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: rgba(232, 234, 239, 0.88);
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color var(--motion-fast) var(--ease-standard);
}
.hero2__served-list li:hover { color: #FFFFFF; }
.hero2__served-idx {
  font-size: 10.5px;
  color: var(--accent);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  width: 22px;
}

/* ---------- Right column — ChatMock ---------- */
.hero2__chat {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}
@media (max-width: 1080px) {
  .hero2__chat { justify-content: flex-start; }
}

/* ============================================================
 * Nav v2 — works on both light and dark hero contexts
 * ============================================================ */
.site-nav__brand .name {
  font-size: 19px;
  letter-spacing: -0.015em;
}
.site-nav { background: rgba(250, 251, 252, 0.78); }
/* Dark-glass nav variant for inner pages with dark hero */
.site-nav--glass {
  background: rgba(10, 14, 20, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-nav--glass .site-nav__brand .name,
.site-nav--glass .site-nav__links a {
  color: rgba(255, 255, 255, 0.85);
}
.site-nav--glass .site-nav__links a:hover { color: #FFFFFF; }
.site-nav--glass .btn--primary {
  background: var(--accent);
  color: #07111F;
}

/* Make the homepage nav glassy on the dark hero — we sit `position:sticky`
   so as the user scrolls down, the porcelain canvas takes over and the
   glass blends. Adding a stronger top-of-page rule keeps it readable. */
body.has-dark-hero .site-nav {
  background: linear-gradient(180deg,
    rgba(10, 14, 20, 0.55) 0%,
    rgba(10, 14, 20, 0.38) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
body.has-dark-hero .site-nav__brand .name,
body.has-dark-hero .site-nav__links a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--motion-fast) var(--ease-standard);
}
body.has-dark-hero .site-nav__links a:hover,
body.has-dark-hero .site-nav__brand:hover .name {
  color: #FFFFFF;
}
body.has-dark-hero .site-nav__brand .name em { color: var(--accent); }
body.has-dark-hero .site-nav__links a.is-active { color: #FFFFFF; }
body.has-dark-hero .site-nav__links a.is-active::after { background: var(--accent); }
body.has-dark-hero .site-nav .btn--primary {
  background: var(--accent);
  color: #07111F;
}
body.has-dark-hero .site-nav .btn--primary:hover {
  background: color-mix(in oklab, var(--accent) 88%, white);
}
