/* ============================================================
   base.css — resets, design tokens, global typography
   ============================================================ */

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

:root {
  --bg:          #fff1f1;
  --ink:         #1A1A1A;
  --mid:         #6E6670;
  --rule:        #d9cdd4;
  --accent:      #b5502f;
  --accent-soft: rgba(181, 80, 47, 0.12);
  --serif:       'DM Serif Display', Georgia, serif;
  --sans:        'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ── Shared section primitives ── */
section {
  padding: 7rem 4rem;
  border-top: 1px solid var(--rule);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.65em;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 3.5rem;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 1.3em;
  height: 2px;
  background: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  section {
    padding: 4rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}