/* Partners page. Tokens come from site.css.
 *
 * Three kinds of content, three weights: the partner there is (a panel, in the ink the explorer gives the
 * genesis proof), the partners still wanted (a ruled grid of four), and the credits (a quiet row). */

/* ---------- the partner ---------- */

.partner-now {
  display: grid;
  gap: 1.5rem 3rem;
  margin-top: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.25rem, 4vw, 2.75rem);
  background: var(--ink);
  color: var(--fog);
}
@media (min-width: 60rem) {
  .partner-now { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: start; }
}
.partner-now a { color: inherit; text-decoration-color: color-mix(in srgb, var(--fog) 50%, var(--ink)); }
.partner-now a:hover { text-decoration-color: currentColor; }
.partner-tag { margin: 0; font-size: 0.95rem; font-weight: 650; color: color-mix(in srgb, var(--fog) 72%, var(--ink)); }
.partner-now h2 {
  margin-top: 0.35rem;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.partner-says { margin: 0.8rem 0 0; font-size: 1.1rem; line-height: 1.45; max-width: 26ch; }
.partner-body p { margin: 0; max-width: 60ch; line-height: 1.55; }
.partner-body p + p { margin-top: 1rem; }

/* ---------- the partners wanted ---------- */

/* The same ruled tiles as the explorer's figures: 1px gaps over a haze ground draw the lines. */
.roles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--haze);
  border: 1px solid var(--haze);
}
@media (min-width: 52rem) {
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.role { min-width: 0; padding: clamp(1.25rem, 3vw, 1.85rem); background: var(--fog); }
.role h3 { font-size: 1.35rem; }
.role-who { margin: 0.45rem 0 1.1rem; color: var(--slate); font-size: 0.95rem; }
.role-body p { margin: 0; max-width: 60ch; }
.role-body p + p { margin-top: 0.85rem; }

/* ---------- get in touch ---------- */

.contact-band {
  padding-block: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.contact-line { margin: 1.1rem 0 0; font-size: 1.15rem; }
/* The address is the thing to take away, so it is set as the largest text in the band. */
.contact-line .contact {
  display: block;
  margin-top: 0.3rem;
  font-size: clamp(1.55rem, 4.5vw, 2.6rem);
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.contact-more { margin: 1.25rem 0 0; color: var(--slate); max-width: var(--measure); }

/* ---------- built on ---------- */

.credits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  gap: 1.25rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.credits li { display: grid; align-content: start; gap: 0.25rem; padding-top: 0.75rem; border-top: 1px solid var(--haze); }
.credits a { font-weight: 650; }
.credits span { color: var(--slate); font-size: 0.92rem; }
.credits-note { margin: 1.75rem 0 0; max-width: var(--measure); }
