/* demand AI studio — nav component
 * Single source of truth for subdomain tool nav bars.
 * Hosted at: https://demandai.studio/nav.css
 *
 * HOW TO USE IN A TOOL PAGE:
 *   <link rel="stylesheet" href="https://demandai.studio/nav.css">
 *   <nav class="nav-bar">
 *     <a href="https://demandai.studio" class="nav-logo">Demand AI<em>.</em>Studio</a>
 *     <a href="https://demandai.studio" class="nav-back">← Back to site</a>
 *   </nav>
 *
 * Requires these CSS variables to be defined in the tool's own stylesheet:
 *   --border, --cream, --aurora, --muted
 *
 * Do NOT copy these rules into tool repos. Link here instead.
 * To change the nav, edit this file only.
 */

.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  background: rgba(6,6,15,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-variation-settings: 'opsz' 36;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-decoration: none;
}

.nav-logo em {
  font-style: italic;
  font-weight: 500;
  font-variation-settings: 'opsz' 36;
  background: var(--aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-back {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--cream); }

@media (max-width: 640px) {
  .nav-bar { padding: 0 24px; }
}
