/* Four places share a quiet axis; the selected story stays in one reading area. */
.journey-interactive{
 position:relative;
 width:100%;
 max-width:none;
 margin:0;
 padding:0;
 text-shadow:0 1px 6px #000,0 2px 18px #000;
}
.journey-interactive::before{content:none}
.timeline-tabs{
 position:relative;
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 width:100%;
 padding-top:0;
}
.timeline-tabs::before{
 content:"";
 position:absolute;
 top:3px;
 left:12.5%;
 right:12.5%;
 height:1px;
 background:rgba(255,255,255,.28);
 pointer-events:none;
}
.timeline-tabs button{
 display:flex;
 position:relative;
 flex-direction:column;
 align-items:center;
 min-width:0;
 min-height:72px;
 padding:0 2px 7px;
 color:rgba(255,255,255,.55);
 text-align:center;
 transition:color .4s ease,filter .4s ease;
}
.timeline-tabs button:hover,
.timeline-tabs button[aria-selected="true"]{color:#fff}
.timeline-tabs button:focus-visible{outline:1px solid rgba(255,255,255,.8);outline-offset:2px;border-radius:2px}
.timeline-dot{
 position:relative;
 z-index:1;
 flex:none;
 width:7px;
 height:7px;
 border-radius:50%;
 background:#85858b;
 transition:background .4s ease,box-shadow .4s ease,transform .4s ease;
}
.timeline-tabs button[aria-selected="true"] .timeline-dot{
 background:#fff;
 box-shadow:0 0 9px rgba(255,255,255,.55);
 transform:scale(1.22);
}
.timeline-year{
 display:block;
 margin-top:12px;
 font:400 10px/1.25 var(--portfolio-font);
 font-variant-numeric:tabular-nums;
 letter-spacing:.03em;
 color:inherit;
}
.timeline-place{
 display:block;
 margin-top:5px;
 font:400 14px/1.25 var(--portfolio-font);
 color:inherit;
}
.timeline-stories{max-width:47ch;margin-top:18px}
.timeline-story{animation:timeline-story-in .55s cubic-bezier(.22,.8,.25,1) both}
.timeline-story h3{margin:0 0 9px;font:400 18px/1.3 var(--portfolio-font);color:#fff;letter-spacing:0}
.timeline-story p{margin:0;font:400 clamp(15px,1.15vw,17px)/1.7 var(--portfolio-font);color:#f0f0f2}
.timeline-story:focus-visible{outline:1px solid rgba(255,255,255,.65);outline-offset:6px}
@keyframes timeline-story-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:500px){
 .timeline-tabs button{min-height:70px;padding-left:1px;padding-right:1px}
 .timeline-year{font-size:9px;letter-spacing:0}
 .timeline-place{font-size:12px}
 .timeline-stories{margin-top:15px}
 .timeline-story h3{font-size:17px}
}
@media(prefers-reduced-motion:reduce){
 .timeline-tabs button,.timeline-dot{transition:none}
 .timeline-story{animation:none}
}

/* Override the earlier full-width, four-column timeline experiment. */
.proto-reading.is-timeline .journey-interactive{
 display:block;
 margin:0;
 padding:0;
 max-width:none;
}
.proto-reading.is-timeline .journey-interactive .timeline-story h3{margin:0 0 9px}
.proto-reading.is-timeline .journey-interactive .timeline-story p{font-size:clamp(15px,1.15vw,17px);line-height:1.7}
@media(min-width:1400px){.proto-reading.is-timeline{max-width:680px}}

/* Give the places the same heading and content alignment as who i am. */
.proto-reading.is-timeline h2{
 font-size:clamp(24px,2.3vw,34px);font-weight:400;letter-spacing:normal;line-height:1.2;margin:0 0 16px;
}
.proto-reading.is-timeline .journey-interactive{width:100%;max-width:65ch}
.proto-reading.is-timeline .timeline-stories{max-width:65ch}
.timeline-year{font-size:clamp(10px,.8vw,12px)}
@media(min-width:901px){
 .proto-reading.is-timeline{
  left:clamp(500px,35vw,600px);right:clamp(32px,4vw,72px);
  top:clamp(260px,41vh,470px);max-width:none;
 }
}
@media(min-width:1200px){
 .proto-reading.is-timeline{
  display:grid;grid-template-columns:clamp(155px,14vw,220px) minmax(0,1fr);
  column-gap:clamp(28px,3vw,52px);align-items:start;
 }
 .proto-reading.is-timeline h2{margin:0;white-space:nowrap}
}
