/* ============================================
   BASE RESET & GLOBAL STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  font-weight: 500;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ── Selection ── */
::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ── Section Base ── */
section {
  min-height: 100vh;
  width: 100%;
  position: relative;
  padding: var(--section-pad);
  overflow: hidden;
}

/* Divider between sections */
section + section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--divider);
  z-index: 10;
}

/* ── Pill Tags ── */
.pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--divider);
  color: var(--text-secondary);
  border: none;
}

/* ── Links ── */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-primary);
}

/* ── Image Reset ── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
