/* tokens.css — owner: cb (v2 reference replica, SPEC-G-global.md), reviewer: 7c. Was: eb (brand). Palette "Claret & Rose Clay". Variable NAMES fixed by lead; values by eb. Hex list + roles: docs/BRAND.md */
/* Fonts: Google Fonts (load in <head>, see docs/BRAND.md). Self-host fallback: put WOFF2 files in /fonts and enable fonts/fonts.css. */
:root {
  /* palette — contrast checked on --c-bg / --c-surface / --c-blush (WCAG) */
  --c-ink: #2b1a1e;          /* main text, wordmark — 15.7:1 on bg */
  --c-ink-soft: #6b5057;     /* secondary text, captions — 6.9:1 on bg */
  --c-bg: #ffffff;           /* page background: white stays white (SPEC-G §1) */
  --c-surface: #ffffff;      /* cards, drawer, inputs */
  --c-blush: #f4f4f4;        /* neutral light grey (was blush #f7e9e6): chips, tabs, selected states, callouts. Val 1 Dec 2026: white + grey, burgundy stays */
  --c-band: #ffffff;         /* big section bands: white (were blush/panel) */
  --c-rose: #d9d9d9;         /* neutral grey border (was dusty rose #e3b9b5) */
  --c-primary: #804454;      /* brand plum — matched to the real bottle (bottle-closed.png ≈ RGB 128,68,84); white on it ≈ 7.8:1 */
  --c-primary-dark: #5f303e; /* hover / pressed */
  --c-accent: #c9737f;       /* rose clay: stars, badges bg, dividers, icons (3.2:1 — NOT for body text) */
  --c-accent-ink: #a3475a;   /* rose text when accent colour is needed in words — 5.5:1 on bg (added by eb) */
  --c-star: #f4b400;         /* review stars: K's gold (Checker decision, restores K look; decorative only) */
  --c-line: #e5e5e5;         /* hairlines, table borders (neutral, was #e6dbd8) */
  --c-panel: #f4f4f4;        /* light grey panels, current-menu row (neutral, was #f5f2f1) */
  --c-footer: #2b1a1e;       /* dark footer (K #121212 → ink) */
  --c-success: #2e6b4c;      /* 6.0:1 on bg */
  --c-warning: #8a5510;      /* 5.9:1 on bg */
  --c-error: #a82a20;        /* 6.6:1 on bg */
  --c-on-primary: #ffffff;

  /* shade swatches for the 3 bases (UI dots only) */
  --c-shade-light: #ecc9b0;  /* Light–Medium base (added by eb) */
  --c-shade-medium: #c99474; /* Medium–Tan base (added by eb) */
  --c-shade-deep: #8d5a3f;   /* Tan–Deep base (added by eb) */

  /* type */
  /* FONTS: the ONLY place a typeface is named (v3 font change). Default = the reference store's own font, Montserrat (Google Fonts, free).
     To switch the whole site, change these two lines and the one <link> font URL in the page heads (see docs/fonts.html for the candidates). */
  --font-head: "Montserrat", "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Montserrat", "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;   /* ONLY the advertorial serif headline (.kf-h1--serif); Lora 700 is linked on the funnel pages (pages/*.html, tools/funnel_build.py) */
  --f-display: var(--font-head);   /* legacy aliases, so older CSS keeps working */
  --f-body: var(--font-body);
  --fs-xs: 0.8125rem; --fs-sm: 0.9375rem; --fs-md: 1rem; --fs-lg: 1.125rem;
  --fs-xl: 1.5rem; --fs-2xl: 2rem; --fs-3xl: 2.75rem;
  --ls-caps: 0.14em;
  --ls-body: 0.06em; --ls-head: 0.02em;   /* K: 0.9px at 15px body, 0.78px headings */         /* tracking for small uppercase labels (added by eb) */

  /* shape + space */
  --r-sm: 8px; --r-md: 8px; --r-lg: 12px; --r-pill: 999px; --r-xs: 4px;   /* SPEC-G §3: buttons/cards 8px, inputs 6px, desktop cards 12px */
  --radius-card: 8px; --radius-btn: 8px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px;
  --shadow-sm: 0 1px 3px rgba(43, 26, 30, .08);
  --shadow-md: 0 8px 28px rgba(43, 26, 30, .10);
  --maxw: 1400px;              /* K page width 140rem */
  --gutter: 16px;
}

/* motion tokens (D, Addendum 6): scroll reveals, see css/motion.css + js/motion.js */
:root {
  --motion-dur: 500ms;        /* Smooche: 0.5s */
  --motion-dist: 12px;        /* Smooche: fade-up translate 12px */
  --motion-ease: cubic-bezier(.22, .61, .36, 1);
  --motion-stagger: 70ms;     /* step between siblings, capped at 4 steps in js/motion.js */
}
