/* ==========================================================================
   GEDHome 2.0 — Design System Tokens
   Architectural Concrete, Warm Stone, Charcoal Obsidian & Precision Gold
   ========================================================================== */

:root {
  /* Core Surfaces */
  --bg-obsidian: #0c0b0a;
  --bg-charcoal: #141210;
  --bg-concrete-dark: #1d1a16;
  --bg-stone-dark: #27231e;

  --bg-cream: #f4efe6;
  --bg-limestone: #eae2d4;
  --bg-warm-white: #faf7f1;

  /* Typography & Ink */
  --ink-light: #f6f1e7;
  --ink-light-muted: #aba193;
  --ink-light-dim: #736b60;

  --ink-dark: #161310;
  --ink-dark-muted: #574f45;
  --ink-dark-dim: #847a6d;

  /* Precision Accent (Gold used with restraint) */
  --gold: #d6a148;
  --gold-hi: #ecc77c;
  --gold-dim: rgba(214, 161, 72, 0.22);
  --gold-deep: #8d611b;

  /* Material Oxide & Utility */
  --oxide: #b8532a;
  --wa: #168a46;
  --wa-hover: #117138;
  --danger: #c44536;

  /* Structural Hairlines */
  --line-dark: rgba(246, 241, 231, 0.12);
  --line-dark-strong: rgba(246, 241, 231, 0.24);
  --line-light: rgba(22, 19, 16, 0.12);
  --line-light-strong: rgba(22, 19, 16, 0.26);

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Fluid Type Scale */
  --text-xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --text-sm: clamp(0.84rem, 0.81rem + 0.14vw, 0.92rem);
  --text-base: clamp(0.96rem, 0.93rem + 0.18vw, 1.06rem);
  --text-lg: clamp(1.12rem, 1.05rem + 0.35vw, 1.32rem);
  --text-xl: clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --text-2xl: clamp(2rem, 1.55rem + 2.1vw, 3.4rem);
  --text-hero: clamp(2.55rem, 1.8rem + 3.8vw, 5.6rem);

  /* Spacing & Layout */
  --container-max: 1480px;
  --gutter: clamp(1.25rem, 3.2vw, 3.5rem);
  --section-py: clamp(4.5rem, 7.5vw, 8.5rem);

  /* Crisp Architectural Radii (Restrained) */
  --r-none: 0px;
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;

  /* Motion */
  --ease-arch: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
  --dur-slow: 820ms;

  /* Z-index Layers */
  --z-bg: 0;
  --z-base: 10;
  --z-grain: 50;
  --z-header: 200;
  --z-drawer: 300;
  --z-fab: 250;
  --z-modal: 500;
  --z-lightbox: 600;
  --z-progress: 700;

  /* Dynamic Hero Ambient Tint (updated by JS per slide) */
  --ambient-rgb: 214, 161, 72;
}
