/* ===========================================================================
   Elsewhere Living — Spacing, radii, shadows, layout
   Generous, editorial whitespace. Minimal radii (the brand is largely square
   with the one exception of the fully-rounded pill). Shadows are whisper-soft.
   =========================================================================== */
: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:   3rem;      /* 48 */
  --space-8:   4rem;      /* 64 */
  --space-9:   6rem;      /* 96 */
  --space-10:  8rem;      /* 128 */

  /* ---- Section rhythm ---- */
  --section-y:    var(--space-9);
  --gutter:       var(--space-6);
  --content-max:  1200px;
  --measure:      62ch;      /* ideal reading width @kind spacing */

  /* ---- Radii — square brand, soft only where intentional ---- */
  --radius-none:  0;
  --radius-xs:    2px;
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    14px;
  --radius-pill:  999px;     /* the elsewhere.living capsule */

  /* ---- Border widths ---- */
  --bw-hair:   1px;          /* the signature thin rule */
  --bw-reg:    1.5px;
  --bw-pill:   1.25px;       /* pill outline */

  /* ---- Shadows — barely there; this brand prefers borders to shadows ---- */
  --shadow-none:  none;
  --shadow-xs:    0 1px 2px rgba(20,22,28,0.06);
  --shadow-sm:    0 2px 10px rgba(20,22,28,0.08);
  --shadow-md:    0 12px 36px rgba(18,22,32,0.12);
  --shadow-lg:    0 28px 70px rgba(14,18,28,0.20);
  --shadow-photo: 0 30px 80px rgba(10,14,22,0.34);  /* lifting a photo card */

  /* ---- Motion ---- */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-inout:  cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --dur-fast:    160ms; /* @kind other */
  --dur-base:    320ms; /* @kind other */
  --dur-slow:    620ms; /* @kind other */

  /* ---- Film grain / texture opacity (brand uses subtle photographic grain) ---- */
  --grain-opacity: 0.06; /* @kind other */

  /* ---- Z layers ---- */
  --z-base:    0; /* @kind other */
  --z-raised:  10; /* @kind other */
  --z-nav:     100; /* @kind other */
  --z-overlay: 1000; /* @kind other */
}
