/* Homepage Open spread, with Lora matching the live homepage's type size. */
.home-pitch {
  --pitch-type-size: clamp(28px, 4.35vw, 64px);
  --pitch-serif-size: 48px;
  width: 100%;
  text-align: left;
}

/* One shared grid keeps all three service cards as tall as the longest card,
   including when they stack. Links stay aligned at the bottom of each card. */
.home-services-wrap {
  margin-top: 60px;
  padding-bottom: 320px;
}

.home-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 40px;
  width: 100%;
}

.home-service-card {
  display: flex;
  flex-direction: column;
  padding: 50px;
  background: #fff;
  min-width: 0;
}

#home-service-cards h2 {
  font-size: 26px !important;
  line-height: 1.45 !important;
  margin: 0 0 20px;
}

#home-service-cards p {
  padding: 0;
  margin: 0 0 32px;
}

#home-service-cards .home-service-description,
#home-service-cards .home-service-link {
  font-size: 24px !important;
}

#home-service-cards .home-service-fit {
  font-size: 18px !important;
}

#home-service-cards .home-service-link {
  margin-top: auto;
  margin-bottom: 20px;
}

@media (max-width: 1000px) {
  .home-services {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .home-services-wrap {
    margin-top: 0;
    padding-bottom: 180px;
  }

  .home-services {
    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
  }

  #home-service-cards h2 {
    font-size: 20px !important;
  }

  #home-service-cards .home-service-description {
    font-size: 18px !important;
  }

  #home-service-cards .home-service-fit {
    font-size: 16px !important;
  }
}

.home-pitch-columns,
.home-pitch-closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6.5vw, 112px);
  align-items: start;
}

#home-pitch h2,
#home-pitch p {
  margin: 0;
  padding: 0;
  font-size: var(--pitch-type-size) !important;
  line-height: 1.36 !important;
  color: inherit;
}

.home-pitch .home-pitch-sans {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -.025em;
}

#home-pitch .home-pitch-sans {
  line-height: 1.28 !important;
}

#home-pitch .home-pitch-serif {
  font-size: var(--pitch-serif-size) !important;
  font-family: 'Lora', serif;
  font-weight: 400;
  letter-spacing: -.015em;
}

.home-pitch-closing {
  margin-top: clamp(48px, 7vw, 112px);
}

.home-pitch-contact {
  margin-top: 32px;
}

@media (max-width: 900px) {
  .home-pitch {
    --pitch-type-size: 28px;
    --pitch-serif-size: 28px;
  }

  .home-pitch-columns,
  .home-pitch-closing {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .home-pitch-closing {
    margin-top: 40px;
  }
}
