/* Site-only midnight footer. */
.ecm-footer {
  background: radial-gradient(ellipse at 0 100%, #114d69 0%, transparent 47%),
    linear-gradient(150deg, #0b192f, #061128 76%);
  color: #e1edf9;
  font-family: Arial, Helvetica, sans-serif;
  border-top: 1px solid #659ec0;
}
.ecm-footer-inner {
  box-sizing: content-box;
  max-width: 1440px;
  margin-inline: auto;
  padding: clamp(40px, 5.4vw, 78px) clamp(24px, 4.6vw, 80px) clamp(32px, 6vw, 85px);
}
.ecm-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, .85fr) minmax(0, .92fr);
  gap: clamp(20px, 3vw, 44px);
}
.ecm-footer :is(p, h2, ul) { margin: 0; }
.ecm-footer ul { list-style: none; padding: 0; }
.ecm-footer-wordmark {
  color: #f5f8fd;
  font-size: clamp(27px, 2.85vw, 42px);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.12;
}
.ecm-footer .ecm-footer-lockup {
  margin-top: 12px;
  color: #a3e7f3;
  font-size: clamp(10px, 1.1vw, 16px);
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.6;
  text-transform: uppercase;
}
.ecm-footer .ecm-footer-tagline {
  margin-top: clamp(24px, 4vw, 58px);
  color: #f5f8fd;
  font-size: clamp(19px, 1.95vw, 28px);
  line-height: 1.4;
}
.ecm-footer .ecm-footer-group h2 {
  margin-bottom: clamp(15px, 2vw, 28px);
  color: #f5f8fd;
  font-family: inherit;
  font-size: clamp(17px, 1.85vw, 27px);
  font-weight: 700;
  line-height: 1.2;
}
.ecm-footer-group ul { display: grid; gap: clamp(12px, 1.7vw, 24px); }
.ecm-footer-group li, .ecm-footer-bottom { font-size: clamp(14px, 1.28vw, 20px); line-height: 1.45; }
.ecm-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 26px;
  margin-top: clamp(38px, 6.9vw, 98px);
  padding-top: clamp(20px, 2.25vw, 32px);
  border-top: 1px solid #659ec0;
}
.ecm-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 12px clamp(20px, 3vw, 44px); }
.ecm-footer a {
  color: #d5e5f5;
  font-family: system-ui, sans-serif;
  font-weight: 350;
  text-decoration: none;
}
.ecm-footer a:is(:hover, :focus-visible) {
  color: #f5f8fd;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.ecm-footer a:focus-visible { outline: 2px solid #a3e7f3; outline-offset: 4px; }

@media (max-width: 1120px) {
  .ecm-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ecm-footer-identity { grid-column: 1 / -1; }
  .ecm-footer .ecm-footer-tagline { margin-top: 20px; }
}
@media (max-width: 620px) {
  .ecm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .ecm-footer-identity { text-align: center; }
  .ecm-footer .ecm-footer-lockup { letter-spacing: .12em; }
  .ecm-footer-lockup br { display: none; }
  .ecm-footer-bottom { flex-direction: column; }
}

@media (max-width: 1100px) {
  .ecm-footer-group ul { gap: 0; }
  .ecm-footer-group a, .ecm-footer-bottom a {
    display: flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    padding-block: 5px;
  }
  .ecm-footer-bottom ul { row-gap: 0; }
}
