/* ==========================================================================
   LVS AirSearch — journey page (vertical project timeline)
   ========================================================================== */

.journey{ background: var(--studio-2); }

/* ---------- Timeline ---------- */

.timeline{
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  row-gap: 2.4rem;
}

/* The connecting line sits in the gap between the two columns — the gap's
   centre lands exactly on the grid's horizontal centre as long as both
   columns are equal width, so a plain left:50% lines it up perfectly. */
.timeline::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--hairline);
  transform: translateX(-50%);
}

.timeline-item{
  position: relative;
  grid-column: 1;
  align-self: start;
}

.timeline-item:nth-child(even){ grid-column: 2; }

.timeline-node{
  position: absolute;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px var(--studio-2);
}

.timeline-item:nth-child(odd) .timeline-node{ right: calc(-1.5rem - 7px); }
.timeline-item:nth-child(even) .timeline-node{ left: calc(-1.5rem - 7px); }

.timeline-card{
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 1.5rem 1.7rem;
}

.timeline-date{
  display: inline-block;
  margin-bottom: 0.5rem;
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--signal);
}

.timeline-card h3{
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}

.timeline-card p{
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
}

.timeline-link{
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--signal);
  text-decoration: none;
}

.timeline-link:hover{ text-decoration: underline; }

.timeline-photo{
  display: block;
  margin: -1.5rem -1.7rem 1.2rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.timeline-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.timeline-photo:hover img{ transform: scale(1.04); }

/* Award milestone — a small accent lift, nothing loud */

.timeline-item--award .timeline-card{
  border-color: var(--amber);
}

/* The award photo is a square collage (team group shot + a title banner
   along the bottom) — the default 16/10 crop would cut the banner off. */
.timeline-item--award .timeline-photo{
  aspect-ratio: 1 / 1;
}

.timeline-item--award .timeline-date{ color: var(--amber); }

.timeline-node--award{
  background: var(--amber);
}

/* Separator between what's done and what's next */

.timeline-separator{
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 0.4rem 0;
}

.timeline-separator span{
  padding: 0.55rem 1.5rem;
  background: var(--ink);
  color: var(--footer-bone);
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* Roadmap item — full width, visually set apart as "not built yet" */

.timeline-item--future{
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 640px;
}

.timeline-item--future .timeline-node{
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--studio-2);
}

.timeline-node--future{
  background: transparent;
  border: 2px dashed var(--slate);
}

.timeline-item--future .timeline-card{
  border: 1.5px dashed var(--slate);
  background: transparent;
  text-align: center;
  padding: 2rem 1.8rem;
}

.timeline-item--future .timeline-date{ color: var(--slate); }

@media (max-width: 760px){
  .timeline{
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .timeline::before{ left: 6px; }

  .timeline-item{ grid-column: 1; padding-left: 2.1rem; }
  .timeline-item:nth-child(even){ grid-column: 1; }

  .timeline-item:nth-child(odd) .timeline-node,
  .timeline-item:nth-child(even) .timeline-node{ left: -1.5px; right: auto; }

  .timeline-item--future{ padding-left: 2.1rem; }
  .timeline-item--future .timeline-node{
    top: 0.3rem;
    left: -1.5px;
    transform: none;
  }
}

.journey-credit{
  margin: 2.5rem 0 0;
  font-size: 0.85rem;
  color: var(--slate);
}

.journey-credit a{
  color: var(--signal);
  text-decoration: none;
}

.journey-credit a:hover{ text-decoration: underline; }

.timeline-link,
.journey-credit a{
  display: inline-block;
  padding: 0.95rem 0;
}
