/* light-theme: manual
   historie.html: the history as the same pinned horizontal journey as on the
   index (.nx-journey from home-lower.css, driven by assets/js/ux-motion.js).
   Cards here carry more text (detail list + tags), so they are a bit wider and
   denser. */

.hx-journey .nx-journey-sticky { padding-top: 5.5rem; }

.hx-journey .nx-stop {
  width: min(460px, 82vw);
  min-height: 0;
  padding: 1.6rem 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.hx-journey .nx-stop-icon { margin: 1.1rem 0 0.9rem; width: 46px; height: 46px; font-size: 1.1rem; }
.hx-journey .nx-stop h3 { font-size: 1.3rem; }
.hx-journey .nx-stop p { font-size: 0.93rem; }

/* milestones get a glowing frame */
.hx-journey .nx-stop.is-milestone {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 18%, transparent);
}

.hx-detail {
  position: relative;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.hx-detail li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--nx-muted);
}

.hx-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  rotate: 45deg;
  background: var(--accent);
}

.hx-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1rem;
}

.hx-tags span {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nx-muted);
  border: 1px solid var(--nx-line);
  background: var(--nx-surface-2);
}

/* short laptop screens: keep the pinned cards inside the viewport */
@media (min-width: 901px) and (max-height: 820px) {
  .hx-journey .nx-journey-sticky { padding-top: 4.8rem; }
  .hx-journey .nx-journey-head { margin-bottom: 1.2rem; }
  .hx-journey .nx-journey-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
  .hx-detail li:nth-child(n+4) { display: none; }
}
