:root {
  --ink: #14362f;
  --ink-soft: #49635c;
  --cream: #f5f0e6;
  --paper: #fffdf8;
  --sand: #d9c59d;
  --coral: #e37a5b;
  --mint: #b9d9cb;
  --line: rgba(20, 54, 47, .18);
  --shadow: 0 24px 60px rgba(25, 45, 39, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.hero {
  position: relative;
  min-height: min(900px, 96vh);
  overflow: hidden;
  color: white;
  display: grid;
  align-items: end;
  isolation: isolate;
}
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; z-index: -3; }
.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 36, 35, .86) 0%, rgba(8, 36, 35, .45) 42%, rgba(8, 36, 35, .08) 70%),
    linear-gradient(0deg, rgba(5, 27, 24, .72) 0%, transparent 46%);
}
.topbar {
  position: absolute;
  z-index: 2;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(24px, 5vw, 76px);
}
.wordmark { font-weight: 700; letter-spacing: .13em; text-decoration: none; }
.top-links { display: flex; gap: 28px; }
.top-links a { font-size: 14px; text-decoration: none; opacity: .82; }
.top-links a:hover { opacity: 1; }
.hero-copy { padding: 0 clamp(24px, 7vw, 108px) clamp(76px, 10vh, 124px); max-width: 850px; }
.eyebrow, .section-kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: 12px;
}
.hero h1, h2, .stop-number { font-family: "Fraunces", Georgia, serif; }
.hero h1 {
  font-size: clamp(64px, 10vw, 144px);
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.055em;
  margin: 24px 0 32px;
}
.intro { max-width: 600px; font-size: clamp(16px, 2vw, 20px); line-height: 1.6; color: rgba(255,255,255,.84); }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.6);
  text-decoration: none;
  font-weight: 600;
}
.hero-stat {
  position: absolute;
  right: clamp(24px, 6vw, 90px);
  bottom: clamp(32px, 8vh, 92px);
  display: grid;
  padding: 22px 24px;
  min-width: 260px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(11, 44, 39, .42);
  backdrop-filter: blur(14px);
  border-radius: 4px;
}
.hero-stat span, .hero-stat small { font-size: 12px; color: rgba(255,255,255,.72); }
.hero-stat strong { font-size: 26px; margin: 6px 0; }

.route-overview {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) 1.8fr;
  gap: 8vw;
  padding: 110px clamp(24px, 7vw, 108px) 70px;
  background: var(--paper);
}
h2 { margin: 8px 0 0; font-size: clamp(42px, 6vw, 74px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.section-kicker { color: var(--coral); margin: 0; }
.route-strip { display: flex; align-items: flex-start; overflow-x: auto; padding: 22px 0 20px; scrollbar-width: thin; }
.route-stop { position: relative; min-width: 145px; padding-right: 30px; }
.route-stop:not(:last-child)::after { content: ""; position: absolute; top: 7px; left: 9px; right: 0; height: 1px; background: var(--line); }
.route-dot { display: block; position: relative; z-index: 1; width: 15px; height: 15px; border: 4px solid var(--paper); outline: 1px solid var(--coral); border-radius: 50%; background: var(--coral); margin-bottom: 15px; }
.route-stop strong { display: block; font-size: 13px; }
.route-stop small { color: var(--ink-soft); font-size: 11px; }

.journey-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 5vw;
  padding: 80px clamp(24px, 7vw, 108px) 140px;
}
.rail { position: relative; }
.rail > ol { position: sticky; top: 110px; margin: 0; padding: 0 0 0 30px; list-style: none; }
.rail li { margin-bottom: 22px; }
.rail a { text-decoration: none; color: var(--ink-soft); font-size: 13px; transition: color .2s; }
.rail li.active a { color: var(--ink); font-weight: 700; }
.rail-line { position: absolute; left: 4px; top: 4px; bottom: 0; width: 2px; background: rgba(20,54,47,.12); }
.rail-line span { display: block; width: 100%; height: 0; background: var(--coral); transition: height .15s; }

.stop { position: relative; scroll-margin-top: 40px; padding: 0 0 130px; }
.stop:last-child { padding-bottom: 0; }
.stop-heading { display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: end; margin-bottom: 38px; }
.stop-number { font-size: 80px; line-height: .8; color: var(--sand); }
.stop-meta { display: flex; gap: 18px; color: var(--ink-soft); font-size: 13px; margin-bottom: 9px; }
.stop h3 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(44px, 7vw, 88px); font-weight: 500; letter-spacing: -.045em; line-height: .95; }
.stop-note { margin: 20px 0 0 132px; max-width: 680px; color: var(--ink-soft); line-height: 1.65; }
.hotel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.hotel-card {
  background: var(--paper);
  border: 1px solid rgba(20,54,47,.09);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(29, 49, 43, .05);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.hotel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hotel-card.selected { border-color: var(--coral); box-shadow: 0 18px 50px rgba(156, 80, 56, .15); }
.hotel-card.unavailable { opacity: .68; }
.card-top { display: flex; justify-content: space-between; gap: 20px; padding: 28px 28px 18px; }
.status { display: inline-block; margin-bottom: 13px; padding: 6px 9px; border-radius: 99px; color: #22614d; background: #e4f1eb; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.status.watch { color: #8a5921; background: #f5ead2; }
.status.out { color: #7a5b57; background: #eee6e2; }
.hotel-card h4 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 27px; font-weight: 600; line-height: 1.14; }
.hotel-card .tagline { margin: 9px 0 0; color: var(--ink-soft); font-size: 13px; }
.price { text-align: right; white-space: nowrap; }
.price strong { display: block; font-size: 25px; }
.price small { color: var(--ink-soft); }
.review-snapshot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin: 0 28px 16px; padding: 12px 14px; border-radius: 6px;
  color: var(--ink); background: #f1eadf; text-decoration: none;
}
.review-snapshot span { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.review-snapshot b { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.review-snapshot strong { font-size: 17px; }
.review-snapshot i { color: #00aa6c; font-size: 9px; font-style: normal; letter-spacing: 1px; }
.review-snapshot small { color: var(--ink-soft); font-size: 11px; text-align: right; }
.review-snapshot:hover { background: #e9dfd0; }
.package-list { padding: 0 28px 10px; }
.package {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid rgba(20,54,47,.1);
  cursor: pointer;
}
.package input { accent-color: var(--coral); margin-top: 3px; }
.package span { font-size: 13px; line-height: 1.45; }
.package strong { font-size: 14px; }
.terms { padding: 13px 28px 22px; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.card-actions { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(20,54,47,.1); }
.card-actions a { padding: 15px 10px; text-align: center; text-decoration: none; font-size: 12px; font-weight: 700; border-right: 1px solid rgba(20,54,47,.1); }
.card-actions a:last-child { border-right: 0; }
.card-actions a:hover { background: #f1eadf; }

.detour { padding: 30px; background: #e7e1d5; border-left: 4px solid var(--sand); }
.detour h4 { margin: 0 0 8px; font-family: "Fraunces", Georgia, serif; font-size: 28px; }
.detour p { margin: 5px 0; color: var(--ink-soft); }
.detour a { font-weight: 700; }

.shortlist { padding: 110px clamp(24px, 7vw, 108px); background: var(--ink); color: white; }
.shortlist-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.shortlist-heading p:not(.section-kicker) { max-width: 550px; color: rgba(255,255,255,.65); line-height: 1.6; }
.quiet-button { border: 1px solid rgba(255,255,255,.3); background: transparent; color: white; border-radius: 99px; padding: 11px 16px; cursor: pointer; }
.selection-list { margin-top: 60px; border-top: 1px solid rgba(255,255,255,.18); }
.selection-row { display: grid; grid-template-columns: 1fr 1.8fr auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.selection-row span { color: rgba(255,255,255,.6); font-size: 13px; }
.selection-row strong { font-size: 15px; }
.selection-row b { font-size: 17px; }
.total-card { display: flex; align-items: baseline; gap: 22px; padding: 34px 0; }
.total-card span { color: rgba(255,255,255,.6); }
.total-card strong { font-family: "Fraunces", Georgia, serif; font-size: clamp(46px, 7vw, 86px); font-weight: 500; }
.total-card small { color: var(--mint); }
.source-note { max-width: 850px; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.6; }

.budget-dock {
  position: fixed; z-index: 10; left: 50%; bottom: 20px; transform: translate(-50%, 160%);
  width: min(620px, calc(100% - 32px));
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 14px 13px 20px;
  border-radius: 999px;
  background: rgba(17, 49, 42, .93); color: white;
  box-shadow: 0 12px 35px rgba(0,0,0,.22); backdrop-filter: blur(12px);
  transition: transform .35s;
}
.budget-dock.visible { transform: translate(-50%, 0); }
.budget-dock span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; opacity: .65; }
.budget-dock strong { font-size: 18px; }
.budget-dock a { padding: 10px 16px; border-radius: 99px; background: var(--coral); text-decoration: none; font-size: 12px; font-weight: 700; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 34px clamp(24px, 7vw, 108px); color: var(--ink-soft); font-size: 12px; background: var(--paper); }

@media (max-width: 950px) {
  .hero-stat { display: none; }
  .route-overview { grid-template-columns: 1fr; gap: 35px; }
  .journey-shell { grid-template-columns: 1fr; }
  .rail { display: none; }
  .hotel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .top-links { display: none; }
  .hero { min-height: 820px; }
  .hero-copy { padding-bottom: 70px; }
  .hero h1 { font-size: 66px; }
  .stop { padding-bottom: 90px; }
  .stop-heading { grid-template-columns: 72px 1fr; }
  .stop-number { font-size: 58px; }
  .stop-note { margin-left: 0; }
  .card-top { display: block; }
  .price { text-align: left; margin-top: 17px; }
  .review-snapshot { align-items: flex-start; flex-direction: column; gap: 4px; }
  .review-snapshot small { text-align: left; }
  .card-actions { grid-template-columns: 1fr; }
  .card-actions a { border-right: 0; border-bottom: 1px solid rgba(20,54,47,.1); }
  .selection-row { grid-template-columns: 1fr auto; }
  .selection-row strong { grid-column: 1 / -1; grid-row: 2; }
  .shortlist-heading { align-items: flex-start; flex-direction: column; }
  .total-card { align-items: flex-start; flex-direction: column; gap: 7px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
