/**
 * Styles for Plane Over Sea Scroll Sequence & APAC Testimonials Section
 */

.plane-sequence {
  position: relative;
  height: 250vh; /* Restored to allow enough scroll distance for tall text */
  background-color: #ffffff;
  z-index: 3;
}

.plane-sequence__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 3.5rem 0 2.5rem 0;
}

/* Static Plane Image */
#plane-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  z-index: 20; /* Plane is above the text */
  will-change: transform;
}

/* Header & Content Container (Behind the plane, revealed as plane moves) */
.plane-content-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.plane-content-wrap::-webkit-scrollbar {
  display: none;
}

/* Header matching exact typography in reference screenshot */
.plane-header {
  margin-bottom: 2rem;
}

.plane-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 3.89vw, 3.45rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  padding-top: 0.1em;
}

.plane-heading__dark {
  color: #0c0c0c;
  display: block;
}

.plane-heading__muted {
  color: #b0b0b0;
  display: block;
  margin-top: 0.05em;
}

/* Testimonials Container - No inner scrollbars, clean fluid layout */
.plane-testimonials {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.plane-testimonials::-webkit-scrollbar {
  display: none;
}

.testimonial-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
  border-top: 1px solid #eaeaea;
  padding-top: 2rem;
}

.testimonial-item:first-child {
  border-top: none;
  padding-top: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
}

.testimonial-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.99rem;
  font-weight: 800;
  color: #0c0c0c;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.01em;
}

.testimonial-role {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #777777;
  margin: 0.2rem 0 0 0;
}

.testimonial-quote {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(0.91rem, 1.38vw, 1.16rem);
  line-height: 1.55;
  color: #111111;
  font-weight: 500;
}

.testimonial-quote p {
  margin: 0;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .testimonial-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-author {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .testimonial-img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .plane-heading {
    font-size: clamp(1.55rem, 6.9vw, 2.16rem);
  }
}
