/* ============================================================
   GROUNDWORK CX — EFFECTS: radii, borders, shadows, motion
   Restrained and structural. Soft shadows, modest radii.
   Color reinforces meaning; never the sole signal (a11y).
   ============================================================ */
:root {
  /* ---- Radii (modest — structure over softness) ---- */
  --radius-xs:  3px;
  --radius-sm:  6px;   /* buttons, inputs, tags */
  --radius-md:  10px;  /* cards */
  --radius-lg:  16px;  /* large panels, assessment cards */
  --radius-xl:  24px;
  --radius-pill: 999px;
  --radius-icon: 12px; /* reverse-icon rounded square */

  /* ---- Border widths ---- */
  --border-w:      1px;
  --border-w-2:    2px;
  --border-accent: 3px; /* the short gold underline rule */

  /* ---- Shadows (soft, low-spread, cool-neutral) ---- */
  --shadow-xs: 0 1px 2px rgba(11,31,58,0.06);
  --shadow-sm: 0 1px 3px rgba(11,31,58,0.08), 0 1px 2px rgba(11,31,58,0.04);
  --shadow-md: 0 4px 12px rgba(11,31,58,0.08), 0 2px 4px rgba(11,31,58,0.04);
  --shadow-lg: 0 12px 28px rgba(11,31,58,0.12), 0 4px 8px rgba(11,31,58,0.05);
  --shadow-xl: 0 24px 56px rgba(11,31,58,0.16);
  /* On navy surfaces, lift with gold-tinted glow sparingly */
  --shadow-focus: 0 0 0 3px var(--ring-focus);

  /* ---- The signature gold rule (short underline under headings) ---- */
  --rule-gold-w: 48px;

  /* ---- Motion — calm, purposeful, no bounce ---- */
  --ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1); /* @kind other */
  --ease-out:      cubic-bezier(0.0, 0.0, 0.2, 1); /* @kind other */
  --ease-in:       cubic-bezier(0.4, 0.0, 1, 1); /* @kind other */
  --dur-fast:   120ms; /* @kind other */
  --dur-normal: 200ms; /* @kind other */
  --dur-slow:   320ms; /* @kind other */

  /* ---- Z-index scale ---- */
  --z-base: 1; /* @kind other */
  --z-sticky: 100; /* @kind other */
  --z-overlay: 1000; /* @kind other */
  --z-modal: 1100; /* @kind other */
  --z-toast: 1200; /* @kind other */
}

/* The recurring gold underline used beneath headings / eyebrows */
.gw-rule {
  display: block;
  width: var(--rule-gold-w);
  height: var(--border-accent);
  background: var(--gold);
  border: 0;
  border-radius: var(--radius-pill);
  margin: var(--space-sm) 0;
}
