/* ============================================================================
   DemandWolf - Design Tokens (v0.5.0)
   High-contrast warm bone/cream & ink palette with signal red and ember accents.
   Accessible SaaS/agency typography scale (WCAG AA contrast, zero micro-fonts).
   ============================================================================ */

@font-face {
	font-family: "Space Grotesk";
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
	font-family: "Space Grotesk";
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/space-grotesk-600.woff2") format("woff2");
}
@font-face {
	font-family: "Space Grotesk";
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/space-grotesk-700.woff2") format("woff2");
}
@font-face {
	font-family: "Fraunces";
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	src: url("../fonts/fraunces-italic-400.woff2") format("woff2");
}
@font-face {
	font-family: "Fraunces";
	font-weight: 500;
	font-style: italic;
	font-display: swap;
	src: url("../fonts/fraunces-italic-500.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
	font-family: "DM Mono";
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/dm-mono-400.woff2") format("woff2");
}
@font-face {
	font-family: "DM Mono";
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/dm-mono-500.woff2") format("woff2");
}

:root {
	/* ---- High-Contrast Palette (WCAG AA Accessible) ---- */
	--cream: #ece5d3;       /* section bg; primary light text on ink */
	--cream-deep: #dfd5bc;  /* secondary text on dark surfaces */
	--bone: #f4efe0;        /* hero + card surfaces + nav */
	--ink: #0b0b0a;         /* primary text; dark sections; borders */
	--ink-soft: #22221f;    /* structural dividers on dark surfaces */
	--ink-mid: #2b2720;     /* high-contrast body text on light surfaces */
	--muted: #524b3e;       /* accessible secondary text on light (WCAG AA > 5.5:1) */
	--dim: #cfc5ae;         /* accessible secondary text on dark (WCAG AA > 8:1) */
	--signal: #c9412e;      /* primary brand accent */
	--signal-deep: #9a2e1f; /* darker red hover state */
	--ember: #d89545;       /* warm gold accent */
	--line: #c8be9f;        /* borders on light */
	--line-soft: #dbd1b8;   /* subtle dividers on light */

	/* Special alphas */
	--nav-bg: rgba(244, 239, 224, 0.95);
	--hairline-on-dark: rgba(236, 229, 211, 0.18);
	--grid-line: rgba(11, 11, 10, 0.04);

	/* Semantic aliases */
	--text-strong: var(--ink);
	--text-body: var(--ink-mid);
	--text-soft: var(--muted);
	--surface-page: var(--cream);
	--surface-card: var(--bone);
	--color-focus: var(--signal);

	/* ---- Type families ---- */
	--font-display: "Space Grotesk", "Inter Tight", system-ui, sans-serif;
	--font-serif: "Fraunces", "Instrument Serif", Georgia, serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* ---- Traditional SaaS / Agency Type Scale (Readable & Balanced) ---- */
	--fs-hero: clamp(38px, 4.5vw, 68px);
	--fs-h2-lg: clamp(30px, 3.4vw, 48px);
	--fs-h2: clamp(28px, 3.2vw, 46px);
	--fs-h2-cta: clamp(32px, 3.8vw, 56px);
	--fs-h2-faq: clamp(28px, 3.2vw, 44px);
	--fs-quote: clamp(22px, 2vw, 32px);
	--fs-lead: clamp(18px, 1.15rem + 0.25vw, 21px);

	--fs-body: 1.0625rem;   /* 17px base body */
	--fs-small: 0.9375rem;  /* 15px small text */
	--fs-caption: 0.875rem; /* 14px minimum caption */

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

	/* ---- Layout ---- */
	--wrap-max: 1320px;
	--wrap-narrow: 1040px;
	--section-pad: clamp(72px, 5rem + 3vw, 112px);
	--section-pad-x: clamp(20px, 1.25rem + 1.5vw, 44px);

	/* ---- Geometry ---- */
	--radius: 0;
	--shadow-hard: 10px 10px 0 var(--ink);
	--shadow-hard-sm: 6px 6px 0 var(--ink);
	--border-structural: 1.5px solid var(--ink);

	/* ---- Motion ---- */
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--dur-fast: 150ms;
	--dur-base: 200ms;
	--dur-reveal: 700ms;
}
