@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700&family=DM+Sans:wght@300;400;500&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --anthracite: #1e1e1e;
  --anthracite-deep: #161616;
  --anthracite-mid: #2a2a2a;
  --anthracite-light: #1a1a1a;
  --silver-dark: #6e6c67;
  --silver-mid: #c8c5bd;
  --silver-light: #e0ded8;
  --white: #ffffff;
  --midnight: #1A2744;
  --signal-red: #9B1B30;
  --text-primary: #e8e6e1;
  --text-secondary: #aaaaaa;
  --text-muted: #666666;
  --text-dim: #444444;
  --border: #2a2a2a;
  --border-light: #333333;
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--anthracite);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--silver-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--silver-light); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.mono { font-family: var(--font-mono); }
.label { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.label-accent { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--midnight); }
.divider { border: none; border-top: 0.5px solid var(--border); margin: 2rem 0; }
#nprogress { pointer-events: none; }
#nprogress .bar { background: #9B1B30; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 2px; }
#nprogress .peg { display: block; position: absolute; right: 0; width: 100px; height: 100%; box-shadow: 0 0 8px #9B1B30, 0 0 4px #9B1B30; opacity: 1; transform: rotate(3deg) translate(0, -4px); }
@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .container-narrow { padding: 0 1rem; }
}
