/* ============================================================
   Bobinet Square — Spacing, radii, shadows, layout
   4px base grid. Crisp, architectural radii. Soft warm shadows;
   borders do most of the structural work.
   ============================================================ */
:root {
  /* Spacing (4px grid) */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;
  --space-11: 160px;

  /* Radii — crisp, factory-square heritage */
  --radius-xs:   3px;
  --radius-sm:   5px;
  --radius-md:   8px;   /* default card / button */
  --radius-lg:   12px;
  --radius-xl:   18px;
  --radius-2xl:  26px;
  --radius-pill: 999px;

  /* Border widths */
  --border-hair: 1px;
  --border-thick: 1.5px;
  --border-frame: 2px; /* the B² square-frame motif */

  /* Shadows — low, warm-ink tinted */
  --shadow-xs: 0 1px 2px rgba(33,28,23,0.06);
  --shadow-sm: 0 2px 6px rgba(33,28,23,0.07);
  --shadow-md: 0 8px 20px -8px rgba(33,28,23,0.14);
  --shadow-lg: 0 20px 44px -14px rgba(33,28,23,0.20);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.5);

  /* Focus ring */
  --ring: 0 0 0 3px rgba(197,106,69,0.35);

  /* Layout */
  --container:    1200px;
  --container-sm: 760px;
  --gutter:       var(--space-5);

  /* Motion — calm, no bounce */
  --ease-out:   cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-in-out:cubic-bezier(0.45, 0, 0.2, 1);     /* @kind other */
  --dur-fast:   140ms; /* @kind other */
  --dur-base:   220ms; /* @kind other */
  --dur-slow:   420ms; /* @kind other */
}
