:root {
  --shadow-s: 0 1px 2px rgba(31,8,18,0.08);
  --shadow-m: 0 4px 14px rgba(31,8,18,0.12);
  --shadow-l: 0 12px 32px rgba(31,8,18,0.16);

  --border-thin: 1.5px solid var(--color-border);
  --border-strong: 2px solid var(--color-border-strong);

  --ease-stamp: cubic-bezier(0.2, 0.9, 0.3, 1.2); /* @kind other */
  --duration-fast: 120ms; /* @kind other */
  --duration-base: 220ms; /* @kind other */

  /* Stamp rotation set — hand-stamped elements sit at a slight, alternating tilt, never dead-level */
  --stamp-rotate-1: -3deg; /* @kind other */
  --stamp-rotate-2: 2.5deg; /* @kind other */
  --stamp-rotate-3: -1.5deg; /* @kind other */
}

/* Grain/distress overlay — layer this on top of stamped, flat-color shapes for the block-print texture
   seen in the lotus mark. Cheap, seamless, no image asset required. */
.katha-grain {
  position: relative;
  isolation: isolate;
}
.katha-grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(31,8,18,0.5) 0, transparent 1.4px),
    radial-gradient(circle at 80% 60%, rgba(31,8,18,0.5) 0, transparent 1.2px),
    radial-gradient(circle at 40% 85%, rgba(31,8,18,0.5) 0, transparent 1.6px),
    radial-gradient(circle at 65% 15%, rgba(31,8,18,0.5) 0, transparent 1px);
  background-size: 7px 7px, 9px 9px, 11px 11px, 6px 6px;
}

/* Stamped-badge treatment: a rough, slightly-imperfect rectangle border like an ink stamp,
   used for tags, seals, and any "official/handmade" marker element. */
.katha-stamped {
  border: 2px solid currentColor;
  border-radius: 3px 9px 4px 8px / 8px 4px 9px 3px;
  outline: 1px solid currentColor;
  outline-offset: 2px;
}
