/* Four-card process timeline — matched to the approved reference */
.process-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 64px 0;
  background: transparent;
}

.process-grid {
  --process-gap: clamp(22px, 2.4vw, 34px);
  --process-node-y: clamp(39px, 3.35vw, 48px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--process-gap);
  width: min(100%, 1280px);
  margin: 64px auto 0;
}

.process-connector {
  position: absolute;
  z-index: 0;
  top: var(--process-node-y);
  left: 1px;
  right: 1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(168, 170, 172, 0.5) 5%,
    rgba(242, 242, 242, 0.65) 50%,
    rgba(168, 170, 172, 0.5) 95%,
    transparent 100%
  );
  box-shadow: 0 0 8px rgba(200, 200, 200, 0.12);
  pointer-events: none;
}

/* Border, radius, shadow, hover-lift and material texture now come from
   the shared .dh-card / .dh-card--surface system (css/cards.css). This
   block keeps only the process-specific layout: flex centering and
   padding. No aspect-ratio — the grid's default row-stretch keeps all
   four cards equal to the tallest card's height regardless of copy length. */
.process-card {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 380px;
  padding: clamp(18px, 1.8vw, 25px) clamp(18px, 1.8vw, 26px) clamp(28px, 2.6vw, 38px);
  overflow: visible;
  color: var(--ivory);
}

/* One connector node in the center of each desktop gap. */
.process-card:not(:first-of-type)::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: var(--process-node-y);
  left: calc(var(--process-gap) / -2);
  width: 5px;
  height: 5px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #f2f2f2;
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.85),
    0 0 12px rgba(168, 170, 172, 0.45);
}

.process-card__num {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(41px, 3.4vw, 54px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: transparent;
  background: var(--metallic-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.14))
    drop-shadow(0 5px 3px rgba(0, 0, 0, 0.78));
}

.process-card__icon {
  display: grid;
  place-items: center;
  width: clamp(78px, 6.2vw, 94px);
  height: clamp(78px, 6.2vw, 94px);
  margin-top: clamp(22px, 2vw, 30px);
}

.process-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.process-card__title {
  margin: clamp(20px, 1.9vw, 28px) 0 8px;
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: #f2eee8;
  text-wrap: balance;
}

.process-card__desc {
  max-width: 27ch;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 400;
  line-height: 1.65;
  color: #a9a39a;
  text-wrap: pretty;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 760px);
  }

  .process-card {
    aspect-ratio: auto;
    min-height: 430px;
  }

  .process-connector,
  .process-card:not(:first-of-type)::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: minmax(0, 380px);
    justify-content: center;
    gap: 20px;
    margin-top: 44px;
  }

  .process-card {
    min-height: 390px;
    padding: 24px 24px 32px;
  }

  .process-card__num {
    font-size: 56px;
  }

  .process-card__icon {
    width: 84px;
    height: 84px;
    margin-top: 22px;
  }

  .process-card__title {
    margin-top: 22px;
    font-size: 16px;
  }

  .process-card__desc {
    font-size: 14px;
  }
}
