/* ==========================================================================
   Valhalla — design tokens
   Source: Figma "Fordo" › Homepage (1411:2802). Mirrors tokens/tokens.json.
   Type sizes are the Figma values at a 1440px canvas; they scale fluidly
   down to the clamp() minimum on smaller screens.
   ========================================================================== */

:root {
  /* ---- Color ---------------------------------------------------------- */
  --color-black: #000;
  --color-black-60: rgb(0 0 0 / 0.6);
  --color-black-20: rgb(0 0 0 / 0.2);
  --color-white: #fff;
  --color-white-60: rgb(255 255 255 / 0.6);
  --color-white-40: rgb(255 255 255 / 0.4);
  --color-white-20: rgb(255 255 255 / 0.2);

  --color-surface-dark: #222;          /* image placeholder / hero */
  --color-surface-video: #404040;
  --color-surface-muted: #f0f3f7;      /* Latest Insights */
  --color-surface-frame: #d1d9e8;      /* article image frame */
  --color-surface-frame-light: #e8e8e8;
  --color-overlay: rgb(0 0 0 / 0.4);

  /* ---- Typography ----------------------------------------------------- */
  --font-family: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;

  --tracking-tight: -0.02em;   /* Figma letterSpacing -2%   */
  --tracking-body-1: -0.01em;  /* Figma letterSpacing -1%   */
  --tracking-body-2: -0.005em; /* Figma letterSpacing -0.5% */

  /* size                       min    fluid      max (Figma) */
  --text-heading-1:    clamp(56px, 9.444vw, 136px);
  --text-heading-2:    clamp(48px, 6.111vw, 88px);
  --text-subheading-1: clamp(36px, 5vw,     72px);
  --text-subheading-2: clamp(36px, 3.889vw, 56px);
  --text-subheading-3: clamp(28px, 3.333vw, 48px);
  --text-card-title:   clamp(22px, 1.806vw, 26px);
  --text-subheading-6: clamp(20px, 1.667vw, 24px);
  --text-body-1: 20px;
  --text-body-2: 16px;
  --text-button-1: 20px;
  --text-button-2: 16px;

  --leading-display: 0.96;  /* Heading 1/2, Subheading 1 */
  --leading-heading: 1.04;  /* Subheading 2/3 */
  --leading-snug: 1.12;     /* Subheading 6, buttons */
  --leading-body: 1.3;      /* Body 1/2 */

  /* ---- Space ---------------------------------------------------------- */
  --space-8: 8px;
  --space-14: 14px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-36: 36px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: clamp(64px, 6.667vw, 96px);
  --space-104: clamp(64px, 7.222vw, 104px);
  --space-152: clamp(96px, 10.556vw, 152px);

  --gutter: clamp(16px, 2.222vw, 32px); /* page side padding */

  /* ---- Size ----------------------------------------------------------- */
  --container: 1440px;
  --button-lg-w: 304px;
  --button-lg-h: 80px;
  --button-sm-w: 128px;
  --button-sm-h: 52px;

  /* ---- Effects & motion ----------------------------------------------- */
  --blur-button: 10px;
  --border-hairline: 1px solid var(--color-black-20);
  --border-hairline-inverse: 1px solid var(--color-white-20);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 200ms;
  --duration-base: 400ms;
  --duration-slow: 800ms;

  /* Button hover — from the Framer button component: tween, 0.8s, ease [.7, 0, .25, 1] */
  --ease-button: cubic-bezier(0.7, 0, 0.25, 1);
  --duration-button: 800ms;
}
