/* V19 — sampled ink bar, exact BY avatar crop, centered series identity. */

.site-header {
  min-height: 92px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 42px);
  background: #15140e;
  box-shadow: 0 14px 38px rgba(22, 19, 14, .12);
}

.site-header .brand {
  width: 48px;
  min-width: 48px;
}

.site-header .brand-mark--avatar {
  position: relative;
  display: block;
  overflow: hidden;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #0d0c0a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
}

.site-header .brand-mark--avatar img {
  position: absolute;
  top: -18px;
  left: -34px;
  display: block;
  width: 1536px;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.site-header .section-identity {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  min-width: 0;
  justify-items: center;
  align-content: center;
  gap: 3px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.site-header .section-identity span {
  color: rgba(239, 226, 211, .91);
  font-family: var(--serif-cjk);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.3;
  white-space: nowrap;
}

.site-header .section-identity strong {
  color: rgba(227, 169, 174, .62);
  font-family: var(--serif-lat);
  font-size: 10px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.2;
  white-space: nowrap;
}

.site-header .header-back {
  width: max-content;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .site-header .brand {
    width: 40px;
    min-width: 40px;
  }

  .site-header .brand-mark--avatar {
    width: 40px;
    height: 40px;
  }

  .site-header .brand-mark--avatar img {
    top: -15px;
    left: -28px;
    width: 1280px;
  }

  .site-header .section-identity {
    display: grid;
  }

  .site-header .section-identity span {
    font-size: 12px;
    letter-spacing: .12em;
  }

  .site-header .section-identity strong {
    display: none;
  }
}

@media (max-width: 390px) {
  .site-header {
    gap: 8px;
    padding-inline: 14px;
  }

  .site-header .section-identity span {
    font-size: 11px;
    letter-spacing: .08em;
  }

  .header-back {
    gap: 5px;
    padding-left: 4px;
  }

  .header-back strong {
    font-size: 8px;
    letter-spacing: .04em;
  }
}
