/* Meador Developments — public home page. Layout only; colors, type
   and spacing all come from css/tokens.css. */

@import url("/css/tokens.css");

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72vh;
  min-height: 72svh;
  padding: 120px 0 64px;
}

.hero-chart {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("/assets/sectional-bg.webp");
  background-size: cover;
  background-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 19, 30, 0.68) 0%, rgba(9, 19, 30, 0.88) 60%, var(--night) 100%),
    rgba(9, 19, 30, 0.35);
}

.hero-inner { max-width: 640px; }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-stretch: 125%;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero .lead {
  max-width: 46ch;
  margin-top: 22px;
  color: var(--paper-2);
  font-size: 1.25rem;
  line-height: 1.55;
}

section.what,
section.contact {
  padding: 72px 0;
  border-top: 1px solid var(--rule);
}

section.what h2,
section.contact h2 { margin-top: 4px; }

section.what .section-lead,
section.contact .section-lead { margin-top: 18px; }

@media (max-width: 640px) {
  .hero { padding: 104px 0 48px; }
}
