/* Ambridge.biz — design tokens.
   Every color, font size, and spacing value the site uses is here.
   Consume via var(--token-name). Never hardcode. */

:root {
  /* Palette (Editorial / Newspaper — Palette B) */
  --bg: #f5f2e8;
  --paper: #ffffff;
  --ink: #131313;
  --ink-2: #44433e;
  --ink-3: #7a786f;
  --accent: #e6b423;    /* electric yellow */
  --accent-2: #b8471f;  /* deep red for links */
  --edge: #d8d3c4;
  --edge-dark: #b4ad9a;
  --open: #2d6e39;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --text-xs: 11px;
  --text-sm: 12px;
  --text-base: 15px;
  --text-lg: 17px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: 38px;
  --text-5xl: 56px;

  --leading-tight: 1.1;
  --leading-snug: 1.35;
  --leading-normal: 1.5;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.06em;
  --tracking-wider: 0.14em;
  --tracking-widest: 0.16em;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Borders */
  --border-thin: 1.5px;
  --border-thick: 2px;
  --radius-none: 0;
  --radius-sm: 4px;      /* utility buttons only */
  --radius-full: 999px;  /* pill chips, dots */

  /* Layout */
  --tap-min: 44px;
  --content-max: 780px;
  --page-max: 980px;
}

/* Global resets — minimal, on purpose */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin: 0;
  color: var(--ink);
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
button { font-family: inherit; }
img { max-width: 100%; display: block; }
