/* Design tokens — Arnaldo Amaral. Matches the brand system already shipped in
   the root project's css/variables.css (charcoal + Amaral Gold + beige,
   Domine/Open Sans) — see version2-site/docs/design-system.md */
:root {
  /* Raw brand palette (same values as /css/variables.css) */
  --color-gold: #C5A059;
  --color-gold-dark: #A47E3B;
  --color-gold-light: #E2C288;
  --color-charcoal: #111111;
  --color-charcoal-light: #1A1A1A;
  --color-beige: #F9F6F0;
  --color-bronze: #8C6D3E;

  /* Surfaces */
  --color-bg-primary: var(--color-charcoal);
  --color-bg-secondary: var(--color-charcoal-light);
  --color-bg-tertiary: #202020;
  --color-bg-card: #2a2a2a45;
  --color-bg-card-elevated: #272727;

  /* Semantic layer (section CSS consumes these, never raw tokens) */
  --color-bg-base: var(--color-bg-primary);
  --color-bg-surface: var(--color-bg-card-elevated);
  --color-bg-alt: var(--color-bg-secondary);
  --color-text-body: var(--color-beige);
  --color-text-muted: #b8b2a8;
  --color-text-muted-soft: var(--color-bronze);
  --color-accent: var(--color-gold);
  --color-accent-soft: var(--color-gold-light);
  --color-accent-deep: var(--color-gold-dark);
  --color-text-on-accent: var(--color-charcoal);
  --color-border: rgba(197, 160, 89, 0.08);
  --color-border-strong: rgba(197, 160, 89, 0.32);
  --color-whisper: rgba(197, 160, 89, 0.1);

  /* Typography — same families as the root project */
  --font-display: "Domine", serif;
  --font-body: "Open Sans", ui-sans-serif, system-ui, sans-serif;

  --text-display: clamp(2.5rem, 6vw, 4.5rem);
  --text-h2: clamp(2rem, 4vw, 3.25rem);
  --text-h3: clamp(1.15rem, 1.6vw, 1.4rem);
  --text-lead: clamp(18px, 1.4vw, 21px);
  --text-body: 1rem;
  --text-label: 0.75rem;
  --text-stat: clamp(2.5rem, 5vw, 4rem);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-section-desktop: 160px;
  --space-section-mobile: 88px;
  --space-section: clamp(var(--space-section-mobile), 10vw, var(--space-section-desktop));

  --container-max: 1280px;
  --container-pad: clamp(24px, 5vw, 96px);

  /* Radius (matches the root project's scale) */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 9999px;
  --radius: var(--radius-sm);

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 0 32px rgba(212, 175, 55, 0.35);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 300ms;
  --duration-base: 400ms;
  --duration-slow: 700ms;
}
