:root {
  --paper: #efe3c4;
  --ink: #2f2115;
  --forest: #1d5f3e;
  --forest-soft: rgba(29, 95, 62, 0.86);
  --glow: rgba(255, 244, 194, 0.9);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255, 248, 224, 0.85), transparent 40%),
    linear-gradient(180deg, #f5ebcf 0%, #e6d1a1 100%);
}

.page-shell {
  width: min(1500px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.page-copy {
  text-align: center;
  margin-bottom: 14px;
}

.page-copy h1 {
  margin: 0;
  font-family: "Bree Serif", serif;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.poster-stage {
  display: flex;
  justify-content: center;
}

.poster-frame {
  width: min(1100px, 100%);
}

.poster-canvas {
  position: relative;
  aspect-ratio: 2500 / 4000;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(73, 49, 27, 0.18);
  background: #e8d4aa;
}

.poster-image,
.map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.poster-image {
  object-fit: cover;
}

.map-overlay {
  overflow: visible;
}

.route-path {
  fill: none;
  stroke: rgba(30, 255, 135, 0.14);
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stop-marker {
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.stop-marker.visible {
  opacity: 1;
}

.stop-marker circle {
  fill: rgba(255, 255, 255, 0.88);
  stroke: #a11a18;
  stroke-width: 8;
}

.stop-marker text {
  fill: #8a1f1b;
  font-size: 34px;
  font-weight: 700;
  text-anchor: middle;
}

.jeep-group {
  filter: drop-shadow(0 18px 16px rgba(20, 14, 11, 0.38));
  transform-box: fill-box;
  transform-origin: center;
}

#jeepSprite {
  overflow: visible;
}

.map-hud {
  width: 100%;
  margin-top: 0;
  padding: 18px 20px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  background: rgba(248, 239, 216, 0.9);
  border: 1px solid rgba(75, 49, 28, 0.14);
  border-top: 0;
  box-shadow: 0 14px 26px rgba(52, 33, 18, 0.12);
  backdrop-filter: none;
}

.hud-label {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
}

.map-hud h2 {
  margin: 0;
  font-family: "Bree Serif", serif;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
}

.map-hud p:last-child {
  margin: 8px 0 0;
  line-height: 1.45;
}

.page-credit {
  margin: 14px 0 0;
  text-align: center;
  color: rgba(47, 33, 21, 0.78);
  font-size: 0.9rem;
}

.heart-icon {
  color: #a82422;
  font-size: 1rem;
  vertical-align: middle;
}

.credit-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.credit-link:hover,
.credit-link:focus-visible {
  color: var(--forest);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .page-shell {
    width: calc(100vw - 12px);
    padding-top: 10px;
  }

  .map-hud {
    padding: 14px 16px;
  }
}
