/* ============================================================
   MISCH Implant Institute — Effects: shadows, motion, texture
   Editorial keynote feel: minimal soft UI shadow, confident
   transitions, no bounce. Imagery is greyscale + single red
   focal accent.
   ============================================================ */

:root {
  /* ---- Elevation (used sparingly on light grounds) ------- */
  --shadow-sm:    0 1px 2px rgba(11,11,12,0.18);
  --shadow-md:    0 6px 20px rgba(11,11,12,0.22);
  --shadow-lg:    0 18px 48px rgba(11,11,12,0.34);
  --shadow-accent: 0 12px 36px rgba(219,0,50,0.32);  /* red glow for CTAs */

  /* Inset hairline used to define cards on dark grounds */
  --inset-hairline: inset 0 0 0 1px rgba(255,255,255,0.08);

  /* ---- Motion -------------------------------------------- */
  --ease-standard:  cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-emphasis:  cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);      /* @kind other */
  --dur-fast:       140ms;    /* @kind other */
  --dur-base:       240ms;    /* @kind other */
  --dur-slow:       420ms;    /* @kind other */
  --dur-reveal:     640ms; /* @kind other */

  /* ---- Imagery treatment --------------------------------- */
  /* Clinical / anatomy imagery: greyscale, one red focal accent */
  --img-greyscale:  grayscale(1) contrast(1.05);  /* @kind other */
  --img-overlay-dark: linear-gradient(180deg, rgba(11,11,12,0) 30%, rgba(11,11,12,0.92) 100%); /* @kind other */
  --img-overlay-red:  linear-gradient(180deg, rgba(60,0,3,0) 35%, rgba(60,0,3,0.94) 100%); /* @kind other */
  --img-protection:   linear-gradient(180deg, rgba(11,11,12,0.65) 0%, rgba(11,11,12,0) 45%); /* @kind other */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
