/* ==========================================================================
   Yendra Digital — Radius, Elevation & Motion
   Modern, restrained. Elevation on dark = borders + soft ambient shadow,
   never heavy drop shadows. Emerald glow reserved for the one accent.
   ========================================================================== */

:root {
  /* ---- Corner radius — moderate, precise ------------------------------- */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   10px;   /* default controls, inputs                 */
  --radius-lg:   14px;   /* cards                                    */
  --radius-xl:   20px;   /* panels, modals                          */
  --radius-2xl:  28px;   /* feature surfaces                        */
  --radius-full: 999px;  /* pills, avatars                          */

  /* ---- Elevation — ambient + hairline, tuned for dard surfaces --------- */
  --shadow-none: none;
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.30);
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.30), 0 2px 6px rgba(0,0,0,0.24);
  --shadow-md:  0 4px 14px rgba(0,0,0,0.34), 0 1px 3px rgba(0,0,0,0.30);
  --shadow-lg:  0 12px 34px rgba(0,0,0,0.44), 0 2px 8px rgba(0,0,0,0.30);
  --shadow-xl:  0 28px 64px rgba(0,0,0,0.52), 0 6px 16px rgba(0,0,0,0.34);

  /* Inset hairline that reads as a crisp top edge on raised surfaces */
  --edge-top:   inset 0 1px 0 rgba(255,255,255,0.05); /* @kind shadow */

  /* Emerald glow — the only colored shadow. Use on the primary accent only */
  --glow-accent:    0 0 0 1px rgba(16,185,129,0.30), 0 8px 30px rgba(16,185,129,0.22);
  --glow-accent-sm: 0 0 18px rgba(16,185,129,0.28);
  --focus-ring:     0 0 0 3px var(--ring);

  /* ---- Motion — quick, eased, never bouncy ----------------------------- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);     /* @kind other */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);  /* @kind other */
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --duration-fast:   120ms; /* @kind other */
  --duration-base:   180ms; /* @kind other */
  --duration-slow:   280ms; /* @kind other */
  --duration-slower: 480ms; /* @kind other */

  --transition-control: color var(--duration-fast) var(--ease-standard),
                        background-color var(--duration-fast) var(--ease-standard),
                        border-color var(--duration-fast) var(--ease-standard),
                        box-shadow var(--duration-fast) var(--ease-standard),
                        transform var(--duration-fast) var(--ease-standard),
                        opacity var(--duration-fast) var(--ease-standard);
}
