@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&display=swap");

.site-header,
.site-header * {
  box-sizing: border-box;
  border: 0 solid;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid #27272a;
  background: rgb(5 5 5 / 80%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font: 400 16px / 24px Manrope, sans-serif;
  color: #e5e5e5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header__brand,
.site-header__links {
  display: flex;
  align-items: center;
}

.site-header__links {
  gap: 32px;
}

.site-header a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.site-header__brand img {
  display: block;
  height: 20px;
  width: auto;
}

.site-header__writing {
  position: relative;
  overflow: hidden;
  padding: 8px 24px;
  border: 1px solid #27272a;
  transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: #9890ff;
  opacity: 0.1;
  transition: width 250ms cubic-bezier(0, 0, 0.2, 1);
}

.site-header__label {
  position: relative;
  font: 400 12px / 16px "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: oklch(0.708 0 0);
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__writing:hover {
  border-color: #9890ff;
}

.site-header__writing:hover .site-header__fill {
  width: 100%;
}

.site-header__writing:hover .site-header__label {
  color: #fff;
}

.site-header a:focus-visible {
  outline: 3px solid #b3aaff;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header__writing,
  .site-header__fill,
  .site-header__label {
    transition: none;
  }
}
