.footer {
  padding-top: clamp(48px, 5.5vw, 72px);
  padding-bottom: clamp(20px, 2.5vw, 28px);
  color: rgba(212, 231, 248, .72);
  background: var(--ink);
  border-top: 1px solid rgba(212, 231, 248, .1);
}

.footer-shell {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(28px, 3.5vw, 40px);
}

.footer-intro {
  flex: 0 1 28em;
  min-width: 0;
}

.footer-navs {
  display: flex;
  flex: none;
  gap: clamp(48px, 6vw, 88px);
}

.footer-brand {
  color: var(--white);
}

.footer-brand:hover {
  opacity: .88;
}

.footer-brand:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
  border-radius: 4px;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-brand .brand-text > span {
  font-size: 20px;
  color: var(--white);
}

.footer-brand small {
  color: rgba(212, 231, 248, .5);
}

.footer-intro p {
  max-width: 28em;
  margin-top: 16px;
  color: rgba(212, 231, 248, .62);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.footer-nav > span {
  display: block;
  margin: 0 0 4px;
  color: rgba(212, 231, 248, .4);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-nav a {
  color: rgba(235, 244, 255, .88);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.3;
  text-decoration: none;
  border-radius: 4px;
  outline: none;
  transition: color .2s ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-nav a:focus-visible {
  color: var(--white);
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.footer-nav a.is-active,
.footer-nav a[aria-current="page"] {
  color: var(--white);
}

.footer-divider {
  height: 1px;
  background: rgba(212, 231, 248, .14);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  color: rgba(212, 231, 248, .42);
  font-size: 12px;
  letter-spacing: .02em;
}

.footer-bottom > span,
.footer-bottom > a {
  min-width: 0;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  border-radius: 3px;
  outline: none;
  transition: color .2s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: rgba(235, 244, 255, .8);
}

.footer-bottom a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .footer-main {
    flex-wrap: wrap;
  }

  .footer-intro {
    flex: 1 1 100%;
  }

  .footer-navs {
    width: 100%;
    justify-content: flex-start;
    gap: clamp(32px, 8vw, 64px);
  }
}

@media (max-width: 520px) {
  .footer {
    padding-top: 44px;
  }

  .footer-main {
    flex-direction: column;
    padding-bottom: 28px;
  }

  .footer-navs {
    flex-wrap: wrap;
    gap: 28px 40px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-brand,
  .footer-nav a,
  .footer-bottom a {
    transition: none;
  }
}
