/* ─── Design tokens — Designdrivemedia ─────────────────────────────────────
   "Fresh market" direction from the approved design: warm off-white paper,
   deep garden green, lime highlights, a coral accent. Every colour is a
   Customizer variable (wps_inline_styles()) or a color-mix() of one — the
   :root values below are only the pre-inline-style fallback and match the
   seeded defaults in functions.php.
   Shape language: soft and round — 24px cards, pill buttons and chips,
   arched photo tops, low diffuse shadows.
   ────────────────────────────────────────────────────────────────────────── */

:root {
  --primary-color: #1e3a2b;
  --secondary-color: #cdeb6e;
  --text-color: #18241c;
  --text-muted: #5e6a60;
  --bg-color: #f7f5ee;
  --bg-light: #eef1e4;
  --surface-color: #ffffff;
  --border-color: #dfe3d5;
  --accent-color: #f28c6b;
  --positive-color: #1f6b3a;
  --negative-color: #a3322b;
  --font-title: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-text: 'Inter', system-ui, sans-serif;

  /* Roles used by the components */
  --g: var(--primary-color);
  --g2: color-mix(in srgb, var(--primary-color) 85%, var(--secondary-color));
  --lime: var(--secondary-color);
  --coral: var(--accent-color);
  --ink: var(--text-color);
  --mut: var(--text-muted);
  --bg: var(--bg-color);
  --soft: var(--bg-light);
  --paper: var(--surface-color);
  --line: var(--border-color);

  /* Text on the dark green surfaces */
  --on-dark: var(--surface-color);
  --on-dark-mut: color-mix(in srgb, var(--surface-color) 72%, var(--primary-color));
  --on-dark-faint: color-mix(in srgb, var(--surface-color) 55%, var(--primary-color));
  --on-dark-line: color-mix(in srgb, var(--surface-color) 14%, transparent);

  /* Plate guide bars (calculator) */
  --plate-veg: color-mix(in srgb, var(--positive-color) 45%, var(--secondary-color));
  --plate-grain: color-mix(in srgb, var(--accent-color) 45%, var(--secondary-color));
  --plate-protein: var(--accent-color);

  /* Image fallback gradient (no photo yet) */
  --fallback: linear-gradient(150deg, color-mix(in srgb, var(--secondary-color) 70%, var(--surface-color)), color-mix(in srgb, var(--secondary-color) 45%, var(--primary-color)));

  /* Shape, depth, rhythm */
  --r: 24px;
  --r-sm: 18px;
  --r-xs: 14px;
  --sh: 0 1px 2px color-mix(in srgb, var(--text-color) 5%, transparent), 0 14px 40px color-mix(in srgb, var(--text-color) 7%, transparent);
  --sh-btn: 0 10px 24px color-mix(in srgb, var(--primary-color) 20%, transparent);
  --sec-y: 70px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
  :root {
    --sec-y: 100px;
  }
}
