/* ──────────────────────────────────────────────────────────
   Manuscript — Footer / Colophon (burgundy, mirrors header)
   ────────────────────────────────────────────────────────── */

.m-footer {
  background: var(--burgundy);
  color: var(--parchment);
  padding: 56px 64px 56px;
  font-family: var(--sans);
  margin-top: 0;
}

/* Hairline rules bracketing the closing aphorism */
.m-footer__rule {
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin: 0;
  width: 100%;
}

/* Closing italic aphorism */
.m-footer__aphorism {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--parchment);
  text-align: center;
  margin: 24px auto;
  max-width: 56ch;
  letter-spacing: -0.005em;
}
.m-footer__aphorism em {
  color: var(--gold);
  font-style: italic;
}

/* Three-column row — mirror of header */
.m-footer__cols {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201,168,76,0.25);
}

/* Brand */
.m-footer__brand {
  display: flex; align-items: center; gap: 10px;
}
.m-footer__mark {
  width: 28px; height: 28px;
  object-fit: contain;
  display: block;
}
.m-footer__wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--parchment);
}

/* Nav row — single straight line */
.m-footer__nav {
  display: flex;
  gap: 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 400;
}
.m-footer__nav a {
  color: var(--parchment);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.m-footer__nav a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Apply pill — gold on burgundy */
.m-footer__apply {
  background: var(--gold);
  color: var(--burgundy-ink);
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: background 180ms ease;
}
.m-footer__apply:hover { background: var(--gold-soft); }

/* Base row */
.m-footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
}
.m-footer__copy { color: var(--gold); }
.m-footer__motto { color: var(--gold); }
.m-footer__loc-link {
  color: rgba(245,240,232,0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}
.m-footer__loc-link:hover { color: var(--gold); }
.m-footer__base-links { display: flex; gap: 28px; align-items: center; }

/* Responsive */
@media (max-width: 880px) {
  .m-footer { padding: 40px 28px 24px; }
  .m-footer__cols {
    flex-direction: column;
    gap: 22px;
    margin-top: 28px;
    align-items: center;
  }
  .m-footer__nav { flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
  .m-footer__base {
    flex-direction: column; gap: 10px; text-align: center;
  }
  .m-footer__base-links { flex-direction: column; gap: 10px; }
}
