:root {
  --ink: #14201a;
  --ink-soft: #3d5347;
  --forest: #1b4332;
  --leaf: #40916c;
  --moss: #52b788;
  --mist: #eef3e6;
  --sand: #f7f4ea;
  --paper: #f4f1e6;
  --line: rgba(20, 32, 26, 0.14);
  --sun: #e9c46a;
  --sun-deep: #d4a017;
  --white: #fffcf5;
  --shadow: 0 20px 48px rgba(20, 32, 26, 0.12);
  --radius: 4px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Serif", Georgia, serif;
  --font-ui: "Space Grotesk", sans-serif;
  --nav-h: 68px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse at 10% -10%, rgba(82, 183, 136, 0.16), transparent 42%),
    radial-gradient(ellipse at 100% 0%, rgba(233, 196, 106, 0.18), transparent 36%),
    linear-gradient(180deg, #ebe6d6 0%, var(--paper) 28%, #f0ebe0 100%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Nav: top bar with hard edge, not soft fashion blur —— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: var(--forest);
  color: var(--sand);
  border-bottom: 3px solid var(--sun);
}

.nav.is-scrolled {
  box-shadow: 0 8px 28px rgba(20, 32, 26, 0.25);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.nav-brand span {
  color: var(--sun);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 0.15rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links a {
  opacity: 0.72;
  padding: 0.45rem 0.7rem;
  border: 1px solid transparent;
  transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  opacity: 1;
  border-color: rgba(233, 196, 106, 0.45);
  color: var(--sun);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(247, 244, 234, 0.35);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--sand);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--forest);
  color: var(--sand);
  border-bottom: 3px solid var(--sun);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
}

.nav-drawer.is-open {
  display: flex;
}

/* —— Buttons: sharp, atlas-like —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--sun);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--sun-deep);
  color: var(--white);
}

.nav .btn-primary {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 252, 245, 0.55);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(20, 32, 26, 0.12);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--sand);
}

.btn-amber {
  background: var(--leaf);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

/* —— Hero: split atlas —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--forest);
  color: var(--sand);
}

.hero-media {
  position: relative;
  min-height: 50vh;
  background:
    linear-gradient(120deg, rgba(20, 32, 26, 0.25), rgba(27, 67, 50, 0.15)),
    url("https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1800&q=80")
      center / cover no-repeat;
  animation: heroPan 26s ease-in-out infinite alternate;
}

@keyframes heroPan {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.1) translate(-2%, 1%);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 12px,
      rgba(233, 196, 106, 0.04) 12px,
      rgba(233, 196, 106, 0.04) 13px
    ),
    linear-gradient(160deg, #163528 0%, #1b4332 55%, #245c42 100%);
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  animation: riseIn 0.8s ease both;
}

.hero-brand em {
  font-style: normal;
  color: var(--sun);
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.12em;
  margin-top: 0.35rem;
  font-weight: 500;
}

.hero-headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 400;
  font-style: italic;
  max-width: 22ch;
  color: var(--moss);
  animation: riseIn 0.8s ease 0.08s both;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 38ch;
  opacity: 0.88;
  font-size: 1.02rem;
  animation: riseIn 0.8s ease 0.16s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.8s ease 0.24s both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(27, 67, 50, 0.06), transparent 40%),
    var(--mist);
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(20, 32, 26, 0.92), rgba(27, 67, 50, 0.88)),
    url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=2000&q=80")
      center / cover;
  color: var(--sand);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf);
  border-left: 3px solid var(--sun);
  padding-left: 0.65rem;
}

.section-dark .section-kicker {
  color: var(--sun);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.section-lead {
  margin: 0;
  max-width: 48ch;
  opacity: 0.78;
  font-style: italic;
}

.split-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.25rem;
}

.split-head > div {
  flex: 1;
}

/* —— Features: horizontal strips —— */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-entry {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--sand);
  isolation: isolate;
  box-shadow: 5px 5px 0 rgba(20, 32, 26, 0.15);
}

.feature-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 15%, rgba(20, 32, 26, 0.88) 100%);
  z-index: 1;
}

.feature-entry img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  filter: saturate(0.92);
}

.feature-entry:hover img {
  transform: scale(1.06);
}

.feature-entry-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}

.feature-entry h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.feature-entry p {
  margin: 0 0 1rem;
  opacity: 0.88;
  font-size: 0.95rem;
  font-style: italic;
}

/* —— Destinations —— */
.dest-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.dest-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--sand);
  box-shadow: 4px 4px 0 rgba(20, 32, 26, 0.12);
}

.dest-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dest-tile:hover img {
  transform: scale(1.05);
}

.dest-tile figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.1rem 0.9rem;
  background: linear-gradient(transparent, rgba(20, 32, 26, 0.9));
}

.dest-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.dest-tile span {
  font-size: 0.8rem;
  opacity: 0.8;
  font-style: italic;
}

/* —— Gallery —— */
.gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 0.75rem;
}

.gallery figure {
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 4px 4px 0 rgba(20, 32, 26, 0.1);
}

.gallery figure:first-child {
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery figcaption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.3rem 0.55rem;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--ink);
}

/* —— Page hero —— */
.page-hero {
  padding: calc(var(--nav-h) + 2.75rem) 0 2rem;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 24px,
      rgba(27, 67, 50, 0.04) 24px,
      rgba(27, 67, 50, 0.04) 25px
    ),
    linear-gradient(180deg, #dfe8d8 0%, var(--paper) 100%);
  border-bottom: 2px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.page-hero p {
  margin: 0;
  max-width: 54ch;
  opacity: 0.8;
  font-style: italic;
}

/* —— Workspace —— */
.workspace {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 1.25rem;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 5px 5px 0 rgba(20, 32, 26, 0.1);
}

.panel h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--sun);
  padding-bottom: 0.45rem;
}

.field {
  margin-bottom: 1.05rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input[type="text"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  outline: none;
  font-family: var(--font-ui);
  transition: border-color 0.2s, background 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
  background: var(--white);
}

.upload-zone {
  position: relative;
  border: 2px dashed rgba(27, 67, 50, 0.4);
  border-radius: var(--radius);
  background: var(--mist);
  min-height: 160px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.85rem;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}

.upload-zone:hover,
.upload-zone.has-file {
  border-color: var(--forest);
  border-style: solid;
}

.upload-zone.has-file {
  min-height: 0;
  padding: 0.65rem;
  background: #e4ecda;
}

.upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.upload-zone img.thumb {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(52vh, 420px);
  object-fit: contain;
  border-radius: 2px;
  display: block;
  margin: 0 auto;
  pointer-events: none;
  border: 1px solid var(--line);
}

.upload-zone .upload-hint {
  position: relative;
  z-index: 1;
  pointer-events: none;
  padding: 1.25rem;
  font-family: var(--font-ui);
}

.upload-zone.has-file .upload-hint {
  display: none;
}

.dest-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.dest-option {
  position: relative;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.78;
}

.dest-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest-option span {
  position: absolute;
  inset: auto 0 0;
  padding: 0.35rem;
  background: linear-gradient(transparent, rgba(20, 32, 26, 0.88));
  color: var(--sand);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: left;
}

.dest-option.is-active {
  opacity: 1;
  outline: 3px solid var(--sun);
  outline-offset: 1px;
}

.dest-option .dest-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 28px;
  height: 20px;
  padding: 0 5px;
  border-radius: 2px;
  background: var(--sun);
  color: var(--ink);
  border: 1px solid var(--ink);
  font-size: 0.65rem;
  font-style: normal;
  font-family: var(--font-ui);
  font-weight: 700;
  display: grid;
  place-items: center;
  z-index: 2;
}

.status-line {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

.synth-map-panel {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.synth-map-wrap {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfe8d8;
  min-height: 560px;
  height: min(72vh, 680px);
}

.synth-map-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.synth-map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--ink-soft);
  pointer-events: none;
  z-index: 2;
}

.synth-map-empty[hidden] {
  display: none !important;
}

.synth-map-empty strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.map-pins {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  width: 74px;
  height: 74px;
  margin: 0;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 4px 4px 0 rgba(20, 32, 26, 0.25);
  transform: translate(-50%, -100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, width 0.2s, height 0.2s;
  background: var(--white);
  z-index: 1;
}

.map-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 10px;
  height: 10px;
  background: var(--ink);
  transform: translateX(-50%) rotate(45deg);
  z-index: -1;
}

.map-pin:hover,
.map-pin:focus-visible {
  width: 124px;
  height: 154px;
  z-index: 5;
  transform: translate(-50%, -100%) translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(20, 32, 26, 0.3);
  outline: none;
}

.map-pin .pin-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.3rem 0.3rem;
  background: var(--forest);
  color: var(--sand);
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 26, 0.78);
  color: var(--sand);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  z-index: 5;
  font-family: var(--font-ui);
}

.loading-overlay[hidden] {
  display: none !important;
}

.progress-track {
  width: min(220px, 80%);
  height: 8px;
  margin: 0.85rem auto 0;
  background: rgba(255, 252, 245, 0.2);
  border: 1px solid rgba(255, 252, 245, 0.35);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--moss), var(--sun));
  transition: width 0.35s ease;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 32, 26, 0.88);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  position: relative;
  max-width: min(92vw, 520px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.35);
  background: #111;
}

.lightbox-meta {
  color: var(--sand);
  text-align: center;
  font-style: italic;
}

.lightbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--sun);
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

/* —— Routes —— */
.route-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.15rem;
  align-items: start;
}

.map-canvas-wrap {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfe8d8;
  min-height: 520px;
  box-shadow: 5px 5px 0 rgba(20, 32, 26, 0.1);
}

#routeMap {
  width: 100%;
  height: 520px;
  display: block;
}

.route-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.route-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.65rem;
  align-items: start;
  padding: 0.7rem;
  background: var(--mist);
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: grab;
}

.route-list li.is-active {
  border-color: var(--forest);
  background: #e4ecda;
}

.route-list .idx {
  width: 28px;
  height: 28px;
  border-radius: 2px;
  background: var(--forest);
  color: var(--sand);
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
}

.route-list strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

.route-list small {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-style: italic;
}

.route-list button {
  border: none;
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.2rem;
}

.planner-prefs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.chip {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  background: var(--white);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.chip.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--sand);
}

/* —— Destinations detail —— */
.city-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.city-tab {
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.city-tab.is-active {
  background: var(--forest);
  color: var(--sand);
}

.city-hero-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.35rem;
  margin-bottom: 2rem;
  align-items: center;
}

.city-hero-band img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 rgba(20, 32, 26, 0.12);
}

.city-hero-band h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem;
}

.resource-item {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(20, 32, 26, 0.1);
}

.resource-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.resource-item .body {
  padding: 1rem 1.05rem 1.15rem;
}

.resource-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.resource-item p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  opacity: 0.75;
  font-style: italic;
}

.resource-item a {
  color: var(--leaf);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.resource-item a:hover {
  color: var(--forest);
}

/* —— About / Contact —— */
.prose {
  max-width: 62ch;
}

.prose p {
  margin: 0 0 1.1rem;
  font-size: 1.08rem;
  line-height: 1.8;
  opacity: 0.9;
}

.about-heading {
  margin: 2.25rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--sun);
  padding-bottom: 0.4rem;
  display: inline-block;
}

.about-heading:first-child {
  margin-top: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.team-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: 4px 4px 0 rgba(20, 32, 26, 0.1);
}

.team-role {
  margin: 0 0 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf);
}

.team-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.team-card p:last-child {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.82;
  font-style: italic;
}

@media (max-width: 720px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.contact-card {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(20, 32, 26, 0.1);
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.contact-card a {
  color: var(--leaf);
  font-family: var(--font-ui);
  font-weight: 600;
}

.legal {
  max-width: 70ch;
}

.legal h2 {
  font-family: var(--font-display);
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.legal p,
.legal li {
  opacity: 0.85;
}

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(247, 244, 234, 0.82);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
  border-top: 3px solid var(--sun);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--sand);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.footer-brand span {
  color: var(--sun);
}

.site-footer a {
  color: rgba(247, 244, 234, 0.75);
}

.site-footer a:hover {
  color: var(--sun);
}

.footer-col h4 {
  margin: 0 0 0.85rem;
  color: var(--sand);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.footer-meta {
  border-top: 1px solid rgba(247, 244, 234, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  font-family: var(--font-ui);
}

.footer-credit {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-company {
  color: rgba(247, 244, 234, 0.7);
  letter-spacing: 0.04em;
}

.footer-meta .links {
  display: flex;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 42vh;
    order: -1;
  }

  .feature-grid,
  .dest-strip,
  .resource-grid,
  .contact-grid,
  .footer-grid,
  .workspace,
  .route-layout,
  .city-hero-band {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery figure:first-child {
    grid-row: span 1;
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }

  .dest-picker {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-head {
    flex-direction: column;
    align-items: flex-start;
  }

  #routeMap,
  .map-canvas-wrap,
  .synth-map-wrap {
    min-height: 400px;
    height: 420px;
  }

  .synth-map-panel {
    position: static;
  }

  .map-pin {
    width: 58px;
    height: 58px;
  }

  .map-pin:hover,
  .map-pin:focus-visible {
    width: 96px;
    height: 120px;
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figure:first-child {
    grid-column: span 1;
  }

  .hero-cta .btn {
    width: 100%;
  }
}
