/* ============================================
   ABOUT / TANITIM SECTION
   Scroll-driven video zoom to fullscreen
   ============================================ */

/* Outer wrapper – tall to create scroll room */
.about {
  position: relative;
  width: 100%;
  height: 300vh;
  background-color: #FFFFFF;
}

/* Sticky viewport container */
.about__inner {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ── Content wrapper (holds text + video in flex) ── */
.about__content {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--space-10);
  gap: var(--space-12);
  pointer-events: none;
}

/* ── Left: Text Block (1/3) ── */
.about__text {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding-right: var(--space-8);
  will-change: opacity, transform;
}

/* Description */
.about__desc {
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-neutral-950);
}

/* ── Right: Video Placeholder (keeps layout space) ── */
.about__video {
  flex: 0 0 66.666%;
  max-width: 66.666%;
  position: relative;
  aspect-ratio: 16 / 9;
}

/* ── Fixed video layer (animated via JS) ── */
.about__video-fixed {
  position: fixed;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  will-change: top, left, width, height, border-radius;
  /* Start hidden until JS takes over */
  display: none;
}

.about__video-fixed video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .about {
    height: auto;
  }

  .about__inner {
    position: relative;
    height: auto;
    padding: var(--space-16) 0;
  }

  .about__content {
    flex-direction: column;
    padding: 0 var(--space-6);
    gap: var(--space-8);
    justify-content: center;
  }

  .about__text {
    flex: 0 0 auto;
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    opacity: 1 !important;
    transform: none !important;
  }

  .about__video {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .about__video-fixed {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    top: auto !important;
    left: auto !important;
    border-radius: 12px !important;
    overflow: hidden;
    z-index: 1;
  }

  .about__video-fixed video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .about {
    height: 250vh;
  }

  .about__content {
    flex-direction: column;
    padding: 0 var(--space-6);
    gap: var(--space-8);
    justify-content: center;
  }

  .about__text {
    flex: 0 0 auto;
    max-width: 100%;
    padding-right: 0;
    text-align: center;
  }

  .about__video {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
}
