/* ==========================================================================
   Harsh Sales Agency — Hero v3 (bento)
   Fixed message + rotating visual. Light, asymmetric tiles rather than
   another dark photo wash, so the value proposition and CTA always sit
   above the fold on every device.
   ========================================================================== */

.hero {
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(246,156,49,.13), transparent 60%),
    radial-gradient(700px 460px at 4% 96%, rgba(22,46,66,.07), transparent 62%),
    var(--cream);
  color: var(--ink);
  padding-block: clamp(20px, 3vw, 40px) clamp(28px, 3.4vw, 48px);
  overflow: hidden;
}
.hero::after { content: none }
.hero .lede { color: var(--ink-500) }
.hero, .hero h1, .hero h2, .hero p { color: var(--ink) }
.hero .lede { color: var(--ink-500) }

/* Grid -------------------------------------------------------------------- */
.bento {
  display: grid;
  gap: clamp(12px, 1.1vw, 18px);
  grid-template-columns: 1fr;
}
.bento__cell {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: clamp(16px, 1.6vw, 24px);
  padding: clamp(22px, 2.4vw, 38px);
  position: relative;
  overflow: hidden;
}

/* Copy cell --------------------------------------------------------------- */
.bento__copy { display: flex; flex-direction: column; justify-content: center }
.bento__copy h1 {
  /* Set explicitly: the retired dark hero styled `.hero h1` cream, which
     rendered the headline invisible on this light background. */
  color: var(--ink);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  letter-spacing: -.028em;
  line-height: 1.04;
}
.bento__copy h1 em { font-style: italic; color: var(--amber-600) }
.bento__copy .lede { margin-top: 14px; max-width: 46ch }
.bento__copy .hero__actions { margin-top: clamp(20px, 2.2vw, 30px) }

/* Trust row --------------------------------------------------------------- */
.trust {
  list-style: none; margin: clamp(20px, 2.2vw, 30px) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  padding-top: clamp(16px, 1.8vw, 22px); border-top: 1px solid var(--line-2);
}
.trust li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--ink-700);
}
.trust svg { width: 16px; height: 16px; color: var(--amber-600); flex: none }

/* Visual cell ------------------------------------------------------------- */
.bento__visual { padding: 0; background: var(--ink) }
.shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s var(--ease-out) }
.shot.is-active { opacity: 1 }
.shot img { width: 100%; height: 100%; object-fit: cover }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(18px, 2vw, 26px);
  padding-top: 64px;
  background: linear-gradient(to top, rgba(22,46,66,.92) 26%, transparent);
  color: var(--cream);
}
.shot figcaption b { display: block; font-family: var(--f-display); font-size: 1.12rem; line-height: 1.2 }
.shot figcaption span { display: block; margin-top: 3px; font-size: .84rem; color: rgba(251,247,241,.74) }

.shot__ctrl {
  position: absolute; z-index: 3; left: 0; right: 0; top: 0;
  display: flex; align-items: center; gap: 14px;
  padding: clamp(16px, 1.8vw, 22px);
}
.bento__visual .hero__dots button { background: rgba(251,247,241,.3) }
.bento__visual .hero__count { color: rgba(251,247,241,.6) }
.bento__visual .hero__count b { color: var(--cream) }

/* Stat tiles -------------------------------------------------------------- */
.bento__stat {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 116px; text-decoration: none; color: inherit;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out),
              border-color .3s, background .3s;
}
a.bento__stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line) }
.bento__stat b {
  font-family: var(--f-display); font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1; color: var(--amber-600); font-variant-numeric: tabular-nums;
}
.bento__stat span {
  margin-top: 8px; font-family: var(--f-mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500);
}
.bento__go {
  position: absolute; top: 18px; right: 18px; width: 17px; height: 17px;
  color: var(--ink-300); transition: transform .4s var(--ease-out), color .3s;
}
a.bento__stat:hover .bento__go { color: var(--amber-600); transform: translateX(3px) }

.bento__stat--amber { background: var(--amber); border-color: var(--amber) }
.bento__stat--amber b { color: var(--ink) }
.bento__stat--amber span { color: rgba(22,46,66,.75) }
.bento__stat--amber .bento__go { color: rgba(22,46,66,.55) }
a.bento__stat--amber:hover { background: #E88C1C }
a.bento__stat--amber:hover .bento__go { color: var(--ink) }

.bento__stat--dark { background: var(--ink); border-color: var(--ink) }
.bento__stat--dark b { color: var(--amber); font-size: clamp(1.5rem, 2vw, 1.95rem) }
.bento__stat--dark span { color: rgba(251,247,241,.62) }

/* --------------------------------------------------------------------------
   Layout: mobile-first. Message and CTA come first so they are never pushed
   below the fold by the image — the most common B2B hero failure.
   -------------------------------------------------------------------------- */
.bento__visual { order: 2; aspect-ratio: 16/10 }
.bento__copy   { order: 1 }
.bento__stat   { order: 3 }

/* Two stat tiles per row on phones — four stacked rows made the hero
   1.7x the viewport height. */
@media (max-width: 559px) {
  .bento { grid-template-columns: repeat(2, 1fr) }
  .bento__copy, .bento__visual { grid-column: 1 / -1 }
  .bento__stat { min-height: 96px; padding: 18px }
  .bento__stat b { font-size: 1.6rem }
}

@media (min-width: 560px) and (max-width: 899px) {
  .bento { grid-template-columns: repeat(2, 1fr) }
  .bento__copy, .bento__visual { grid-column: 1 / -1 }
}

@media (min-width: 900px) {
  /* Row 1: message | visual.  Row 2: four equal metric tiles.
     (Spanning the copy across both rows left only two cells for four
     tiles, which wrapped onto a third row and read as broken.) */
  .bento { grid-template-columns: repeat(4, 1fr) }
  .bento__copy   { order: 0; grid-column: 1 / 3; grid-row: 1 }
  .bento__visual { order: 0; grid-column: 3 / 5; grid-row: 1;
                   aspect-ratio: auto; min-height: clamp(300px, 30vw, 380px) }
  .bento__stat   { order: 0; grid-row: 2 }
}

/* Ultra-wide: hold the measure */
@media (min-width: 2100px) { .hero .wrap { max-width: 1440px } }

/* Landscape phones */
@media (max-height: 560px) and (orientation: landscape) {
  .bento__visual { aspect-ratio: 21/9 }
  .bento__copy h1 { font-size: 1.7rem }
  .trust { display: none }
}

@media (prefers-reduced-motion: reduce) {
  .shot { transition: none }
}
