.resume-head{ padding: 70px 0 60px; }

.resume-head-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 80px;
  align-items: end;
}

.resume-photo{ aspect-ratio: 4 / 4.6; }

.scroll-cue{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--text-mute);
  direction: ltr;
}
.scroll-cue i{
  position: relative;
  width: 1.5px;
  height: 46px;
  overflow: hidden;
  background: var(--line);
}
.scroll-cue i::after{
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--orange);
  animation: cueDrop 1.8s var(--ease-io) infinite;
}
@keyframes cueDrop{ to{ top: 100%; } }

.journey{
  --walk: .04;
  position: relative;
  height: 340vh;
  border-top: 1px solid var(--ink);
}

.journey-sticky{
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.journey-head{
  display: flex;
  align-items: baseline;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 26px;
}

.journey-viewport{
  position: relative;
  flex: 1;
  min-height: 440px;
  overflow: hidden;
}

.journey-track{
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: max(100%, 1180px);
  will-change: transform;
}

.journey-line{
  position: absolute;
  top: 50%;
  right: 24px;
  left: 24px;
  height: 0;
  border-top: 1.5px dashed rgba(10, 10, 10, .35);
}
.journey-line::after{
  content: "";
  position: absolute;
  top: -6.5px;
  left: -2px;
  width: 11px;
  height: 11px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
}
.journey-line-fill{
  position: absolute;
  top: -1.75px;
  right: 0;
  width: 100%;
  height: 2.5px;
  background: var(--orange);
  transform: scaleX(var(--walk));
  transform-origin: right;
}

.stop{
  position: absolute;
  right: calc(var(--x) * 100%);
  width: 280px;
  transform: translateX(50%);
}
.stop--up{ bottom: calc(50% + 40px); }
.stop--down{ top: calc(50% + 40px); }

.stop::before{
  content: "";
  position: absolute;
  right: 50%;
  height: 40px;
  border-right: 1.5px dashed rgba(10, 10, 10, .35);
}
.stop--up::before{ top: 100%; }
.stop--down::before{ bottom: 100%; }

.stop-dot{
  position: absolute;
  z-index: 2;
  right: 50%;
  width: 20px;
  height: 20px;
  margin-right: -10px;
  transform: scale(.6) rotate(-120deg);
  opacity: .5;
  transition: transform .8s var(--ease), opacity .5s ease;
}
.stop--up .stop-dot{ bottom: -50px; }
.stop--down .stop-dot{ top: -50px; }
.stop.is-reached .stop-dot{ transform: none; opacity: 1; }

.stop-card{
  padding: 18px 20px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: .4;
  transition: opacity .6s ease, transform .8s var(--ease), border-color .5s ease;
}
.stop--up .stop-card{ transform: translateY(14px); }
.stop--down .stop-card{ transform: translateY(-14px); }
.stop.is-reached .stop-card{
  opacity: 1;
  transform: none;
  border-color: var(--ink);
}

.stop-date{
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  color: var(--orange-ink);
  direction: ltr;
  text-align: right;
}
.stop-card h3{
  margin: 0 0 6px;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.6;
}
.stop-card p{
  margin: 0;
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.8;
}

.walker{
  position: absolute;
  z-index: 3;
  bottom: calc(50% - 1px);
  right: calc(var(--walk) * 100%);
  width: 54px;
  height: 90px;
  transform: translateX(50%);
  pointer-events: none;
}
.walker svg{
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: transform .3s var(--ease);
}
.walker.face-back svg{ transform: scaleX(-1); }

.walker svg *{ transform-box: view-box; }
.w-shadow{ fill: rgba(10, 10, 10, .12); }
.w-arm path:first-child,
.w-leg path,
.w-neck,
.w-strap{
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.w-head{ fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.w-hair, .w-tail, .w-bag{ fill: var(--ink); }
.w-dress{ fill: var(--orange); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }

.w-arm--back{ transform-origin: 35px 30px; }
.w-arm--front{ transform-origin: 25px 30px; }
.w-leg--back{ transform-origin: 33px 60px; }
.w-leg--front{ transform-origin: 27px 61px; }
.w-tail{ transform-origin: 37px 12px; }

.walker.is-walking .w-leg--front{ animation: stride .5s ease-in-out infinite alternate; }
.walker.is-walking .w-leg--back{ animation: stride .5s ease-in-out infinite alternate-reverse; }
.walker.is-walking .w-arm--front{ animation: armSwing .5s ease-in-out infinite alternate-reverse; }
.walker.is-walking .w-arm--back{ animation: armSwing .5s ease-in-out infinite alternate; }
.walker.is-walking .w-body{ animation: bob .25s ease-in-out infinite alternate; }
.walker.is-walking .w-tail{ animation: tail .5s ease-in-out infinite alternate; }

@keyframes stride{ from{ transform: rotate(24deg); } to{ transform: rotate(-24deg); } }
@keyframes armSwing{ from{ transform: rotate(20deg); } to{ transform: rotate(-20deg); } }
@keyframes bob{ from{ transform: translateY(0); } to{ transform: translateY(-2px); } }
@keyframes tail{ from{ transform: rotate(-8deg); } to{ transform: rotate(10deg); } }

.skills{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.skills li{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 22px 18px;
  border-bottom: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  transition: color .45s var(--ease);
}
.skills li:nth-child(4n+1){ border-inline-start: 0; }
.skills li .mono{ font-size: 11px; color: var(--text-mute); transition: color .45s ease; }
.skills li::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.skills li:hover{ color: #fff; }
.skills li:hover::before{ transform: scaleX(1); }
.skills li:hover .mono{ color: var(--orange); }

@media (max-width: 900px){
  .resume-head-grid{ grid-template-columns: 1fr; gap: 50px; }
  .resume-media{ max-width: 460px; width: 100%; }
  .skills{ grid-template-columns: 1fr 1fr; }
  .skills li:nth-child(4n+1){ border-inline-start: 1px solid var(--line); }
  .skills li:nth-child(odd){ border-inline-start: 0; }
}

@media (max-width: 640px){
  .journey{ height: 420vh; }
  .journey-track{ width: 1100px; }
  .stop{ width: 236px; }
  .stop-card{ padding: 14px 16px 16px; }
  .stop-card h3{ font-size: 16px; }
  .stop-card p{ font-size: 13px; }
  .walker{ width: 46px; height: 76px; }
}

@media (max-width: 480px){
  .skills{ grid-template-columns: 1fr; }
  .skills li, .skills li:nth-child(4n+1){ border-inline-start: 0; }
}
