/* Shared footer for every page except the homepage, whose closing section
   carries the same four groups. Column type is copied from the homepage
   .closing-col rules in styles.css. */
/* footer.site-footer outranks the pages' own generic footer rules */
footer.site-footer {
  display: block;
  background: transparent;
  padding: 3.6rem 2rem 2.4rem;
  margin: 0;
  font-family: "Martian Mono", monospace;
  font-weight: 300;
  color: #0a0a0a;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.6rem 1.2rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.site-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.site-footer-label {
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.3);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.site-footer-col a {
  font-size: 0.6rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.55);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.site-footer-col a:hover {
  color: #0a0a0a;
  border-color: #0a0a0a;
}

.site-footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.35);
}

.site-footer-mark {
  font-family: "HelveticaNeue-Bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: #0a0a0a;
}

@media (max-width: 600px) {
  footer.site-footer { padding: 2.8rem 1.4rem 2rem; }
  .site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 1rem; }
  .site-footer-base { flex-direction: column; align-items: flex-start; }
}
