* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Brand header */
.brand {
  text-align: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
  border-bottom: 1px solid #1a1a1a;
}

.brand-old {
  font-size: 1rem;
  color: #666;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand-divider {
  margin: 0 0.75rem;
  color: #444;
  font-weight: 200;
}

.brand-new {
  font-size: 1.2rem;
  color: #e0e0e0;
  letter-spacing: 0.2em;
  font-weight: 300;
}

/* Split layout */
.split {
  display: flex;
  height: calc(100vh - 80px);
  width: 100%;
}

.split-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: flex 0.6s ease;
}

.split-side:hover {
  flex: 1.3;
}

.split-side::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  /* Fixed-width box sized to the panel's widest (hovered) state, so
     background-size: cover never recalculates and the image never zooms.
     1.3 / (1.3 + 1) = ~56.5% of the screen. */
  left: 50%;
  width: 57vw;
  transform: translateX(-50%);
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.gallery-side::before {
  background-image: 
    linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%),
    url('../images/hero-gallery.jpg');
}

.blog-side::before {
  background-image: 
    linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%),
    url('../images/hero-blog.jpg');
}

.split-content {
  text-align: center;
  z-index: 2;
  padding: 2rem;
}

.split-content h2 {
  font-size: 2.2rem;
  font-weight: 200;
  letter-spacing: 0.4em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.split-content p {
  font-size: 0.9rem;
  color: #bbb;
  letter-spacing: 0.15em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.8);
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 0.1em;
  z-index: 10;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

/* Mobile */
@media (max-width: 768px) {
  .split {
    flex-direction: column;
    height: calc(100vh - 70px);
  }
  
  .brand {
    padding: 1rem;
  }
  
  .brand-new {
    font-size: 1rem;
  }
  
  .split-content h2 {
    font-size: 1.8rem;
    letter-spacing: 0.3em;
  }
  
  .split-side:hover {
    flex: 1;
  }

  .split-side::before {
    left: 0;
    width: 100%;
    transform: none;
  }
}
