/* ==========================================================================
   FloorMatt Studios — Design tokens
   ========================================================================== */

:root {
  /* Brand */
  --brand-purple: #ad5bfb;
  --brand-orange: #ff784c;
  --brand-gradient: linear-gradient(
    45deg,
    #745bff 0%,
    #f95bf6 50%,
    #ff7a41 100%
  );

  /* Surfaces */
  --color-bg-deep: #0d1015;
  --color-bg: #101419;
  --color-surface: #171e24;
  --color-surface-raised: #1c252c;
  --color-surface-hover: #222d35;

  /* Borders */
  --color-border-subtle: #2b353d;
  --color-border-strong: #3a4650;
  --color-border-hover: rgba(173, 91, 251, 0.45);

  /* Text */
  --color-text-primary: #f7f7f4;
  --color-text-secondary: #bcc5cd;
  --color-text-muted: #87929c;
  --color-text-disabled: #5d6871;

  /* Semantic */
  --color-success: #65c18c;
  --color-warning: #f2bd5a;
  --color-danger: #f0646c;
  --color-focus: #ad5bfb;

  /* Compatibility aliases (map legacy names → semantic tokens) */
  --color-primary: var(--brand-purple);
  --color-primary-hover: #c07aff;
  --color-secondary: var(--brand-orange);
  --color-text: var(--color-text-primary);
  --color-muted: var(--color-text-secondary);
  --color-border: var(--color-border-subtle);
  --color-card: var(--color-surface);
  --color-card-elevated: var(--color-surface-raised);
  --color-error: var(--color-danger);
  --color-overlay: rgba(13, 16, 21, 0.94);

  /* Typography */
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-sans: var(--font-body);

  --text-eyebrow: 0.75rem;
  --text-section-eyebrow: 0.9375rem; /* 15px — section identifiers */
  --text-body-sm: 0.9375rem;
  --text-body: 1.0625rem;
  --text-intro: clamp(1.05rem, 1.4vw, 1.3rem);
  --text-card-title: clamp(1.1rem, 1.5vw, 1.3rem);
  --text-section: clamp(1.875rem, 3.2vw, 3rem); /* ~30–48px */
  --text-hero: clamp(2.4rem, 5.5vw, 4.75rem);

  /* Spacing (8-point system) */
  --space-1: 0.25rem; /* 4px */
  --space-2: 0.5rem; /* 8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem; /* 16px */
  --space-5: 1.5rem; /* 24px */
  --space-6: 2rem; /* 32px */
  --space-7: 3rem; /* 48px */
  --space-8: 4rem; /* 64px */
  --space-9: 6rem; /* 96px */

  /* Radii */
  --radius-sm: 0.625rem; /* 10px */
  --radius-md: 0.875rem; /* 14px */
  --radius-lg: 1.25rem; /* 20px */
  --radius-xl: 1.75rem; /* 28px */
  --radius-pill: 999px;

  /* Layout */
  --content-max-width: 1280px;
  --nav-height: 4.25rem;
  --measure: 68ch;
  --measure-intro:900px;
  --hero-logo-max: 1180px;

  /* Motif */
  --motif-stroke: #ad5bfb;
  --motif-opacity: 0.1;

  /* Motion */
  --duration-fast: 140ms;
  --duration-standard: 200ms;
  --duration-slow: 280ms;
  --ease-calm: cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition: var(--duration-standard) var(--ease-calm);

  /* Shadows (restrained) */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.32);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.34);
  --shadow-project: 0 6px 22px rgba(0, 0, 0, 0.28);
  --shadow-project-hover: 0 14px 36px rgba(0, 0, 0, 0.4);
}
