/* Project Romulus. The stage is always the dark ground, whatever the theme. */

.page-flow { justify-content: flex-start; }
.page-flow .footer { margin-top: auto; }

.romulus {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 28px);
  padding-top: clamp(16px, 4vw, 48px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--rule);
}
.intro-label { grid-column: 1 / -1; margin-bottom: -12px; }
.romulus h1 { font-size: clamp(48px, 7vw, 104px); }
.intro-body { display: flex; flex-direction: column; gap: 14px; padding-top: .9vw; animation: srFade 1s .4s both; }
.lede-strong { color: var(--ink); }

.stage {
  position: relative;
  margin: 8px 0 0;
  height: min(70vh, 760px);
  min-height: 380px;
  background: #0e0d0b;
  overflow: hidden;
  border-radius: 4px;
  animation: srFade 1.2s .6s both;
}
.stage canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}
.stage canvas:active { cursor: grabbing; }
.stage-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(243, 241, 234, .5);
  pointer-events: none;
}

.caption {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.plan { display: flex; flex-direction: column; gap: 24px; margin-top: clamp(32px, 5vw, 64px); }
.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.plan-head h2 { font-weight: 400; }
.plan-stack { margin: 0; color: var(--faint); font-size: 11px; }

.stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.stack li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px 32px 0;
  border-bottom: 1px solid var(--rule);
}
.stack li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--rule); }
.stack .num { color: var(--faint); font-variant-numeric: tabular-nums; }
.stack b {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.stack li > span:last-child {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--muted);
}
.stack .next .num { color: var(--accent); }
.stack .next .num::after { content: " · next"; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }

@media (max-width: 960px) {
  .intro { grid-template-columns: 1fr; align-items: start; }
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .stack li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--rule); }
}
@media (max-width: 600px) {
  .stack { grid-template-columns: 1fr; }
  .stack li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .stack li { padding: 20px 0 24px; }
  .stage { height: 62vh; min-height: 340px; }
  .stage-tag .hint { display: none; }
}
