/* ==========================================================================
   OBAGI ATELIER — Design System Tokens
   Warm Alabaster Clinical Luxury Aesthetic
   ========================================================================== */

:root {
  /* Palette — Warm Alabaster & Clinical Cobalt */
  --color-bg: #F7F6F2;
  --color-bg-alt: #EFECE6;
  --color-surface: #FFFFFF;
  --color-surface-subtle: #FBFBF9;
  --color-surface-glass: rgba(247, 246, 242, 0.84);
  --color-surface-glass-strong: rgba(255, 255, 255, 0.92);

  /* Ink & Typography Contrast (WCAG AA+ / AAA verified on #F7F6F2 & #FFFFFF) */
  --color-ink: #11141A;           /* ~16.8:1 on #F7F6F2 */
  --color-ink-secondary: #4B5262; /* ~7.3:1 on #F7F6F2 */
  --color-ink-muted: #697080;     /* ~4.8:1 on #F7F6F2 */
  --color-ink-inverse: #F7F6F2;

  /* Brand Accents — Sampled from Obagi Medical 0.05% Cobalt & Warm Amber Labware */
  --color-accent: #1B3B7B;        /* Clinical Cobalt */
  --color-accent-hover: #132A59;
  --color-accent-soft: rgba(27, 59, 123, 0.08);
  --color-accent-border: rgba(27, 59, 123, 0.24);
  --color-warm: #8F6F47;          /* Refined Warm Bronze */
  --color-warm-soft: rgba(143, 111, 71, 0.1);
  --color-success: #1E5A40;
  --color-success-soft: rgba(30, 90, 64, 0.09);

  /* Borders & Hairlines */
  --border-hairline: rgba(17, 20, 26, 0.1);
  --border-strong: rgba(17, 20, 26, 0.2);
  --border-inverse: rgba(247, 246, 242, 0.18);

  /* Shadows — Whisper-quiet architectural elevation */
  --shadow-xs: 0 1px 2px rgba(17, 20, 26, 0.04);
  --shadow-sm: 0 4px 16px rgba(17, 20, 26, 0.05);
  --shadow-md: 0 12px 36px rgba(17, 20, 26, 0.08);
  --shadow-lg: 0 24px 64px rgba(17, 20, 26, 0.14);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Fluid Type Scale */
  --text-xs: 0.72rem;
  --text-sm: 0.85rem;
  --text-base: 0.96rem;
  --text-md: 1.08rem;
  --text-lg: clamp(1.25rem, 1.8vw, 1.5rem);
  --text-xl: clamp(1.75rem, 2.8vw, 2.45rem);
  --text-2xl: clamp(2.35rem, 4.2vw, 3.6rem);
  --text-hero: clamp(2.8rem, 6.2vw, 5.4rem);

  /* Layout & Spacing */
  --container-max: 1340px;
  --container-pad: clamp(1.25rem, 4vw, 3.25rem);
  --header-height: 74px;
  --section-py: clamp(4.5rem, 8.5vw, 8.5rem);

  /* Radii — Sharp architectural edges with subtle softening */
  --radius-none: 0px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;

  /* Motion */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 620ms;

  /* Z-index layers */
  --z-canvas: 1;
  --z-scrim: 2;
  --z-hero-ui: 3;
  --z-header: 40;
  --z-backdrop: 60;
  --z-drawer: 70;
  --z-modal: 80;
  --z-toast: 90;
}
