/* docs/css/base.css */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* ─── Colour system (OKLCH) — CREAM zone (default) ───────
     Token names retained from prior dark theme for stable references.
     `--purple` is the legacy alias; the actual brand accent is terracotta. */
  --bg:              oklch(96% 0.012 75);    /* cream paper */
  --surface:         oklch(99% 0.006 78);    /* raised paper / card */
  --surface-2:       oklch(92% 0.016 72);    /* deeper card */
  --border:          oklch(86% 0.014 70);
  --border-strong:   oklch(72% 0.016 65);

  --text:            oklch(22% 0.02  60);    /* deep brown-black */
  --text-2:          oklch(45% 0.018 60);    /* secondary */
  --text-3:          oklch(62% 0.014 65);    /* tertiary / muted */

  --purple:          oklch(60% 0.14  35);    /* terracotta (accent) */
  --purple-strong:   oklch(48% 0.16  35);    /* deeper terracotta — cream-legible */
  --purple-dim:      oklch(60% 0.14  35 / 0.12);
  --green:           oklch(50% 0.10  145);   /* deeper sage — cream-legible */
  --green-dim:       oklch(50% 0.10  145 / 0.10);

  /* ─── Typography ────────────────────────────────────────── */
  --font-display: 'Sentient', Georgia, 'Times New Roman', serif;
  --font-body:    'Hanken Grotesk', system-ui, 'Segoe UI', sans-serif;

  /* ─── Space scale (4pt base) ────────────────────────────── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  font-feature-settings: "kern", "liga";
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.section-rule {
  width: 100%;
  height: 1px;
  background: var(--border);
  border: none;
}
