/* Footer */
.contact-footer {
  padding: 88px 48px 28px;
  padding-left: calc(max(0px, (100% - 1440px) / 2) + clamp(64px, 8vw, 120px));
  border-top: 1px solid #ffffff18;
  background: radial-gradient(ellipse at 15% 0%, #16284366, transparent 65%), #080b10;
  font-family: 'DM Sans', sans-serif;
  scroll-margin-top: 80px;
}

.contact-eyebrow {
  color: #93a5bf;
  font-size: 10px;
  letter-spacing: 2px;
}

.contact-footer h2 {
  margin: 20px 0 28px;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.contact-footer h2 em {
  color: #b7cdfb;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid #b7cdfb55;
  color: #e6edf7;
  font-size: clamp(15px, 2.2vw, 26px);
  text-decoration: none;
  transition: color .2s, border-color .2s;
}

.contact-email > span:first-child { overflow-wrap: anywhere; }
.contact-arrow { color: #d7edb6; transition: transform .2s; }
.contact-footer a:focus-visible { outline: 2px solid #b7cdfb; outline-offset: 6px; }

.contact-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid #ffffff12;
  color: #9caac0;
  font-size: 12px;
}

.contact-bottom a { padding: 10px 0; color: #c6d1e2; text-decoration: none; }
.contact-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-bottom a span { margin-left: 8px; }

@media (prefers-reduced-motion: reduce) {
  .contact-email, .contact-arrow { transition: none; }
}


/* Keep the homepage footer independent of each case study's layout. */
footer.contact-footer {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  color: #f0f0f0;
}
.contact-footer h2 { max-width: none; }
.contact-footer .contact-eyebrow { margin: 0; }
.contact-footer .contact-bottom p { margin: 0; }
.contact-bottom .contact-home-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border: 1px solid #a9c6fa40;
  border-radius: 10px;
  background: #142033;
  color: #e6edf7;
  font-size: 13px;
}
.contact-bottom .contact-home-button:hover {
  background: #243553;
  border-color: #a9c6fa80;
  text-decoration: none;
}
@media (max-width: 768px) {
  footer.contact-footer { padding-left: 24px; padding-right: 24px; }
}
