/* Dropdown behavior managed by NavInteractive JS (mouseenter/mouseleave) */

/* Dropdown width fix - matches Webflow .navbar1_dropdown-list.w--open width */
.navbar1_dropdown-list {
  width: 14rem;
}

.w-tab-link {
  cursor: pointer;
}

/* Hamburger menu animation - replaces Webflow IX2 JS animations */
.menu-icon1_line-top,
.menu-icon1_line-middle,
.menu-icon1_line-bottom {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.w--open .menu-icon1_line-top {
  transform: translateY(8px) rotate(45deg);
}

.w--open .menu-icon1_line-middle {
  opacity: 0;
}

.w--open .menu-icon1_line-bottom {
  transform: translateY(-8px) rotate(-45deg);
}

/* Plane visibility - override Webflow IX3 visibility gate */
.plane.is-1,
.plane.is-2,
.plane.is-3,
.plane-interior.is-1,
.plane-interior.is-2 {
  visibility: visible !important;
}

/* Homepage plane fly-in animations (replaces Webflow IX3 + GSAP) */
.planes-container .plane.is-1,
.planes-container .plane.is-1.bg-blur {
  animation: plane-fly-1 4s ease-out 1.5s both;
}
.planes-container .plane.is-2,
.planes-container .plane.is-2.bg-blur {
  animation: plane-fly-2 4s ease-out 1.5s both;
}
.planes-container .plane.is-3,
.planes-container .plane.is-3.bg-blur {
  animation: plane-fly-3 4s ease-out 1.5s both;
}

@keyframes plane-fly-1 {
  from {
    opacity: 0;
    transform: translate(-15vw, -4vw) translate(-50%, -50%) translate(-160%, 50%) skew(-19deg);
  }
  to {
    opacity: 1;
    transform: translate(-15vw, -4vw) translate(-50%, -50%) skew(-19deg);
  }
}
@keyframes plane-fly-2 {
  from {
    opacity: 0;
    transform: translate(1vw, -28vw) translate(-50%, -50%) translate(-200%, -250%) skew(-19deg);
  }
  to {
    opacity: 1;
    transform: translate(1vw, -28vw) translate(-50%, -50%) skew(-19deg);
  }
}
@keyframes plane-fly-3 {
  from {
    opacity: 0;
    transform: translate(13vw, -19vw) translate(-50%, -50%) translate(90%, -30%) skew(-19deg);
  }
  to {
    opacity: 1;
    transform: translate(13vw, -19vw) translate(-50%, -50%) skew(-19deg);
  }
}

/* Interior plane scroll animation — JS (PlaneInteriorScroll) drives transforms.
   Initial state: offset so planes slide in from opposite sides. */
.plane-interior.is-1,
.plane-interior.is-1.bg-blur {
  transform: translateX(-30vw) skew(-19deg);
}
.plane-interior.is-2,
.plane-interior.is-2.bg-blur {
  transform: translateX(20vw) translateY(3vw) skew(-19deg);
}

/* Article carousel slideshow transitions */
.abovecta_article-content-wrapper {
  opacity: 0;
  display: none;
  transition: opacity 0.5s ease;
}
.abovecta_article-content-wrapper.visible {
  display: flex;
  opacity: 1;
}
.abovecta_article-content-wrapper.hidden {
  opacity: 0;
}
/* Greenhouse job detail rich text */
.greenhouse-board .text-rich-text {
  color: rgba(255, 255, 255, 0.85);
}
.greenhouse-board .text-rich-text h2 {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.greenhouse-board .text-rich-text h3 {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.greenhouse-board .text-rich-text h4 {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.4;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.greenhouse-board .text-rich-text p {
  margin-bottom: 0.75rem;
}
.greenhouse-board .text-rich-text li {
  margin-bottom: 0.35rem;
}
.greenhouse-board .text-rich-text ul,
.greenhouse-board .text-rich-text ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

/* Greenhouse native application form */
.greenhouse-apply-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}
.greenhouse-apply-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.greenhouse-apply-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.greenhouse-apply-form .input-field {
  width: 100%;
}
.greenhouse-apply-select {
  appearance: auto;
  cursor: pointer;
}
.greenhouse-apply-textarea {
  resize: vertical;
  min-height: 5rem;
}
.greenhouse-apply-file {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}
.greenhouse-apply-file::file-selector-button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 0.75rem;
  font-family: inherit;
  font-size: 0.875rem;
  transition: background 0.2s ease;
}
.greenhouse-apply-file::file-selector-button:hover {
  background: rgba(255, 255, 255, 0.2);
}
.greenhouse-apply-submit {
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
.greenhouse-apply-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.greenhouse-apply-success {
  border: 1px solid var(--brand-green);
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 36rem;
}

/* Contact form field labels */
.form-field-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.35rem;
}

/* Textarea styling inside form-element-container */
.form-element-container textarea.input-field {
  width: 100%;
  resize: vertical;
  min-height: 6rem;
}

.abovecta_progress-bar {
  background-color: white !important;
  height: 4px;
  width: 0%;
}

/* Applaud lander: 2-column content + quote layout */
.applaud-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

/* Applaud lander: extra right padding for phase cards so text clears the number */
.applaud-phase-card {
  padding-right: 6rem;
}

@media (max-width: 991px) {
  .applaud-2col {
    grid-template-columns: 1fr;
  }
  .applaud-phase-card {
    padding-right: 2rem;
  }
}

/* Lander hero plane floating animations removed — InteractivePlanes.tsx now
   drives transforms via JS for mouse-following parallax. */
