/* =====================================================================
   KINDO DESIGN SYSTEM · tokens
   Palette is drawn from the hero silk: deep wine shadows, dusty rose
   midtones, blush and champagne highlights. Every page imports this file;
   components reference tokens, never raw values.
   ===================================================================== */
:root{
  /* ---- colour: brand primitives ---- */
  --wine-950:#050202;   /* deepest shadow */
  --wine-900:#090405;   /* page background */
  --wine-850:#0e0608;
  --wine-800:#14080c;   /* raised surface */
  --wine-700:#1f0d14;
  --plum-600:#4a2029;
  --rose-500:#9c5a62;   /* silk midtone */
  --rose-400:#c27b7c;
  --blush-300:#e3a8a0;  /* silk highlight */
  --champagne-200:#f1c9ad;
  --pearl-100:#fbefe9;  /* warm white */

  /* ---- colour: semantic ---- */
  --bg:var(--wine-900);
  --bg-rgb:9,4,5;
  /* scroll journey: --bg / --bg-rgb are driven by js/bg-journey.js from these stops (progress:colour) */
  --bg-journey: 0:#12070c .42:#12070c .66:#0c0508 .86:#060203 1:#030101;
  --bg-2:var(--wine-950);                       /* inset fields */
  --card:rgba(255,222,214,.075);                /* surface */
  --card-2:rgba(255,222,214,.12);              /* surface, raised / hover */
  --card-solid:var(--wine-800);
  --line:rgba(255,222,214,.16);
  --line-2:rgba(255,222,214,.28);
  --edge:inset 0 1px 0 rgba(255,240,234,.09);   /* top highlight on boxes */
  --text:#ffffff;                               /* pure white, no tint */
  --text-2:#ececec;                             /* neutral, ~16:1 on --bg */
  --text-3:#c4c4c4;                             /* neutral, ~11:1 on --bg */
  --on-light:#1a0b10;                           /* text on pearl buttons */
  --accent:rgb(232,166,132);                    /* rose gold; JS swaps per finish */
  --accent-rgb:232,166,132;
  --success:#7ee69a; --warning:#ffc95a; --danger:#ff6b6b;
  --grad-sheen:linear-gradient(100deg,var(--pearl-100) 0%,var(--pearl-100) 30%,rgba(var(--accent-rgb),1) 60%,var(--pearl-100) 95%);
  --glow-page:radial-gradient(60% 45% at 85% 8%,rgba(194,123,124,.08),transparent 70%),radial-gradient(55% 40% at 0% 60%,rgba(156,90,98,.06),transparent 70%),radial-gradient(70% 50% at 100% 100%,rgba(241,201,173,.04),transparent 70%);

  /* ---- type ---- */
  --display:"Inter Tight","SF Pro Display",-apple-system,"Helvetica Neue",Arial,sans-serif;
  --sans:"Inter","SF Pro Text",-apple-system,"Helvetica Neue",Arial,sans-serif;
  --arabic:"IBM Plex Sans Arabic",var(--sans);
  --fs-hero:clamp(56px,11vw,176px);   /* h-xl  · 300 · -0.055em */
  --fs-h1:clamp(40px,6.4vw,96px);     /* h-l   · 400 */
  --fs-h2:clamp(32px,4.4vw,60px);     /* h-m   · 500 */
  --fs-h3:clamp(24px,2.2vw,30px);
  --fs-lede:clamp(19px,1.7vw,23px);
  --fs-body:17px;
  --fs-small:15px;
  --fs-micro:13px;                    /* eyebrows, labels */

  /* ---- space (4px base) ---- */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px; --s-7:48px; --s-8:64px; --s-9:96px;
  --section:clamp(100px,12vw,160px);
  --wrap:1240px;

  /* ---- shape ---- */
  --r-sm:12px; --r-md:16px; --r-lg:28px; --r-xl:32px; --r-pill:999px;

  /* ---- elevation ---- */
  --shadow-1:0 20px 50px rgba(var(--bg-rgb),.55);
  --shadow-2:0 40px 90px rgba(8,2,4,.7);
  --shadow-glow:0 10px 40px rgba(var(--accent-rgb),.25);

  /* ---- motion ---- */
  --ease:cubic-bezier(.2,.7,.1,1);      /* expo-out feel: everything settles */
  --dur-1:.25s; --dur-2:.6s; --dur-3:1.2s;

  color-scheme:dark;
}
