@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,600;9..144,700&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy:       #0e1c36;
  --navy-mid:   #162847;
  --navy-soft:  #1e3a5f;
  --gold:       #c8953a;
  --gold-light: #e8b96a;
  --gold-dim:   rgba(200,149,58,0.15);
  --cream:      #faf7f2;
  --cream-dark: #f0ebe1;
  --white:      #ffffff;
  --ink:        #1a1a2e;
  --muted:      #6b7280;
  --border:     #d8d0c0;
  --shadow:     0 4px 24px rgba(14,28,54,0.12);
  --nav-h:      62px;
  --radius:     10px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Lato', sans-serif;
}

/* ── Reset for nav ───────────────────────── */
#snav * { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Top Nav Bar ─────────────────────────── */
#snav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--navy);
  border-bottom: 2px solid rgba(200,149,58,0.3);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 6px;
  z-index: 99999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
  font-family: var(--font-body);
}

#snav .sn-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: 20px;
  flex-shrink: 0;
}

#snav .sn-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
}

#snav .sn-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  line-height: 1;
}

#snav .sn-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  margin-top: 2px;
}

#snav .sn-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  margin: 0 10px;
  flex-shrink: 0;
}

#snav .sn-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
#snav .sn-links::-webkit-scrollbar { display: none; }

#snav .sn-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  border: 1px solid transparent;
}

#snav .sn-link:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

#snav .sn-link.active {
  background: var(--gold-dim);
  color: var(--gold-light);
  border-color: rgba(200,149,58,0.25);
  font-weight: 700;
}

#snav .sn-link .sn-emoji {
  font-size: 14px;
}

/* ── Body offset so content clears nav ───── */
body.with-snav {
  padding-top: var(--nav-h) !important;
}
