/* Shared site footer — link categories so every surface can navigate
   the product. Include on every public HTML page. Uses the same CSS
   vars as index/council/platinum/status (cream / ink / bubblegum). */

.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 1.5rem 2rem;
  border-top: 1px solid rgba(31, 25, 22, 0.1);
  background: color-mix(in srgb, var(--cream-deep, #f8ebd3) 55%, var(--cream, #fef6e8));
  color: var(--muted, #857c6e);
}

.site-footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.site-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  margin: 0 0 2rem;
}

@media (max-width: 640px) {
  .site-footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
  }
  .site-footer-col:last-child {
    grid-column: 1 / -1;
  }
}

.site-footer-heading {
  margin: 0 0 0.75rem;
  font-family: var(--mono, ui-monospace, Menlo, monospace);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink, #1f1916);
}

.site-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer-col a {
  font-family: var(--display, system-ui, sans-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft, #3a322d);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-footer-col a:hover {
  color: var(--bubblegum, #ff6fb5);
  border-bottom-color: color-mix(in srgb, var(--bubblegum, #ff6fb5) 55%, transparent);
}

.site-footer-col a[aria-current="page"] {
  color: var(--bubblegum, #ff6fb5);
  border-bottom-color: var(--bubblegum, #ff6fb5);
}

.site-footer-brand {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(31, 25, 22, 0.08);
  font-family: var(--mono, ui-monospace, Menlo, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  text-align: center;
  color: var(--muted, #857c6e);
}

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

.site-footer-brand a:hover {
  color: var(--bubblegum, #ff6fb5);
}

.site-footer-brand .dot {
  margin: 0 0.45rem;
  color: var(--bubblegum, #ff6fb5);
}

/* Council page: footer sits under the two-column layout, full bleed. */
body.page-council .site-footer {
  margin-top: 0;
}

/* Platinum page keeps its own cream surface. */
body.page-platinum .site-footer {
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--platinum-2, #d9dee4) 35%, var(--cream, #fef6e8)) 100%
  );
}
