@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Geist-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Geist-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Geist-600.ttf') format('truetype');
}

:root {
  --site-gutter: clamp(48px, 9vw, 144px);
  --site-header-gutter: var(--site-gutter);
  --site-header-ink: #071d2b;
}

.site-header {
  position: relative;
  z-index: 40;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-content: initial;
  width: 100%;
  max-width: none;
  min-height: 68px;
  margin: 0;
  padding: 0 var(--site-header-gutter);
  border: 0;
  background: transparent;
  color: var(--site-header-ink);
  font-family: 'Geist', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.site-header .site-name {
  justify-self: start;
  width: 42px;
  height: 24px;
  color: inherit;
  background: url('images/hz-pixel.svg?v=5') left center / contain no-repeat;
  font-size: 0;
  line-height: 0;
  text-decoration: none;
}

.site-header .site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0;
  gap: clamp(22px, 2.8vw, 42px);
}

.site-header .site-nav a {
  position: relative;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
}

.site-header .site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  content: '';
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-header .site-nav a:hover::after,
.site-header .site-nav a:focus-visible::after {
  content: '';
  font-size: inherit;
  line-height: inherit;
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 767px) {
  :root {
    --site-gutter: clamp(24px, 8vw, 44px);
    --site-header-gutter: var(--site-gutter);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 62px;
  }

  .site-header .site-nav {
    gap: 20px;
  }
}

@media (forced-colors: active) {
  .site-header .site-name {
    width: auto;
    height: auto;
    background: none;
    color: CanvasText;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.075em;
    line-height: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .site-nav a::after {
    transition: none;
  }
}
