/* tokens.css — design tokens. The ONLY place raw values live. Everything else uses var(--token). */
:root {
	/* Brand color. Paper + Ink are the system; change the hex here and the whole site follows. */
	--color-paper: #f3efe6;
	--color-ink: #16140f;

	/* Semantic color (what components should use) */
	--color-bg: var(--color-paper);
	--color-text: var(--color-ink);
	--color-surface: #eae5d8;
	--color-muted: #5c574d;
	--color-border: #d8d2c2;
	--color-accent: #ff4d1c;          /* brand orange (logo dot). Graphics + backgrounds ONLY: 2.9:1 on paper, too low for text */
	--color-accent-text: #b8330f;     /* text-safe orange: 5.2:1 on paper, 4.8:1 on surface. Use for links, eyebrows, hovers */
	--color-accent-contrast: var(--color-ink); /* text on top of --color-accent (5.5:1) */
	--color-focus: var(--color-accent-text);

	/* Type */
	--font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Instrument Serif", Georgia, "Times New Roman", serif; /* only has weight 400 */
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--text-xs: 0.75rem;
	--text-sm: 0.875rem;
	--text-base: 1rem;
	--text-lg: 1.25rem;
	--text-xl: 1.5rem;
	--text-2xl: clamp(1.75rem, 3vw, 2.25rem);
	--text-3xl: clamp(2.25rem, 5vw, 3.5rem);
	--text-4xl: clamp(2.75rem, 7vw, 5rem);
	--leading-tight: 1.1;
	--leading-body: 1.6;
	--weight-regular: 400;
	--weight-medium: 500;
	--weight-bold: 700;

	/* Space */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--space-9: 6rem;
	--section-y: clamp(3rem, 8vw, 6rem);

	/* Layout */
	--container: 72rem;
	--container-narrow: 44rem;
	--gutter: clamp(1rem, 4vw, 2rem);
	--header-h: 4.5rem;

	/* Shape + depth */
	--radius-sm: 0.25rem;
	--radius-md: 0.5rem;
	--radius-lg: 1rem;
	--radius-pill: 999px;
	--shadow-sm: 0 1px 2px rgb(22 20 15 / 0.08);
	--shadow-md: 0 8px 24px rgb(22 20 15 / 0.1);

	/* Motion + stacking */
	--dur: 180ms;
	--dur-slow: 320ms;
	--ease: cubic-bezier(0.2, 0, 0, 1);
	--z-header: 100;

	/* Breakpoints (documentation only: CSS variables cannot be used inside @media).
	   sm 40em · md 60em · lg 75em — write these literals in media queries. */
}
