/* ==========================================================================
   Design Tokens — Apple Keynote Obsidian & Porcelain Surface System
   Strict 4px grid, nested radius math, disciplined monochrome + cobalt accent.
   ========================================================================== */

:root {
  /* Dark Obsidian Ramp (Keynote Hero, Manifesto, Highlights, Capabilities, Contact) */
  --dark-deep: #060606;
  --dark-bg: #0b0b0d;
  --dark-stage: #111114;
  --dark-surface: #151518;
  --dark-raised: #1e1e22;
  --dark-hover: #27272c;
  --dark-hairline: rgba(245, 245, 247, 0.09);
  --dark-hairline-strong: rgba(245, 245, 247, 0.16);
  --dark-text-primary: #f5f5f7;
  --dark-text-secondary: #a1a1a6;
  --dark-text-muted: #86868b;
  --dark-accent: #2997ff;
  --dark-accent-ink: #5cb0ff;
  --dark-positive: #30d158;

  /* Light Porcelain Ramp (Selected Work, Experience, Capabilities) */
  --light-bg: #fbfbfd;
  --light-surface: #ffffff;
  --light-recessed: #f5f5f7;
  --light-raised: #ececf0;
  --light-hairline: rgba(29, 29, 31, 0.08);
  --light-hairline-strong: rgba(29, 29, 31, 0.16);
  --light-text-primary: #1d1d1f;
  --light-text-secondary: #515154;
  --light-text-muted: #6e6e73;
  --light-accent: #0071e3;
  --light-accent-hover: #0066cc;
  --light-positive: #16a34a;

  /* Typography */
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type Scale */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 0.9375rem;  /* 15px */
  --text-md: 1.0625rem;    /* 17px */
  --text-lg: 1.25rem;      /* 20px */
  --text-xl: 1.5rem;       /* 24px */
  --text-2xl: 2rem;        /* 32px */
  --text-3xl: 2.5rem;      /* 40px */
  --text-hero: clamp(2.625rem, 6vw, 4.75rem);

  /* Strict 4px Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Nested Radius Math */
  --radius-keycap: 6px;
  --radius-control: 10px;
  --radius-pill: 999px;
  --radius-card-inner: 14px;
  --radius-card: 18px;
  --radius-panel: 24px;
  --radius-sheet: 28px;

  /* Elevation */
  --shadow-light-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 18px rgba(0, 0, 0, 0.035);
  --shadow-light-md: 0 12px 32px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-window: 0 28px 72px rgba(0, 0, 0, 0.55);
  --highlight-top-dark: inset 0 1px 0 rgba(255, 255, 255, 0.1);

  /* Motion — Single Apple-inspired deceleration curve */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-mid: 260ms;
  --dur-slow: 480ms;

  /* Layout */
  --nav-height: 56px;
  --container-max: 1180px;
}
