/**
 * Foundation Right Pro - Design Tokens
 *
 * Central source of truth for colors, type, spacing and other primitives.
 * Every other stylesheet in this theme reads from these custom properties
 * instead of hard-coding values, so a brand refresh only touches this file
 * (or the color pickers under Theme Settings → Brand & Contact).
 */

:root {
	/* ------------------------------------------------------------------
	 * Brand colors
	 * ---------------------------------------------------------------- */
	--frp-maroon: #7A1B2E;         /* Primary maroon - buttons, links, icons */
	--frp-maroon-dark: #5C1220;    /* hover / pressed state */
	--frp-maroon-darker: #3D0B15;  /* deepest panels, bottom bar */
	--frp-maroon-10: rgba(122, 27, 46, 0.1);
	--frp-maroon-20: rgba(122, 27, 46, 0.2);
	--frp-maroon-60: rgba(122, 27, 46, 0.6);

	/* ------------------------------------------------------------------
	 * Neutrals
	 * ---------------------------------------------------------------- */
	--frp-black: #000000;
	--frp-ink: #241318;             /* heading ink */
	--frp-slate: #2b1c20;           /* input text  */
	--frp-grey-500: #665A5E;        /* body copy */
	--frp-grey-300: #b7a9ac;
	--frp-grey-100: #ece0e1;
	--frp-grey-50: #F7EFEF;
	--frp-white: #ffffff;

	/* Alpha helpers used on dark (maroon) surfaces */
	--frp-on-dark: rgba(255, 255, 255, 1);
	--frp-on-dark-70: rgba(255, 255, 255, 0.72);
	--frp-on-dark-40: rgba(255, 255, 255, 0.4);
	--frp-hairline: rgba(255, 255, 255, 0.14);

	/* ------------------------------------------------------------------
	 * Semantic aliases
	 * ---------------------------------------------------------------- */
	--frp-body-bg: var(--frp-white);
	--frp-body-color: var(--frp-grey-500);
	--frp-heading-color: var(--frp-ink);
	--frp-accent: var(--frp-maroon);
	--frp-accent-contrast: var(--frp-white);
	--frp-link: var(--frp-maroon);
	--frp-link-hover: var(--frp-maroon-dark);
	--frp-focus-ring: var(--frp-maroon);

	/* ------------------------------------------------------------------
	 * Typography  (Poppins)
	 * ---------------------------------------------------------------- */
	--frp-font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, "Helvetica Neue", Arial, sans-serif;
	--frp-font-heading: var(--frp-font-sans);
	--frp-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--frp-fw-regular: 400;
	--frp-fw-medium: 500;
	--frp-fw-semibold: 600;
	--frp-fw-bold: 700;

	/* Fluid type scale - min value at 360px, max at 1440px */
	--frp-fs-display: clamp(2.25rem, 1.3rem + 4.7vw, 3.75rem);  /* 36 -> 60 */
	--frp-fs-h1: clamp(2rem, 1.2rem + 4vw, 3.25rem);             /* 32 -> 52 */
	--frp-fs-h2: clamp(1.75rem, 1.2rem + 2.7vw, 2.5rem);         /* 28 -> 40 */
	--frp-fs-h3: clamp(1.25rem, 1.1rem + 1vw, 1.5rem);           /* 20 -> 24 */
	--frp-fs-h4: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);        /* 18 -> 22 */
	--frp-fs-h5: 1.125rem;                                        /* 18 - footer col titles */
	--frp-fs-h6: 1.0625rem;
	--frp-fs-lead: 1.125rem;
	--frp-fs-body: 1rem;                                          /* 16 */
	--frp-fs-sm: 0.875rem;                                        /* 14 - nav links */
	--frp-fs-xs: 0.75rem;                                         /* 12 - meta text */
	--frp-fs-eyebrow: 0.875rem;                                   /* 14 - section eyebrow */

	--frp-lh-tight: 1;
	--frp-lh-heading: 1.2;
	--frp-lh-snug: 1.45;
	--frp-lh-body: 1.65;
	--frp-lh-loose: 1.8;

	--frp-ls-display: -0.01em;
	--frp-ls-heading: -0.01em;
	--frp-ls-tight: 0;
	--frp-ls-eyebrow: 0.08em;    /* wide-tracked uppercase eyebrow */

	/* ------------------------------------------------------------------
	 * Layout
	 * ---------------------------------------------------------------- */
	--frp-container: 1280px;
	--frp-container-narrow: 800px;
	--frp-gutter: clamp(1.25rem, 0.4rem + 3.6vw, 5rem); /* 20 -> 80 */
	--frp-header-height: 88px;

	/* ------------------------------------------------------------------
	 * Spacing scale (4px base)
	 * ---------------------------------------------------------------- */
	--frp-space-1: 0.25rem;
	--frp-space-2: 0.5rem;
	--frp-space-3: 0.75rem;
	--frp-space-4: 1rem;
	--frp-space-5: 1.25rem;
	--frp-space-6: 1.5rem;
	--frp-space-8: 2rem;
	--frp-space-10: 2.5rem;
	--frp-space-12: 3rem;
	--frp-space-16: 4rem;
	--frp-space-20: 5rem;
	--frp-space-24: 6rem;

	/* ------------------------------------------------------------------
	 * Radii, borders, shadows, motion
	 * ---------------------------------------------------------------- */
	--frp-radius-sm: 8px;
	--frp-radius-md: 14px;
	--frp-radius-lg: 20px;
	--frp-radius-xl: 28px;
	--frp-radius-pill: 50px;
	--frp-radius-circle: 999px;

	--frp-border: 1px solid var(--frp-grey-100);
	--frp-border-accent: 2px solid var(--frp-maroon);

	--frp-shadow-sm: 0 1px 2px rgba(36, 19, 24, 0.06);
	--frp-shadow-md: 0 10px 30px rgba(36, 19, 24, 0.1);
	--frp-shadow-lg: 0 24px 56px rgba(36, 19, 24, 0.16);

	--frp-transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
	--frp-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

	--frp-z-header: 100;
	--frp-z-drawer: 200;
	--frp-z-overlay: 150;

	/* ------------------------------------------------------------------
	 * Gradients
	 * ---------------------------------------------------------------- */
	--frp-gradient-hero: linear-gradient(135deg, rgba(61, 11, 21, 0.92) 0%, rgba(90, 18, 32, 0.85) 55%, rgba(122, 27, 46, 0.75) 100%);
	--frp-gradient-maroon: linear-gradient(180deg, #5C1220 0%, #3D0B15 100%);
}
