/* tokens.css - open-company-cyprus.com (Cyprus Startup Hub). The single source of the design values (DESIGN.md section 2).
   Three layers: 1 primitives (raw oklch values, never used by a component), 2 semantic roles, 3 component tokens.
   Values taken from the owner's reference (variant A, drafts/design-harvest/variant-a/): proportions and colours only,
   no code. Contrast pairs checked 2026-11-14: ink on white 16.5, gold-700 on white 5.0, gold-400 on navy 8.1,
   navy-mist on navy 7.1. Copied to output/css/tokens.css by scripts/build.mjs. */

:root {
  /* ---------- layer 1: primitives ---------- */
  --p-navy-900: oklch(25.5% 0.063 254.9);   /* #0b2340, hero, header over scroll, footer, CTA band */
  --p-navy-850: oklch(29.5% 0.071 254.8);   /* #112d4f, raised navy (the HQ card, the drawer) */
  --p-navy-800: oklch(34.5% 0.077 254.2);   /* #1a3a60, navy hairlines and hover */
  --p-navy-mist: oklch(75.1% 0.035 252.5);  /* #9fb0c4, secondary text on navy */
  --p-navy-fog: oklch(85.8% 0.018 256.3);   /* #c9d1dc, body text on navy */
  --p-gold-300: oklch(84.5% 0.073 85.2);    /* #e2c995, button hover on navy */
  --p-gold-400: oklch(78.7% 0.080 81.4);    /* #d4b57e, the accent on navy, button ground */
  --p-gold-700: oklch(54.5% 0.084 79.4);    /* #8a6a32, the accent as text and rules on light grounds */
  --p-gold-800: oklch(49.5% 0.079 78.8);    /* #7a5c28, accent text hover on light */
  --p-ink-900: oklch(23.9% 0.032 252.9);    /* #14202e */
  --p-ink-600: oklch(48.5% 0.023 253.0);    /* #56606c */
  --p-sand-200: oklch(90.0% 0.019 83.1);    /* #e4ddd0, hairlines on light */
  --p-sand-100: oklch(93.1% 0.019 80.1);    /* #efe7da, checked option, table head */
  --p-sand-50: oklch(96.5% 0.010 81.8);     /* #f7f3ec, the surface ground */
  --p-white: oklch(100% 0 0);
  --p-red-700: oklch(50.1% 0.178 28.7);     /* #b3261e, form errors only */

  /* ---------- layer 2: semantic roles ---------- */
  --c-bg: var(--p-white);
  --c-surface: var(--p-sand-50);
  --c-surface-2: var(--p-sand-100);
  --c-text: var(--p-ink-900);
  --c-text-muted: var(--p-ink-600);
  --c-line: var(--p-sand-200);
  --c-accent: var(--p-gold-700);
  --c-accent-hover: var(--p-gold-800);
  --c-dark: var(--p-navy-900);
  --c-dark-2: var(--p-navy-850);
  --c-dark-line: color-mix(in oklch, var(--p-white) 14%, transparent);
  --c-on-dark: var(--p-white);
  --c-on-dark-body: var(--p-navy-fog);
  --c-on-dark-muted: var(--p-navy-mist);
  --c-accent-on-dark: var(--p-gold-400);
  --c-error: var(--p-red-700);
  --c-focus: var(--p-gold-700);
  --c-focus-on-dark: var(--p-gold-400);

  /* type */
  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-text: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif; /* alias of --f-body, the name image-prompts.py reads */
  --fs-body: 17px;
  --lh-body: 1.62;
  --fs-small: .88rem;
  --fs-label: .95rem;
  --fs-h1: clamp(2.7rem, 5.6vw, 5.3rem);
  --fs-h1-band: clamp(2.4rem, 4.6vw, 4.2rem);
  --fs-h2: clamp(2.2rem, 4.4vw, 3.7rem);
  --fs-h3: 1.45rem;
  --fs-quote: clamp(2rem, 4.6vw, 4rem);
  --lh-h1: .98;
  --lh-h2: 1.06;
  --lh-h3: 1.22;
  --ls-head: -.012em;
  --fw-h1: 300;
  --fw-head: 400;
  --measure: 66ch;

  /* space and layout */
  --wrap: min(1280px, 100% - 48px);
  --sec-pad: clamp(96px, 11vw, 150px);
  --head-gap: clamp(32px, 6vw, 96px);
  --head-mb: clamp(48px, 6vw, 80px);
  --gap: 24px;
  --gap-lg: 40px;
  --radius: 0px;          /* the reference is square: cards, inputs and buttons carry no radius */
  --radius-pill: 999px;   /* the round "plus" of the accordion, route dots and pills only */

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .2s;
  --t-mid: .35s;
  --t-slow: .55s;
  --t-reveal: .9s;

  /* ---------- layer 3: component tokens ---------- */
  --header-util-h: 40px;
  --header-main-h: 78px;
  --header-solid-bg: color-mix(in oklch, var(--p-navy-900) 92%, transparent);
  --btn-bg: var(--p-gold-400);
  --btn-bg-hover: var(--p-gold-300);
  --btn-fg: var(--p-navy-900);
  --btn-pad: 15px 26px;
  --btn-soft-line: var(--c-text);
  --field-line: color-mix(in oklch, var(--p-ink-900) 28%, transparent);
  --field-line-focus: var(--p-gold-700);
  --card-bg: var(--p-white);
  --card-line: var(--c-line);
  --svc-num: var(--p-gold-700);
  --rail: var(--c-line);
  --rail-fill: var(--p-gold-700);
  --map-dot: color-mix(in oklch, var(--p-white) 26%, transparent);
  --map-arc: var(--p-gold-400);
  --map-point: var(--p-gold-400);
  --diamond: var(--p-gold-700);
}
