/* =====================================================
   Natalie Milligan — Design Tokens v1
   Single source of truth for color, type, radius, spacing, shadow.
   All HTML files link this file.
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* ---------- Color: surface / background ---------- */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAF7F2;   /* soft warm fill */
  --bg-tertiary: #F3EDE3;    /* warm stone */
  --bg-inverse: #1A1614;     /* warm black — CTAs, dark strip, footer */

  /* ---------- Color: text ---------- */
  --text-primary: #1A1614;
  --text-secondary: #5A524C;
  --text-tertiary: #9B928A;
  --text-accent: #A35F50;
  --text-inverse: #FFFFFF;

  /* ---------- Color: brand accent (terracotta) ---------- */
  --accent-50:  #FDF1EC;
  --accent-100: #FBE3D9;
  --accent-300: #E89989;
  --accent-500: #A35F50;   /* signature rust */
  --accent-700: #69382D;
  --accent-900: #42231D;

  /* ---------- Color: testimonial / section accent pastels ---------- */
  --surface-stone: #F3EDE3;   /* Nick — featured */
  --surface-peach: #FDEEE0;   /* Alessio */
  --surface-blush: #FBEAF0;   /* Kate */
  --surface-cream: #FAEEDA;   /* Positioning strip */
  --surface-black: #1A1614;   /* Final CTA */

  --ink-stone: #1A1614;
  --ink-peach: #42231D;
  --ink-blush: #72243E;
  --ink-cream: #633806;
  --ink-black: #FFFFFF;

  /* ---------- Borders ---------- */
  --border-subtle:  rgba(26,22,20,0.08);
  --border-default: rgba(26,22,20,0.15);
  --border-strong:  rgba(26,22,20,0.25);

  /* ---------- Type ---------- */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* ---------- Radius ---------- */
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-xl: 8px;
  --radius-pill: 8px;    /* small pill / chip / button corner */
  --radius-nav: 16px;    /* nav bar — slightly more rounded */

  /* ---------- Spacing (4pt scale) ---------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* ---------- Shadow ---------- */
  --shadow-sm: 0 1px 2px rgba(26,22,20,0.04);
  --shadow-md: 0 4px 16px rgba(26,22,20,0.06);
  --shadow-lg: 0 12px 40px rgba(26,22,20,0.08);

  /* ---------- Type scale ---------- */
  --fs-display: 72px;  --lh-display: 1.05;
  --fs-h1: 48px;       --lh-h1: 1.15;
  --fs-h2: 36px;       --lh-h2: 1.2;
  --fs-h3: 24px;       --lh-h3: 1.3;
  --fs-body-lg: 18px;  --lh-body-lg: 1.7;
  --fs-body: 16px;     --lh-body: 1.7;
  --fs-body-sm: 14px;  --lh-body-sm: 1.6;
  --fs-eyebrow: 12px;  --ls-eyebrow: 1.5px;
}

/* ---------- Base resets & typography defaults ---------- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; color: var(--text-secondary); }

a { color: var(--text-accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-700); }

/* ---------- Utility tokens ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  line-height: 1.4;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-tertiary);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--bg-inverse);
  color: var(--text-inverse);
}
.btn-primary:hover { background: #2a2420; color: var(--text-inverse); }

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-default);
}
.btn-secondary:hover { background: var(--bg-secondary); border-color: var(--border-strong); }

.btn-sm { padding: 10px 18px; font-size: 13px; }

.btn .arrow {
  display: inline-flex;
  width: 16px; height: 16px;
  align-items: center; justify-content: center;
}

/* ---------- Chip / pill ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.chip-dark { background: var(--bg-inverse); color: var(--text-inverse); border-color: transparent; }
.chip-accent { background: var(--accent-50); color: var(--accent-700); border-color: transparent; }

/* ---------- Icon-only button (no box, just the icon) ---------- */
.icon-btn {
  width: 36px; height: 36px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color 0.18s ease;
}
.icon-btn:hover { color: var(--text-primary); }
