/* Parcours: a compact dated timeline, shared by the homepage menu and /projets/. */
.journey { width: 100%; max-width: 987px; margin-inline: auto; color: #ececf6; text-align: left; }
.journey-title { margin: 0 0 8px; font-size: 1.3rem; font-weight: 700; letter-spacing: .02em; color: #fff; }
.journey-lead { margin: 0 0 21px; color: #b9bdd0; font-size: .9rem; }
.journey-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.journey-step { position: relative; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 4px 21px; padding: 16px 18px 16px 21px; border: 1px solid #38384b; border-left: 3px solid #53fff4; border-radius: 10px; background: #191926cc; }
.journey-date { margin: 0; font: 700 .78rem/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; color: #53fff4; text-transform: uppercase; }
.journey-step h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; color: #fff; }
.journey-body { min-width: 0; }
.journey-items { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .86rem; line-height: 1.55; color: #c9cbd8; }
.journey-items li { position: relative; padding-left: 14px; }
.journey-items li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: #53fff4aa; }
.journey a { color: #94f1df; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.journey a:hover { color: #fff; }
.journey a:focus-visible { outline: 2px solid #53fff4; outline-offset: 3px; border-radius: 2px; }
.journey-items time { white-space: nowrap; color: #e4e6f0; }
@media (max-width: 600px) {
  .journey-step { grid-template-columns: minmax(0, 1fr); padding: 14px 14px 14px 16px; }
  .journey-items { font-size: .84rem; }
}

/* Parcours in a dialog opened from the menu, so the menu keeps its terminal-first layout. */
.journey-dialog { inset: 0; margin: auto; width: min(987px, calc(100vw - 32px)); max-height: calc(100dvh - 64px); padding: 34px 21px 21px; border: 1px solid #53fff455; border-radius: 13px; background: #12121ef2; color: #ececf6; box-shadow: 0 0 34px #53fff42e; overflow-y: auto; overscroll-behavior: contain; }
.journey-dialog::backdrop { background: #05050ab3; backdrop-filter: blur(5px); }
.journey-dialog[open] { animation: journey-in .2s ease-out; }
@keyframes journey-in { from { opacity: 0; transform: translateY(13px); } }
.journey-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: #c9f6ff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.journey-close:hover { color: #53fff4; }
.journey-close:focus-visible { outline: 2px solid #53fff4; outline-offset: 2px; }
.menu-journey-open { border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.menu-journey-open:hover .menu-project-mark { border-color: #53fff4; box-shadow: 0 0 13px #53fff44d; }
.menu-journey-open:focus-visible { outline: 3px solid #53fff4; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .journey-dialog[open] { animation: none; } }
