.about-history {
  max-width: none;
}

.about-history > h2:first-of-type {
  margin-bottom: var(--space-xl);
}

.about-history > p:has(> strong:first-child) {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  column-gap: var(--space-lg);
  align-items: baseline;
  position: relative;
  max-width: none;
  margin: 0;
  padding-bottom: var(--space-xl);
}

.about-history > p:has(> strong:first-child) strong {
  justify-self: end;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
  color: var(--color-primary);
  white-space: nowrap;
  text-align: right;
}

.about-history > p:has(> strong:first-child):has(+ p > strong:first-child)::before {
  content: "";
  position: absolute;
  top: 2.35rem;
  bottom: 0;
  left: calc(7rem + var(--space-lg) / 2);
  width: 1px;
  background: var(--color-primary);
}

.about-history blockquote {
  margin: var(--space-lg) 0 var(--space-2xl);
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
}

.about-history blockquote p {
  max-width: 40rem;
  margin: 0;
  font-size: var(--font-size-lg);
  line-height: 1.5;
  color: var(--color-primary);
}

.about-history > h2:not(:first-of-type) {
  margin-top: var(--space-xl);
}

.about-history > p:not(:has(> strong:first-child)) {
  max-width: 42rem;
  margin-top: var(--space-md);
}

@media (max-width: 767px) {
  .about-history > p:has(> strong:first-child) {
    grid-template-columns: 1fr;
    row-gap: var(--space-sm);
    align-items: start;
    margin-bottom: var(--space-lg);
    padding: 0 0 var(--space-lg) var(--space-lg);
    border-left: 2px solid var(--color-primary);
  }

  .about-history > p:has(> strong:first-child) strong {
    justify-self: start;
    text-align: left;
  }

  .about-history > p:has(> strong:first-child):has(+ p > strong:first-child)::before {
    content: none;
  }

  .about-history blockquote {
    padding: var(--space-md) var(--space-lg);
  }
}

.metric {
  min-width: 0;
  padding: 0;
  container-type: inline-size;
}

.metric__value {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@supports (font-size: 1cqi) {
  .metric__value {
    font-size: clamp(1.5rem, 16cqi, 3.5rem);
  }
}

.metric__label {
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
}
