/* Inside OffLists: editorial companion to the approved How It Works section. */
.inside-route-section {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100vw;
  min-height: 960px;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  padding: 100px max(28px, calc((100vw - 1480px) / 2)) 280px;
  background: #041826;
  color: #faf7ef;
  text-align: center;
}

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

.inside-route-section::before {
  background: url('/assets/offlists-inside-yacht-water-v1.webp') left bottom / cover no-repeat;
}

.inside-route-section::after {
  background:
    linear-gradient(0deg, #031724 0%, #031724e6 7%, #03172400 30%),
    linear-gradient(180deg, #031724 0%, #031724bd 20%, #031724a8 60%, #03172425 100%);
}

.inside-route-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1360px);
  margin: 0 auto;
}

.inside-route-eyebrow {
  margin: 0 0 24px;
  color: #d9b76f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .44em;
  line-height: 1.5;
  text-transform: uppercase;
}

.inside-route-intro h2 {
  max-width: 1200px;
  margin: 0 auto;
  color: #faf7ef;
  font: 400 clamp(49px, 5.55vw, 82px)/1.07 Baskerville, Garamond, serif;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.inside-route-intro > p:last-child {
  margin: 22px auto 0;
  color: #e3e9e9;
  font: 400 clamp(17px, 1.7vw, 23px)/1.45 Baskerville, Garamond, serif;
}

.inside-route-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(72px, 8vw, 122px) auto 0;
}

.inside-route-feature {
  min-width: 0;
  padding: 0 28px;
}

.inside-route-feature + .inside-route-feature {
  border-left: 1px solid #d9b76f9c;
}

.inside-route-feature svg {
  display: block;
  width: 80px;
  height: 70px;
  margin: 0 auto 17px;
  fill: none;
  stroke: #d9b76f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inside-route-feature h3 {
  margin: 0;
  color: #faf7ef;
  font: 400 clamp(27px, 2.6vw, 39px)/1.16 Baskerville, Garamond, serif;
  letter-spacing: -.02em;
}

.inside-route-feature p {
  margin: 10px auto 0;
  color: #e1e8e9;
  font: 400 clamp(16px, 1.5vw, 21px)/1.45 Baskerville, Garamond, serif;
}

.inside-route-path {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: min(31vw, 270px);
  pointer-events: none;
}

.inside-route-path path {
  fill: none;
  stroke: #d9b76f;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 2 8;
}

.inside-route-path circle {
  fill: #fff2c4;
  filter: drop-shadow(0 0 10px #ffe3a0);
}

@media (max-width: 760px) {
  .inside-route-section::before {
    background-image: url('/assets/offlists-inside-yacht-water-mobile-v1.webp');
    background-position: left bottom;
  }

  .inside-route-section {
    min-height: 900px;
    padding: 82px 24px 380px;
  }

  .inside-route-intro h2 { max-width: 12ch; font-size: clamp(44px, 11vw, 68px); }
  .inside-route-intro > p:last-child { max-width: 330px; font-size: 17px; }
  .inside-route-features { grid-template-columns: 1fr; gap: 25px; margin-top: 58px; }
  .inside-route-feature { padding: 0 8px 25px; }
  .inside-route-feature + .inside-route-feature { border-left: 0; border-top: 1px solid #d9b76f77; padding-top: 25px; }
  .inside-route-feature svg { width: 57px; height: 50px; margin-bottom: 10px; }
  .inside-route-feature h3 { font-size: 30px; }
  .inside-route-feature p { font-size: 16px; }
  .inside-route-path { height: 145px; }
}
