.brand {
  position: relative;
  z-index: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 40px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 6px;
  color: #f7f3ea;
  font-weight: 850;
  line-height: 1;
  transform: scale(1.85);
  transform-origin: left center;
}

.brand-word {
  font-size: 17px;
  transform: translateY(7px);
}

.brand-mark {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 0 22px rgba(93, 168, 255, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-year {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  padding-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: center;
  transform: translate(6px, 9px);
}

.site-footer {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 34px 0 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.site-footer h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
}

.footer-contacts {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.footer-contacts a {
  min-width: 210px;
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 18px;
  color: var(--muted);
}

.footer-contacts span,
.footer-contacts strong {
  display: block;
}

.footer-contacts span {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
}

.footer-contacts strong {
  color: var(--text);
  font-size: 19px;
  letter-spacing: 0;
}

.footer-contacts .contact-primary {
  border-left-color: var(--amber);
}

.contact-primary span {
  color: var(--amber);
}
