.route-explorer { margin-top: 1.5rem; margin-bottom: 3rem; }
.explorer-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.explorer-heading h2 { max-width: 20ch; margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.explorer-heading .eyebrow { margin-bottom: .5rem; }
.explorer-heading > a { font-weight: 650; text-underline-offset: .2rem; }
.explorer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; border: 1px solid #d8e4dc; border-radius: 1.25rem; overflow: hidden; background: #fff; }
.explorer-stage { position: relative; min-width: 0; min-height: 570px; background: #e9eee2; }
#explorer-map { position: absolute; inset: 0; }
.explorer-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; background: radial-gradient(ellipse at 65% 25%, #d1e2ce, #eaf0de 45%, #cbdeda); }
.explorer-placeholder p { max-width: 23ch; font-size: 1.5rem; color: var(--forest); }
.explorer-card { padding: 1.25rem; min-width: 0; }
.explorer-card h3 { font-size: 1.35rem; line-height: 1.3; letter-spacing: -.025em; margin: .8rem 0; }
.explorer-card p { font-size: .9rem; line-height: 1.5; color: var(--muted); }
.explorer-choices { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.explorer-choices button, .explorer-toolbar button, .explorer-stops button {
  min-height: 44px; padding: .55rem .8rem; font: inherit; font-weight: 650; color: var(--forest);
  background: #fff; border: 1px solid #b8cdc0; border-radius: .65rem; cursor: pointer;
}
.explorer-choices button[aria-pressed="true"], .explorer-stops button[aria-current="step"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.explorer-toolbar { position: absolute; top: 1rem; left: 1rem; right: 3.5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.explorer-toolbar button { box-shadow: 0 2px 12px #12322914; font-size: .8rem; }
.explorer-card img { border-radius: .75rem; aspect-ratio: 1.65; object-fit: cover; }
.explorer-price { display: flex; align-items: baseline; gap: .4rem; margin: .9rem 0; }
.explorer-price strong { font-size: 1.75rem; color: var(--forest); }
.explorer-links { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.explorer-links a { font-size: .9rem; }
.explorer-links a:not(.button) { text-underline-offset: .2rem; }
.explorer-stops { list-style: none; padding: 0; display: grid; gap: .35rem; margin: 1.25rem 0 0; }
.explorer-stops button { width: 100%; text-align: left; border-color: transparent; background: var(--mist); font-size: .85rem; }
.explorer-note { margin: 1rem 0 0; font-size: .75rem !important; }
.explorer-timeline { position: absolute; bottom: 2.3rem; left: 1rem; right: 1rem; padding: .7rem 1rem; border-radius: .85rem; background: #fffffff2; box-shadow: 0 4px 24px #1232291a; }
.explorer-timeline label { display: block; font-size: .75rem; color: var(--muted); }
.explorer-timeline input { display: block; width: 100%; min-height: 32px; margin: .25rem 0 0; accent-color: var(--forest); }
.explorer-timeline p { margin: .15rem 0 0; font-size: .85rem; font-weight: 650; }
.route-explorer [hidden] { display: none !important; }
.explorer-marker { width: 40px; height: 40px; border-radius: 50%; border: 3px solid white; box-shadow: 0 3px 14px #16392a4d; background: var(--forest); color: #fff; font: 750 .95rem system-ui; cursor: pointer; }
.explorer-car-pin { width: 15px; height: 15px; border: 3px solid white; border-radius: 50%; background: #d57133; box-shadow: 0 0 0 3px #d571334d; }
.explorer-stage:fullscreen { width: 100vw; height: 100dvh; }
.explorer-stage:fullscreen .explorer-timeline { bottom: 2.5rem; }
#explorer-map .maplibregl-ctrl-attrib { font-size: 10px; }
@media (max-width: 850px) {
  .explorer-layout { grid-template-columns: 1fr; }
  .explorer-stage { min-height: 440px; }
  .explorer-card { padding: 1rem; border-top: 1px solid #d8e4dc; }
  .explorer-card img { max-height: 180px; }
  .explorer-choices { margin-bottom: .75rem; }
  .explorer-stops { display: flex; overflow-x: auto; padding-bottom: .35rem; }
  .explorer-stops li { flex-shrink: 0; }
  .explorer-heading > a { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .route-explorer * { scroll-behavior: auto; }
}
