/* Approved OffLists How It Works route: a quiet continuation of the network sea. */
.how-route-section {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100vw;
  min-height: 760px;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  padding: 96px max(28px, calc((100vw - 1480px) / 2)) 106px;
  background: #061b2c;
  color: #f8f6ef;
  text-align: center;
}

.how-route-section::before,
.how-route-section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.how-route-section::before {
  z-index: -2;
  background: url('/assets/offlists-how-route-water-v1.webp') center / cover no-repeat;
}

.how-route-section::after {
  z-index: -1;
  background:
    linear-gradient(180deg, #061e2b 0%, #061e2b44 16%, #0416253d 66%, #03172488 84%, #031724 100%),
    radial-gradient(ellipse 55% 58% at 50% 47%, #03132280, #0313221c);
}

.how-route-intro {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.how-route-eyebrow {
  display: block;
  margin: 0 0 28px;
  color: #d9b76f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .42em;
  line-height: 1.4;
  text-transform: uppercase;
}

.how-route-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  margin: 20px auto 0;
  background: #d9b76f;
}

.how-route-intro h2 {
  margin: 0;
  color: #f8f6ef;
  font: 400 clamp(56px, 6.5vw, 96px)/1.03 Baskerville, Garamond, serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.how-route-intro > p:last-child {
  margin: 24px auto 0;
  color: #e2e8e8;
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.5;
}

.how-route-stages {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1400px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(76px, 8.5vw, 124px) auto 0;
}

.how-route-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 170px;
  overflow: visible;
  pointer-events: none;
}

.how-route-line path {
  fill: none;
  stroke: #d5af67;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 2 8;
}

.how-route-stage {
  position: relative;
  min-width: 0;
  padding: 0 20px;
}

.how-route-stage:nth-of-type(2) { padding-top: 105px; }

.how-route-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 36px;
  border-radius: 50%;
  background: #fff8de;
  box-shadow: 0 0 0 4px #e3c5821f, 0 0 24px 8px #fff2be8f;
}

.how-route-number {
  display: block;
  color: #d7b36a;
  font: 400 clamp(30px, 3.2vw, 43px)/1 Baskerville, Garamond, serif;
}

.how-route-stage h3 {
  margin: 8px 0 11px;
  color: #f8f6ef;
  font: 400 clamp(30px, 3.1vw, 42px)/1.1 Baskerville, Garamond, serif;
  letter-spacing: -.025em;
}

.how-route-stage p {
  max-width: 285px;
  margin: 0 auto;
  color: #e0e7e9;
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.52;
}

@media (max-width: 760px) {
  .how-route-section {
    min-height: 840px;
    padding: 86px 24px 130px;
  }

  .how-route-intro h2 { max-width: 12ch; margin: auto; font-size: clamp(48px, 12vw, 72px); }
  .how-route-intro > p:last-child { max-width: 320px; font-size: 15px; }

  .how-route-stages {
    width: min(100%, 470px);
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 55px;
    text-align: left;
  }

  .how-route-stages::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 17px;
    height: calc(100% - 34px);
    border-left: 2px dotted #d5af67a8;
  }

  .how-route-line { display: none; }

  .how-route-stage,
  .how-route-stage:nth-of-type(2) { padding: 0 0 0 64px; }

  .how-route-dot {
    position: absolute;
    top: 8px;
    left: 12px;
    width: 12px;
    height: 12px;
    margin: 0;
  }

  .how-route-stage h3 { font-size: 34px; }
  .how-route-stage p { max-width: 350px; margin: 0; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .how-route-section * { scroll-behavior: auto; }
}
