:root {
  --footer-shell: #0c2340;
  --footer-line: rgba(255, 255, 255, 0.1);
  --footer-copy: rgba(255, 255, 255, 0.72);
  --footer-muted: rgba(255, 255, 255, 0.62);
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0;
  background: var(--footer-shell);
  color: #ffffff;
}

.site-footer-inner {
  width: min(1160px, calc(100vw - 2rem));
  margin: 0 auto;
}

.site-footer .brand-lockup {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  margin-bottom: 1rem;
}

.site-footer .brand-lockup img {
  width: clamp(10.25rem, 16vw, 12.5rem);
  height: auto;
}

.site-footer .brand-lockup div {
  display: none;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.site-footer h3 {
  margin: 0 0 0.7rem;
  color: #ffffff;
  font-family: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.05;
}

.site-footer p,
.site-footer li,
.footer-links a {
  color: var(--footer-copy);
  line-height: 1.65;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
}

.site-footer-nav a {
  color: var(--footer-copy);
  font-weight: 600;
  line-height: 1.65;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: rgba(255, 255, 255, 0.92);
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-muted);
  font-size: 0.9rem;
}

.site-footer-legal {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer-legal a {
  color: inherit;
}

.footer-divider {
  opacity: 0.55;
}

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

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

@media (max-width: 767px) {
  .site-footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }
}
