/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #C8102E;
  --red-dark: #a00d24;
  --red-pale: #fdf0f2;
  --cream: #FAFAF8;
  --cream-dark: #F2F0EC;
  --cream-border: #E8E5DF;
  --white: #FFFFFF;
  --text: #1a1a1a;
  --text-mid: #555;
  --text-light: #888;
  --border: #e0ddd8;
  --green: #16a34a;
  --green-pale: #f0fdf4;
  --amber: #d97706;
  --danger: #d44332;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --z-sticky: 10;
  --z-dropdown: 50;
  --z-header: 100;
  --z-modal: 200;
  --z-overlay: 300;
  --z-pin: 2000;
  --colour-amber-bg: #fef9e7;
  --colour-amber-border: #f0d78c;
  --colour-amber-text: #92600a;
  --colour-tan: #c8913c;
  --colour-dark-navy: #1a2332;
  --colour-orange-bg: #fff1e6;
  --colour-orange: #c45000;

  /* Spacing scale (for future use) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === Animations === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes dashMove {
  to { stroke-dashoffset: -20; }
}

.fade-in-up {
  animation: fadeInUp 0.4s ease both;
  animation-delay: calc(var(--anim-index, 0) * 50ms);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
