*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0a0a;
  --surface:   #141414;
  --border:    #2a2a2a;
  --cream:     #f0ead6;
  --cream-dim: #c8c0a8;
  --sunset-1:  #e8651a;
  --sunset-2:  #c0392b;
  --sunset-3:  #7b2d8b;
  --ve-yellow: #ffcc00;
  --ve-blue:   #00247d;
  --ve-red:    #cf142b;
  --radius:    14px;
  --font:      system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --page-max:  36rem;
  --page-pad:  1.15rem;
  --page-gap:  1.5rem;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--cream);
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 101, 26, .18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(123, 45, 139, .12) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding:
    clamp(1.5rem, 4vw, 3.25rem)
    max(var(--page-pad), env(safe-area-inset-right))
    max(3rem, env(safe-area-inset-bottom))
    max(var(--page-pad), env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--page-gap);
  min-width: 0;
}

img.js-img {
  background: #161616;
  filter: blur(16px);
  transform: scale(1.06);
  opacity: .8;
  transition: filter .4s ease, transform .4s ease, opacity .4s ease;
}
img.js-img.is-ready {
  filter: none;
  transform: none;
  opacity: 1;
}

.about,
.map-places,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
  align-self: flex-end;
  margin: -0.5rem 0 0;
}

.lang-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--cream-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.7);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-switch__link:hover {
  color: var(--cream);
  border-color: rgba(232, 101, 26, 0.55);
}

.lang-switch__link.is-active {
  color: var(--cream);
  border-color: var(--sunset-1);
  background: rgba(232, 101, 26, 0.18);
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  width: 100%;
}

.profile__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  width: 100%;
}

.profile__logo {
  width: min(100%, 240px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(232, 101, 26, .25));
  transition: transform .3s ease;
}

.profile__logo:hover { transform: scale(1.03); }

.profile__title {
  font-size: clamp(1.6rem, 5.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.1;
  overflow-wrap: break-word;
}

.profile__intro {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--cream);
  letter-spacing: .01em;
  line-height: 1.4;
  max-width: 36rem;
}

.profile__tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 600;
  color: var(--cream);
  max-width: 36rem;
  line-height: 1.4;
}

.profile__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  max-width: 100%;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .35rem .85rem;
  overflow-wrap: break-word;
}

.profile__badge i { color: var(--sunset-1); font-size: .85rem; }

.profile__vehicles {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
}

.profile__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.flag-stripe {
  display: flex;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  margin-top: .25rem;
}

.flag-stripe span { flex: 1; }
.flag-stripe span:nth-child(1) { background: var(--ve-yellow); }
.flag-stripe span:nth-child(2) { background: var(--ve-blue); }
.flag-stripe span:nth-child(3) { background: var(--ve-red); }

/* ── Último video YouTube ─────────────────────────────────── */
.latest-video {
  width: 100%;
}

.latest-video__link {
  display: block;
  text-decoration: none;
  color: var(--cream);
  background: linear-gradient(135deg, rgba(232, 101, 26, .15), rgba(123, 45, 139, .12));
  border: 1px solid var(--sunset-1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}

.latest-video__link:hover,
.latest-video__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 101, 26, .25);
  outline: none;
}

.latest-video__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--sunset-1);
  padding: .4rem .75rem;
}

.latest-video__badge i { font-size: .85rem; }

.latest-video__body {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  min-width: 0;
}

.latest-video__thumb {
  width: 88px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--surface);
}

.latest-video__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.latest-video__label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sunset-1);
}

.latest-video__title {
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest-video__date {
  font-size: .68rem;
  color: var(--cream-dim);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.latest-video__arrow {
  font-size: 1.4rem;
  color: #ff0000;
  opacity: .85;
  flex-shrink: 0;
}

.latest-video__link--pulse {
  animation: video-pulse 2.5s ease-in-out infinite;
}

@keyframes video-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 101, 26, .45); }
  50% { box-shadow: 0 0 0 8px rgba(232, 101, 26, 0); }
}

.latest-video__reopen {
  display: block;
  width: 100%;
  margin-top: .5rem;
  padding: .45rem;
  background: transparent;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--cream-dim);
  font-size: .72rem;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.latest-video__reopen:hover {
  color: var(--cream);
  border-color: var(--sunset-1);
}

/* ── Modal último video ───────────────────────────────────── */
.video-modal[hidden],
.map-tooltip[hidden] {
  display: none !important;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: modal-in .35s ease;
}

@keyframes modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .82);
  border: none;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.video-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: min(88vh, 740px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--sunset-1);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
  box-shadow: 0 24px 64px rgba(232, 101, 26, .3);
  animation: panel-in .4s cubic-bezier(.34, 1.4, .64, 1);
}

.video-modal__panel--hub {
  max-width: 460px;
}

.video-modal__panel--state {
  max-width: 520px;
}

.state-modal__places {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin: .85rem 0 1rem;
}

.state-modal__place {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .55rem;
  color: inherit;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}

.state-modal__place:hover,
.state-modal__place:focus-visible {
  border-color: var(--sunset-1);
  outline: none;
  transform: translateY(-1px);
}

.state-modal__place img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: #161616;
}

.state-modal__place-body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.state-modal__place-body strong {
  font-size: .92rem;
  color: var(--cream);
}

.state-modal__place-body em {
  font-style: normal;
  font-size: .72rem;
  color: var(--sunset-1);
  font-weight: 600;
}

.state-modal__place-body p {
  font-size: .78rem;
  color: var(--cream-dim);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.state-modal__videos {
  margin-bottom: .85rem;
}

.state-modal__video-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-top: .45rem;
}

.state-modal__video-list a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--cream);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
}

.state-modal__video-list a:hover {
  color: var(--sunset-1);
}

@keyframes panel-in {
  from { opacity: 0; transform: scale(.92) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.video-modal__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--cream-dim);
  cursor: pointer;
  font-size: .85rem;
  transition: color .2s, border-color .2s;
}

.video-modal__close:hover {
  color: var(--cream);
  border-color: var(--sunset-1);
}

.video-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--sunset-1);
  border-radius: 999px;
  padding: .3rem .7rem;
  margin-bottom: .85rem;
}

.video-modal__thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: .85rem;
  background: var(--bg);
}

.video-modal__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cream);
  margin-bottom: .5rem;
  padding-right: 1.5rem;
}

.video-modal__date {
  font-size: .78rem;
  color: var(--cream-dim);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.video-modal__date[data-place-locality] {
  margin-bottom: .35rem;
}

.video-modal__date--published {
  margin-bottom: .85rem;
}

.video-modal__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  padding: .95rem 1.25rem;
  background: #ff0000;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transition: transform .15s, box-shadow .2s;
  margin-bottom: .6rem;
}

.video-modal__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, .35);
}

.video-modal__cta i { font-size: 1.2rem; }

.video-modal__skip {
  display: block;
  width: 100%;
  padding: .5rem;
  background: transparent;
  border: none;
  color: var(--cream-dim);
  font-size: .8rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.video-modal__skip:hover { color: var(--cream); }

.follow {
  display: contents;
}

.social-nav {
  width: 100%;
}

.links {
  list-style: none;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

.links li { min-width: 0; }

.link-btn {
  display: flex;
  align-items: center;
  gap: .85rem;
  width: 100%;
  min-width: 0;
  padding: .95rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.link-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sunset-1), var(--sunset-3));
  opacity: 0;
  transition: opacity .25s;
}

.link-btn:hover,
.link-btn:focus-visible {
  border-color: var(--sunset-1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 101, 26, .2);
  outline: none;
}

.link-btn:hover::before,
.link-btn:focus-visible::before { opacity: .08; }

.link-btn:active { transform: translateY(0); }

.link-btn__icon {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.link-btn__text {
  position: relative;
  z-index: 1;
  flex: 1;
}

.link-btn__arrow {
  position: relative;
  z-index: 1;
  font-size: .75rem;
  opacity: .4;
  transition: opacity .2s, transform .2s;
}

.link-btn:hover .link-btn__arrow,
.link-btn:focus-visible .link-btn__arrow {
  opacity: .8;
  transform: translateX(3px);
}

.about {
  width: 100%;
  text-align: center;
  font-size: .85rem;
  color: var(--cream-dim);
  line-height: 1.65;
  padding: 0;
  overflow-wrap: break-word;
}

.about__heading {
  font-size: .95rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: .03em;
  margin-bottom: .65rem;
  text-transform: uppercase;
}

.about strong { color: var(--cream); font-weight: 600; }

.about p + p { margin-top: .75rem; }

.gear {
  margin-top: 1.35rem;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--sunset-1);
  border-radius: 14px;
  padding: 1.1rem .95rem 1.05rem;
  box-shadow: 0 0 0 1px rgba(232, 101, 26, .18), 0 16px 40px rgba(232, 101, 26, .12);
}
.gear__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sunset-1);
  margin-bottom: .45rem;
}
.gear__intro {
  text-align: center;
  font-size: .8rem;
  color: var(--cream-dim);
  line-height: 1.55;
  margin-bottom: .95rem;
}
.gear__groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: .95rem;
}
.gear__group-title {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: .55rem;
}
.gear__group-title i { color: var(--sunset-1); }
.gear__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.gear__item {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .7rem .75rem;
}
.gear__icon {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(232, 101, 26, .12);
  color: var(--sunset-1);
  font-size: .95rem;
}
.gear__body {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.gear__name {
  font-size: .88rem;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: .02em;
}
.gear__role {
  font-size: .75rem;
  color: var(--cream-dim);
  line-height: 1.5;
}

/* ── Mapa Venezuela ───────────────────────────────────────── */
.map-section {
  width: 100%;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem .9rem 1.25rem;
}

.map-section__header {
  text-align: center;
  margin-bottom: 1rem;
}

.map-section__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.map-section__title i { color: var(--sunset-1); }

.map-section__count {
  font-size: .8rem;
  color: var(--cream-dim);
  margin-top: .25rem;
}

.map-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #101010;
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.map-wrapper.is-panning {
  cursor: grabbing;
}

.map-viewport {
  transform-origin: 0 0;
  will-change: transform;
}

.map-zoom {
  position: absolute;
  top: .55rem;
  right: .55rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  z-index: 4;
}

.map-zoom__btn {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(20, 20, 20, .88);
  color: var(--cream);
  cursor: pointer;
  font-size: .75rem;
  transition: border-color .2s, background .2s, color .2s;
}

.map-zoom__btn:hover,
.map-zoom__btn:focus-visible {
  border-color: var(--sunset-1);
  color: var(--cream);
  outline: none;
}

.ve-map {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 960 / 718;
}

.ve-map__state {
  fill: #1e1e1e;
  stroke: #333;
  stroke-width: .5;
  transition: fill .25s, stroke .25s, filter .25s;
  cursor: pointer;
  outline: none;
}

.ve-map__state--claim {
  cursor: default;
}

.ve-map__state--traveled {
  fill: rgba(232, 101, 26, .28);
  stroke: rgba(232, 101, 26, .75);
}

.ve-map__state--visited {
  fill: rgba(232, 101, 26, .55);
  stroke: var(--sunset-1);
}

.ve-map__state--home {
  fill: rgba(232, 101, 26, .85);
  stroke: var(--cream);
  stroke-width: 1;
}

.ve-map__state--claim {
  fill: url(#esequibo-stripes);
  stroke: var(--sunset-1);
  stroke-width: 1;
  stroke-dasharray: 4 2;
}

.ve-map__state--mourning {
  fill: url(#mourning-hatch);
  stroke: #9a9a9a;
  stroke-width: 1.15;
}

.ve-map__state--active,
.ve-map__state:focus-visible {
  filter: brightness(1.3);
  stroke: var(--cream);
  stroke-width: 1.2;
}

.ve-map__home-marker {
  cursor: default;
  outline: none;
  pointer-events: auto;
}

.ve-map__home-hit {
  fill: transparent;
  pointer-events: all;
}

.ve-map__home-pulse {
  fill: none;
  stroke: var(--sunset-1);
  stroke-width: 1.5;
  opacity: .55;
  animation: pulse 2s ease-out infinite;
}

.ve-map__home-pin {
  transform-origin: 0 0;
  animation: home-pin-bob 2.6s ease-in-out infinite;
}

.ve-map__home-pin-body {
  fill: var(--sunset-1);
  stroke: var(--cream);
  stroke-width: 1.35;
  stroke-linejoin: round;
}

.ve-map__home-pin-hole {
  fill: var(--cream);
  stroke: none;
}

.ve-map__home-marker:focus-visible .ve-map__home-pin-body {
  stroke: #fff;
  stroke-width: 1.7;
}

@keyframes home-pin-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2.4px); }
}

.ve-map__mourning-ribbon {
  cursor: help;
  outline: none;
  pointer-events: auto;
}

.ve-map__mourning-hit {
  fill: #000;
  fill-opacity: 0;
  pointer-events: all;
}

.ve-map__mourning-ribbon path {
  fill: #0a0a0a;
  stroke: #d8d0bc;
  stroke-width: .55;
  stroke-linejoin: round;
  pointer-events: all;
}

.ve-map__mourning-ribbon:focus-visible path {
  stroke: #fff;
}

.ve-map__epicenter-tip {
  opacity: 0;
  transition: opacity .15s ease;
}

.ve-map__mourning-ribbon:hover .ve-map__epicenter-tip,
.ve-map__mourning-ribbon:focus-visible .ve-map__epicenter-tip {
  opacity: 1;
}

.ve-map__epicenter-tip-bg {
  fill: rgba(10, 10, 10, .94);
  stroke: #cfc7b0;
  stroke-width: .7;
}

.ve-map__epicenter-tip-title,
.ve-map__epicenter-tip-place {
  font-family: var(--font);
  fill: var(--cream);
}

.ve-map__epicenter-tip-title {
  font-size: 7.2px;
  font-weight: 700;
}

.ve-map__epicenter-tip-place {
  font-size: 6.2px;
  fill: #cfc7b0;
}

.ve-map__mourning-ribbon-fold {
  fill: #3a3a3a !important;
  stroke: none !important;
}

@keyframes pulse {
  0% { r: 6; opacity: .6; }
  100% { r: 16; opacity: 0; }
}

.map-tooltip {
  position: absolute;
  bottom: .5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 10, .92);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .4rem .75rem;
  font-size: .8rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
}

.map-tooltip--place {
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  white-space: normal;
  text-align: center;
  max-width: 90%;
  border-color: var(--sunset-1);
}

.map-tooltip__badge {
  font-size: .7rem;
  color: var(--sunset-1);
  font-weight: 600;
}

.map-tooltip__pending {
  font-size: .7rem;
  color: var(--cream-dim);
}

.map-tooltip__claim {
  font-size: .7rem;
  color: var(--sunset-1);
  font-weight: 600;
}

.map-tooltip__mourning {
  font-size: .7rem;
  color: #cfc7b0;
  font-weight: 600;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.25rem;
  margin-top: 1rem;
  font-size: .72rem;
  color: var(--cream-dim);
}

.map-legend__item {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.map-legend__swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

.map-legend__swatch--traveled { background: rgba(232, 101, 26, .28); border-color: rgba(232, 101, 26, .75); }
.map-legend__swatch--visited { background: rgba(232, 101, 26, .55); border-color: var(--sunset-1); }
.map-legend__swatch--home {
  width: 9px;
  height: 9px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--sunset-1);
  border-color: var(--cream);
}
.map-legend__swatch--claim {
  background: repeating-linear-gradient(
    45deg,
    rgba(232, 101, 26, .35),
    rgba(232, 101, 26, .35) 2px,
    rgba(232, 101, 26, .12) 2px,
    rgba(232, 101, 26, .12) 4px
  );
  border-color: var(--sunset-1);
}
.map-legend__swatch--mourning {
  background: repeating-linear-gradient(
    -45deg,
    #161616,
    #161616 2px,
    #2c2c2c 2px,
    #2c2c2c 4px
  );
  border-color: #9a9a9a;
}
.map-legend__swatch--pending { background: #1e1e1e; }
.map-legend__swatch--pin {
  background: var(--cream);
  border-color: var(--sunset-1);
  border-radius: 50%;
}

.ve-map__pin {
  cursor: pointer;
  outline: none;
}
.ve-map__pin-hit {
  fill: transparent;
}
.ve-map__pin-dot {
  fill: var(--cream);
  stroke: var(--sunset-1);
  stroke-width: 1.8;
}
.ve-map__pin-pulse {
  fill: none;
  stroke: var(--sunset-1);
  stroke-width: 1.4;
  opacity: .55;
  animation: pulse 2s ease-out infinite;
}
.ve-map__pin-ring {
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.3;
  opacity: .85;
}
.ve-map__pin:hover .ve-map__pin-dot,
.ve-map__pin:focus-visible .ve-map__pin-dot {
  fill: var(--sunset-1);
  stroke: var(--cream);
}

.ve-map__pin--mourning .ve-map__pin-dot {
  fill: #111;
  stroke: #d8d0bc;
}

.ve-map__pin--mourning .ve-map__pin-pulse {
  stroke: #9a9a9a;
  animation: none;
  opacity: .7;
}

.ve-map__pin--mourning:hover .ve-map__pin-dot,
.ve-map__pin--mourning:focus-visible .ve-map__pin-dot {
  fill: #d8d0bc;
  stroke: #111;
}

.map-places {
  width: 100%;
}

.place-cards {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}
.place-cards__group {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.place-cards__group[hidden] { display: none !important; }
.place-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.place-card--active {
  border-color: var(--sunset-1);
  box-shadow: 0 0 0 1px var(--sunset-1);
}
.place-card--mourning {
  border-color: #4a4a4a;
}
.place-card--mourning.place-card--active {
  border-color: #cfc7b0;
  box-shadow: 0 0 0 1px #cfc7b0;
}
.place-card__media {
  display: block;
}
.place-card__media img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.place-card__body {
  padding: .75rem .85rem .9rem;
}
.place-card__title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: .15rem;
  overflow-wrap: break-word;
}
.place-card__meta {
  font-size: .68rem;
  color: var(--sunset-1);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .45rem;
}
.place-card__text {
  font-size: .78rem;
  color: var(--cream-dim);
  line-height: 1.5;
  margin-bottom: .65rem;
}
.place-card__video {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #ff6b6b;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}
.place-card__video:hover { color: #ff0000; }

.place-modal__text {
  font-size: .85rem;
  color: var(--cream-dim);
  line-height: 1.55;
  margin: 0 0 1rem;
}

.place-modal__back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0 2.2rem .7rem 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sunset-1);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.place-modal__back[hidden] { display: none !important; }
.place-modal__back:hover { color: var(--cream); }

.place-hub__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sunset-1);
  margin: 0 0 .55rem;
}
.place-hub__spots {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: 0;
}
.place-hub__spot {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  text-align: left;
  padding: .4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--cream);
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.place-hub__spot:hover,
.place-hub__spot:focus-visible {
  border-color: var(--sunset-1);
  outline: none;
  transform: translateY(-1px);
}
.place-hub__spot img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.place-hub__spot-body {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.place-hub__spot-body strong {
  font-size: .85rem;
}
.place-hub__spot-body em {
  font-style: normal;
  font-size: .72rem;
  color: var(--cream-dim);
}

.place-card--nested {
  margin-left: 1rem;
  border-style: dashed;
}

.place-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: 1rem;
}
.place-pagination[hidden] { display: none !important; }
.place-pagination__status {
  width: 100%;
  text-align: center;
  font-size: .72rem;
  color: var(--cream-dim);
  letter-spacing: .04em;
  margin-bottom: .15rem;
}
.place-pagination__btn {
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 .65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--cream);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}
.place-pagination__btn:hover,
.place-pagination__btn:focus-visible {
  border-color: var(--sunset-1);
  outline: none;
}
.place-pagination__btn.is-active {
  background: var(--sunset-1);
  border-color: var(--sunset-1);
  color: #1a0d06;
}
.place-pagination__btn:disabled {
  opacity: .4;
  cursor: default;
}

.map-place-pop[hidden] { display: none !important; }

.states-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .6rem;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.states-list__item {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  color: var(--cream-dim);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .25rem .6rem;
}

.states-list__item i { color: var(--sunset-1); font-size: .65rem; }

.states-list__home {
  font-size: .65rem;
  color: var(--sunset-1);
  font-weight: 600;
  margin-left: .15rem;
}

.footer {
  width: 100%;
  text-align: center;
  font-size: .75rem;
  color: rgba(200, 192, 168, .45);
  padding-top: .5rem;
}

@media (max-width: 379px) {
  :root {
    --page-pad: .9rem;
    --page-gap: 1.25rem;
  }

  .profile__title {
    letter-spacing: .08em;
  }

  .latest-video__arrow { display: none; }
  .latest-video__thumb { width: 72px; height: 42px; }
  .place-card--nested { margin-left: .5rem; }
}

@media (min-width: 480px) {
  :root {
    --page-pad: 1.35rem;
    --page-gap: 1.85rem;
  }

  .profile__logo { width: min(100%, 280px); }
  .latest-video__thumb { width: 100px; height: 56px; }
  .latest-video__title { font-size: .9rem; }
  .link-btn { padding: 1.05rem 1.35rem; font-size: 1.05rem; }
  .map-section { padding: 1.25rem 1.1rem 1.35rem; }
}

@media (min-width: 640px) {
  :root {
    --page-max: 46rem;
    --page-pad: 1.5rem;
  }

  .profile__vehicles {
    flex-direction: row;
    justify-content: center;
  }

  .gear__groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .link-btn__arrow { display: none; }
}

@media (min-width: 768px) {
  :root {
    --page-max: 58rem;
    --page-pad: 1.75rem;
    --page-gap: 2.1rem;
  }

  .profile__logo { width: min(100%, 300px); }
  .profile__title { font-size: clamp(2rem, 4vw, 2.5rem); }
  .profile__tagline { font-size: 1rem; }

  .map-section { padding: 1.4rem 1.35rem 1.5rem; }

  .place-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .place-card--nested { margin-left: .55rem; }

  .about { font-size: .9rem; }

  .video-modal__panel { max-width: 480px; }
}

@media (min-width: 900px) {
  :root {
    --page-max: 64rem;
    --page-pad: 2rem;
  }

  .profile {
    display: grid;
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    align-items: center;
    text-align: left;
    gap: 1.5rem 2.25rem;
  }

  .profile__copy {
    align-items: flex-start;
    text-align: left;
    gap: .8rem;
  }

  .profile__logo { width: min(100%, 260px); }
  .profile__vehicles { justify-content: flex-start; }
}

@media (min-width: 1100px) {
  :root {
    --page-max: 74rem;
    --page-pad: 2.4rem;
    --page-gap: 2.4rem;
  }

  .lang-switch { margin: 0; }

  .profile {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 1.75rem 2.75rem;
    padding: .35rem 0 .15rem;
  }

  .profile__logo { width: min(100%, 320px); }
  .profile__title { font-size: clamp(2.15rem, 3vw, 2.75rem); }
  .profile__tagline { font-size: 1.05rem; }

  .map-section {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .88fr);
    grid-template-areas:
      "header header"
      "map places"
      "legend places";
    gap: 1rem 1.5rem;
    align-items: start;
    padding: 1.5rem;
  }

  .map-section:not(:has(.map-places)) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "header"
      "map"
      "legend";
  }

  .map-section__header {
    grid-area: header;
    margin-bottom: 0;
    text-align: left;
  }

  .map-section__title {
    font-size: 1.2rem;
    justify-content: flex-start;
  }

  .map-wrapper { grid-area: map; }

  .map-legend {
    grid-area: legend;
    margin-top: 0;
    justify-content: flex-start;
  }

  .map-places {
    grid-area: places;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: min(72vh, 740px);
  }

  .place-cards {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: .35rem;
    gap: .85rem;
  }

  .place-pagination {
    margin-top: .85rem;
    flex-shrink: 0;
  }

  .place-card__media img { height: 150px; }

  .follow {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, .9fr);
    gap: 1.35rem;
    width: 100%;
    align-items: stretch;
  }

  .follow:not(:has(.latest-video)) {
    grid-template-columns: minmax(0, 1fr);
  }

  .latest-video,
  .social-nav { min-width: 0; }

  .latest-video {
    display: flex;
    flex-direction: column;
  }

  .latest-video__link {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .latest-video__body { flex: 1; }
  .latest-video__thumb { width: 168px; height: 94px; }
  .latest-video__title { font-size: 1.08rem; }

  .follow .links {
    grid-template-columns: 1fr;
    height: 100%;
  }

  .follow .link-btn__arrow { display: inline; }

  .about {
    text-align: left;
    font-size: .95rem;
  }

  .about__heading {
    text-align: left;
    font-size: 1.1rem;
  }

  .gear { padding: 1.35rem 1.25rem 1.25rem; }

  .gear__heading,
  .gear__intro {
    justify-content: flex-start;
    text-align: left;
  }

  .footer { text-align: left; }

  .video-modal__panel { max-width: 540px; }
  .video-modal__panel--hub { max-width: 560px; }
}

@media (min-width: 1280px) {
  :root {
    --page-max: 78rem;
    --page-pad: 2.75rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  :root { --page-gap: 1.1rem; }

  .page {
    padding-top: 1.1rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  .profile__logo { width: min(100%, 160px); }
}

@media (pointer: coarse) {
  .map-zoom__btn {
    width: 2.6rem;
    height: 2.6rem;
    font-size: .85rem;
  }

  .lang-switch__link {
    min-width: 2.6rem;
    min-height: 2.4rem;
  }

  .place-pagination__btn {
    min-width: 2.5rem;
    height: 2.5rem;
  }
}

@media (hover: none) {
  .profile__logo:hover,
  .link-btn:hover,
  .link-btn:focus-visible,
  .latest-video__link:hover,
  .latest-video__link:focus-visible,
  .place-hub__spot:hover,
  .place-hub__spot:focus-visible {
    transform: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .ve-map__home-pulse { animation: none; opacity: 0; }
  .ve-map__home-pin { animation: none; }
  .latest-video__link--pulse { animation: none; }
  .video-modal, .video-modal__panel { animation: none; }
  img.js-img { filter: none; transform: none; opacity: 1; }
}
