/* Design tokens. Colours darkened from the prototype until each reaches the WCAG AA ratio noted beside it. */
:root {
  --bg: #faf8f5;
  --bg-sunk: #f4f0ea;
  --card-bg: #ffffff;
  --border: #ece1d4;         /* decorative only */
  --border-strong: #a08b6f;  /* 3.09:1 on --bg — boundary of an interactive control */
  --text: #2b2420;           /* 14.4:1 on --bg */
  --muted: #736858;          /* 5.15:1 on --bg, 5.45:1 on --card-bg */
  --accent: #9a3412;         /* 6.89:1 on --bg, 7.31:1 on --card-bg, 7.31:1 under white */
  --accent-bg: #fdf0e6;
  --fresh: #047857;          /* 5.17:1 on --bg, 5.48:1 on --card-bg */
  --fresh-bg: #ecfdf5;       /* --fresh on it: 5.21:1 */
  --placeholder-bg: #efe9e0;
  /* Photo placeholder (loading or dead): the faint logo on a dot grid, inline so zero request. */
  --placeholder: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cdbca6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 2v7a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V2'/%3E%3Cpath d='M5.5 11v11'/%3E%3Cpath d='M19 2a4 4 0 0 0-3 3.9V13h3Zm0 11v9'/%3E%3C/svg%3E") center / 40px no-repeat,
                 radial-gradient(#e3d9cb 1px, transparent 1.5px) 0 0 / 14px 14px,
                 var(--placeholder-bg);

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-md: 0.9375rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  --text-hero: clamp(2rem, 1.3rem + 3.2vw, 3.4rem);

  --space-1: 4px;
  --space-2: 6px;
  --space-3: 10px;
  --space-4: 14px;
  --space-5: 20px;
  --space-6: 32px;
  --space-7: 48px;

  --radius-1: 6px;
  --radius-2: 10px;
  --radius-3: 14px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgb(43 36 32 / 5%);
  --shadow-2: 0 6px 18px -6px rgb(43 36 32 / 18%);
  --shadow-3: 0 18px 40px -12px rgb(43 36 32 / 24%);

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --fast: 140ms;
  --normal: 220ms;

  --content-width: 1180px;
}
