/* Shorter than full viewport so the next section (pillars) peeks; invites scroll */
.hero {
  min-height: 84svh;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding-top: var(--nav-stack-h);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}

/* Row height is max(text, image min-height) so the image column can be taller than copy. */
.hero__inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  /* Extra air between copy and hero image; widescreen opens further */
  gap: clamp(2.75rem, 5vw, 4rem);
  position: relative;
  width: 100%;
}

@media (min-width: 1536px) {
  .hero__inner {
    gap: 5.5rem;
  }
}

.hero__content {
  flex: 1 1 0;
  min-width: 0;
  align-self: center;
}

@media (min-width: 901px) {
  .hero__content {
    padding-right: clamp(1rem, 2.5vw, 2.5rem);
  }
}

.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 .accent { color: var(--accent); }

.hero__body {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

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

/* Photo sits on section background; no frame. Wrapper only sizes the flex column (img is absolute). */
.hero__image {
  flex: 2 1 0;
  position: relative;
  min-width: 0;
  min-height: clamp(24rem, 58svh, 46rem);
}

.hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 88% center;
  display: block;
}

@media (max-width: 900px) {
  .hero {
    align-items: flex-start;
    min-height: auto;
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
  }

  .hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1.5rem, 4vw, 2.25rem);
  }

  .hero__content {
    align-self: stretch;
    width: 100%;
  }

  /* Full-bleed band below copy; breaks out of .container horizontal padding */
  .hero__image {
    display: block;
    flex: none;
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 0;
  }

  .hero__image img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-height: min(52vh, 22rem);
    object-fit: contain;
    object-position: center center;
    display: block;
    margin-inline: auto;
  }
}

/* Pillars section; tighter top than default .section so the title sits closer under the hero */
.pillars { background: var(--bg); }
.pillars.section {
  padding-top: clamp(1.75rem, 3vw, 2.75rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.pillars__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1100px) {
  .pillars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .pillars__grid { grid-template-columns: 1fr; }
}

/* Stats  -  Market Context */
.stats-section {
  background: var(--navy);
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 168, 255, 0.06), transparent 55%);
  pointer-events: none;
}

.stats-section > .container {
  position: relative;
  z-index: 1;
}

.stats-section__header h2 {
  max-width: 38rem;
  margin-inline: auto;
  line-height: 1.25;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stats-section__lead {
  max-width: 46rem;
  margin: 1rem auto 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.stats-section .section-header--center {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.stats-section .stat-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  /* override generic .stat-strip padding/borders from components.css */
  padding-block: 0;
}

@media (min-width: 640px) {
  .stats-section .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .stats-section .stat-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.stats-section .stat-item {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.125rem 1.125rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.stats-section .stat-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.stats-section .stat-item__number {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.stats-section .stat-item__label {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  max-width: 32ch;
}

@media (min-width: 1100px) {
  .stats-section .stat-item__label {
    max-width: none;
  }
}

.stats-section__source {
  margin: clamp(1.75rem, 4vw, 2.25rem) auto 0;
  max-width: 48rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

/* Engagement section */
.engagement { background: var(--bg); }
.engagement__tracks { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-bottom: 2.5rem; }

.engagement-track {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13,27,42,0.07);
  box-shadow: var(--shadow-sm);
}

.engagement-track__number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.engagement-track__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.625rem;
}

.engagement-track__body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .engagement__tracks { grid-template-columns: 1fr; }
}

/* CTA section */
.cta-section {
  background: var(--navy);
  text-align: center;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,0.65); font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 48ch; margin-inline: auto; }
