@scope (.history-startrail){  .startrail {
    position: relative;
    width: min(1160px, 100%);
    padding: 20px clamp(8px, 3vw, 30px);
    background: #000;
  }
  .startrail-track {
    position: relative;
    height: clamp(205px, 26vw, 305px);
    width: 100%;
    touch-action: none;
    user-select: none;
    cursor: crosshair;
    border-radius: 12px;
    outline: none;
  }
  .startrail-track:focus-visible { outline: 1px solid rgba(237,243,255,.65); outline-offset: 5px; }
  .track-bed { position: absolute; inset: 0 clamp(2px, 2vw, 20px); }
  .track-bed::before {
    content: "";
    position: absolute;
    left: 12%; top: 28%; width: 76%; height: 50%;
    border-radius: 50%; pointer-events: none;
    background: radial-gradient(ellipse, rgba(190,210,240,.055) 0%, rgba(150,175,220,.018) 38%, transparent 74%);
    filter: blur(18px);
  }
  .orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .orbit-back { fill: none; stroke: rgba(195,208,233,.24); stroke-width: .9; }
  .orbit-echo { fill: none; stroke: rgba(188,203,230,.18); stroke-width: .75; stroke-dasharray: 2 9; }
  .orbit-front-halo { fill: none; stroke: rgba(231,239,255,.25); stroke-width: 11; filter: url(#history-orbit-blur); }
  .orbit-front { fill: none; stroke: url(#history-front-shimmer); stroke-width: 1.7; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(233,241,255,.53)); }
  .orbit-progress { fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 13px rgba(192,219,255,.8)); }
  .node-layer { position: absolute; inset: 0; pointer-events: none; }
  .year-node {
    position: absolute;
    z-index: 3;
    width: 32px; height: 32px;
    display: grid; place-items: center;
    transform: translate(-50%, -50%);
    padding: 0; margin: 0;
    background: transparent; border: 0; border-radius: 50%;
    pointer-events: auto; cursor: pointer;
  }
  .node-orb {
    width: 12px; height: 12px; display: block; border-radius: 50%;
    border: 1px solid rgba(251,253,255,.75);
    background: radial-gradient(circle at 28% 25%, #fff 0%, #f4f7ff 22%, #afc0d9 55%, #687994 82%, #354155 100%);
    box-shadow: inset -2px -2px 3px #222b3b77, inset 1px 1px 2px #fff9, 0 0 10px #d8e8ff88;
    transition: transform .22s ease, box-shadow .22s ease;
  }
  .year-node:hover .node-orb, .year-node.active .node-orb {
    transform: scale(1.25);
    box-shadow: inset -2px -2px 3px #35425788, inset 1px 1px 2px #fff, 0 0 11px #fff, 0 0 19px rgba(205,223,255,.8);
  }
  .year-node .year-label {
    position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
    font-size: 11px; letter-spacing: .055em;
    line-height: 1; white-space: nowrap; color: #989fac;
    transition: color .22s ease;
  }
  .year-node.active .year-label, .year-node:hover .year-label { color: #fff; }
  .orb-handle {
    position: absolute; z-index: 5;
    left: 0; top: 0;
    width: 48px; height: 48px;
    transform: translate(-50%,-50%);
    display: grid; place-items: center;
    pointer-events: none;
  }
  .orb-handle::before {
    content: ""; position: absolute; inset: -19px; border-radius: 50%;
    background: radial-gradient(circle, rgba(252,254,255,.50), rgba(180,209,255,.18) 32%, transparent 68%);
    filter: blur(8px);
  }
  .orb-core {
    position: relative; display: block; width: 27px; height: 27px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,.85);
    background: radial-gradient(circle at 30% 25%, #fff 0%, #fff 12%, #eff5ff 32%, #b3c5df 61%, #61738f 84%, #313d52 100%);
    box-shadow: inset -4px -5px 8px #303d5680, inset 3px 3px 6px #fff8, 0 0 9px #fff, 0 0 19px #d9e8ff, 0 0 35px #a6c5ffad;
  }
  .orb-core::after {
    content: ""; position: absolute; left: 22%; top: 17%; width: 32%; height: 23%;
    border-radius: 50%; background: #fff; filter: blur(2px); transform: rotate(-28deg);
  }
  .space-speck { position: absolute; pointer-events: none; width: 2px; height: 2px; border-radius: 50%; background: #edf4ff; box-shadow: 0 0 9px #d4e5ff; opacity: .6; }
  .space-speck.a { left: 24%; top: 14%; } .space-speck.b { left: 61%; top: 18%; } .space-speck.c { left: 84%; top: 29%; }
  @media (max-width: 640px) {
    .startrail { padding: 15px 5px; }
    .startrail-track { height: 220px; }
    .track-bed { inset: 0 7px; }
    .year-node { width: 25px; height: 25px; }
    .node-orb { width: 10px; height: 10px; }
    .year-node .year-label { top: 20px; font-size: 10px; }
    .year-node[data-year="2014"] .year-label,
    .year-node[data-year="2017"] .year-label,
    .year-node[data-year="2021"] .year-label,
    .year-node[data-year="2023"] .year-label { display:none; }
    .orb-core { width: 24px; height: 24px; }
  }
  html[data-reduced-motion="true"] .node-orb,html[data-reduced-motion="true"] .year-label{ transition: none; } 
}
.history-startrail{width:100%;background:transparent!important;margin:0 auto}.history-startrail .node-orb{width:var(--orb-size,12px);height:var(--orb-size,12px)}.history-startrail .orb-handle>svg{position:relative;width:42px;height:42px;fill:#fff;filter:drop-shadow(0 0 5px #fff) drop-shadow(0 0 14px #ffffffb0)}.history-startrail .startrail-track:focus:not(:focus-visible){outline:none!important}.history-startrail .orbit-back{display:block!important}.history-startrail .orbit-front-halo{filter:url(#history-orbit-blur)}.history-startrail .orbit-front{stroke:url(#history-front-shimmer)}#archive-content .career-scroll{scrollbar-width:none!important}#archive-content .career-scroll::-webkit-scrollbar{display:none!important;height:0!important}

@media (pointer:coarse){
 .history-startrail .startrail-track{touch-action:pan-y pinch-zoom}
 .history-startrail .orb-handle>svg{pointer-events:auto;cursor:grab}
}
@media (max-width:650px){
 .career-timeline .career-events{min-height:202px}
 .career-timeline .career-track{padding-bottom:0}
 .career-timeline .career-node.below{align-self:flex-start}
 .career-timeline .career-node.below::after{top:auto;bottom:-30px}
 .career-timeline .career-node.below::before{top:auto;bottom:-34px}
 .career-timeline .career-quiet{align-self:flex-start;margin:16px 0 0}
 .history-startrail.startrail{padding-block:4px 12px}
 .history-startrail .startrail-track{height:138px}
}
