:root{color-scheme:dark;--ink:#f1f5fa;--muted:#a2b4c9;--blue:#53baff;--gold:#edbd72;--line:#263e55;--accent:var(--blue)}
*{box-sizing:border-box}body{margin:0;background:#040c16;color:var(--ink);font-family:"Avenir Next","Segoe UI",Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.3}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:5px}a{color:inherit}button{border:0}button:disabled:hover{transform:none}button[hidden],[hidden]{display:none!important}.skip-link{position:fixed;left:12px;top:-60px;z-index:10;background:#fff;color:#071526;padding:12px}.skip-link:focus{top:12px}.page-bar{height:66px;max-width:1800px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:20px}.back-link{text-decoration:none;font-size:14px;font-weight:600}.back-link span{margin-right:10px;color:var(--blue)}.page-actions{display:flex;gap:10px;align-items:center}.format-label{font-size:12px;color:#849bb2;margin-right:12px}.page-actions button{background:#102136;border:1px solid #29425a;border-radius:7px;padding:9px 14px;font-size:12px}.page-actions button:hover{background:#19334e}main{display:flex;justify-content:center;align-items:center;min-height:calc(100svh - 110px);padding:0 24px}.frame{position:relative;width:1600px;height:900px;flex:none}.stage{position:absolute;top:0;left:0;width:1600px;height:900px;transform-origin:top left;background:#071526;overflow:hidden;border:1px solid #243c54;border-radius:18px;display:grid;grid-template-rows:150px 652px 98px;box-shadow:0 26px 90px #0006}.stage:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.24;background-image:radial-gradient(#426789 .75px,transparent .75px);background-size:24px 24px;mask-image:linear-gradient(to right,transparent 28%,#000)}.stage-header,.journey-layout,.stage-footer{position:relative}.stage-header{padding:38px 56px 30px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1b3045}.identity{display:flex;gap:22px;align-items:center}.identity svg{color:var(--blue)}.identity h1{font-size:37px;letter-spacing:-1.6px;line-height:1.1;margin:0 0 10px;font-weight:650}.identity p{font-size:16px;margin:0;color:var(--muted)}.journey-label{text-align:right;display:flex;flex-direction:column;gap:9px}.journey-label>span{font-size:14px;color:var(--muted)}.journey-label strong{font-size:23px;font-weight:500;letter-spacing:2px}.journey-label strong span{color:#4e7495;margin:0 10px}.journey-layout{display:grid;grid-template-columns:450px 1fr;padding:27px 56px 21px;gap:58px}.timeline{position:relative}.timeline ol{list-style:none;padding:0;margin:0;display:grid;gap:7px}.timeline li{position:relative;height:68px}.track{position:absolute;width:2px;top:33px;bottom:46px;left:19px;background:#264158;overflow:hidden}.track div{width:100%;height:0;background:var(--accent);transition:height .5s ease,background .3s}.milestone-button{width:100%;height:68px;padding:8px 14px 8px 58px;text-align:left;background:transparent;border:1px solid transparent;border-radius:10px;position:relative;display:flex;align-items:center;gap:15px;transition:background .2s,border-color .2s}.milestone-button:hover{background:#10273c}.milestone-dot{position:absolute;left:10px;top:23px;width:18px;height:18px;border:5px solid #071526;background:#54738f;border-radius:50%;box-shadow:0 0 0 1px #38536a;transition:background .2s,box-shadow .2s}.milestone-button[aria-expanded=true]{background:#112e46;border-color:#285674}.milestone-button[aria-expanded=true] .milestone-dot{background:var(--accent);box-shadow:0 0 0 2px var(--accent),0 0 18px #4ab9ff44}.milestone-button.visited .milestone-dot{background:#92bfdd}.milestone-date{font-size:13px;color:#90a8bf;display:block;margin-top:5px;letter-spacing:.2px}.milestone-name{display:block;font-size:20px;font-weight:750;letter-spacing:-.3px;line-height:1.2}.milestone-subtitle{font-size:13px;color:#93aac1;margin-left:auto;max-width:88px;line-height:1.3}.milestone-plus{margin-left:auto;font-size:23px;color:#6b91b1;font-weight:300}.milestone-button[aria-expanded=true] .milestone-name,.milestone-button[aria-expanded=true] .milestone-plus{color:var(--accent)}.story{position:relative;border-left:1px solid #23394f;padding-left:55px;min-width:0}.overview{height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.overview-map{width:310px;margin:0 0 8px 0}.overview-map svg{width:100%;height:125px;overflow:visible}.overview-map path{fill:none;stroke:#3b7397;stroke-width:2}.overview-map circle{fill:var(--gold);stroke:#071526;stroke-width:7}.overview-map .map-root{fill:var(--blue)}.overview-kicker{font-size:16px;color:var(--gold);margin:20px 0}.overview h2{font-size:49px;line-height:1.15;font-weight:500;letter-spacing:-2px;margin:0 0 20px}.overview-copy{font-size:18px;line-height:1.7;color:#a9bed2;margin:0 0 25px}.start-button{padding:14px 21px;border:1px solid #396585;border-radius:9px;background:#12334e;font-size:16px}.start-button span{margin-left:23px;color:var(--blue)}.start-button:hover{background:#1b4566}.chapter{--accent:var(--blue);animation:chapter-in .4s ease both}.chapter-topline{display:flex;justify-content:space-between;align-items:center;font-size:15px;color:var(--accent);height:30px}.chapter-topline span:last-child{font-size:13px;color:#7893ad}.chapter-heading{display:flex;justify-content:space-between;align-items:center;padding-top:8px}.chapter-heading p{font-size:17px;color:#bdd0e2;margin:0 0 8px}.chapter h2{font-size:42px;font-weight:550;line-height:1.12;letter-spacing:-1.5px;margin:0;max-width:765px}.close-chapter{flex:none;background:transparent;color:#7e9db8;font-size:30px;width:38px;height:38px;border:1px solid #2c4963;border-radius:50%;margin-left:12px}.close-chapter:hover{color:#fff;background:#17334c}.chapter-intro{font-size:17px;line-height:1.6;color:#a7bfd3;margin:17px 0 22px;max-width:795px;min-height:54px}.branch-tree{position:relative;display:grid;gap:12px;padding-left:40px}.branch-tree:before{content:"";position:absolute;left:10px;top:-6px;bottom:39px;width:1px;background:#3b6381}.branch{position:relative;min-width:0}.branch:before{content:"";position:absolute;width:29px;height:1px;left:-29px;top:38px;background:#3b6381;transform-origin:left;animation:line-in .4s ease both}.branch:after{content:"";position:absolute;width:5px;height:5px;left:-32px;top:36px;background:var(--accent);border-radius:50%}.branch:nth-child(2){animation-delay:.06s}.branch:nth-child(3){animation-delay:.12s}.branch{animation:branch-in .35s ease both}.branch-button{display:flex;align-items:center;gap:17px;width:100%;text-align:left;background:#0c2236;border:1px solid #29445d;border-radius:10px;padding:15px 19px;min-height:77px;transition:background .2s,border-color .2s}.branch-button:hover{background:#14314a;border-color:#547a98}.branch-button[aria-expanded=true]{border-color:var(--accent);border-bottom-left-radius:0;border-bottom-right-radius:0;background:#102b42}.branch-index{font-size:13px;color:var(--accent);border:1px solid #395773;flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center}.branch-text{min-width:0;flex:1}.branch-text strong{font-size:19px;font-weight:600;letter-spacing:-.3px;display:block}.branch-text small{display:block;font-size:14px;color:#99b3cb;margin-top:5px;line-height:1.3}.branch-chevron{font-size:21px;color:var(--accent);transition:transform .2s}.branch-button[aria-expanded=true] .branch-chevron{transform:rotate(45deg)}.branch-detail{border:1px solid var(--accent);border-top:0;border-radius:0 0 10px 10px;padding:0 21px 16px 66px;background:#102b42;font-size:16px;color:#c6d7e5;line-height:1.55;animation:detail-in .25s ease both}.branch-detail p{margin:0}.branch-hint{font-size:13px;color:#87a4bd;margin:16px 0 0 41px}.branch-hint span{color:var(--accent);margin-right:6px}.stage-footer{border-top:1px solid #23384d;margin:0 56px;display:flex;align-items:center;justify-content:space-between;gap:25px}.restart-button{background:transparent;color:#99b1c8;font-size:15px;padding:10px 0}.restart-button span{margin-right:8px;font-size:20px}.progress-wrap{display:flex;align-items:center;gap:16px}.progress{display:flex;gap:6px}.progress i{display:block;width:25px;height:3px;border-radius:4px;background:#294156;transition:background .2s}.progress i.past{background:#617f98}.progress i.current{background:var(--accent);box-shadow:0 0 10px #50baff55}#progress-label{font-size:13px;color:#8ca8c1;min-width:115px}.step-controls{display:flex;align-items:center;gap:12px}.step-controls button{border:1px solid #36516a;background:#11283d;min-height:43px;border-radius:8px;padding:10px 18px;font-size:15px}#previous-button{font-size:20px;width:46px;padding:7px}.step-controls button:hover:not(:disabled){background:#1b3c56}#next-button span{margin-left:19px;color:var(--accent)}.keyboard-note{text-align:center;height:44px;padding:11px 8px 0;margin:0;color:#849bb2;font-size:11px}.keyboard-note span{padding:0 9px}kbd{font:inherit;border:1px solid #35516b;border-radius:4px;padding:1px 5px;color:#adc1d3}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.exit-recording{position:fixed;right:16px;top:12px;z-index:5;background:#142b42;border:1px solid #426683;border-radius:6px;padding:8px 12px;font-size:12px;opacity:0;transition:opacity .2s}.exit-recording:hover,.exit-recording:focus-visible,body.recording.controls-visible .exit-recording{opacity:1}body.recording .page-bar,body.recording .keyboard-note{display:none}body.recording main{min-height:100svh;padding:0}body.recording .stage{border:0;border-radius:0;box-shadow:none}.no-script{padding:24px;text-align:center}@keyframes chapter-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes branch-in{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}@keyframes line-in{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes detail-in{from{opacity:0}to{opacity:1}}
@media(max-width:760px){.page-bar{padding:12px 16px;height:auto;min-height:64px;gap:10px;flex-wrap:wrap}.format-label{display:none}.page-actions button{font-size:11px;padding:8px 10px}.back-link{font-size:12px}main{display:block;padding:0 12px;min-height:0}.frame{width:100%!important;height:auto!important}.stage{position:relative;width:100%;height:auto;transform:none!important;display:block;border-radius:12px}.stage-header{padding:24px 20px;align-items:start;gap:10px}.identity{gap:12px}.identity svg{width:26px;height:26px;flex:none}.identity h1{font-size:24px;letter-spacing:-1px}.identity p{font-size:12px;line-height:1.5;max-width:190px}.journey-label>span{display:none}.journey-label strong{font-size:11px;letter-spacing:0;white-space:nowrap}.journey-label strong span{margin:0 3px}.journey-layout{display:flex;flex-direction:column;padding:20px 18px;gap:25px}.timeline li{height:66px}.timeline ol{gap:5px}.track{bottom:33px}.milestone-button{height:66px;padding-left:48px}.milestone-name{font-size:17px}.milestone-date{font-size:12px}.milestone-plus{font-size:21px}.story{border-left:0;border-top:1px solid #2c465f;padding:25px 0 0;scroll-margin-top:15px}.overview-map{width:180px}.overview-map svg{height:85px}.overview-kicker{font-size:13px}.overview h2{font-size:30px;letter-spacing:-1px}.overview-copy{font-size:14px}.start-button{font-size:14px}.chapter-topline{font-size:13px}.chapter-heading p{font-size:14px}.chapter h2{font-size:29px;letter-spacing:-.8px}.chapter-intro{font-size:14px;line-height:1.6;margin:13px 0 22px;min-height:0}.close-chapter{font-size:25px;width:32px;height:32px}.branch-tree{padding-left:22px;gap:12px}.branch-tree:before{left:1px}.branch:before{width:20px;left:-20px}.branch:after{left:-23px}.branch-button{padding:14px 12px;gap:10px}.branch-index{width:25px;height:25px;font-size:11px}.branch-text strong{font-size:16px}.branch-text small{font-size:12px;line-height:1.5}.branch-detail{font-size:14px;padding:0 14px 17px 14px}.branch-hint{font-size:11px;margin-left:23px}.stage-footer{padding:18px 0;margin:0 18px;flex-wrap:wrap;gap:15px}.progress-wrap{order:3;justify-content:center;width:100%}.progress i{width:18px}.restart-button{font-size:13px}.step-controls button{font-size:12px;padding:8px 12px;min-height:38px}#previous-button{width:36px;font-size:18px}#next-button span{margin-left:8px}.keyboard-note{height:auto;line-height:1.8;margin-bottom:16px}.keyboard-note span,.keyboard-note kbd{display:none}.keyboard-note{font-size:0}.keyboard-note:before{content:"Tap a moment, then open a branch.";font-size:11px}body.recording main{padding:0 10px}body.recording .stage{border:1px solid #243c54}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the date beside the role, with the company on its own quieter line. */
.milestone-words{min-width:0;flex:1}.milestone-heading{display:flex;align-items:baseline;gap:10px}.milestone-heading .milestone-name{font-size:18px;min-width:0}.milestone-heading .milestone-date{margin:0;font-size:12px;white-space:nowrap;flex:none}.milestone-company{display:block;margin-top:5px;font-size:13px;color:#90a8bf;letter-spacing:.2px}.milestone-plus{flex:none}.milestone-heading .milestone-name{flex:1}@media(max-width:760px){.milestone-heading{gap:8px}.milestone-heading .milestone-name{font-size:16px}.milestone-heading .milestone-date{font-size:11px}.milestone-company{font-size:12px}}
