/* ============================================================================
   LUX4RIDES — Homepage "Your journey, connected." (v4, 2026-09-26)

   Mobile first. The default layout (no JavaScript, reduced motion, phones and
   tablets) is a compact stacked sequence: each stage is a tappable header
   (real <button>, aria-expanded) with its explanation directly above its own
   illustration. Illustrations are labelled "Sample …" and the fictional-data
   note sits above and below the sequence.

   Desktop with JavaScript and motion allowed (.is-desk, set by home-journey.js)
   moves the four illustrations into one preview pinned beside the story and
   scrubs them with scroll; the story's active text holds level with the
   preview and a timeline fills with progress.

   Section chrome uses the homepage tokens (home-v2.css: --l4h-*). Everything
   inside an illustration uses the client tracker's own tokens (ops trip_track,
   tracker_view.php) so the miniature is the real thing at 0.9x.

   Motion contract: transform + opacity only, scroll-driven where it moves,
   ≤ 420 ms transitions elsewhere, everything reversible, no timers.
   ========================================================================== */

/* ---------- section ---------- */
.l4h-jc { --jc-hd: 64px; --jc-tail: 0px; --jc-text-top: 200px; scroll-margin-top: 72px; }
.l4h-jc .l4h-head { margin-bottom: clamp(18px, 2.6vw, 28px); }

/* the fictional-data note: visible, readable, above and below the sequence */
.l4h-jc__note {
  display: flex; align-items: flex-start; gap: 9px;
  max-width: 720px; margin: 0 0 22px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .55); border: 1px dashed rgba(20, 18, 14, .28);
  font-size: 13px; line-height: 1.55; color: var(--l4h-light-muted);
}
.l4h-jc__note strong { color: var(--l4h-light-text); font-weight: 700; }
.l4h-jc__note-ic { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; color: var(--l4h-gold-on-light); }
.l4h-jc__note--foot { margin: 26px 0 0; padding: 0; border: 0; background: transparent; font-size: 12.5px; }

/* ---------- the stacked sequence (default everywhere) ---------- */
.l4h-jc__grid { display: block; }
.l4h-jc__storywrap { position: relative; min-width: 0; max-width: 720px; }
.l4h-jc__story { list-style: none; margin: 0; padding: 0; }
.l4h-jc__st { margin: 0; border-top: 1px solid var(--l4h-hairline-light); }
.l4h-jc__st:first-child { border-top: 0; }
.l4h-jc__h { margin: 0; font: inherit; }
.l4h-jc__stbox { position: relative; }
.l4h-jc__trail { display: none; }

/* the stage header: a real button, obviously tappable (chevron), ≥ 56 px tall */
.l4h-jc__st-btn {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  column-gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 12px 6px 12px 4px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  scroll-margin-top: calc(var(--jc-hd) + 12px);
  transition: background var(--l4h-motion-fast) var(--l4h-ease-out),
              border-color var(--l4h-motion-fast) var(--l4h-ease-out),
              box-shadow var(--l4h-motion-fast) var(--l4h-ease-out),
              opacity 260ms var(--l4h-ease-out),
              transform var(--l4h-motion-fast) var(--l4h-ease-out);
}
.l4h-jc__st-btn:focus-visible { outline: 2px solid var(--l4h-gold-on-light); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .l4h-jc__st-btn:hover { background: rgba(255, 255, 255, .55); }
}
.l4h-jc__st-btn:active { transform: scale(.995); }
.l4h-jc__num {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(122, 87, 20, .45);
  background: var(--l4h-ivory-deep);
  color: var(--l4h-gold-on-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--l4h-serif); font-size: .98rem; line-height: 1;
  position: relative; z-index: 1;
  transition: background var(--l4h-motion-fast) var(--l4h-ease-out),
              color var(--l4h-motion-fast) var(--l4h-ease-out),
              border-color var(--l4h-motion-fast) var(--l4h-ease-out);
}
.l4h-jc__st-btn[aria-current="step"] .l4h-jc__num,
.l4h-jc__st-btn[aria-expanded="true"] .l4h-jc__num { background: var(--l4h-black); border-color: var(--l4h-black); color: var(--l4h-gold); }
.l4h-jc__t { display: block; min-width: 0; }
.l4h-jc__t strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: .01em; color: var(--l4h-light-text); }
.l4h-jc__sum { display: block; margin-top: 3px; font-family: var(--l4h-body); font-size: 12.5px; font-weight: 500; line-height: 1.45; color: var(--l4h-light-muted); }
.l4h-jc__chev { width: 20px; height: 20px; color: var(--l4h-gold-on-light); transition: transform 260ms var(--l4h-ease-out); }
.l4h-jc__st-btn[aria-expanded="false"] .l4h-jc__chev { transform: rotate(-90deg); }

/* the stage body: explanation, then its illustration; collapsible (grid-rows, transform-free) */
.l4h-jc__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 320ms var(--l4h-ease-out); }
.l4h-jc__st.is-closed .l4h-jc__panel { grid-template-rows: 0fr; }
.l4h-jc__panel[hidden] { display: none; }
.l4h-jc__st.is-instant .l4h-jc__panel, .l4h-jc__st.is-instant .l4h-jc__chev { transition: none !important; }
.l4h-jc__panel-in { min-height: 0; overflow: hidden; }
.l4h-jc__desc { margin: 0 0 12px 52px; max-width: 58ch; font-size: 14px; line-height: 1.65; color: var(--l4h-light-muted); }

/* ---------- illustrations: labelled, non-interactive ---------- */
.l4h-jc__scene {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  width: 100%; max-width: 392px; min-width: 0;
  margin: 0 0 22px 52px;
  --jc-bg: #f4f4f2; --jc-surface: #fff; --jc-ink: #121418; --jc-ink2: #4c5260; --jc-ink3: #6b7180;
  --jc-line: #e7e6e2; --jc-soft: #f7f7f5; --jc-gold: #b8952e; --jc-gold-ink: #7d6317;
  --jc-live: #128a52; --jc-live-ink: #0d6b3f; --jc-live-soft: #e5f5ec; --jc-night: #0f1115; --jc-r: 16px;
  --jc-pu: #16a34a; --jc-do: #dc2626;
  --jc-shadow: 0 1px 2px rgba(16, 18, 24, .05), 0 12px 32px -14px rgba(16, 18, 24, .22);
  --jc-serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --jc-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--jc-ink);
  font: 13.5px/1.45 var(--jc-sans);
  -webkit-font-smoothing: antialiased;
  cursor: default;
}
.jc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 8px; padding: 4px 9px;
  border: 1px dashed rgba(20, 18, 14, .35); border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font: 700 10.5px/1 var(--l4h-body); letter-spacing: .1em; text-transform: uppercase; color: var(--l4h-light-muted);
}
.jc-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--l4h-gold-on-light); }
/* the marker in the stacked layout rides the route as the illustration scrolls up the screen */
.jc-car--anim { opacity: 0; transition: opacity 220ms ease; }
.jc-car--anim.is-on { opacity: 1; }
.l4h-jc.is-live .jc-car--static { display: none; }
.l4h-jc:not(.is-live) .jc-car--anim { display: none; }
.l4h-jc:not(.is-live) .jc-route { stroke-dashoffset: 0; }
.jc-car-pulse { transform-box: fill-box; transform-origin: center; }
.l4h-jc.is-live .l4h-jc__scene--live.is-active .jc-car--anim.is-on .jc-car-pulse { animation: jcRing 2s ease-out infinite; }
@keyframes jcRing { from { transform: scale(1); opacity: .22; } to { transform: scale(2.2); opacity: 0; } }
.jc-fade-in { opacity: 1; }

/* ---------- desktop with JavaScript: pinned preview beside the story ---------- */
.l4h-jc__pin { display: none; }
.l4h-jc.is-desk .l4h-jc__note--foot { display: none; }
.l4h-jc.is-desk .l4h-jc__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.l4h-jc.is-desk .l4h-jc__storywrap { max-width: none; padding-bottom: var(--jc-tail); }
.l4h-jc.is-desk .l4h-jc__trail { display: block; position: absolute; left: 30px; top: 40px; bottom: calc(var(--jc-tail) + 40px); width: 2px; border-radius: 1px; background: rgba(20, 18, 14, .1); pointer-events: none; }
.l4h-jc.is-desk .l4h-jc__trail b { position: absolute; inset: 0; border-radius: 1px; background: linear-gradient(180deg, var(--l4h-gold-on-light), var(--l4h-gold)); transform: scaleY(0); transform-origin: top center; }
.l4h-jc.is-desk .l4h-jc__st { border-top: 0; display: flex; align-items: flex-start; min-height: max(170px, 30vh); }
.l4h-jc.is-desk .l4h-jc__st:first-child { min-height: max(220px, 40vh); }
.l4h-jc.is-desk .l4h-jc__st:last-child  { min-height: max(300px, 54vh); }
.l4h-jc.is-desk .l4h-jc__stbox {
  position: sticky; top: var(--jc-text-top);
  width: 100%;
  padding: 6px 14px 12px; border: 1px solid transparent; border-radius: 14px;
  transition: background var(--l4h-motion-fast) var(--l4h-ease-out), border-color var(--l4h-motion-fast) var(--l4h-ease-out), box-shadow var(--l4h-motion-fast) var(--l4h-ease-out), opacity 260ms var(--l4h-ease-out);
  opacity: .55;
}
.l4h-jc.is-desk .l4h-jc__st.is-current .l4h-jc__stbox { opacity: 1; background: #fff; border-color: var(--l4h-hairline-light); box-shadow: 0 10px 28px -20px rgba(20, 18, 14, .35); }
.l4h-jc.is-desk .l4h-jc__st-btn { min-height: 44px; padding: 8px 0 4px; grid-template-columns: 34px minmax(0, 1fr); }
.l4h-jc.is-desk .l4h-jc__st-btn:hover { background: transparent; }
.l4h-jc.is-desk .l4h-jc__chev { display: none; }
.l4h-jc.is-desk .l4h-jc__sum { display: none; }
.l4h-jc.is-desk .l4h-jc__panel { grid-template-rows: 1fr !important; }
.l4h-jc.is-desk .l4h-jc__desc { margin: 0 0 0 48px; font-size: 13.5px; line-height: 1.6; }
.l4h-jc.is-desk .l4h-jc__pin { display: block; position: sticky; top: calc(var(--jc-hd) + 20px); align-self: start; }
.l4h-jc.is-desk .l4h-jc__pin::before {
  content: ""; position: absolute; inset: -24px -10% -10px;
  background: radial-gradient(55% 45% at 50% 38%, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}
.l4h-jc.is-desk .l4h-jc__stage {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr);
  width: 100%; max-width: 392px; margin-inline: auto;
  overflow: hidden; contain: layout paint;
}
.l4h-jc.is-desk .l4h-jc__scene {
  grid-area: 1 / 1; margin: 0; max-width: none; align-items: center;
  padding: 4px 2px 6px;
  opacity: 0; pointer-events: none; will-change: opacity, transform;
}
.l4h-jc.is-desk .l4h-jc__scene .jc-tag { align-self: flex-start; }
.l4h-jc.is-desk .l4h-jc__scene--assign { align-self: start; padding-top: 48px; }
.l4h-jc.is-desk .l4h-jc__scene--mail { align-self: center; }
.l4h-jc.is-desk.is-clipped .l4h-jc__scene--mail { align-self: start; }
.l4h-jc.is-desk .l4h-jc__scene.is-active { z-index: 2; }
.l4h-jc.is-desk.is-clipped .l4h-jc__stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 3;
  background: linear-gradient(to bottom, rgba(239, 234, 225, 0), var(--l4h-ivory-deep));
  pointer-events: none;
}
.l4h-jc.is-desk .jc-fade-in { opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity 360ms var(--l4h-ease-out), transform 420ms var(--l4h-ease-out); }
.l4h-jc.is-desk .l4h-jc__scene.is-active .jc-fade-in { opacity: 1; transform: none; transition-delay: 200ms; }
.l4h-jc.is-desk .l4h-jc__scene.is-active .jc-rows.jc-fade-in { transition-delay: 320ms; }
.l4h-jc__cap { position: relative; z-index: 1; width: 100%; max-width: 392px; margin: 12px auto 0; }
.l4h-jc__caption { margin: 0; font-size: 12px; line-height: 1.5; color: var(--l4h-light-muted); }

/* ---------- miniature tracker (tokens above) ---------- */
.jc-sheet { width: 100%; max-width: 384px; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.jc-sheet--sm { max-width: 348px; }
.jc-card { background: var(--jc-surface); border: 1px solid var(--jc-line); border-radius: var(--jc-r); box-shadow: var(--jc-shadow); }
.jc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 4px; }
.jc-brand { font-family: var(--jc-serif); font-size: 15px; letter-spacing: .28em; color: var(--jc-ink); }
.jc-brand b { color: var(--jc-gold); font-weight: 400; }
.jc-conf { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.jc-conf span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--jc-ink3); }
.jc-conf strong { font: 600 12.5px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.jc-hero { padding: 14px 16px 13px; }
.jc-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--jc-gold-ink); }
.jc-eyebrow .jc-ic { width: 14px; height: 14px; }
.jc-hero--live .jc-eyebrow { color: var(--jc-live-ink); }
.jc-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--jc-live); box-shadow: 0 0 0 0 rgba(18, 138, 82, .45); }
.l4h-jc__scene--live.is-active .jc-pulse { animation: jcPulse 2s infinite; }
@keyframes jcPulse { 70% { box-shadow: 0 0 0 8px rgba(18, 138, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 138, 82, 0); } }
.jc-h1 { font-family: var(--jc-serif); font-weight: 400; font-size: 21px; line-height: 1.15; letter-spacing: -.005em; margin: 7px 0 4px; text-wrap: balance; }
.jc-sub { margin: 0; color: var(--jc-ink2); font-size: 13px; }
.jc-ticker { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 7px 11px; border-radius: 11px; background: var(--jc-live-soft); color: var(--jc-live-ink); font-size: 12.5px; font-weight: 600; min-height: 32px; }
.jc-tk-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jc-live); flex: 0 0 auto; }
.l4h-jc__scene--live.is-active .jc-tk-dot { animation: jcTkp 1.6s ease-in-out infinite; }
@keyframes jcTkp { 50% { opacity: .35; } }
.jc-eta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--jc-line); }
.jc-eta-k { display: block; font-size: 11.5px; color: var(--jc-ink3); }
.jc-eta-v { display: block; font: 600 28px/1 var(--jc-sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.jc-eta-v small { font-size: 13px; font-weight: 600; color: var(--jc-ink2); margin-left: 3px; }
.jc-eta-at { font-size: 13px; color: var(--jc-ink2); text-align: right; font-variant-numeric: tabular-nums; }
.jc-steps { display: flex; gap: 4px; margin-top: 11px; }
.jc-steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--jc-line); }
.jc-steps i.on { background: var(--jc-gold); }
.jc-steps-l { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11px; color: var(--jc-ink3); }
.jc-steps-l b { color: var(--jc-ink); font-weight: 600; }

.jc-map { position: relative; height: 122px; border-radius: var(--jc-r); overflow: hidden; background: var(--jc-soft); border: 1px solid var(--jc-line); }
.jc-map--preview { height: 112px; }
.jc-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.jc-map-tag { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 999px; background: var(--jc-surface); color: var(--jc-ink2); font-size: 11.5px; font-weight: 600; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.jc-gps { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--jc-ink2); padding: 0 4px; }
.jc-gps-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jc-live); box-shadow: 0 0 0 3px var(--jc-live-soft); flex: 0 0 auto; }
.jc-howto { margin: 0; padding: 0 4px; }
.jc-howto-s { display: inline-flex; align-items: center; gap: 6px; min-height: 22px; font-size: 12px; font-weight: 600; color: var(--jc-ink2); }
.jc-howto-s .jc-ic { width: 14px; height: 14px; color: var(--jc-gold-ink); }
.jc-howto-s::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }

.jc-drv { display: flex; align-items: center; gap: 12px; padding: 14px; }
.jc-av { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 50%; background: var(--jc-night); color: var(--jc-gold); display: flex; align-items: center; justify-content: center; font: 400 20px var(--jc-serif); }
.jc-drv-m { min-width: 0; flex: 1; }
.jc-drv-k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--jc-ink3); }
.jc-drv-n { font-size: 16px; font-weight: 600; margin-top: 1px; }
.jc-drv-c { font-size: 13px; color: var(--jc-ink2); }
.jc-drv-car { flex: 0 0 96px; width: 96px; height: 58px; border-radius: 12px; background: radial-gradient(ellipse at 50% 62%, #fff 40%, #f1ede2); box-shadow: inset 0 0 0 1px var(--jc-line); display: flex; align-items: center; justify-content: center; overflow: hidden; align-self: center; }
.jc-drv-car img { width: 108%; height: 100%; object-fit: contain; display: block; }
.jc-plate-w { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 7px; }
.jc-plate-k { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jc-ink3); }
/* CA-style display plate, demo branding: white plate, navy characters, double inner border */
.jc-plate { display: inline-flex; align-items: center; padding: 3px 9px 2px; border-radius: 6px; background: #fdfdfb; color: #14213d; border: 1.5px solid #c9ced8; box-shadow: inset 0 0 0 2px #fdfdfb, inset 0 0 0 3px #e3e6ec; font: 700 12.5px/1.2 "SF Mono", ui-monospace, Menlo, monospace; letter-spacing: .16em; }
.jc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 14px; }
.jc-btn { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 8px; border-radius: 12px; background: var(--jc-night); color: #fff; font: 600 12.5px var(--jc-sans); white-space: nowrap; }
.jc-btn--ghost { background: transparent; color: var(--jc-ink); border: 1px solid var(--jc-line); }
.jc-btn .jc-ic { width: 15px; height: 15px; flex: 0 0 auto; }
.jc-safety { margin: -6px 14px 12px; font-size: 11px; line-height: 1.45; color: var(--jc-ink3); }
.jc-rows { padding: 0 14px 12px; }
.jc-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--jc-line); }
.jc-row-k { font-size: 12px; color: var(--jc-ink3); }
.jc-row-v { font-size: 13px; }
.jc-mono { font: 600 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.jc-assign { padding-top: 14px; }
.jc-assign .jc-eyebrow { padding: 0 14px; }
.jc-drv--assign { padding-top: 10px; }

/* ---------- the email as the concierge sends it (email_shell.php palette) ---------- */
.jc-mail { width: 100%; background: #fff; border-radius: 16px; border: 1px solid var(--jc-line); box-shadow: var(--jc-shadow); overflow: hidden; }
.jc-mail-hd { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--jc-line); min-width: 0; }
.jc-mail-av { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--jc-night); color: #d4af37; display: flex; align-items: center; justify-content: center; font: 400 15px Georgia, serif; }
.jc-mail-meta { min-width: 0; flex: 1; }
.jc-mail-from { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-mail-from span { font-weight: 400; color: var(--jc-ink3); margin-left: 4px; }
.jc-mail-subj { font-size: 12px; color: var(--jc-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-mail-time { font-size: 11.5px; color: var(--jc-ink3); flex: 0 0 auto; align-self: flex-start; }
.jc-mail-body { background: #e9eaee; padding: 12px; }
.jc-mail-brand { background: #0f1115; color: #d4af37; font: 400 16px Georgia, "Times New Roman", serif; letter-spacing: 6px; text-align: center; padding: 16px 10px 13px; border-radius: 12px 12px 0 0; }
.jc-mail-brand small { display: block; margin-top: 8px; color: #b3b8c4; font: 400 10px var(--jc-sans); letter-spacing: 3px; text-transform: uppercase; }
.jc-mail-inner { background: #fff; padding: 14px 16px 16px; border-radius: 0 0 12px 12px; }
.jc-mail-eyebrow { color: #927019; font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; }
.jc-mail-h { font: 400 19px/1.25 Georgia, serif; color: #15171e; margin-top: 7px; }
.jc-mail-p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: #565b68; }
.jc-mail-drv { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #0f1115; color: #fff; }
.jc-mail-mono { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #d4af37; color: #0f1115; display: flex; align-items: center; justify-content: center; font: 400 17px Georgia, serif; }
.jc-mail-k { color: #6f7583; font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; }
.jc-mail-drv .jc-mail-k { color: #a9aebb; }   /* grey label on the dark card: 8:1, not 4:1 */
.jc-mail-n { font: 400 15px Georgia, serif; color: #fff; margin-top: 2px; }
.jc-mail-v { color: #b7bcc8; font-size: 12px; margin-top: 2px; }
.jc-mail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.jc-mail-d { font: 400 13.5px Georgia, serif; color: #15171e; margin-top: 3px; }
.jc-mail-route { margin-top: 12px; padding-top: 12px; border-top: 1px solid #ececec; display: grid; gap: 9px; }
.jc-mail-rt { display: flex; gap: 10px; align-items: flex-start; }
.jc-mail-rt > span { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; flex: 0 0 auto; }
.jc-mail-rt--pu > span { background: #d4af37; }
.jc-mail-rt--do > span { background: #15171e; }
.jc-mail-a { font-size: 12.5px; color: #15171e; margin-top: 1px; }
.jc-mail-btn { display: block; margin: 14px auto 0; width: max-content; max-width: 100%; padding: 11px 26px; border-radius: 9px; background: #0f1115; color: #d4af37; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; transition: transform 160ms var(--l4h-ease-out); }
.jc-mail-btn.is-pressed { transform: scale(.96); }
.jc-mail-btn--blue { background: #1a73e8; color: #fff; margin-top: 8px; }

/* ---------- phones and small tablets ---------- */
@media (max-width: 900px) {
  .l4h-jc__desc { margin-left: 0; }
  .l4h-jc__scene { margin-left: 0; }
  /* the live stage repeats the chauffeur card from the stage above it; keep the sequence compact */
  .l4h-jc__scene--live .jc-card:last-child { display: none; }
}
@media (max-width: 560px) {
  .jc-actions { gap: 6px; padding: 0 12px 12px; }
  .jc-btn { font-size: 12px; gap: 6px; padding: 0 6px; }
  .jc-drv { padding: 12px; gap: 10px; }
  .jc-howto { display: none; }
  .jc-mail-p { display: none; }
  .jc-mail-body { padding: 10px; }
  .jc-mail-inner { padding: 12px 14px 14px; }
  .jc-mail-brand { padding: 13px 10px 11px; }
  .jc-mail-btn { margin-top: 10px; }
  .jc-map { height: 112px; }
  .jc-map--preview { height: 100px; }
  .l4h-jc__st-btn { min-height: 56px; }
  .l4h-jc__t strong { font-size: 15.5px; }
  .l4h-jc__note { font-size: 12.5px; }
}
@media (max-width: 400px) {
  .jc-drv-car { flex-basis: 84px; width: 84px; height: 52px; }
}

/* ---------- reduced motion: static sequence, no travel, no fades ---------- */
@media (prefers-reduced-motion: reduce) {
  .l4h-jc__panel, .l4h-jc__chev, .l4h-jc__st-btn, .l4h-jc__stbox, .jc-fade-in, .jc-mail-btn, .jc-car--anim { transition: none !important; }
  .jc-pulse, .jc-tk-dot, .jc-car-pulse { animation: none !important; }
}
