/* ============================================================
   Sunlight & Shelter — Spacing, Radii, Shadows, Motion
   Generous, grounded, architectural. Soft warm shadows.
   ============================================================ */

: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-9:  4rem;     /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-12: 7rem;     /* 112 */

  /* ---- Radii — soft, doorway-arched ---- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   26px;
  --radius-2xl:  36px;
  --radius-pill: 999px;
  /* The "shelter" arch — flat bottom, rounded top, used on hero cards */
  --radius-arch: 999px 999px 18px 18px;

  /* ---- Warm shadows (tinted with ink, never pure black) ---- */
  --shadow-xs:  0 1px 2px rgba(42, 39, 34, 0.06);
  --shadow-sm:  0 2px 6px rgba(42, 39, 34, 0.07);
  --shadow-md:  0 6px 18px rgba(42, 39, 34, 0.09);
  --shadow-lg:  0 14px 38px rgba(42, 39, 34, 0.12);
  --shadow-xl:  0 28px 64px rgba(42, 39, 34, 0.16);
  /* Warm "sunlight" lift — amber-tinted glow for accent moments */
  --shadow-glow: 0 10px 30px rgba(224, 144, 47, 0.22);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.5);

  /* ---- Borders ---- */
  --border-width: 1px;
  --border-width-strong: 1.5px;

  /* ---- Layout ---- */
  --container-sm:  640px;
  --container-md:  840px;
  --container-lg:  1100px;
  --container-xl:  1320px;
  --gutter:        clamp(1.25rem, 4vw, 4rem); /* @kind spacing */

  /* ---- Motion — calm, confident, no bounce ---- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-in:       cubic-bezier(0.4, 0, 1, 1); /* @kind other */
  --duration-fast:   140ms; /* @kind other */
  --duration-normal: 240ms; /* @kind other */
  --duration-slow:   420ms; /* @kind other */
  --transition-base: all var(--duration-normal) var(--ease-standard);
}
