/* Sitewide navigation alignment: home logo at left, page links alongside it, contact at right. */
html {
  scroll-padding-top: 110px;
}

body {
  padding-top: 110px;
}

body > header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
}

header .nav {
  position: relative;
}

header .nav > .brand-lockup {
  position: static;
  left: auto;
  top: auto;
  z-index: 3;
  transform: none;
}

header .header-contact {
  left: auto;
  right: 0;
}

@media (min-width: 821px) {
  header .nav {
    justify-content: flex-start;
  }

  header .nav > .brand,
  header .nav > .brand-lockup {
    position: static;
    flex: 0 0 auto;
    transform: none;
  }

  header .nav > .links {
    margin-left: 44px;
    margin-right: 180px;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 88px;
  }

  body {
    padding-top: 88px;
  }

  header .header-contact {
    left: auto;
    right: 52px;
    max-width: 82px;
  }

  header .header-contact a {
    white-space: normal;
  }
}
