.lab-footer {
  background: var(--navy);
  color: white;
  padding: 55px 0 20px;
  border-top: 6px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr 1fr;
  gap: 50px;
}

.footer-mark { color: white; font-size: 42px; }
.footer-mark > span { color: #f0c75e; }

.footer-grid > div:first-child p {
  font: 18px/1.5 var(--serif);
  color: #d9e1e8;
  max-width: 260px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
  font-style: normal;
}

.footer-contact a {
  color: #f3d582;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact span {
  color: #c9d4dd;
  font-size: 13px;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-grid strong {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c7d4df;
  margin-bottom: 5px;
}

.footer-grid nav a,
.footer-pilot a {
  font-size: 14px;
  text-decoration: none;
}

.footer-grid nav a:hover,
.footer-pilot a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-pilot p {
  font-size: 14px;
  color: #d2dce4;
  margin: 5px 0 14px;
}

.footer-pilot a { color: #f3d582; }

.footer-base {
  border-top: 1px solid #4e667c;
  margin-top: 40px;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #c9d4dd;
  font-size: 12px;
}


/* Match the production footer without changing the landing-page design. */
.lab-footer { --navy: #062b4f; --red: #b21f3d; --sans: Arial, Helvetica, sans-serif; --serif: Georgia, "Times New Roman", serif; }
.wordmark small { font-size: 10px; font-style: italic; letter-spacing: 1.3px; }
.lab-footer .wordmark small { font: italic 700 10px/1.5 var(--sans); }
.footer-base a { color: #f3d582; font-weight: 700; text-decoration: none; }
.footer-base a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1050px) { .footer-grid { gap: 30px; } }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-base { flex-direction: column; gap: 6px; } .lab-footer { padding-top: 42px; } .wordmark small { font-size: 9px; letter-spacing: 1px; } }
