/**
 * FragkosDoors design tokens.
 * Hex values live here and in theme.json. Components use the semantic names.
 */

:root {
	--color-bg-dark: #121416;
	--color-bg-dark-raised: #1c1f22;
	--color-bg-light: #f3efe8;
	--color-surface: #f7f4ef;
	--color-surface-white: #ffffff;
	--color-text-primary: #16181b;
	--color-text-secondary: #5c574f;
	--color-text-on-dark: #f3efe8;
	--color-text-on-dark-muted: #c8c1b6;
	--color-accent: #b8783e;
	--color-accent-deep: #7a4e2a;
	--color-border: #ddd6cc;
	--color-border-strong: #c9c0b4;
	--color-border-on-dark: rgba(243, 239, 232, 0.22);
	--color-focus: #121416;
	--color-focus-on-dark: #f3efe8;

	--font-text: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: var(--font-text);
	--weight-body: 400;
	--weight-display: 500;
	--weight-heading: 500;
	--weight-ui: 500;

	--text-display: clamp(2.5rem, 1.7rem + 2.4vw, 4.5rem);
	--text-h1: clamp(2.125rem, 1.5rem + 1.8vw, 3.5rem);
	--text-h2: clamp(1.75rem, 1.35rem + 1.15vw, 2.5rem);
	--text-h3: clamp(1.375rem, 1.15rem + 0.6vw, 1.75rem);
	--text-h4: clamp(1.125rem, 1.05rem + 0.25vw, 1.3125rem);
	--text-body-lg: clamp(1.125rem, 1.05rem + 0.2vw, 1.25rem);
	--text-body: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);
	--text-small: 0.875rem;
	--text-eyebrow: 0.75rem;
	--text-nav: 0.9375rem;
	--text-button: 0.8125rem;

	/*
	 * Homepage type below the hero.
	 * The hero is the only display moment. Later sections stay quieter:
	 * photography, materials, composition and whitespace carry the weight.
	 * Do not size future homepage headings from --text-display or --text-h1,
	 * and do not enlarge type to fill a section.
	 */
	--text-section: clamp(1.9rem, 1.15rem + 1.64vw, 3rem);
	--text-editorial: clamp(1.7rem, 1.15rem + 1vw, 2.5rem);
	--text-name: clamp(1.65rem, 1.2rem + 0.75vw, 2.25rem);
	--text-tile: clamp(1.5rem, 1.15rem + 0.65vw, 2.05rem);

	--leading-display: 1.05;
	--leading-heading: 1.15;
	--leading-body: 1.65;
	--measure: 65ch;

	--tracking-eyebrow: 0.14em;
	--tracking-button: 0.08em;

	--layout-max: 90rem;
	--layout-content: 72rem;
	--layout-editorial: 40rem;
	--gutter: clamp(1.25rem, 0.7rem + 1.8vw, 3rem);

	--space-3xs: clamp(0.25rem, 0.2rem + 0.15vw, 0.375rem);
	--space-2xs: clamp(0.5rem, 0.42rem + 0.25vw, 0.75rem);
	--space-xs: clamp(0.75rem, 0.65rem + 0.35vw, 1rem);
	--space-sm: clamp(1rem, 0.85rem + 0.5vw, 1.5rem);
	--space-md: clamp(1.5rem, 1.15rem + 1vw, 2.25rem);
	--space-lg: clamp(2.25rem, 1.6rem + 1.8vw, 3.5rem);
	--space-xl: clamp(3.5rem, 2.4rem + 3vw, 5.5rem);
	--space-2xl: clamp(4.5rem, 3rem + 4.5vw, 8.5rem);

	--radius-none: 0;
	--radius-hairline: 2px;
	--shadow-none: none;
	--rule: 1px solid var(--color-border);
	--rule-on-dark: 1px solid var(--color-border-on-dark);
}
