/* The footer: on the closing dome's lilac, so the page ends on one ground with no colour
   edge. Text on lilac is Plum. Only the logo stands on the hero's left line: its line
   sits beside it on its baseline, the legal line under the logo's line, and the links
   on the right in two rows on those same two baselines: the site's pages, then the fine
   print and support. */
.footer { padding: 36px 0 28px; background: var(--lilac); margin-top: -1px; color: var(--plum); }
.foot-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 0 40px; align-items: baseline; }
.foot-line { font-size: 14px; color: var(--plum); text-wrap: balance; }
/* The links' two rows share the grid's rows, so each stands on its own line's baseline. */
.foot-nav { grid-column: 3; grid-row: 1 / 3; display: grid; grid-template-rows: subgrid; align-items: baseline; }
.foot-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 28px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--plum); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-nav a[aria-current="page"] { color: var(--ink); }
.foot-legal { grid-column: 2; grid-row: 2; font-size: 13px; color: var(--plum); }
/* A narrower desktop: the page links stand a little closer, so the logo's line keeps its
   room (two lines at 1024, one from about 1180). */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .foot-grid { column-gap: 24px; }
  .foot-nav ul { column-gap: 20px; }
}

@media (max-width: 1023.98px) {
  .footer { padding: 40px 0 32px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 0; }
  .foot-line { margin-top: 6px; }
  .foot-nav { grid-column: 1; grid-row: auto; display: block; margin-top: 20px; }
  .foot-nav ul { justify-content: flex-start; column-gap: 22px; }
  .foot-legal { grid-column: 1; grid-row: auto; margin-top: 20px; }
}
