.hero {
  position: relative;
  min-height: 100svh;
  background-color: var(--color-bg-deepest);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(255, 255, 255, 0.022) 59px,
      rgba(255, 255, 255, 0.022) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(255, 255, 255, 0.022) 59px,
      rgba(255, 255, 255, 0.022) 60px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Diagonal light sweep in bg ────────────────────────── */

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 60% 40%,
    rgba(0, 100, 160, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ── Inner container ───────────────────────────────────── */

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  padding-inline: var(--section-h);
  padding-block: calc(var(--nav-height) + 3rem) 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  margin-inline: auto;
}

/* ── Frosted panel ─────────────────────────────────────── */

.hero__panel {
  position: relative;
  max-width: 820px;
  width: 100%;
  padding: 3.5rem clamp(2rem, 5vw, 4.5rem);
  background: rgba(5, 18, 40, 0.85);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  overflow: hidden;
}

/* Frost shimmer sweep */
.hero__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 35%,
    rgba(255, 255, 255, 0.028) 50%,
    transparent 65%
  );
  background-size: 200% 100%;
  animation: heroShimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ── Panel content stagger ─────────────────────────────── */

.hero__eyebrow,
.hero__title,
.hero__sub,
.hero__actions,
.hero__microstats {
  animation: heroFadeUp 0.8s ease-out both;
}

.hero__eyebrow    { animation-delay: 0.15s; }
.hero__title      { animation-delay: 0.32s; }
.hero__sub        { animation-delay: 0.48s; }
.hero__actions    { animation-delay: 0.62s; }
.hero__microstats { animation-delay: 0.76s; }

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Eyebrow ───────────────────────────────────────────── */

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ── Title ─────────────────────────────────────────────── */

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  letter-spacing: 0.03em;
  color: var(--color-text-primary);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

/* ── Sub ───────────────────────────────────────────────── */

.hero__sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 2.25rem;
}

/* ── Actions ───────────────────────────────────────────── */

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* ── Micro stats ───────────────────────────────────────── */

.hero__microstats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.hero__stat {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  padding-inline: 1.25rem;
}

.hero__stat:first-child {
  padding-left: 0;
}

.hero__stat-sep {
  width: 1px;
  height: 14px;
  background: var(--color-border-subtle);
  flex-shrink: 0;
}

.hero__stat-sep:last-of-type {
  display: none;
}


/* ── Responsive ────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero__panel {
    padding: 2.5rem 1.75rem;
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__stat {
    padding-inline: 0.75rem;
    font-size: 0.65rem;
  }
}
