/* kn-wwa — design tokens (S2, UX-GATE seed).
 *
 * Club identity: ivory/ink base with a single deep-green accent, serif
 * display headings over a clean sans body. No web fonts, no frameworks —
 * hand-rolled, ARM64-light. Owners restyle the whole app by editing these
 * variables (they are the single source of truth for colour + type).
 */

:root {
  /* --- palette: ink / ivory + one accent ----------------------------- */
  --kn-ivory:        #f5f1e8;
  --kn-paper:        #fffdf8;
  --kn-ink:          #17201a;
  --kn-ink-soft:     #3b463d;
  --kn-muted:        #6a736b;
  --kn-line:         #e6ded0;
  --kn-line-strong:  #d3c9b6;

  --kn-accent:       #1f5c3d;
  --kn-accent-strong:#164a30;
  --kn-accent-soft:  #e6f0e9;

  --kn-danger:       #8c2f2f;
  --kn-danger-soft:  #f7e9e6;
  --kn-info:         #2c4a68;
  --kn-info-soft:    #e8eef4;
  --kn-soon:         #8a6a1c;
  --kn-soon-soft:    #f5efdc;

  /* --- typography ---------------------------------------------------- */
  --kn-font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --kn-font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --kn-fs-hero:  clamp(2rem, 4.5vw, 3rem);
  --kn-fs-h2:    1.5rem;
  --kn-fs-h3:    1.12rem;
  --kn-fs-body:  1.02rem;
  --kn-fs-small: 0.86rem;

  --kn-lh-tight: 1.16;
  --kn-lh:       1.62;
  --kn-ls-tight: -0.012em;

  /* --- spacing scale ------------------------------------------------- */
  --kn-s1: 0.35rem;
  --kn-s2: 0.6rem;
  --kn-s3: 1rem;
  --kn-s4: 1.5rem;
  --kn-s5: 2.25rem;
  --kn-s6: 3.5rem;
  --kn-max: 62rem;

  /* --- radii, shadows, motion --------------------------------------- */
  --kn-r-sm: 0.4rem;
  --kn-r:    0.7rem;
  --kn-r-lg: 1rem;

  --kn-shadow-sm: 0 1px 2px rgba(23, 32, 26, 0.06);
  --kn-shadow:    0 6px 18px -12px rgba(23, 32, 26, 0.35);
  --kn-shadow-lg: 0 18px 40px -24px rgba(23, 32, 26, 0.45);

  --kn-speed: 140ms;
  --kn-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --kn-focus: 0 0 0 3px rgba(31, 92, 61, 0.28);
}
