/* The roadmap page: the document as it was written, in the site's type. */
body.rm { background: var(--bg); }
.rm .mast { mix-blend-mode: normal; opacity: 1; transform: none; }
.rm .mast .pill { opacity: 1; transform: none; }
.rm-main { padding: 0 var(--pad); max-width: 1500px; margin: 0 auto; }
.rm-hero { position: relative; padding: 24vh 0 10vh; }
.rm-hero .arc { position: absolute; left: calc(-1 * var(--pad)); top: 0; width: 34vw; height: 70vh; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 96%); mask-image: linear-gradient(to bottom, #000 60%, transparent 96%); }
.rm-hero > * { position: relative; z-index: 1; }
.rm-hero .n { margin-bottom: 26px; }
.rm-hero .display { font-size: clamp(3rem, 7.4vw, 8rem); max-width: 12ch; margin-bottom: 40px; }
.rm-intro { max-width: 46rem; margin-left: auto; }
.rm-intro p { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.45; color: var(--ink); margin-bottom: 1em; }
.rm-intro p:first-child { font-size: clamp(1.25rem, 1.9vw, 1.8rem); letter-spacing: -.02em; }

.rm-grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 60px; align-items: start; padding-bottom: 12vh; }
.rm-index { position: sticky; top: 110px; display: grid; gap: 6px; font-size: .86rem; color: var(--ink-2); }
.rm-index a { padding: 6px 0 6px 14px; border-left: 1px solid var(--line); transition: color .3s, border-color .3s, padding-left .3s; }
.rm-index a:hover, .rm-index a.on { color: var(--ink); border-left-color: var(--accent); padding-left: 18px; }

.rm-body { max-width: 52rem; }
.rm-sec { padding: 8vh 0 4vh; border-top: 1px solid var(--line); }
.rm-sec h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 30px; }
.rm-sub { padding: 30px 0 10px; }
.rm-sub h3, .rm-body h4 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; margin: 26px 0 12px; }
.rm-body p, .rm-body li { font-size: 1.05rem; line-height: 1.55; color: var(--ink-2); }
.rm-body p { margin-bottom: 1em; }
.rm-body strong { color: var(--ink); font-weight: 600; }
.rm-body ul, .rm-body ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.rm-body li { margin-bottom: .45em; }
.rm-body li::marker { color: var(--accent); }
.rm-body code { font-family: var(--mono); font-size: .85em; color: var(--ink); background: rgba(10,11,13,.05); padding: 1px 6px; border-radius: 6px; }
.rm-body pre { font-family: var(--mono); font-size: .8rem; line-height: 1.6; color: #f4f5f7; background: var(--card); border-radius: 18px; padding: 20px 24px; overflow-x: auto; margin: 0 0 1.4em; }
.rm-body pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.rm-body .lead b { color: var(--accent); font-weight: 600; }
.rm-body .rule { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }

.tbl { overflow-x: auto; margin: 0 0 1.6em; border-radius: 18px; border: 1px solid var(--line); }
.tbl table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th { text-align: left; font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { color: var(--ink); font-weight: 500; }
.tbl td:last-child { font-family: var(--mono); font-size: .8rem; color: var(--accent); white-space: nowrap; }

/* The six releases: a rail down the left, one article per release, the gate pulled out. */
.rm-releases .rail { position: relative; padding-left: 34px; }
.rm-releases .rail::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.rel { position: relative; padding: 10px 0 60px; }
.rel::before { content: ""; position: absolute; left: -34px; top: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.rel.in::before { background: var(--accent); }
.rel-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 22px; }
.rel-head .n { margin: 0; }
.rel-head h3 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); letter-spacing: -.045em; line-height: 1; }
.rel-body .note { margin-bottom: 1.2em; }
.grps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 40px; }
.grp h4 { margin: 14px 0 8px; font-size: 1rem; color: var(--ink); }
.grp ul { padding-left: 1.1rem; }
.grp li { font-size: .98rem; }
.gate { margin-top: 26px; padding: 22px 26px; border-radius: 22px; background: var(--card); color: #f4f5f7; }
.gate .n { color: rgba(244,245,247,.55); margin-bottom: 8px; }
.gate .n::before { background: var(--cyan); }
.gate p { color: #f4f5f7; font-size: 1.05rem; margin: 0; }

.rm .foot { max-width: 1500px; margin: 0 auto; }
@media (max-width: 900px) {
  .rm-grid { grid-template-columns: 1fr; gap: 20px; }
  .rm-index { position: static; display: flex; flex-wrap: wrap; gap: 8px 14px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .rm-index a { border-left: 0; padding: 4px 0; }
  .grps { grid-template-columns: 1fr; }
  .rel-head { flex-direction: column; gap: 8px; }
  .rm-hero { padding-top: 16vh; }
  .rm-intro { margin-left: 0; }
  .tbl td:last-child { white-space: normal; }
}

/* ---- the stage: Uranus, the laptop, the releases opening on the desktop ---- */
.rm-stage { position: relative; height: 520vh; margin: 0; }
.rm-stage-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #05070c; }
.rm-planet { position: absolute; left: 50%; top: 50%; width: 118%; height: auto; min-height: 118%; object-fit: cover; transform: translate(-50%, -50%) scale(1.02); will-change: transform; }
.rm-stage-copy { position: absolute; left: var(--pad); top: 16vh; z-index: 2; color: #f4f5f7; max-width: 44rem; }
.rm-stage-copy .n { color: rgba(244,245,247,.7); margin-bottom: 22px; }
.rm-stage-copy .n::before { background: var(--cyan); }
.rm-stage-copy .display { color: #fff; font-size: clamp(2.6rem, 6.4vw, 7rem); max-width: 12ch; margin-bottom: 20px; text-shadow: 0 2px 40px rgba(0,0,0,.4); }
.rm-stage-copy .lede { color: rgba(244,245,247,.78); font-size: clamp(1rem, 1.3vw, 1.25rem); max-width: 30rem; }
.rm-stage-hint { position: absolute; left: var(--pad); bottom: 30px; z-index: 2; font-family: var(--mono); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(244,245,247,.55); }
.laptop { position: absolute; right: var(--pad); bottom: 8vh; width: min(58vw, 1100px); z-index: 2; transform-origin: 50% 100%; will-change: transform; }
.laptop-lid { border-radius: 18px 18px 6px 6px; background: #0b0d12; padding: 12px 12px 14px; box-shadow: 0 40px 120px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.12); transform-origin: 50% 100%; transform: perspective(1600px) rotateX(-4deg); }
.laptop-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #000; }
.laptop-screen > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.laptop-base { height: 14px; border-radius: 0 0 14px 14px; background: linear-gradient(#20242c, #0d0f14); box-shadow: 0 6px 20px rgba(0,0,0,.5); position: relative; }
.laptop-base i { position: absolute; left: 50%; top: 0; width: 14%; height: 4px; transform: translateX(-50%); background: #2a2f38; border-radius: 0 0 4px 4px; }
.wins { position: absolute; inset: 7% 4% 12% 4%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 2.2%; }
.win { background: rgba(14,18,24,.92); border: 1px solid rgba(120,200,220,.35); border-radius: 8px; overflow: hidden; color: #dfe6ec; font-size: clamp(.5rem, .62vw, .78rem); line-height: 1.35; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s var(--expo), transform .7s var(--expo); box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.win.on { opacity: 1; transform: none; }
.win-bar { display: flex; align-items: center; gap: 5px; padding: 6px 8px; background: rgba(20,26,34,.95); border-bottom: 1px solid rgba(120,200,220,.18); font-family: var(--mono); font-size: .9em; color: #cfe8ee; }
.win-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; } .win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 6px; }
.win-body { padding: 8px 9px; display: grid; gap: 6px; }
.win-groups { color: rgba(207,232,238,.75); font-family: var(--mono); font-size: .85em; }
.win-gate b { color: var(--cyan); font-weight: 600; margin-right: 4px; }
.rm-hero-after { padding-top: 12vh; }
@media (max-width: 900px) {
  .rm-stage { height: 420vh; }
  .rm-stage-copy { top: 10vh; right: var(--pad); }
  .laptop { right: 4vw; left: 4vw; width: auto; bottom: 6vh; }
  .wins { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); }
  .win { font-size: .5rem; }
}
.rm-stage-copy { top: 14vh; max-width: 30rem; }
.rm-stage-copy .display { font-size: clamp(2.4rem, 5.2vw, 5.6rem); max-width: 10ch; }
.laptop { width: min(54vw, 980px); bottom: 5vh; }
.rm .mast .brand { color: #fff; transition: color .3s; }
html.past-stage .mast .brand { color: var(--ink); }
@media (max-width: 900px) { .rm-stage-copy { max-width: none; } .rm-stage-copy .display { font-size: clamp(2rem, 9vw, 3rem); } }
.rm-stage-copy .lede { max-width: 24rem; text-shadow: 0 1px 24px rgba(0,0,0,.7); }

/* The live stage */
.rm-stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rm-wins { position: absolute; left: var(--pad); top: 44vh; bottom: 14vh; width: min(44vw, 640px); z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 12px; }
.rm-wins .win { font-size: clamp(.58rem, .7vw, .8rem); background: rgba(10,14,20,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(120,200,220,.3); }
.rm-wins .win-body { padding: 10px 11px; }
.rm-stage-copy { top: 12vh; }
@media (max-width: 900px) { .rm-wins { left: var(--pad); right: var(--pad); width: auto; top: 38vh; bottom: 10vh; grid-template-columns: 1fr 1fr; } }

/* The film's beats */
.rm-stage-copy { left: auto; right: var(--pad); top: auto; bottom: 14vh; max-width: 36rem; text-align: right; opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--expo), transform 1.4s var(--expo); }
.rm-stage-copy.on { opacity: 1; transform: none; }
.rm-stage-copy .n { justify-content: flex-end; }
.rm-stage-copy .display { max-width: none; font-size: clamp(2.6rem, 6.6vw, 7.4rem); margin-left: auto; }
.rm-stage-copy .lede { margin-left: auto; max-width: 26rem; }
.rm-stage-hint { transition: opacity .6s; }
.rm-stage-hint.off { opacity: 0; }
.rm-wins { top: 18vh; bottom: 16vh; width: min(46vw, 680px); }
.rm-wins .win { transition: opacity .9s var(--expo), transform 1.1s var(--expo); transform: translateY(18px) scale(.97); }
@media (max-width: 900px) { .rm-stage-copy { right: var(--pad); left: var(--pad); bottom: 8vh; text-align: left; } .rm-stage-copy .n { justify-content: flex-start; } .rm-stage-copy .display, .rm-stage-copy .lede { margin-left: 0; } .rm-wins { top: 14vh; bottom: 30vh; } }

/* ---- the film's type: beats, not boxes ---- */
.rm-stage { height: 760vh; }
.rm-title, .rm-close { position: absolute; right: var(--pad); bottom: 12vh; z-index: 2; max-width: 40rem; text-align: right; color: #fff; opacity: 0; transform: translateY(26px); transition: opacity 1s var(--expo), transform 1.3s var(--expo); }
.rm-title.on, .rm-close.on { opacity: 1; transform: none; }
.rm-title .n { justify-content: flex-end; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.rm-title .n::before { background: var(--cyan); }
.rm-title .display { font-size: clamp(2.6rem, 6.6vw, 7.4rem); max-width: none; margin: 0 0 18px auto; text-shadow: 0 2px 40px rgba(0,0,0,.45); }
.rm-title .lede, .rm-close .lede { color: rgba(255,255,255,.8); max-width: 28rem; margin-left: auto; text-shadow: 0 1px 24px rgba(0,0,0,.6); }
.rm-close .display-3 { font-weight: 500; font-size: clamp(2rem, 4.4vw, 4.6rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 18px auto; text-shadow: 0 2px 40px rgba(0,0,0,.45); }
.rm-beats { position: absolute; right: var(--pad); bottom: 12vh; z-index: 2; max-width: 44rem; text-align: right; color: #fff; }
.beat { position: absolute; right: 0; bottom: 0; width: 44rem; max-width: 80vw; opacity: 0; transform: translateY(28px); transition: opacity .7s var(--expo), transform 1s var(--expo); pointer-events: none; }
.beat.on { opacity: 1; transform: none; transition-delay: .15s; }
.beat-v { font-family: var(--mono); font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; text-shadow: 0 1px 16px rgba(0,0,0,.6); }
.beat-n { font-weight: 600; font-size: clamp(2.6rem, 6.4vw, 7rem); line-height: .95; letter-spacing: -.045em; margin-bottom: 20px; text-shadow: 0 2px 40px rgba(0,0,0,.45); }
.beat-g { font-size: clamp(1rem, 1.35vw, 1.3rem); line-height: 1.45; color: rgba(255,255,255,.86); text-shadow: 0 1px 24px rgba(0,0,0,.7); margin: 0 0 0 auto; max-width: 34rem; }
.beat-g::before { content: "Gate"; display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.rm-bindex { position: absolute; left: var(--pad); bottom: 12vh; z-index: 2; display: grid; gap: 8px; font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35); opacity: 0; transition: opacity .6s; }
.rm-stage.reading .rm-bindex { opacity: 1; }
.rm-bindex span { position: relative; padding-left: 16px; transition: color .3s, transform .4s var(--expo); }
.rm-bindex span::before { content: ""; position: absolute; left: 0; top: .45em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rm-bindex span.done { color: rgba(255,255,255,.7); }
.rm-bindex span.on { color: #fff; transform: translateX(6px); }
.rm-bindex span.on::before { background: var(--cyan); box-shadow: 0 0 0 3px rgba(102,255,255,.2); }
.rm-stage-copy, .rm-wins, .laptop { display: none; }
@media (max-width: 900px) {
  .rm-title, .rm-close, .rm-beats { right: var(--pad); left: var(--pad); text-align: left; bottom: 10vh; }
  .rm-title .n { justify-content: flex-start; } .rm-title .display, .rm-title .lede, .rm-close .display-3, .rm-close .lede, .beat-g { margin-left: 0; }
  .beat { right: auto; left: 0; width: auto; max-width: none; }
  .beat-n { font-size: clamp(2rem, 9vw, 3rem); }
  .rm-bindex { display: none; }
}
.rm-title .display, .beat .beat-n, .rm-close .display-3 { color: #fff; }

/* Type on the film: medium weight, the gate on a hairline, a reading measure. */
.rm-title .display { font-weight: 500; font-size: clamp(2.6rem, 6.2vw, 7rem); letter-spacing: -.045em; }
.rm-title .lede, .rm-close .lede { font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.55; max-width: 26rem; color: rgba(255,255,255,.82); }
.beat-v { margin-bottom: 18px; }
.beat-n { font-weight: 500; font-size: clamp(2.6rem, 6vw, 6.6rem); letter-spacing: -.045em; margin-bottom: 26px; }
.beat-g { font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.55; max-width: 30rem; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.88); }
.beat-g::before { content: "Gate"; margin-bottom: 10px; color: var(--cyan); }
.rm-close .display-3 { font-weight: 500; letter-spacing: -.045em; }
.rm-body p, .rm-body li { font-size: 1.02rem; line-height: 1.6; }
.rm-sec h2 { font-weight: 500; }
.rel-head h3 { font-weight: 500; }
.rm-hero-after .rm-intro p { font-weight: 400; }

/* ---- the document, set ---- */
.rm-hero-after { padding: 16vh 0 6vh; }
.rm-intro { max-width: 60rem; margin: 0; }
.rm-intro p { max-width: 40rem; }
.rm-intro p:first-child { font-size: clamp(1.8rem, 3.4vw, 3.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; max-width: 22ch; margin-bottom: 40px; }
.rm-intro p:nth-child(2) { font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.4; color: var(--ink); }
.rm-grid { gap: 80px; }
.rm-index { top: 120px; font-size: .78rem; }
.rm-index a { padding: 7px 0 7px 16px; }
.rm-sec { padding: 14vh 0 6vh; }
.rm-sec h2 { font-size: clamp(2.2rem, 4.4vw, 4.6rem); margin-bottom: 44px; }
.rm-sub h3 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); letter-spacing: -.03em; margin: 60px 0 22px; }
.rm-body p, .rm-body li { font-size: 1.05rem; line-height: 1.6; max-width: 40rem; }
.rm-body > .rm-sec > p:first-of-type, .rm-sub > p:first-of-type { font-size: 1.2rem; color: var(--ink); }

/* Leads: the document's own structure as a grid, the lead in ink, the body after it. */
.leads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 48px; margin: 36px 0 44px; }
.lead-item { padding-top: 18px; border-top: 1px solid var(--line); }
.lead-k { font-weight: 500; color: var(--ink); letter-spacing: -.01em; font-size: 1.1rem; margin-bottom: 8px; }
.lead-item p:not(.lead-k) { font-size: .98rem; margin: 0; }
/* Subsystem leads (Today, Missing, Order, Artifact) run full width with the label in mono. */
.lead-item.today, .lead-item.missing, .lead-item.order, .lead-item.artifact, .lead-item.signal { grid-column: 1 / -1; display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 16px; }
.lead-item.today .lead-k, .lead-item.missing .lead-k, .lead-item.order .lead-k, .lead-item.artifact .lead-k, .lead-item.signal .lead-k { font-family: var(--mono); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); padding-top: 6px; }
.lead-item.artifact .lead-k { color: #0aa5a5; }

/* The day table as a component. */
.tbl { border: 0; border-radius: 0; margin: 10px 0 30px; }
.tbl th { padding: 0 14px 14px 0; border-bottom: 1px solid var(--ink); font-size: .6rem; }
.tbl td { padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); font-size: .98rem; line-height: 1.45; }
.tbl td:first-child { font-weight: 500; width: 26%; }
.tbl td.lands { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--ink-2); white-space: nowrap; width: 18%; }
.tbl td.lands span { display: inline-block; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); }
.tbl td.lands.done span { background: var(--accent); border-color: var(--accent); color: #fff; }
.tbl td.lands.open span { border-style: dashed; }

/* Releases as spreads. */
.rm-releases .rail { padding-left: 0; }
.rm-releases .rail::before { display: none; }
.rel { padding: 60px 0 40px; border-top: 1px solid var(--line); }
.rel::before { display: none; }
.rel-head { display: grid; gap: 12px; margin-bottom: 34px; }
.rel-head h3 { font-size: clamp(2.8rem, 6vw, 6.4rem); letter-spacing: -.05em; line-height: .95; }
.grps { gap: 10px 48px; }
.grp h4 { font-family: var(--mono); font-weight: 400; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 10px; }
.grp li { font-size: .98rem; }
.gate { margin-top: 40px; padding: 30px 0 0; border-radius: 0; background: none; color: var(--ink); border-top: 1px solid var(--ink); }
.gate .n { color: var(--ink-3); margin-bottom: 14px; }
.gate .n::before { background: var(--accent); }
.gate .gate-t { font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.25; max-width: 34rem; color: var(--ink); }
.rm-body .rule { margin: 40px 0; }
@media (max-width: 900px) { .leads { grid-template-columns: 1fr; } .lead-item.today, .lead-item.missing, .lead-item.order, .lead-item.artifact, .lead-item.signal { grid-template-columns: 1fr; gap: 6px; } .tbl td:first-child, .tbl td.lands { width: auto; } }

/* ---- the homepage's language in the document ---- */
.rm-hero-after { position: relative; }
.rm-hero-after .arc { position: absolute; left: calc(-1 * var(--pad)); top: -6vh; width: 30vw; height: 60vh; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 96%); mask-image: linear-gradient(to bottom, #000 60%, transparent 96%); }
.rm-hero-after .rm-intro { position: relative; z-index: 1; padding-left: 6vw; }
.rm-sec { position: relative; }
.rm-stroke { position: absolute; left: calc(100% + 8vw); top: 40px; width: 18vw; height: 34%; max-height: 360px; z-index: 0; pointer-events: none; opacity: .92; }
.rm-stroke path { fill: none; stroke: var(--accent); stroke-width: clamp(12px, 1.6vw, 30px); stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset 2.2s var(--expo); }
.rm-sec > *:not(.rm-stroke) { position: relative; z-index: 1; }
.rm-sec h2::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--accent); margin-top: 22px; }
.rel-v { font-family: var(--mono); font-size: clamp(1.4rem, 2.6vw, 2.6rem); letter-spacing: -.02em; color: var(--accent); }
.rm .foot { padding-top: 40px; }
.rm .foot .marquee { margin: 0; }
.rm-index a.on::before { content: ""; }
@media (max-width: 1240px) { .rm-stroke { display: none; } }
@media (max-width: 900px) { .rm-hero-after .rm-intro { padding-left: 0; } .rm-hero-after .arc { display: none; } }

/* ---- chapter plates and pull quotes ---- */
.chapter-plate { position: relative; margin: 14vh calc(-1 * var(--pad)) 0 calc(-1 * (var(--pad) + 15rem + 80px)); width: 100vw; height: 62vh; min-height: 420px; border-radius: 0 var(--radius) var(--radius) 0; overflow: hidden; background: #05070c var(--img) center / cover no-repeat; display: grid; align-items: end; padding: 0 var(--pad) 6vh calc(var(--pad) + 15rem + 80px); color: #fff; isolation: isolate; }
.chapter-plate::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,7,12,.85), rgba(5,7,12,.25) 55%, rgba(5,7,12,.1)); }
.chapter-in { position: relative; z-index: 1; }
.chapter-in .n { color: rgba(255,255,255,.65); }
.chapter-in .n::before { background: var(--cyan); }
.chapter-in h2 { font-size: clamp(2.8rem, 7vw, 8rem); font-weight: 500; letter-spacing: -.05em; line-height: .95; color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,.5); }
.chapter-plate + .rm-sec { padding-top: 8vh; border-top: 0; }
.chapter-plate + .rm-sec > h2 { display: none; }
.chapter-plate + .rm-sec > .rm-stroke { top: 0; }
.pull { font-size: clamp(1.6rem, 2.8vw, 2.8rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; color: var(--ink); max-width: 24ch; margin: 52px 0 36px; padding-left: 26px; border-left: 4px solid var(--accent); }
.lead-item { transition: border-color .4s; }
.lead-item:hover { border-top-color: var(--accent); }
.lead-item:hover .lead-k { color: var(--accent); }
.rm-index { position: sticky; }
.rm-index::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: var(--fill, 0%); background: var(--accent); transition: height .3s; }
@media (max-width: 900px) { .chapter-plate { margin: 10vh calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 6vh; border-radius: 0; height: 48vh; } }
@media (max-width: 900px) {
  .rm-index { position: static !important; }
  .rm-index::before { display: none; }
  .rm-index a { padding-left: 0; }
  .rm-index a.on { padding-left: 0; }
  .rm-body { max-width: none; }
  .rm-sec { padding-top: 8vh; }
}
@media (max-width: 900px) { .rm-grid { grid-template-columns: minmax(0, 1fr); } .tbl td.lands { white-space: normal; } .rm-body pre { max-width: 100%; } }

/* The strokes hang past the column on purpose; the page must not scroll sideways for them. */
html.roadmap, html.roadmap body { overflow-x: clip; }

/* The supplied film images remain behind the optional live scene. */
.rm-stage-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.rm-stage-poster:first-child { opacity: 1; }
.rm-stage-canvas { visibility: hidden; }
.stage-live .rm-stage-canvas { visibility: visible; }
.stage-live .rm-stage-poster { visibility: hidden; }
