.site-header {
  position: absolute;
  z-index: 25;

  top: 0;
  left: 0;
  right: 0;

  height: 72px;

  padding-inline:
    max(36px, calc((100vw - 1500px) / 2 + 36px));

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: rgba(255, 255, 255, 0.9);

  background:
    linear-gradient(
      to bottom,
      rgba(10, 10, 9, 0.28),
      rgba(10, 10, 9, 0)
    );

  pointer-events: none;
}

.site-header__brand,
.language-selector {
  pointer-events: auto;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: inherit;

  text-decoration: none;
}

.site-header__mark {
  font-size: 1rem;

  opacity: 0.82;
}

.site-header__name {
  font-size: 0.93rem;
  font-weight: 500;

  letter-spacing: 0.025em;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 9px;
}

.language-selector__option {
  position: relative;

  border: 0;
  padding: 6px 2px;

  background: transparent;

  color: rgba(255, 255, 255, 0.48);

  font-size: 0.72rem;
  font-weight: 500;

  letter-spacing: 0.09em;

  cursor: pointer;

  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.language-selector__option:hover {
  color: rgba(255, 255, 255, 0.82);
}

.language-selector__option.is-active {
  color: white;
}

.language-selector__option.is-active::after {
  content: "";

  position: absolute;

  left: 2px;
  right: 2px;
  bottom: 1px;

  height: 1px;

  background: rgba(255, 255, 255, 0.75);
}

.language-selector__divider {
  width: 1px;
  height: 12px;

  background: rgba(255, 255, 255, 0.24);
}

/*
 * The constellation uses a darker visual environment,
 * but the same quiet header remains visible.
 */
body.constellation-open .site-header {
  position: fixed;

  background:
    linear-gradient(
      to bottom,
      rgba(3, 8, 14, 0.5),
      rgba(3, 8, 14, 0)
    );
}

@media (max-width: 700px) {
  .site-header {
    height: 60px;

    padding-inline: 18px;
  }

  .site-header__name {
    font-size: 0.85rem;
  }
}