.route-hero {
  position: relative;
  isolation: isolate;
  height: 92svh;
  min-height: 590px;
  max-height: 920px;
  overflow: hidden;
  color: #fffdf7;
  background: #244de0;
}

#city-route-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.route-hero-copy { position: absolute; top: 125px; left: 6%; max-width: 52%; z-index: 2; pointer-events: none; }
.route-eyebrow { margin-bottom: 22px; font: 500 10px/1.5 Onest, sans-serif; text-transform: uppercase; }
.route-hero h1 { font: 600 64px/.98 Onest, sans-serif; letter-spacing: 0; text-transform: none; }
.route-hero h1 em { color: var(--yellow); font-size: 1.06em; line-height: 1.15; }
.route-hero-description { margin-top: 20px; font: 400 15px/1.6 Onest, sans-serif; color: #e1e8ff; }
.route-destinations { position: absolute; top: 137px; right: 5%; display: flex; gap: 26px; z-index: 3; }
.route-destinations button { position: relative; padding: 8px 0 16px; color: #bccbff; font: 500 15px/1.4 Onest, sans-serif; }
.route-destinations button::after { position: absolute; content: ''; left: 0; bottom: 0; right: 0; height: 2px; background: #ffffff33; }
.route-destinations button[aria-selected='true'] { color: var(--yellow); }
.route-destinations button span { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--yellow); z-index: 1; }
.route-destinations button:hover { color: #fffdf7; }
.route-hero :focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
.route-journey-caption { position: absolute; left: 6%; bottom: 66px; max-width: calc(100% - 260px); z-index: 2; }
.route-destination-name { display: flex; gap: 14px; align-items: baseline; font: 400 25px/1.25 Onest, sans-serif; }
.route-destination-name > span:nth-child(2) { color: var(--yellow); }
.route-destination-name strong { font-weight: 600; }
#route-stops { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 14px; color: #d2ddff; font: 400 12px/1.5 Onest, sans-serif; }
#route-stops li + li::before { content: '·'; padding-right: 8px; color: var(--yellow); }
#route-stops li.is-current { color: var(--yellow); }
.route-leg-status { min-height: 18px; margin-top: 11px; color: #c2d0ff; font: 400 12px/1.5 Onest, sans-serif; }
.route-motion { position: absolute; right: 6%; bottom: 245px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #ffffff70; border-radius: 50%; background: #244de0b3; }
.route-motion img { filter: invert(1); }
.route-motion:hover { background: #1937a1; }
.route-hero-cta { position: absolute; bottom: 63px; right: 5%; width: 132px; height: 132px; display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--red); color: var(--ink); border-radius: 50%; font: 600 14px/1.25 Onest, sans-serif; transition: transform .3s; }
.route-hero-cta > span:last-child { font-size: 28px; }
.route-hero-cta:hover { transform: rotate(-5deg); }
.route-hero-scroll { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 48px; height: 34px; display: grid; place-items: center; border-radius: 24px 24px 0 0; background: var(--yellow); color: var(--ink); font: 400 22px/1 Onest, sans-serif; }
.route-schedule-note { position: absolute; left: 6%; bottom: 24px; color: #aebff4; max-width: 70%; font: 400 10px/1.4 Onest, sans-serif; }

@media (min-width: 1500px) {
  .route-hero-copy { top: 150px; }
  .route-hero h1 { font-size: 82px; }
  .route-hero-description { font-size: 17px; }
}

@media (max-width: 900px) {
  .route-hero-copy { left: 24px; top: 110px; }
  .route-hero h1 { font-size: 52px; }
  .route-destinations { top: 110px; right: 24px; gap: 16px; }
  .route-destinations button { font-size: 13px; }
}

@media (max-width: 700px) {
  .route-destinations { display: none; }
  .moving-line > div { animation: none; transform: none; }
  .route-hero { height: 92svh; min-height: 680px; max-height: 900px; }
  .route-hero-copy { top: 105px; left: 20px; right: 20px; max-width: none; }
  .route-eyebrow { margin-bottom: 17px; font-size: 9px; }
  .route-hero h1 { font-size: 34px; line-height: 1; }
  .route-hero-description { margin-top: 15px; font-size: 14px; }
  .route-destinations { left: 20px; right: auto; top: 295px; gap: 24px; }
  .route-destinations button { font-size: 13px; padding-bottom: 12px; }
  .route-journey-caption { left: 20px; bottom: 84px; max-width: calc(100% - 115px); }
  .route-destination-name { font-size: 20px; gap: 9px; flex-wrap: wrap; }
  #route-stops { font-size: 10px; gap: 5px; margin-top: 10px; }
  #route-stops li + li::before { padding-right: 5px; }
  .route-leg-status { font-size: 10px; max-width: 235px; }
  .route-hero-cta { width: 88px; height: 88px; right: 16px; bottom: 76px; gap: 6px; font-size: 11px; }
  .route-hero-cta > span:last-child { font-size: 20px; }
  .route-motion { right: 20px; bottom: 198px; width: 34px; height: 34px; }
  .route-schedule-note { left: 20px; bottom: 42px; max-width: calc(100% - 40px); font-size: 9px; }
}

@media (max-width: 700px) and (max-height: 740px) {
  .route-hero { min-height: 590px; }
  .route-hero-copy { top: 85px; }
  .route-hero h1 { font-size: 30px; }
  .route-hero-description { font-size: 12px; }
  .route-destinations { top: 250px; }
  .route-journey-caption { bottom: 66px; }
  .route-hero-cta { bottom: 61px; }
  .route-motion { bottom: 180px; }
}

.city-application {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px max(6vw, 24px);
  background: var(--blue);
  color: #fffdf7;
}

.city-application-label {
  margin-bottom: 28px;
  color: var(--yellow);
  font: 500 12px/1.5 Onest, sans-serif;
  text-transform: uppercase;
}

.city-application h2 {
  font: 600 48px/1.08 Onest, sans-serif;
  letter-spacing: 0;
}

.city-application-intro > p:not(.city-application-label) {
  max-width: 460px;
  margin-top: 28px;
  font: 400 17px/1.6 Onest, sans-serif;
  color: #e5e9fb;
}

.city-application-consult {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 28px;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font: 600 13px/1.4 Onest, sans-serif;
}

.city-application-result { min-width: 0; }
.city-application-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.city-application-tabs button {
  min-height: 44px;
  padding: 10px 8px;
  border: 1px solid #ffffff59;
  border-radius: 6px;
  color: inherit;
  font: 500 14px/1.4 Onest, sans-serif;
  transition: background .2s, color .2s;
}

.city-application-tabs button:hover { background: #ffffff1a; }
.city-application-tabs button[aria-selected='true'] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.city-application :focus-visible {
  outline: 2px solid #fffdf7;
  outline-offset: 4px;
}

.city-application-panel {
  min-height: 355px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #ffffff45;
}

.city-application-panel[hidden] { display: none; }
.city-application-place { font: 400 13px/1.5 Onest, sans-serif; color: #d9dff8; }
.city-application-panel h3 { margin-top: 10px; font: 600 34px/1.15 Onest, sans-serif; }
.city-application-panel address { margin-top: 15px; font: 500 17px/1.55 Onest, sans-serif; }
.city-application-panel p:not(.city-application-place) { margin-top: 20px; color: #e5e9fb; font: 400 16px/1.6 Onest, sans-serif; }
.city-application-panel a { display: inline-block; max-width: 100%; margin: 22px 24px 0 0; color: var(--yellow); font: 500 14px/1.5 Onest, sans-serif; text-decoration: none; overflow-wrap: anywhere; }
.city-application-panel a:hover { color: #fffdf7; }
.city-application-note { margin-top: 25px; max-width: 490px; font: 400 13px/1.6 Onest, sans-serif; color: #d9dff8; }
.city-local-notes { grid-column: 1 / -1; border-top: 1px solid #ffffff45; padding-top: 22px; }
.city-local-notes summary { cursor: pointer; font: 500 18px/1.5 Onest, sans-serif; }
.city-local-notes p { max-width: 900px; margin-top: 18px; color: #e5e9fb; font: 400 16px/1.6 Onest, sans-serif; }
.city-local-notes a { display: inline-block; margin: 20px 24px 0 0; color: var(--yellow); font: 400 14px/1.5 Onest, sans-serif; }

@media (max-width: 1000px) {
  .city-application { gap: 36px; padding: 75px 24px; }
  .city-application h2 { font-size: 38px; }
  .city-application-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .city-application { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 60px 20px; }
  .city-application h2 { font-size: 34px; }
  .city-application-label { margin-bottom: 20px; }
  .city-application-intro > p:not(.city-application-label) { font-size: 16px; margin-top: 22px; }
  .city-application-panel { min-height: 350px; }
  .city-application-panel h3 { font-size: 30px; }
}
