/* ══════════════════════════════════════════════════════════════════
   Corbit — About page
   Ported 1:1 from the "Corbit About- Final" canvas.
   Sections: manifesto hero · origin timeline · final CTA
   ══════════════════════════════════════════════════════════════════ */

/* ═══════════ 02 · ORIGIN ═══════════ */
.origin {
  background: var(--white);
  border-top: 1px solid var(--border-main);
}
.origin__inner { padding: 104px var(--gutter) 110px; }

.origin__head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.origin__kicker {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--gray-800);
  margin-bottom: 26px;
}
.origin__title {
  margin: 0;
  font-size: 46px;
  line-height: 1.42;
  font-weight: var(--fw-black);
  letter-spacing: -.03em;
  color: var(--black);
}

/* The origin story reads as a route, not a list: the connector fills
   exactly as fast as the reader scrolls. */
.timeline {
  display: flex;
  flex-direction: column;
  max-width: 940px;
}
.timeline__row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: start;
  padding-bottom: 54px;
}
.timeline__row:last-child { padding-bottom: 0; }

.timeline__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}

/* the marker carries the state: hairline square when unreached,
   solid navy once passed, cyan halo on the one being read */
.timeline__dot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  direction: ltr;
  font-family: var(--font-fa);
  font-size: 14px;
  font-weight: var(--fw-bold);
  background: var(--white);
  border: 1px solid #DADCE0;
  color: #9A9DA5;
  box-shadow: 0 0 0 0 rgba(1, 233, 197, 0);
  transition: background .3s ease, border-color .3s ease,
              color .3s ease, box-shadow .3s ease;
}
.timeline__row.is-reached .timeline__dot {
  background: var(--blue-8);
  border-color: var(--blue-8);
  color: var(--white);
}
.timeline__row.is-current .timeline__dot {
  box-shadow: 0 0 0 5px rgba(1, 233, 197, .16);
}

.timeline__track {
  position: absolute;
  top: 38px;
  bottom: 0;
  width: 2px;
  background: #E9EAEE;
}
.timeline__fill {
  position: absolute;
  top: 38px;
  width: 2px;
  height: 0;
  background: var(--mint-7);
}
.timeline__row:last-child .timeline__track,
.timeline__row:last-child .timeline__fill { display: none; }

.timeline__body {
  padding-top: 4px;
  opacity: .45;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.22, .61, .36, 1);
}
.timeline__row.is-reached .timeline__body {
  opacity: 1;
  transform: translateY(0);
}
.timeline__title {
  font-size: 23px;
  font-weight: var(--fw-bold);
  line-height: 1.65;
  letter-spacing: -.018em;
  color: var(--black);
  margin-bottom: 14px;
}
.timeline__text {
  margin: 0;
  font-size: 16px;
  line-height: 2.1;
  color: var(--gray-1000);
}

.origin__close {
  margin: 64px 0 0;
  padding: 4px 26px 4px 0;
  border-right: 2px solid var(--mint-7);
  font-size: 16.5px;
  line-height: 2.1;
  color: var(--gray-1100);
}

/* ══════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .origin__inner { padding: 72px var(--gutter) 76px; }
  .origin__head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }
  .origin__title { font-size: 32px; }
  .timeline__row { gap: 20px; padding-bottom: 40px; }
  .timeline__title { font-size: 19px; }
  .origin__close { margin-top: 44px; }
}

@media (max-width: 620px) {
  .origin__title { font-size: 26px; }
  .timeline__dot { width: 32px; height: 32px; font-size: 12.5px; }
  .timeline__track,
  .timeline__fill { top: 32px; }
  .timeline__text { font-size: 15px; }
}
