/* Hero */
#hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* The big teal-to-green gradient blob */
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 45%, #2a8a5e 100%);
  clip-path: ellipse(120% 90% at 50% 5%);
  z-index: 0;
}

/* Background video: sits under a brand-tinted overlay so text stays readable.
   Swap assets/hero-loop.mp4 for the final 10s brand video later. */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) contrast(1.05); /* mute the footage so the brand tint dominates */
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(8,40,50,0.45) 0%, transparent 70%), /* extra darkening behind the text */
    linear-gradient(135deg, rgba(20,84,98,0.86) 0%, rgba(27,107,122,0.78) 45%, rgba(42,138,94,0.72) 100%); /* extra darkening behind the text */
  pointer-events: none;
}
.hero-video { pointer-events: none; }
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-start-playback-button,
.hero-video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* Circuit board pattern overlay */
.hero-circuit {
  position: absolute; inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.8) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  z-index: 1;
}

/* Wave bottom divider */
.hero-wave {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding: 130px 60px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left { }

/* Eyebrow: plain editorial line with a short rule, no pill / glow / pulse */
.hero-tagline {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-tagline::before {
  content: '';
  width: 36px; height: 1.5px;
  background: var(--green);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Bricolage Grotesque', var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-title .accent {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--green);
  font-size: 1.08em;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 15px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 24px var(--green-glow);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--green-glow);
}
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 14px 28px;
  border-radius: 50px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* Hero right — static figures list, hairline dividers (no cards, no float) */
.hero-right {
  display: flex; flex-direction: column;
  justify-self: end;
  width: 100%; max-width: 360px;
  border-left: 1px solid rgba(255,255,255,0.28);
  padding-left: 36px;
}

.hero-card {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.hero-card:first-child { padding-top: 0; }
.hero-card:last-child { border-bottom: 0; padding-bottom: 0; }

.hcard-num {
  font-family: 'Bricolage Grotesque', var(--font-head);
  font-size: 2.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hcard-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.68);
  letter-spacing: 0.02em;
  margin-top: 8px;
}
