@font-face {
  font-family: "XinHammer Logo CN";
  src: url("fonts/xinhammer-logo-cn.woff2") format("woff2");
  font-style: normal;
  font-weight: 860;
  font-display: swap;
}
@font-face {
  font-family: "XinHammer Logo EN";
  src: url("fonts/xinhammer-logo-en.woff2") format("woff2");
  font-style: normal;
  font-weight: 720;
  font-display: swap;
}

.site-header .identity {
  grid-template-areas: "icon name" "icon english";
  grid-template-columns: auto max-content;
  align-content: center;
  justify-content: start;
  column-gap: .56rem;
  row-gap: .08rem;
  padding-block: .22rem;
}

.site-header .identity .brand-icon {
  grid-area: icon;
  width: 2.05rem;
  height: 2.05rem;
  object-fit: contain;
}

.site-header .identity .brand-name {
  grid-area: name;
  padding: 0;
  border: 0;
  font: 860 clamp(1.16rem, .98rem + .36vw, 1.34rem)/1.06 "XinHammer Logo CN", var(--sans);
  font-synthesis: none;
  letter-spacing: .018em;
  background: linear-gradient(102deg, #0f172a 16%, #1c3a94 62%, #2554e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.site-header .identity .wordmark {
  grid-area: english;
  display: inline-block;
  width: fit-content;
  font-family: "XinHammer Logo EN", var(--sans);
  font-size: .72rem;
  font-weight: 720;
  font-synthesis: none;
  letter-spacing: .032em;
  line-height: 1.1;
  background: linear-gradient(100deg, #1e293b 16%, #224dd6 60%, #3b6ef5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 52rem) {
  .site-header .identity {
    column-gap: .46rem;
    row-gap: .06rem;
  }

  .site-header .identity .brand-icon {
    width: 1.88rem;
    height: 1.88rem;
  }

  .site-header .identity .brand-name {
    font-size: clamp(1.06rem, 4.1vw, 1.24rem);
  }

  .site-header .identity .wordmark {
    font-size: .64rem;
  }
}
