.footer {
  margin-top: 2rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  background: var(--color-bg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}


.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-text);
  min-width: 0;
}

.footer__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.footer__name {
  display: inline-flex;
  gap: 0.25rem;
  align-items: baseline;
  white-space: nowrap;
  line-height: 1;
}

.footer__nameMain {
  font-weight: 700;
  color: var(--color-text);
}

.footer__nameBrand {
  font-weight: 800;
  color: var(--color-brand);
}


.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.footer__links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color var(--dur) var(--ease);
}

.footer__links a:hover {
  color: var(--color-text);
}


.footer__meta {
  justify-self: end;
  text-align: right;
  display: grid;
  gap: 0.25rem;
}

.footer__copy {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer__credit {
  text-decoration: none;
  color: rgba(17, 24, 39, 0.6);
  font-size: 0.88rem;
  transition: color var(--dur) var(--ease);
}

.footer__credit:hover {
  color: var(--color-text);
}

/* responsive */
@media (max-width: 900px) {
  .footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .footer__brand {
    justify-content: center;
  }

  .footer__meta {
    justify-self: center;
    text-align: center;
  }
}