.nightfall-footer {
  --nightfall-muted: #b5c4df;
  --nightfall-ease: cubic-bezier(.25,.1,.25,1);
  padding: clamp(24px, 3vw, 44px) 0 12px;
  border-top: 1px solid #b9bfcc;
  background: #081128;
  color: #fff;
  font-family: var(--font-brand);
}

.nightfall-footer__inner {
  width: calc(100% - 2 * clamp(20px, 5vw, 80px));
  margin-inline: auto;
}

.nightfall-footer__main {
  display: grid;
  grid-template-columns: minmax(172px, 1fr) minmax(0, 376px) minmax(174px, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 36px);
}

.nightfall-footer a {
  color: inherit;
  text-decoration: none;
}

.nightfall-footer a:focus-visible {
  outline: 2px solid #bed7ff;
  outline-offset: 4px;
  border-radius: 2px;
}

.nightfall-footer__wordmark {
  display: inline-flex;
  align-items: center;
  gap: .18em;
  font-size: 43px;
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: 1;
}

.nightfall-footer__wordmark img {
  width: .66em;
  height: auto;
  flex: none;
}

.nightfall-footer__identity p {
  margin: 10px 0 0;
  color: var(--nightfall-muted);
  font-size: 14px;
  line-height: 1.5;
}

.nightfall-footer__services,
.nightfall-footer__aside { padding-top: 6px; }


.nightfall-footer__label {
  margin: 0 0 3px;
  color: var(--nightfall-muted);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: .055em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nightfall-footer__services ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  max-width: 376px;
  column-gap: 18px;
}

.nightfall-footer__aside {
  display: grid;
  width: min(100%, 206px);
  justify-self: end;
  gap: 13px;
}

.nightfall-footer__quick {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
}

.nightfall-footer__quick .nightfall-footer__label { flex-basis: 100%; }

.nightfall-footer__contact address {
  margin: 0;
  color: var(--nightfall-muted);
  font-style: normal;
}

.nightfall-footer__contact address a { padding-block: 3px; }

.nightfall-footer .nightfall-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: color 260ms ease;
}

.nightfall-footer__link > span {
  position: relative;
  transition: transform 440ms var(--nightfall-ease);
}

.nightfall-footer__link > span::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: #fff;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 550ms var(--nightfall-ease);
}

.nightfall-footer__link:focus-visible > span::after {
  transform: scaleX(1);
}

.nightfall-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 20px;
  margin-top: clamp(20px, 3vw, 36px);
  padding-top: 12px;
  border-top: 1px solid rgb(207 225 255 / .2);
  color: var(--nightfall-muted);
}

.nightfall-footer__base nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}

.nightfall-footer__base .nightfall-footer__link { font-size: 13px; }
.nightfall-footer__top { gap: 7px; }
.nightfall-footer__top svg { flex: none; transition: transform 440ms var(--nightfall-ease); }

@media (hover: hover) {
  .nightfall-footer__link:hover { color: #fff; }
  .nightfall-footer__link:hover > span { transform: translateY(-2px); }
  .nightfall-footer__link:hover > span::after { transform: scaleX(1); }
  .nightfall-footer__top:hover svg { transform: translateY(-4px); }
}

@media (pointer: coarse), (max-width: 900px) {
  .nightfall-footer .nightfall-footer__link { min-height: 44px; }
}

@media (max-width: 900px) {
  .nightfall-footer__main {
    grid-template-columns: minmax(0, 1fr) minmax(168px, .5fr);
    gap: 18px 24px;
  }
  .nightfall-footer__identity {
    grid-column: 1 / -1;
    padding-bottom: 15px;
    border-bottom: 1px solid rgb(207 225 255 / .16);
  }
  .nightfall-footer__services,
  .nightfall-footer__aside { padding-top: 0; }
}

@media (max-width: 640px) {
  .nightfall-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .nightfall-footer__wordmark { font-size: 40px; }
  .nightfall-footer__identity p { margin-top: 7px; }
  .nightfall-footer__services ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    column-gap: 14px;
  }
  .nightfall-footer__aside {
    width: 100%;
    grid-template-columns: minmax(82px, 1fr) minmax(0, 1.65fr);
    align-items: start;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgb(207 225 255 / .16);
  }
  .nightfall-footer__quick { column-gap: 10px; }
}

@media (max-width: 360px) {
  .nightfall-footer__base,
  .nightfall-footer__base nav { column-gap: 9px; }
  .nightfall-footer__base .nightfall-footer__link { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .nightfall-footer .nightfall-footer__link,
  .nightfall-footer__link > span,
  .nightfall-footer__link > span::after,
  .nightfall-footer__top svg { transition: none; }
  .nightfall-footer__link:hover > span,
  .nightfall-footer__top:hover svg { transform: none; }
}

[data-motion="off"] .nightfall-footer .nightfall-footer__link,
[data-motion="off"] .nightfall-footer__link > span,
[data-motion="off"] .nightfall-footer__link > span::after,
[data-motion="off"] .nightfall-footer__top svg { transition: none; }
[data-motion="off"] .nightfall-footer__link:hover > span,
[data-motion="off"] .nightfall-footer__top:hover svg { transform: none; }
