/* ===== CSS Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  background: #020617; /* TRUE black / space black */
  color: var(--color-text-main);
  overflow-x: hidden;
}


/* ===== Container ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Headings ===== */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.4rem; }

/* ===== Text ===== */
p {
  color: var(--color-text-light);
  margin-top: 1rem;
}

/* ===== Sections ===== */
.section {
  padding: var(--section-padding) 0;
}

.alt-bg {
  background: linear-gradient(
    180deg,
    rgba(15, 59, 67, 0.6),
    rgba(7, 31, 36, 0.95)
  );
}

/* ===== Links ===== */
a {
  text-decoration: none;
  color: inherit;
}

/* ===== Images ===== */
img {
  max-width: 100%;
  display: block;
}
body {
  background: #020617;
  color: #e5e7eb;
  overflow-x: hidden;
}

/* Canvas must be behind everything */
#starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
}
/* ===== Scroll Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
html {
  scroll-behavior: smooth;
}
