/* ====== VARIABLES ====== */
:root {
  --sage: #5c7a4e;
  --sage-dark: #4e6a42;
  --sage-deeper: #435c39;
  --cream: #f4f1eb;
  --white: #ffffff;
  --dark: #1e2819;
  --text-on-sage: #ffffff;
  --text-muted: rgba(255,255,255,0.82);
  --cta-red: #c4453a;
  --cta-red-hover: #a83830;
  --cta-red-glow: rgba(196, 69, 58, 0.35);
  --nogo-red: #c45c4a;
  --accent-green: #4aad5b;
  --radius: 8px;
  --max-width: 720px;
  --max-width-wide: 960px;

  /* 4-tier spacing scale */
  --space-xs: 40px;
  --space-sm: 64px;
  --space-md: 100px;
  --space-lg: 140px;

  /* Typography fluid scale */
  --text-kicker: 11px;
  --text-body: 15px;
  --text-lead: clamp(17px, 2vw, 19px);
  --text-h3: clamp(18px, 2.5vw, 22px);
  --text-h2: clamp(28px, 4vw, 38px);
  --text-h1: clamp(40px, 6.5vw, 60px);
  --text-display: clamp(48px, 8vw, 72px);

  /* Content width tiers */
  --width-narrow: 580px;
  --width-default: 720px;
  --width-article: 820px;
  --width-wide: 960px;
}

/* ====== RESET ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--sage);
  color: var(--text-on-sage);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ====== UTILITIES ====== */
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-label, .kicker {
  font-size: var(--text-kicker);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}

.divider {
  width: 60px;
  height: 1px;
  background: rgba(244,241,235,0.2);
  margin: 0 auto;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.animate-on-scroll {
  opacity: 0;
}
.animate-on-scroll.visible {
  animation: fadeUp 0.7s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll { opacity: 1 !important; animation: none !important; }
}
