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

/* ── Design Tokens ─────────────────────────────────── */
:root {
  /* ── Palette ───────────────────────────────────────── */
  --color-bg:          #F2EFE8;
  --color-card:        #E8E0D0;
  --color-card-hover:  #D8CEBF;
  --color-petrol:      #2D6A5E;
  --color-petrol-light:#3D8A7A;
  --color-terracotta:  #C4785A;
  --color-text:        #1A1A1A;
  --color-text-muted:  #4A3F35;
  --color-text-light:  #7A6F65;

  /* ── Semantic aliases (used throughout existing CSS) ── */
  --bg:            var(--color-bg);
  --bg-card:       var(--color-card);
  --bg-card-hover: var(--color-card-hover);
  --accent:        var(--color-petrol);
  --accent-faint:  rgba(45, 106, 94, 0.07);
  --accent-subtle: rgba(45, 106, 94, 0.14);
  --text:          var(--color-text);
  --text-mid:      var(--color-text-muted);
  --text-muted:    var(--color-text-light);
  --border:        rgba(74, 63, 53, 0.1);
  --border-strong: rgba(74, 63, 53, 0.18);
  --white:         #FFFFFF;

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Radius */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-full: 9999px;

  /* Typography */
  --font: 'Source Serif 4', serif;
  --fw-normal:   400;
  --fw-medium:   500;
  --fw-semibold: 600;

  /* Nav — 24px top + ~20px content + 24px bottom ≈ 68px */
  --nav-h: 68px;

  /* Transitions */
  --ease:      220ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Max width */
  --container: 1080px;
}

/* ── Base ──────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Typography ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Source Serif 4', serif;
  font-weight: var(--fw-semibold);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* 40–52px — confident statement, not billboard */
h1 {
  font-size: 1.875rem;
  font-weight: 700;
}

/* 32–44px */
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }

h3 {
  font-size: 1.05rem;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  h2 { font-size: clamp(1.5rem,  5vw, 2rem); }
}

p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.78;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul { list-style: none; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  font-family: var(--font);
}

/* ── Eyebrow label ─────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.6875rem;     /* 11px */
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--sp-4);
}
