/* NORTIA site footer. Mobile first; breakpoints 768 / 992. Tokens: nortia-shell.css */

.nt-site-footer {
  margin-top: 0;
  background: var(--nt-navy);
  color: #b4c2d4;
  font-family: var(--nt-font);
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.nt-site-footer *,
.nt-site-footer *::before,
.nt-site-footer *::after {
  box-sizing: border-box;
}

:where(.nt-site-footer) a {
  color: inherit;
  text-decoration: none;
}

:where(.nt-site-footer) ul,
:where(.nt-site-footer) p {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nt-footer__main {
  display: grid;
  gap: 36px;
  padding-block: 44px 36px;
}

.nt-footer__logo img {
  display: block;
  width: auto;
  height: 36px;
  /* the shop logo is dark on a white background: inverted, its background turns black,
     and the screen blend drops black, so only the white lettering remains on navy */
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
}

.nt-footer__about {
  max-width: 34ch;
  margin-top: 14px;
}

.nt-footer__contact {
  display: grid;
  justify-items: start;
  gap: 4px;
  margin-top: 18px;
}

.nt-footer__contact a {
  transition: color .15s;
}

.nt-footer__contact a:hover {
  color: #fff;
}

.nt-footer__phone {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.nt-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
}

.nt-footer__title {
  margin-bottom: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nt-footer__cols ul {
  display: grid;
  gap: 8px;
}

.nt-footer__cols a {
  transition: color .15s;
}

.nt-footer__cols a:hover {
  color: #fff;
}

.nt-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
}

.nt-footer__bottom-inner {
  display: grid;
  gap: 10px;
  padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px));
}

.nt-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.nt-footer__bottom a:hover {
  color: #fff;
}

.nt-site-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .nt-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nt-footer__bottom-inner {
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .nt-footer__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 64px;
    padding-block: 56px 48px;
  }
}
