/* "How We Work" sticky-video process section — homepage only. */

.mm-process-section {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 90px 24px 40px;
}

.mm-process-inner { max-width: 1200px; margin: 0 auto; }

.mm-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 60px;
  /* Left column must stretch to the right column's full height (grid default) —
     sticky only has room to move within its own parent's box. */
}

.mm-process-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #E0562F;
}

.mm-process-heading {
  margin: 0 0 32px;
  font-family: 'Unbounded', sans-serif !important;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.5px;
  text-transform: uppercase;
  color: #14150F;
}

.mm-process-left {
  /* Sticks as one unit — eyebrow, heading, and video together — clearing the
     fixed header (84px at full height) by a 45px gap so it never touches it,
     regardless of whether the header has shrunk yet at this scroll point. */
  position: sticky;
  top: 130px;
  align-self: start;
}

.mm-process-media-frame { position: relative; border-radius: 10px; overflow: hidden; }

.mm-process-video {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  object-fit: cover;
  display: block;
  background: linear-gradient(150deg, #1c1d16 0%, #14150F 55%, #23260f 100%);
}

.mm-process-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
}

.mm-process-play,
.mm-process-mute {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 999px;
  border: none;
  background: rgba(20, 21, 15, .8);
  color: #F5F4EE;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}
.mm-process-play:hover,
.mm-process-mute:hover { background: rgba(20, 21, 15, .95); }
.mm-process-play svg,
.mm-process-mute svg { width: 16px !important; height: 16px !important; overflow: visible !important; }
.mm-process-play .mm-icon-fill,
.mm-process-mute .mm-icon-fill { fill: #F5F4EE !important; stroke: none !important; }
.mm-process-mute .mm-icon-stroke { fill: none !important; stroke: #F5F4EE !important; stroke-width: 1.4 !important; stroke-linecap: round !important; }

.mm-process-play .mm-icon-pause,
.mm-process-media-frame.is-playing .mm-process-play .mm-icon-play { display: none !important; }
.mm-process-media-frame.is-playing .mm-process-play .mm-icon-pause { display: block !important; }

.mm-process-mute .mm-icon-vol-off,
.mm-process-mute[aria-pressed="true"] .mm-icon-vol-on { display: none !important; }
.mm-process-mute[aria-pressed="true"] .mm-icon-vol-off { display: block !important; }

.mm-process-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.mm-process-media-frame:hover .mm-process-volume,
.mm-process-media-frame:focus-within .mm-process-volume,
.mm-process-media-frame.is-playing .mm-process-volume { opacity: 1; pointer-events: auto; }

.mm-process-volume-slider {
  width: 70px;
  height: 3px;
  accent-color: #F5F4EE;
  cursor: pointer;
}

.mm-process-steps {
  --mm-progress: 0px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.mm-process-steps::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 15px;
  width: 2px;
  background: #E9E7DE;
}
.mm-process-steps::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 15px;
  width: 2px;
  height: var(--mm-progress);
  background: #d3fb52;
  transition: height .35s ease;
  z-index: 0;
}

.mm-process-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px 56px 1fr;
  align-items: start;
  column-gap: 18px;
  padding: 0 0 140px;
}
/* The last step keeps the same trailing space as the others — it needs
   scroll room after it for the trigger line to actually reach and cross it,
   otherwise the page runs out before it can ever activate. */

.mm-process-step__dot {
  grid-column: 1;
  justify-self: center;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #D9D7CC;
  transition: background-color .3s ease, border-color .3s ease;
  z-index: 1;
}
.mm-process-step__num {
  grid-column: 2;
  font-family: 'Unbounded', sans-serif !important;
  font-size: 34px;
  font-weight: 900;
  color: #D9D7CC;
  transition: color .3s ease;
  line-height: 1;
}

.mm-process-step__body { grid-column: 3; }
.mm-process-step__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: #14150F;
}
.mm-process-step__desc {
  margin: 0;
  max-width: 20em;
  font-size: 14.5px;
  line-height: 1.65;
  color: #6B6960;
}

.mm-process-step.is-active .mm-process-step__dot {
  background: #d3fb52;
  border-color: #d3fb52;
}
.mm-process-step.is-active .mm-process-step__num { color: #d3fb52; }

@media screen and (max-width: 900px) {
  .mm-process-grid { grid-template-columns: 1fr; gap: 30px; }
  .mm-process-left { position: static; top: auto; }
  .mm-process-step { padding-bottom: 90px; }
}

@media screen and (max-width: 560px) {
  .mm-process-section { padding: 60px 20px 30px; }
  .mm-process-heading { font-size: 24px; }
  .mm-process-step { grid-template-columns: 24px 40px 1fr; column-gap: 12px; padding-bottom: 70px; }
  .mm-process-step__num { font-size: 26px; }
  .mm-process-step__title { font-size: 17px; }
}
