/* ================================================
   NLBD.DEV — Brutalist Ma-Negative-Space
   Space Mono | High-Contrast B&W + Red Accent
   ================================================ */

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

:root {
  --void: #FAFAFA;
  --black: #0A0A0A;
  --gray: #888888;
  --red: #E63946;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  font-size: clamp(0.875rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  color: var(--black);
  background-color: var(--void);
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  font-size: 0.85rem;
  color: var(--black);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav--visible {
  opacity: 1;
}

.nav__logo {
  font-weight: 700;
}

.nav__menu {
  color: var(--gray);
  cursor: pointer;
}

/* ---- HERO ---- */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding-left: 15vw;
}

.hero__text {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ---- RED DOT ---- */
.red-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-left: 0.15em;
  vertical-align: middle;
}

/* ---- CONTENT BLOCKS ---- */
.content {
  max-width: 55ch;
  margin-bottom: 20vh;
}

.content--left {
  margin-left: 15vw;
}

.content--right {
  margin-left: auto;
  margin-right: 15vw;
  text-align: right;
}

.marker {
  width: 12px;
  height: 12px;
  background: var(--black);
  margin-bottom: 1.5rem;
}

.content--right .marker {
  margin-left: auto;
}

.content__heading {
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.content p {
  margin-bottom: 1rem;
  color: var(--black);
}

.content p:last-child {
  margin-bottom: 0;
}

/* ---- ASYMMETRIC HORIZONTAL RULES ---- */
.rule {
  border: none;
  height: 1px;
  background: var(--black);
  width: 40vw;
  margin-top: 5vh;
  margin-bottom: 20vh;
}

.rule--left {
  margin-left: 0;
  margin-right: auto;
}

.rule--right {
  margin-left: auto;
  margin-right: 0;
}

/* ---- DIVIDER ---- */
.divider {
  width: 100%;
  height: 1px;
  background: var(--black);
  margin: 10vh 0;
}

/* ---- FOOTER ---- */
.footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem 15vw 4rem;
  font-size: 0.85rem;
  color: var(--gray);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero {
    padding-left: 2rem;
  }

  .content--left {
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .content--right {
    margin-left: 2rem;
    margin-right: 2rem;
    text-align: left;
  }

  .content--right .marker {
    margin-left: 0;
  }

  .rule {
    width: 60vw;
  }

  .footer {
    padding: 2rem;
  }
}
