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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow: hidden;
  height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* --- SPLIT LAYOUT --- */
.split-landing {
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: relative;
  isolation: auto;
}


.split-halves {
  display: flex;
  flex: 1;
  position: relative;
  height: 100vh;
}

.brain-half {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: flex 0.5s ease;
  cursor: pointer;
}

.split-halves:hover .brain-half {
  flex: 1;
}

.split-halves .brain-half:hover {
  flex: 1.3;
}

/* --- LEFT BRAIN --- */
.left-brain {
  background: #ffffff;
  color: #111111;
}

.left-brain .brain-content {
  text-align: center;
  z-index: 2;
}

.left-brain h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #111111;
}

.left-brain .brain-tagline {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.left-photo {
  width: 180px;
  display: block;
  margin: 0 auto 2rem;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.15);
  filter: grayscale(30%);
  transition: filter 0.3s;
}

.left-brain:hover .left-photo {
  filter: grayscale(0%);
}

/* --- RIGHT BRAIN --- */
.right-brain {
  background: #1a1a1a;
  color: #ffffff;
}

.right-brain .brain-content {
  text-align: center;
  z-index: 2;
}

.right-brain h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.right-brain .brain-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
  font-style: italic;
  line-height: 1.6;
}

.right-photo {
  width: 160px;
  display: block;
  margin: 0 auto 2rem;
  transition: transform 0.3s;
}

.right-brain:hover .right-photo {
  transform: scale(1.05);
}

/* Subtle scanline effect on right brain hover */
.right-brain::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.right-brain:hover::after {
  opacity: 1;
}

.brain-icon {
  height: 400px;
  width: auto;
  display: block;
  margin: 0 auto 1.5rem;
}

/* --- DIVIDER --- */
.brain-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
  pointer-events: none;
  transition: left 0.5s ease;
}

/* --- NAME --- */
.landing-name {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 20;
  mix-blend-mode: difference;
  pointer-events: none;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .split-halves {
    flex-direction: column;
  }

  .brain-half {
    flex: 1;
  }

  .split-halves .brain-half:hover {
    flex: 1;
  }

  .brain-divider {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
  }


  .left-brain h2,
  .right-brain h2 {
    font-size: 1.8rem;
  }

  .left-photo {
    width: 120px;
  }

  .right-photo {
    width: 110px;
  }

  .landing-name {
    font-size: 0.85rem;
  }
}
