/* ─────────────────────────────────────────────────────────────
   The Career Portfolio — Spacing, radius, shadow, motion, layout
   ───────────────────────────────────────────────────────────── */
:root {
  /* ── Spacing scale (4px base) ── */
  --space-0:  0;
  --space-1:  0.25rem;  /* 4 */
  --space-2:  0.5rem;   /* 8 */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  2.5rem;   /* 40 */
  --space-8:  3rem;     /* 48 */
  --space-10: 4rem;     /* 64 */
  --space-12: 5rem;     /* 80 */
  --space-16: 8rem;     /* 128 */

  /* Component rhythm */
  --gap-inline: var(--space-2);
  --pad-control-x: var(--space-5);
  --pad-control-y: var(--space-3);
  --pad-card: var(--space-6);
  --section-y: var(--space-12);
  --container-max: 1200px; /* @kind spacing */
  --reading-max: 68ch;     /* @kind spacing */

  /* ── Radius — soft, friendly, never hard-cornered ── */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;   /* default card */
  --radius-lg:  18px;
  --radius-xl:  26px;
  --radius-pill: 999px;  /* buttons, chips — the logo's rounded language */

  /* ── Shadows — warm-tinted, soft, low spread (paper, not glass) ── */
  --shadow-xs: 0 1px 2px rgba(7, 35, 61, 0.06);
  --shadow-sm: 0 2px 6px rgba(7, 35, 61, 0.08);
  --shadow-md: 0 6px 18px rgba(7, 35, 61, 0.10);
  --shadow-lg: 0 14px 36px rgba(7, 35, 61, 0.14);
  --shadow-xl: 0 28px 64px rgba(7, 35, 61, 0.18);
  --shadow-focus: var(--ring);
  /* Warm lift used on coral/gold elements */
  --shadow-coral: 0 10px 24px rgba(248, 86, 67, 0.28);

  /* ── Motion ── */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);   /* @kind other */
  --ease-in-out:cubic-bezier(0.65, 0, 0.35, 1);   /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-base:   220ms; /* @kind other */
  --dur-slow:   360ms; /* @kind other */

  /* ── Z-index ── */
  --z-base: 0;       /* @kind other */
  --z-sticky: 100;   /* @kind other */
  --z-overlay: 800;  /* @kind other */
  --z-modal: 900;    /* @kind other */
  --z-toast: 1000;   /* @kind other */
}
