/* Illustrated roadmap: shared site shell, four individually illustrated chapters. */
.roadmap-page .hero.hero-brand { height: 300px; padding-top: 42px; }
.roadmap-page .hero-brand .brand { width: 300px; }
.roadmap-page .site-wrapper { padding-bottom: 32px; }
.roadmap-page .nav-item[aria-current="page"] { color: #fff0ce; border-color: #c89a53; background: radial-gradient(ellipse at bottom, #bc763133, transparent 75%), linear-gradient(#57251e, #260f12); box-shadow: inset 0 1px #ffdf9666, inset 0 -2px #ce9e51; }
.roadmap-page .nav-item[aria-current="page"] small { color: #ffe4a2; }
.roadmap { padding: 38px 22px 24px; color: #e6d8c6; }
.roadmap-heading { text-align: center; margin-bottom: 26px; }
.roadmap-eyebrow { color: #cba66d; font: 700 10px/1.6 Arial, sans-serif; letter-spacing: 2.2px; }
.roadmap-heading h1 { margin: 9px 0 0; color: #ffe3aa; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.4; text-shadow: 0 2px 3px #000; }
.roadmap-heading h1 > span { display: block; margin-top: 3px; color: #cda464; font: 400 19px/1.4 Georgia, serif; letter-spacing: 5px; }
.roadmap-divider { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 260px; margin: 21px auto 17px; }
.roadmap-divider::before, .roadmap-divider::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, #9a7343); }
.roadmap-divider::after { transform: rotate(180deg); }
.roadmap-divider > span { width: 6px; height: 6px; transform: rotate(45deg); background: #dbb777; box-shadow: 0 0 10px #df9a4944; }
.roadmap-intro { color: #c1ad98; font-size: 14px; line-height: 1.9; }
.roadmap-chapters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 32px 60px; }
.roadmap-chapters a { display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 12px; border: 1px solid #79553380; border-radius: 4px; background: linear-gradient(140deg, #3b251f88, #160e12); transition: border-color .2s, background .2s; }
.roadmap-chapters b { flex: 0 0 auto; color: #cda362; font: 400 24px/1 Georgia, serif; }
.roadmap-chapters span { min-width: 0; color: #e0c8a2; font-size: 12px; line-height: 1.6; }
.roadmap-chapters small { display: block; color: #aa8e69; font: 9px/1.6 Arial, sans-serif; letter-spacing: 1px; }
.roadmap-timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.roadmap-step { position: relative; padding-left: 60px; }
.roadmap-step:not(:last-child)::before { content: ""; position: absolute; top: 46px; left: 20px; width: 1px; height: calc(100% + 34px); background: linear-gradient(#cf9b52, #705237); }
.roadmap-step + .roadmap-step { margin-top: 34px; }
.roadmap-step-number { position: absolute; z-index: 2; left: 0; top: 24px; display: grid; place-items: center; width: 42px; height: 44px; border: 1px solid #b78743; border-radius: 5px; color: #ffe2a3; background: linear-gradient(#51321e, #231619); box-shadow: 0 0 0 5px #1d1314, inset 0 1px #ffdf9c44; font: 700 16px/1 Georgia, serif; }
.roadmap-card { min-width: 0; border: 1px solid #8e693d; border-radius: 8px; }
.roadmap-phase-card { position: relative; overflow: hidden; scroll-margin-top: 24px; background: radial-gradient(ellipse at top right, #8d342120, transparent 65%), linear-gradient(135deg, #25181a, #140e11); box-shadow: inset 0 1px #efca7b44, 0 12px 30px #0005; }
.roadmap-art { position: relative; isolation: isolate; aspect-ratio: 2.65; margin: 0; overflow: hidden; border-bottom: 1px solid #ba8b4966; background: #271915; }
.roadmap-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; transition: transform .7s ease; }
#blood-sky .roadmap-art img { object-position: center; }
.roadmap-art::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg, #0e080512, transparent 38%, #160d10b3 100%); box-shadow: inset 0 0 32px #0004; }
.roadmap-art figcaption { position: absolute; z-index: 2; inset: auto 26px 20px; display: flex; align-items: center; gap: 12px; color: #fff0ce; font: 700 11px/1.5 Arial, sans-serif; letter-spacing: 3px; text-shadow: 0 2px 3px #000; }
.roadmap-art figcaption::before { content: ""; width: 28px; height: 1px; flex: 0 0 28px; background: #e7bb78; box-shadow: 0 0 10px #d88f38; }
.roadmap-phase-content { padding: 26px; }
.roadmap-card-heading { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px 20px; }
.roadmap-phase-heading { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 380px; }
.roadmap-phase-heading > div { min-width: 0; }
.roadmap-phase-heading h2 { margin-top: 5px; color: #ffe1a4; font-size: 29px; line-height: 1.5; overflow-wrap: anywhere; text-shadow: 0 2px 3px #0006; }
.roadmap-emblem { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 56px; color: #efcd8d; background: radial-gradient(#9b63252b, transparent 70%); }
.roadmap-emblem svg { width: 44px; height: 44px; }
.roadmap-date { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #99714480; border-radius: 4px; color: #e2c18b; background: #8c5b1914; font-size: 11px; margin-top: 5px; }
.roadmap-date svg { width: 16px; height: 16px; flex: 0 0 16px; }
.roadmap-phase-intro { margin-top: 18px; color: #d0bdaa; font-size: 14px; line-height: 1.95; }
.roadmap-section-label { display: flex; align-items: center; gap: 12px; margin: 24px 0 13px; color: #d3b784; font-size: 12px; font-weight: 400; }
.roadmap-section-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #8b623d66, transparent); }
.roadmap-objectives { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.roadmap-objectives-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.roadmap-objectives li { padding: 17px 14px; border: 1px solid #73513566; border-radius: 5px; background: linear-gradient(130deg, #3a231d4d, #0c090a33); }
.roadmap-objectives li > div { min-width: 0; }
.roadmap-objective-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; color: #dcb676; }
.roadmap-objective-icon svg { width: 25px; height: 25px; }
.roadmap-objectives h4 { margin: 0 0 7px; color: #f0d9b4; font-size: 14px; line-height: 1.6; }
.roadmap-objectives p { color: #baa794; font-size: 13px; line-height: 1.85; }
.roadmap-rates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 24px 0 0; padding: 17px 0; border-block: 1px solid #87643d55; }
.roadmap-rates > div { min-width: 0; padding: 0 8px; text-align: center; }
.roadmap-rates > div + div { border-left: 1px solid #87643d55; }
.roadmap-rates dt { color: #b6a18b; font-size: 11px; line-height: 1.8; }
.roadmap-rates dd { margin: 3px 0 0; color: #f2d396; font: 700 18px/1.5 Georgia, serif; overflow-wrap: anywhere; }
.roadmap-note { margin-top: 15px; color: #b5a18b; font-size: 12px; line-height: 1.8; }
.roadmap-actions { margin: 28px 0 0 60px; }
.roadmap-news.registration-submit { width: min(100%, 380px); margin: 0 auto; }
.roadmap-page a:focus-visible { outline-color: #ffe1a3; }
@media (hover: hover) and (pointer: fine) {
  .roadmap-chapters a:hover { border-color: #c79750; background: #3a211d; }
  .roadmap-phase-card:hover .roadmap-art img { transform: scale(1.025); }
}
@media (max-width: 800px) {
  .roadmap { padding: 28px 14px 20px; }
  .roadmap-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-art { aspect-ratio: 2.15; }
  .roadmap-phase-content { padding: 22px; }
  .roadmap-phase-heading { flex-basis: 100%; }
  .roadmap-phase-heading h2 { font-size: 27px; }
  .roadmap-objectives, .roadmap-objectives-pair { grid-template-columns: minmax(0, 1fr); }
  .roadmap-objectives li { display: flex; gap: 12px; padding: 14px; }
  .roadmap-objective-icon { flex: 0 0 30px; margin: 0; }
  .roadmap-objectives h4 { margin-bottom: 3px; }
}
@media (max-width: 540px) {
  .roadmap-page .hero.hero-brand { height: 200px; padding-top: 22px; }
  .roadmap-page .hero-brand .brand { width: 240px; }
  .roadmap { padding: 26px 3px 14px; }
  .roadmap-heading { margin-bottom: 22px; }
  .roadmap-heading .roadmap-eyebrow { font-size: 9px; letter-spacing: 1.6px; }
  .roadmap-intro { font-size: 13px; }
  .roadmap-chapters { margin: 0 0 24px; gap: 7px; }
  .roadmap-chapters a { min-height: 66px; gap: 8px; padding: 10px; }
  .roadmap-chapters b { font-size: 20px; }
  .roadmap-chapters span { font-size: 12px; }
  .roadmap-chapters small { font-size: 8px; }
  .roadmap-step { padding-left: 0; }
  .roadmap-step:not(:last-child)::before { display: none; }
  .roadmap-step + .roadmap-step { margin-top: 24px; }
  .roadmap-step-number { top: 12px; left: 12px; width: 36px; height: 38px; border-radius: 4px; background: #1a1011e6; box-shadow: 0 2px 12px #0007, inset 0 1px #ffdf9c33; font-size: 16px; }
  .roadmap-art { aspect-ratio: 2; }
  .roadmap-art figcaption { inset: auto 16px 14px; gap: 8px; font-size: 9px; letter-spacing: 1.8px; }
  .roadmap-art figcaption::before { width: 18px; flex-basis: 18px; }
  .roadmap-phase-content { padding: 20px 16px; }
  .roadmap-card-heading { gap: 12px; }
  .roadmap-phase-heading { display: block; }
  .roadmap-emblem { display: none; }
  .roadmap-phase-heading .roadmap-eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  .roadmap-phase-heading h2 { font-size: 24px; line-height: 1.55; }
  .roadmap-date { margin-top: 0; font-size: 11px; }
  .roadmap-phase-intro { margin-top: 16px; font-size: 13px; line-height: 1.95; }
  .roadmap-section-label { margin-top: 20px; font-size: 12px; gap: 8px; }
  .roadmap-objectives li { gap: 10px; padding: 13px 11px; }
  .roadmap-objective-icon { width: 25px; flex-basis: 25px; }
  .roadmap-objective-icon svg { width: 23px; height: 23px; }
  .roadmap-objectives h4 { font-size: 14px; }
  .roadmap-objectives p { font-size: 13px; }
  .roadmap-rates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; padding-block: 15px; margin-top: 20px; }
  .roadmap-rates > div:nth-child(3) { border-left: 0; }
  .roadmap-actions { margin: 22px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .roadmap-art img, .roadmap-chapters a { transition: none; }
  .roadmap-phase-card:hover .roadmap-art img { transform: none; }
}

/* Keep the reference-character trio visible in the wider v2 artwork. */
@media (max-width: 540px) {
  #beta .roadmap-art img { object-position: 55% center; }
  #adventure .roadmap-art img { object-position: 65% center; }
}
