/* ──────────────────────────────────────────────────────────────
   R.M. WILLIAMS — Single Case Study extras (single-case-rm-williams.php).
   Only enqueued when is_singular('case') AND post slug === 'rm-williams'.
   Adds the .rmw-journey vertical timeline; standard .case-* styles still
   come from single-case.css.
   ────────────────────────────────────────────────────────────── */

.rmw-journey {
  padding: 88px 48px;
  background: var(--white);
}

.rmw-journey-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.rmw-journey-header {
  max-width: 760px;
  margin-bottom: 56px;
}

.rmw-journey-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}

.rmw-journey-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--red);
}

.rmw-journey-h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--black);
  margin: 0;
}

.rmw-journey-h2 em {
  font-style: italic;
  color: var(--red);
}

/* Vertical timeline list */
.rmw-journey-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Continuous vertical line behind the nodes */
.rmw-journey-list::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 31px;
  width: 2px;
  background: linear-gradient(180deg, var(--red) 0%, rgba(255,44,85,0.2) 100%);
}

.rmw-journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  align-items: start;
  padding: 0 0 56px;
}

.rmw-journey-step:last-child { padding-bottom: 0; }

.rmw-journey-node {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--white);
}

.rmw-journey-node svg {
  width: 28px;
  height: 28px;
}

.rmw-journey-content {
  min-width: 0;
  padding-top: 6px;
}

.rmw-journey-title {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--black);
}

.rmw-journey-body {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--black);
  max-width: 820px;
}

.rmw-journey-body > * + * { margin-top: 1em; }

.rmw-journey-body p { margin: 0 0 1em; color: var(--black); }
.rmw-journey-body p:last-child { margin-bottom: 0; }

.rmw-journey-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.rmw-journey-body a:hover { color: var(--black); }

.rmw-journey-body strong { font-weight: 700; }

.rmw-journey-body ul,
.rmw-journey-body ol {
  padding-left: 0;
  margin: 0 0 1.2em;
  list-style: none;
}

.rmw-journey-body li {
  position: relative;
  padding-left: 28px;
  margin: 0.5em 0;
  line-height: 1.65;
}

.rmw-journey-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 720px) {
  .rmw-journey { padding: 56px 24px; }
  .rmw-journey-header { margin-bottom: 36px; }

  .rmw-journey-step {
    grid-template-columns: 44px 1fr;
    gap: 20px;
    padding-bottom: 36px;
  }

  .rmw-journey-list::before { left: 21px; }

  .rmw-journey-node { width: 44px; height: 44px; box-shadow: 0 0 0 4px var(--white); }
  .rmw-journey-node svg { width: 20px; height: 20px; }

  .rmw-journey-content { padding-top: 4px; }
  .rmw-journey-body { font-size: 15px; }
}
