/* =========================================================
   PROCESS GATES SECTION
========================================================= */

.pgSection {
  background-color: #0d1b3e;
  background-image:
    radial-gradient(ellipse 60% 70% at 70% 30%, #f07b2f0d, transparent 65%),
    radial-gradient(circle at 1px 1px, #ffffff0a 1px, transparent 0),
    linear-gradient(180deg, #070f22 0%, #0d1b3e 30%, #070f22 100%);
  color: var(--v22-ink);
  background-size:
    100% 100%,
    22px 22px,
    100% 100%;
  /* overflow: hidden; */
  padding: 112px 0px;
}

/* =========================================================
   LAYOUT
========================================================= */

.pgSection__inner {
  position: relative;
  z-index: 1;

  box-sizing: border-box;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(32px, 4.8vw, 80px);

  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);

  align-items: stretch;
}

/* =========================================================
   STICKY SIDE COLUMN
========================================================= */

.pgSection__side {
  min-width: 0;
  position: relative;
}

.pgSection__sideInner {
  position: sticky;
  top: 120px;
  align-self: start;
}

.pgSection__sideInner > astro-slot,
.pgSection__sideInner astro-slot {
  display: block;
  width: 100%;
}

/* =========================================================
   MAIN COLUMN
========================================================= */

.pgSection__main {
  min-width: 0;
}


.pgSection__chartImg {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   GATE BLOCK
========================================================= */

.pgSection__gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: clamp(28px, 3.5vw, 56px);

  align-items: start;
  margin-top: clamp(36px, 4vw, 60px);
}

.pgSection__gateCopy {
  min-width: 0;
}

.pgSection__gateHeading {
  margin: 0;
  max-width: 30ch;

  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;

  color: #fff;
}

.pgSection__gateBody {
  margin-top: 18px;

  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;

  color: rgba(255, 255, 255, 0.65);
}

.pgSection__gateBody p {
  margin: 0 0 10px;
}

.pgSection__gateBody p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   OUTCOMES PANEL
========================================================= */

.pgSection__outcomes {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pgSection__outcomesHead {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pgSection__outcomesDiamond {
  position: relative;
  width: 12.72px;
  height: 12.72px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
  box-sizing: border-box;

  &::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    background: #f07b2f;
    border-radius: 50%;
    top: 60%;
    left: 60%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

.pgSection__outcomesLabel {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.6);
}

.pgSection__outcomesList {
  display: block;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
  .pgSection__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pgSection__gate {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pgSection__sideInner {
    position: relative;
    top: auto;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 820px) {
  .pgSection {
    padding: 60px 0px;
  }
  .pgSection__inner {
    padding: 0 30px;
    gap: 0px;
  }

  .pgSection__chart {
    padding: 18px 14px;
  }

  .pgSection__gateHeading {
    font-size: 1.08rem;
    max-width: none;
  }

  .pgSection__outcomesHead {
    padding: 14px 16px;
  }
}
