/*
 * base.css
 * ─────────────────────────────────────────────────────
 * Design tokens, reset, typography, buttons, utilities.
 * Rarely needs editing — change variables here to restyle the whole site.
 */

/* ── DESIGN TOKENS ──────────────────────────────────── */
:root {
  /* Colours */
  --cream:       #FAF6EF;
  --cream-dark:  #F2ECE1;
  --forest:      #1E3A2F;
  --forest-deep: #0F211A;
  --yellow:      #F2C94C;
  --yellow-light:#FDF5D0;
  --text:        #1A1A1A;
  --muted:       #7A7A7A;
  --white:       #FFFFFF;
  --border:      #E5DDD0;

  /* Spacing */
  --section-pad: 100px 80px;
  --section-pad-tablet: 80px 40px;
  --section-pad-mobile: 64px 20px;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, .serif {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.1;
}

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
  line-height: 1;
}

.btn-dark         { background: var(--text); color: var(--cream); }
.btn-dark:hover   { background: var(--forest); }

.btn-yellow       { background: var(--yellow); color: var(--text); }
.btn-yellow:hover { background: #e8bd3a; }

.btn-forest       { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--forest-deep); }

.btn-white        { background: var(--white); color: var(--forest); }
.btn-white:hover  { background: var(--yellow); color: var(--text); }

.btn-ghost-light  { color: rgba(255,255,255,0.85); border: 2px solid rgba(255,255,255,0.3); background: transparent; }
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.8); color: var(--white); }

.btn-ghost-dark   { color: var(--text); border: 2px solid rgba(0,0,0,0.2); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--text); }

/* ── SECTION UTILITIES ──────────────────────────────── */
.section { padding: var(--section-pad); }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* ── SCROLL ANIMATION ───────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
