/* Home process map — title clean; compass sits behind .home-process-steps only */

.home-pre-invest-wrap.mod-process-map {
  --process-bg: var(--cl-widget-bg, var(--cl-navy-deep, #101929));
  --process-ink: var(--cl-widget-heading, var(--cl-warm, #ede9e8));
  --process-muted: var(--cl-widget-text, rgba(237, 233, 232, 0.62));
  --process-gold: var(--cl-widget-label, var(--cl-gold, #ba9d4e));
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: 0;
  background-color: var(--process-bg);
  color: var(--process-ink);
  isolation: isolate;
  overflow: visible;
  min-height: 100vh;
}

/* Kill any legacy full-section compass plate behind the title */
.home-pre-invest-wrap.mod-process-map > .pre-invest-process-bg {
  display: none !important;
}

.home-pre-invest-wrap.mod-process-map > .pre-invest-bg-wrap,
.home-pre-invest-wrap.mod-process-map .sc-home-pre,
.home-pre-invest-wrap.mod-process-map .home-invest-stick-wrap,
.home-pre-invest-wrap.mod-process-map .home-invest-sub,
.home-pre-invest-wrap.mod-process-map .home-invest-main,
.home-pre-invest-wrap.mod-process-map .home-invest-steps-cursor-wrap,
.home-pre-invest-wrap.mod-process-map .home-invest-step-item-overlay,
.home-pre-invest-wrap.mod-process-map .home-invest-step-line {
  display: none !important;
}

.home-pre-invest-wrap.mod-process-map .sc-home-invest,
.home-pre-invest-wrap.mod-process-map .sc-home-process {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  background: transparent !important;
  color: var(--process-ink);
  overflow: visible;
}

/* Main title — scroll-scrubbed marquee (match HTML index.html homeInvestMainInit) */
.home-pre-invest-wrap.mod-process-map .home-invest-marquee-stick-wrap {
  position: relative;
  z-index: 3;
  height: 75vh;
  min-height: 0;
  max-height: none;
  display: block;
  pointer-events: none;
  color: var(--process-ink);
  box-sizing: border-box;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: transparent;
}

.home-pre-invest-wrap.mod-process-map .home-invest-marquee {
  width: 100%;
  max-width: 100%;
  flex-direction: column;
  margin-top: -2rem;
  margin-bottom: 6.3rem;
  display: flex;
  overflow: hidden;
  background: transparent;
}

.home-pre-invest-wrap.mod-process-map .home-invest-marquee-txt-wrap {
  width: 100%;
  display: flex;
  overflow: hidden;
}

.home-pre-invest-wrap.mod-process-map .home-invest-marquee-txt-wrap.from-right {
  justify-content: flex-end;
  margin-bottom: 0.8rem;
}

.home-pre-invest-wrap.mod-process-map .home-invest-marquee-txt-wrap.from-left {
  justify-content: flex-start;
}

.home-pre-invest-wrap.mod-process-map .home-invest-marquee-txt {
  white-space: nowrap;
  color: var(--process-ink);
}

/* Steps block — compass bleeds past the content box (no hard cut edges) */
.home-pre-invest-wrap.mod-process-map .home-invest-steps-wrap,
.home-pre-invest-wrap.mod-process-map .home-process-inner {
  position: relative;
  z-index: 2;
  overflow: visible;
  padding: clamp(10rem, 14vh, 18rem) clamp(3rem, 6vw, 10rem) clamp(14rem, 20vh, 24rem);
  max-width: 144rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.home-pre-invest-wrap.mod-process-map .home-process-steps-bg,
.home-pre-invest-wrap.mod-process-map .home-process-inner > .pre-invest-process-bg {
  position: absolute;
  /* Extend past padding / max-width so N/S/E/W aren't squared off */
  inset: -12% -18%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  background: transparent !important;
  display: block !important;
}

.home-pre-invest-wrap.mod-process-map .home-process-steps-bg__spin,
.home-pre-invest-wrap.mod-process-map .home-process-inner .pre-invest-process-bg__spin {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(96rem, 92%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  will-change: transform;
  filter: none;
  clip-path: none;
  /* Soft fade only — no hard circle / box edge */
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, #000 55%, transparent 78%);
  mask-image: radial-gradient(circle at center, #000 0%, #000 55%, transparent 78%);
  background: transparent !important;
}

.home-pre-invest-wrap.mod-process-map .home-process-steps-bg__img,
.home-pre-invest-wrap.mod-process-map .home-process-inner .pre-invest-process-bg__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.38;
  pointer-events: none;
  transform-origin: 50% 50%;
  will-change: transform;
  mix-blend-mode: normal;
  animation: process-compass-img-spin 48s linear infinite;
}

@keyframes process-compass-img-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .home-pre-invest-wrap.mod-process-map .home-process-steps-bg__img,
  .home-pre-invest-wrap.mod-process-map .home-process-inner .pre-invest-process-bg__img {
    animation: none;
  }
}

.home-pre-invest-wrap.mod-process-map .home-invest-steps,
.home-pre-invest-wrap.mod-process-map .home-process-steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(7.5rem, 11vh, 13rem);
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0;
}

.home-pre-invest-wrap.mod-process-map .home-invest-step-item,
.home-pre-invest-wrap.mod-process-map .home-process-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 2.8rem;
  align-items: start;
  padding: 0;
  background: transparent;
  width: 100%;
  max-width: 64rem;
  visibility: visible;
}

.home-pre-invest-wrap.mod-process-map .home-invest-step-item .container,
.home-pre-invest-wrap.mod-process-map .home-invest-step-item-inner {
  display: contents;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  grid-template-columns: none;
}

.home-pre-invest-wrap.mod-process-map .home-invest-step-number-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  margin: 0;
  overflow: visible !important;
  flex: none;
  grid-column: 1;
  grid-row: 1;
  padding-top: 1rem;
}

.home-pre-invest-wrap.mod-process-map .home-invest-step-number {
  clip-path: none !important;
  background: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  position: relative;
  overflow: visible !important;
}

.home-pre-invest-wrap.mod-process-map .home-invest-item-step-txt,
.home-pre-invest-wrap.mod-process-map .home-process-step__num {
  font-family: Reckless, Georgia, "Times New Roman", serif !important;
  font-size: clamp(7.2rem, 9vw, 11.2rem) !important;
  font-weight: 400 !important;
  line-height: 0.88 !important;
  color: #ba9d4e !important;
  -webkit-text-fill-color: #ba9d4e !important;
  background: none !important;
  letter-spacing: -0.02em;
}

.home-pre-invest-wrap.mod-process-map .home-process-crosshair,
.home-pre-invest-wrap.mod-process-map .home-invest-step-number-wrap::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  color: #ba9d4e;
  opacity: 1;
}

.home-pre-invest-wrap.mod-process-map .home-invest-step-content {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.home-pre-invest-wrap.mod-process-map .home-invest-step-title,
.home-pre-invest-wrap.mod-process-map .home-process-step__title {
  margin: 0.8rem 0 1.8rem !important;
  font-family: Reckless, Georgia, "Times New Roman", serif !important;
  font-size: clamp(3.6rem, 4.2vw, 4.8rem) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  color: var(--process-ink) !important;
  -webkit-text-fill-color: var(--process-ink) !important;
  background: none !important;
}

.home-pre-invest-wrap.mod-process-map .home-invest-step-para,
.home-pre-invest-wrap.mod-process-map .home-process-step__body {
  margin: 0 !important;
  max-width: 48rem;
  font-family: Inter, sans-serif !important;
  font-size: clamp(1.65rem, 1.5vw, 1.9rem) !important;
  font-weight: 400 !important;
  line-height: 1.58 !important;
  color: var(--process-muted) !important;
  -webkit-text-fill-color: var(--process-muted) !important;
}

/* Center stack — all steps aligned in the middle over the compass */
.home-pre-invest-wrap.mod-process-map .home-invest-step-item:nth-child(n),
.home-pre-invest-wrap.mod-process-map .home-process-step:nth-child(n) {
  margin: 0;
  justify-self: center;
  text-align: left;
}

@media only screen and (max-width: 991px) {
  .home-pre-invest-wrap.mod-process-map .home-invest-marquee-stick-wrap {
    height: 50vh;
    min-height: 0;
    max-height: none;
    padding: 0;
  }

  .home-pre-invest-wrap.mod-process-map .home-process-steps-bg,
  .home-pre-invest-wrap.mod-process-map .home-process-inner > .pre-invest-process-bg {
    inset: -8% -10%;
  }

  .home-pre-invest-wrap.mod-process-map .home-process-steps-bg__spin,
  .home-pre-invest-wrap.mod-process-map .home-process-inner .pre-invest-process-bg__spin {
    width: min(72rem, 120%);
    top: 46%;
  }

  .home-pre-invest-wrap.mod-process-map .home-process-steps-bg__img,
  .home-pre-invest-wrap.mod-process-map .home-process-inner .pre-invest-process-bg__img {
    opacity: 0.3;
  }

  .home-pre-invest-wrap.mod-process-map .home-invest-steps,
  .home-pre-invest-wrap.mod-process-map .home-process-steps {
    max-width: 100%;
    gap: clamp(6rem, 9vh, 8.5rem);
  }

  .home-pre-invest-wrap.mod-process-map .home-invest-step-item:nth-child(n),
  .home-pre-invest-wrap.mod-process-map .home-process-step:nth-child(n) {
    max-width: 100%;
  }

  .home-pre-invest-wrap.mod-process-map .home-invest-steps-wrap,
  .home-pre-invest-wrap.mod-process-map .home-process-inner {
    padding: 8rem 3rem 12rem;
  }
}

@media only screen and (max-width: 767px) {
  .home-invest-marquee-stick-wrap,
  .home-pre-invest-wrap.mod-process-map .home-invest-marquee-stick-wrap {
    display: none !important;
  }
}
