:root {
  --bg: #f4ecd8;
  --paper: #fbf6e7;
  --ink: #2b2418;
  --muted: #6e624a;
  --line: #b9a980;
  --accent: #c0392b;
  --card-border: #d9c79c;
  --shadow: 0 1px 3px rgba(60,40,10,.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: "Iowan Old Style", "Palatino", "Georgia", serif;
  font-size: 16px;
  line-height: 1.5;
}

.layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  max-width: 1280px;
  margin: 0 auto;
  gap: 48px;
  padding: 32px 40px;
}

/* ---------- Left column: map ---------- */
.map-col {
  position: sticky;
  top: 32px;
  align-self: start;
  height: calc(100vh - 64px);
}

.map-frame {
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 20px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.trip-header {
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--card-border);
  text-align: center;
}
.trip-header .trip-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.trip-header h1 {
  font-size: 34px;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.05;
}
.trip-header .trip-jp {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Hiragino Mincho Pro", serif;
  font-size: 18px;
  color: var(--muted);
  letter-spacing: 6px;
  margin: 4px 0 12px;
  padding-left: 6px;
}
.trip-header .meta {
  font-size: 12px;
  color: var(--muted);
}
.trip-header .meta-travelers {
  margin-top: 2px;
  font-style: italic;
}

.map-svg-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
}
svg.map {
  width: 100%;
  height: 100%;
  display: block;
}

.path-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-dasharray: 8 10;
  stroke-linecap: round;
  opacity: 0.7;
}
.node {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 2.5;
  transition: r .3s ease, fill .3s ease;
}
.node.active { fill: var(--ink); }
.node-label {
  font-family: inherit;
  font-size: 18px;
  fill: var(--ink);
  transition: font-weight .2s ease;
}
.node-label.active { font-weight: 700; }
.node-sub {
  font-size: 13px;
  fill: var(--muted);
}
.node-jp {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Hiragino Mincho Pro", serif;
  font-size: 17px;
  fill: var(--muted);
  letter-spacing: 0;
  transition: fill .2s ease, font-weight .2s ease;
}
.node-jp.active {
  fill: var(--ink);
  font-weight: 700;
}

.dot-current {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.2));
}

/* ---------- Right column: content ---------- */
.content {
  min-width: 0;
}

.city {
  padding: 48px 0 64px;
  border-bottom: 1px dashed var(--card-border);
}
.city:last-child { border-bottom: none; }
.city-head h2 {
  font-size: 32px;
  margin: 0 0 6px 0;
  letter-spacing: 0.5px;
}
.city-head .city-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.city-head .blurb {
  font-size: 15px;
  color: #3a3122;
}

.section {
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.section > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.section > summary::-webkit-details-marker { display: none; }
.section > summary::after {
  content: "▸";
  color: var(--muted);
  transition: transform .2s ease;
  font-size: 14px;
  margin-left: 12px;
}
.section[open] > summary::after { transform: rotate(90deg); }
.section .count {
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  margin-left: 8px;
}
.section-body {
  padding: 4px 18px 18px;
}
.section-empty {
  padding: 8px 18px 18px;
  color: var(--muted);
  font-style: italic;
  font-size: 14px;
}

/* ---------- Option cards ---------- */
.opt {
  border-top: 1px solid #eadfbe;
  padding: 14px 0 12px;
}
.opt:first-child { border-top: none; }

.opt-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.opt-name {
  font-size: 16px;
  font-weight: 700;
}
.opt-tier {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--muted);
  background: #fff9e6;
}
.opt-area, .opt-price {
  font-size: 13px;
  color: var(--muted);
}
.opt-price { font-weight: 600; color: #5a4a20; }
.star {
  color: var(--accent);
  font-size: 14px;
}

.opt-summary {
  margin-top: 6px;
  font-size: 14px;
}
.opt-pc {
  margin-top: 6px;
  font-size: 13px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 4px 10px;
  color: #3a3122;
}
.opt-pc .label { color: var(--muted); font-style: italic; }
