.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 14px #17231b06;
}

.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
  color: inherit;
}

.brand-name {
  font-family: Georgia,'Times New Roman',serif;
  font-size: 43px;
  letter-spacing: -3px;
  font-weight: 700;
}

.brand-dot {
  color: var(--accent);
}

.brand-subtitle {
  font-size: 9px;
  letter-spacing: 5px;
  margin: 7px 0 0 7px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
  font-size: 13px;
  font-weight: 600;
}

.main-nav a {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--accent-ink);
}

.main-nav .nav-active:after {
  content: '';
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 19px;
  height: 2px;
  background: var(--accent);
}

.nav-preview {
  white-space: nowrap;
  color: var(--muted);
}

.contact-button {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
  border-radius: 3px;
}

.contact-button .icon {
  width: 17px;
  height: 17px;
}

@media(max-width:1100px) {
  .header-inner {
    gap: 24px;
  }
  .main-nav {
    gap: 18px;
    font-size: 12px;
  }
  .contact-button {
    padding: 12px;
  }
  .contact-button>.icon:last-child {
    display: none;
  }
}

@media(max-width:960px) {
  .header-inner {
    height: auto;
    min-height: 88px;
    flex-wrap: wrap;
    padding-top: 17px;
    gap: 0;
  }
  .brand-name {
    font-size: 36px;
  }
  .brand-subtitle {
    font-size: 8px;
  }
  .contact-button {
    margin-left: auto;
  }
  .main-nav {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    gap: 25px;
    height: 54px;
    margin-top: 10px;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar {
    display: none;
  }
  .main-nav a {
    flex-shrink: 0;
  }
  .main-nav .nav-active:after {
    bottom: 7px;
  }
  .nav-preview {
    padding-right: 12px;
  }
}
