/* 14 — Experience · Journey: scaled host like the other sections, themed dotted background, card hover. */
.journey-host { width: 100%; overflow: hidden; }
.journey-host > [data-pencil-name^="14"] {
  transform-origin: top left; margin: 0;
  background-color: var(--hero-bg) !important;
  background-image: radial-gradient(circle at 12px 12px, var(--hero-dot) 1.1px, transparent 1.7px) !important;
  background-size: 24px 24px !important;
}
.jr-card { transition: translate 0.45s cubic-bezier(.3, 1.5, .5, 1), rotate 0.45s cubic-bezier(.3, 1.5, .5, 1), scale 0.45s cubic-bezier(.3, 1.5, .5, 1), box-shadow 0.35s ease, border-color 0.3s ease !important; }
.jr-stop.is-on .jr-card { translate: 0 -8px; rotate: -0.6deg; scale: 1.012; border-color: rgba(201, 242, 77, 0.55) !important;
  box-shadow: 0 30px 60px rgba(5, 8, 30, 0.5), 0 0 0 1px rgba(201, 242, 77, 0.25) !important; }
html[data-theme="light"] .jr-stop.is-on .jr-card { border-color: rgba(37, 71, 232, 0.45) !important; box-shadow: 0 30px 60px rgba(11, 16, 48, 0.18), 0 0 0 1px rgba(37, 71, 232, 0.2) !important; }
/* Proof pills: the headline numbers glow and pop when their stop is hovered. */
.jr-hot { transition: box-shadow 0.35s ease, translate 0.4s cubic-bezier(.3, 1.6, .5, 1); }
.jr-stop.is-on .jr-hot { translate: 0 -3px; box-shadow: 0 0 0 3px rgba(201, 242, 77, 0.25), 0 0 20px rgba(201, 242, 77, 0.6); }
.jr-stop.is-on .jr-hot:nth-child(2) { transition-delay: 0.06s; }
.jr-pill { transition: background-color 0.3s ease, color 0.3s ease; }
/* Rail node: the micro sticker spins in and stands up straight. */
.jr-node { transition: rotate 0.5s cubic-bezier(.3, 1.6, .5, 1), scale 0.5s cubic-bezier(.3, 1.6, .5, 1); }
.jr-stop.is-on .jr-node { rotate: 14deg; scale: 1.18; }
.jr-tools > * { transition: translate 0.4s cubic-bezier(.3, 1.6, .5, 1), rotate 0.4s cubic-bezier(.3, 1.6, .5, 1); }
.jr-stop.is-on .jr-tools > * { translate: 0 -5px; rotate: 0deg !important; }
.jr-stop.is-on .jr-tools > *:nth-child(2) { transition-delay: 0.05s; } .jr-stop.is-on .jr-tools > *:nth-child(3) { transition-delay: 0.1s; }
/* Stat stickers + note wiggle on hover. */
.jr-stat, .jr-note { transition: rotate 0.45s cubic-bezier(.3, 1.6, .5, 1), scale 0.45s cubic-bezier(.3, 1.6, .5, 1); }
.jr-stat:hover, .jr-note:hover { rotate: 0deg; scale: 1.04; }
/* Entrance: stops slide up one after another the first time the section is seen. */
.jr-pre .jr-stop { opacity: 0; translate: 0 26px; }
.jr-stop { transition: opacity 0.6s ease, translate 0.7s cubic-bezier(.2, .9, .3, 1); transition-delay: calc(var(--k, 0) * 110ms); }
@media (prefers-reduced-motion: reduce) {
  .jr-card, .jr-hot, .jr-node, .jr-tools > *, .jr-stat, .jr-note, .jr-stop { transition: none !important; }
  .jr-stop.is-on .jr-card { translate: none; rotate: none; scale: none; }
}

/* Stacking: cards become opaque (the glass tint flattened onto the section colour) so the card underneath
   doesn't show through, and a dim layer darkens buried cards. */
.journey-host { --jr-card: #262A47; --jr-dim: #05081E; }
html[data-theme="light"] .journey-host { --jr-card: #F9F8F4; --jr-dim: #A7ABC0; }   /* multiplied: a soft grey, not ink */
html .journey-host .jr-card.jr-card { background-color: var(--jr-card) !important; will-change: transform; transform-origin: 50% 0; }   /* beats the generated light-theme rules */
.journey-host [data-pencil-name^="Stop · "], .journey-host [data-pencil-name="Side"] { will-change: transform; }
.jr-dim { position: absolute; inset: -1px; border-radius: inherit; background: var(--jr-dim); opacity: 0; pointer-events: none; z-index: 5; }
html[data-theme="light"] .jr-dim { mix-blend-mode: multiply; }
.jr-stacking .jr-stop { opacity: 1 !important; translate: none !important; transition: none !important; }
