/* ==========================================================================
   Section intro
   Heading on the left, supporting paragraph on the right.
   Reusable at the top of any content section.
   ========================================================================== */

.section-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.section-intro__title {
  max-width: 642px;
  color: var(--color-heading);
  font-size: var(--font-size-h2);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--leading-title);
}

.section-intro__text {
  max-width: 540px;
  margin-top: 17px;
  color: var(--color-text);
  font-size: var(--font-size-body-lg);
  font-weight: var(--font-weight-light);
  line-height: var(--line-height-body);
}

@media (max-width: 1100px) {
  .section-intro {
    flex-direction: column;
    gap: 24px;
  }

  .section-intro__title,
  .section-intro__text {
    max-width: 680px;
  }

  .section-intro__text {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .section-intro__title {
    font-size: 32px;
    line-height: 1.25;
  }

  .section-intro__text {
    font-size: var(--font-size-base);
    line-height: 1.55;
  }
}
