/**
 * TA Horizon — Design tokens
 *
 * Canonical tokens use --th-*. Legacy --ta-* aliases map to the same values
 * so existing foundation markup keeps working.
 */

:root {
	/* Color — surfaces */
	--th-black: #050505;
	--th-matte-black: #0a0a0a;
	--th-black-soft: #101010;
	--th-charcoal: #161412;
	--th-ivory: #f4efe6;
	--th-white: #ffffff;
	--th-gray: #9c9790;
	--th-gray-dark: #6b6660;

	/* Color — champagne gold (accent only) */
	--th-gold: #c5a572;
	--th-gold-light: #d4bc94;
	--th-gold-dark: #8a7048;

	/* Color — borders & overlays */
	--th-border-gold: rgba(197, 165, 114, 0.22);
	--th-border-light: rgba(244, 239, 230, 0.08);
	--th-gold-glow: rgba(197, 165, 114, 0.08);
	--th-black-overlay: rgba(0, 0, 0, 0.62);
	--th-muted: var(--th-gray);
	--th-border: var(--th-border-gold);

	/* Typography */
	--th-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--th-font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

	--th-fw-regular: 400;
	--th-fw-medium: 500;
	--th-fw-semibold: 600;
	--th-fw-bold: 700;

	--th-lh-tight: 1.15;
	--th-lh-heading: 1.25;
	--th-lh-body: 1.65;
	--th-lh-label: 1.4;

	--th-ls-tight: 0.01em;
	--th-ls-heading: 0.03em;
	--th-ls-eyebrow: 0.18em;
	--th-ls-nav: 0.14em;
	--th-ls-button: 0.12em;

	--th-fs-display: clamp(2.125rem, 3.6vw, 3.25rem);
	--th-fs-h1: clamp(1.75rem, 2.6vw, 2.5rem);
	--th-fs-h2: clamp(1.45rem, 2.2vw, 2rem);
	--th-fs-h3: clamp(1.2rem, 1.6vw, 1.4rem);
	--th-fs-h4: 1.0625rem;
	--th-fs-body: 1rem;
	--th-fs-small: 0.8125rem;
	--th-fs-eyebrow: 0.6875rem;
	--th-fs-nav: 0.75rem;
	--th-fs-button: 0.75rem;
	--th-fs-price: 1.625rem;
	--th-fs-price-regular: 0.8125rem;
	--th-fs-product-title: 1.35rem;

	/* Spacing scale */
	--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: 4.5rem;

	--th-section-space: var(--space-7);
	--th-container-max: 1200px;
	--th-container-narrow: 640px;
	--th-container-wide: 1280px;
	--th-container-gutter: var(--space-5);

	/* Radius — keep tight for luxury, not pill-like */
	--th-radius: 1px;
	--th-radius-sm: 1px;
	--th-radius-md: 2px;

	/* Shadows — depth without glow */
	--th-shadow-subtle: 0 12px 32px rgba(0, 0, 0, 0.22);
	--th-shadow-medium: 0 18px 40px rgba(0, 0, 0, 0.3);
	--th-shadow-luxury: 0 24px 48px rgba(0, 0, 0, 0.36);
	--th-glow-gold: 0 0 24px var(--th-gold-glow);

	/* Motion */
	--th-duration: 220ms;
	--th-duration-slow: 360ms;
	--th-ease: cubic-bezier(0.22, 1, 0.36, 1);

	/* Focus */
	--th-focus-ring: 2px solid var(--th-gold-light);
	--th-focus-offset: 3px;

	/* Layout */
	--th-header-z: 1020;
	--th-float-z: 1030;
	--th-tap-min: 44px;

	/* Legacy aliases */
	--ta-color-black: var(--th-black);
	--ta-color-matte-black: var(--th-matte-black);
	--ta-color-gold: var(--th-gold);
	--ta-color-gold-light: var(--th-gold-light);
	--ta-color-champagne: var(--th-gold-light);
	--ta-color-ivory: var(--th-ivory);
	--ta-color-white: var(--th-white);
	--ta-font-primary: var(--th-font-body);
	--ta-font-display: var(--th-font-display);
	--ta-space-xs: var(--space-1);
	--ta-space-sm: var(--space-2);
	--ta-space-md: var(--space-4);
	--ta-space-lg: var(--space-5);
	--ta-space-xl: var(--space-6);
	--ta-space-2xl: var(--space-7);
	--ta-radius-sm: var(--th-radius-sm);
	--ta-radius-md: var(--th-radius-md);
	--ta-radius-lg: var(--th-radius-md);
	--ta-shadow-gold: var(--th-glow-gold);
	--ta-transition: var(--th-duration) var(--th-ease);
}

@media (min-width: 768px) {
	:root {
		--th-section-space: var(--space-8);
		--th-container-gutter: var(--space-5);
	}
}

@media (min-width: 1200px) {
	:root {
		--th-section-space: 5.5rem;
		--th-container-gutter: var(--space-6);
	}
}
