:root {
  --header-height: 68px;
  --page-top-gap: 36px;
  --page-offset: calc(var(--header-height) + var(--page-top-gap));
}

html,
body {
  margin: 0;
  padding: 0;
}

#inner-page-wrapper {
  padding-top: var(--page-offset) !important;
}

/* Eyebrows inherit a theme p margin that collapses into the page offset. */
:is(.about-hero__copy, .contact-hero__copy, .asset-wrap, .loan-wrap, .vh-intro, #inner-page-wrapper .hfeed) > p:first-child {
  margin-top: 0 !important;
}

header.header,
.site-header,
.navbar {
  top: 0 !important;
  margin-top: 0 !important;
}

.header {
  padding: 0;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header.is-raised {
  box-shadow: 0 10px 28px rgba(var(--color-brand-primary-rgb), 0.22);
}

.header .header__inner {
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header .header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  line-height: 0;
}

.header .header__logo a {
  display: block;
  line-height: 0;
}

.header .header__logo img,
.burger-menu__logo img,
.footer__logo .site-logo img {
  display: block;
  width: auto;
  object-fit: contain;
}

.header .header__logo img {
  height: 48px;
  max-height: 48px;
}

.header .header__nav {
  align-self: center;
}

.header .header__contacts .contact-group--smi {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header .header__contacts .contact-group--smi > span,
.header .header__contacts .contact-group--smi > a,
.header .header__contacts .contact-group--smi > div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0 !important;
  line-height: 0;
}

.header .header__contacts .contact-group--smi a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #d6d3d1 !important;
  line-height: 0;
  transition: color 0.25s ease;
}

.header .header__contacts .contact-group--smi a:hover,
.header .header__contacts .contact-group--smi a:focus-visible {
  color: #ffffff !important;
}

.header .header__contacts .contact-group--smi a i,
.header .header__contacts .contact-group--smi a svg {
  display: block;
  width: 14px;
  height: 14px;
  overflow: visible;
  font-size: 14px;
  line-height: 1;
  flex: 0 0 14px;
}

.header .header__contacts .contact-group--smi a i::before {
  display: block;
  line-height: 14px;
}

.header .header__nav #nav > li > a {
  padding-top: 12px;
  padding-bottom: 12px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 1.3px;
}

.burger-menu__navigation .burger-menu__nav > li > a {
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 1.3px;
}

.burger-menu__logo img {
  height: 72px;
  max-height: 72px;
}

.footer__logo .site-logo img {
  height: 100px;
  max-height: 100px;
}

a.section-btn.section-btn--plain:before,
.section-btn.section-btn--plain:before {
  content: none;
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .header {
    transition: none;
  }
}
