/* ================================================================
   ECON Tech — Base Styles
   Typography, utilities, layout helpers, animations.
   ================================================================ */

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

/* ── Accent color utility ── */
.accent { color: var(--red); }

/* ── Section label (eyebrow text) ── */
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

/* ── Section subtitle ── */
.section-sub {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Section header (centered) ── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-header h2 span { color: var(--red); }

/* ── Scroll-triggered fade-up animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ── Visually hidden (SEO / accessibility) ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Responsive helpers ── */
@media (max-width: 600px) {
  :root {
    --container-px: 20px;
    --section-pad: 64px;
  }
}
