/* ============================================
   Brand Tokens — michaeldariuseastwood.com
   ============================================ */

:root {
  /* Colour */
  --bg-primary: #fafaf8;
  --bg-surface: #f5f4f0;
  --bg-accent: #1a1a1a;
  --bg-accent-soft: #2a2a2a;
  --text-primary: #1a1a1a;
  --text-secondary: #5a5a5a;
  --text-tertiary: #8a8a8a;
  --text-inverse: #fafaf8;
  --accent-warm: #b8860b;
  --accent-warm-hover: #d4a017;
  --accent-link: #2c5f7c;
  --accent-link-hover: #1a4a63;
  --border: #e5e3df;
  --border-strong: #ccc8c0;

  /* Typography scale */
  --font-display: 'Source Serif 4', 'Georgia', serif;
  --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Menlo', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1120px;
  --nav-height: 64px;
  --radius: 6px;
  --radius-lg: 10px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  overflow-x: hidden;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-primary);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-link); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-link-hover); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

/* ---- Utility classes ---- */
.label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-primary);
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ---- Focus ---- */
:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 2px;
}
