/* Use one responsive scale for the main page title across projects. */
html body h1 {
  font-size: clamp(1.625rem, 1.3125rem + 1.1vw, 2.25rem) !important;
  line-height: 1.12 !important;
  margin-block: 0 .35em !important;
}

html body h1 > :is(em, span) {
  font-size: inherit;
  line-height: inherit;
}

html body .hero h1 {
  text-wrap: balance;
}

html body :is(.lf-contact-page, [class*="site_contactPage__"]) h1 {
  font-size: clamp(1.5rem, 1.3125rem + .65vw, 1.75rem) !important;
  margin-block: 0 8px !important;
}

/* Align the text and visual at the top of split first screens. */
html[data-compact-layout] main :is(.hero-grid, .home-hero-v3-grid, .product-detail-hero, .product-hero, .product-layout),
html body main .home-hero-v3-grid,
html body main .hero-main {
  align-items: start;
}

html body main .hero > .hero-copy {
  align-self: start;
  justify-content: flex-start;
}

html body main :is(.page-hero:not(.hero), .page-intro, .page-heading) {
  padding-block-start: clamp(14px, 1.8vw, 24px);
}

html body main .hero-main {
  padding-block-start: clamp(24px, 3vw, 38px);
}

html body main .hero-main > .hero-copy {
  padding-block-start: 0;
}

html body main .hero:has(> .hero-art):not(.search-active) > .hero-copy {
  padding-block: clamp(24px, 3vw, 38px);
}

html body main .hero:has(> .hero-art):not(.search-active) > .hero-art {
  align-self: start;
  padding-block-start: clamp(24px, 3vw, 38px);
}

html body main [class*="site_heroContent__"] {
  justify-content: flex-start;
  padding-block-start: clamp(28px, 3.2vw, 42px);
}

html body main [class*="site_contactPage__"] {
  padding-block-start: clamp(18px, 2.4vw, 32px);
}

@media (max-width: 760px) {
  html body main .hero:has(> .hero-art):not(.search-active) > .hero-art {
    padding-block-start: 0;
  }

  html body main [class*="site_hero__"]::after {
    background-image: linear-gradient(180deg, rgb(12 10 8 / 80%), rgb(12 10 8 / 53%) 53%, transparent 100%);
  }
}

/* The global Laser .logo span rule otherwise gives the three bars a 110px box. */
html body header a.logo.lf-brand-unified > .lf-brand-bars {
  width: 23px;
  min-width: 23px;
}
