:root {
  --bg-deep: #0d1824;
  --fg-surface: #f3f2f0;
  --accent: #c9a84c;
  --font-heading: 'Panchang', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
}

.site-footer .container {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-footer {
  background: var(--bg-deep);
  padding-block: var(--space-12);
  border-top: 0.5px solid rgba(243, 242, 240, 0.08);
  font-family: var(--font-body);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--fg-surface);
  text-decoration: none;
}

.footer-logo span {
  color: var(--accent);
}

.footer-tag {
  margin-top: var(--space-3);
  font-size: 0.78rem;
  color: rgba(243, 242, 240, 0.45);
}

.footer-by {
  margin-top: var(--space-2);
  font-size: 0.72rem;
  color: rgba(243, 242, 240, 0.3);
}

.footer-by a {
  color: rgba(243, 242, 240, 0.4);
  text-decoration: none;
}

.footer-nav {
  font-size: 0.8rem;
  line-height: 2.1;
}

.footer-nav a {
  display: block;
  text-decoration: none;
  color: rgba(243, 242, 240, 0.55);
}

.footer-nav a:hover {
  color: var(--fg-surface);
}

.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 0.5px solid rgba(243, 242, 240, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: rgba(243, 242, 240, 0.35);
}

.footer-bottom-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  flex: 1;
  min-width: min(100%, 280px);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  flex-shrink: 0;
}

.footer-bottom a {
  text-decoration: none;
  color: inherit;
}

.footer-bottom a:hover {
  color: rgba(243, 242, 240, 0.65);
}

@media (max-width: 720px) {
  .footer-inner {
    flex-direction: column;
  }
}
