@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0a1226;
  --surface: #0f172a;
  --surface-light: #1a2a4a;
  --surface-cream: #f5f0e8;
  --ink: #f1ece1;
  --ink-soft: #9fb0c8;
  --ink-faint: #5a6d87;
  --rule: #1a2a4a;
  --rule-cream: #d9d2c3;
  --gold: #c9a227;
  --gold-bright: #e8b923;
  --gold-deep: #b8860b;
}

html { background: var(--bg); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-glow {
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(26, 46, 82, 0.95) 0%, transparent 70%),
    radial-gradient(circle at 50% 85%, rgba(201, 162, 39, 0.04), transparent 50%);
}

.section-glow-cream {
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 162, 39, 0.05), transparent 50%);
}

.closing-glow {
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 162, 39, 0.1), transparent 65%);
}

@keyframes compass-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.compass-spin {
  animation: compass-spin 360s linear infinite;
  transform-origin: 50% 50%;
}

/* Translucent sticky header */
.nav-header {
  background-color: rgba(10, 18, 38, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Source Serif 4 italic for hero subline */
.display-italic {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}
