/* === HERO === */
.hero {
  --hero-pad-top: calc(var(--header-height) + 1.65rem);
  --hero-pad-bottom: clamp(1.25rem, 3vh, 2.25rem);

  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: var(--hero-pad-top) 0 var(--hero-pad-bottom);
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(7, 23, 51, 0.96) 0%, rgba(10, 31, 68, 0.88) 48%, rgba(18, 55, 109, 0.72) 100%),
    radial-gradient(circle at 18% 20%, rgba(255, 185, 0, 0.24), transparent 26rem),
    linear-gradient(135deg, var(--color-navy-3), var(--color-navy-2));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08));
}

.hero__growth {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.growth-line {
  position: absolute;
  display: block;
  fill: none;
}

.growth-line--main {
  top: 14%;
  right: -5%;
  width: min(62vw, 780px);
  color: #7bc6ff;
  opacity: 0.13;
}

.growth-line--wave {
  bottom: 5%;
  left: -8%;
  width: min(76vw, 880px);
  color: #ffb36b;
  opacity: 0.1;
}

.growth-line__grid {
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.34;
}

.growth-line__area {
  fill: currentColor;
  opacity: 0.16;
}

.growth-line__path {
  stroke: currentColor;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
}

.growth-line__path--soft {
  stroke-width: 6;
  opacity: 0.56;
}

.growth-line__arrow {
  stroke: currentColor;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.growth-bars {
  position: absolute;
  right: 6%;
  bottom: 13%;
  display: flex;
  height: 190px;
  align-items: flex-end;
  gap: 0.75rem;
  opacity: 0.12;
  transform: perspective(540px) rotateX(58deg) rotateZ(-16deg);
  transform-origin: bottom right;
}

.growth-bars span {
  width: clamp(1.45rem, 3vw, 2.35rem);
  height: var(--bar-height);
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(255, 178, 99, 0.92), rgba(123, 198, 255, 0.72));
  box-shadow: 0 18px 42px rgba(123, 198, 255, 0.24);
}

.growth-bars span:nth-child(1) {
  --bar-height: 56px;
}

.growth-bars span:nth-child(2) {
  --bar-height: 92px;
}

.growth-bars span:nth-child(3) {
  --bar-height: 128px;
}

.growth-bars span:nth-child(4) {
  --bar-height: 172px;
}

.growth-arrow {
  position: absolute;
  width: clamp(7rem, 12vw, 11rem);
  height: 3px;
  border-radius: 99px;
  background: rgba(123, 198, 255, 0.78);
  opacity: 0.11;
  transform: rotate(-34deg);
}

.growth-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 0.8rem;
  height: 0.8rem;
  border-top: 3px solid rgba(123, 198, 255, 0.78);
  border-right: 3px solid rgba(123, 198, 255, 0.78);
  transform: translateY(-50%) rotate(45deg);
}

.growth-arrow--one {
  top: 30%;
  left: 10%;
}

.growth-arrow--two {
  right: 20%;
  bottom: 26%;
  background: rgba(255, 179, 107, 0.76);
}

.growth-arrow--two::after {
  border-color: rgba(255, 179, 107, 0.76);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--container));
  min-height: calc(100svh - var(--hero-pad-top) - var(--hero-pad-bottom));
  padding-top: clamp(5.75rem, 9svh, 6.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.45fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  align-content: start;
  align-items: start;
}

.hero__content > * {
  grid-column: 1;
}

.hero__copy,
.hero__bottom {
  position: relative;
  z-index: 2;
}

.hero__copy {
  display: flex;
  max-width: 650px;
  flex-direction: column;
  align-items: flex-start;
}

.hero__copy-main {
  display: contents;
}

.hero__bottom {
  display: grid;
  justify-items: start;
}

.hero h1 {
  max-width: 650px;
  margin-top: 0.8rem;
  font-size: clamp(3rem, 4.25vw, 3.8rem);
  font-weight: 900;
  line-height: 1.02;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero__subtitle {
  max-width: 570px;
  margin-top: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(1.3rem, 3vh, 2rem);
}

.hero__stats span {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  padding: 0.58rem 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
}

.hero__stats strong {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.32rem;
  line-height: 1;
}

.hero__portrait-column {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  width: min(45vw, 600px);
  height: calc(100svh - var(--hero-pad-top));
  max-height: 90vh;
  align-items: flex-end;
  justify-content: flex-end;
  transform: none;
}

.hero__portrait {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.36));
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 76%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 76%, transparent 100%);
}

.hero__portrait-column.reveal-right {
  transform: translateX(24px);
}

.hero__portrait-column.reveal.is-visible {
  transform: none;
}

@media (min-width: 481px) and (max-width: 1024px) {
  .hero__content {
    grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
    column-gap: clamp(1rem, 2.6vw, 2rem);
  }

  .growth-line--main {
    top: 24%;
    right: -40%;
    width: 120vw;
  }

  .growth-line--wave {
    width: 120vw;
  }

  .growth-bars {
    right: 2%;
    bottom: 8%;
    opacity: 0.09;
  }

  .hero__portrait-column {
    right: 0;
    bottom: 0;
    width: min(42vw, 430px);
    height: calc(100svh - var(--hero-pad-top));
    max-height: 88vh;
  }

  .hero__portrait-column.reveal-right {
    transform: translateX(24px);
  }

  .hero__portrait-column.reveal.is-visible {
    transform: none;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 4.8vw, 3rem);
  }

  .hero__subtitle {
    max-width: 100%;
    font-size: clamp(0.96rem, 1.8vw, 1.08rem);
  }
}

@media (max-width: 767px) {
  .hero {
    --hero-mobile-pad-x: 1rem;
    --hero-mobile-column-gap: clamp(0.5rem, 2.2vw, 0.85rem);
    --hero-mobile-image-height: clamp(280px, 82vw, 320px);

    align-items: flex-start;
    min-height: auto;
    overflow: visible;
    padding: calc(var(--header-height) + 2.15rem) 0 clamp(2rem, 7svh, 3rem);
  }

  .growth-bars,
  .growth-arrow {
    display: none;
  }

  .growth-line--main {
    top: 38%;
    right: -70%;
    width: 160vw;
    opacity: 0.1;
  }

  .growth-line--wave {
    bottom: 16%;
    left: -28%;
    width: 150vw;
    opacity: 0.08;
  }

  .hero__content {
    min-height: auto;
    padding-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--hero-mobile-column-gap);
    align-content: start;
    align-items: stretch;
    width: min(calc(100% - (var(--hero-mobile-pad-x) * 2)), var(--container));
  }

  .hero__content > * {
    grid-column: auto;
    max-width: none;
  }

  .hero__copy {
    flex: 0 0 calc(60% - (var(--hero-mobile-column-gap) / 2));
    min-width: 0;
    max-width: none;
    align-items: stretch;
    justify-content: space-between;
    row-gap: 0.75rem;
  }

  .hero__copy-main {
    display: block;
  }

  .hero__bottom {
    display: grid;
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    justify-items: center;
    margin-top: 0.85rem;
  }

  .eyebrow {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 0.42rem;
    align-items: flex-start;
    font-size: clamp(0.58rem, 2.1vw, 0.72rem);
    line-height: 1.25;
    white-space: normal;
  }

  .eyebrow::before {
    width: 1.25rem;
  }

  .hero h1 {
    max-width: 100%;
    margin-top: 0.65rem;
    font-size: clamp(1.22rem, 5.15vw, 2.35rem);
    line-height: 1.04;
    text-wrap: initial;
    overflow-wrap: break-word;
  }

  .hero__subtitle {
    margin-top: 0.75rem;
    font-size: clamp(0.8rem, 3.2vw, 1rem);
    line-height: 1.5;
  }

  .hero__actions,
  .hero__stats {
    display: grid;
    width: 100%;
  }

  .hero__actions {
    width: min(100%, 22rem);
    gap: 0.65rem;
    margin-top: auto;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 46px;
    padding-inline: 0.85rem;
    font-size: clamp(0.78rem, 3.2vw, 0.9rem);
  }

  .hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    width: min(100%, 26rem);
    margin-top: 0;
  }

  .hero__stats span {
    min-height: 58px;
    flex-direction: column;
    justify-content: center;
    gap: 0.18rem;
    padding: 0.55rem 0.35rem;
    text-align: center;
    font-size: clamp(0.72rem, 2.8vw, 0.86rem);
    line-height: 1.15;
  }

  .hero__stats strong {
    font-size: clamp(1rem, 4vw, 1.18rem);
  }

  .hero__portrait-column {
    position: relative;
    inset: auto;
    flex: 0 0 calc(40% - (var(--hero-mobile-column-gap) / 2));
    min-width: 0;
    align-self: stretch;
    bottom: auto;
    width: auto;
    min-height: var(--hero-mobile-image-height);
    height: auto;
    max-height: none;
    align-items: stretch;
    justify-content: center;
    overflow: visible;
    transform: none;
  }

  .hero__portrait {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: top center;
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
  }

  .hero__portrait-column.reveal-right,
  .hero__portrait-column.reveal.is-visible {
    transform: none;
  }
}
