app-header {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

.nav {
  position: static;
  /* --nav-bg-alpha is driven by JS scroll: 0 on hero, 1 once hero exits */
  background: rgba(247, 247, 247, var(--nav-bg-alpha, 1));
  border-bottom: 1px solid rgba(17, 17, 17, calc(0.12 * var(--nav-bg-alpha, 1)));
  padding: 16px 24px;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo-name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

.nav-logo-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.35;
  letter-spacing: 0.025em;
  word-spacing: 0.08em;
}
