html,
body {
  position: relative;
}

.site-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  /* was: -1 */
  transform: translateZ(0);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 40px) clamp(20px, 6vw, 90px) clamp(30px, 5vw, 60px);
  background: var(--ink);
  color: var(--ink);
  border-top: none;
  overflow-x: clip;
}

main {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  background: var(--bg);
  margin-bottom: 100vh;
  transform: translateZ(0);
  will-change: transform;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: clamp(75px, 8vh, 96px);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 72px);
}

.footer__nav--left {
  justify-content: flex-start;
}

.footer__nav--right {
  justify-content: flex-end;
}

.footer__col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--bg-elevated);
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col-links a {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--muted);
  transition: color .3s var(--ease);
}

.footer__col-links a:hover {
  color: var(--amber);
}


.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: auto;
}

.footer__brand-svg {
  width: min(700px, 72vw);
  height: auto;
}

.footer__brand-word {
  margin-top: -1vw;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 80px);
  letter-spacing: .02em;
  color: var(--bg);
  display: flex;
  justify-content: space-between;
  width: min(800px, 82vw);
}

@media (max-width: 780px) {
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer__nav {
    justify-content: center;
    gap: 28px;
  }

  .footer__brand-word {
    font-size: clamp(15px, 8vw, 38px);
    letter-spacing: .12em;
  }

  .footer__brand-svg {
    width: min(800px, 92vw);
  }
}