/* Kapitalum — design tokens (Figma »Prototip«, 8. 10. 2026)
   Palette + two surfaces + one text colour that replaces the low-contrast greys.
   Contrast (WCAG 2.x) is noted for every text use; AA normal text needs 4.5:1. */

:root {
  /* ── Colour ───────────────────────────────────────────────────────── */
  --navy-900:   #232A38;  /* primary text: 14.39 white · 13.92 paper · 9.78 accent-300; footer ground */
  --slate-500:  #596778;  /* secondary text on white 5.78 · paper 5.59 · grey-100 5.16 — NOT on accent-300 (3.93) */
  --grey-200:   #C8D0DB;  /* hairlines on light; secondary text on navy 9.25; photo wash at 56 % */
  --grey-100:   #F2F2F2;
  --paper:      #FCFBFA;  /* process and other light bands */
  --white:      #FFFFFF;
  --stone:      #F4F2EE;  /* V4 (Figma, 21. 10. 2026): O nas »Naša filozofija« band; navy text 12.87:1 */
  --accent-500: #DEC89E;  /* champagne: button fill, eyebrow on navy (8.81). 1.63 on white — never text on light */
  --accent-300: #E5D3B0;  /* light champagne surface (Home panel, Kapital list, values, CTA band) */
  --accent-100: #F3EBDB;  /* (9. 10. 2026): champagne tint = accent-300 at 45 % on white — article pull quotes; navy 12.14:1, 1.19:1 against white */
  --bronze-700: #5C5240;  /* fix: numbers / ledes on light & champagne — 7.68 white · 5.22 accent-300
                             (replaces Figma #958972 = 2.34 on accent-300 and #DEC89E numbers = 1.63 on white) */
  --navy-glass: rgba(38, 57, 81, .88); /* split hero panel (#263951 @ 88 %); white text ≥ 8.1:1 */
  /* Photo treatment (Figma, 8. 10. 2026) — all in CSS, the JPGs are plain greyscale exports:
     grey-200 @ 56 % in OVERLAY over the photo + a light scrim behind the text block (style.css .page-hero). */
  --scrim-home: .70;  /* Home panel titles (32 px) and eyebrows: navy ≥ 6.5:1 on the darkest pixel */

  /* ── Type ─────────────────────────────────────────────────────────── */
  --font-serif: "Inria Serif", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid sizes: value at 1920 = Figma; 1440 ≈ ×0.82; floors are the mobile sizes. */
  --fs-h1:      clamp(40px, 2.4vw + 18px, 64px);   /* Inria 64/75 */
  --fs-h2:      clamp(32px, 1.6vw + 17px, 48px);   /* Inria 48 */
  --fs-h3:      clamp(26px, .6vw + 24.5px, 36px);  /* Inria 36 — team names */
  --fs-panel:   clamp(28px, .4vw + 24.3px, 32px);  /* Inria 32 — Home panel, values */
  --fs-row:     clamp(22px, .55vw + 17.5px, 28px); /* Inria 28 — area rows */
  --fs-quote:   clamp(20px, .6vw + 16.5px, 28px);  /* Inter 28 — team quote */
  --fs-lead:    18px;  --lh-lead: 31px;            /* Inter 18/31 */
  --fs-body:    16px;  --lh-body: 26px;
  --fs-eyebrow: 14px;                               /* Inter Bold 14, +20 % tracking */

  /* ── Layout ───────────────────────────────────────────────────────── */
  --inset:        clamp(24px, 10.42vw, 200px);      /* page content: 200 px at 1920 */
  --inset-footer: clamp(24px, 6.25vw, 120px);       /* footer + nav: 120 / 60 px at 1920 */
  --nav-h:        96px;
  --radius-button: 24px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}
