/* ── Healing Care Ministries · Spacing, Geometry, Layout & Motion ────── */

: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 — the brand's default block gap */
  --space-8: 3rem;      /* 48 */
  --space-9: 4rem;      /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-12: 7.5rem;   /* 120 — section vertical rhythm */

  /* ---- Section rhythm & containers ---- */
  --section-y: clamp(4rem, 8vw, 7.5rem); /* @kind spacing */
  --container: 1520px;     /* matches ~104px gutters at 1728 */
  --container-narrow: 880px;
  --page-inset: clamp(1.25rem, 6vw, 6.5rem);
  --gutter: 1.25rem;   /* 20px — grid gutter */

  /* ---- Radius scale ---- */
  --radius-xs: 5px;     /* buttons, small chips, inner toggles */
  --radius-sm: 10px;    /* glass cards, form fields, inputs     */
  --radius-md: 20px;    /* in-section photos (e.g. "The gift of partnership") */
  --radius-lg: 40px;    /* hero photo container (homepage)      */
  --radius-pill: 100px; /* tags / capsule chips                 */
  --radius-full: 9999px;

  /* ---- Borders / hairlines ---- */
  --border-hair: 1px;
  --border-thin: 2px;       /* ghost button / outline ring */
  --frame-inset: 25px;      /* signature alabaster hero frame */

  /* ---- Elevation / shadow ----
     The single brand drop shadow. From Figma: X2 Y8, blur 13, spread 5,
     #000000 @ 12%. Not every surface gets a shadow; when one does, it's this. */
  --shadow: 2px 8px 13px 5px rgba(0, 0, 0, 0.12);
  --shadow-md: var(--shadow);  /* alias — brand card shadow */

  /* ---- Glass blur ---- */
  --blur-glass: 15px; /* @kind other */

  /* ---- Focus ring ---- */
  --ring: 0 0 0 3px rgba(143, 183, 184, 0.55);

  /* ---- Breakpoints (reference) ---- */
  --bp-sm: 640px;   /* @kind other */
  --bp-md: 768px;   /* @kind other */
  --bp-lg: 1024px;  /* @kind other */
  --bp-xl: 1280px;  /* @kind other */

  /* ---- Z-index layers ---- */
  --z-base: 0;        /* @kind other */
  --z-raised: 10;     /* @kind other */
  --z-sticky: 100;    /* @kind other */
  --z-overlay: 1000;  /* @kind other */
  --z-modal: 1100;    /* @kind other */
  --z-toast: 1200;    /* @kind other */

  /* ---- Motion ---- */
  --ease-gentle: cubic-bezier(0.33, 0, 0.2, 1);   /* @kind other */ /* calm, unhurried easing */
  --ease-soft-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast: 160ms;  /* @kind other */
  --dur-base: 760ms;  /* @kind other */ /* the gentle site standard */
  --dur-slow: 760ms;  /* @kind other */ /* fades, image reveals */
  --stagger: 80ms;    /* @kind other */
}
