.site-footer {
  position: relative;
  border: 15px solid transparent;
  border-image: url('../../img/home/interior-metal-v2.webp') 95 80 65 80 / 25px 15px 20px 15px / 0 stretch;
  padding: 35px clamp(22px,4vw,65px) 22px;
  background: #1a1f18 url('../../img/home/metal-grain.svg');
  color: var(--site-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .6fr 1fr;
  gap: 38px;
}

.footer-brand__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.brand__mono {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px double #aaad78;
  border-radius: 50%;
  color: #dcc48b;
}

.brand__name {
  color: #e4d8b7;
  font-size: 15px;
  font-weight: 650;
}

.footer-soft {
  flex-basis: 100%;
  padding-left: 44px;
  color: var(--site-label);
  font-size: 12px;
}

.footer-desc {
  max-width: 43ch;
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: #151a15;
  color: #e0d1a6;
}

.footer-col-title {
  margin-bottom: 13px;
  color: #d6c38d;
  font: 11px Consolas,monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.footer-nav,.footer-contact {
  display: grid;
  gap: 2px;
  font-size: 13px;
  line-height: 1.7;
}

.footer-nav a,.footer-contact a {
  display: flex;
  align-items: center;
  min-height: 36px;
  overflow-wrap: anywhere;
}

.footer-nav a:hover,.footer-contact a:hover {
  color: #efdbad;
}

.footer-contact span {
  margin-top: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--site-line);
}

.footer-bottom__left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 80ch;
  color: var(--site-label);
  font-size: 11px;
  line-height: 1.7;
}

.scroll-top {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 8px;
  min-height: 44px;
  color: #dfc98e;
  font-size: 12px;
}

@media(max-width:900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-grid>div:first-child {
    grid-column: 1/-1;
  }

}

@media(max-width:600px) {
  .site-footer {
    padding: 30px 20px 20px;
    border-width: 10px;
    border-image-width: 20px 10px 15px 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid>div:first-child {
    grid-column: auto;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-sep {
    display: none;
  }

}
