/*
  ValueBull design tokens. The Line, version 3 (5 November 2026).
  Every colour, size, duration and easing in a ValueBull build comes from here.
  Never hard-code a hex, a duration or an easing below this block.
  This file is the source. tokens/tokens.json is generated from it: run `npm run tokens` after any change.
*/
:root {
  /* Colour: surfaces */
  --vb-paper: #ffffff;          /* Light surface, the default page */
  --vb-paper-alt: #f5f6f6;      /* Cool paper. The second light surface in the colour-block march */
  --vb-black: #101010;          /* Dark surface: statements, stats, CTA, footer */
  --vb-gold: #FED700;           /* THE accent. A verb, never decoration */

  /* Colour: text and lines */
  --vb-ink: #0a0a0a;            /* Primary text on light */
  --vb-grey: #6e6e6e;           /* Secondary text on light */
  --vb-line: #e5e6e6;           /* Hairlines on light */
  --vb-dark-fg: #f4f4f0;        /* Primary text on dark */
  --vb-dark-grey: #b7b7b1;      /* Labels on dark */
  --vb-dark-muted: #9a9a94;     /* Descriptions and sources on dark */
  --vb-dark-line: rgba(244, 244, 240, .22); /* Hairlines on dark */
  --vb-ink-on-gold: #3a3a20;    /* Body text on gold, 8.3:1 */
  --vb-chip: #101010;           /* Caption chip on photography */

  /* Report-only score tiers. Never page chrome */
  --vb-tier-high: #16a34a;
  --vb-tier-mid: #d97706;
  --vb-tier-low: #dc2626;

  /* Type */
  --vb-font: 'Inter Variable', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --vb-fs-display: clamp(46px, 8.4vw, 120px);   /* H1, hero */
  --vb-fs-statement: clamp(34px, 6vw, 82px);    /* Full-bleed statement */
  --vb-fs-stat: clamp(64px, 8.6vw, 128px);      /* Giant number */
  --vb-fs-pull: clamp(30px, 5vw, 60px);         /* Pull question */
  --vb-fs-cta: clamp(30px, 5vw, 58px);          /* CTA heading */
  --vb-fs-h2: clamp(28px, 3.6vw, 44px);
  --vb-fs-tool: clamp(24px, 3.4vw, 38px);
  --vb-fs-lead: clamp(22px, 2.8vw, 32px);
  --vb-fs-sub: clamp(17px, 2vw, 21px);
  --vb-fs-h3: 22px;
  --vb-fs-body: 18px;
  --vb-fs-base: 17px;
  --vb-fs-small: 16px;
  --vb-fs-meta: 14px;
  --vb-fs-fine: 13px;
  --vb-fs-eyebrow: 12px;        /* The floor. Nothing smaller, ever */

  --vb-lh-display: .98;
  --vb-lh-statement: 1.03;
  --vb-lh-h2: 1.08;
  --vb-lh-body: 1.6;
  --vb-track-display: -.035em;
  --vb-track-statement: -.03em;
  --vb-track-h2: -.025em;
  --vb-track-eyebrow: .16em;
  --vb-track-label: .14em;
  --vb-measure: 60ch;

  /* Layout */
  --vb-wrap: 1200px;
  --vb-gutter: 32px;
  --vb-gutter-sm: 16px;
  --vb-section-y: 120px;
  --vb-section-y-sm: 64px;
  --vb-statement-y: clamp(90px, 14vh, 150px);
  --vb-lab-col: 210px;          /* The indented label column */
  --vb-lab-gap: 68px;
  --vb-nav-h: 76px;
  --vb-radius: 0px;             /* Everywhere. The eyebrow dot is the only round thing */
  --vb-rule: 1px;
  --vb-tick-w: 32px;            /* The gold tick above a label */
  --vb-tick-h: 3px;

  /* Breakpoints, for reference. CSS custom properties cannot drive media queries:
     use the literal values 820px and 700px. There are two. Do not add a third. */
  --vb-bp-md: 820px;
  --vb-bp-sm: 700px;

  /* Motion */
  --vb-ease: cubic-bezier(.42, 0, .58, 1);          /* easeInOut. Reveals, clips, ticks */
  --vb-ease-ui: cubic-bezier(.4, 0, .2, 1);         /* Hovers and state changes */
  --vb-ease-spring: cubic-bezier(.34, 1.4, .6, 1);  /* The one spring: .pop callouts */
  --vb-ease-wipe: cubic-bezier(.65, 0, .35, 1);     /* The hero keyword wipe */
  --vb-dur-hover: .2s;
  --vb-dur-item: .5s;            /* A child inside a stagger */
  --vb-dur-reveal: .55s;         /* A whole block fading up */
  --vb-dur-tick: .6s;
  --vb-dur-wipe: .7s;
  --vb-dur-clip: .9s;            /* Image clip-open. The slowest thing on the page */
  --vb-stagger: .12s;            /* Step between children, up to 8 */
  --vb-rise: 24px;               /* Reveal travel */
  --vb-rise-item: 20px;
  --vb-parallax: -0.05;          /* Image offset per pixel from viewport centre */
  --vb-parallax-scale: 1.14;
}
