/* ============================================================
   Base — reset, typography, container, utilities
   ============================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--green), var(--blue-2));
  z-index: 200;
  transition: width .1s linear;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Section primitives */
section { padding: 120px 0; position: relative; }

.section-head {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--orange);
}
.section-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700; letter-spacing: -.01em;
  line-height: 1.15;
  margin: 0 0 18px;
}
.section-title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}
.section-title em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  border-radius: 2px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}
