/* ==========================================================================
   Sections: page-level blocks of the one pager
   ========================================================================== */

.section {
  padding-block: var(--space-section);
}

.section--tinted {
  background: var(--color-surface-tinted);
}

.section__header {
  max-width: 44rem;
  margin-bottom: var(--space-10);
}

.section__title {
  font-size: var(--text-xl);
}

.section__lead {
  margin-top: var(--space-4);
  color: var(--color-ink-muted);
}

.split__text > * + * {
  margin-top: var(--space-4);
}

.split__text .section__title + p {
  margin-top: var(--space-5);
}

/* Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* the gradient ends in the sky colour of the silhouette image */
  background: linear-gradient(to bottom, var(--color-sky-light) 0%, #c9def0 45%, var(--color-sky-soft) 100%);
}

.hero__content {
  padding-block: var(--space-12) var(--space-8);
  text-align: center;
}

.hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.hero__title {
  margin-top: var(--space-3);
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero__lead {
  max-width: 36rem;
  margin: var(--space-5) auto 0;
  font-size: var(--text-lg);
  color: #2b3a49;
}

.hero .button-row {
  justify-content: center;
  margin-top: var(--space-8);
}

.hero__image img {
  width: 100%;
  min-height: 11rem;
  max-height: 28rem;
  object-fit: cover;
  object-position: center 75%;
}

@media (min-width: 48em) {
  .hero__content {
    padding-top: var(--space-16);
  }
}

.section--compact {
  padding-block: var(--space-10) var(--space-section);
}

.section--flush-bottom {
  padding-bottom: 0;
}

.section__header--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: none;
  margin-bottom: var(--space-6);
}

/* Page header of sub pages -------------------------------------------- */

.page-header {
  padding-block: var(--space-8) var(--space-10);
  background: linear-gradient(to bottom, var(--color-sky-light), var(--color-surface));
}

.page-header__title {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-header__lead {
  max-width: 40rem;
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  color: #2b3a49;
}

@media (min-width: 48em) {
  .page-header {
    padding-block: var(--space-10) var(--space-12);
  }
}
