/* Footer uses --content-width and --gutter from :root in styles.css */

.site-footer {
  border-top: 1px solid rgba(245, 230, 163, 0.2);
  background: #050505;
  color: #f4f4f6;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 7vw, 92px);
  max-width: var(--content-width);
  margin-inline: auto;
  padding: clamp(42px, 7vw, 86px) var(--gutter);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 22px;
  min-width: 0;
}

.footer-column h2 {
  margin: 0;
  color: #f4f4f6;
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  font-weight: 300;
  line-height: 1.1;
}

.footer-column a {
  width: fit-content;
  color: rgba(244, 244, 246, 0.72);
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(0.78rem, 1.1vw, 1rem);
  line-height: 1.3;
  text-decoration: none;
}

.footer-column a:hover { color: #f5e6a3; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(26px, 4vw, 42px);
  color: rgba(244, 244, 246, 0.46);
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
}

/* ── 734px: stack footer columns ── */
@media (max-width: 734px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

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