/* ══════════════════════════════════════════════════════════════
   FOOTER — the map's margin.

   Every printed map carries a marginal block: the scale bar, the
   contour interval, the publisher, the year. That is exactly the
   information a site footer carries, so it is set as marginalia
   rather than as a dark slab pinned to the bottom.
   ══════════════════════════════════════════════════════════════ */
.vt-footer {
  background: var(--indigo);
  border-top: none;
  padding: var(--space-lg) var(--space-xl);
  flex-shrink: 0;
}

/* The footer is a sibling of .content-page__inner, not a child of it, so it
   spans the page on its own — the inner column is capped at a reading measure
   and centred, and no negative margin can pull a footer out to the edges of a
   container that narrow. */
.vt-footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}

.vt-footer__block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.vt-footer__block--end { align-items: flex-end; text-align: right; }

/* ── The scale bar: drawn, alternating black and white, the way
      a map's bar scale actually prints ─────────────────────── */
.vt-footer__scale {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vt-footer__scale-bar {
  width: 108px;
  height: 6px;
  border: 1px solid var(--ground);
  background:
    repeating-linear-gradient(
      90deg,
      var(--ground) 0 26px,
      transparent 26px 52px
    );
}

.vt-footer__scale-labels {
  display: flex;
  justify-content: space-between;
  width: 108px;
  font-size: 8px;
  font-weight: 700;
  font-stretch: var(--wd-data);
  letter-spacing: 0.1em;
  color: #8B94A6;
  font-variant-numeric: tabular-nums;
}

.vt-footer__name {
  font-size: 12px;
  font-weight: 700;
  font-stretch: var(--wd-data);
  letter-spacing: 0.02em;
  color: var(--ground);
}

.vt-footer__address,
.vt-footer__copy {
  font-size: 11px;
  font-stretch: var(--wd-data);
  color: #8B94A6;
}

.vt-footer__copy { font-variant-numeric: tabular-nums; }

.vt-footer__link {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  font-stretch: var(--wd-data);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ground);
  text-decoration: none;
  border-bottom: 1px solid #3C4A66;
  padding-bottom: 1px;
  transition: color 0.14s, border-color 0.14s;
}

.vt-footer__link:hover {
  color: var(--flame-edge);
  border-bottom-color: var(--flame);
}

@media (max-width: 767px) {
  .vt-footer { padding: var(--space-lg) var(--space-md); }
  .vt-footer__inner { gap: var(--space-md); }
  .vt-footer__block--end { align-items: flex-start; text-align: left; }
}
