/* ============================================================
   BASE.CSS — Global Reset & Typography
   Provides a clean slate and typographic foundation
   using Plus Jakarta Sans from Google Fonts.
   ============================================================ */

/* ─── Font Import ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

/* ─── Body ──────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
}

h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
}

h3 {
  font-size: 18px;
  font-weight: 700;
}

h4 {
  font-size: 16px;
  font-weight: 600;
}

p {
  margin-bottom: 1em;
}

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

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

/* ─── Section Tags & Titles ─────────────────────────────────── */
.section-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
}

/* ─── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

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

/* ─── Lists ─────────────────────────────────────────────────── */
ul, ol {
  list-style: none;
}

/* ─── Buttons Reset ─────────────────────────────────────────── */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── Inputs Reset ──────────────────────────────────────────── */
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* ─── Scroll Reveal Animation ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── Responsive: Mobile ────────────────────────────────────── */
@media (max-width: 860px) {
  .container {
    padding: 0 24px;
  }
}
