/* tokens.css — Designer. The look for the Morocco visa agency: trustworthy and clear.
   Palette: deep ink-navy neutrals on warm paper, ONE accent: Moroccan terracotta (#b3361f, 6.4:1 on white).
   Type: system fonts only; a bold display scale with clamp() and tight tracking on large type.
   Motion: one easing, 400-900 ms, 60 ms stagger. Animate only transform, opacity, filter. */
:root {
  /* palette */
  --bg: #fbf8f3;
  --surface: #ffffff;
  --surface-2: #f2ede4;
  --text: #14202e;            /* 15:1 on --bg */
  --text-muted: #4d5a69;      /* 6.6:1 on --bg */
  --line: #e1d9cb;
  --dark: #0f1b2a;            /* deep navy band */
  --dark-2: #19293c;
  --on-dark: #f7f3ec;         /* 14:1 on --dark */
  --on-dark-muted: #aab6c4;   /* 7.6:1 on --dark */
  --accent: #b3361f;
  --accent-strong: #8f2916;
  --accent-soft: #f6e3dd;
  --accent-on-dark: #ff9a82;  /* 7:1 on --dark */
  --on-accent: #ffffff;
  --success: #1c6b4a;
  --danger: #b00020;
  --focus: #1a56db;

  /* type */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-serif, "Iowan Old Style", "Palatino Linotype", 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, 1rem + .8vw, 1.5rem);
  --fs-step: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);   /* scrollytelling step text */
  --fs-h2: clamp(2rem, 1.2rem + 3.6vw, 4.25rem);
  --fs-h1: clamp(2.75rem, 1.4rem + 6vw, 7rem);
  --fs-giant: clamp(5rem, 2rem + 16vw, 16rem);        /* marquee / changing word */
  --lh-tight: 1.02;
  --lh-snug: 1.2;
  --lh-body: 1.6;
  --track-display: -.035em;
  --track-h2: -.025em;
  --measure: 65ch;

  /* spacing, radius, shadow */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem;
  --section: clamp(5rem, 12vw, 10rem);
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius-sm: .5rem; --radius: 1rem; --radius-lg: 1.75rem; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 42, .06), 0 2px 8px rgba(15, 27, 42, .05);
  --shadow: 0 6px 24px rgba(15, 27, 42, .08), 0 2px 6px rgba(15, 27, 42, .05);
  --shadow-lg: 0 24px 60px rgba(15, 27, 42, .16);
  --glow: radial-gradient(60% 60% at 50% 40%, rgba(179, 54, 31, .22), transparent 70%);
  --gradient-text: linear-gradient(100deg, #b3361f 0%, #d9722f 45%, #b3361f 100%);
  --gradient-text-dark: linear-gradient(100deg, #ff9a82 0%, #ffd2a0 50%, #ff9a82 100%);

  /* 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: 6px;             /* reveal start blur */
}

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

/* CSS-only accents */
.text-gradient {
  background: var(--gradient-text);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.band--dark .text-gradient { background-image: var(--gradient-text-dark); }
.glow { background-image: var(--glow); }
