/* Migration overrides. The original Webflow stylesheet is kept as the visual base. */
html { scroll-behavior: smooth; }
body { margin: 0; }
button { font: inherit; }

/* Remove interaction-only hidden states from the Webflow build. */
.info-component,
.padding-section-large,
.story-component,
.testimonial-component,
.faq-component,
.cta-component { opacity: 1 !important; transform: none !important; }

/* Use local image files without Webflow responsive srcsets.
   Keep .image-3 controlled by the original Webflow breakpoints:
   it is the mobile hero and must stay hidden on desktop. */
.image, .lightbox-image, .cta-image { display: block; }

/* Mobile navigation implemented locally, without Webflow JS. */
.navbar-menu-buttton { border: 0; background: transparent; cursor: pointer; }
.dropdown-toggle-2 { border: 0; background: transparent; cursor: pointer; text-align: left; }
.abs-chevron { display: inline-block; width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: .55rem; vertical-align: .2rem; }
.abs-process-menu { display: none; }
.navbar-dropdown-link.is-open .abs-process-menu { display: block; }

/* FAQ */
.faq-question { width: 100%; border: 0; text-align: left; cursor: pointer; }
.faq-answer { height: 0; overflow: hidden; transition: height .28s ease; }
.faq-accordion.is-open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform .2s ease; }

/* Story video */
.lightbox { border: 0; padding: 0; width: 100%; cursor: pointer; background: transparent; position: relative; }
.abs-video-modal { display: none; position: fixed; inset: 0; z-index: 99999; align-items: center; justify-content: center; padding: 24px; }
.abs-video-modal.is-open { display: flex; }
.abs-video-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); }
.abs-video-dialog { position: relative; z-index: 1; width: min(960px, 94vw); }
.abs-video-frame { position: relative; padding-top: 56.25%; background: #000; }
.abs-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.abs-video-close { position: absolute; right: 0; top: -48px; border: 0; background: transparent; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
body.abs-modal-open { overflow: hidden; }

.abs-generic-page { min-height: 50vh; }

@media screen and (min-width: 992px) {
  .navbar-dropdown-link:hover .abs-process-menu { display: block; }
}

@media screen and (max-width: 991px) {
  .navbar-menu-wrapper { display: none !important; }
  .navbar-menu-wrapper.is-open { display: flex !important; }
  .navbar-menu-buttton { display: block !important; }
  .navbar-menu-wrapper.is-open { position: absolute; left: 0; right: 0; top: 100%; z-index: 1000; background: #fff; flex-direction: column; padding: 1.25rem 5%; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .navbar-menu-wrapper.is-open .navbar-menu, .navbar-menu-wrapper.is-open .navbar-button-wrapper { width: 100%; }
  .navbar-menu-wrapper.is-open .navbar-link, .navbar-menu-wrapper.is-open .dropdown-toggle-2 { width: 100%; display: block; padding-top: .7rem; padding-bottom: .7rem; }
  .navbar-menu-wrapper.is-open .abs-process-menu { position: static; box-shadow: none; padding-left: 1rem; }
  .navbar-3 { position: relative; z-index: 1000; }
}


/* v0.2 visual parity fixes */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Keep the Process chevron beside the label instead of dropping below it. */
.dropdown-toggle-2.abs-process-toggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.dropdown-toggle-2.abs-process-toggle .abs-chevron {
  flex: 0 0 auto;
  margin-left: 0;
  vertical-align: 0;
}

/* Recreate the Webflow lightbox overlay/button positioning exactly. */
.story-lightbox-wrapper .lightbox {
  width: 90%;
}
.story-lightbox-wrapper .lightbox-overlay {
  display: block;
}
.story-lightbox-wrapper .lightbox-button {
  display: grid;
}

@media screen and (max-width: 991px) {
  .story-lightbox-wrapper .lightbox { width: 90%; }
}

@media screen and (max-width: 479px) {
  .story-lightbox-wrapper .lightbox { width: 100%; }
}

/* v0.3: match original Webflow responsive source ordering.
   On tablet/mobile Webflow places the question copy before the mountain image. */
@media screen and (max-width: 991px) {
  .info-component .info-content-wrapper { order: -9999; }
}
