/*
 * site-shell.css — footer only.
 * Header/nav/theme live in redesign.css (Design-Guide). Keep this file
 * thin so older cyan/portfolio tokens cannot override the mockup.
 */

.site-footer {
  margin-top: 0;
  padding: 3.5rem max(1rem, calc((100% - 1400px) / 2));
  color: var(--rg-fg2, #9aa7b4);
  background: var(--rg-bg, #070b10);
  border-top: 1px solid var(--rg-line, rgba(255, 255, 255, 0.1));
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.site-footer-name {
  color: var(--rg-fg, #f4f7fa);
  font-family: 'Archivo', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.site-footer-name:focus-visible,
.site-footer nav a:focus-visible,
.site-footer-social a:focus-visible {
  outline: 2px solid var(--rg-accent, #14b8a6);
  outline-offset: 3px;
}

.site-footer p {
  margin: 0.5rem 0 0;
  color: var(--rg-fg3, #69747f);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer nav a,
.site-footer-social a {
  color: var(--rg-fg2, #9aa7b4);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer-social a:hover {
  color: var(--rg-fg, #f4f7fa);
}

.site-footer-social {
  display: flex;
  gap: 0.75rem;
}

.site-footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 0.85rem;
  border: 1px solid var(--rg-line, rgba(255, 255, 255, 0.1));
  border-radius: 999px;
  font-size: 0.82rem;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rg-line, rgba(255, 255, 255, 0.1));
  color: var(--rg-fg3, #69747f);
  font-size: 0.75rem;
}

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

  .site-footer-bottom {
    flex-direction: column;
  }
}
