/* Site-wide chrome: utility bar, navigation and footer. */
.utility-bar {
  color: #dfe8fc;
  background: var(--blue-deep);
  font-size: .83rem;
}
.utility-bar__content {
  display: flex;
  min-height: 35px;
  align-items: center;
  gap: .75rem;
}
.utility-bar a {
  color: inherit;
  text-decoration: none;
}
.utility-bar__link {
  margin-left: auto;
  color: var(--gold-light) !important;
  font-weight: 700;
}
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,.96);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 20px rgba(23,32,51,.06);
}
.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  min-width: 190px;
  align-items: center;
  gap: .65rem;
  color: var(--blue-deep);
  text-decoration: none;
}
.brand img {
  width: 65px;
  max-height: 55px;
  object-fit: contain;
  object-position: left center;
}
.brand__name {
  max-width: 100px;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.main-nav a {
  position: relative;
  color: #3f4a5b;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -.6rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.menu-button {
  display: none;
  width: 43px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--line);
  background: var(--white);
}
.menu-button span:not(.visually-hidden) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--blue-deep);
  transition: transform .2s ease, opacity .2s ease;
}
.footer {
  padding: 4.5rem 0 1.4rem;
  color: #dce5f8;
  background: var(--blue-deep);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
}
.footer__brand {
  display: inline-block;
  margin-bottom: .8rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
}
.footer p {
  max-width: 340px;
  margin: 0;
  font-size: .92rem;
}
.footer h3 {
  margin-bottom: 1rem;
  color: var(--gold-light);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer a:not(.footer__brand) {
  display: block;
  width: fit-content;
  margin: .45rem 0;
  color: inherit;
  font-size: .9rem;
  text-decoration: none;
}
.footer a:hover {
  color: var(--gold-light);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: .76rem;
}
@media (max-width: 850px) {
  .main-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0 24px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    max-height: 0;
    transition: max-height .3s ease, padding .3s ease;
  }
  .main-nav.is-open {
    max-height: 340px;
    padding-block: .5rem 1rem;
  }
  .main-nav a {
    padding: .7rem 0;
  }
  .main-nav a::after {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .portal-button {
    display: none;
  }
  .footer__grid {
    gap: 2.5rem;
  }
}
@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, 1180px);
  }
  .utility-bar__content > span, .utility-bar__content > a:not(.utility-bar__link):nth-of-type(2) {
    display: none;
  }
  .utility-bar__link {
    margin-left: 0;
  }
  .brand__name {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    display: grid;
  }
}
