/* ==========================================================================
   Design tokens
   Single source of truth for colour, type, spacing, radius, shadow & motion.
   Text colours are tuned to meet WCAG AA (≥ 4.5:1) on both page surfaces.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg-primary:     #FBFAF8;   /* crisp near-white */
  --bg-secondary:   #F2F1ED;   /* light stone grey for alternating sections */
  --bg-elevated:    #FFFFFF;
  --bg-dark:        #1A1A18;
  --bg-hero:        #080706;

  /* Text */
  --text-primary:   #16171A;
  --text-secondary: #45474D;
  --text-muted:     #65676E;
  --text-on-dark:   #F8F6F2;

  /* Brand — earth & mineral palette */
  --accent:          #7B6B4A;
  --accent-deep:     #4A3E2B;
  --accent-light:    #BBA97A;
  --accent-tint:     rgb(123 107 74 / 0.12);
  --geo-teal:        #3D6B6A;
  --geo-teal-light:  #6FB3B0;
  --geo-teal-tint:   rgb(61 107 106 / 0.12);
  --gold:            #8A6A00;
  --gold-bright:     #C9A227;
  --gold-tint:       rgb(161 120 30 / 0.12);

  /* Lines */
  --border:      #E3E0D9;
  --border-dark: #C7C2B8;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgb(16 17 20 / 0.05), 0 1px 1px rgb(16 17 20 / 0.03);
  --shadow-md: 0 8px 24px -8px rgb(16 17 20 / 0.14), 0 2px 4px rgb(16 17 20 / 0.04);
  --shadow-lg: 0 20px 44px -18px rgb(16 17 20 / 0.22), 0 4px 10px rgb(16 17 20 / 0.05);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s var(--ease);

  /* Layout */
  --max-width: 1280px;
  --gutter: 32px;
  --nav-h: 68px;
  --section-pad: 120px;
  --focus-ring: 0 0 0 3px rgb(61 107 106 / 0.45);
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --section-pad: 80px;
  }
}
