/*
 * MGK FreshMart v2 — design tokens.
 *
 * Values come from the P1 prototype's :root block (freshmart-p1-srs_6.html).
 * The names do not: the prototype is a single self-contained file, so it can
 * afford `--g`, `--r`, `--e`. A WordPress page cannot — WooCommerce and
 * Elementor both inject their own custom properties into :root, and a token
 * called `--r` is one collision away from a very confusing afternoon. So every
 * token is namespaced `--mgk-*`, matching v1.
 *
 * PORTING FROM THE PROTOTYPE — the name map, so a pasted rule can be translated
 * without guessing:
 *
 *   --fd   → --mgk-font-display     --paper  → --mgk-paper
 *   --fs   → --mgk-font             --wash   → --mgk-wash
 *   --g    → --mgk-green            --warm   → --mgk-warm
 *   --g-h  → --mgk-green-hover      --r      → --mgk-radius
 *   --g-d  → --mgk-green-deep       --r-b    → --mgk-radius-b
 *   --g-t  → --mgk-green-tint       --r-s    → --mgk-radius-s
 *   --g-t2 → --mgk-green-tint-2     --hi     → --mgk-highlight
 *   --ink  → --mgk-ink              --el-1   → --mgk-elev-1
 *   --ink-2→ --mgk-ink-2            --el-2   → --mgk-elev-2
 *   --ink-3→ --mgk-ink-3            --wrap   → --mgk-wrap
 *   --line → --mgk-line             --gut    → --mgk-gutter
 *   --line-2 → --mgk-line-2         --e      → --mgk-ease
 *   --line-d → --mgk-line-d         --t1/--t2→ --mgk-t1 / --mgk-t2
 *   --red / --red-t, --amb / --amb-t, --blue / --blue-t
 *          → --mgk-red / --mgk-red-tint, and so on.
 *
 * This file holds values only. No selectors, no components — those live in
 * mgk-retail.css (shared shell) and mgk-<screen>.css (one per screen).
 */

:root {
	/* Type. Fraunces carries the display voice; Inter does the work. */
	--mgk-font-display: Fraunces, 'Iowan Old Style', Georgia, serif;
	--mgk-font:         Inter, -apple-system, 'Segoe UI', sans-serif;

	/* Brand green. -hover and -deep are the two darker steps; the tints are
	   backgrounds, never text. */
	--mgk-green:        #15774A;
	--mgk-green-hover:  #0F5B37;
	--mgk-green-deep:   #0B3F27;
	--mgk-green-tint:   #E7F1E9;
	--mgk-green-tint-2: #F4F8F4;

	/* Ink is warm, not black — it sits on paper, not on white. */
	--mgk-ink:   #211F1A;
	--mgk-ink-2: #5A564B;
	--mgk-ink-3: #8E897B;

	/* Rules are ink at low alpha rather than grey, so they tint with the
	   surface underneath instead of going muddy on the warm backgrounds. */
	--mgk-line:   rgba(33, 31, 26, .11);
	--mgk-line-2: rgba(33, 31, 26, .055);
	--mgk-line-d: rgba(33, 31, 26, .20);

	/* Status. Each pairs a text-weight colour with its own tint background. */
	--mgk-red:       #CE3524;
	--mgk-red-tint:  #FBEBE7;
	--mgk-amber:     #C77B06;
	--mgk-amber-tint:#FCF1DC;
	--mgk-blue:      #2160A0;
	--mgk-blue-tint: #E9F0F8;

	/* Surfaces, warmest to coolest. */
	--mgk-paper: #FFFFFF;
	--mgk-wash:  #FAF8F3;
	--mgk-warm:  #FCF4E5;

	/* Nested radii: outer surface → inner well → chip. A chip inside a well
	   inside a card should step down, never repeat the same corner. */
	--mgk-radius:   11px;
	--mgk-radius-b: 8px;
	--mgk-radius-s: 5px;

	/* Elevation. --mgk-highlight is the 1px inner top light that keeps a raised
	   surface from reading as a flat grey rectangle. */
	--mgk-highlight: inset 0 1px 0 rgba(255, 255, 255, .9);
	--mgk-elev-1:    0 1px 2px rgba(33, 31, 26, .05), 0 6px 16px -8px rgba(33, 31, 26, .10);
	--mgk-elev-2:    0 16px 44px -14px rgba(33, 31, 26, .24);

	/* Layout. */
	--mgk-wrap:   1320px;
	--mgk-gutter: 20px;

	/* Motion. --mgk-t1 for state changes, --mgk-t2 for anything that moves. */
	--mgk-ease: cubic-bezier(.25, .8, .35, 1);
	--mgk-t1:   150ms;
	--mgk-t2:   260ms;
}
