/* Come to Ghana: design tokens (Designer lane). Trustworthy and clear.
   Palette: warm paper + deep ink-green neutrals, ONE accent (forest green); warm gold appears only as the accent on dark bands.
   Contrast (AA, measured): --ink on --bg 15.5:1; --ink-soft 7.8:1; --muted 5.1:1; --on-accent on --accent 6.6:1;
   --accent on --bg 6.2:1; --on-dark on --bg-dark 15.2:1; --accent-bright (gold) on --bg-dark 10.3:1.
   Type: system fonts only; serif display for authority, sans body for clarity; clamp() scale, tight tracking on large type.
   Motion: one ease, 400-900 ms, 60 ms stagger; animate transform/opacity/filter only. */
:root {
  color-scheme: light;

  /* Palette: light */
  --bg: #faf8f3;
  --bg-alt: #f0ece1;
  --surface: #ffffff;
  --surface-2: #f5f2ea;
  --ink: #10231a;
  --ink-soft: #3f5348;
  --muted: #5c6e63;
  --line: #ded9ca;

  /* Palette: dark bands */
  --bg-dark: #0a1f16;
  --bg-dark-2: #123325;
  --on-dark: #f3f1e8;
  --on-dark-soft: #a9bfb1;
  --line-dark: #22432f;

  /* Accent (one) */
  --accent: #0d6b3d;
  --accent-2: #14884f;          /* hover / gradient partner */
  --accent-bright: #f2c14e;     /* accent on dark backgrounds */
  --accent-soft: #dcefe2;
  --on-accent: #ffffff;

  /* Status */
  --ok: #1d7a4d;
  --warn: #b4540a;
  --danger: #b3261e;
  --danger-soft: #fbe6e3;

  /* Gradients and glow (CSS only) */
  --grad-accent: linear-gradient(120deg, #0d6b3d 0%, #1f9a5c 55%, #f2c14e 100%);
  --grad-text: linear-gradient(100deg, #0d6b3d 0%, #2a9d62 50%, #0d6b3d 100%);
  --grad-dark: radial-gradient(120% 80% at 80% 0%, #17482f 0%, #0a1f16 60%);
  --glow: 0 0 80px rgba(242, 193, 78, .25);

  /* Type */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --fs-xl: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-2xl: clamp(2rem, 1.4rem + 3vw, 3.75rem);
  --fs-3xl: clamp(2.75rem, 1.6rem + 6vw, 6rem);
  --fs-hero: clamp(3.25rem, 1.5rem + 9vw, 8rem);
  --fs-giant: clamp(5rem, 2rem + 18vw, 16rem);      /* marquee, scrollytelling word */
  --fs-step: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); /* scrollytelling step text */

  --lh-tight: .95;
  --lh-snug: 1.15;
  --lh-body: 1.6;
  --track-display: -.04em;
  --track-heading: -.025em;
  --track-label: .12em;
  --measure: 65ch;

  /* Spacing */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2.5rem;
  --space-7: 4rem;
  --space-section: clamp(5rem, 12vw, 10rem);
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max-w: 76rem;

  /* Shape and depth */
  --radius-sm: .5rem;
  --radius: 1rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 26, .06), 0 2px 8px rgba(16, 35, 26, .05);
  --shadow: 0 8px 30px rgba(16, 35, 26, .09);
  --shadow-lg: 0 24px 60px rgba(16, 35, 26, .16);
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-fast: 400ms;
  --dur: 650ms;
  --dur-slow: 900ms;
  --stagger: 60ms;
  --rise: 1.25rem;              /* reveal travel distance */
  --blur-in: 8px;               /* reveal start blur */
  --marquee-speed: 60s;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur: 0ms;
    --dur-slow: 0ms;
    --stagger: 0ms;
    --rise: 0px;
    --blur-in: 0px;
    --marquee-speed: 0s;
  }
}

/* Reusable CSS-only accent */
.text-grad {
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
