/* === Navigation === */
#siteNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
}

#siteNav.visible {
  transform: translateY(0);
  opacity: 1;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  margin-inline: max(var(--sp-sm), calc((100% - 1100px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-xs) var(--sp-md);
  margin-top: var(--sp-xs);
  background: rgba(244, 245, 247, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.nav-logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  padding: 0 var(--sp-sm);
}

.nav-logo:hover { color: var(--accent); }

.nav-links {
  display: flex;
  gap: var(--sp-xs);
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
}

/* === Sections === */
.section {
  padding: var(--sp-2xl) var(--sp-md);
}

.section--alt {
  background: var(--bg-white);
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.container--wide {
  max-width: 1500px;
}

/* === Section Headers === */
.section-label {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.section-label h1,
.section-label h2 {
  display: inline-block;
  position: relative;
}

.section-label h1::after,
.section-label h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: var(--sp-xs) auto 0;
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
