body.page-investigation {
  background: var(--bg-light);
}

.page-investigation .site-header {
  background: linear-gradient(180deg, rgba(2, 11, 24, 0.4), rgba(2, 11, 24, 0));
}

.page-investigation .site-header::after {
  opacity: 1;
}

.invest-hero {
  position: relative;
  overflow: clip;
  min-height: 820px;
  padding-top: 118px;
  background:
    radial-gradient(920px 640px at 18% 42%, rgba(198, 160, 14, 0.12), transparent 64%),
    linear-gradient(90deg, #020b18 0%, #041327 42%, #081d36 100%);
}

.invest-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(460px 460px at var(--mx, 80%) var(--my, 22%), rgba(255, 255, 255, 0.13), transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.invest-hero-bg,
.invest-hero-lightbar,
.invest-hero-circuit,
.invest-hero-sparks,
.invest-hero-image {
  position: absolute;
  pointer-events: none;
}

.invest-hero-bg {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 11, 24, 0.95) 0%, rgba(2, 11, 24, 0.86) 28%, rgba(2, 11, 24, 0.42) 54%, rgba(2, 11, 24, 0.18) 72%, rgba(2, 11, 24, 0.04) 100%),
    radial-gradient(780px 380px at 74% 24%, rgba(158, 192, 235, 0.16), transparent 72%);
}

.invest-hero-lightbar {
  top: 28px;
  right: 4%;
  width: min(60vw, 980px);
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(248, 252, 255, 0.92), rgba(255, 255, 255, 0));
  filter: blur(6px);
  opacity: 0.82;
}

.invest-hero-circuit {
  inset: 18px auto 0 0;
  width: min(54vw, 840px);
  height: 650px;
  background: url('../images/hero-circuit.svg') left top / contain no-repeat;
  opacity: 0.92;
  mix-blend-mode: screen;
  animation: circuitFloat 11s ease-in-out infinite;
}

.invest-hero-sparks {
  inset: 0;
  background:
    radial-gradient(circle at 9% 20%, rgba(224, 186, 46, 0.84) 0 4px, transparent 5px),
    radial-gradient(circle at 19% 26%, rgba(224, 186, 46, 0.76) 0 5px, transparent 6px),
    radial-gradient(circle at 24% 44%, rgba(224, 186, 46, 0.56) 0 4px, transparent 5px),
    radial-gradient(circle at 16% 63%, rgba(224, 186, 46, 0.46) 0 4px, transparent 5px),
    radial-gradient(circle at 75% 64%, rgba(224, 186, 46, 0.48) 0 4px, transparent 5px);
  opacity: 0.9;
}

.invest-hero-image {
  right: 0;
  bottom: 0;
  width: min(50vw, 760px);
  height: calc(100% - 26px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.invest-hero-image::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -22%;
  width: 40%;
  background: linear-gradient(90deg, #020b18, rgba(2, 11, 24, 0.94) 42%, rgba(2, 11, 24, 0));
  display: none;
}

.invest-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 30%, black 62%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 30%, black 62%);
  filter: saturate(0.96) contrast(1.02);
}

.invest-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: calc(820px - 118px);
  padding: 92px 0 108px;
}

.invest-hero-copy {
  max-width: 780px;
  color: #fff;
}

.invest-hero-copy h1 {
  margin: 0;
  max-width: 13.5ch;
  font-size: clamp(2.9rem, 4.3vw, 4.45rem);
  line-height: 1.08;
  letter-spacing: -0.048em;
  font-weight: 700;
}

.invest-hero-copy p {
  max-width: 710px;
  margin: 28px 0 0;
  font-size: clamp(1.04rem, 1.42vw, 1.35rem);
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: -0.012em;
}

.invest-hero-copy .btn {
  margin-top: 32px;
}

.invest-process {
  padding: 108px 0 120px;
}

.invest-process-intro {
  max-width: 900px;
  margin: 28px auto 0;
  text-align: center;
  font-size: clamp(1.02rem, 1.32vw, 1.26rem);
  line-height: 1.78;
  color: var(--text-soft);
}

.invest-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 78px;
}

.invest-step {
  min-height: 310px;
  padding: 28px 24px 26px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
  text-align: center;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background-color 0.26s ease;
}

.invest-step:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(198, 160, 14, 0.32);
  box-shadow: 0 20px 34px rgba(14, 20, 29, 0.08);
}

.invest-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--gold);
  background: radial-gradient(circle, rgba(198, 160, 14, 0.12), rgba(198, 160, 14, 0.02));
  box-shadow: inset 0 0 0 1px rgba(198, 160, 14, 0.18);
}

.invest-step-icon svg {
  width: 33px;
  height: 33px;
}

.invest-step h3 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.32;
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--text);
}

.invest-step p {
  margin: 18px 0 0;
  font-size: 0.98rem;
  line-height: 1.82;
  color: var(--text-soft);
}

.invest-gallery-heading {
  padding: 0 0 56px;
}

.invest-gallery-band {
  overflow: clip;
  padding: 72px 0 92px;
  background:
    radial-gradient(680px 420px at 82% 18%, rgba(140, 174, 221, 0.12), transparent 72%),
    linear-gradient(90deg, #020b18 0%, #041225 46%, #08192f 100%);
}

.invest-gallery-band::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(2, 11, 24, 0), rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.invest-gallery-blur,
.invest-gallery-circuit,
.invest-gallery-glow {
  position: absolute;
  pointer-events: none;
}

.invest-gallery-circuit {
  inset: 22px auto 0 0;
  width: min(48vw, 740px);
  height: 620px;
  background: url('../images/hero-circuit.svg') left top / contain no-repeat;
  opacity: 0.56;
  mix-blend-mode: screen;
  animation: circuitFloat 12s ease-in-out infinite;
}

.invest-gallery-blur {
  inset: 0;
  background:
    radial-gradient(600px 340px at 15% 58%, rgba(224, 186, 46, 0.12), transparent 72%),
    radial-gradient(540px 360px at 84% 38%, rgba(255, 255, 255, 0.08), transparent 74%);
  filter: blur(8px);
}

.invest-gallery-glow {
  right: -6%;
  top: -14%;
  width: min(40vw, 520px);
  height: min(40vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 202, 68, 0.18), rgba(255, 202, 68, 0.04) 54%, transparent 72%);
  filter: blur(16px);
}

.invest-gallery-band > .container {
  position: relative;
  z-index: 1;
}

.invest-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.invest-gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  aspect-ratio: 560 / 378;
}

.invest-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.invest-gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.26);
}

.invest-gallery-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 1400px) {
  .invest-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .invest-hero {
    min-height: 780px;
  }

  .invest-hero-inner {
    min-height: calc(780px - 118px);
    align-items: flex-start;
    padding-top: 112px;
  }

  .invest-hero-image {
    width: min(66vw, 920px);
  }
}

@media (max-width: 900px) {
  .invest-hero {
    min-height: 920px;
    padding-top: 90px;
  }

  .invest-hero-inner {
    min-height: calc(920px - 90px);
    padding: 78px 0 84px;
    align-items: flex-start;
  }

  .invest-hero-image {
    width: 100%;
    height: 58%;
    top: 110px;
    bottom: auto;
    opacity: 0.54;
  }

  .invest-hero-image img {
    object-fit: cover;
    object-position: center bottom;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .invest-hero-image::before {
    display: block;
    inset: 0;
    width: auto;
    background: linear-gradient(180deg, rgba(2, 11, 24, 0.34), rgba(2, 11, 24, 0.84) 56%, rgba(2, 11, 24, 1));
  }

  .invest-hero-circuit {
    inset: 90px auto auto -10px;
    width: min(82vw, 520px);
    height: 420px;
    opacity: 0.7;
  }

  .invest-steps,
  .invest-gallery-grid {
    grid-template-columns: 1fr;
  }

  .invest-process {
    padding: 78px 0 84px;
  }

  .invest-gallery-heading {
    padding-bottom: 34px;
  }

  .invest-gallery-band {
    padding: 58px 0 74px;
  }
}

@media (max-width: 560px) {
  .invest-hero {
    min-height: 840px;
  }

  .invest-hero-inner {
    min-height: calc(840px - 90px);
    padding-top: 56px;
  }

  .invest-hero-copy h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
    max-width: 10.8ch;
  }

  .invest-step {
    padding-inline: 20px;
  }

  .invest-step h3 {
    font-size: 1.18rem;
  }

  .invest-step p,
  .invest-process-intro {
    font-size: 0.98rem;
  }
}

/* Client polish update */
.invest-hero {
  min-height: 790px;
  padding-top: 126px;
}

.invest-hero-inner {
  min-height: calc(790px - 126px);
  padding: 76px 0 96px;
}

.invest-hero-copy h1 {
  font-size: clamp(2.45rem, 3.8vw, 3.8rem);
}

.invest-hero-copy p {
  font-size: clamp(0.98rem, 1.18vw, 1.16rem);
  line-height: 1.72;
}

.invest-process {
  padding: 92px 0 104px;
}

.invest-process-intro {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.76;
}

.invest-step h3 {
  font-size: 1.18rem;
}

.invest-step p {
  font-size: 0.95rem;
  line-height: 1.74;
}

.invest-gallery-heading {
  padding-bottom: 42px;
}

@media (max-width: 1180px) {
  .invest-hero {
    padding-top: 112px;
  }
}

@media (max-width: 900px) {
  .invest-hero {
    padding-top: 100px;
  }
}
