/* GENERATED by scripts/export-brand.mjs in the Nerve repo — do not edit by hand.
 * Mirrored values come from app/globals.css (--nv-*), tailwind.config.ts (gold ramp) and
 * components/BrandMark.tsx. Change them in Nerve, re-run the export, open a PR here.
 *
 * Contrast on --dh-surface-0 (#0A0B0F): text-hi 16:1, text-mid 7.3:1, gold 8.8:1, gold-deep 4.6:1.
 * --dh-text-lo is 3.9:1 — decoration and large text ONLY, never body copy.
 * --dh-gold-deep on a card surface is below 4.5:1 — borders and rules only, not small text.
 * Gold is for emphasis, never for volume (BRAND-HERITAGE s3). */
:root {
  /* Mirrored from Nerve --nv-* (app/globals.css) */
  --dh-surface-0: #0a0b0f;
  --dh-surface-1: #111318;
  --dh-surface-2: #1a1d27;
  --dh-surface-inset: #14161e;
  --dh-border-subtle: #232635;
  --dh-border-strong: #3a3f52;
  --dh-text-hi: #e7e9ee;
  --dh-text-mid: #9aa3b2;
  --dh-text-lo: #667085;
  --dh-gold: #daa520;
  --dh-gold-soft: #e0c38a;
  --dh-gold-deep: #9c7514;

  /* Brand ramp, mirrored from tailwind.config.ts `gold` */
  --dh-gold-50: #FBF6E9;
  --dh-gold-100: #F5EBD0;
  --dh-gold-200: #EBD9A8;
  --dh-gold-300: #E0C38A;
  --dh-gold-400: #E1AE3F;
  --dh-gold-500: #DAA520;
  --dh-gold-600: #9C7514;
  --dh-gold-700: #7E5E10;
  --dh-gold-800: #62480C;
  --dh-gold-900: #463308;
  --dh-gold-950: #2B1F05;

  /* Soft-gold companion ramp, mirrored from tailwind.config.ts `goldSoft` */
  --dh-gold-soft-50: #FCF9F0;
  --dh-gold-soft-100: #F8F1DD;
  --dh-gold-soft-200: #F1E3BC;
  --dh-gold-soft-300: #EAD59B;
  --dh-gold-soft-400: #E5CC90;
  --dh-gold-soft-500: #E0C38A;
  --dh-gold-soft-600: #C4A15C;
  --dh-gold-soft-700: #9C7D3E;
  --dh-gold-soft-800: #745C2C;
  --dh-gold-soft-900: #4E3D1D;
  --dh-gold-soft-950: #2E240F;

  /* Product-evidence status colours (never decorative) */
  --dh-status-success: #22C55E;
  --dh-status-warning: #F59E0B;
  --dh-status-error: #EF4444;

  /* ── Site-only scale: NOT mirrored from the app ── */
  /* Fonts (self-hosted from /fonts — see fonts.css) */
  --dh-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --dh-font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --dh-font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  /* Type */
  --dh-text-xs: 0.8125rem;
  --dh-text-sm: 0.9375rem;
  --dh-text-base: 1.0625rem;
  --dh-text-lg: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --dh-text-xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --dh-text-2xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --dh-text-display: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);
  --dh-leading-tight: 1.08;
  --dh-leading-snug: 1.3;
  --dh-leading-body: 1.6;
  --dh-tracking-display: -0.035em;
  --dh-tracking-eyebrow: 0.16em;
  /* Space and layout */
  --dh-space-1: 0.25rem;
  --dh-space-2: 0.5rem;
  --dh-space-3: 0.75rem;
  --dh-space-4: 1rem;
  --dh-space-6: 1.5rem;
  --dh-space-8: 2rem;
  --dh-space-12: 3rem;
  --dh-space-16: 4rem;
  --dh-space-24: 6rem;
  --dh-section-y: clamp(5rem, 3rem + 8vw, 10rem);
  --dh-measure: 64ch;
  --dh-container: 1120px;
  --dh-container-narrow: 760px;
  /* Radius */
  --dh-r-sm: 6px;
  --dh-r-md: 10px;
  --dh-r-lg: 16px;
  --dh-r-xl: 24px;
  --dh-r-pill: 999px;
  /* Motion (200-300ms, no bounce) */
  --dh-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dh-dur-fast: 200ms;
  --dh-dur-base: 300ms;
  --dh-reveal-travel: 8px;
  --dh-focus-ring: 0 0 0 2px var(--dh-surface-0), 0 0 0 4px var(--dh-gold-soft);
}

@media (prefers-reduced-motion: reduce) {
  :root { --dh-dur-fast: 0.01ms; --dh-dur-base: 0.01ms; --dh-reveal-travel: 0px; }
}
