.tour-hero,
.tour-chapter,
.storage-story,
.tour-next {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

main { overflow-wrap: anywhere; }
.tour-hero > *, .tour-chapter__head > *, .storage-story > *, .tour-next > * { min-width: 0; }

.tour-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 94px) 50px;
}

.tour-hero h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.tour-hero__copy > p:not(.eyebrow, .tour-disclosure) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.125rem;
}

.tour-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tour-disclosure {
  max-width: 680px;
  margin-top: 22px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  color: #536663;
  font-size: .875rem;
}

.tour-figure {
  margin: 0;
}

.tour-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.tour-figure figcaption {
  margin-top: 10px;
  color: #536663;
  font-size: .8125rem;
}

.tour-map {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 18px;
  border-radius: 12px;
  color: white;
  background: var(--ink);
}

.tour-map ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tour-map a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  min-height: 100%;
  padding: 16px;
  border: 1px solid #405b58;
  border-radius: 8px;
}

.tour-map a:hover { border-color: var(--accent); background: #1d3a39; }
.tour-map a > span { grid-row: span 2; color: #ff9b78; font-weight: 800; }
.tour-map strong, .tour-map small { overflow-wrap: anywhere; }
.tour-map small { color: #b8c9c5; line-height: 1.4; }

.tour-chapter {
  padding-block: clamp(72px, 9vw, 120px);
  scroll-margin-top: 80px;
}

.tour-chapter--tinted {
  width: 100%;
  padding-inline: max(24px, calc((100vw - 1280px) / 2));
  background: #e9f0ec;
}

.tour-chapter--dark {
  width: 100%;
  padding-inline: max(24px, calc((100vw - 1280px) / 2));
  color: white;
  background: var(--ink);
}

.tour-chapter__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: 44px;
}

.tour-chapter__head h2,
.storage-story h2,
.tour-next h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.tour-chapter__head > p { margin: 0; color: #526562; font-size: 1.0625rem; }
.tour-chapter--dark .tour-chapter__head > p { color: #bed0cc; }
.tour-figure--wide { margin: 0 0 32px; }
.tour-figure--wide img { aspect-ratio: 3 / 1.35; object-fit: cover; object-position: center; }
.tour-chapter--dark .tour-figure figcaption { color: #b8c9c5; }

.tour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.tour-module {
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.tour-module h3 {
  margin-top: 22px;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: -.04em;
}

.tour-module > p { color: #50625f; }
.tour-module ol { margin: 20px 0 0; padding-left: 1.35rem; }
.tour-module li { padding: 5px 0; }
.tour-module--dark { border-color: #46605d; color: white; background: #1d3938; }
.tour-module--dark > p { color: #bfd0cc; }
.tour-module--planned { border-color: #d79374; color: var(--ink); background: #fff1e9; }

.tour-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #1d604c;
  background: #dceee6;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.tour-tag--addon { color: #873d23; background: #ffe5da; }
.tour-tag--seat { color: #284f78; background: #e2edf8; }
.tour-tag--planned { color: #74351f; background: #ffd9c8; }
.tour-boundary { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 700; }

.storage-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
  padding-block: clamp(80px, 10vw, 130px);
}

.storage-story__copy > p { max-width: 700px; color: #526562; font-size: 1.0625rem; }
.storage-story__copy ul { padding-left: 1.25rem; }
.storage-story__copy li { padding: 5px 0; }
.storage-example { min-width: 0; padding: 32px; border-radius: 12px; color: white; background: var(--ink); box-shadow: var(--shadow); }
.storage-example > p { display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.storage-example > p span { color: #b9cbc7; }
.storage-example > p strong { font: 800 2rem "Manrope", sans-serif; }
.storage-example__meter { height: 18px; overflow: hidden; border: 1px solid #54706c; border-radius: 999px; background: #254240; }
.storage-example__meter span { display: block; width: 68%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #68c39f, #efb454); }
.storage-example ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0; padding: 0; list-style: none; }
.storage-example li { padding-top: 10px; border-top: 2px solid #58716e; }
.storage-example li strong, .storage-example li span { display: block; }
.storage-example li span, .storage-example small { color: #b9cbc7; font-size: .75rem; }

.tour-next {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  margin-bottom: 90px;
  padding: clamp(36px, 5vw, 62px);
  border-radius: 12px;
  color: white;
  background: var(--accent-dark);
}

.tour-next p:not(.eyebrow) { max-width: 760px; color: #fff0ea; }

@media (max-width: 1000px) {
  .tour-hero { grid-template-columns: 1fr; }
  .tour-map ol { grid-template-columns: repeat(2, 1fr); }
  .tour-grid--three { grid-template-columns: 1fr 1fr; }
  .storage-story { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .tour-hero,
  .tour-chapter,
  .storage-story,
  .tour-next { width: calc(100% - 36px); }
  .tour-hero { padding-top: 42px; }
  .tour-hero h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); overflow-wrap: anywhere; }
  .tour-hero__actions { flex-direction: column; align-items: stretch; }
  .tour-map ol, .tour-grid, .tour-grid--three, .tour-chapter__head, .tour-next { grid-template-columns: minmax(0, 1fr); }
  .tour-chapter--tinted, .tour-chapter--dark { width: 100%; padding-inline: 18px; }
  .tour-figure--wide img { aspect-ratio: 4 / 3; }
  .storage-example { padding: 24px 18px; }
  .storage-example ol { grid-template-columns: 1fr 1fr; }
  .tour-next { margin-bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
