/* ─────────────────────────────────────────────────────────────
   The foot of every page (written by js/foot.js): four columns
   under black rules, as in the profile, and the word below them.
   ───────────────────────────────────────────────────────────── */

.finale, .p-foot { height: calc(450 * var(--u)); }
.foot__body { position: absolute; left: calc(110 * var(--u)); right: calc(20 * var(--u)); top: calc(40 * var(--u)); z-index: 2; }
.foot__grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: calc(10 * var(--u)); }
.foot__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: calc(4 * var(--u)); border-top: 1px solid var(--ink); padding-top: calc(8 * var(--u)); }
.finale__word, .p-foot__word { height: calc(260 * var(--u)); }

@media (max-width: 1100px) {
  /* the facts flow from the top, the word keeps its own room at the bottom */
  .finale, .p-foot { height: auto; padding-bottom: calc(min(40vw, 260px) + 16px); }
  .foot__body { position: relative; left: auto; right: auto; top: auto; padding: 24px 16px; }
  .foot__grid { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .finale__word, .p-foot__word { height: min(40vw, 260px); }
}
@media (min-width: 640px) and (max-width: 1100px) {
  .foot__grid { grid-template-columns: repeat(4, 1fr); }
}
