/* ============================================================
   FOOTER — Site footer with couple branding
   ============================================================ */

.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-12);
  padding-bottom: var(--space-8);
}

/* Two-column: 60% timeline | 40% social */
.footer__top {
  display: grid;
  grid-template-columns: 3fr 2fr;
  column-gap: var(--space-8);
  align-items: center;
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border);
}

/* --- Road SVG timeline (left column) --- */
.footer__timeline {
  overflow: hidden;
}

.footer__road-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.footer__road-outer {
  fill: none;
  stroke: var(--color-border-light);
  stroke-width: 22;
  stroke-linecap: round;
}

.footer__road-body {
  fill: none;
  stroke: var(--color-bg-alt);
  stroke-width: 13;
  stroke-linecap: round;
}

.footer__road-dash {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 10 18;
  opacity: 0.35;
}

.footer__ms-dot {
  fill: var(--color-gold);
  stroke: var(--color-bg-alt);
  stroke-width: 2.5;
}

.footer__ms-icon {
  fill: none;
  stroke: var(--color-gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  color: var(--color-gold);
}

.footer__ms-date {
  font-family: var(--font-sans);
  fill: var(--color-gold);
  letter-spacing: 0.08em;
}

.footer__ms-label {
  font-family: var(--font-serif);
  font-style: italic;
  fill: var(--color-text-muted);
}

/* --- Right: Social links (right column) --- */
.footer__social {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-3);
  align-self: center;
  padding-left: var(--space-8);
  border-left: 1px solid var(--color-border);
}

.footer__social-heading {
  grid-column: 1 / -1;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__social-link:hover {
  color: var(--color-gold);
}

.footer__social-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* --- Bottom bar --- */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  gap: var(--space-4);
}

.footer__copy {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__credit {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__credit-link {
  color: var(--color-text-faint);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__credit-link:hover {
  color: var(--color-gold);
}

/* --- Gold divider above footer --- */
.footer-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold) 30%, var(--color-gold) 70%, transparent);
  opacity: 0.4;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr;
    row-gap: var(--space-8);
  }

  .footer__timeline {
    overflow-x: auto;
  }

  .footer__road-svg {
    min-width: 560px;
  }

  .footer__social {
    justify-items: center;
    padding-left: 0;
    border-left: none;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
