/* Contact A: the crowd holds still on the left while the form scrolls on the right */
.ca {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  column-gap: clamp(40px, 5vw, 96px);
  padding-top: calc(var(--nav-h) + clamp(32px, 4vw, 64px));
}

.ca__intro {
  position: sticky;
  top: calc(var(--bar-h) + 24px);
  display: flex;
  flex-direction: column;
  height: calc(100svh - var(--nav-h) - 64px);
  min-height: 560px;
}

.ca__intro h1 {
  max-width: 12ch;
}

.ca__intro .lede {
  margin-top: 20px;
}

.ca__crowd {
  position: relative;
  flex: 1;
  min-height: 260px;
  margin-top: 20px;
}

.ca__crowd canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Paper knockouts on the graphic */
.ca__topic,
.ca__you {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 6px;
  background: var(--paper);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.ca__topic {
  top: 6px;
  left: 0;
  padding-left: 0;
  color: var(--ink-2);
  transition: opacity 0.3s ease-out;
}

.ca__you {
  will-change: transform;
}

.ca__intro .source {
  margin-top: 8px;
}

.ca__form {
  padding-bottom: 8px;
}

@media (max-width: 991px) {
  .ca {
    grid-template-columns: minmax(0, 1fr);
    padding-top: calc(var(--nav-h) + 32px);
  }

  .ca__intro {
    position: static;
    height: auto;
    min-height: 0;
  }

  .ca__crowd {
    flex: none;
    height: 220px;
    min-height: 0;
    margin-top: 28px;
  }

  .ca__form {
    margin-top: 48px;
  }
}
