.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--bound-blue);
}

.footer-map {
  --map-width: clamp(48rem, 108vw, 104rem);
  --map-offset: 12vw;
  --drift-duration: 180s;
  background-position-y: 40%;
  /* Separate the pale land from the slightly darker water before tinting the map. */
  filter: grayscale(1) brightness(.555) contrast(65);
  mix-blend-mode: screen;
  opacity: .03;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 2rem;
}
.footer-links nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.footer-column { display: grid; justify-items: start; align-content: start; }
.footer-column h2 {
  margin: 0 0 .65rem;
  color: rgb(255 255 255 / 62%);
  font-size: .875rem;
  font-weight: 400;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
  text-decoration: none;
}
.footer-column a { min-height: 2.25rem; }
.footer-links nav a:hover, .footer-links nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .25em;
}
.footer-links a:focus-visible { outline-color: #fff; }
.footer-download {
  flex: none;
  gap: .55rem;
  padding-inline: 1.1rem;
  border-radius: 99px;
  color: var(--bound-blue);
  background: #fff;
}
.footer-download:hover { background: #eef1fb; }
.footer-wordmark {
  display: block;
  width: 100%;
  height: auto;
  /* The mark ends at y=72.68 in the shared 348 × 86 SVG. */
  aspect-ratio: 348 / 72.68;
  object-fit: cover;
  object-position: top;
  margin-top: clamp(2rem, 5vw, 4rem);
  filter: brightness(0) invert(1);
  /* The first ink sits 14.2% down the box, below the SVG's transparent top margin. */
  -webkit-mask-image: linear-gradient(to bottom, #000 14.2%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 14.2%, transparent 100%);
}

@media (max-width: 40rem) {
  .footer-links { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-links nav { gap: .65rem; }
  .footer-column a { min-height: 44px; }
  .footer-download { justify-self: start; }
}
