/* ==========================================================================
   roadmap.css  -  ROADMAP (CONTENT)
   Used by: <section id="roadmap"> in index.html.
   Classes "done" and "now" are added by js/roadmap.js using today's date.
   ========================================================================== */

/* STAGES: the list of 5 stages. One column on phones. */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
/* Bigger screens: 5 stages side by side. */
@media (min-width: 700px) { .stages { grid-template-columns: repeat(5, 1fr); gap: 0; } }
/* One stage with a coloured line on top. */
.stage-item { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 0 0; border-top: 3px solid var(--border-dark); }
/* Finished stage: dark line. */
.stage-item.done { border-top-color: var(--text-main); }
/* Stage in progress: blue line. */
.stage-item.now { border-top-color: var(--brand-blue); }
/* The dates of the stage. */
.stage-item .when { min-height: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 11.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-small); }
/* Stage title. */
.stage-item h3 { font-weight: 300; font-size: clamp(22px, 2vw, 26px); line-height: 1.1; letter-spacing: -.03em; }
/* Stage text. */
.stage-item p { font-size: 15px; color: var(--text-body); }
/* The "You are here" badge. Hidden unless the stage is "now". */
.here { display: none; padding: 3px 7px; background: var(--brand-blue); color: #fff; font: 10.5px var(--font-mono); letter-spacing: .08em; border-radius: 3px; }
/* Show the badge on the current stage. */
.stage-item.now .here { display: inline-block; }
/* The tick mark. Hidden unless the stage is "done". */
.done-tick { display: none; color: var(--text-main); }
/* Show the tick on a finished stage. */
.stage-item.done .done-tick { display: inline; }
