/* ==========================================================================
   Pixknot v2 — Design tokens (colour + type ported from v1)
   ========================================================================== */
:root {
  /* Canvas */
  /* Palette — see the theme blocks below. Roles:
     --primary  main brand colour (buttons, logo pixel-X)
     --spark    small creative accent
     --soft     soft highlight on dark
     --deep     accent text on light surfaces */
  /* Sticky notes */
  --note-yellow: #ffe27a;
  --note-pink: #ffa8d4;
  --note-blue: #a5ccff;
  --note-lime: #c9d6ff;

  /* Text */
  --text-ink: var(--ink);
  --logo-x: var(--primary);
  --muted: color-mix(in srgb, var(--text) 64%, transparent);
  --muted-ink: color-mix(in srgb, var(--ink) 66%, transparent);
  --line: color-mix(in srgb, var(--text) 14%, transparent);
  --line-ink: color-mix(in srgb, var(--ink) 14%, transparent);

  /* Page accent (overridden per service page) */
  --accent: var(--primary);
  --accent-2: var(--spark);
  --accent-ink: var(--on-primary);

  /* Type */
  /* A · Funnel: squared-off curves give a quiet "pixel" feel without being blocky */
  --f-display: "Funnel Display", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Funnel Sans", ui-sans-serif, system-ui, sans-serif;
  --display-weight: 700;
  --display-stretch: 100%;

  --fs-giga: clamp(3.4rem, 15.5vw, 17rem);
  --fs-mega: clamp(2.7rem, 9.6vw, 10.5rem);
  --fs-xl: clamp(2.4rem, 6.2vw, 6.6rem);
  --fs-l: clamp(2rem, 4.4vw, 4.6rem);
  --fs-m: clamp(1.4rem, 2.4vw, 2.4rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.45vw, 1.4rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-s: 0.875rem;
  --fs-xs: 0.75rem;

  --track-tight: -0.022em;
  --track-snug: -0.012em;

  /* Layout */
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --maxw: 1480px;
  --section-y: clamp(5.5rem, 13vw, 11rem);
  --header-h: 76px;

  /* Shape */
  --r-s: 12px;
  --r-m: 22px;
  --r-l: 36px;
  --r-xl: 48px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.6s;

  /* Grid paper */
  --grid-size: 56px;
  --grid-line: color-mix(in srgb, var(--ink) 7.5%, transparent);
}

body[data-accent="spark"] {
  --accent-ink: var(--on-spark, var(--ink));
  --accent: var(--spark);
  --accent-2: var(--primary);
}
body[data-accent="soft"] {
  --accent-ink: var(--ink);
  --accent: var(--soft);
  --accent-2: var(--primary);
}

/* ---------- Palette: Ultraviolet + sky + mint ----------
   aubergine ink instead of tinted black · saturated ultraviolet instead of pastel lavender ·
   sky + mint accents instead of the acid-lime / orange pair · white text on violet */
:root {
  --ink: #170d2b;
  --ink-2: #22163f;
  --ink-3: #2f2056;
  --card: #1c1235;
  --paper: #f3effb;
  --paper-2: #e7e0f6;
  --lav: #dfd4ff;
  --lav-2: #cbbbff;
  --primary: #6a45ff;   /* ultraviolet: buttons, logo pixel-X */
  --primary-2: #9478ff;
  --spark: #2bb8f5;     /* electric sky */
  --soft: #5cf2c8;      /* mint */
  --deep: #5330e6;      /* violet text on light */
  --text: #f3effb;
  --on-primary: #ffffff;
  --on-spark: var(--ink);
}

