/* ═══════════════════════════════════════════════════════════════
   site.css — shared styles for dtjernigan.com
   Used by: index.html, cv.html
   ═══════════════════════════════════════════════════════════════ */

/* ─── GOOGLE FONTS ──────────────────────────────────────────── */
/* Instrument Sans: landing page headings + buttons
   DM Sans: CV body text                                         */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:           #0a0a0a;
  --text:         #e8e4df;
  --text-muted:   #9a9590;
  --text-faint:   #4a4540;
  --border:       #2a2725;
  --border-mid:   #3a3632;
  --surface:      #111110;

  --font-ui:      'Instrument Sans', sans-serif;
  --font-cv:      'DM Sans', 'Helvetica Neue', Helvetica, sans-serif;

  /* CV-specific (light background) */
  --cv-bg:         #f9f9f7;
  --cv-text:       #181714;
  --cv-text-muted: #5e5c56;
  --cv-text-faint: #a8a59e;
  --cv-border:     #dbd9d3;
  --cv-surface:    #ffffff;
  --cv-hdr-bg:     rgba(249,249,247,0.95);
  --tt-shadow:     0 4px 20px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
