/* Shared navbar for every public page. Keep page-specific styles out of here. */
.site-nav {
  display: block;
  position: relative;
  z-index: 10;
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  color: #1f1c17;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
}

.site-nav-inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.site-nav .site-nav-logo {
  display: inline-flex;
  flex: 0 0 64px;
  align-self: flex-start;
  align-items: center;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.site-nav-logo img {
  display: block;
  width: 64px;
  height: 64px;
}

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 24px;
  min-width: 0;
  padding: 8px 0;
}

.site-nav .site-nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 0;
  color: #6b6560;
  font: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav .site-nav-links a:hover {
  color: #1f1c17;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.site-nav .site-nav-logo:hover {
  opacity: .85;
  text-decoration: none;
}

.site-nav a:focus-visible {
  outline: 2px solid #397b99;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .site-nav-inner { gap: 16px; }
  .site-nav-links { gap: 0 16px; }
}

/* Let the hero background continue behind the transparent navbar. */
.hero-shell {
  background-color: var(--bg-alt, #f0ede7);
}

.hero-shell-pattern {
  background-image:
    radial-gradient(circle at 25% 25%, rgba(0, 0, 0, .05) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(0, 0, 0, .05) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px;
  background-position: 0 0, 10px 10px;
}
