.fp-route-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 46px;
  border: 0;
  border-radius: 2px;
  background: #ff792a;
  color: #191b1b;
  font: 650 15px/1.2 var(--sans);
  padding: 12px 20px;
}
.fp-route-form button:hover {
  background: #ff9651;
}
.fp-route {
  background: #f4f3f0;
  color: #232525;
}
.fp-route-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  grid-template-areas: "copy scene";
  min-height: clamp(455px, 42vw, 700px);
  max-width: 2000px;
  margin: auto;
}
.fp-route-copy {
  grid-area: copy;
  align-self: center;
  padding: clamp(36px, 4.4vw, 83px) clamp(20px, 5vw, 94px);
}
.fp-route h1 {
  font: 665 clamp(60px, 6.5vw, 114px) / 0.96 var(--display);
  letter-spacing: -0.055em;
}
.fp-route-intro {
  margin: 17px 0 25px;
  color: #555653;
  font-size: clamp(16px, 1.2vw, 21px);
}
.fp-route-form {
  max-width: 430px;
}
.fp-route-stops {
  position: relative;
  border: 1px solid #9e9d97;
  background: white;
  border-radius: 3px;
}
.fp-route-stops::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 25%;
  bottom: 25%;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    #545452 0 3px,
    transparent 3px 6px
  );
}
.fp-route-stop {
  display: grid;
  grid-template-rows: 16px 23px;
  position: relative;
  padding: 10px 14px 10px 43px;
}
.fp-route-stop::before {
  content: "";
  position: absolute;
  box-sizing: border-box;
  left: 17px;
  top: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border: 2px solid #343634;
  border-radius: 50%;
  background: white;
}
.fp-route-stop:last-child::before {
  border-radius: 1px;
  background: #ff792a;
  border-color: #232525;
}
.fp-route-stop + .fp-route-stop {
  border-top: 1px solid #deddd7;
}
.fp-route-stop span {
  font: 600 12px/1.3 var(--sans);
  color: #555653;
  pointer-events: none;
}
.fp-route-stop:has(input:placeholder-shown):not(:focus-within) span {
  position: absolute;
  left: 43px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 470;
}
.fp-route-stop input {
  grid-row: 2;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #232525;
  outline: none;
  font: 560 16px/1.25 var(--sans);
}
.fp-route-stop:focus-within {
  outline: 2px solid #a6410d;
  outline-offset: -2px;
}
.fp-route-stop input:focus-visible {
  outline: none;
}
.fp-route-stop:focus-within::before {
  background: #ff792a;
  transform: scale(1.3);
}
.fp-route-form button {
  margin-top: 16px;
}
.fp-route-image {
  grid-area: scene;
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 360px;
  align-self: stretch;
  background: #30322e;
}
.fp-route-shot {
  position: absolute;
  inset: 0;
  transform-origin: 60% 52%;
}
.fp-route-shot img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 62% 54%;
}
.fp-route-controls {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 40px);
  padding: 46px clamp(14px, 2.4vw, 38px) 12px;
  color: white;
  background: linear-gradient(transparent, rgb(16 21 22 / 86%) 63%, #101516);
}
.fp-route-models {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 22px);
}
.fp-route-models button {
  position: relative;
  min-height: 44px;
  padding: 9px 0 4px;
  border: 0;
  background: transparent;
  text-align: left;
  color: #fff;
  font-weight: 500;
}
.fp-route-models button::before {
  content: "";
  position: absolute;
  inset: 5px 0 auto;
  height: 1px;
  background: #ffffff80;
}
.fp-route-models button[aria-pressed="true"] {
  font-weight: 740;
}
.fp-route-models button[aria-pressed="true"]::before {
  height: 3px;
  background: var(--accent);
}
.fp-route-models button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fp-route-controls .sequence-toggle {
  position: static;
  flex: none;
  width: 44px;
  height: 44px;
}
.fp-route-controls button:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  .fp-route-shot:has(> img:first-child[src$=".gif"]) {
    animation: route-tracking 4.8s ease-in-out infinite alternate;
  }
  .fp-route-stop::before {
    transition:
      transform 0.23s ease,
      background-color 0.23s ease;
  }
}
@keyframes route-tracking {
  to { transform: scale(1.065); }
}
@media (max-width: 760px) {
  .fp-route-copy {
    padding: 32px 20px;
  }
  .fp-route h1 {
    font-size: clamp(53px, 7.6vw, 74px);
  }
}
@media (max-width: 640px) {
  .fp-route-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "scene" "copy";
  }
  .fp-route-copy {
    padding: 30px 20px 26px;
  }
  .fp-route-image {
    min-height: 0;
    aspect-ratio: 1.65;
  }
  .fp-route-controls {
    padding: 24px 14px 6px;
  }
  .fp-route h1 {
    font-size: clamp(49px, 12vw, 76px);
  }
  .fp-route-intro {
    margin: 12px 0 18px;
  }
}
