.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  height: 100svh;
  padding: 8rem 2.5rem 7.5rem;
  overflow: hidden;
  background-color: var(--l);
  text-align: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero .hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 2.8vh, 2.25rem);
  will-change: transform;
}

.hero h1 {
  max-width: 66rem;
  font-size: clamp(3.5rem, 13vh, 10.5rem);
  line-height: 1.02;
}

.hero-lede {
  max-width: 38rem;
  font-size: clamp(1.2rem, 3.2vh, 1.95rem);
  line-height: 1.35;
  color: var(--d);
  opacity: 0.72;
}

/* modern "feature strip": one continuous row on the same yellow ground,
   thin hairlines instead of a color/section break — keeps the three
   principles inside the hero rather than a separate block. */
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 64rem;
  border-top: 1px solid rgba(15, 15, 15, 0.18);
  border-bottom: 1px solid rgba(15, 15, 15, 0.18);
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: clamp(1.25rem, 3.2vh, 2.25rem) 1.25rem;
  border-right: 1px solid rgba(15, 15, 15, 0.18);
}

.pillar:last-child {
  border-right: none;
}

.pillar-num {
  font-family: var(--f-nm);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--d);
  opacity: 0.5;
}

.pillar h2 {
  font-family: var(--f-h);
  font-size: clamp(2rem, 6.5vh, 4.25rem);
  line-height: 1.05;
}

/* pinned full-width at the very bottom of the hero, same as the original
   single-headline hero — everything new (header + pillars) fills the
   space above it via .hero's space-evenly. */
.hero .hero-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding: 2.5rem;
  color: var(--l);
  mix-blend-mode: difference;
}

.hero .hero-footer .hero-footer-col {
  display: flex;
  gap: 5rem;
}

@media (max-width: 1000px) {
  .hero {
    /* desktop spreads header/pillars apart with space-evenly across the
       full height; on shorter/narrower screens that reads as a stray gap
       between them instead of a deliberate composition — cluster them
       together and center the group instead. */
    justify-content: center;
    gap: clamp(2rem, 6vh, 3.5rem);
    padding: 6.5rem 1.25rem 8rem;
  }

  .hero .hero-footer {
    padding: 2rem;
  }

  .hero .hero-footer .hero-footer-col {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .hero .hero-footer p {
    font-size: 0.7rem;
  }

  /* below 1000px, width (not height) is the constraint that matters for
     headline wrapping — switch from vh-based to vw-based sizing so a tall
     narrow screen doesn't blow the headline up to one-word-per-line. */
  .hero .hero-header {
    gap: 1rem;
  }

  .hero-lede {
    font-size: clamp(0.9rem, 3.2vw, 1.15rem);
  }

  /* keep the 3-across strip (not stacked) — the hero has a fixed height
     on tablet/mobile too, and a stacked list would need more vertical
     room than a fixed 100svh viewport reliably has. */
  .pillar {
    gap: 0.3rem;
  }
}

/* tablet: 601px–1000px — more width to work with than a phone, so the
   headline and pillars can stay noticeably bigger than the phone tier. */
@media (max-width: 1000px) and (min-width: 601px) {
  .hero h1 {
    font-size: clamp(3rem, 9vw, 6.5rem);
    line-height: 1.03;
  }

  .pillar {
    padding: 1.25rem 0.85rem;
  }

  .pillar h2 {
    font-size: clamp(1.75rem, 4.6vw, 3rem);
    line-height: 1.06;
  }
}

/* phone: <=600px */
@media (max-width: 600px) {
  .hero {
    gap: clamp(1.5rem, 4.5vh, 2.5rem);
    padding: 5.5rem 1.25rem 7rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10.5vw, 3.5rem);
    line-height: 1.06;
  }

  /* one under the other — a 3-across strip reads too cramped/small to
     scan on a narrow screen, even though it costs more vertical room. */
  .hero-pillars {
    grid-template-columns: 1fr;
  }

  .pillar {
    padding: 0.65rem 0.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(15, 15, 15, 0.18);
  }

  .pillar:last-child {
    border-bottom: none;
  }

  .pillar h2 {
    font-size: clamp(1.3rem, 6.5vw, 1.9rem);
    line-height: 1.1;
  }
}
