.process {
  padding: 140px 0px 130px 0px;
  width: 100%;
  border-bottom: 1px solid rgba(6, 4, 0, 0.1);
}

.process-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 151px;
  height: 35px;
  border-radius: 999px;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(6, 4, 0, 0.8);
  margin-bottom: 12px;
  border: 1px solid rgba(6, 4, 0, 0.1);
}

.process-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 1.28;
  color: #060400;
  margin: 0px 0px 52px 0px;
}

.process-accent {
  color: #d32c17;
  font-family: 'Instrument Serif', serif;
}

.process-grid {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  flex: 0.9;
}

.process-step {
  position: relative;
  border-bottom: 1px solid rgba(6, 4, 0, 0.12);
  padding: 15px 0px;
}

.process-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: none;
  padding: 0px;
  text-align: left;
  cursor: pointer;
  font-size: 18px;
  color: rgba(6, 4, 0, 0.85);
}

.process-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d32c17;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.process-step-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #060400;
}

.process-plus {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(6, 4, 0, 0.04);
  border: 1px solid rgba(6, 4, 0, 0.08);
  position: relative;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.process-plus::before,
.process-plus::after {
  content: '';
  position: absolute;
  background: rgba(6, 4, 0, 0.7);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.process-plus::before {
  width: 14px;
  height: 2px;
}

.process-plus::after {
  width: 2px;
  height: 14px;
}

.process-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
  padding-left: 50px;
}

.process-panel p {
  margin: 14px 14px 0px 0px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(6, 4, 0, 0.7);
}

.process-step.is-active .process-panel {
  max-height: 160px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 12px;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: #d32c17;
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(0);
}

.process-step.is-animating::after {
  animation: process-progress 10s linear forwards;
}

.process-step.is-paused::after {
  animation-play-state: paused;
}

.process-step.is-active .process-plus::after {
  opacity: 0;
}
.process-preview {
  display: flex;
  justify-content: center;
}

.process-media {
  position: relative;
  width: min(100%, 540px);
  background: #f0d7d4;
  border-radius: 22px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 1;
}

.process-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.98;
  pointer-events: none;
}

.process-mockup {
  position: relative;
}

.process-frame {
  width: 100%;
  height: auto;
  max-width: 450px;
  display: block;
  filter: drop-shadow(0 18px 26px rgba(6, 4, 0, 0.1));
}

.process-shot {
  position: absolute;
  width: 76%;
  left: 12.3%;
  top: 7%;
  height: auto;
  display: block;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  z-index: 1;
}

.process-shot.is-swapping {
  opacity: 0;
  transform: translateX(20px);
}

.process-shot.is-entering {
  animation: process-slide-in 0.5s ease both;
}

.process-toggle:focus-visible {
  outline: 2px solid rgba(211, 44, 23, 0.6);
  outline-offset: 6px;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .process-title {
    font-size: 48px;
    margin: 0px 0px 24px 0px;
  }

  .process-grid {
    flex-direction: column;
  }

  .process-preview {
    justify-content: flex-start;
    margin-top: 20px;
  }
}

@media (max-width: 750px) {
  .process {
    padding: 120px 0px 100px 0px;
  }

  .process-shell {
    padding: 0px 24px;
  }

  .process-title {
    font-size: 36px;
  }

  .process-grid {
    gap: 10px;
  }

  .process-step-title {
    font-size: 17px;
  }

  .process-panel p {
    font-size: 15px;
  }

  .process-media {
    padding: 28px;
  }
}

@media (max-width: 520px) {
  .process-title {
    font-size: 32px;
  }

  .process-number {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .process-plus {
    width: 32px;
    height: 32px;
  }

  .process-panel {
    padding-left: 44px;
  }
}

@keyframes process-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes process-slide-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-step.is-animating::after {
    animation: none;
    transform: scaleX(1);
  }

  .process-shot,
  .process-shot.is-swapping,
  .process-shot.is-entering {
    transition: none;
    animation: none;
    transform: none;
    opacity: 1;
  }
}
