@layer components {
  /* One idea of a signed-out page: a large serif line and a sentence, then the thing that shows
     it. On a wide screen the words hold the left and the thing stands beside them. */
  .site-section {
    display: grid;
    justify-items: center;
    gap: var(--space-11);
    max-inline-size: var(--max-content);
    margin-inline: auto;
    padding: var(--space-13) var(--gutter-fluid);
  }

  .site-section__head {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    text-align: center;
  }

  .site-section__title {
    max-inline-size: var(--measure-site);
    font: var(--type-site-headline);
    letter-spacing: var(--tracking-display);
    color: var(--color-ink-display);
    text-wrap: balance;
  }

  .site-section__lead {
    max-inline-size: var(--measure-site-lead);
    font: var(--type-site-lead);
    color: var(--color-ink-muted);
    text-wrap: pretty;
  }

  .site-section__body {
    display: flex;
    justify-content: center;
    inline-size: var(--size-fill);
    min-inline-size: var(--space-0);
  }

  @media (width >= 1000px) {
    .site-section {
      grid-template-columns: minmax(var(--space-0), 2fr) minmax(var(--space-0), 3fr);
      align-items: start;
      gap: var(--space-12);
      padding-block: calc(2 * var(--space-13));
    }

    /* The words hold still while what they describe goes by beside them. */
    .site-section__head {
      position: sticky;
      inset-block-start: var(--site-sticky-top);
      text-align: start;
    }

    .site-section__title {
      font: var(--type-site-headline-lg);
    }

    .site-section__lead {
      font: var(--type-site-lead-lg);
    }
  }
}
