/* === SCROLLYTELLING SECTIONS === */

.scrolly-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  margin: 48px 0;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.scrolly-sticky {
  position: sticky;
  top: 72px;
  height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.scrolly-sticky--left { order: -1; }

.scrolly-image-container {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--c-hero-bg);
}

.scrolly-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
}

.scrolly-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.4);
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.scrolly-text {
  padding: 20vh 32px 20vh 48px;
}

.scrolly-text--right {
  padding: 20vh 48px 20vh 32px;
}

.scrolly-text h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
}

.scrolly-text h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 32px 0 12px;
}

.scrolly-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text-secondary);
  margin-bottom: 16px;
}

/* Scroll progress indicator */
.scrolly-progress {
  position: fixed;
  top: 56px;
  left: 0;
  height: 2px;
  background: var(--c-accent);
  z-index: 99;
  transition: width 0.1s linear;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .scrolly-section {
    grid-template-columns: 1fr;
    min-height: auto;
    margin: 24px 0;
  }

  .scrolly-sticky {
    position: relative;
    top: auto;
    height: 50vw;
    min-height: 240px;
  }

  .scrolly-text,
  .scrolly-text--right {
    padding: 24px 20px;
  }
}

