:root {
  /* Warm Paper Palette (light) */
  --bg-primary: #faf8f3;
  --bg-secondary: #f0ede5;
  --bg-card: rgba(255, 253, 248, 0.92);
  --bg-card-hover: rgba(255, 255, 250, 0.98);

  /* Accents — retuned for light background contrast */
  --accent-primary: #a6844e;
  --accent-blue:    #4d7ba6;
  --accent-green:   #5f8a4f;
  --accent-yellow:  #b08a3a;
  --accent-red:     #a05548;
  --accent-purple:  #7a5d8c;
  --accent-cyan:    #4d8478;

  /* Text (warm neutrals on paper) */
  --text-primary:   #1c1b1f;
  --text-secondary: #5a544c;
  --text-muted:     #8a8478;

  /* Borders */
  --border-subtle:  rgba(28, 27, 31, 0.06);
  --border-default: rgba(28, 27, 31, 0.10);
  --border-hover:   rgba(28, 27, 31, 0.20);

  /* Typography */
  --font-serif: 'Source Serif 4', 'Georgia', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', 'Consolas', monospace;
  --font-size-base: 16px;
  --font-size-sm: 0.85rem;
  --font-size-xs: 0.75rem;
  --font-size-prose: 1.05rem;
  --line-height: 1.6;
  --line-height-prose: 1.75;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
}

/* Per-page accent overrides (light-bg tuned) */
[data-page="articles"]     { --accent-page: #a6844e; }
[data-page="publications"] { --accent-page: #4d7ba6; }
[data-page="projects"]     { --accent-page: #5f8a4f; }
[data-page="teaching"]     { --accent-page: #4d8478; }
[data-page="about"]        { --accent-page: #7a5d8c; }
