/* Scroll & Stone - guided journeys (Task 13).
   Shared stylesheet for journey-*.html. Vellum register (story reading, not
   map/stone): quiet, sequential, one path at a time. Reuses house tokens
   from style.css - no new palette. */

.journey-main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.6rem 1.4rem 4rem;
}

.journey-kicker {
  font-family: var(--utility);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.6rem;
}

.journey-main h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.journey-intro {
  font-size: 1.02rem;
  color: rgba(245, 237, 223, 0.82);
  max-width: var(--measure);
  margin-bottom: 2.2rem;
}

/* ---------- ordered stop list (the JS-free fallback) ---------- */
.journey-stops {
  list-style: none;
  counter-reset: journey-stop;
  border-top: 1px solid rgba(245, 237, 223, 0.14);
}

.journey-stop {
  counter-increment: journey-stop;
  border-bottom: 1px solid rgba(245, 237, 223, 0.14);
}

.journey-stop-link {
  display: grid;
  grid-template-columns: 3.2rem 4.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0.3rem;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}

.journey-stop-link:hover .journey-stop-title,
.journey-stop-link:focus-visible .journey-stop-title {
  color: var(--gold-soft);
}

.journey-stop-pos {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--gold);
  text-align: center;
}

.journey-stop-link img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(245, 237, 223, 0.16);
}

.journey-stop-title {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.journey-stop-beat {
  display: block;
  font-size: 0.92rem;
  color: rgba(245, 237, 223, 0.78);
}

.journey-stop.is-current .journey-stop-link {
  background: rgba(199, 162, 75, 0.1);
  border-radius: 4px;
}

.journey-stop.is-done .journey-stop-pos::after {
  content: " \2713"; /* checkmark, not a divine name, not an em-dash */
  color: var(--gold-soft);
}

/* ---------- progress / prev-next controls (JS-driven) ---------- */
.journey-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.journey-nav button {
  min-height: 44px;
  min-width: 44px;
  padding: 0 1.1rem;
  font-family: var(--utility);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--vellum);
  background: var(--night-2);
  border: 1px solid rgba(245, 237, 223, 0.22);
  border-radius: 4px;
  cursor: pointer;
}

.journey-nav button:disabled {
  opacity: 0.4;
  cursor: default;
}

.journey-progress {
  font-family: var(--utility);
  font-size: 0.86rem;
  color: rgba(245, 237, 223, 0.75);
  text-align: center;
}

/* ---------- carry / completion / related ---------- */
.journey-carry {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(245, 237, 223, 0.14);
  text-align: center;
}

.journey-carry-btn {
  min-height: 44px;
  padding: 0 1.4rem;
  font-family: var(--utility);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--night);
  background: var(--gold-soft);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.journey-carry-btn[aria-pressed="true"] {
  background: var(--gold);
}

.journey-done-note {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: rgba(245, 237, 223, 0.78);
}

.journey-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.journey-related-link {
  flex: 1 1 14rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.7rem 1rem;
  font-family: var(--utility);
  font-size: 0.9rem;
  color: var(--vellum);
  background: var(--night-2);
  border: 1px solid rgba(245, 237, 223, 0.18);
  border-radius: 4px;
  text-decoration: none;
}

.journey-related-link:hover,
.journey-related-link:focus-visible {
  border-color: var(--gold-soft);
}

@media (max-width: 560px) {
  .journey-stop-link { grid-template-columns: 2.4rem 3.6rem 1fr; }
  .journey-stop-link img { width: 3.6rem; height: 3.6rem; }
}
