/*
 * IJC design system — the single source of design values for the whole site.
 *
 * Brand values (--navy, --blue, --ink, --muted, --line, --bg, --radius,
 * --radius-lg, --shadow-*, --container, --font) are printed by
 * dmo_render_css_vars() from the Customizer settings in inc/design.php.
 * Everything below builds on them. Page stylesheets must use these tokens
 * instead of defining their own colors, sizes or radii.
 */

:root {
	/* ---- Palette --------------------------------------------------------- */
	--navy-950: #0a1b42;       /* deepest navy: dark section backgrounds */
	--navy-800: #063b7a;       /* heading navy */
	--navy-700: #1b3372;       /* glow / gradient mid-tone on dark sections */
	--slate-700: #3d4f6a;      /* body copy */
	--slate-400: #8b95a8;      /* meta text, placeholders, disabled */
	--accent: #2f6feb;         /* interactive blue: buttons, links, active states */
	--accent-hover: #2459c9;
	--sky: #66c7ff;            /* accent on dark backgrounds */
	--sky-soft: #8dc8f3;
	--line-blue: #d9e5f1;      /* tinted borders on cards */
	--surface-soft: #f3f7fc;   /* light section / panel background */
	--surface-tint: #eaf1ff;   /* icon chips, hover fills */
	--teal: #12b3a8;
	--amber: #c9a24b;
	--orange: #ed7d31;
	--whatsapp: #25d366;
	--whatsapp-hover: #1dae54;

	/* ---- Semantic colors ------------------------------------------------- */
	--heading: var(--navy-800);
	--text: var(--slate-700);
	--text-muted: var(--muted);
	--text-subtle: var(--slate-400);
	--eyebrow: var(--blue);
	--eyebrow-on-dark: var(--sky);
	--text-on-dark: #fff;
	--text-on-dark-muted: #b7c2e0;

	/* ---- Typography ------------------------------------------------------ */
	--fs-hero: 2.875rem;                                  /* 46px  page hero h1 */
	--fs-h2: clamp(1.46rem, 1.92vw, 2.31rem);            /* section title */
	--fs-h2-content: clamp(1.375rem, 1.1rem + .6vw, 1.625rem); /* heading inside long-form content */
	--fs-h3: 1.125rem;                                    /* 18px  card / block title */
	--fs-h4: 1rem;                                        /* 16px  small card title, person name */
	--fs-lead: 1.0625rem;                                 /* 17px  intro paragraph */
	--fs-body: 1rem;                                      /* 16px */
	--fs-body-sm: .9375rem;                               /* 15px  card copy */
	--fs-small: .875rem;                                  /* 14px */
	--fs-eyebrow: .8125rem;                               /* 13px */
	--fs-xs: .75rem;                                      /* 12px  tags, meta */

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

	--lh-tight: 1.15;
	--lh-heading: 1.2;
	--lh-body: 1.6;

	--ls-heading: -.02em;
	--ls-eyebrow: .14em;

	/* ---- Shape ----------------------------------------------------------- */
	--radius-sm: 12px;         /* icon chips, inputs, small media */
	--radius-pill: 999px;      /* buttons, tags */
	--shadow-card: 0 10px 28px rgba(var(--navy-rgb), .06);
	--shadow-card-hover: 0 18px 40px rgba(var(--navy-rgb), .12);

	/* ---- Spacing --------------------------------------------------------- */
	--section-y: clamp(40px, 3.9vw, 56px);  /* vertical padding of a content section */
	--section-head-gap: 40px;                /* section heading block -> content */
	--eyebrow-gap: 12px;                     /* eyebrow -> heading */
	--gutter: 40px;
}

@media (max-width: 760px) {
	:root {
		--fs-hero: 2rem;
		--section-head-gap: 28px;
		--gutter: 20px;
	}
}
