/*
 * colophon: the footer on the ink field. No motion.
 * Paper hairlines at 20% above and below the four columns; stacked on phones.
 */

.colophon {
  --rule: rgba(238, 237, 232, .2);
  position: relative;
  padding-top: clamp(64px, 8vw, 120px);
  /* on phones the ink runs on under the call dock instead of leaving a paper strip */
  padding-bottom: calc(24px + var(--dock-h));
  margin-bottom: calc(-1 * var(--dock-h));
}

/* ---------- head: big wordmark and the tagline ---------- */

.colophon__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  padding-bottom: clamp(28px, 4vw, 56px);
}
.colophon .colophon__wordmark {
  font-size: min(clamp(2.5rem, 1.2rem + 5.2vw, 6rem), calc((100vw - 2 * var(--gx)) / (var(--chars, 14) * .6 + .5)));
}
.colophon__tagline {
  max-width: 34ch;
  padding-bottom: .5em;
}

/* ---------- four columns ---------- */

.colophon__grid {
  display: grid;
  gap: 36px;
  padding-block: 36px 44px;
}
@media (min-width: 768px) {
  .colophon__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px var(--gutter);
    padding-block: 44px 56px;
  }
}
@media (min-width: 1024px) {
  .colophon__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-block: 48px 72px;
  }
}

.colophon__blurb {
  max-width: 18ch;
  font-size: var(--fs-body-l);
  line-height: 1.35;
  color: var(--paper);
}
.colophon__label { display: block; margin-bottom: 10px; }
.colophon__list { display: grid; }
.colophon__where {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--paper);
}

.colophon__call {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 .6em;
  padding-block: 12px;
  text-decoration: none;
  color: var(--paper);
}
.colophon__call-name {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 88%;
  font-size: 1.0625rem;
  line-height: 1.2;
}
.colophon__call-num {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.colophon__call:hover .colophon__call-num { text-decoration: underline; text-decoration-thickness: 1px; }

.colophon__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--paper);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.colophon__link svg { flex: none; width: 16px; height: 16px; color: var(--lime); transition: transform .2s var(--ease-soft); }
.colophon__link:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.colophon__link:hover svg { transform: translate(2px, -2px); }

.colophon__built {
  max-width: 14ch;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 96%;
  font-size: clamp(1.5rem, 1.05rem + 1.4vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--paper);
}

/* ---------- base line ---------- */

.colophon__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 32px;
  padding-top: 12px;
}
.colophon__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}
.colophon__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
}
.colophon__small-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  font-size: var(--fs-small);
  line-height: 1;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  text-decoration-color: rgba(238, 237, 232, .4);
}
.colophon__small-link:hover { text-decoration-color: currentColor; }
.colophon__top svg { width: 15px; height: 15px; color: var(--lime); }
@media (max-width: 767px) {
  .colophon__base { flex-direction: column; align-items: flex-start; }
}
