/* Base styles */
html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  height: 100vh;
  overflow: hidden;
  background: var(--bg-fallback);
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.08;
  font-weight: 600;
}

p {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  max-width: 60ch;
  margin: 0.6rem auto;
  color: var(--muted);
}


/* ===================== */
/* HEADER */
/* ===================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px 0;
  background: transparent;
  z-index: 2;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  opacity: 0.5;
  transition: opacity 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(124, 107, 196, 0.4), 0 0 40px rgba(124, 107, 196, 0.15);
}

/* ===================== */
/* MAIN CONTENT */
/* ===================== */

#content {
  position: relative;
  z-index: 1;
}

.stage {
  height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
}

.stage h1 {
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.stage h2 {
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.stage p {
  color: var(--muted);
}

/* Subtle tagline style */
.tagline {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  opacity: 0.8;
}

/* ===================== */
/* DOTS BACKGROUND */
/* ===================== */

#dots {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  #dots {
    display: none;
  }
}
