/* ============================================================
   GoRo — Design Tokens
   Source of truth for color, type, spacing, motion, elevation.
   ============================================================ */

:root {
  /* — color — */
  --coral:      #FF5A36;
  --coral-soft: #FF8A6F;
  --coral-deep: #E0431D;
  --cream:      #FFF4EE;
  --paper:      #F4F1EC;
  --paper-2:    #ECE7DF;
  --ink:        #111111;
  --ink-2:      #1C1C1A;
  --ink-soft:   #2A2A28;
  --muted:      #8A8580;
  --muted-2:    #B5AEA5;
  --hairline:   rgba(17,17,17,0.08);
  --hairline-strong: rgba(17,17,17,0.14);
  --plum:       #2A1B5E;
  --moss:       #3F5B3D;
  --gold:       #C99A4A;

  /* — type — */
  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* — fluid type scale (clamp(min, fluid, max)) — */
  --fs-mono:    11px;
  --fs-body:    15px;
  --fs-body-lg: clamp(16px, 1.1vw, 19px);
  --fs-h6:      clamp(14px, 1vw, 16px);
  --fs-h5:      clamp(18px, 1.4vw, 22px);
  --fs-h4:      clamp(22px, 2vw, 30px);
  --fs-h3:      clamp(28px, 2.6vw, 42px);
  --fs-h2:      clamp(36px, 4.5vw, 64px);
  --fs-h1:      clamp(48px, 8vw, 120px);
  --fs-display: clamp(64px, 14vw, 220px);

  /* — spacing — */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  96px;
  --sp-10: 128px;
  --sp-11: 192px;

  /* — radii — */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 40px;
  --r-pill: 999px;

  /* — motion — */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --d-fast:   180ms;
  --d-base:   320ms;
  --d-slow:   600ms;
  --d-stage:  900ms;

  /* — layout — */
  --maxw:  1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --nav-h: 72px;

  /* — elevation — */
  --shadow-soft: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-card: 0 2px 6px rgba(0,0,0,0.05), 0 24px 48px rgba(0,0,0,0.08);
  --shadow-pop:  0 4px 10px rgba(0,0,0,0.08), 0 40px 80px rgba(0,0,0,0.14);
}

/* dark sections — values are literal (no var-chained loops), and we
   re-declare `color` so descendants don't inherit light-theme `--ink`. */
.theme-ink {
  --paper: #111111;          /* page surface = ink */
  --cream: #1C1C1A;          /* inset card surface = ink-2 */
  --ink: #FFF4EE;             /* "ink" now means light text */
  --ink-soft: #B5AEA5;        /* softer body */
  --muted: #8B8680;
  --muted-2: #B5AEA5;
  --hairline: rgba(255,244,238,0.08);
  --hairline-strong: rgba(255,244,238,0.16);
  color: #FFF4EE;             /* break inheritance from outer body */
}
