/* =========================================================
   Component — Site footer

   The brand column is wider than the link columns and holds the
   only prose in the footer; the rest is a directory. Sitting on the
   deepest surface, it closes the page the way the announcement bar
   opened it.
   ========================================================= */
.site-footer {
  margin-top: var(--space-24);
  padding-block: var(--space-16) var(--space-8);
  background: var(--color-canvas-deep);
  border-top: 1px solid var(--color-line);
}

.site-footer__top {
  display: grid;
  gap: var(--space-10) var(--space-8);
  grid-template-columns: 1fr;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  max-width: 34ch;
}

.site-footer__line {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
}

.site-footer__agency {
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-line-gold);
  font-size: var(--fs-xs);
  color: var(--color-gold-text);
}

.site-footer__col-title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-body-ar);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-text);
}
:root[data-lang="en"] .site-footer__col-title {
  font-family: var(--font-latin);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.site-footer__links a {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
}
.site-footer__links a:hover { color: var(--color-text); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.site-footer__copyright {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

@media (min-width: 640px) {
  .site-footer__top { grid-template-columns: repeat(2, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: var(--space-8);
  }
  .site-footer__brand { grid-column: auto; }
}

/* A footer link at 21px is a link a thumb misses. The rows keep
   their visual rhythm — the gap shrinks by what the padding
   adds — so nothing below the fold grows to buy this. */
@media (pointer: coarse) {
  .site-footer__links { gap: 0; }
  .site-footer__links a {
    display: flex;
    align-items: center;
    min-block-size: 44px;
  }
}
