.footer-contact-shell .contact-section {
  padding-bottom: 82px;
}

.site-footer {
  position: relative;
  z-index: 40;
  color: #f2ede6;
  background: #111722;
}

.site-footer .footer__main {
  padding: clamp(84px, 10vw, 124px) 0 56px;
}

.site-footer .footer__main-inner,
.site-footer .footer__bar-inner {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}

.site-footer .footer__grid {
  display: grid;
  grid-template-columns:
    minmax(320px, 1.6fr) minmax(180px, 0.9fr) minmax(200px, 1fr)
    minmax(220px, 0.9fr);
  gap: clamp(34px, 4vw, 96px);
  align-items: start;
}

.site-footer .footer__brand {
  display: grid;
  gap: 28px;
  max-width: 26rem;
}

.site-footer .footer__brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #f2ede6;
  text-decoration: none;
}

.site-footer .footer__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70px;
  flex-shrink: 0;
}

.site-footer .footer__brand-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer .footer__brand-wordmark {
  display: inline-block;
  color: #f5efe8;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.site-footer .footer__brand-copy {
  display: grid;
  gap: 20px;
}

.site-footer .footer__brand-text,
.site-footer .footer__brand-subtext {
  margin: 0;
  color: rgba(242, 237, 230, 0.66);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.78;
}

.site-footer .footer__brand-subtext {
  color: rgba(242, 237, 230, 0.52);
  font-size: 15px;
}

.site-footer .footer__column,
.site-footer .footer__meta-group {
  display: grid;
  gap: 22px;
  align-content: start;
}

.site-footer .footer__column--meta {
  gap: 34px;
}

.site-footer .footer__column-title {
  margin: 0;
  color: rgba(242, 237, 230, 0.72);
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.site-footer .footer__links,
.site-footer .footer__contact-list {
  display: grid;
  gap: 14px;
}

.site-footer .footer__link,
.site-footer .footer__contact-link {
  color: #ef7748;
  text-decoration: none;
  font-size: clamp(16px, 1.1vw, 17px);
  line-height: 1.5;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-footer .footer__link:hover,
.site-footer .footer__contact-link:hover,
.site-footer .footer__link:focus-visible,
.site-footer .footer__contact-link:focus-visible {
  color: #f6a07a;
  transform: translateX(2px);
}

.site-footer .footer__contact-address {
  margin: 0;
  color: rgba(242, 237, 230, 0.62);
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-line;
}

.site-footer .footer__bar {
  border-top: 1px solid rgba(242, 237, 230, 0.08);
  padding: 20px 0 30px;
}

.site-footer .footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer .footer__bar-inner p {
  margin: 0;
  color: rgba(242, 237, 230, 0.5);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1180px) {
  .site-footer .footer__grid {
    grid-template-columns: minmax(280px, 1.3fr) repeat(2, minmax(180px, 1fr));
  }

  .site-footer .footer__column--meta {
    grid-column: 2 / 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .footer-contact-shell .contact-section {
    padding-bottom: 72px;
  }

  .site-footer .footer__main {
    padding-top: 76px;
  }

  .site-footer .footer__main-inner,
  .site-footer .footer__bar-inner {
    width: min(100% - 24px, 1400px);
  }

  .site-footer .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 28px;
  }

  .site-footer .footer__brand {
    grid-column: 1 / -1;
    max-width: 38rem;
  }

  .site-footer .footer__column--meta {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer .footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer__brand-lockup {
    gap: 14px;
  }

  .site-footer .footer__brand-mark {
    width: 58px;
    height: 58px;
  }

  .site-footer .footer__brand-wordmark {
    font-size: clamp(26px, 9vw, 40px);
  }

  .site-footer .footer__brand-text,
  .site-footer .footer__brand-subtext,
  .site-footer .footer__link,
  .site-footer .footer__contact-link {
    font-size: 15px;
  }
}
