footer.site-footer {
  grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr);
  grid-template-areas: "identity secondary" "contact legal" "note note";
  column-gap: clamp(64px, 9vw, 150px);
  row-gap: 30px;
  align-items: start;
  padding: 56px clamp(28px, 6vw, 96px) 48px;
  background: #161818;
  color: rgb(240 236 230 / .62);
  font-size: 12px;
  line-height: 1.65;
}

footer.site-footer p { min-width: 0; }

footer.site-footer a {
  text-decoration: none;
  transition: color .18s ease, text-decoration-color .18s ease;
}

footer.site-footer a:hover {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: var(--gold-light);
  text-underline-offset: 4px;
}

footer.site-footer .footer-identity {
  grid-area: identity;
  color: var(--off-white);
  font: 400 clamp(24px, 2vw, 31px)/1.05 "Cormorant Garamond", serif;
  letter-spacing: -.02em;
}

footer.site-footer .footer-nav,
footer.site-footer .footer-source {
  grid-area: secondary;
  color: rgb(240 236 230 / .72);
}

footer.site-footer .footer-contact {
  grid-area: contact;
  max-width: 460px;
  color: rgb(240 236 230 / .72);
}

footer.site-footer .footer-contact a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 7px;
  color: var(--off-white);
  overflow-wrap: anywhere;
}

footer.site-footer .footer-legal {
  grid-area: legal;
  padding-top: 18px;
  border-top: 1px solid rgb(240 236 230 / .14);
}

footer.site-footer .footer-note {
  grid-area: note;
  max-width: none;
  padding-top: 20px;
  border-top: 1px solid rgb(240 236 230 / .1);
  color: rgb(240 236 230 / .45);
  text-align: left;
}

.form-handoff {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgb(240 236 230 / .52);
  font-size: 12px;
  line-height: 1.6;
}

/* Tablet safeguards for fixed desktop grids in the recovered baseline build. */
@media (max-width: 1100px) {
  .legal-benefits {
    grid-template-columns: 1fr !important;
    gap: 44px;
  }

  .legal-benefit-list article {
    grid-template-columns: 70px minmax(160px, 220px) minmax(0, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .contact-shell {
    grid-template-columns: 1fr !important;
    gap: 44px;
  }

  .contact-form-panel {
    width: auto !important;
    max-width: 100%;
    min-width: 0;
  }

  .text-process {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .text-process li {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .legal-benefit-list article {
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }

  .legal-benefit-list article > p {
    grid-column: 2;
  }

  .text-process {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  footer.site-footer {
    grid-template-columns: 1fr;
    grid-template-areas: "identity" "contact" "secondary" "legal" "note";
    gap: 24px;
    padding: 42px 24px 36px;
  }

  footer.site-footer .footer-identity { font-size: 27px; }

  footer.site-footer .footer-nav,
  footer.site-footer .footer-source,
  footer.site-footer .footer-legal {
    padding-top: 20px;
    border-top: 1px solid rgb(240 236 230 / .14);
  }

  footer.site-footer .footer-contact { max-width: 100%; }
}
