/* /about/path/ — career timeline. A pinned stage below the nav; scrolling slides the track past a fixed playhead.
   Light Inter weights are only used here, so they load with this page. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300&display=swap");

.tl {
  --tl-fg-30: rgba(255,255,255,.3);
  --tl-fg-12: rgba(255,255,255,.12);
  --tl-line: rgba(255,255,255,.18);
  --nav-h: 81px;
  position: relative;
  border-top: 1px solid var(--line);
}
.tl-mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-50); margin: 0; }

.tl-stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); overflow: hidden;
  display: grid; grid-template-rows: auto 1fr; grid-template-columns: 100%; }

.tl-rail { padding: 22px var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; position: relative; z-index: 3; }
.tl-rail__meta { display: flex; justify-content: space-between; gap: 16px; }
.tl-rail__now { color: var(--fg); text-align: right; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-rail__bar { position: relative; height: 1px; background: var(--tl-line); }
.tl-rail__fill { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(0); }

.tl-track { position: relative; display: flex; height: 100%; min-height: 0; padding-left: var(--gutter); width: max-content; will-change: transform; }
.tl-route { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.tl-route__todo { fill: none; stroke: var(--tl-fg-30); stroke-width: 1; stroke-dasharray: 1 5; }
.tl-route__done { fill: none; stroke: var(--fg); stroke-width: 1.25; }

.tl-panel { position: relative; width: clamp(320px, 60vw, 940px); height: 100%; flex: none; }
.tl-art { position: absolute; left: 0; right: 12%; top: 28px; }
.tl-art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tl-art--right { left: 30%; right: 4%; }

/* figure strokes: a faint ghost of the full drawing, then a live stroke that traces over it */
.tl-art .ghost { fill: none; stroke: var(--tl-fg-12); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tl-art .draw { fill: none; stroke: var(--fg-50); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; stroke-linejoin: round; }
.tl-art .draw.acc { stroke: var(--fg); }
.tl-art .draw.solid { fill: var(--bg); }   /* hides lines behind a figure in front */
.tl-art .guide { fill: none; stroke: var(--tl-fg-12); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
/* Like the bodies on the homepage orbit: once a figure is drawn, short points of light keep travelling its lines */
.tl-art .pulse { fill: none; stroke: var(--fg); stroke-width: 2.5; filter: drop-shadow(0 0 3px rgba(255,255,255,.9)); vector-effect: non-scaling-stroke; stroke-linecap: round;
  stroke-dasharray: .018 .982; opacity: 0; transition: opacity 1.2s; animation: tl-trace 9s linear infinite; }
.tl-panel.drawn .tl-art .pulse { opacity: 1; }
@keyframes tl-trace { to { stroke-dashoffset: -1; } }
.tl-art text { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; fill: var(--tl-fg-30); text-transform: uppercase; transition: fill .6s; }
.tl-panel.on .tl-art text { fill: var(--fg-50); }

.tl-copy { position: absolute; left: 0; width: min(500px, 88%); display: grid; gap: 10px; padding-right: 16px; }
.tl-copy .tl-copy__year { font-weight: 200; font-size: clamp(56px, min(8vw, 12vh), 128px); line-height: .9; letter-spacing: -0.06em; margin: 0 0 6px;
  color: var(--tl-fg-30); transition: color .6s; font-variant-numeric: tabular-nums; }
.tl-panel.on .tl-copy .tl-copy__year { color: var(--fg); }
.tl-copy h2 { font-weight: 400; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.25; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.tl-copy p { margin: 0; color: var(--fg-75); font-weight: 300; font-size: 15px; line-height: 1.6; max-width: 42ch; }
.tl-copy p.tl-mono { font-size: 12px; font-weight: 400; color: var(--fg-50); }

.tl-step { position: absolute; white-space: nowrap; transform: translateY(-100%); padding: 0 0 8px 8px; color: var(--tl-fg-30); transition: color .5s; }
.tl-step::before { content: ""; position: absolute; left: 0; bottom: 0; width: 1px; height: 14px; background: currentColor; }
.tl-step.lit { color: var(--fg); }

/* Playhead */
.tl-head__mark { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tl-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--fg); }
.tl-dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--fg); opacity: .5; animation: tl-ping 2.4s ease-out infinite; }
@keyframes tl-ping { from { transform: scale(.4); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.tl-stem { position: absolute; width: 1px; height: 72px; background: linear-gradient(to top, var(--tl-fg-30), transparent); }


@media (max-width: 700px) {
  .tl { --nav-h: 73px; }
  .tl-panel { width: 90vw; }
  .tl-step.alt { transform: translateY(calc(-100% - 20px)); }
  .tl-step.alt::before { height: 34px; bottom: -20px; }
  .tl-copy { left: 16px; }
  .tl-art, .tl-art--right { left: 0; right: 4%; top: 12px; }
  .tl-copy { gap: 6px; }
  .tl-copy .tl-copy__year { font-size: clamp(44px, 13vw, 56px); }
  .tl-copy h2 { font-size: 20px; }
  .tl-copy p { font-size: 14px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-art .pulse { display: none; }
}
