/*
 * Jinia Art — design tokens (P4.1).
 *
 * Warm-neutral, editorial, gallery-like palette. Single source of truth for color,
 * typography and spacing; component and page layers consume these variables only.
 * P4.1 refines the P4 palette to the approved direction: warm ivory canvas,
 * near-black ink, terracotta accent used only for the primary CTA / active state.
 */

:root {
	/* ── color ─────────────────────────────────────────────────────────── */
	--c-bg: #F4F1EA;
	--c-surface: #FFFFFF;
	--c-surface-alt: #ECE7DD;
	--c-ink: #191919;
	--c-ink-soft: #6A6863;
	--c-ink-faint: #97918A;
	--c-line: #E4DFD5;
	--c-frame-line: #D7D0C3;
	--c-accent: #B6592F;
	--c-accent-strong: #9C4824;
	--c-accent-soft: #EAD9CE;
	--c-on-accent: #FFFFFF;
	--c-success: #3F6B4F;
	--c-success-soft: #E4EEE7;
	--c-error: #A4432F;
	--c-error-soft: #F4E4DF;

	/* ── typography ────────────────────────────────────────────────────── */
	--font-display: "Didot", "Bodoni MT", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
	--font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

	--fs-xs: 0.75rem;   /* 12px */
	--fs-sm: 0.875rem;  /* 14px — metadata, captions */
	--fs-base: 1rem;    /* 16px */
	--fs-md: 1.125rem;  /* 18px — body */
	--fs-lg: 1.5rem;    /* 24px */
	--fs-xl: 2rem;      /* 32px */
	--fs-2xl: 2.75rem;  /* 44px */
	--fs-3xl: 3.5rem;   /* 56px */

	/* Editorial display scale (clamped, re-tuned per breakpoint in page CSS). */
	--fs-hero: clamp(2.5rem, 4vw, 3.5rem);
	--fs-h2: clamp(2.625rem, 4vw, 3.75rem);
	--fs-statement: clamp(2rem, 3vw, 3rem);

	--leading-tight: 1.12;
	--leading-snug: 1.35;
	--leading-normal: 1.65;

	--tracking-wide: 0.14em;

	/* ── spacing ───────────────────────────────────────────────────────── */
	--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;

	/* ── layout ────────────────────────────────────────────────────────── */
	--container: 1280px;
	--container-wide: 1440px;
	--radius-sm: 2px;
	--radius-md: 4px;

	/* ── elevation / motion ────────────────────────────────────────────── */
	--shadow-soft: 0 1px 2px rgba(25, 25, 25, 0.05), 0 8px 24px rgba(25, 25, 25, 0.05);
	--shadow-modal: 0 16px 64px rgba(25, 25, 25, 0.22);
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--dur: 180ms;
}
