/* Project process: one continuous sequence using the page's natural scroll. */
.process-timeline{
  --timeline-marker-size:44px;
  --timeline-accent:#817bff;
  --timeline-marker-filled:#1a16c4;
  --timeline-progress:1;
  --timeline-track-color:#ffffff20;
  padding-block:var(--space-section);
}
.process-layout{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1fr);
  gap:var(--space-layout);
  align-items:start;
}
.timeline-intro{
  position:sticky;
  top:130px;
}
.timeline-intro>.section-title{
  margin-bottom:16px;
  color:#a6a0c4;
  font-size:12px;
  line-height:1.5;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.timeline-intro h2{
  max-width:14ch;
  font-size:var(--type-h2);
  line-height:1.12;
}
.timeline-track{position:relative;min-width:0}
.timeline-rail{
  display:none;
  position:absolute;
  top:var(--timeline-rail-top,22px);
  left:calc(var(--timeline-marker-size) / 2 - 1px);
  width:2px;
  height:var(--timeline-rail-height,calc(100% - 44px));
  background:var(--timeline-track-color);
  border-radius:2px;
  pointer-events:none;
}
.timeline-fill{
  display:block;
  width:100%;
  height:100%;
  background:linear-gradient(180deg,#a49fff,var(--timeline-accent));
  border-radius:inherit;
  transform:scaleY(var(--timeline-progress));
  transform-origin:top center;
}
.timeline-steps{list-style:none;margin:0;padding:0}
.timeline-step{
  position:relative;
  display:grid;
  grid-template-columns:var(--timeline-marker-size) minmax(0,1fr);
  align-items:start;
  column-gap:24px;
  min-height:210px;
  padding-bottom:56px;
}
.timeline-step:last-child{min-height:0;padding-bottom:0}
/* A complete, aligned line remains visible when scripting is unavailable. */
.timeline-step:not(:last-child)::before{
  content:"";
  position:absolute;
  top:calc(var(--timeline-marker-size) / 2);
  left:calc(var(--timeline-marker-size) / 2 - 1px);
  width:2px;
  height:100%;
  background:var(--timeline-accent);
  pointer-events:none;
}
.timeline-marker{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  width:var(--timeline-marker-size);
  height:var(--timeline-marker-size);
  border:1px solid var(--timeline-marker-filled);
  border-radius:50%;
  background:var(--timeline-marker-filled);
  color:#fff;
  font-size:12px;
  font-weight:550;
  font-variant-numeric:tabular-nums;
  transition:background .25s ease,border-color .25s ease,box-shadow .25s ease,color .25s ease;
}
.timeline-copy{padding-top:5px;min-width:0}
.timeline-copy h3{margin-bottom:16px;font-size:var(--type-h3);line-height:1.15}
.timeline-copy p{max-width:43ch;color:#b5afc9;font-size:16px;line-height:1.7}
.process-timeline[data-timeline-ready] .timeline-rail{display:block}
.process-timeline[data-timeline-ready] .timeline-step::before{display:none}
.process-timeline[data-timeline-ready] .timeline-step[data-timeline-state="upcoming"] .timeline-marker{
  background:#111019;
  border-color:#ffffff35;
  color:#b5afc9;
}
.process-timeline[data-timeline-ready] .timeline-step[data-timeline-state="current"] .timeline-marker{
  box-shadow:0 0 0 7px #1a16c430;
}
@media(max-width:1100px){
  .process-layout{gap:48px}
  .timeline-step{column-gap:22px}
}
/* This matches the site's tablet breakpoint, keeping both columns readable. */
@media(max-width:850px){
  .process-timeline{padding-block:var(--space-section)}
  .process-layout{grid-template-columns:1fr;gap:48px}
  .timeline-intro{position:static}
  .timeline-intro h2{max-width:24ch;font-size:var(--type-h2)}
  .timeline-step{min-height:185px;padding-bottom:48px;column-gap:24px}
  .timeline-copy h3{font-size:28px}
  .timeline-copy p{max-width:55ch}
}
@media(max-width:680px){
  .process-timeline{--timeline-marker-size:38px;padding-block:var(--space-section)}
  .process-layout{gap:32px}
  .timeline-intro>.section-title{margin-bottom:16px;font-size:12px}
  .timeline-intro h2{font-size:32px}
  .timeline-step{min-height:0;padding-bottom:40px;column-gap:20px}
  .timeline-marker{font-size:11px}
  .timeline-copy{padding-top:4px}
  .timeline-copy h3{font-size:24px;margin-bottom:16px}
  .timeline-copy p{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  .timeline-fill{transform:scaleY(1)}
  .timeline-marker{transition:none!important}
  .process-timeline[data-timeline-ready] .timeline-step .timeline-marker{
    background:var(--timeline-marker-filled);
    border-color:var(--timeline-marker-filled);
    color:#fff;
    box-shadow:none;
  }
}
@media print{
  .timeline-intro{position:static}
  .timeline-fill{transform:scaleY(1)}
  .timeline-step{break-inside:avoid}
}
