/* PHP site helpers — keep original design intact */

body.preload {
  overflow: auto;
}

/*
 * Without motion JS: show Next-export opacity:0 content immediately.
 * With .motion-ready: GSAP owns reveal (see assets/js/motion.js).
 */
html:not(.motion-ready) [style*="opacity:0"],
html:not(.motion-ready) [style*="opacity: 0"] {
  opacity: 1 !important;
  transform: none !important;
}

html.motion-ready [style*="opacity:0"],
html.motion-ready [style*="opacity: 0"] {
  /* leave for GSAP — do not force visible */
}

html.motion-ready .js-reveal:not(.is-revealed) {
  will-change: opacity, transform;
}

/* Ship with confidence — destination list must stay readable (export left opacity:0) */
.Popular_popular__MxdiM .BlockSlider_list__oE2Nh,
.Popular_popular__MxdiM .BlockSlider_list__oE2Nh .BlockSliderItem_item__u7AGG {
  opacity: 1 !important;
  transform: none !important;
}

.Popular_popular__MxdiM .BlockSlider_blockSlider__nbjBR {
  align-items: stretch;
}

.Popular_popular__MxdiM .BlockSlider_list__oE2Nh {
  align-content: stretch;
  min-height: 18rem;
}

@media (min-width: 64em) {
  .Popular_popular__MxdiM .BlockSlider_list__oE2Nh {
    min-height: 32.32421875vw;
  }

  .Popular_popular__MxdiM .BlockSliderItem_item__u7AGG {
    height: 50%;
    box-sizing: border-box;
  }
}

.Popular_popular__MxdiM .BlockSlider_image__BNP3g {
  opacity: 0;
  transition: opacity 0.55s ease;
}

.Popular_popular__MxdiM .BlockSlider_image__BNP3g.BlockSlider_currentImage__ZjCfJ,
.Popular_popular__MxdiM .BlockSlider_image__BNP3g.is-active {
  opacity: 1;
}

.Popular_popular__MxdiM .BlockSliderItem_item__u7AGG {
  cursor: pointer;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.Popular_popular__MxdiM .BlockSliderItem_item__u7AGG.is-active {
  color: #000d10;
}

.Popular_popular__MxdiM .BlockSliderItem_item__u7AGG:not(.is-active) {
  opacity: 0.55 !important;
}

.Popular_popular__MxdiM .BlockSliderItem_item__u7AGG.is-active {
  opacity: 1 !important;
}

/* Lenis smooth scroll */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* Scrolled header polish */
.site-top-header.is-scrolled,
.Top_header__raEQJ.is-scrolled {
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease;
}

.HeaderHome_header__BRaSQ .site-top-header.is-scrolled,
.HeaderHome_header__BRaSQ .Top_header__raEQJ.is-scrolled {
  background: rgba(0, 13, 16, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (prefers-reduced-motion: reduce) {
  html.motion-ready [style*="opacity:0"],
  html.motion-ready [style*="opacity: 0"],
  html.motion-ready .js-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Mobile menu (drawer) ---------- */
.Logo_textBrand {
  text-decoration: none;
  color: #000d10;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  min-height: 55px;
}

.site-menu-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 30;
}

.site-menu-toggle {
  position: relative;
  width: 3rem !important;
  height: 3rem !important;
  min-width: 3rem;
  min-height: 3rem;
  border-radius: 50% !important;
  background: #000d10 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  z-index: 31;
  cursor: pointer;
}

.site-menu-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.1rem;
}

.site-menu-toggle__icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle__icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle__icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
}

.site-mobile-menu[hidden] {
  display: none !important;
}

.site-mobile-menu.is-open {
  pointer-events: auto;
}

.site-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 13, 16, 0.55);
  opacity: 0;
  transition: opacity 0.28s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.site-mobile-menu.is-open .site-mobile-menu__backdrop {
  opacity: 1;
}

.site-mobile-menu__panel {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  width: min(100%, 22rem) !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  background: #000d10 !important;
  color: #fff;
  transform: translateX(105%) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
  overflow: hidden;
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.28);
}

.site-mobile-menu.is-open .site-mobile-menu__panel,
.site-mobile-menu__panel.is-open,
.site-mobile-menu__panel.MenuContainer_isVisible__vA3eD {
  transform: translateX(0) !important;
}

.site-mobile-menu__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.35rem 1.75rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.site-mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.site-mobile-menu__brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.site-menu-close {
  width: 2.75rem !important;
  height: 2.75rem !important;
  min-width: 2.75rem;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  cursor: pointer;
}

.site-menu-close__icon {
  position: relative;
  width: 1rem;
  height: 1rem;
  display: block;
}

.site-menu-close__icon::before,
.site-menu-close__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.site-menu-close__icon::before {
  transform: translateY(-50%) rotate(45deg);
}

.site-menu-close__icon::after {
  transform: translateY(-50%) rotate(-45deg);
}

.site-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0 1.5rem;
  flex: 1 1 auto;
}

.site-mobile-menu__nav a {
  color: #fff !important;
  text-decoration: none;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-mobile-menu__nav a:hover,
.site-mobile-menu__nav a:focus-visible {
  color: #bc7155 !important;
  padding-left: 0.35rem;
  outline: none;
}

.site-mobile-menu__footer {
  margin-top: auto;
  padding-top: 1rem;
}

.site-mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: #fff;
  color: #000d10 !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
}

body.menu-open {
  overflow: hidden !important;
}

body.menu-open::before {
  display: none !important;
}

/* Dark heroes — keep toggle readable */
.HeaderHome_header__BRaSQ .site-menu-toggle,
.track-hero .site-menu-toggle {
  background: #fff !important;
  color: #000d10 !important;
}

.HeaderHome_header__BRaSQ .Logo_textBrand,
.track-hero .Logo_textBrand {
  color: #fff !important;
}

/* ---------- Desktop: hide menu circle; keep for mobile ---------- */
@media (min-width: 64em) {
  .site-menu-toggle-wrap,
  .NavButtons_navButtons__439Pj,
  .site-mobile-menu {
    display: none !important;
  }

  /* Logo + nav on one row: logo left, links top-right */
  .site-top-header.Top_header__raEQJ {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
  }

  .site-top-header .site-logo,
  .site-top-header .Logo_logo__T21r4 {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 4.1666666667% !important;
    margin-right: 0 !important;
  }

  .site-desktop-nav,
  .site-top-header .Nav_nav___UxBu {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 1.5rem !important;
    margin-right: 4.1666666667% !important;
    float: none !important;
  }

  .site-nav-list,
  .Nav_list__DCAKS {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-end;
    gap: 1.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
    width: 100%;
  }

  .site-nav-list .Nav_listItem__NcLef,
  .site-nav-item {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-nav-list .Nav_link__6RFEg {
    white-space: nowrap;
    display: inline-block;
  }

  /* Bounce-in entry for desktop nav items — smoother, softer overshoot */
  .site-nav-item {
    opacity: 0;
    animation: siteNavBounceIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.08s * var(--nav-i, 0) + 0.18s);
  }

  .site-nav-item .Nav_link__6RFEg {
    position: relative;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), color 0.28s ease;
  }

  .site-nav-item .Nav_link__6RFEg:hover {
    transform: translateY(-1.5px) scale(1.03);
  }

  .site-nav-item .Nav_link__6RFEg:hover::after {
    transform: scaleX(1);
  }

  /* Larger hero headline on desktop */
  .HeaderHome_header__BRaSQ .HeaderHome_h1__f_C_1 {
    font-size: clamp(3.5rem, 7.2vw, 7.5rem) !important;
    line-height: 0.92 !important;
    max-width: 48% !important;
    letter-spacing: -0.03em !important;
  }
}

@media (max-width: 63.99em) {
  .site-desktop-nav {
    display: none !important;
  }

  .site-menu-toggle-wrap {
    display: flex !important;
    margin-right: 4.1667% !important;
  }

  .site-top-header.Top_header__raEQJ {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 40;
  }

  .site-top-header .site-logo {
    flex: 1 1 auto;
    margin-left: 4.1667% !important;
  }
}

/* Footer social icons (Flaticon uicons) */
.SocialList_socialList__RChgB {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.SocialList_socialList__RChgB .SocialList_socialIcon__mecgU,
.site-social-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff !important;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.SocialList_socialList__RChgB .SocialList_socialIcon__mecgU:hover,
.site-social-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.SocialList_socialList__RChgB .SocialList_socialIcon__mecgU i,
.site-social-icon i {
  font-size: 1.05rem;
  line-height: 1;
}

/* Home hero image (replaces empty Next.js canvas) */
.HeaderHome_header__BRaSQ .Header_heroImageWrap {
  overflow: hidden;
  background: #000d10;
}

.HeaderHome_header__BRaSQ .Header_heroImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

/* Dark night hero — keep nav/headline readable */
.HeaderHome_header__BRaSQ .Logo_textBrand {
  color: #fff !important;
}

.HeaderHome_header__BRaSQ .Nav_link__6RFEg {
  color: #fff;
}

.HeaderHome_header__BRaSQ .HeaderHome_h1__f_C_1,
.HeaderHome_header__BRaSQ .HeaderHome_bottomLeft__ulRDE {
  color: #fff;
}

.HeaderHome_header__BRaSQ .NavButtons_menu__udqqI {
  background-color: #fff;
  color: #000d10;
}

@keyframes siteNavBounceIn {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
  }
  62% {
    opacity: 1;
    transform: translateY(1.5px) scale(1.012);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- Desktop-only hero ticker text (no glass box; edge fades) ---------- */
.hero-ticker {
  display: none;
}

@media (min-width: 64em) {
  .hero-ticker {
    --hero-gutter: 4.1666666667%;
    display: block;
    position: absolute;
    left: var(--hero-gutter);
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 13.5rem;
    height: 13.5rem;
    pointer-events: none;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero-ticker__viewport {
    position: relative;
    height: 100%;
    overflow: hidden;
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      #000 18%,
      #000 82%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0%,
      #000 18%,
      #000 82%,
      transparent 100%
    );
  }

  .hero-ticker__list {
    list-style: none;
    margin: 0;
    padding: 4.5rem 0.35rem;
    color: #fff;
    will-change: transform;
    transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-ticker__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4.5rem;
    margin: 0;
    padding: 0 0.15rem;
    text-align: center;
    border: 0;
    opacity: 0.34;
    transform: scale(0.94);
    transition:
      opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
      transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-ticker__heading {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.78);
    transition:
      font-size 1s cubic-bezier(0.16, 1, 0.3, 1),
      color 0.85s ease,
      letter-spacing 0.85s ease,
      transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
      text-shadow 0.85s ease;
  }

  .hero-ticker__item.is-active {
    opacity: 1;
    transform: scale(1);
  }

  .hero-ticker__item.is-active .hero-ticker__heading {
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
    animation: heroTickerBounce 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-ticker__item.is-near {
    opacity: 0.52;
    transform: scale(0.97);
  }
}

@keyframes heroTickerBounce {
  0% {
    opacity: 0.65;
    transform: translateY(5px) scale(0.98);
  }
  60% {
    opacity: 1;
    transform: translateY(-1.5px) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav-item {
    animation: none;
    opacity: 1;
  }

  .hero-ticker__list {
    transition: none;
  }

  .hero-ticker__item.is-active .hero-ticker__heading {
    animation: none;
  }
}

/* ---------- Home section images (local assets) ---------- */
.Solutions_onDemand_background__WBt22 {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.Solutions_onDemand_background__WBt22 .site-section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.FlightManager_left__9Me76 .site-section-image-wrap {
  position: absolute;
  inset: 0;
}

.FlightManager_left__9Me76 .site-section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.FlightManager_left__9Me76 .site-section-image--contain {
  object-fit: cover;
}

.Experience_slider__PgcWI .site-section-image-wrap--wide {
  width: 100%;
  overflow: hidden;
}

.Experience_slider__PgcWI .site-section-image {
  width: 100%;
  height: auto;
  max-height: 36rem;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Full-bleed contact / approach image on homepage */
.Experience_slider__PgcWI.site-contact-image {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.Experience_slider__PgcWI.site-contact-image > .o-layout__item {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.Experience_slider__PgcWI.site-contact-image .site-section-image-wrap--wide,
.Experience_slider__PgcWI.site-contact-image .site-section-image {
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Section below hero — image left, copy right */
.site-usps-with-image {
  align-items: center;
}

.site-usps-image-col {
  margin-bottom: 1.5rem;
}

.site-usps-image-wrap {
  width: 100%;
  overflow: hidden;
}

.site-usps-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 36rem;
  object-fit: cover;
  object-position: center;
}

.site-usps-copy .Usps_title__ULP5B {
  max-width: none;
}

.site-usps-copy .Usps_list__gytvh {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-top: 1.25rem;
}

@media (min-width: 64em) {
  .site-usps-image-col {
    margin-bottom: 0;
  }

  .site-usps-image {
    max-height: 42rem;
    min-height: 28rem;
  }
}

/* Show all Approach cards on mobile (icons + copy) */
.Experience_experience__24JFi .Experience_item__vHyza:nth-child(n + 4) {
  display: block;
}

/* Flat icons centered in dashed IconItem frames */
.IconItem_container__okIBO .site-flat-icon {
  position: relative;
  z-index: 1;
  width: 1.85rem;
  height: 1.85rem;
  display: block;
  color: #000d10;
  flex-shrink: 0;
}

.IconItem_container__okIBO.IconItem_color-white__NlcSY .site-flat-icon,
.u-white .IconItem_container__okIBO .site-flat-icon {
  color: #fff;
}

/* Accordion open state + icon (works even if page CSS chunk differs) */
.Accordion_section__BkTn7 {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #000d10;
}

.Accordion_section__BkTn7:last-of-type {
  border-bottom: 1px solid #000d10;
}

.Accordion_section__BkTn7.Accordion_active__R50xr {
  padding-bottom: 1.5rem;
}

.Accordion_accordion__n1e5b {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  text-align: left;
}

.Accordion_title__nTF4O {
  text-align: left;
  padding: 1.5rem 0;
  color: #000d10;
  margin: 0;
}

.Accordion_content__eqPAc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s ease;
  max-width: 90%;
}

@media (min-width: 64em) {
  .Accordion_title__nTF4O {
    padding: 3.2vw 0 3.2vw 4.1666666667vw;
  }

  .Accordion_content__eqPAc {
    max-width: 41.6666666667vw;
    margin-left: 45.8333333333vw;
  }

  .Accordion_icon__rfkDl {
    margin-right: 4.1666666667vw;
  }
}

.Accordion_icon__rfkDl {
  position: relative;
  width: 1.7777777778rem;
  height: 1.7777777778rem;
  flex-shrink: 0;
  transform: rotate(90deg);
  transition: transform 0.35s ease;
  color: #000d10;
}

.Accordion_section__BkTn7.Accordion_active__R50xr .Accordion_icon__rfkDl {
  transform: rotate(180deg);
}

.Accordion_icon__rfkDl span {
  position: absolute;
  background: currentColor;
  left: 50%;
  top: 50%;
}

.Accordion_icon__rfkDl span:first-child {
  width: 1rem;
  height: 2px;
  transform: translate(-50%, -50%);
}

.Accordion_icon__rfkDl span:last-child {
  width: 2px;
  height: 1rem;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.Accordion_section__BkTn7.Accordion_active__R50xr .Accordion_icon__rfkDl span:last-child {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.Accordions_margin__plaEm {
  padding: 3rem 0 4rem;
}

.site-home-faq__title {
  margin: 0 0 0.5rem;
  color: #000d10;
}

.site-home-faq__intro {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: #000d10;
  opacity: 0.75;
}

/* FAQ scroll zoom — GPU layer for scrubbed scale */
html.motion-ready .site-home-faq {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html.motion-ready .site-home-faq {
    will-change: auto;
  }
}
