/*
 * Home page only — point fixes over the frozen index.css without editing it
 * (enqueued on is_front_page() in inc/enqueue.php).
 */

/* .hero — the visible screen height, as the inner hero: 100vh counts the area under the phone
   browser's toolbars, so the content sat low (Matt, 2026-11-02, item 1.4) */
.hero {
  min-height: 100svh;
}

/* .hero__container — padding as the inner hero (hero-inner.css): index.css gave 14–34 % of the
   width on top, which pushed the content below the centre (Pavlo, 2026-11-03); the bottom follows,
   or at 1440 the content sits 50 px above the centre */
.hero__container {
  padding-top: clamp(7.25rem, 5.5616rem + 7.2037vw, 12rem);
  padding-bottom: clamp(3.125rem, 2.0142rem + 4.7393vw, 6.25rem);
}

/* @media (width >= 89.375em) .what-matters__eyebrow — 20 → 50 px to the heading (Vlad, 2026-10-17, 2026-10-19) */
@media (width >= 89.375em) {
  .what-matters__eyebrow {
    margin-bottom: 3.125rem;
  }
}

/* .what-matters__head — 150 → 75 px from the heading's baseline to the card at 1440, as on the inner
   pages (.what-matters--compact, sections-adopt.css; Vlad, 2026-10-20) */
.what-matters__head {
  margin-bottom: clamp(2.5rem, 1.6685rem + 3.3175vw, 4.6875rem);
}

/* .what-matters__title — bottom trim collapses into the margin above; the top stays (eyebrow 50 px, 2026-10-19) */
.what-matters__title {
  margin-bottom: -0.14em;
}

/* @media (width > 48em) .what-matters__card — tabs as on the inner pages (.what-matters--compact,
   sections-adopt.css): 100 px from the card top, 60 px to the slide at 1440 (Vlad, 2026-10-19);
   phones show pagination instead of tabs (index.css). Literal clamps: _tokens.css is not loaded
   on the homepage. */
@media (width > 48em) {
  .what-matters__card {
    gap: clamp(2.5rem, 2.0557rem + 1.8957vw, 3.75rem);
    padding-top: calc(clamp(3.125rem, 2.0142rem + 4.7393vw, 6.25rem) - 0.125rem);
  }

  /* .what-matters__tabs — no bottom padding under the pills, as on the inner pages */
  .what-matters__tabs {
    padding-bottom: 0;
  }
}
