/* ==========================================================================
   4Leaderz — design tokens
   Brand palette is fixed; everything else here is derived from it.
   ========================================================================== */

@font-face {
  font-family: "Outfit Variable";
  src: url("../fonts/Outfit-VariableFont_wght.ttf") format("truetype-variations"),
    url("../fonts/Outfit-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette (unchanged) */
  --ink: #152a3d;
  --blue-deep: #1e4a6e;
  --blue-signal: #6e9cbb;
  --paper: #ecece2;
  --paper-2: #e2e2d5;
  --clay: #b8562e;
  --clay-dark: #984627;
  --white: #ffffff;

  /* Derived tones */
  --ink-muted: #4d6172;
  --paper-lift: #f4f4ec;
  --clay-soft: rgba(184, 86, 46, 0.12);
  --line: rgba(21, 42, 61, 0.14);
  --line-strong: rgba(21, 42, 61, 0.32);
  --line-on-dark: rgba(255, 255, 255, 0.16);
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-muted: rgba(226, 234, 241, 0.74);
  --on-dark-faint: rgba(226, 234, 241, 0.56);

  /* Type */
  --font-display: "Outfit Variable", "Outfit", -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
  --step-2: clamp(1.25rem, 0.6vw + 1.08rem, 1.5rem);
  --step-3: clamp(1.5rem, 1.1vw + 1.2rem, 2rem);
  --step-4: clamp(1.7rem, 1.3vw + 1.3rem, 2.4rem);
  --step-6: clamp(2.1rem, 2.2vw + 1.25rem, 3.5rem);

  --measure: 64ch;

  /* Space */
  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: clamp(2rem, 2.5vw + 1.2rem, 3rem);
  --space-xl: clamp(3rem, 4vw + 1.5rem, 5rem);
  --space-2xl: clamp(4.5rem, 7vw + 1.5rem, 8.5rem);

  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --max-width: 1240px;

  /* Shape & depth — shadows are ink-tinted, always offset + soft */
  --radius-sm: 3px;
  --radius-md: 6px;
  --shadow-sm: 0 1px 2px rgba(21, 42, 61, 0.06), 0 2px 6px -2px rgba(21, 42, 61, 0.08);
  --shadow-md: 0 2px 4px rgba(21, 42, 61, 0.04), 0 14px 32px -16px rgba(21, 42, 61, 0.26);
  --shadow-lg: 0 4px 10px rgba(21, 42, 61, 0.05), 0 32px 64px -28px rgba(21, 42, 61, 0.42);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 520ms;

  /* Signature motif: the listening line */
  --wave-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 L4 4 L6 1 L10 7 L14 2 L18 6 L20 4 L24 4 L26 1 L30 7 L34 2 L38 6 L40 4' fill='none' stroke='%236e9cbb' stroke-width='1.3'/%3E%3C/svg%3E");
  --wave-svg-clay: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4 L4 4 L6 1 L10 7 L14 2 L18 6 L20 4 L24 4 L26 1 L30 7 L34 2 L38 6 L40 4' fill='none' stroke='%23b8562e' stroke-width='1.3'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .16 0 0 0 0 .24 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}
