/* KH Design System · Utility classes (v2)
 * Helpers for hand-authored HTML (styleguide, cards, pages). Components use inline
 * styles. v2 relaxes the all-caps rule: display and labels are sentence / title case
 * by default; uppercase is opt-in via .kh-caps. Numbers stay mono.
 */

/* Display: Archivo, heavy + tight. Sentence case by default (friendlier). */
.kh-display {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 110, 'wght' 800;
  letter-spacing: -0.028em;
  line-height: 1.0;
  margin: 0;
}
.kh-display-xl {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 112, 'wght' 850;
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin: 0;
}

/* Opt-in uppercase treatment (use for short display words, never acronyms alone) */
.kh-caps { text-transform: uppercase; letter-spacing: -0.02em; }

/* Gradient text: for hero words and big numbers */
.kh-gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Eyebrow: small, muted, title case (replaces the all-caps mono label) */
.kh-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* Big number: Archivo heavy, for stats */
.kh-num {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 108, 'wght' 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Prose: Instrument Sans running text */
.kh-prose {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-body);
}

/* Data: IBM Plex Mono, reserved for genuine data (numbers, timestamps, code) */
.kh-mono {
  font-family: var(--font-mono);
  font-variant-ligatures: none;
}

/* Legacy mono micro-label (still available; no longer forced uppercase) */
.kh-label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-label);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* Soft hover lift for cards (transform + shadow) */
.kh-lift {
  transition: transform var(--motion-hover) var(--ease),
              box-shadow var(--motion-hover) var(--ease),
              border-color var(--motion-hover) var(--ease);
}
.kh-lift:hover {
  transform: translateY(var(--lift-y));
  box-shadow: var(--shadow-md);
  border-color: #DADEEA;
}
