/* ==========================================================================
   Nirmoka Studios — Spacing, radius, shadow & motion tokens
   ========================================================================== */

:root {
  /* ---- Spacing scale (4px base) --------------------------------------- */
  --space-1:   0.25rem;   /*  4px */
  --space-2:   0.5rem;    /*  8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-32:  8rem;      /* 128px — generous section rhythm              */

  /* ---- Radius — 0.75rem is the brand default ------------------------- */
  --radius:     0.75rem;                      /* 12px — lg                */
  --radius-sm:  calc(var(--radius) - 4px);    /*  8px                     */
  --radius-md:  calc(var(--radius) - 2px);    /* 10px                     */
  --radius-lg:  var(--radius);                /* 12px                     */
  --radius-xl:  calc(var(--radius) + 4px);    /* 16px                     */
  --radius-2xl: 1.5rem;                       /* 24px — featured cards    */
  --radius-3xl: 1.875rem;                     /* 30px — hero media cards  */
  --radius-full: 9999px;

  /* ---- Shadows — soft and grounded ----------------------------------- */
  --shadow-subtle:
    0 1px 3px 0 rgba(0, 0, 0, 0.10),
    0 1px 2px -1px rgba(0, 0, 0, 0.10);
  --shadow-elevated:
    0 4px 6px -1px rgba(0, 0, 0, 0.10),
    0 2px 4px -2px rgba(0, 0, 0, 0.10);
  --shadow-card:
    0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-photo:                              /* darkroom hanging photos */
    0 20px 40px rgba(0, 0, 0, 0.60),
    0 8px 16px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.90);

  /* ---- Glass — translucent panels over video / dark imagery ---------- */
  --glass-bg:           rgba(255, 255, 255, 0.08);
  --glass-bg-hover:     rgba(255, 255, 255, 0.12);
  --glass-border:       rgba(255, 255, 255, 0.15);
  --glass-blur:         blur(25px) saturate(1.5);   /* @kind other */
  --glass-shadow:
    0 8px 32px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);

  --glass-navbar-bg:    rgba(0, 0, 0, 0.15);
  --glass-navbar-blur:  blur(30px) saturate(1.8);   /* @kind other */

  /* ---- Motion -------------------------------------------------------- */
  --ease-gentle:  cubic-bezier(0.4, 0, 0.2, 1);  /* @kind other */
  --dur-fast:     0.15s;     /* @kind other */
  --dur-base:     0.3s;      /* @kind other */
  --dur-slow:     0.5s;      /* @kind other */

  /* Signature interaction scales */
  --scale-hover:  1.05;      /* @kind other */
  --scale-press:  0.95;      /* @kind other */
}
