/* BASE — reset, page background, section layout, shared label */
* { box-sizing: border-box; }

  button, input, textarea { font-family: inherit; }
  
html, body {
  margin: 0;
  padding: 0;
  background: var(--space);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  background: var(--space);
}

section {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;   /* tight, even gaps between sections */
}

.section-label {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 6px #000;
  paint-order: stroke fill;
}

/* screen-reader-only text (stays in the accessibility tree, invisible on screen) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* keyboard users: first Tab stop jumps past the nav to the content */
.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 1000;
  padding: 8px 16px;
  background: #fff;
  color: #000;
  border: 4px solid #000;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; outline: 3px solid var(--accent2); outline-offset: 3px; }
