/* ==========================================================================
   Sector Hero — transparent content layer over the shared page canvas
   ========================================================================== */

.sec-hero {
  padding: clamp(5.2rem, 6.1vw, 6.8rem) 0 clamp(2.5rem, 4vw, 3.6rem);
  color: var(--sec-hero-ink);
}

/* -------------------------------------------------------------------------- */
/*  Layout                                                                     */
/* -------------------------------------------------------------------------- */

/* The headline now lives at the top of the left rail, above the lede —
   left-aligned, sitting opposite the cockpit mockup on the right. */
.sec-hero__header {
  margin: 0 0 clamp(1.1rem, 2.2vw, 1.65rem);
  text-align: left;
}

.sec-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 4.2vw, 4rem);
  align-items: center;
}

.sec-hero__copy {
  min-width: 0;
}

.sec-hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: left;
  text-transform: uppercase;
  color: #a789ff;
}

.sec-hero__title {
  margin: 0;
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 0.98;
  color: #ffffff;
}

/* Match the homepage headline scale: one size across both lines, only the
   impact line takes the gradient (the shared .sec-highlight already paints it
   with --brand-title-gradient, the same token the home-narrative titles use). */
.sec-hero__title-intro,
.sec-hero__title-impact {
  display: block;
  text-align: left;
  text-wrap: balance;
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  line-height: 0.98;
}

.sec-hero__title-impact {
  margin-top: 0.1em;
}

.sec-hero__lede {
  margin: 0 0 1.55rem;
  max-width: 34rem;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.7;
  color: var(--sec-hero-text);
}

.sec-hero__bullets {
  margin: 0 0 1.85rem;
  gap: 0.7rem;
}

.sec-hero__bullets li {
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.98rem;
}

/* -------------------------------------------------------------------------- */
/*  CTA row                                                                    */
/* -------------------------------------------------------------------------- */

.sec-hero__cta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.85rem;
}

.sec-hero__cta .btn {
  min-height: 58px;
  padding: 0.9rem 1.35rem;
  font-size: 1rem;
  white-space: nowrap;
}

.sec-hero__ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}
.sec-hero__ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}
.sec-hero__ghost-play {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  background: rgba(154, 107, 255, 0.28);
  color: #d8c7ff;
}
.sec-hero__ghost-play svg {
  width: 13px;
  height: 13px;
}

/* -------------------------------------------------------------------------- */
/*  Mini feature stats row                                                     */
/* -------------------------------------------------------------------------- */

.sec-hero__stats {
  --stat-line: rgba(218, 225, 255, 0.14);
  --stat-muted: rgba(212, 217, 238, 0.54);

  list-style: none;
  counter-reset: sector-stat;
  width: min(1240px, 100%);
  margin: clamp(2rem, 4vw, 3.35rem) auto 0;
  padding: 0;
  border-top: 1px solid var(--stat-line);
  border-bottom: 1px solid var(--stat-line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

/* This strip uses a strict, repeatable viewport reveal instead of the global
   scroll observer. Its hidden state exists in CSS from the first paint, so an
   off-screen strip can never flash before JavaScript measures its position. */
.sec-hero__stats--reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 560ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 680ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.sec-hero__stats--reveal.is-in-view {
  opacity: 1;
  transform: none;
}

.sec-hero__stat {
  --stat-accent: #5edde8;

  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 1.45rem 2.3rem minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.62rem, 1vw, 0.85rem);
  min-height: clamp(6.1rem, 7vw, 6.8rem);
  padding: clamp(1rem, 1.5vw, 1.25rem) clamp(0.85rem, 1.45vw, 1.25rem);
  counter-increment: sector-stat;
}

.sec-hero__stat::before {
  align-self: center;
  color: rgba(223, 226, 244, 0.38);
  font-family: var(--home-mono, 'SFMono-Regular', Consolas, monospace);
  font-size: 0.67rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  content: '0' counter(sector-stat);
}

.sec-hero__stat:not(:first-child) {
  border-left: 1px solid var(--stat-line);
}

.sec-hero__stat-icon {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  color: var(--stat-accent);
}

.sec-hero__stat:nth-child(2) {
  --stat-accent: #b191ff;
}

.sec-hero__stat:nth-child(3) {
  --stat-accent: #709fff;
}

.sec-hero__stat:nth-child(4) {
  --stat-accent: #ef8fc7;
}

.sec-hero__stat-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sec-hero__stat-label {
  min-width: 0;
  font-size: clamp(0.94rem, 1vw, 1.02rem);
  font-weight: 670;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-align: left;
  color: rgba(250, 250, 255, 0.97);
}

.sec-hero__stat-label-secondary {
  display: block;
  margin-top: 0.38rem;
  font-size: clamp(0.73rem, 0.82vw, 0.79rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--stat-muted);
}

/* -------------------------------------------------------------------------- */
/*  Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .sec-hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .sec-hero__lede {
    max-width: none;
  }
  .sec-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sec-hero__stat:nth-child(3),
  .sec-hero__stat:nth-child(4) {
    border-top: 1px solid var(--stat-line);
  }
  .sec-hero__stat:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .sec-hero {
    padding-top: clamp(5.5rem, 22vw, 7rem);
  }
  .sec-hero__header {
    margin-bottom: 1.5rem;
  }
  /* Scale the headline with the viewport so it stays bold but never overflows. */
  .sec-hero__title-intro,
  .sec-hero__title-impact {
    font-size: clamp(2.15rem, 9vw, 3.1rem);
  }
  .sec-hero__stats {
    grid-template-columns: 1fr;
  }
  .sec-hero__stat {
    justify-content: flex-start;
  }
  .sec-hero__stat:nth-child(3),
  .sec-hero__stat:nth-child(4) {
    border-top: 0;
  }
  .sec-hero__stat:not(:first-child) {
    border-top: 1px solid var(--stat-line);
    border-left: 0;
  }
  .sec-hero__cta {
    flex-wrap: wrap;
  }
  .sec-hero__cta .btn,
  .sec-hero__ghost {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sec-hero__stats--reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
