/* Process page — THE PROCESS (mockup grid) */

.page-process {
  --process-beige: #e5ddd3;
  --process-gutter: 0.5rem;
  --process-line: rgba(60, 56, 53, 0.4);
  background: #fff;
  color: var(--color-charcoal);
  padding: 0 0 clamp(3rem, 7vh, 5rem);
}

/* —— Hero —— */
.page-process__hero {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2.75rem, 7vh, 4.5rem) 1.5rem 1.75rem;
  text-align: center;
}

.page-process__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.05;
}

.page-process__title::after {
  content: "";
  display: block;
  width: 4rem;
  height: 1px;
  margin: 0.85rem auto 0;
  background: var(--process-line);
}

.page-process__lede {
  margin: 1.35rem auto 0;
  max-width: 36rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.98rem, 1.35vw, 1.15rem);
  line-height: 1.5;
  color: rgba(60, 56, 53, 0.88);
}

/* —— Section titles —— */
.page-process__service,
.page-process__consult {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2.5rem);
  text-align: center;
}

.page-process__service {
  margin-bottom: 1.5rem;
}

.page-process__section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}

.page-process__section-title::after {
  content: "";
  display: block;
  width: min(100%, 34rem);
  height: 1px;
  margin: 0.65rem auto 0;
  background: var(--process-line);
}

.page-process__section-tag {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(60, 56, 53, 0.72);
}

/*
 * Phase rows: [img][img] | [copy]  (or flipped)
 * - Same tiny gutter everywhere
 * - Images + copy always same height
 * - Readable type that fits the box
 */
.page-process__phases {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--process-gutter);
}

.page-process__phase {
  container-type: inline-size;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--process-gutter);
  align-items: stretch;
  /* Same height band every phase (fits Phase I type comfortably) */
  min-height: max(calc((100cqi - var(--process-gutter)) / 4), 29rem);
}

.page-process__phase--flip .page-process__phase-media {
  order: 2;
}

.page-process__phase--flip .page-process__phase-copy {
  order: 1;
}

.page-process__phase-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--process-gutter);
  min-width: 0;
  min-height: 100%;
  height: 100%;
}

.page-process__shot {
  margin: 0;
  overflow: hidden;
  background: #ebe6de;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.page-process__shot img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.page-process__phase-copy {
  background: var(--process-beige);
  padding: clamp(1.15rem, 2.4vw, 2rem) clamp(1.2rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  min-height: 100%;
  height: 100%;
}

.page-process__phase-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  padding: 0.35rem 0;
  border-top: 1px solid var(--process-line);
  border-bottom: 1px solid var(--process-line);
  line-height: 1.15;
}

.page-process__phase-sub {
  margin: 0.65rem 0 0;
  max-width: 28rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 1.4;
  text-align: center;
  color: rgba(60, 56, 53, 0.9);
}

.page-process__phase-lead {
  margin: 0.7rem 0 0;
  max-width: 30rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  line-height: 1.45;
  text-align: center;
  color: var(--color-charcoal);
}

.page-process__points {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  width: 100%;
  max-width: 32rem;
  display: grid;
  gap: 0.4rem;
  text-align: left;
}

.page-process__points li {
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.4;
  color: rgba(60, 56, 53, 0.9);
}

.page-process__points strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-charcoal);
}

.page-process__points span {
  font-weight: 400;
}

/* —— Consultation —— */
.page-process__consult {
  margin-top: clamp(2.25rem, 5vh, 3.5rem);
}

.page-process__consult-grid {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  text-align: center;
}

.page-process__consult-grid h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-process__consult-grid p {
  margin: 0 auto;
  max-width: 17rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(60, 56, 53, 0.82);
}

@media (max-width: 900px) {
  .page-process__phase,
  .page-process__phase--flip {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .page-process__phase--flip .page-process__phase-media,
  .page-process__phase--flip .page-process__phase-copy {
    order: initial;
  }

  .page-process__phase-media {
    height: auto;
    min-height: 0;
  }

  .page-process__shot {
    aspect-ratio: 1;
    height: auto;
  }

  .page-process__phase-copy {
    height: auto;
    min-height: 0;
  }

  .page-process__consult-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  .page-process__phase-media {
    grid-template-columns: 1fr;
  }

  .page-process__section-title::after {
    width: min(100%, 14rem);
  }
}
