.discovery-scene {
  --ds-ink:#172039;
  --ds-blue:#3349dc;
  --ds-teal:#287b80;
  --ds-rule:#d5ddea;
  width:100%;
  margin:0;
  color:var(--ds-ink);
}
.ds-sources {
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid var(--ds-rule);
  border-bottom:1px solid var(--ds-rule);
}
.ds-source {
  min-width:0;
  padding:34px 44px 32px 0;
}
.ds-source + .ds-source {
  padding-left:44px;
  padding-right:0;
  border-left:1px solid var(--ds-rule);
}
.ds-source h3 {
  font-size:clamp(26px,2.7vw,38px);
  font-weight:500;
  line-height:1.15;
  letter-spacing:-.045em;
  margin:0 0 32px;
}
.ds-observation {
  display:grid;
  grid-template-columns:95px 1fr;
  gap:20px;
  padding:21px 0;
  border-top:1px solid var(--ds-rule);
}
.ds-note-owner {
  color:#65728c;
  font-size:15px;
  line-height:1.55;
  padding-top:3px;
}
.ds-observation p {
  color:var(--ds-ink);
  font-size:20px;
  line-height:1.5;
  letter-spacing:-.025em;
  margin:0;
  max-width:330px;
}
.ds-observation p span {
  color:var(--ds-teal);
  text-decoration:underline;
  text-decoration-color:#86b8bb;
  text-decoration-thickness:2px;
  text-underline-offset:5px;
}
.ds-events { border-top:1px solid var(--ds-rule); }
.ds-event {
  display:grid;
  grid-template-columns:100px 1fr 9px;
  gap:20px;
  align-items:center;
  min-height:67px;
  border-bottom:1px solid var(--ds-rule);
}
.ds-event:last-child { border-bottom:0; }
.ds-event time {
  color:var(--ds-blue);
  font-size:28px;
  font-variant-numeric:tabular-nums;
  line-height:1.2;
  letter-spacing:-.04em;
}
.ds-event>span {
  color:#53617c;
  font-size:17px;
  line-height:1.4;
}
.ds-event>i {
  width:7px;
  height:7px;
  background:var(--ds-blue);
  border-radius:50%;
}
.ds-convergence { height:86px; position:relative; overflow:visible; }
.ds-convergence svg { width:100%; height:100%; overflow:visible; }
.ds-convergence path {
  fill:none;
  stroke:#8e9ec9;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-dasharray:100;
  stroke-dashoffset:0;
  vector-effect:non-scaling-stroke;
}
.ds-join-point {
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--ds-blue);
  position:absolute;
  left:50%;
  bottom:1px;
  transform:translateX(-50%);
  box-shadow:0 0 0 5px #3349dc12;
}
.ds-reconstruction { padding:22px 0 35px; position:relative; }
.ds-reconstruction>h3 {
  text-align:center;
  font-size:clamp(25px,2.6vw,35px);
  line-height:1.22;
  font-weight:500;
  letter-spacing:-.04em;
  margin:0;
}
.ds-route {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  position:relative;
  padding-top:44px;
}
.ds-route-line {
  position:absolute;
  left:10%;
  right:10%;
  top:59px;
  height:2px;
  background:#b5c1df;
  transform-origin:left;
}
.ds-route-line:after {
  content:"";
  position:absolute;
  right:-1px;
  top:-3px;
  border:4px solid transparent;
  border-left-color:#b5c1df;
  border-right:0;
}
.ds-step {
  position:relative;
  display:flex;
  align-items:center;
  flex-direction:column;
  text-align:center;
  min-width:0;
  z-index:1;
}
.ds-route-dot {
  width:32px;
  height:32px;
  display:block;
  border-radius:50%;
  background:var(--ds-blue);
  border:9px solid #eef2fc;
  box-shadow:0 0 0 1px #bdc9ed;
  margin-bottom:19px;
}
.ds-step strong {
  display:block;
  font-size:18px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:-.025em;
  color:var(--ds-ink);
  padding-inline:8px;
  max-width:200px;
}
.ds-step-detail {
  display:block;
  font-size:15px;
  line-height:1.5;
  color:#64718c;
  margin-top:8px;
}
.ds-discovered .ds-route-dot {
  background:#eff7f7;
  border:2px solid var(--ds-teal);
  box-shadow:0 0 0 7px #eff7f7;
  position:relative;
}
.ds-discovered .ds-route-dot:before,
.ds-discovered .ds-route-dot:after {
  content:"";
  position:absolute;
  background:var(--ds-teal);
  top:50%;
  left:50%;
  width:10px;
  height:1px;
  transform:translate(-50%,-50%);
}
.ds-discovered .ds-route-dot:after { transform:translate(-50%,-50%) rotate(90deg); }
.ds-discovered strong { color:var(--ds-teal); }
.ds-map-key {
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:15px 32px;
  margin-top:34px;
}
.ds-map-key>span {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  color:#64718c;
  line-height:1.5;
}
.ds-map-key i { width:8px; height:8px; border-radius:50%; }
.ds-key-event { background:var(--ds-blue); }
.ds-key-context { border:1.5px solid var(--ds-teal); background:transparent; }
.ds-figure-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding-top:24px;
  border-top:1px solid var(--ds-rule);
}
.ds-figure-footer figcaption {
  color:#64718c;
  font-size:15px;
  line-height:1.65;
  max-width:740px;
}
.ds-figure-footer .scene-control {
  color:var(--ds-ink);
  font-size:15px;
  white-space:nowrap;
  padding:9px 0;
  border-bottom:1px solid #8d9bb8;
  flex-shrink:0;
}
.discovery-scene.motion-ready:not(.is-playing):not(.has-played) .ds-observation,
.discovery-scene.motion-ready:not(.is-playing):not(.has-played) .ds-event,
.discovery-scene.motion-ready:not(.is-playing):not(.has-played) .ds-join-point,
.discovery-scene.motion-ready:not(.is-playing):not(.has-played) .ds-reconstruction>h3,
.discovery-scene.motion-ready:not(.is-playing):not(.has-played) .ds-step,
.discovery-scene.motion-ready:not(.is-playing):not(.has-played) .ds-map-key { opacity:0; }
.discovery-scene.motion-ready:not(.is-playing):not(.has-played) .ds-convergence path { stroke-dashoffset:100; }
.discovery-scene.motion-ready:not(.is-playing):not(.has-played) .ds-route-line { transform:scaleX(0); }
.discovery-scene.is-playing .ds-note-one { animation:ds-note-enter .75s .1s both; }
.discovery-scene.is-playing .ds-note-two { animation:ds-note-enter .75s .55s both; }
.discovery-scene.is-playing .ds-event-one { animation:ds-event-enter .65s .7s both; }
.discovery-scene.is-playing .ds-event-two { animation:ds-event-enter .65s 1.1s both; }
.discovery-scene.is-playing .ds-event-three { animation:ds-event-enter .65s 1.5s both; }
.discovery-scene.is-playing .ds-join-left { animation:ds-line-draw 1.1s 2.1s both; }
.discovery-scene.is-playing .ds-join-right { animation:ds-line-draw 1.1s 2.3s both; }
.discovery-scene.is-playing .ds-join-point { animation:ds-point-appear .5s 3.05s both; }
.discovery-scene.is-playing .ds-reconstruction>h3 { animation:ds-map-enter .6s 3.1s both; }
.discovery-scene.is-playing .ds-route-line { animation:ds-route-draw 1.6s 3.45s both; }
.discovery-scene.is-playing .ds-step-one { animation:ds-map-enter .6s 3.5s both; }
.discovery-scene.is-playing .ds-step-three { animation:ds-map-enter .6s 4s both; }
.discovery-scene.is-playing .ds-step-five { animation:ds-map-enter .6s 4.5s both; }
.discovery-scene.is-playing .ds-step-two { animation:ds-context-enter .8s 5.1s both; }
.discovery-scene.is-playing .ds-step-four { animation:ds-context-enter .8s 5.7s both; }
.discovery-scene.is-playing .ds-map-key { animation:ds-map-enter .7s 6.55s both; }
.discovery-scene.is-paused *,
.discovery-scene.is-paused *:before,
.discovery-scene.is-paused *:after { animation-play-state:paused!important; }
@keyframes ds-note-enter { from { opacity:0; transform:translateX(-20px); } to { opacity:1; transform:none; } }
@keyframes ds-event-enter { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:none; } }
@keyframes ds-line-draw { from { stroke-dashoffset:100; } to { stroke-dashoffset:0; } }
@keyframes ds-point-appear { from { opacity:0; scale:.3; } to { opacity:1; scale:1; } }
@keyframes ds-map-enter { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes ds-route-draw { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes ds-context-enter { 0% { opacity:0; transform:translateY(-18px); } 70% { opacity:1; transform:translateY(3px); } 100% { opacity:1; transform:none; } }
@media(max-width:1000px) {
  .ds-source { padding-right:28px; }
  .ds-source + .ds-source { padding-left:28px; }
  .ds-observation { grid-template-columns:1fr; gap:8px; }
  .ds-observation p { font-size:19px; }
  .ds-event { grid-template-columns:82px 1fr 7px; gap:13px; min-height:86px; }
  .ds-event time { font-size:25px; }
  .ds-event>span { font-size:16px; }
  .ds-step strong { font-size:17px; }
}
@media(max-width:700px) {
  .ds-sources { grid-template-columns:1fr; }
  .ds-source { padding:28px 0; }
  .ds-source + .ds-source { padding:28px 0; border-left:0; border-top:1px solid var(--ds-rule); }
  .ds-source h3 { font-size:30px; margin-bottom:25px; }
  .ds-source h3 br { display:none; }
  .ds-observation { grid-template-columns:85px 1fr; gap:18px; padding:18px 0; }
  .ds-note-owner { font-size:15px; }
  .ds-observation p { font-size:18px; }
  .ds-event { grid-template-columns:85px 1fr 7px; min-height:62px; gap:18px; }
  .ds-event time { font-size:25px; }
  .ds-event>span { font-size:16px; }
  .ds-convergence { height:55px; }
  .ds-convergence svg { display:none; }
  .ds-convergence:before { content:""; position:absolute; left:50%; top:0; bottom:0; width:1.5px; background:#8e9ec9; transform-origin:top; }
  .ds-reconstruction { padding-top:18px; padding-bottom:25px; }
  .ds-reconstruction>h3 { font-size:27px; text-align:left; max-width:320px; }
  .ds-route { grid-template-columns:1fr; padding-top:30px; gap:0; }
  .ds-route-line { left:15px; right:auto; top:46px; bottom:50px; height:auto; width:2px; transform-origin:top; }
  .ds-route-line:after { top:auto; bottom:-3px; left:-3px; right:auto; border:4px solid transparent; border-top-color:#b5c1df; border-bottom:0; }
  .ds-step { display:grid; grid-template-columns:32px 1fr; gap:2px 22px; text-align:left; min-height:91px; align-items:start; align-content:start; }
  .ds-step:last-child { min-height:70px; }
  .ds-route-dot { grid-column:1; grid-row:1/3; margin:0; }
  .ds-step strong { grid-column:2; grid-row:1; padding:1px 0 0; max-width:none; font-size:18px; }
  .ds-step strong br { display:none; }
  .ds-step strong br:after { content:" "; }
  .ds-step-detail { grid-column:2; grid-row:2; margin-top:2px; font-size:15px; }
  .ds-map-key { justify-content:flex-start; gap:10px; flex-direction:column; align-items:flex-start; margin-top:15px; }
  .ds-figure-footer { align-items:flex-start; flex-direction:column; gap:15px; padding-top:20px; }
  .ds-figure-footer figcaption { font-size:15px; }
  .discovery-scene.motion-ready:not(.is-playing):not(.has-played) .ds-route-line,
  .discovery-scene.motion-ready:not(.is-playing):not(.has-played) .ds-convergence:before { transform:scaleY(0); }
  .discovery-scene.is-playing .ds-route-line { animation-name:ds-route-draw-vertical; }
  .discovery-scene.is-playing .ds-convergence:before { animation:ds-route-draw-vertical 1.1s 2.1s both; }
  @keyframes ds-route-draw-vertical { from { transform:scaleY(0); } to { transform:scaleY(1); } }
}
@media(prefers-reduced-motion:reduce) {
  .discovery-scene *, .discovery-scene *:before, .discovery-scene *:after { animation:none!important; }
  .discovery-scene.motion-ready .ds-observation,
  .discovery-scene.motion-ready .ds-event,
  .discovery-scene.motion-ready .ds-join-point,
  .discovery-scene.motion-ready .ds-reconstruction>h3,
  .discovery-scene.motion-ready .ds-step,
  .discovery-scene.motion-ready .ds-map-key { opacity:1!important; transform:none!important; }
  .discovery-scene.motion-ready .ds-convergence path { stroke-dashoffset:0!important; }
  .discovery-scene.motion-ready .ds-route-line,
  .discovery-scene.motion-ready .ds-convergence:before { transform:none!important; }
}
