/* --- DESIGN SYSTEM TOKENS & METRICS --- */
:root {
  /* Colors - Minimalist Luxury Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-tertiary: #eaeaea;
  
  --text-primary: #111111;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --text-muted: #a1a1a6;
  
  --border-primary: #eaeaea;
  --border-secondary: #d2d2d7;
  --border-hover: #111111;

  --accent-color: #000000;
  --accent-hover: #1d1d1f;
  
  /* HSL customized for elegant dark backgrounds/overlays */
  --overlay-bg: rgba(0, 0, 0, 0.4);
  --overlay-blur: 15px;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);

  /* Shadows - Premium Soft Subtle Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.02);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-round: 50%;

  /* Fluid Typography (Clamp-based) */
  --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --fs-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.95rem);
  --fs-base: clamp(0.95rem, 0.9rem + 0.35vw, 1.1rem);
  --fs-md: clamp(1.1rem, 1.05rem + 0.4vw, 1.3rem);
  --fs-lg: clamp(1.3rem, 1.2rem + 0.6vw, 1.6rem);
  --fs-xl: clamp(1.6rem, 1.45rem + 0.9vw, 2.2rem);
  --fs-xxl: clamp(2.2rem, 1.95rem + 1.5vw, 3.5rem);
  --fs-display: clamp(3rem, 2.5rem + 3vw, 5.5rem);

  /* Line Heights */
  --lh-tight: 1.15;
  --lh-body: 1.6;
  --lh-relaxed: 1.8;

  /* Spacing (Fluid) */
  --space-xs: clamp(0.4rem, 0.35rem + 0.25vw, 0.6rem);
  --space-sm: clamp(0.8rem, 0.7rem + 0.5vw, 1.2rem);
  --space-md: clamp(1.5rem, 1.3rem + 1vw, 2.5rem);
  --space-lg: clamp(2.5rem, 2.2rem + 2vw, 4.5rem);
  --space-xl: clamp(4.5rem, 4rem + 4vw, 8rem);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Z-Index Hierarchy */
  --z-back: -1;
  --z-normal: 1;
  --z-sticky: 100;
  --z-header: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-max: 500;
}

/* Base resets specifically mapping layout styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
