/* ==========================================================
PROCESS.CSS
Only loaded on process.html.
========================================================== */

.process-page-content {
  padding-top: calc(var(--header-height) + var(--space-5));
  padding-bottom: var(--space-6);
}

/* ----------------------------------------------------------
01. PAGE INTRO
---------------------------------------------------------- */
.process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-6);
}

.process-header h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  margin-bottom: var(--space-2);
}

.process-subtext {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* ----------------------------------------------------------
02. IMAGE + STEPS
---------------------------------------------------------- */
.process-main-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-6);
  align-items: start;
  margin-bottom: var(--space-6);
}

.process-image-side img {
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--header-height) + var(--space-3));
}

.process-steps-side {
  display: flex;
  flex-direction: column;
}

/* Numbered steps connected by a vertical line — this is a
   real sequence, so the numbering and the line both carry
   actual meaning here (unlike a decorative 01/02/03). */
.process-step {
  position: relative;
  padding-left: 3.75rem;
  padding-bottom: var(--space-5);
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step::before {
  /* the connecting line */
  content: "";
  position: absolute;
  top: 3rem;
  bottom: 0;
  left: 1.4rem;
  width: 1.5px;
  background: rgba(45, 85, 55, 0.18);
}

.process-step:last-child::before {
  display: none;
}

.process-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  padding-top: 0.4rem;
}

.process-step p {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .process-main-layout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .process-image-side img {
    position: static;
  }
}
