/* ==========================================================================
   Journey — horizontal, scroll-driven experience timeline (homepage)
   Vertical scroll moves the track sideways along a squiggly line. One stop
   fills the stage at a time. Without JS the track is a plain horizontal scroller.
   ========================================================================== */

.journey { position: relative; margin-top: 140px; }

.journey-pin {
  --nav-h: 80px;
  --line-h: clamp(100px, 15vh, 150px);
  --node-x: 40px;
  --card-w: min(1080px, calc(100vw - 2 * var(--gutter) - 160px));
  --side: calc((100vw - var(--card-w)) / 2);
  position: relative;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--black);
}
.journey.is-live .journey-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding-top: var(--nav-h);
  overflow: hidden;
  border-top: none;
}

/* Header: the current chapter */
.journey-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
}
.journey-now { display: inline-flex; align-items: center; gap: 14px; }
.journey-now-num {
  display: inline-grid;
  place-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 9999px;
  background: var(--blue);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
}
.journey-now-label {
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.journey-now-label, .journey-now-num { transition: opacity .25s var(--ease), transform .35s var(--ease-out); }
.journey-now.is-swapping .journey-now-label,
.journey-now.is-swapping .journey-now-num { opacity: 0; transform: translateY(6px); }
.journey-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: opacity .4s var(--ease);
}
.journey-hint svg { width: 14px; height: 14px; }
.journey.is-moving .journey-hint { opacity: 0; }

/* Track */
.journey-viewport { position: relative; flex: 1; min-height: 0; overflow-x: auto; }
.journey.is-live .journey-viewport { overflow: hidden; }
.journey-track { position: relative; width: max-content; height: 100%; }
.journey.is-live .journey-track { position: absolute; top: 0; left: 0; will-change: transform; }

.journey-line { position: absolute; top: 0; left: 0; overflow: visible; pointer-events: none; }
.journey-line path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.journey-line-base { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 2 7; }
.journey-line-drawn { stroke: var(--blue); stroke-width: 2.5; }

.journey-traveler {
  position: absolute;
  top: 0; left: 0;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(0, 111, 237, 0.16);
  pointer-events: none;
  opacity: 0;
}
.journey.is-live .journey-traveler { opacity: 1; }

.journey-stops {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: calc(var(--side) + 40px);
  height: 100%;
  padding: var(--line-h) var(--side) 36px;
}
.journey:not(.is-live) .journey-stops { height: auto; padding-left: var(--gutter); padding-right: var(--gutter); gap: 40px; }

.stop {
  --node-y: calc(var(--line-h) * 0.55);
  position: relative;
  flex-shrink: 0;
  width: var(--card-w);
  display: flex;
  flex-direction: column;
}

/* Node on the line + stem down to the card */
.stop::before, .stop::after { content: ''; position: absolute; left: var(--node-x); pointer-events: none; }
.stop::after {
  top: calc(var(--node-y) - var(--line-h));
  height: calc(var(--line-h) - var(--node-y) + 22px);
  width: 1px;
  background: var(--line);
  transition: background-color .5s var(--ease);
}
.stop::before {
  z-index: 1;
  top: calc(var(--node-y) - var(--line-h));
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
  background: var(--cream);
  transform: translate(-50%, -50%);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
/* First stop of each chapter: the node becomes a numbered pill */
.stop.is-chapter-start::before {
  content: attr(data-chapter);
  width: auto; height: 28px;
  padding: 0 11px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
}
.stop.is-reached::before { background: var(--blue); border-color: var(--blue); color: var(--cream); }
.stop.is-reached::after { background: var(--black); }

/* Dates ride above the node */
.stop-when {
  position: absolute;
  left: calc(var(--node-x) + 26px);
  top: calc(var(--node-y) - var(--line-h) - 9px);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-2);
  transition: color .4s var(--ease);
}
.stop.is-reached .stop-when { color: var(--black); }

/* The stage card */
.stop-card {
  flex: none;
  margin-top: 22px;
  padding: clamp(28px, 3.4vw, 52px);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4vw, 64px);
  background: var(--cream);
  border: 1px solid var(--black);
  overflow: hidden;
  opacity: .4;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .9s var(--ease-out);
}
.stop.is-reached .stop-card { opacity: 1; transform: none; }
.journey:not(.is-live) .stop-card { opacity: 1; transform: none; }

.stop-id { display: flex; flex-direction: column; }
.stop-id .stop-figures { margin-top: auto; padding-top: 32px; gap: 20px 32px; flex-wrap: nowrap; }
.stop-id .stop-figure { flex: 1 1 0; min-width: 0; }
.stop-id .stop-figure:only-child { flex: none; }
.stop-card strong { color: var(--black); font-weight: 500; }
.stop-role {
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}
.stop-org {
  margin-top: 14px;
  font-size: var(--fs-h4);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--blue);
}
.stop-meta {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink-2);
}

.stop-body { display: flex; flex-direction: column; min-height: 0; }
.stop-lead { color: var(--ink-2); font-size: 1.06rem; line-height: 1.6; }
.stop-lead + .stop-lead { margin-top: 14px; }
.stop-lead + .stop-points { margin-top: 18px; }
.stop-points { list-style: none; display: grid; gap: 14px; }
.stop-points li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.55;
}
.stop-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.72em;
  width: 10px; height: 1.5px;
  background: var(--blue);
}
.stop-card .xp-stack { margin-top: 22px; gap: 6px; }
.stop-card .proof-row { margin-top: auto; padding-top: 24px; }

.stop-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
}
.stop-figures + .proof-row { margin-top: 0; }
.stop-figure { display: flex; flex-direction: column; gap: 8px; }
.stop-figure strong { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.05em; line-height: 0.9; }
.stop-figure span { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; color: var(--ink-2); }

/* Role / coverage progression: dots joined by a line */
.stop-progress { list-style: none; display: flex; margin-top: 32px; }
.stop-progress li { position: relative; flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 30px 16px 0 0; }
.stop-progress li::before {
  content: '';
  position: absolute;
  top: 8px; left: 18px; right: 0;
  height: 1.5px;
  background: var(--black);
}
.stop-progress li:last-child::before { display: none; }
.sp-dot {
  position: absolute;
  top: 0; left: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
  background: var(--cream);
}
.stop-progress li.is-now .sp-dot { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(0, 111, 237, 0.16); }
.sp-title { font-size: 1.05rem; line-height: 1.2; letter-spacing: -0.02em; }
.stop-progress li.is-now .sp-title { color: var(--blue); }
.sp-when { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; color: var(--ink-2); }

/* Final stop: contact */
.stop-card--contact { background: var(--blue); border-color: var(--blue); color: var(--cream); align-content: end; }
.stop-card--contact .stop-role { font-size: var(--fs-h1); line-height: 0.9; margin-top: 18px; }
.stop-card--contact .stop-meta { margin-top: 0; color: rgba(254, 252, 246, 0.85); }
.stop-card--contact .stop-lead { color: rgba(254, 252, 246, 0.9); font-size: 1.15rem; }
.stop-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.stop-card--contact .btn { border-color: var(--cream); color: var(--cream); }
.stop-card--contact .btn:hover { background: var(--cream); color: var(--black); }
.stop-card--contact .btn--primary { background: var(--black); border-color: var(--black); }
.stop-card--contact .btn--primary:hover { background: var(--cream); border-color: var(--cream); color: var(--black); }

/* Progress */
.journey-progress { width: 100%; padding-bottom: 20px; }
.journey-progress span {
  display: block;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}
.journey:not(.is-live) .journey-progress { display: none; }

/* Snap points: one per stop, so a scroll that stops near a card settles on it */
.journey-snap { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; pointer-events: none; }

/* Other Involvements: an odd card out spans the row instead of leaving a hole */
.cards > .card:last-child:nth-child(odd) { grid-column: span 2; }

/* Page wrapper here is a plain <main>; keep the contact band flush with the footer. */
main:has(.contact:last-child) + .site-footer { margin-top: 0; }

/* Short laptop screens */
@media (min-width: 681px) and (max-height: 800px) {
  .journey-pin { --line-h: 92px; }
  .journey-head { padding-top: 16px; }
  .stop-card { padding: 30px 36px; margin-top: 16px; }
  .stop-lead, .stop-points li { font-size: 0.96rem; line-height: 1.5; }
  .stop-points { gap: 10px; }
  .stop-card .xp-stack { display: none; }
  .stop-progress { margin-top: 22px; }
}

@media (max-width: 900px) and (min-width: 681px) {
  .journey-pin { --card-w: calc(100vw - 2 * var(--gutter)); }
  .stop-card { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 680px) {
  .journey { margin-top: 100px; }
  .journey-pin { --nav-h: 68px; --line-h: 76px; --node-x: 24px; --card-w: calc(100vw - 32px); }
  .journey-hint { display: none; }
  .journey-head { padding-top: 16px; }
  .journey-now-label { font-size: 1.2rem; }
  .stop-card { grid-template-columns: 1fr; align-content: start; gap: 16px; padding: 22px; margin-top: 16px; max-height: none; }
  .stop-role { font-size: 1.7rem; }
  .stop-org { font-size: 1.1rem; margin-top: 8px; }
  .stop-meta, .stop-card .xp-stack { display: none; }
  .stop-card--contact { align-content: end; }
  .stop-card--contact .stop-meta { display: block; }
  .stop-lead, .stop-points li { font-size: 0.88rem; line-height: 1.45; }
  .stop-points { gap: 8px; }
  .stop-points li { padding-left: 16px; }
  .stop-id .stop-figures { padding-top: 14px; gap: 10px 28px; }
  .stop-figure strong { font-size: 1.7rem; }
  .stop-progress { margin-top: 18px; }
  .stop-progress li { padding-top: 26px; }
  .sp-title { font-size: 0.9rem; }
  .sp-when { font-size: 0.7rem; }
  .stop-card .proof-row { padding-top: 16px; }
  .stop-card .proof--ref, .stop-card--dense .proof-row, .stop-card--dense .stop-figures { display: none; }
  .stop-tickers { margin-top: 12px; }
  .stop-tickers li { height: 24px; font-size: 0.68rem; }
  .cards > .card:last-child:nth-child(odd) { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .stop-card { transform: none; transition: opacity .2s linear; }
  .journey-now-label, .journey-now-num { transition: none; }
}


/* Tickers pitched (Founders Fund) */
.stop-tickers { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.stop-tickers li {
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--black);
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   About: portrait, a short story, quick facts, three photos
   ========================================================================== */
.me {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(32px, 5vw, 88px);
  align-items: end;
  padding-top: 48px;
  border-top: 1px solid var(--black);
}
.me-photo { margin: 0; }
.me-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper); }
.me-text { max-width: 640px; }
.me-lead { font-size: var(--fs-h4); line-height: 1.38; letter-spacing: -0.03em; }
.me-text > p:not(.me-lead) { margin-top: 18px; color: var(--ink-2); font-size: 1.06rem; line-height: 1.6; }
.me-facts { margin: 32px 0 28px; border-top: 1px solid var(--line); }
.me-facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.me-facts dt { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.me-facts dd { font-size: 1rem; }

.me-gallery { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.me-gallery li { display: flex; flex-direction: column; gap: 12px; }
.me-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper); }
.me-gallery span { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; text-transform: uppercase; color: var(--ink-2); }

@media (max-width: 900px) {
  .me { grid-template-columns: 1fr; align-items: start; }
  .me-photo { max-width: 360px; }
  .me-gallery { grid-template-columns: 1fr 1fr; }
  .me-gallery li:last-child { grid-column: span 2; }
}
@media (max-width: 680px) {
  .me-facts div { grid-template-columns: 1fr; gap: 4px; }
  .me-gallery { grid-template-columns: 1fr; }
  .me-gallery li:last-child { grid-column: auto; }
}

/* ==========================================================================
   Recent readings: whole card links to the piece
   ========================================================================== */
.reads { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--black); border-left: 1px solid var(--line); }
.reads > li { display: flex; }
.read {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 36px;
  color: inherit;
  text-decoration: none;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color .18s var(--ease);
}
.read:hover { background: var(--paper); }
.read:active { background: var(--rule); }
.read:focus-visible { outline-offset: -3px; }
.read-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.read .card-arrow { transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .3s var(--ease-out); }
.read:hover .card-arrow { background: var(--blue); border-color: var(--blue); color: var(--cream); transform: translate(2px, -2px); }
.read-title {
  margin-top: 28px;
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.read-label { margin-top: 28px; font-family: var(--mono); font-size: 0.74rem; font-weight: 500; text-transform: uppercase; color: var(--blue); }
.read-points { list-style: none; counter-reset: rp; display: grid; gap: 16px; margin-top: 14px; }
.read-points li { counter-increment: rp; position: relative; padding-left: 34px; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.read-points li::before {
  content: counter(rp, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500; color: var(--black);
}
.read-points strong { color: var(--black); font-weight: 500; }
.read-source { margin-top: auto; padding-top: 28px; font-family: var(--mono); font-size: 0.74rem; font-weight: 500; text-transform: uppercase; color: var(--ink-2); }
.reads-own { margin-top: 32px; color: var(--ink-2); font-size: 1rem; }
.reads-own a { color: var(--black); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reads-own a:hover { color: var(--blue); }

@media (max-width: 900px) { .reads { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .read { padding: 24px; } }

/* ==========================================================================
   Chapter intro stages: each chapter opens big, then the cards follow
   ========================================================================== */
.stop--chapter::after { display: none; }
.chapter-stage {
  margin-top: 40px;
  padding-left: calc(var(--node-x) - 1px);
  opacity: .4;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .9s var(--ease-out);
}
.stop--chapter.is-reached .chapter-stage { opacity: 1; transform: none; }
.journey:not(.is-live) .chapter-stage { opacity: 1; transform: none; }
.chapter-kicker { font-size: 1rem; color: var(--ink-2); }
.chapter-big {
  margin-top: 18px;
  font-size: clamp(3.2rem, 8.4vw, 8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.chapter-line { margin-top: 28px; max-width: 520px; font-size: var(--fs-lede); line-height: 1.4; color: var(--ink-2); }

/* Nav: headshot instead of initials */
.brand-photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--paper); }

/* Hero without the pill: keep the same top rhythm */
.hero { padding-top: 140px; }

/* ==========================================================================
   Toolkit: grouped, with where each tool was used
   ========================================================================== */
.kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kit-group {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--black);
  background: var(--cream);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.kit-group:hover { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--black); }
.kit-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--black); }
.kit-head h3 { font-size: var(--fs-h4); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1; order: -1; }
.kit-count { font-size: 0.95rem; color: var(--ink-2); }
.kit-list { list-style: none; }
.kit-list li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.kit-list li:last-child { border-bottom: none; padding-bottom: 0; }
.kit-list span { font-size: 1.05rem; line-height: 1.35; }
.kit-list em { font-style: normal; font-size: 0.9rem; color: var(--blue); }
@media (max-width: 900px) { .kit { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .kit-group, .kit-group:hover { transition: none; transform: none; } }

/* Side scroll cue: shown on the first chapter, nudging to the right */
.journey-hint { display: none; }
.journey-cue {
  position: absolute;
  z-index: 3;
  right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  top: 52%;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(-50%);
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.journey.is-live .journey-cue { opacity: 1; }
.journey.is-moving .journey-cue { opacity: 0; }
.journey-cue-label { font-size: 1rem; color: var(--ink-2); }
.journey-cue-arrow {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
  background: var(--pop, var(--cream));
  animation: cue-nudge 1.6s var(--ease) infinite;
}
.journey-cue-arrow svg { width: 22px; height: 22px; }
@keyframes cue-nudge {
  0%, 100% { transform: translateX(0); }
  45%      { transform: translateX(12px); }
  60%      { transform: translateX(4px); }
}
@media (max-width: 680px) {
  .journey-cue { right: 16px; top: auto; bottom: 64px; transform: none; }
  .journey-cue-label { display: none; }
  .journey-cue-arrow { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .journey-cue-arrow { animation: none; } }

/* Drawn line: a clipped copy of the path, widened as you travel */
.journey-line-clip { position: absolute; top: 0; left: 0; width: 0; overflow: hidden; pointer-events: none; }
.journey-line-clip svg { display: block; overflow: visible; }
.journey-line-clip path { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; }
.journey-traveler { will-change: transform; z-index: 2; }

/* Nav glyph: a lime disc with the journey squiggle */
.brand-glyph { width: 40px; height: 40px; background: none; border-radius: 0; transition: transform .4s var(--ease-out); }
.brand:hover .brand-glyph { transform: rotate(-12deg); }

/* About gallery: four photos */
.me-gallery { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .me-gallery { grid-template-columns: 1fr 1fr; } .me-gallery li:last-child { grid-column: auto; } }
@media (max-width: 680px) { .me-gallery { grid-template-columns: 1fr; } }

/* Founders Fund: tickers and link sit in the left column */
.stop-pitched { margin-top: auto; padding-top: 28px; }
.stop-pitched-label { font-size: 0.9rem; color: var(--ink-2); }
.stop-pitched .stop-tickers { margin-top: 10px; }
.stop-id .proof-row { margin-top: 16px; padding-top: 0; }
@media (max-width: 680px) {
  .stop-card--dense .stop-pitched { padding-top: 6px; }
  .stop-card--dense .stop-pitched-label { display: none; }
  .stop-card--dense .stop-points { gap: 6px; }
  .stop-card--dense .stop-progress { margin-top: 12px; }
}
