/**
 * Footer / contact — dark surface via token rebinding so children inherit.
 */
.site-footer {
  --ink: #f7f4fb;
  --muted: rgba(247, 244, 251, 0.78);
  --brand: #ffd000;
  --amber-2: #ffd000;
  --line: rgba(247, 244, 251, 0.14);
  --bg-2: #34204c;
  --bg-3: #3a2654;
  background: #2a1840;
  border-top: 0;
  padding: 3rem 0 2.25rem;
  color: var(--muted);
  scroll-margin-top: 5.5rem;
}

.site-footer .eyebrow {
  color: var(--amber);
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-footer h2,
.site-footer h3 {
  color: var(--ink);
}

.site-footer a {
  color: var(--amber);
}

.site-footer .copyright {
  color: rgba(247, 244, 251, 0.55);
}

.contact-footer {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 0;
  grid-template-columns: 1fr;
  grid-template-areas:
    "address"
    "aside"
    "info"
    "copy";
}

.contact-footer__address p {
  margin: 0;
}

.contact-footer__address {
  grid-area: address;
}

.contact-footer__info {
  grid-area: info;
}

.contact-footer__aside {
  grid-area: aside;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.contact-footer > .copyright {
  grid-area: copy;
  margin: 0;
}

.contact-footer h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.4rem;
}

.contact-footer__address > .eyebrow + h3 {
  margin-top: 0;
}

.contact-footer__info > h3:first-child {
  margin-top: 0;
}

.map-frame {
  display: flex;
  flex-direction: column;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e8e4ee;
}

.map-frame p {
  margin: 0.65rem 0 0;
}

.copyright {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.copyright a {
  color: inherit;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

@media (min-width: 700px) {
  .contact-footer {
    grid-template-columns: 1.1fr 1fr;
    grid-template-areas:
      "address aside"
      "info aside"
      "copy aside";
    align-items: stretch;
    column-gap: 1.75rem;
    row-gap: 0.75rem;
  }

  .contact-footer .map-frame {
    height: 100%;
  }

  .contact-footer .map-frame iframe {
    flex: 1 1 auto;
    height: 100%;
    min-height: 360px;
  }
}
