/* =============================================================================
   Home hero — static "image + text" opening per the "Elevate 1.png" design
   -----------------------------------------------------------------------------
   Companion stylesheet for Views/Home/Sections/_HomeHero.cshtml.

   Requested 2026-10-13: the scroll story was removed and the hero is the
   design's own opening block — gold eyebrow, navy heading, muted body and two
   navy CTAs on the left; the hero kitchen photograph on the right. No
   animation, no JavaScript, no pinned scroll.

   Measured from "Elevate 1.png" (1440px export): photo 667x477 at x694 (its
   native size), text block ~468px wide, gap text->photo ~146px, ~97px above
   the photo below the header. The export is a fixed 1440 canvas, so all hero
   dimensions scale with the viewport (vw-based clamps) — the photo fills its
   column at any window width and the type grows with it (user feedback
   2026-10-13: larger image, no dead space between text and image, larger
   text). Clamp maxima keep the composition sane on very wide screens.
   ============================================================================= */

.home-hero {
  background-color: var(--color-white);
  padding-block: clamp(3.5rem, 6.75vw, 6.5rem);
}

.home-hero__inner {
  display: grid;
  /* Text : photo = 5 : 7 (measured 468/146/667 inside the 1280 content box). */
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(3rem, 10vw, 12rem);
  padding-inline: var(--container-pad);
}

.home-hero__copy {
  max-width: max(30rem, 33vw);
}

.home-hero__copy .eyebrow {
  margin-bottom: clamp(1rem, 1.7vw, 2rem);
  font-size: clamp(0.8125rem, 0.97vw, 1.25rem);
}

.home-hero__heading {
  margin: 0 0 clamp(1.5rem, 2.2vw, 2.5rem);
  font-family: var(--font-heading);
  /* 44px at the 1440 design width, scaling with the window. */
  font-size: clamp(2.25rem, 3.1vw, 4.25rem);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--color-navy);
}

.home-hero__body {
  margin: 0 0 clamp(1.75rem, 3.3vw, 3.5rem);
  /* 15px/1.8 at the 1440 design width. */
  font-size: clamp(0.9375rem, 1.05vw, 1.4375rem);
  line-height: 1.75;
  color: var(--color-ink-muted);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.home-hero__actions .btn {
  /* 47px-tall buttons in the 1440 export; em padding scales with the label. */
  font-size: clamp(0.8125rem, 0.97vw, 1.1875rem);
  padding: 0.9em 1.9em;
}

.home-hero__media img {
  display: block;
  width: 100%; /* fills the 7fr column — no fixed cap, scales with the window */
  height: auto;
  border-radius: var(--radius-lg);
}

/* --- Narrow viewports ------------------------------------------------------------------ */
@media (max-width: 62em) {
  .home-hero {
    padding-block: var(--space-6);
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .home-hero__copy {
    max-width: none;
  }

  .home-hero__heading {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .home-hero__body {
    font-size: 1rem;
  }

  .home-hero__media img {
    width: 100%;
  }
}
