/* Shared typography, color, and controls live in landing.css. */
.tour-hero {
  padding-block: 58px 36px;
}
.tour-hero h1 {
  max-width: 1100px;
}
.tour-hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.tour-hero-bottom > p {
  max-width: 700px;
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 0;
}
.tour-hero-bottom .button {
  flex-shrink: 0;
}
.tour-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 24px;
}
.tour-chapters a {
  padding: 10px 14px;
  min-height: 44px;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
}
.tour-chapters a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.tour-caption,
.tour-figure figcaption {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 0;
}
.tour-section {
  padding-block: 72px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 28px;
}
.tour-intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 36px;
}
.tour-intro h2 {
  font-size: clamp(32px, 3.7vw, 53px);
  margin-bottom: 0;
}
.tour-intro > p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 0;
}
.tour-figure figcaption {
  display: block;
  padding: 0;
}
.tour-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.tour-details h3,
.tour-steps h3,
.tour-template-copy h3,
.tour-tools h3,
.tour-note h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.tour-details p,
.tour-template-copy p,
.tour-tools p:not(.eyebrow),
.tour-note p,
.tour-steps p {
  color: var(--muted);
  margin-bottom: 0;
}
.tour-steps {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.tour-steps li {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.step-number {
  display: block;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 18px;
}
.tour-note {
  margin-top: 36px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.tour-note h3 {
  color: var(--accent);
}
.tour-template-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: center;
}
.tour-template-copy .text-link {
  margin-top: 20px;
}
.tour-execution-figure {
  margin-top: 48px;
}
.tour-band {
  padding-block: 72px;
  scroll-margin-top: 24px;
}
.tour-band .tour-note {
  background: transparent;
  border-color: #424c36;
}
.tour-note .eyebrow {
  color: var(--accent);
  margin-bottom: 16px;
}
.tour-note .tour-prompt {
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.4;
  max-width: 850px;
  margin-bottom: 16px;
}
.tour-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.tour-tools article {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tour-tools .eyebrow {
  color: var(--accent);
  margin-bottom: 20px;
}
.tour-role-grid article {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.tour-role-grid h3 {
  color: var(--accent);
}
.tour-credits {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.tour-credits h2 {
  font-size: 26px;
  margin-bottom: 16px;
}
.tour-credits > p:last-child {
  color: var(--muted);
  max-width: 850px;
  margin-bottom: 0;
}
.tour-credits a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tour-end {
  padding-block: 72px 90px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.tour-end .eyebrow {
  justify-content: center;
}
.tour-end > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 560px;
  margin: 24px auto;
}
@media (max-width: 1000px) {
  .tour-intro {
    gap: 32px;
  }
  .tour-details,
  .tour-steps {
    gap: 22px;
  }
  .tour-template-layout {
    gap: 28px;
  }
  .tour-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .tour-hero {
    padding-top: 44px;
  }
  .tour-hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .tour-hero-bottom > p,
  .tour-intro > p {
    font-size: 16px;
  }
  .tour-section,
  .tour-band {
    padding-block: 48px;
  }
  .tour-intro,
  .tour-template-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tour-intro .eyebrow {
    margin-bottom: 18px;
  }
  .tour-details,
  .tour-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tour-details article + article {
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .tour-steps li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 16px;
  }
  .step-number {
    margin-top: 3px;
  }
  .tour-note {
    padding: 24px;
  }
  .tour-end {
    padding-block: 48px 60px;
  }
  .tour-end h2 {
    font-size: 34px;
  }
}
@media (max-width: 440px) {
  .tour-page .wordmark {
    font-size: 19px;
  }
  .tour-page .site-header .button {
    gap: 6px;
    padding-inline: 9px;
    font-size: 11px;
  }
  .tour-chapters {
    gap: 6px;
  }
  .tour-chapters a {
    padding: 10px;
    font-size: 12px;
  }
  .tour-tools {
    grid-template-columns: 1fr;
  }
}
.provenance-walkthrough {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
  margin-top: 32px;
}
.provenance-menu-figure {
  max-width: 420px;
}
.provenance-walkthrough .tour-steps {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
}
.provenance-menu-figure img {
  width: 100%;
  height: auto;
}
@media (max-width: 640px) {
  .provenance-walkthrough {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  #provenance .panel-image img,
  .provenance-proof .panel-image img {
    aspect-ratio: auto;
  }
}
