/**
 * Ingrid Medical Aesthetics — Design Tokens
 * Theme: Clinical Luxury · Med-Tech
 * Phase 0 — change tokens here to reskin the entire site.
 */

:root {
    /* ── Brand palette ── */
    --color-ink: #1a1a1f;
    --color-charcoal: #2d2d35;
    --color-slate: #4a4a55;
    --color-muted: #8b8b96;
    --color-muted-light: #b0b0b8;

    --color-surface: #ffffff;
    --color-surface-warm: #f7f6f4;
    --color-surface-muted: #efecea;
    --color-surface-dark: #141418;

    --color-accent: #b8956b;
    --color-accent-hover: #a6845d;
    --color-accent-soft: #e8ddd0;
    --color-accent-muted: rgba(184, 149, 107, 0.15);
    --color-accent-glow: rgba(184, 149, 107, 0.28);

    --color-border: rgba(26, 26, 31, 0.08);
    --color-border-strong: rgba(26, 26, 31, 0.14);
    --color-border-accent: rgba(184, 149, 107, 0.35);

    --color-success: #2d6a4f;
    --color-error: #9b2226;

    /* ── Typography ── */
    --font-display: 'Crimson Text', Georgia, 'Times New Roman', serif;
    --font-body: 'Crimson Text', Georgia, 'Times New Roman', serif;
    --font-primary: 'Crimson Text', sans-serif;
    --font-secondary: 'Crimson Text', sans-serif;

    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 500;
    --font-weight-display: 400;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-md: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.375rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2.125rem;
    --text-4xl: 2.75rem;

    /* Banner / page hero titles */
    --text-hero: clamp(1.75rem, 3.5vw, 2.5rem);
    --text-hero-lg: clamp(2rem, 4vw, 3rem);

    --banner-min-height: clamp(360px, 48vh, 520px);
    --banner-min-height-media: clamp(480px, 68vh, 720px);
    --banner-padding-y: clamp(3.5rem, 7vw, 5.5rem);
    --banner-title-leading: 1.4;
    --banner-subtitle-leading: 1.75;
    --banner-content-gap: clamp(1.25rem, 3vw, 2rem);
    --banner-title-tracking: -0.01em;

    --leading-tight: 1.2;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
    --tracking-wider: 0.1em;
    --tracking-widest: 0.14em;

    /* ── Spacing ── */
    --space-3xs: 0.25rem;
    --space-2xs: 0.5rem;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 5rem;
    --space-xxl: 6rem;

    /* ── Radius ── */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-pill: 999px;
    --radius-round: 50%;

    /* ── Shadows ── */
    --shadow-xs: 0 1px 2px rgba(26, 26, 31, 0.04);
    --shadow-sm: 0 2px 8px rgba(26, 26, 31, 0.06);
    --shadow-md: 0 8px 24px rgba(26, 26, 31, 0.08);
    --shadow-lg: 0 16px 40px rgba(26, 26, 31, 0.1);
    --shadow-xl: 0 24px 56px rgba(26, 26, 31, 0.12);
    --shadow-accent: 0 12px 32px var(--color-accent-glow);
    --shadow-hover: var(--shadow-accent);

    /* ── Motion ── */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s var(--ease-out);
    --transition-normal: 0.3s var(--ease-out);
    --transition-slow: 0.5s var(--ease-out);

    /* ── Layout ── */
    --container-max: 1400px;
    --container-narrow: 720px;
    --container-padding: 2rem;
    --page-gutter: clamp(1rem, 4vw, var(--container-padding));
    --section-end-gap: clamp(2.5rem, 6vw, 4rem);
    --header-height: 72px;
    --header-height-scrolled: 64px;

    /* ── Z-index scale ── */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-header: 1000;
    --z-overlay: 1100;
    --z-modal: 1200;

    /* ── Legacy aliases (backward compat for style.css & page CSS) ── */
    --primary-color: var(--color-ink);
    --primary-dark: var(--color-charcoal);
    --primary-light: var(--color-charcoal);
    --text-dark: var(--color-ink);
    --text-medium: var(--color-slate);
    --text-light: var(--color-muted);
    --text-lighter: var(--color-muted-light);
    --bg-white: var(--color-surface);
    --bg-light: var(--color-surface-warm);
    --bg-lighter: var(--color-surface-muted);
    --bg-dark: var(--color-surface-dark);
    --border-color: var(--color-border);
    --border-dark: var(--color-border-strong);
    --success-color: var(--color-success);
    --error-color: var(--color-error);
    --font-primary: 'Crimson Text', sans-serif;
    --font-secondary: 'Crimson Text', sans-serif;
}
