/* Mythos' existing artwork surrounds a single, flowing development timeline. */
@font-face{font-family:"Cinzel";src:url("../assets/mythos/fonts/Cinzel.ttf") format("truetype");font-weight:400 900;font-style:normal;font-display:swap}
.mythos-roadmap__stage{position:relative;width:100%;padding:92px 24px 100px;background:var(--mythos-img-roadmap_background,url("../assets/mythos/roadmap-background.png")) center top/2560px 1461px no-repeat}
.mythos-roadmap__intro{display:grid;grid-template-columns:minmax(0,573px) minmax(0,1fr);gap:60px;align-items:center;width:100%;max-width:1188px;margin:0 auto}
.mythos-roadmap__intro>img{display:block;width:100%;height:auto}
.mythos-roadmap__intro-copy{min-width:0;padding:16px 0}
.mythos-roadmap__intro h1{margin:0 0 22px;color:#dce9ee;font:600 42px/1.25 var(--mythos-heading,"Cinzel"),Georgia,serif;letter-spacing:.02em;text-shadow:0 2px 16px #00bec930}
.mythos-roadmap__intro p{max-width:500px;margin:0;color:#a1bcc7;font-size:16px;line-height:1.85}
.mythos-roadmap__legend{display:flex;flex-wrap:wrap;gap:12px 24px;list-style:none;padding:0;margin:30px 0 0}
.mythos-roadmap__legend-item{display:flex;align-items:center;gap:8px;font-size:12px;color:#c8dce6}
.mythos-roadmap .is-done{--status-color:#6be0a2;--status-glow:#6be0a242;--status-wash:#6be0a211}
.mythos-roadmap .is-in_progress{--status-color:#ffb466;--status-glow:#ffb46648;--status-wash:#ffb46614}
.mythos-roadmap .is-not_done{--status-color:#ff6b6b;--status-glow:#ff6b6b30;--status-wash:#ff6b6b10}
.mythos-roadmap__legend-item>span{width:7px;height:7px;border-radius:50%;background:var(--status-color);box-shadow:0 0 10px var(--status-glow)}
.mythos-roadmap__timeline{width:100%;max-width:864px;margin:70px auto 0}
.mythos-roadmap__timeline>h2{margin:0 0 46px;padding-left:106px;color:#dce9ee;font:600 28px/1.4 var(--mythos-heading,"Cinzel"),Georgia,serif;letter-spacing:.02em}
.mythos-roadmap__phases{list-style:none;padding:0;margin:0}
.mythos-roadmap__phase{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);gap:34px;padding:0 0 42px;min-height:174px}
.mythos-roadmap__phase:last-child{padding-bottom:0;min-height:120px}
.mythos-roadmap__phase:before{content:"";position:absolute;left:35px;top:76px;bottom:3px;width:2px;background:linear-gradient(var(--status-color),#7aadb82a);opacity:.6}
.mythos-roadmap__phase:after{content:"";position:absolute;left:32px;bottom:19px;width:7px;height:7px;border-right:1px solid var(--status-color);border-bottom:1px solid var(--status-color);transform:rotate(45deg);opacity:.6}
.mythos-roadmap__phase:last-child:before,.mythos-roadmap__phase:last-child:after{display:none}
.mythos-roadmap__marker{position:relative;display:block;width:72px;height:72px;color:var(--status-color);filter:drop-shadow(0 0 10px var(--status-glow));animation:mythos-status-glow 4.8s ease-in-out infinite;animation-delay:var(--phase-delay,0s)}
.mythos-roadmap__marker:before{content:"";position:absolute;inset:7px;border-radius:50%;background:radial-gradient(circle,var(--status-glow),var(--status-wash) 48%,transparent 72%);box-shadow:0 0 22px var(--status-glow);opacity:.6;animation:mythos-rune-aura 4.8s ease-in-out infinite;animation-delay:var(--phase-delay,0s)}
.mythos-roadmap__marker svg{display:block;position:relative;width:100%;height:100%;overflow:visible}
.mythos-roadmap__rune{stroke-width:1;opacity:.42}
.mythos-roadmap__ring{stroke-width:1.4;opacity:.9;fill:#061824;fill-opacity:.85}
.mythos-roadmap__rune-detail{stroke-width:1;opacity:.65}
.mythos-roadmap__symbol{stroke-width:2.7;filter:drop-shadow(0 0 4px var(--status-color))}
.mythos-roadmap__energy{stroke-width:1.4;stroke-dasharray:34 161;opacity:.85;transform-origin:40px 40px;animation:mythos-roadmap-spin 12s linear infinite;animation-delay:var(--phase-delay,0s);filter:drop-shadow(0 0 3px var(--status-color))}
.mythos-roadmap__check{opacity:.45;stroke-width:2}
.mythos-roadmap__check-trace{stroke-dasharray:1;stroke-dashoffset:0;animation:mythos-check-trace 6s ease-in-out infinite;animation-delay:var(--phase-delay,0s)}
.mythos-roadmap__lock{transform-origin:40px 40px;animation:mythos-lock-guard 6s ease-in-out infinite;animation-delay:var(--phase-delay,0s)}
.mythos-roadmap__keyhole{animation:mythos-keyhole-glow 4.8s ease-in-out infinite;animation-delay:var(--phase-delay,0s)}
.mythos-roadmap__spinner{stroke-width:2.7;stroke-dasharray:48 28;transform-origin:40px 40px;animation:mythos-roadmap-spin 2.6s linear infinite;filter:drop-shadow(0 0 3px var(--status-color))}
.mythos-roadmap__center{fill:currentColor;stroke:none}
.mythos-roadmap__phase.is-in_progress .mythos-roadmap__marker{animation-duration:3s}
.mythos-roadmap__phase.is-not_done .mythos-roadmap__marker{animation-duration:5.5s}
.mythos-roadmap__phase.is-in_progress .mythos-roadmap__energy{animation-duration:4.5s}
.mythos-roadmap__phase.is-not_done .mythos-roadmap__energy{animation-direction:reverse;animation-duration:18s;opacity:.55}
.mythos-roadmap__phase-body{min-width:0;padding:18px 22px 22px;border-bottom:1px solid #7aadb826;background:linear-gradient(100deg,var(--status-wash),transparent 85%)}
.mythos-roadmap__phase-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mythos-roadmap__step{color:#8aa7b7;font-size:12px;font-variant-numeric:tabular-nums}
.mythos-roadmap__phase h3{margin:0;color:#dce9ee;font:600 24px/1.4 var(--mythos-heading,"Cinzel"),Georgia,serif;letter-spacing:.015em}
.mythos-roadmap__status{margin-left:auto;color:var(--status-color);border:1px solid var(--status-glow);background:var(--status-wash);padding:4px 12px;font-size:12px;line-height:1.5;white-space:nowrap}
.mythos-roadmap__phase p{margin:13px 0 0;color:#a1bcc7;font-size:14px;line-height:1.8;max-width:580px}
@keyframes mythos-status-glow{0%,100%{filter:drop-shadow(0 0 9px var(--status-glow))}50%{filter:drop-shadow(0 0 21px var(--status-glow))}}
@keyframes mythos-roadmap-spin{to{transform:rotate(360deg)}}
@keyframes mythos-rune-aura{0%,100%{opacity:.4;transform:scale(.94)}50%{opacity:.85;transform:scale(1.08)}}
@keyframes mythos-check-trace{0%{stroke-dashoffset:1;opacity:.55}20%,85%,100%{stroke-dashoffset:0;opacity:1}}
@keyframes mythos-lock-guard{0%,72%,100%{transform:rotate(0deg)}78%{transform:rotate(-3deg)}84%{transform:rotate(3deg)}90%{transform:rotate(-2deg)}96%{transform:rotate(0deg)}}
@keyframes mythos-keyhole-glow{0%,100%{opacity:.6;filter:drop-shadow(0 0 2px var(--status-color))}50%{opacity:1;filter:drop-shadow(0 0 6px var(--status-color))}}

/* Hover responds to the action; the original artwork stays in place. */
.mythos-roadmap__links{isolation:isolate;overflow:visible;background:transparent}
.mythos-roadmap__links a{position:relative;min-width:0;background-color:#061824;transition:transform .3s cubic-bezier(.2,.7,.2,1),filter .3s ease,box-shadow .3s ease;transform-origin:center;box-shadow:inset 0 -1px 0 #68c4d51c}
.mythos-roadmap__links a:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#00bec91c,transparent 65%);border-bottom:2px solid var(--mythos-accent,#00bec9);opacity:0;transition:opacity .3s ease}
.mythos .mythos-roadmap__links a:hover,.mythos .mythos-roadmap__links a:focus-visible{transform:translateY(-3px) scale(1.025);filter:brightness(1.17);box-shadow:0 6px 26px #00bec929,inset 0 0 20px #00bec914;z-index:1}
.mythos-roadmap__links a:hover:after,.mythos-roadmap__links a:focus-visible:after{opacity:1}
.mythos-roadmap__phase-body{border-left:1px solid var(--status-glow);transition:background-color .3s ease,border-color .3s ease,box-shadow .3s ease}
.mythos-roadmap__phase:hover .mythos-roadmap__phase-body{background-color:#081e2b70;border-color:var(--status-color);box-shadow:-8px 0 28px -18px var(--status-color)}
.mythos-roadmap__status{box-shadow:0 0 14px var(--status-wash);text-shadow:0 0 12px var(--status-glow)}
.mythos-roadmap__phase:before{background:linear-gradient(180deg,var(--status-color),var(--status-glow) 55%,transparent);box-shadow:0 0 7px var(--status-glow)}
.mythos-roadmap__phase:after{filter:drop-shadow(0 0 4px var(--status-color))}
.mythos-roadmap__motion{display:inline-flex;align-items:center;gap:9px;margin-top:18px;padding:6px 0;border:0;background:none;color:#7fabb9;font:12px "Open Sans",Arial,sans-serif;cursor:pointer;transition:color .2s ease}
.mythos-roadmap__motion>span:first-child{width:14px;text-align:center;color:var(--mythos-accent,#00bec9)}
.mythos-roadmap__motion:hover{color:#c8eff2}
.mythos-roadmap__motion:disabled{cursor:default;color:#6b8997}
.mythos-roadmap.is-motion-paused *,.mythos-roadmap.is-motion-paused *:before,.mythos-roadmap.is-motion-paused *:after{animation-play-state:paused!important}
@media(max-width:900px){
    .mythos-roadmap__stage{padding:60px 24px 80px}
    .mythos-roadmap__intro{gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
    .mythos-roadmap__intro h1{font-size:32px}
    .mythos-roadmap__intro p{font-size:15px}
    .mythos-roadmap__legend{gap:12px 18px}
}
@media(max-width:600px){
    .mythos-roadmap__stage{padding:42px 20px 64px;background-size:auto 1200px}
    .mythos-roadmap__intro{display:flex;flex-direction:column;gap:14px}
    .mythos-roadmap__intro>img{max-width:440px}
    .mythos-roadmap__intro-copy{width:100%;padding:0}
    .mythos-roadmap__intro h1{font-size:32px;margin-bottom:16px}
    .mythos-roadmap__legend{margin-top:22px;gap:12px 16px}
    .mythos-roadmap__timeline{margin-top:52px}
    .mythos-roadmap__timeline>h2{font-size:23px;padding-left:0;margin-bottom:30px}
    .mythos-roadmap__phase{grid-template-columns:52px minmax(0,1fr);gap:14px;padding-bottom:34px}
    .mythos-roadmap__marker{width:52px;height:52px}
    .mythos-roadmap__phase:before{left:25px;top:58px}
    .mythos-roadmap__phase:after{left:22px}
    .mythos-roadmap__phase-body{padding:10px 10px 18px}
    .mythos-roadmap__phase-heading{gap:7px}
    .mythos-roadmap__phase h3{font-size:21px;width:100%;order:2}
    .mythos-roadmap__status{font-size:11px;padding:3px 8px;order:1}
    .mythos-roadmap__phase p{font-size:13px;line-height:1.7}
}
@media(prefers-reduced-motion:reduce){
    .mythos-roadmap *,.mythos-roadmap *:before,.mythos-roadmap *:after{animation:none!important;transition:none!important}
    .mythos .mythos-roadmap__links a:hover,.mythos .mythos-roadmap__links a:focus-visible{transform:none}
}
