/* ============================================================
   Macnitech — Elevation, glow & motion
   Shadows are WARM (tinted with void/umber), never neutral grey,
   so they sit naturally on cream & bone surfaces.

   The "glow" tokens deliver the brand's signature button feel:
   a soft oxblood halo behind primary actions. Modern & polished.
   ============================================================ */

:root {
  /* ---- Resting shadows (ambient, soft, warm) ---- */
  --shadow-xs:  0 1px 2px rgba(26, 6, 8, 0.06);
  --shadow-sm:  0 2px 6px rgba(26, 6, 8, 0.07), 0 1px 2px rgba(26, 6, 8, 0.05);
  --shadow-md:  0 6px 18px rgba(26, 6, 8, 0.09), 0 2px 6px rgba(26, 6, 8, 0.06);
  --shadow-lg:  0 18px 44px rgba(26, 6, 8, 0.12), 0 6px 14px rgba(26, 6, 8, 0.07);
  --shadow-xl:  0 32px 70px rgba(26, 6, 8, 0.16), 0 12px 24px rgba(26, 6, 8, 0.08);

  /* ---- Inset (for inputs / sunken wells) ---- */
  --shadow-inset: inset 0 1px 2px rgba(26, 6, 8, 0.08);

  /* ---- GLOW — the signature primary-button halo ----
     Layer 1: tight contact shadow for grounding.
     Layer 2: soft oxblood bloom behind the element. */
  --glow-accent:        0 2px 8px rgba(26, 6, 8, 0.12), 0 6px 22px rgba(123, 30, 35, 0.34);
  --glow-accent-strong: 0 2px 10px rgba(26, 6, 8, 0.16), 0 10px 32px rgba(123, 30, 35, 0.48);
  --glow-accent-soft:   0 1px 4px rgba(26, 6, 8, 0.10), 0 4px 16px rgba(123, 30, 35, 0.22);

  /* Glow on dark grounds reads as a warmer, brighter bloom */
  --glow-on-dark:       0 4px 14px rgba(0, 0, 0, 0.35), 0 8px 30px rgba(196, 86, 92, 0.40);

  /* ---- Focus ring (accessible, brand-tinted) ---- */
  --ring:      0 0 0 3px rgba(123, 30, 35, 0.30);
  --ring-dark: 0 0 0 3px rgba(196, 86, 92, 0.45);

  /* ---- Motion ---- */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);   /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);   /* @kind other */
  --ease-soft:   cubic-bezier(0.33, 0, 0.20, 1);   /* @kind other */

  --dur-fast:  140ms;   /* @kind other */
  --dur-base:  220ms;   /* @kind other */
  --dur-slow:  420ms;   /* @kind other */

  /* ---- Backdrop blur ---- */
  --blur-panel: 14px;   /* @kind other */
}
