html,
body {
  height: 100%;
}

:root {
  --moon-left: clamp(18px, 3.2vw, 52px);
  --moon-top: clamp(16px, 3vw, 44px);
  --moon-size: clamp(96px, 11vw, 160px);
  --page-inline-pad: clamp(14px, 2.4vw, 28px);
  --moon-breadcrumb-gap: 18px;
  --travels-sign-size: clamp(26px, 3.8vw, 42px);
  --page-max: 1340px;
  --stage-media-height: clamp(320px, 40vh, 420px);
  --glass-bg: rgba(6, 12, 26, 0.58);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text-main: rgba(244, 249, 255, 0.94);
  --text-muted: rgba(220, 233, 248, 0.78);
  --accent-salmon: #ff8f7a;
  --accent-gold: #ffd389;
  --accent-sky: #7bc7ff;
  --accent-ice: #dff6ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #061022;
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 68% 18%, rgba(59, 112, 197, 0.26) 0%, rgba(59, 112, 197, 0) 42%),
    radial-gradient(circle at 18% 76%, rgba(24, 64, 130, 0.2) 0%, rgba(24, 64, 130, 0) 46%),
    linear-gradient(180deg, #031733 0%, #06254a 48%, #031a36 100%);
}

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#moon {
  position: fixed;
  left: var(--moon-left);
  top: var(--moon-top);
  width: var(--moon-size);
  height: var(--moon-size);
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
  box-shadow:
    0 0 26px rgba(177, 205, 255, 0.2),
    0 0 64px rgba(128, 174, 245, 0.12);
  background:
    radial-gradient(circle at 28% 26%, rgba(255, 255, 255, 0.94) 0%, rgba(236, 244, 255, 0.9) 36%, rgba(198, 212, 238, 0.84) 62%, rgba(198, 212, 238, 0.12) 80%, rgba(198, 212, 238, 0) 100%),
    radial-gradient(circle at 70% 70%, rgba(112, 156, 220, 0.18) 0%, rgba(112, 156, 220, 0) 60%),
    radial-gradient(circle at 40% 55%, rgba(20, 35, 60, 0.12) 0%, rgba(20, 35, 60, 0) 55%);
}

#moon::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  opacity: 0.22;
  background:
    radial-gradient(circle at 22% 30%, rgba(120, 140, 170, 0.55) 0 18%, rgba(120, 140, 170, 0) 20%),
    radial-gradient(circle at 62% 28%, rgba(120, 140, 170, 0.48) 0 14%, rgba(120, 140, 170, 0) 16%),
    radial-gradient(circle at 46% 62%, rgba(120, 140, 170, 0.45) 0 16%, rgba(120, 140, 170, 0) 18%),
    radial-gradient(circle at 72% 58%, rgba(120, 140, 170, 0.4) 0 12%, rgba(120, 140, 170, 0) 14%),
    radial-gradient(circle at 30% 74%, rgba(120, 140, 170, 0.38) 0 10%, rgba(120, 140, 170, 0) 12%);
}

.track-eye.moon-eye {
  position: absolute;
  top: 50%;
  width: 22%;
  height: 22%;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 38% 38%, rgba(12, 22, 40, 0.66), rgba(10, 18, 34, 0.92));
  box-shadow: inset 0 0 6px rgba(212, 229, 255, 0.12), 0 0 10px rgba(0, 0, 0, 0.25);
}

.moon-eye-left {
  left: 30%;
}

.moon-eye-right {
  right: 30%;
}

.moon-pupil {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, #bfe2ff 0 22%, #11243b 26% 100%);
  transform: translate(-50%, -50%);
  transition: transform 40ms linear;
}

.travels-site {
  position: relative;
  z-index: 4;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: calc(var(--moon-top) + 2px) var(--page-inline-pad) 16px;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
}

.travels-topbar {
  position: relative;
  min-height: var(--travels-sign-size);
  margin-bottom: 2px;
}

.travels-header-stack {
  width: 100%;
  display: flex;
  justify-content: center;
}

.travels-sign {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  text-align: center;
  font-size: var(--travels-sign-size);
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 800;
  white-space: nowrap;
  color: #c8f2ff;
  text-transform: uppercase;
  text-shadow:
    0 0 6px rgba(132, 224, 255, 0.85),
    0 0 16px rgba(88, 198, 255, 0.82),
    0 0 34px rgba(48, 148, 255, 0.68),
    0 0 56px rgba(24, 86, 212, 0.42);
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 10px;
  line-height: 1;
}

.breadcrumbs a {
  color: #92ddff;
  text-underline-offset: 3px;
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.62);
}

.section-label,
.hero-kicker {
  margin: 0;
  color: rgba(205, 230, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 9px;
  font-weight: 700;
}

.travels-hero {
  padding: clamp(22px, 3.2vw, 34px);
  padding-left: clamp(118px, 12vw, 170px);
}

.hero-copy h1 {
  margin: 8px 0 0;
  max-width: 14ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-summary {
  margin: 18px 0 0;
  max-width: 58ch;
  color: var(--text-muted);
  font-size: clamp(14px, 1.45vw, 17px);
  line-height: 1.6;
}

.hero-badges {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span,
.stage-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(220, 239, 255, 0.18);
  background: rgba(210, 235, 255, 0.08);
  color: rgba(244, 249, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
}

.travel-shell {
  min-height: 0;
  display: grid;
  align-content: center;
}

.trip-stage,
.travels-footer {
  padding: 12px;
}

.trip-stage {
  display: grid;
  gap: 6px;
  align-self: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.trip-carousel {
  display: block;
  margin-bottom: 12px;
}

.trip-summary {
  margin: 6px 0 0;
  color: var(--text-muted);
  line-height: 1.4;
  font-size: 11px;
}

.trip-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-top: 4px;
}

.trip-strip-nav {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 18, 36, 0.76);
  color: transparent;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.trip-strip-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.94);
  transform: translate(-50%, -50%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2.25L8.5 6L4 9.75' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2.25L8.5 6L4 9.75' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
}

.trip-strip-prev::before {
  transform: translate(-50%, -50%) scaleX(-1);
}

.trip-list {
  flex: 0 1 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 200px);
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 2px;
}

.trip-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.trip-carousel.is-positioning {
  visibility: hidden;
}

.trip-list.is-centered {
  justify-content: center;
}

.trip-card {
  width: 100%;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(218, 235, 255, 0.12);
  background: rgba(8, 18, 36, 0.52);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease;
  scroll-snap-align: center;
  -webkit-tap-highlight-color: transparent;
}

.trip-card.is-active {
  border-color: rgba(255, 211, 137, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 143, 122, 0.22), rgba(123, 199, 255, 0.14)),
    rgba(8, 18, 36, 0.76);
  transform: translateY(-2px);
}

.trip-card-image {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.trip-card-copy {
  display: grid;
  gap: 4px;
}

.trip-card-title {
  font-size: 12px;
  font-weight: 700;
}

.trip-card-date,
.trip-card-detail {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.35;
}

.stage-heading h2 {
  margin: 0;
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.08;
}

.stage-top {
  display: block;
}

.stage-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.88fr);
  gap: 12px;
  align-items: stretch;
}

.photo-panel,
.map-panel {
  min-width: 0;
}

.photo-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  min-height: var(--stage-media-height);
  height: var(--stage-media-height);
  border-radius: 18px;
  border: 1px solid rgba(235, 245, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(6, 12, 26, 0.6);
}

.hero-photo-button {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: var(--stage-media-height);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  touch-action: pan-y;
}

.hero-image,
.hero-image-preview {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: var(--stage-media-height);
  display: block;
  object-fit: contain;
  object-position: center center;
  touch-action: pan-y;
}

.hero-image-preview {
  pointer-events: none;
  opacity: 0;
}

.hero-image-preview[hidden] {
  display: none !important;
}

.photo-count {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: rgba(7, 18, 38, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.94);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 10px;
}

.photo-count {
  right: 14px;
  bottom: 14px;
}

.photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(7, 18, 38, 0.82);
  color: transparent;
  cursor: pointer;
}

.photo-nav::before,
.travel-lightbox-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.94);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2.25L8.5 6L4 9.75' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 2.25L8.5 6L4 9.75' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
}

.photo-prev,
.travel-lightbox-prev {
  left: 14px;
}

.photo-prev::before,
.travel-lightbox-prev::before {
  transform: translate(-50%, -50%) scaleX(-1);
}

.photo-next,
.travel-lightbox-next {
  right: 14px;
}

.caption-card {
  padding: 8px 12px;
  border-radius: 18px;
  border: 1px solid rgba(221, 237, 255, 0.1);
  background: rgba(8, 18, 36, 0.54);
}

.caption-location {
  margin: 0;
  color: var(--accent-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.map-panel {
  position: relative;
  display: block;
  min-height: 0;
}

.map-panel-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(calc(-100% - 6px));
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  padding: 0 2px;
  pointer-events: none;
}

.map-panel-header h3 {
  margin: 0;
  font-size: 15px;
}

.map-card {
  height: 100%;
}

.map-frame {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(221, 237, 255, 0.1);
  background: rgba(8, 18, 36, 0.54);
}

.map-frame.is-unavailable .travel-map {
  opacity: 0.16;
}

.travel-map {
  width: 100%;
  min-height: 0;
  height: 100%;
}

.map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(4, 11, 24, 0.2), rgba(4, 11, 24, 0.72));
  pointer-events: none;
}

.map-empty p,
.empty-state p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.map-empty span,
.empty-state span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  line-height: 1.5;
}

.travels-footer {
  margin-top: 0;
  text-align: center;
  align-self: end;
}

.travels-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 10px;
}

.travels-footer p + p {
  margin-top: 6px;
}

.travels-footer a {
  color: #92ddff;
  text-underline-offset: 3px;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 420px;
  text-align: center;
  padding: 24px;
}

.empty-state code {
  font-size: 11px;
}

.travel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  background: rgba(3, 8, 18, 0.84);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.travel-lightbox.is-open {
  display: grid;
}

.travel-lightbox-image {
  max-width: min(1220px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.52);
  cursor: pointer;
  touch-action: pinch-zoom;
  grid-area: 1 / 1;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.travel-lightbox-peek-image {
  pointer-events: none;
  box-shadow: none;
  opacity: 0;
}

.travel-lightbox.is-zoomed .travel-lightbox-image {
  cursor: pointer;
}

.travel-lightbox-peek-image[hidden] {
  display: none !important;
}

.travel-lightbox-close,
.travel-lightbox-nav {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 16, 32, 0.76);
  color: rgba(255, 255, 255, 0.94);
  cursor: pointer;
}

.travel-lightbox-close {
  top: clamp(12px, 2vw, 20px);
  right: clamp(12px, 2vw, 20px);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
}

.travel-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: transparent;
}

.travel-lightbox-indicator {
  position: absolute;
  left: 50%;
  bottom: clamp(10px, 2.2vw, 20px);
  transform: translateX(-50%);
  z-index: 2;
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-items: center;
  gap: 2px 8px;
  max-width: min(calc(100vw - 24px), 780px);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(8, 16, 32, 0.72);
  color: rgba(255, 255, 255, 0.94);
  font-size: 10px;
  font-weight: 600;
}

.travel-lightbox-indicator[hidden] {
  display: none !important;
}

.travel-lightbox-indicator.is-stacked {
  grid-auto-flow: row;
}

.travel-lightbox-indicator-title {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.travel-lightbox-indicator-count {
  white-space: nowrap;
  justify-self: end;
}

.leaflet-container {
  background: linear-gradient(180deg, #0d1f38 0%, #132f53 100%);
  font: inherit;
}

.leaflet-control-attribution {
  padding: 1px 4px !important;
  border-radius: 999px 0 0 0;
  background: rgba(8, 18, 36, 0.28) !important;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px !important;
  line-height: 1.1 !important;
  box-shadow: none !important;
}

.leaflet-control-attribution a {
  color: rgba(156, 223, 255, 0.72) !important;
}

.leaflet-tooltip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 18, 38, 0.86);
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.leaflet-tooltip-top::before {
  border-top-color: rgba(7, 18, 38, 0.86);
}

.travel-map-marker-wrap {
  background: transparent;
  border: 0;
}

.travel-map-marker {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(171, 236, 255, 0.88);
  background: #1f8fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 10px rgba(31, 143, 255, 0.58),
    0 0 18px rgba(31, 143, 255, 0.42);
  transition: transform 160ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.travel-map-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.travel-map-marker::after {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle, rgba(31, 143, 255, 0.46) 0 24%, rgba(255, 255, 255, 0) 72%);
  opacity: 0.3;
}

.travel-map-marker-wrap.is-active .travel-map-marker {
  transform: scale(1.28);
  border-color: rgba(255, 184, 184, 0.94);
  background: #ff355e;
  box-shadow:
    0 0 0 2px rgba(255, 53, 94, 0.22),
    0 0 16px rgba(255, 53, 94, 0.68),
    0 0 28px rgba(255, 53, 94, 0.5);
}

.travel-map-marker-wrap.is-active .travel-map-marker::after {
  animation: travelMarkerPulse 1.7s ease-out infinite;
  opacity: 0.9;
  background: radial-gradient(circle, rgba(255, 53, 94, 0.58) 0 24%, rgba(255, 255, 255, 0) 72%);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(173, 230, 255, 0.82);
  outline-offset: 2px;
}

@keyframes travelMarkerPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.72);
    opacity: 0.86;
  }

  72% {
    transform: translate(-50%, -50%) scale(1.42);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.42);
    opacity: 0;
  }
}

@media (hover: hover) {
  .trip-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
  }

  .trip-card.is-active:hover {
    border-color: rgba(255, 211, 137, 0.68);
    background:
      linear-gradient(135deg, rgba(255, 143, 122, 0.22), rgba(123, 199, 255, 0.14)),
      rgba(8, 18, 36, 0.76);
  }

  .trip-strip-nav:hover,
  .photo-nav:hover,
  .travel-lightbox-nav:hover,
  .travel-lightbox-close:hover {
    background: rgba(16, 30, 58, 0.88);
  }
}

@media (max-width: 1180px) {
  #moon {
    display: none;
  }

  .travels-site {
    padding-top: 12px;
    min-height: auto;
    display: block;
  }

  .travels-topbar {
    display: block;
    min-height: var(--travels-sign-size);
    margin-bottom: 8px;
  }

  .stage-grid {
    grid-template-columns: 1fr;
  }

  .travel-shell {
    display: block;
  }

  .trip-carousel {
    margin-bottom: 6px;
  }

  .map-panel {
    display: grid;
    gap: 8px;
  }

  .map-panel-header {
    position: static;
    transform: none;
    padding: 0;
    pointer-events: auto;
  }
}

@media (max-width: 780px) {
  :root {
    --stage-media-height: 300px;
  }

  .trip-stage,
  .travels-footer {
    padding: 16px;
  }

  .trip-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .trip-strip {
    width: 100%;
  }

  .photo-frame,
  .hero-photo-button,
  .hero-image,
  .map-frame,
  .travel-map {
    min-height: var(--stage-media-height);
    height: var(--stage-media-height);
  }

  .trip-list {
    --trip-card-width: 180px;
    --trip-list-side-pad: max(0px, calc((100% - var(--trip-card-width)) / 2));
    max-width: none;
    grid-auto-columns: minmax(180px, 180px);
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--trip-list-side-pad);
    padding-inline: var(--trip-list-side-pad);
  }
}

@media (max-width: 560px) {
  :root {
    --stage-media-height: 240px;
    --travels-sign-size: clamp(19px, 7.4vw, 26px);
  }

  .trip-summary {
    font-size: 12px;
  }

  .trip-list {
    --trip-card-width: 160px;
    width: 100%;
    grid-auto-columns: minmax(160px, 160px);
  }

  .photo-nav,
  .travel-lightbox-nav {
    width: 32px;
    height: 32px;
  }

  .photo-prev,
  .travel-lightbox-prev {
    left: 10px;
  }

  .photo-next,
  .travel-lightbox-next {
    right: 10px;
  }

  .photo-count {
    font-size: 9px;
    padding: 5px 8px;
  }

  .travel-lightbox-indicator {
    display: inline-flex;
    width: auto;
    max-width: calc(100vw - 36px);
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
  }

  .travel-lightbox-indicator-title {
    min-width: 0;
    text-align: center;
    flex: 0 1 auto;
  }

  .travel-lightbox-indicator-count {
    position: static;
    transform: none;
    flex: 0 0 auto;
  }

  .travel-lightbox-indicator.is-stacked {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
  }
}
