/* Home Feature — reusable layouts (imageAside / splitPanel / fullBleed).
   No fullPage, scroll lock, or vertical section slider. */

.home-feature {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  color: var(--eve-color-text);
}

.home-feature__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-feature__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.home-feature__bg--mobile {
  display: none;
}

.home-feature__overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 64%;
  z-index: 1;
}

.home-feature__overlay::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 20%;
  background-color: #ffffff;
  z-index: 1;
}

.home-feature__overlay img {
  position: relative;
  left: 16%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

.home-feature__line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  margin-top: -112px;
  z-index: 2;
  max-width: none;
}

.home-feature__foreground {
  position: absolute;
  z-index: 3;
  max-width: none;
}

.home-feature__content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: 100vh;
  padding: 80px 100px 80px 100px;
  max-width: 560px;
}

/* Reference .wrap / .wrap-align / .headline-align (eVTOL + Services). */
.home-feature__wrap {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  padding-right: 100px;
}

.home-feature__align {
  position: relative;
}

.home-feature__headline-align {
  padding-left: 100px;
}

.home-feature__headline {
  margin-bottom: 25px;
}

.home-feature__copy {
  margin: 0;
}

.home-feature__headline-line {
  display: inline-block;
  margin: 0;
  padding-left: 100px;
  height: 50px;
  font-family: var(--eve-font-display-medium);
}

.home-feature__content .home-feature__headline-line {
  margin-left: -100px;
}

.home-feature__headline-line.violet {
  background: url("/img/mini-line-violet.svg") no-repeat left 26px;
}

.home-feature__headline-line.green {
  background: url("/img/line-green.svg") no-repeat left 26px;
  padding-left: 130px;
  margin-left: -30px;
}

.home-feature__subtitle {
  display: inline-block;
  margin: 0;
  text-transform: uppercase;
  font-family: var(--eve-font-display-medium);
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 30px;
}

.home-feature--accent-violet .home-feature__subtitle {
  color: var(--eve-color-violet);
}

.home-feature--accent-green .home-feature__subtitle {
  color: var(--eve-color-green);
}

.home-feature__title {
  margin: 0 0 30px;
  text-transform: uppercase;
  font-family: var(--eve-font-display-extralight);
  font-weight: 200;
  font-size: 60px;
  line-height: 60px;
}

.home-feature__body {
  margin: 0 0 16px;
  padding-right: 40px;
  font-family: var(--eve-font-body);
  font-size: 16px;
  line-height: 30px;
}

.home-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-transform: lowercase;
}

.home-feature--accent-violet .home-feature__cta {
  color: var(--eve-color-violet);
}

.home-feature--accent-green .home-feature__cta {
  color: var(--eve-color-green);
}

.home-feature__cta .cta-arrow {
  width: 15px;
  height: 16px;
  display: inline-block;
  transform: rotate(270deg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

.home-feature__cta .cta-arrow--green {
  background-image: url("/img/arrow-green.svg");
}

.home-feature__cta .cta-arrow--purple {
  background-image: url("/img/arrow-purple.svg");
}

/* ——— imageAside (eVTOL) ——— */
.home-feature--layout-imageAside {
  height: 100vh;
  background-color: #ffffff;
}

.home-feature--layout-imageAside .home-feature__media {
  position: absolute;
  inset: 0;
}

.home-feature--layout-imageAside .home-feature__foreground {
  right: -240px;
  bottom: 30px;
  width: 90%;
  height: auto;
  left: auto;
  top: auto;
  z-index: 10;
}

.home-feature--layout-imageAside .home-feature__wrap {
  z-index: 1;
}

.home-feature--layout-imageAside .home-feature__headline {
  margin-bottom: 0;
}

.home-feature--layout-imageAside .home-feature__title {
  font-size: 100px;
  line-height: 60px;
  margin-bottom: 130px;
  color: var(--eve-color-text);
}

.home-feature--layout-imageAside .home-feature__body {
  color: var(--eve-color-text);
  padding-right: 100px;
}

.home-feature--layout-imageAside .home-feature__report {
  display: flex;
  align-items: center;
  height: 44px;
  margin-top: 50px;
}

/* ——— splitPanel (Services) ——— */
.home-feature--layout-splitPanel {
  height: 100vh;
}

.home-feature--layout-splitPanel .home-feature__align {
  flex: 1 1 0%;
  top: 20%;
}

.home-feature--layout-splitPanel .home-feature__headline {
  width: 35%;
  margin-bottom: 0;
}

.home-feature--layout-splitPanel .home-feature__bg {
  transform: scale(2.1);
  transition: transform 3s ease;
  will-change: transform;
}

.home-feature--layout-splitPanel.is-bg-formed .home-feature__bg[data-breakpoint="desktop"] {
  transform: none;
}

.home-feature--layout-splitPanel .home-feature__title {
  margin-bottom: 30px;
  color: var(--eve-color-text);
}

.home-feature--layout-splitPanel .home-feature__body {
  color: var(--eve-color-text);
  padding-right: 0;
}

/* ——— fullBleed (Operations / UATM) ——— */
.home-feature--layout-fullBleed {
  height: 100vh;
  color: #ffffff;
}

.home-feature--layout-fullBleed .home-feature__bg {
  height: 100%;
  top: 0;
  object-fit: cover;
  object-position: center 80%;
}

.home-feature--layout-fullBleed .home-feature__bg[data-parallax-layer="true"] {
  will-change: transform;
}

.home-feature--layout-fullBleed .home-feature__align,
.home-feature--layout-fullBleed .home-feature__stage {
  width: 100%;
}

.home-feature--layout-fullBleed .home-feature__stage {
  padding-left: 100px;
}

.home-feature--layout-fullBleed .home-feature__subtitle {
  margin-top: 210px;
  margin-bottom: 10px;
}

.home-feature--layout-fullBleed .home-feature__title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 60px;
  line-height: 60px;
}

.home-feature--layout-fullBleed .home-feature__copy-col {
  width: 500px;
  float: left;
  margin-top: 20px;
}

.home-feature--layout-fullBleed .home-feature__body {
  margin: 0 0 16px;
  padding-right: 0;
  color: #ffffff;
}

.home-feature--layout-fullBleed .home-feature__body--inset {
  padding-right: 100px;
}

.home-feature--layout-fullBleed .home-feature__br-fix {
  display: none;
}

/* Fly aircraft — verified #fly-evtol / .fly-evtol */
.home-feature.is-fly-animation-enabled .home-feature__foreground[data-fly-layer="true"] {
  right: 800px;
  top: 80px;
  left: auto;
  bottom: auto;
  width: 175px;
  height: auto;
  opacity: 0;
  transform: scale(1.16);
  transition: right 4s ease, opacity 4s ease, transform 4s ease, left 4s ease;
}

.home-feature.is-fly-animation-enabled.is-fly-active .home-feature__foreground[data-fly-layer="true"] {
  right: 150px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .home-feature--layout-splitPanel .home-feature__bg,
  .home-feature.is-fly-animation-enabled .home-feature__foreground[data-fly-layer="true"] {
    transition: none !important;
  }

  .home-feature--layout-splitPanel .home-feature__bg {
    transform: none;
  }

  .home-feature.is-fly-animation-enabled .home-feature__foreground[data-fly-layer="true"] {
    right: 150px;
    opacity: 1;
    transform: none;
  }

  .home-feature--layout-fullBleed .home-feature__bg[data-parallax-layer="true"] {
    transform: none !important;
  }
}

/* ——— ≤700px mobile ——— */
@media (max-width: 700px) {
  .home-feature {
    min-height: 0;
  }

  .home-feature__content {
    min-height: 0;
    padding: 40px 25px 50px;
    max-width: none;
    justify-content: flex-end;
  }

  .home-feature__headline-line,
  .home-feature__content .home-feature__headline-line {
    margin-bottom: 0;
    margin-left: -37px;
    padding-left: 66px;
  }

  .home-feature__headline-line.green {
    padding-left: 116px;
    margin-left: -113px;
  }

  .home-feature__subtitle {
    font-size: 15px;
  }

  .home-feature__title {
    font-size: 40px;
    line-height: 38px;
    margin-bottom: 15px;
  }

  .home-feature__body {
    padding-right: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .home-feature--layout-imageAside,
  .home-feature--layout-splitPanel {
    display: block;
    height: 100vh;
    min-height: 100vh;
  }

  .home-feature--layout-imageAside .home-feature__wrap {
    min-height: 100vh;
    padding-right: 0;
  }

  .home-feature--layout-imageAside .home-feature__headline-align {
    padding: 0 25px;
  }

  .home-feature--layout-imageAside .home-feature__headline-line {
    margin-left: -37px;
    padding-left: 66px;
  }

  .home-feature--layout-imageAside .home-feature__title {
    font-size: 43px;
    line-height: 38px;
    margin-bottom: 250px;
  }

  .home-feature--layout-imageAside .home-feature__body {
    padding-right: 0;
  }

  .home-feature--layout-imageAside .home-feature__body br {
    display: none;
  }

  .home-feature--layout-imageAside .home-feature__foreground {
    width: 600px;
    max-width: none;
    right: -206px;
    bottom: auto;
    top: 180px;
    transform: none;
  }

  .home-feature--layout-imageAside .home-feature__report {
    margin-top: 20px;
  }

  .home-feature--layout-fullBleed {
    display: block;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  .home-feature--layout-fullBleed .home-feature__line {
    display: none;
  }

  .home-feature--layout-fullBleed .home-feature__stage {
    padding-left: 0;
  }

  .home-feature--layout-fullBleed .home-feature__subtitle {
    margin: 0;
  }

  .home-feature--layout-fullBleed .home-feature__fix-head {
    display: inline-block;
    height: 50px;
    margin: 0 0 0 -113px;
    padding: 0 0 0 116px;
    background: url("/img/line-green.svg") no-repeat left 26px;
  }

  .home-feature--layout-fullBleed .home-feature__title {
    margin-bottom: 8px;
    font-size: 40px;
    line-height: 38px;
  }

  .home-feature--layout-fullBleed .home-feature__copy-col {
    width: auto;
    float: none;
    margin: 20px 0 0;
  }

  .home-feature--layout-fullBleed .home-feature__body,
  .home-feature--layout-fullBleed .home-feature__body--inset {
    padding-right: 0;
  }

  .home-feature--layout-fullBleed .home-feature__br-fix {
    display: inline-block;
  }

  .home-feature--layout-fullBleed.is-fly-animation-enabled .home-feature__wrap {
    display: block;
    height: auto;
    min-height: 0;
    padding: 0 25px;
  }

  .home-feature--layout-fullBleed:not(.is-fly-animation-enabled) .home-feature__wrap {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 100vh;
    padding: 0 25px;
  }

  /* Reference #fly-evtol at ≤700px: in-flow, then slides to left 10px. */
  .home-feature.is-fly-animation-enabled .home-feature__foreground[data-fly-layer="true"] {
    position: relative;
    right: auto;
    top: 0;
    left: -300px;
    width: 120px;
    height: auto;
    margin-top: 100px;
    opacity: 0;
    transform: none;
  }

  .home-feature.is-fly-animation-enabled.is-fly-active .home-feature__foreground[data-fly-layer="true"] {
    left: 10px;
    right: auto;
    opacity: 1;
  }

  /* Services: swap to the mobile background; keep a full-viewport slide. */
  .home-feature--layout-splitPanel .home-feature__wrap {
    min-height: 100vh;
    padding: 0 25px;
  }

  .home-feature--layout-splitPanel .home-feature__align {
    top: 25%;
  }

  .home-feature--layout-splitPanel .home-feature__headline-align {
    padding-left: 0;
  }

  .home-feature--layout-splitPanel .home-feature__headline {
    width: 100%;
  }

  .home-feature--layout-splitPanel .home-feature__headline-line {
    margin-left: -62px;
    padding-left: 66px;
  }

  .home-feature--layout-splitPanel .home-feature__title {
    margin-bottom: 30px;
  }

  .home-feature--layout-splitPanel .home-feature__bg[data-breakpoint="desktop"] {
    display: none;
  }

  .home-feature--layout-splitPanel .home-feature__bg--mobile {
    display: block;
    position: absolute;
    inset: auto;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 330px;
    object-fit: cover;
    transform: none;
  }

  .home-feature--layout-splitPanel .home-feature__overlay {
    display: none;
  }
}

@media (max-width: 550px) {
  .home-feature--layout-splitPanel .home-feature__bg--mobile {
    max-height: 246px;
  }

  .home-feature--layout-splitPanel .home-feature__align {
    top: 18%;
  }
}
