:root {
  --site-header-height: clamp(120px, 14vw, 220px);
}

body {
  padding-top: calc(var(--site-header-height) + 44px) !important;
}

.site-header-host {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
}

.site-header {
  position: relative;
  height: var(--site-header-height);
  padding: 0;
  background: #03080b;
  overflow: hidden;
}

.site-header__actions {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 5;
  pointer-events: auto;
}

.site-header__auth {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 10px 16px;
  background: rgba(4, 20, 12, 0.82);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 6;
}

.site-header__auth:hover,
.site-header__auth:focus-visible {
  background: rgba(14, 45, 28, 0.92);
}

.site-header__home {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  max-width: min(56vw, 980px);
  height: 100%;
}

.site-header__image {
  display: block;
  height: 100%;
}

.site-header__image--left {
  width: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-header__image--right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: auto;
  min-width: 42vw;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
}

@media (max-width: 820px) {
  :root {
    --site-header-height: clamp(84px, 18vw, 120px);
  }

  .site-header__home {
    max-width: 60vw;
  }

  .site-header__image--right {
    min-width: 46vw;
  }

  .site-header__actions {
    top: 8px;
    right: 10px;
  }

  .site-header__auth {
    padding: 8px 12px;
    font-size: 0.88rem;
  }
}
