/**
 * First-paint shell lock — linked before bundle.css on every page.
 * Stops the theme “transition: all” pull/push and rem/header FOUC on load.
 */
html {
  font-size: 125%;
  overflow-x: clip;
  max-width: 100%;
}

/* Theme applies transition:all .3s to header/nav/links/buttons/images —
   any late layout polish then animates as a site-wide pull → expand. */
.menu,
header,
header::before,
.logo,
nav,
a,
a::after,
a::before,
.button,
img,
.grid-item,
.scroll-to-top,
.btn,
button,
.menu,
.main-wrapper,
.container,
.row,
.site-header,
.site-header *,
.top-wrapper .site-header,
.top-wrapper .site-header * {
  transition: none !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: #fff;
  height: 120px;
}

.site-header__container {
  position: relative !important;
  max-width: 100% !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  height: 100%;
  box-sizing: border-box !important;
}

.site-header__row,
.top-wrapper .site-header__row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 120px;
  height: 100%;
  gap: 0;
  position: static !important;
  margin: 0 !important;
}

.site-header__row.row > *,
.top-wrapper .site-header__row.row > * {
  width: auto !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  flex-shrink: 1 !important;
}

.site-header__logo {
  z-index: 9;
  height: 120px;
  display: inline-flex;
  align-items: center;
  width: auto;
  position: relative;
}

.site-header__logo-image {
  display: block;
  height: auto;
  max-height: none;
  width: auto;
  max-width: min(220px, calc(100vw - 88px));
  aspect-ratio: 350 / 41;
  object-fit: contain;
  object-position: left center;
}

.top-wrapper .site-header__nav-wrapper,
.site-header__nav-wrapper {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 1;
}

.top-wrapper .site-header__buttons,
.site-header__buttons {
  position: absolute !important;
  top: 50% !important;
  right: 16px !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  width: auto !important;
  z-index: 2;
}

@media (max-width: 1399.98px) {
  .site-header__nav-list--level-1,
  .top-wrapper .site-header__buttons,
  .site-header__buttons {
    display: none !important;
  }

  .site-header,
  .site-header__logo,
  .site-header__row {
    height: 110px;
    min-height: 110px;
  }
}
