/* ========================================
   HOW I WORK (Work Process) - Premium Cards
   Scoped strictly to .work-process-section
======================================== */

.work-process-section {
  /* keep site gutters consistent by inheriting existing global layout patterns */
  padding: 5.5rem var(--page-gutter);
  background: var(--bg);
}

.work-process-section .section-intro {
  max-width: 70ch;
  margin: 0 auto 2.25rem;
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Grid */
.work-process-section .process-grid {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Card */
.work-process-section .process-card {
  position: relative;
  padding: 2.25rem 2rem 2rem;
  border-radius: 18px;

  /* dark-neutral “executive” card */
  background: rgba(16, 16, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.12),
    0 2px 10px rgba(0, 0, 0, 0.06);

  overflow: hidden;
  transform: translateZ(0);
}

/* subtle gradient sheen */
.work-process-section .process-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(900px 320px at 12% 0%, rgba(255, 255, 255, 0.10), transparent 55%),
    radial-gradient(900px 320px at 88% 0%, rgba(255, 255, 255, 0.06), transparent 55%);
  pointer-events: none;
  opacity: 0.85;
}

/* large step watermark number */
.work-process-section .process-card::before {
  content: attr(data-step);
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
  font-size: 4.25rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

/* Text */
.work-process-section .process-title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.85rem;
  font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
  max-width: 28ch;
}

.work-process-section .process-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
}

/* Optional connector lines (desktop only) */
@media (min-width: 1024px) {
  .work-process-section .process-grid::before {
    content: "";
    position: absolute;
    left: 9%;
    right: 9%;
    top: 50%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(0, 0, 0, 0.10),
      rgba(0, 0, 0, 0.10),
      transparent
    );
    transform: translateY(-50%);
    pointer-events: none;
  }

  .work-process-section .process-card:not(:last-child)::marker {
    /* no-op; marker suppression safety */
  }
}

/* Tablet: 2 + 1 */
@media (max-width: 1023px) {
  .work-process-section {
    padding: 5rem var(--page-gutter);
  }

  .work-process-section .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-process-section .process-card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

/* Mobile: stacked */
@media (max-width: 640px) {
  .work-process-section {
    padding: 4.25rem 1.5rem;
  }

  .work-process-section .section-intro {
    text-align: left;
    margin-bottom: 1.75rem;
  }

  .work-process-section .process-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .work-process-section .process-card {
    padding: 2rem 1.5rem 1.75rem;
    border-radius: 16px;
  }

  .work-process-section .process-card::before {
    font-size: 3.5rem;
    top: 1rem;
    right: 1rem;
  }

  /* Hide connector line on small screens */
  .work-process-section .process-grid::before {
    display: none;
  }
}

.work-process-section .process-note {
  max-width: 90ch;
  margin: 2rem auto 0;
  text-align: center;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-secondary);
  font-size: 1rem;
}