/* Footer and its brand lockup. */

.brand-mark {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-name {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer {
  padding: 30px 0 40px;
  background: var(--black);
  color: var(--warm);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(251, 247, 238, 0.16);
  padding-top: 24px;
}

.footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer p {
  margin: 0;
  color: rgba(251, 247, 238, 0.68);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 16px;
  color: rgba(251, 247, 238, 0.78);
  font-weight: 800;
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer nav {
    justify-content: start;
  }
}
