.journey-hero {
  display: grid;
  grid-template-columns: 57% 43%;
  min-height: 470px;
  background: #173725;
  color: #fff;
}
.journey-hero-inner {
  padding: clamp(80px, 8.5vw, 130px) 6vw 72px max(6vw, 28px);
}
.journey-hero h1 {
  font-size: clamp(46px, 5.8vw, 88px);
  line-height: 1.14;
}
.journey-hero h1 em {
  color: #efd095;
}
.journey-hero-inner > p:not(.eyebrow) {
  max-width: 570px;
  font-size: 17px;
  line-height: 1.7;
  color: #e4ece0;
  margin: 22px 0 30px;
}
.journey-hero-inner > a {
  display: inline-flex;
  min-height: 46px;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 100px;
  padding: 13px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.journey-hero-inner > a:hover {
  background: #fff;
  color: #173725;
}
.journey-hero-inner > a span {
  font-size: 19px;
}
.journey-hero-photo {
  position: relative;
  background: #1d422d url("assets/orchard-concept.webp") center/cover;
}
.journey-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #173725, transparent 32%);
}
.journey-hero-photo span {
  position: absolute;
  bottom: 16px;
  right: 18px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 26, 16, 0.65);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.journey-workspace {
  width: min(1320px, 90vw);
  margin: auto;
  padding: 78px 0 84px;
}
.journey-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.journey-heading h2,
.journey-map-copy h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.15;
  margin: 0;
}
.journey-heading h2 em,
.journey-map-copy h2 em {
  font-weight: 500;
  color: #8c632f;
}
.journey-heading > p {
  max-width: 300px;
  font-size: 14px;
  line-height: 1.6;
  color: #495b4a;
  margin: 0 0 5px;
}
.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}
.journey-choose,
.journey-plan {
  background: #fff;
  border: 1px solid #d2dcd0;
  border-radius: 8px;
  padding: 24px;
  min-width: 0;
}
.journey-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid #dde4da;
  padding-bottom: 15px;
}
.journey-panel-head h3 {
  font-size: 26px;
  margin: 0;
}
.journey-panel-head span {
  font-size: 12px;
  font-weight: 600;
  color: #4b5d4c;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.journey-filters {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 10px;
  padding: 18px 0;
}
.journey-filters label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #435744;
  letter-spacing: 0.09em;
}
.journey-filters select,
.journey-filters input {
  width: 100%;
  height: 44px;
  border: 1px solid #b8c5b4;
  border-radius: 6px;
  background: #fff;
  color: #1f3322;
  padding: 0 11px;
  font-size: 14px;
  letter-spacing: normal;
}
.journey-filters select:focus,
.journey-filters input:focus {
  border-color: #35633f;
  outline: 3px solid rgba(53, 99, 63, 0.22);
}

.candidate-list {
  max-height: 540px;
  overflow-y: auto;
}
.candidate {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 2px;
  border-top: 1px solid #e6ece2;
}
.candidate-photo {
  position: relative;
  flex: none;
  width: 68px;
  height: 64px;
  background: #224631 center/cover;
  border-radius: 6px;
  overflow: hidden;
}
.candidate-photo span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2px 4px;
  background: rgba(10, 26, 16, 0.72);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}
.candidate-copy {
  flex: 1;
  min-width: 0;
}
.candidate-copy small {
  display: block;
  color: #466041;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.candidate-copy h4 {
  font: 500 19px/1.22 "Playfair Display", Georgia, serif;
  margin: 3px 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.candidate-copy p {
  font-size: 12px;
  color: #4b5d4c;
  margin: 0;
  line-height: 1.4;
}
.candidate-button {
  flex: none;
  min-height: 40px;
  border: 1px solid #265333;
  border-radius: 100px;
  background: #fff;
  color: #265333;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.candidate-button.is-selected {
  background: #234e31;
  color: #fff;
}
.candidate-button:hover:not(:disabled) {
  background: #265333;
  color: #fff;
}
.candidate-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.journey-vai-link {
  border-top: 1px solid #dde5da;
  padding-top: 14px;
  margin: 12px 0 0;
  font-size: 13px;
  color: #485a49;
}
.journey-vai-link a {
  color: #245031;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.selected-list {
  padding-top: 8px;
}
.selected-stop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e9df;
}
.stop-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #234e31;
  color: #fff;
  font: 500 17px "Playfair Display", Georgia, serif;
  font-variant-numeric: tabular-nums;
  flex: none;
}
.stop-copy {
  min-width: 0;
  flex: 1;
}
.stop-copy a {
  font: 500 19px/1.22 "Playfair Display", Georgia, serif;
}
.stop-copy a:hover {
  text-decoration: underline;
}
.stop-copy small {
  display: block;
  margin-top: 4px;
  color: #4b5d4c;
  font-size: 12px;
  line-height: 1.4;
}
.stop-controls {
  display: flex;
  gap: 6px;
  flex: none;
}
.stop-controls button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #b9c8b4;
  border-radius: 6px;
  background: #f7f9f5;
  color: #26452b;
  font-size: 16px;
  cursor: pointer;
}
.stop-controls button:hover:not(:disabled) {
  background: #e6eee2;
}
.stop-controls button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.stop-controls .remove-stop {
  color: #8f3a32;
  border-color: #dabab4;
  font-size: 20px;
}

.empty-trip {
  padding: 38px 15px;
  text-align: center;
  color: #4b5d4c;
  font-size: 14px;
  line-height: 1.6;
}
.trip-actions {
  border-top: 1px solid #dde6da;
  margin-top: 18px;
  padding-top: 20px;
}
.trip-actions > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  border-radius: 100px;
  background: #234e31;
  color: #fff;
  padding: 13px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 22px;
}
.trip-actions > a:hover {
  background: #2e6640;
}
.trip-actions > a span {
  font-size: 18px;
}
.trip-actions label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #465847;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
}
.share-row {
  display: flex;
  gap: 8px;
}
.share-row input {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 1px solid #bdcab8;
  border-radius: 6px;
  background: #f8faf6;
  padding: 0 11px;
  font-size: 13px;
  color: #364836;
}
.share-row button {
  min-height: 44px;
  border: 1px solid #265032;
  border-radius: 6px;
  background: #fff;
  color: #265032;
  padding: 0 16px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.share-row button:hover {
  background: #265032;
  color: #fff;
}
#copy-status {
  min-height: 19px;
  color: #285735;
  font-size: 12px;
  font-weight: 600;
  margin: 8px 0 0;
}

.journey-map-wrap {
  display: grid;
  grid-template-columns: 34% 66%;
  min-height: 400px;
  margin-top: 20px;
  border: 1px solid #d0dacb;
  border-radius: 8px;
  overflow: hidden;
  background: #e8eee3;
}
.journey-map-copy {
  padding: 42px 34px;
}
.journey-map-copy h2 {
  font-size: clamp(34px, 3vw, 48px);
}
.journey-map-copy > p:last-child {
  font-size: 14px;
  line-height: 1.65;
  color: #485a49;
}
#trip-map {
  min-height: 400px;
  background: #dce8d6;
}
.trip-map-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 300px;
  padding: 28px;
  text-align: center;
  color: #3f5341;
  font-size: 14px;
  line-height: 1.6;
}
.trip-pin {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #a95930;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(38, 56, 33, 0.5);
  cursor: pointer;
}
.trip-pin-muted {
  width: 15px;
  height: 15px;
  border-width: 2px;
  background: #537c58;
}
.trip-popup strong {
  font: 500 20px "Playfair Display", Georgia, serif;
}
.trip-popup p {
  font-size: 13px;
  color: #495b4a;
  margin: 6px 0;
}
.trip-popup a {
  font-size: 12px;
  font-weight: 700;
  color: #245231;
  text-decoration: underline;
}
.journey-note {
  max-width: 860px;
  font-size: 13px;
  line-height: 1.7;
  color: #495b4a;
  margin: 26px 0 0;
}

@media (max-width: 980px) {
  .journey-layout {
    grid-template-columns: 1fr;
  }
  .journey-map-wrap {
    grid-template-columns: 1fr;
  }
  .journey-map-copy {
    padding: 28px;
  }
  #trip-map {
    min-height: 350px;
  }
}

@media (max-width: 700px) {
  .journey-hero {
    display: block;
    position: relative;
    min-height: 410px;
  }
  .journey-hero-photo {
    position: absolute;
    inset: 0;
    opacity: 0.25;
  }
  .journey-hero-photo::before {
    display: none;
  }
  .journey-hero-inner {
    position: relative;
    z-index: 1;
    padding: 64px 20px 56px;
  }
  .journey-hero h1 {
    font-size: clamp(38px, 10.5vw, 56px);
  }
  .journey-hero-inner > p:not(.eyebrow) {
    font-size: 15px;
  }
  .journey-workspace {
    width: auto;
    margin: 0 18px;
    padding: 52px 0;
  }
  .journey-heading {
    display: block;
  }
  .journey-heading > p {
    margin: 12px 0 0;
  }
  .journey-choose,
  .journey-plan {
    padding: 18px;
  }
  .journey-filters {
    grid-template-columns: 1fr;
  }
  .candidate-photo {
    width: 58px;
    height: 58px;
  }
  .candidate-copy h4 {
    font-size: 18px;
  }
  .journey-panel-head h3 {
    font-size: 23px;
  }
  .selected-stop {
    flex-wrap: wrap;
  }
  .stop-controls {
    margin-left: auto;
  }
  .journey-map-copy {
    padding: 24px 20px;
  }
  .journey-map-copy h2 {
    font-size: 34px;
  }
}
