* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #6b6b6b;
  --line: rgba(255, 255, 255, 0.14);
}

html,
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  position: relative;
  z-index: 3;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 13px;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--fg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 70vh;
}

.dither-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
  mix-blend-mode: difference;
}

.hero-title {
  font-weight: 700;
  font-size: clamp(48px, 14vw, 200px);
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: #ffffff;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 24px 40px;
  position: relative;
  z-index: 3;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-identity {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 12px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.footer-copy {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

@media (max-width: 600px) {
  .nav,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
