/* ==========================================================================
   Vendo 2026 design tokens: the single source for colour, type and layout.
   Palette names follow the Figma variables (Colour-Palette/*); components only
   use the semantic tokens below (--vd-color-*, --vd-font-*, --vd-container-*).
   Translucent colours: rgb(var(--vd-rgb-brand) / .3).
   ========================================================================== */

:root {
	/* Palette (Figma variables) */
	--vd-palette-vendo-green: #8efebb; /* Colour-Palette/Vendo Green */
	--vd-palette-vendo-sage: #09221f; /* Colour-Palette/Vendo Sage */
	--vd-palette-vendo-black: #051412; /* Colour-Palette/Vendo Black */
	--vd-palette-charcoal: #2c2c2c; /* Colour-Palette/Charcoal */
	--vd-palette-grey: #ababab; /* Colour-Palette/Grey */
	--vd-palette-white: #ffffff; /* Colour-Palette/White */

	/* Semantic colours */
	--vd-color-brand: var(--vd-palette-vendo-green); /* brand accent: CTAs, links, highlights */
	--vd-color-brand-hover: #b7ffd5; /* primary button / newsletter button hover */
	--vd-color-brand-pressed: #18413c; /* dark button hover (Figma primary-new-btn) */
	--vd-color-on-brand: #000000; /* labels on the green brand fill */
	--vd-color-on-brand-soft: #0b2723; /* body copy on green panels */
	--vd-color-accent-teal: #00bfad; /* Web & Technology accent */
	--vd-color-bg: var(--vd-palette-vendo-black); /* page background */
	--vd-color-bg-deep: #000000; /* image/video backdrops */
	--vd-color-surface: var(--vd-palette-vendo-sage); /* cards and panels */
	--vd-color-panel: #081a18; /* menu panel / section band */
	--vd-color-surface-glow: #18362b; /* start of the green card gradient */
	--vd-color-surface-raised: #0d2b25; /* start of section gradients */
	--vd-color-surface-card: #0b2622; /* services deck card */
	--vd-color-surface-active: #10362f; /* selected card */
	--vd-color-surface-teal: #083331; /* Web & Technology card */
	--vd-color-surface-teal-active: #0a3d3a; /* selected Web & Technology card */
	--vd-color-surface-mock: #13392f; /* device mock-up panel gradient start */
	--vd-color-surface-mock-end: #0a231e; /* device mock-up panel gradient end */
	--vd-color-surface-browser: #0f2a25; /* browser mock-up chrome */
	--vd-color-surface-phone: #0b1f1b; /* phone mock-up frame */
	--vd-color-surface-placeholder: #d9d9d9; /* image placeholder behind loading images */
	--vd-color-surface-light: var(--vd-palette-white); /* white panels (site screenshots) */
	--vd-color-field: #0a1f1c; /* form field background */
	--vd-color-ink: var(--vd-palette-charcoal); /* dark text on light/green fills */
	--vd-color-text: var(--vd-palette-white); /* primary text */
	--vd-color-text-soft: #d6e4de; /* body copy on dark */
	--vd-color-text-soft-2: #e6f0ec; /* lead paragraphs */
	--vd-color-text-quiet: #c9d4ce; /* secondary body copy */
	--vd-color-text-mint: #d9f5e6; /* chip / pill labels */
	--vd-color-text-pale: #cfe3da; /* serif sub-headings */
	--vd-color-text-muted: #a7b8b1; /* muted copy */
	--vd-color-text-hint: #7e9488; /* hints and helper text */
	--vd-color-text-subtle: #799284; /* placeholders, captions (lifted from Figma #6a8676 to pass WCAG AA 4.5:1) */
	--vd-color-text-grey: var(--vd-palette-grey); /* grey text */
	--vd-color-text-dim: #43735b; /* not-yet-revealed text (scroll reveal); 3:1 on the page background, WCAG AA large text */
	--vd-color-text-error: #ffb3b3; /* form error message */
	--vd-color-border: #1c3a33; /* card / divider border */
	--vd-color-border-strong: #22684d; /* emphasised card border */
	--vd-color-border-hover: #2a5248; /* field border on hover */
	--vd-color-line: #0c322e; /* thin rule */
	--vd-color-line-soft: #0a2723; /* accordion divider */
	--vd-color-line-grey: #484848; /* grey rule */
	--vd-color-mock-close: #ff5f57; /* browser mock: close dot */
	--vd-color-mock-min: #febc2e; /* browser mock: minimise dot */
	--vd-color-mock-max: #28c840; /* browser mock: maximise dot */
	--vd-admin-accent: #3858e9; /* WP admin blue */
	--vd-admin-note-bg: #f0f6fc;
	--vd-admin-border: #dddddd;
	--vd-admin-border-soft: #e0e0e0;
	--vd-admin-divider: #eeeeee;
	--vd-admin-text: #555555;
	--vd-admin-text-muted: #757575;
	--vd-admin-thumb-bg: #1e1e1e;
	--vd-color-brand-line: rgb(var(--vd-rgb-brand) / .3);

	/* RGB channels for translucent colours */
	--vd-rgb-brand: 142 254 187;
	--vd-rgb-bg: 5 20 18;
	--vd-rgb-surface: 9 34 31;
	--vd-rgb-panel: 8 26 24;
	--vd-rgb-shadow: 0 0 0;
	--vd-rgb-white: 255 255 255;
	--vd-rgb-accent-teal: 0 191 173;
	--vd-rgb-text-soft: 214 228 222;
	--vd-rgb-text-muted: 167 184 177;
	--vd-rgb-error: 255 120 120;
	--vd-rgb-glass-1: 46 110 87;
	--vd-rgb-glass-2: 34 81 67;
	--vd-rgb-glass-3: 21 52 47;

	/* Type */
	--vd-font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--vd-font-accent: 'Instrument Serif', Georgia, serif;
	--vd-font-label: var(--vd-font-body); /* labels are Manrope (Markup #1/#132); Poppins is no longer used */
	--vd-font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

	/* Layout */
	--vd-container-max: 1600px;
	--vd-container-gutter: clamp(16px, 3.704vw, 64px);
	--vd-header-h: 115px;
}
@media (max-width: 1023px) {
	:root { --vd-header-h: 72px; }
}
