.split-section {
  display: flex;
  height: calc(3 * 100vh);
  scroll-snap-align: start;
}

/* Left panel stays fixed for the full scroll length */
.split-section .left {
  flex: 1;
  position: sticky;
  top: 0;
  height: 100vh;
  background: #e7e1f9;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-section .left-content {
  max-width: 80%;
  text-align: center;
  padding: 20px;
}
.split-section .left-content h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
}
.split-section .left-content p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #555;
}

.split-section .left-content {
  text-align: left;
  color: #2A2D3D;
}

.split-section .left-content .talk-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;               /* space between text and arrow */
  margin-top: 1rem;
  font-size: 1rem;
  color: #2A2D3D;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.split-section .left-content .talk-link:hover {
  opacity: 0.7;
}

/* size the arrow */
.split-section .left-content .talk-arrow {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.split-section .accent {
  color: #f29836;
}

/* Right panel: bar + slides */
.split-section .right {
  flex: 1;
  display: flex;
}

/* The bar: sticky to top, full panel height */
.split-section .bar {
  width: 8px;
  background: #61428E;
  position: sticky;
  top: 0;
  height: 100vh;
  transition: background 0.3s ease;
}
/* When page is scrolled even a bit… */
.split-section .bar.scrolled {
  background: #61428E;
}

/* Slides wrapper: stack of 3 × 100vh sections */
.split-section .slides {
  flex: 1;
}

/* Each slide fills the viewport */
.split-section .slide {
  position: relative;
  height: 100vh;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;
}
/* dark overlay for text clarity */
.split-section .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: -1;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

/* Text content over the slide */
.split-section .slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  padding: 0 20px;
}
.split-section .slide-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.split-section .slide-content p {
  font-size: 1rem;
  line-height: 1.4;
  max-width: 80%;
  margin: 0 auto;
  color: #fff;
}