/* ===========================================================================
   Connect
   ---------------------------------------------------------------------------
   One column, two ways in, and nothing else. The page exists because the menu
   and the footer both point at it; it earns its place by sending most people
   to the contribution form rather than into an inbox.
   =========================================================================== */

.connect {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 2.4rem) 0 clamp(3rem, 7vw, 5rem);
  text-align: center;
}

.connect__head {
  font-family: var(--display), var(--indic), sans-serif;
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
  line-height: 1.08;
  margin: .5rem 0 0;
  max-width: none;
}

.connect__lede {
  font-size: clamp(1.05rem, .98rem + .45vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 32rem;
  margin: clamp(1rem, 2.5vw, 1.4rem) auto 0;
}

/* Two blocks side by side where there is room, stacked where there is not.
   The rule between them is a single border rather than a divider element, so
   it disappears on its own when they stack. */
.connect__ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  margin-top: clamp(2.4rem, 6vw, 3.8rem);
  text-align: left;
}
.connect__way + .connect__way {
  padding-left: clamp(1.8rem, 4vw, 3.2rem);
  border-left: 1px solid var(--rule);
}
.connect__way p {
  font-size: var(--step--1);
  line-height: 1.62;
  color: var(--ink-muted);
  margin: 0 0 .8rem;
  max-width: none;
}

.connect__sub {
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 500;
  color: var(--ink-faint);
  margin: 0 0 .9rem;
}

.connect__go {
  font-size: var(--step-0);
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .3em;
  text-decoration-thickness: 1px;
}
.connect__go:hover { text-decoration-thickness: 2px; }

/* The address is the one thing on this page somebody came to copy, so it is
   set at reading size rather than as small print. */
.connect__mail {
  font-size: var(--step-0);
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .25em;
  word-break: break-word;
}

/* No mark at the foot: the footer carries one a few centimetres below, and
   two stitched marks that close together read as a mistake rather than as
   ornament. */

/* The two people, as a short list rather than a sentence: a name and a number
   are two facts and reading them out of prose is harder than it needs to be. */
.connect__people {
  list-style: none;
  margin: 0 0 .9rem;
  padding: 0;
  font-size: var(--step--1);
  line-height: 1.6;
}
.connect__people li { display: flex; flex-wrap: wrap; gap: .2rem .7rem; }
.connect__name { color: var(--ink); }
.connect__people a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: .25em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 44rem) {
  .connect__ways { grid-template-columns: 1fr; }
  .connect__way + .connect__way {
    padding-left: 0;
    border-left: 0;
    padding-top: clamp(1.4rem, 4vw, 2rem);
    border-top: 1px solid var(--rule);
  }
}
