/*
 * Knit Halo: design tokens
 * Soft-tech calm. A warm fog-grey page, one grotesk family at regular weight, two-tone
 * headlines (an ink phrase that fades into stone grey), tiny uppercase labels tracked wide,
 * charcoal pill buttons and drawn product objects: knit-ribbed pebbles with a thin glowing
 * halo ring, dissolving into the page through a fog fade.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: fog is the page, paper lifts cards, mist is every line */
  --kh-fog: #efeeea;
  --kh-fog-2: #e7e5df;
  --kh-paper: #f8f7f4;
  --kh-mist: #dddad3;

  /* Text: ink for the first phrase, stone for the rest */
  --kh-ink: #2c2b29;
  --kh-graphite: #5d5a55;
  --kh-stone: #9e9a92;

  /* Knit tones for drawn objects (never for text or page chrome) */
  --kh-knit-slate: #a7aeb6;
  --kh-knit-oat: #d6cbba;
  --kh-knit-char: #3b3936;

  /* The halo: the only glow, a warm light ring on objects and the live dot */
  --kh-halo: #fff3dc;
  --kh-halo-glow: rgba(255, 236, 200, .85);

  /* Type: one grotesk for everything, mono only for specs */
  --kh-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --kh-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --kh-text-hero: clamp(42px, 6.2vw, 84px);
  --kh-text-h2: clamp(32px, 4vw, 52px);
  --kh-text-h3: 22px;
  --kh-text-lead: 19px;
  --kh-text-body: 16px;
  --kh-text-small: 14px;
  --kh-text-label: 11px;

  --kh-tracking-hero: -.035em;
  --kh-tracking-h2: -.03em;
  --kh-tracking-label: .16em;

  /* Shape: soft and borderless. Pills for actions, big radii for panels, fog for depth */
  --kh-radius-sm: 10px;
  --kh-radius: 20px;
  --kh-radius-lg: 32px;
  --kh-radius-pill: 999px;
  --kh-border: 1px solid var(--kh-mist);
  --kh-shadow: 0 1px 2px rgba(44, 43, 41, .04), 0 12px 32px rgba(44, 43, 41, .06);
  --kh-shadow-object: 0 40px 80px rgba(44, 43, 41, .16);
  --kh-fade: linear-gradient(180deg, rgba(239, 238, 234, 0) 0%, var(--kh-fog) 88%);

  /* Space: generous. Sections breathe */
  --kh-section: clamp(88px, 11vw, 144px);
  --kh-container: 1240px;
  --kh-narrow: 720px;
  --kh-gutter: 32px;

  /* Motion: slow fades and a breathing halo, nothing bounces */
  --kh-ease: cubic-bezier(.25, .8, .25, 1);
}
