/* ============================================================================
   Kelderhof Ops — base (reset, typography, body)
   ============================================================================ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';  /* Inter stylistic tweaks; no-op for system fonts */
  min-height: 100vh;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; padding: 0; }
textarea { resize: vertical; }
a { color: var(--sage-darker); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sage-deep); outline-offset: 2px; border-radius: 4px;
}

img, svg { max-width: 100%; display: block; }

.display { font-weight: 700; letter-spacing: -0.005em; }
.tabular { font-variant-numeric: tabular-nums; }
.muted   { color: var(--text-mid); }
.subtle  { color: var(--text-light); }
.kicker  { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); font-weight: 600; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

@keyframes fade  { from { opacity: 0 } to { opacity: 1 } }
@keyframes slide { from { transform: translateY(100%) } to { transform: translateY(0) } }
@keyframes spin  { to { transform: rotate(360deg) } }
@keyframes pulseAlert {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,90,58,0); }
  50%      { box-shadow: 0 0 0 4px rgba(184,90,58,0.12); }
}
