/* ═══════════════════════════════════════════════════════════════════════
   theKolorz design system — tokens
   One source for colour, type and spacing on every page.
   Headings: Gemfont · Text: Arial · Two themes: dark (default) and light.
   Reference page: /design-system (local preview).
   ═══════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: Gemfont; font-weight: 400; font-style: normal; font-display: swap;
  src: url(/assets/64a73c2954ea30a53ae5af50_GemFont-3d242699.woff) format("woff"),
       url(/assets/64a73c2954ea30a53ae5af59_GemFont-a6c5ebce.ttf) format("truetype");
}

:root {
  /* ── 1 · palette (raw values, taken from the existing site) ───────── */
  --black: #000000;
  --ink-950: #050505;   /* home dark sections, page background (dark) */
  --ink-900: #111111;   /* surfaces, buttons */
  --ink-850: #1A1A1A;   /* raised surfaces, panels */
  --ink-800: #242424;   /* "Let's chat" button */
  --ink-700: #363636;   /* borders on dark */
  --grey-600: #333333;  /* body text (light) */
  --grey-500: #6B6B6B;  /* muted text (light) */
  --grey-400: #8C8C8C;  /* muted text (dark) */
  --grey-300: #C3C2C2;  /* silver */
  --grey-100: #E9E9E9;
  --mist: #F5F7FA;      /* light section background */
  --paper: #F7F6F1;     /* warm off-white */
  --white: #FFFFFF;
  --text-900: #191919;  /* headings (light) */

  --red: #A01717;       /* brand accent: "6yrs", "10+" */
  --sky: #83C9F4;       /* Music & Education folder */
  --orange: #F28B02;    /* Design Systems, Sport */
  --butter: #ECDD7B;    /* Motion & Interaction, Art */
  --blush: #FFE4E1;     /* Energy & Sustainability, E-Commerce */

  /* ── 2 · type ─────────────────────────────────────────────────────── */
  --font-display: Gemfont, "Times New Roman", Times, serif;
  --font-text: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --fs-display: clamp(3.5rem, 7vw, 6.5rem);       /* 56 → 104  page titles ("Works") */
  --fs-h1: clamp(2.75rem, 5vw, 4.75rem);          /* 44 → 76   case-study titles */
  --fs-h2: clamp(2rem, 3.4vw, 3rem);              /* 32 → 48   section titles */
  --fs-h3: clamp(1.5rem, 2.2vw, 2rem);            /* 24 → 32   card / project titles */
  --fs-h4: 1.5rem;                                /* 24        Arial bold */
  --fs-h5: 1.125rem;                              /* 18        Arial bold */
  --fs-lead: clamp(1.25rem, 1.6vw, 1.5rem);       /* 20 → 24   intro paragraphs */
  --fs-body: 1.125rem;                            /* 18 */
  --fs-small: 0.9375rem;                          /* 15 */
  --fs-caption: 0.8125rem;                        /* 13 */
  --fs-overline: 0.75rem;                         /* 12, uppercase */
  --fs-caps: clamp(3rem, 6.2vw, 5.75rem);         /* 48 → 92   ARIAL CAPS display (home hero) */

  --lh-display: 0.95; --lh-heading: 1.08; --lh-tight: 1.25; --lh-body: 1.6;
  --tracking-display: -0.01em; --tracking-overline: 0.16em;

  /* ── 3 · space, radius, shadow ────────────────────────────────────── */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem;  --space-6: 2rem;   --space-7: 3rem;    --space-8: 4rem;
  --space-9: 6rem;    --space-10: 8rem;
  --gutter: clamp(16px, 5vw, 64px);
  --container: 1320px;
  --radius: 10px; --radius-lg: 24px; --radius-pill: 999px;
  --shadow-float: 4px 4px 40px rgba(0, 0, 0, .45);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  /* ── 4 · theme (dark is the default) ──────────────────────────────── */
  --bg: var(--ink-950);
  --surface: var(--ink-900);
  --surface-2: var(--ink-850);
  --text: var(--white);
  --text-2: rgba(255, 255, 255, .72);
  --text-3: rgba(255, 255, 255, .5);
  --line: rgba(255, 255, 255, .12);
  --accent: var(--red);
}
.theme-light {
  --bg: var(--white);
  --surface: var(--mist);
  --surface-2: var(--paper);
  --text: var(--text-900);
  --text-2: var(--grey-600);
  --text-3: var(--grey-500);
  --line: rgba(0, 0, 0, .12);
}

/* ── 5 · type roles (use these class names on new markup) ───────────── */
.t-display { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--tracking-display); }
.t-h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h1); line-height: var(--lh-heading); }
.t-h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); line-height: var(--lh-heading); }
.t-h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); line-height: var(--lh-heading); }
.t-h4 { font-family: var(--font-text); font-weight: 700; font-size: var(--fs-h4); line-height: var(--lh-tight); }
.t-h5 { font-family: var(--font-text); font-weight: 700; font-size: var(--fs-h5); line-height: var(--lh-tight); }
.t-lead { font-family: var(--font-text); font-size: var(--fs-lead); line-height: 1.45; color: var(--text-2); }
.t-body { font-family: var(--font-text); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text-2); }
.t-small { font-family: var(--font-text); font-size: var(--fs-small); line-height: 1.5; color: var(--text-2); }
.t-caption { font-family: var(--font-text); font-size: var(--fs-caption); line-height: 1.4; color: var(--text-3); }
.t-overline { font-family: var(--font-text); font-size: var(--fs-overline); letter-spacing: var(--tracking-overline); text-transform: uppercase; color: var(--text-3); }
.t-caps { font-family: var(--font-text); font-weight: 700; font-size: var(--fs-caps); line-height: .9; letter-spacing: var(--tracking-display); text-transform: uppercase; }
