/* ============================================================
   CALL US — PROCESS (Light Edition)
   process.css
   ============================================================ */

.process {
  position: relative;
  z-index: 2;
  background: var(--cream);
  color: var(--ink);
  padding: clamp(6rem, 12vh, 10rem) var(--pad);
  overflow: hidden;
}

.process__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* HEAD */
.process__head {
  margin-bottom: clamp(4rem, 8vh, 6rem);
  max-width: 55rem;
}

.process__title {
  font-family: 'General Sans', sans-serif;
  font-size: var(--t-section);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-top: 0.5rem;
  color: var(--ink);
}

.process__title-line { display: block; }

.process__title-line--italic {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--emerald);
}

.process__lede {
  margin-top: 2rem;
  font-size: var(--t-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-mute);
  max-width: 40rem;
}

/* TIMELINE */
.process__timeline {
  position: relative;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.process__timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 0.5rem;
}

.process__timeline-line {
  position: absolute;
  top: 8px;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: var(--line-on-light);
  z-index: 0;
  pointer-events: none;
}

.process__timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--emerald), var(--gold-deep));
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* STEP */
.process__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  flex: 1;
  transition: transform 0.3s var(--ease);
}

.process__step:hover { transform: translateY(-3px); }

.process__step-dot {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid rgba(26, 26, 26, 0.2);
  transition: all 0.4s var(--ease);
}

.process__step-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.2);
  transform: translate(-50%, -50%);
  transition: all 0.4s var(--ease);
}

.process__step.is-active .process__step-dot {
  border-color: var(--emerald);
  box-shadow:
    0 0 0 6px rgba(45, 90, 61, 0.08),
    0 0 20px rgba(45, 90, 61, 0.2);
  transform: scale(1.15);
  background: var(--white);
}

.process__step.is-active .process__step-dot::before {
  background: var(--emerald);
  width: 8px;
  height: 8px;
}

.process__step.is-passed .process__step-dot {
  border-color: var(--emerald);
  background: var(--emerald);
}

.process__step.is-passed .process__step-dot::before {
  background: var(--emerald);
}

.process__step-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}

.process__step.is-active .process__step-num { color: var(--emerald); }

.process__step-label {
  font-family: 'General Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  transition: color 0.4s ease;
  white-space: nowrap;
}

.process__step.is-active .process__step-label { color: var(--ink); }
.process__step:hover .process__step-label { color: var(--ink); }

/* PANELS */
.process__panels {
  position: relative;
  min-height: clamp(360px, 40vh, 480px);
  border-top: 1px solid var(--line-on-light);
  border-bottom: 1px solid var(--line-on-light);
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.process__panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.process__panel.is-active {
  opacity: 1;
  pointer-events: auto;
}

.process__panel-inner {
  display: grid;
  grid-template-columns: 180px 1fr 240px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  max-width: 100%;
}

.process__panel-side {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.process__panel-num {
  font-family: 'General Sans', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--emerald);
  opacity: 0.9;
}

.process__panel-duration {
  font-family: 'General Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.process__panel-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.process__panel-title {
  font-family: 'General Sans', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}

.process__panel-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-mute);
  max-width: 32rem;
}

.process__panel-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.process__panel-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink);
}

.process__panel-list li span {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--emerald);
  opacity: 0.6;
  flex-shrink: 0;
}

.process__panel-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.25rem;
}

.process__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-on-light);
}

.process__meta-label {
  font-family: 'General Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.process__meta-value {
  font-family: 'General Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
}

/* CONTROLS */
.process__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.process__control {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-on-light);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.process__control:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: rgba(45, 90, 61, 0.06);
  transform: scale(1.06);
}

.process__control:active { transform: scale(0.98); }
.process__control:disabled { opacity: 0.3; pointer-events: none; }

.process__counter {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: 'General Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  font-variant-numeric: tabular-nums;
}

.process__counter-current {
  color: var(--emerald);
  font-size: 1.15rem;
}

.process__counter-sep {
  color: var(--ink-mute);
  font-size: 0.75rem;
}

.process__counter-total {
  color: var(--ink-mute);
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .process__panel-inner {
    grid-template-columns: 140px 1fr;
    gap: 2rem;
  }
  .process__panel-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1rem;
  }
  .process__meta-item {
    flex: 1;
    min-width: 120px;
    border-bottom: none;
    border-top: 1px solid var(--line-on-light);
    padding: 0.75rem 0 0;
  }
}

@media (max-width: 900px) {
  .process { padding: 6rem var(--pad) 4rem; }

  .process__timeline-track {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1rem;
    gap: 1rem;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .process__timeline-track::-webkit-scrollbar { display: none; }
  .process__timeline-line { display: none; }
  .process__step { flex: 0 0 auto; min-width: 90px; }
  .process__step-label { font-size: 0.58rem; letter-spacing: 0.16em; }

  .process__panels { min-height: auto; }
  .process__panel {
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
    display: none;
    padding: 2rem 0;
  }
  .process__panel.is-active { display: block; }
  .process__panel-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .process__panel-num { font-size: 3.5rem; }
  .process__panel-title { font-size: 1.75rem; }
  .process__panel-desc { font-size: 0.92rem; }
  .process__controls { gap: 1.5rem; margin-top: 2rem; }
  .process__control { width: 44px; height: 44px; }
}

@media (max-width: 500px) {
  .process__step-label { display: none; }
  .process__step { min-width: 60px; }
  .process__panel-num { font-size: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .process__step,
  .process__step-dot,
  .process__timeline-progress,
  .process__control { transition: none; }
}

