/* ============================================================
   The Peeled Closet — Spacing, layout, radii, shadows, motion
   Museum-label restraint: near-square corners, hairline borders,
   shadows reserved for floating surfaces only.
   ============================================================ */

:root {
  /* --- Spacing (4px base) --- */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* --- Layout --- */
  --maxw-page: 1440px;       /* full editorial width */
  --maxw-content: 1180px;    /* grids */
  --maxw-prose: 660px;       /* reading measure */
  --gutter: clamp(16px, 4vw, 56px); /* @kind spacing */
  --grid-gap: clamp(12px, 1.4vw, 22px);
  --nav-h: 64px;

  /* Product image ratio = 4:5 */
  --ratio-product: 4 / 5;   /* @kind other */
  --ratio-editorial: 3 / 4; /* @kind other */
  --ratio-wide: 16 / 9;     /* @kind other */

  /* --- Radii (sharp / editorial) --- */
  --radius-0: 0;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* --- Borders --- */
  --bw-hair: 1px;       /* @kind other */
  --bw-strong: 1.5px;   /* @kind other */

  /* --- Shadows (restrained — floating surfaces only) --- */
  --shadow-none: none;
  --shadow-pop: 0 1px 2px rgba(28,27,25,0.04), 0 8px 24px rgba(28,27,25,0.08);
  --shadow-overlay: 0 24px 60px rgba(28,27,25,0.18);
  --shadow-focus: 0 0 0 2px var(--white), 0 0 0 4px var(--ink);

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);   /* @kind other */
  --ease-inout: cubic-bezier(0.65, 0.05, 0.36, 1); /* @kind other */
  --dur-fast: 120ms;   /* @kind other */
  --dur-base: 200ms;   /* @kind other */
  --dur-slow: 320ms;   /* @kind other */

  /* --- Z --- */
  --z-nav: 100;        /* @kind other */
  --z-overlay: 400;    /* @kind other */
  --z-modal: 500;      /* @kind other */
  --z-toast: 600;      /* @kind other */
}
