/* ===============================
   FOOTER BASE
================================ */
.site-footer{
  border-top:1px solid var(--border);
  background:#fafafa;
  margin-top:64px;
}

.footer-inner{
  max-width:var(--wrap);
  margin:0 auto;
  padding:32px var(--pad);
  display:flex;
  flex-direction:column;
  gap:20px;
}

/* ===============================
   BRAND / COPY
================================ */
.footer-brand{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.footer-logo{
  font-weight:700;
  font-size:0.95rem;
  color:var(--text);
}

.footer-copy{
  font-size:0.8rem;
  color:#777;
}

/* ===============================
   FOOTER NAV
================================ */
.footer-menu{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.footer-menu a{
  font-size:0.85rem;
  color:#666;
  text-decoration:none;
}

.footer-menu a:hover{
  text-decoration:underline;
}

/* ===============================
   DESKTOP
================================ */
@media (min-width:1024px){
  .footer-inner{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
  }
}

/* ===============================
   FOOTER EDITORIAL
================================ */
.site-footer.site-footer--editorial{
  background: var(--brand);
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.site-footer .footer-inner{
  max-width: var(--rail);
  margin: 0 auto;
  padding: 40px var(--rail-pad);

  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;

  box-sizing: border-box;
}

.footer-brand{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo{
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--brand-contrast);
}

.footer-description{
  max-width: 420px;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--muted);
}

.footer-nav{}

.footer-menu{
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px 24px;
}

.footer-menu a{
  font-size: .95rem;
  text-decoration: none;
  color: #e5e7eb;
}

.footer-menu a:hover{
  text-decoration: underline;
  color: #fff;
}

.footer-meta{
  border-top: 1px solid var(--border);
}

.footer-meta-inner{
  max-width: var(--rail);
  margin: 0 auto;
  padding: 16px var(--rail-pad);

  font-size: .85rem;
  color: var(--muted);
}

@media (min-width:1024px){
  .site-footer .footer-inner{
    grid-template-columns: 1.2fr 1.8fr;
    align-items: start;
  }

  .footer-menu{
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}
