/* ============================================================
   ROADMAP (rm-*)
   ============================================================ */

.rm-page {
  --paper:   var(--parchment-lightest);
  --paper-2: var(--parchment-light);
  --paper-3: var(--parchment);
  --line:    #d6cbb8;
  --ink-2:   #3a3026;
  --ink-3:   #6b5a44;

  --display: var(--font-display);
  --body:    var(--font-body);
  --accent:  var(--font-accent);
  --mono:    var(--font-mono, ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace);

  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  position: relative;
}
.rm-page::before {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(120,90,55,0.04), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(120,90,55,0.04), transparent 60%);
}
.rm-page > * { position: relative; z-index: 1; }
:where(.rm-page a) { color: inherit; text-decoration: none; }

.rm-section { max-width: 1340px; margin: 0 auto; padding: 80px 40px; }
.rm-section-head { margin-bottom: 40px; max-width: 920px; }
.rm-kicker {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rouge); /* light-surface kicker — rouge, not gold (contrast + brand law) */
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.rm-kicker::after { content: ""; width: 48px; height: 1px; background: var(--rouge); opacity: 0.5; }
.rm-h {
  font-family: var(--display);
  font-size: 50px; line-height: 1.04; letter-spacing: -0.005em;
  font-weight: 500; margin: 0 0 18px;
  color: var(--ink); text-wrap: balance;
}
.rm-h em { font-family: var(--accent); font-style: italic; color: var(--sepia); font-weight: 400; }
.rm-lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 720px; margin: 0; text-wrap: pretty; }

/* Hero */
.rm-hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
}
.rm-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.55) saturate(0.9);
}
.rm-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,12,0.55) 0%, rgba(20,16,12,0.65) 50%, rgba(20,16,12,0.95) 100%);
}
.rm-hero__inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
  padding: 100px 40px 100px;
  text-align: center;
}
.rm-hero__kicker {
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 14px;
}
.rm-hero__kicker::before { content: ""; width: 50px; height: 1px; background: var(--gold); }
.rm-hero__kicker::after { content: ""; width: 50px; height: 1px; background: var(--gold); }
.rm-hero__h {
  font-family: var(--display);
  font-size: 78px; line-height: 0.98; letter-spacing: -0.01em;
  font-weight: 500; margin: 0 0 22px;
  color: var(--paper);
  text-wrap: balance;
}
.rm-hero__h em { font-family: var(--accent); font-style: italic; color: var(--gold); font-weight: 400; }
.rm-hero__sub {
  font-size: 20px; color: rgba(245,240,232,0.92);
  line-height: 1.55;
  margin: 0 auto 32px; max-width: 720px;
  font-style: italic;
  text-wrap: pretty;
}
.rm-hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.rm-btn-pat {
  background: var(--patreon); color: var(--paper);
  font-family: var(--display); font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 16px 24px;
  display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid var(--patreon);
}
.rm-btn-pat:hover { background: var(--patreon-dark); border-color: var(--patreon-dark); color: var(--paper); }
.rm-btn-ghost {
  background: transparent; color: var(--paper);
  font-family: var(--display); font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 14px 22px;
  border: 1px solid rgba(245,240,232,0.4);
}
.rm-btn-ghost:hover { border-color: var(--paper); }

/* Timeline */
.rm-timeline { list-style: none; padding: 0; margin: 0; counter-reset: rmtline; display: grid; gap: 12px; }
.rm-timeline__item {
  background: var(--paper); border: 1px solid var(--line);
  padding: 18px 22px;
  display: grid; grid-template-columns: 72px 1fr auto; gap: 22px; align-items: center;
  transition: border-color 0.15s ease;
}
.rm-timeline__item:hover { border-color: var(--sepia); }
.rm-timeline__cover {
  width: 72px; height: 72px;
  background-size: cover; background-position: center;
  background-color: var(--paper-3);
  border: 1px solid var(--line);
}
.rm-timeline__date {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.rm-timeline__title {
  font-family: var(--display); font-size: 18px;
  line-height: 1.2; font-weight: 500;
  margin: 0; color: var(--ink);
}
.rm-timeline__title a { color: inherit; }
.rm-timeline__title a:hover { color: var(--sepia); }
.rm-timeline__badge {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rouge); font-weight: 600;
  padding: 5px 10px;
  border: 1px solid var(--rouge);
  background: rgba(176,56,56,0.06);
}
.rm-timeline__footer { text-align: center; margin-top: 32px; }
.rm-link {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  display: inline-block;
  transition: background 0.15s ease, color 0.15s ease;
}
.rm-link:hover { background: var(--ink); color: var(--paper); }

/* WIP */
.rm-wip-wrap { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rm-wip { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.rm-wip__l { padding-top: 4px; }
.rm-wip__list { display: flex; flex-direction: column; gap: 20px; }
.rm-wip__item-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.rm-wip__title {
  font-family: var(--display); font-size: 17px; font-weight: 500;
  color: var(--ink);
}
.rm-wip__title a { color: inherit; }
.rm-wip__title a:hover { color: var(--sepia); }
.rm-wip__pct {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  font-weight: 600;
}
.rm-wip__pct b { color: var(--ink); font-family: var(--display); }
.rm-wip__bar {
  height: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.rm-wip__bar i {
  position: absolute; inset: 0 auto 0 0;
  background: var(--ink);
}
.rm-wip__bar.featured i { background: var(--rouge); }

/* UX */
.rm-ux { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rm-ux__card {
  background: var(--paper); border: 1px solid var(--line);
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.15s ease;
}
.rm-ux__card:hover { border-color: var(--rouge); }
.rm-ux__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--rouge);
}
.rm-ux__icon svg { width: 22px; height: 22px; }
.rm-ux__h {
  font-family: var(--display); font-size: 22px;
  line-height: 1.15; font-weight: 500;
  margin: 0; color: var(--ink);
}
.rm-ux__h em { font-family: var(--accent); font-style: italic; color: var(--sepia); font-weight: 400; }
.rm-ux__p {
  font-size: 15px; color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}
.rm-ux__link {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rouge); font-weight: 500;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dotted var(--line);
}

/* Adoan */
.rm-adoan-wrap { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.rm-adoan-wrap::before {
  content: ""; position: absolute;
  left: -150px; bottom: -150px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(122,92,56,0.25), transparent 65%);
  pointer-events: none;
}
.rm-adoan {
  position: relative; z-index: 1;
  max-width: 1340px; margin: 0 auto;
  padding: 80px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: start;
}
.rm-adoan__kicker {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.rm-adoan__kicker::after { content: ""; width: 48px; height: 1px; background: var(--gold); opacity: 0.5; }
.rm-adoan h2 {
  font-family: var(--display); font-size: 44px;
  line-height: 1.05; font-weight: 500;
  margin: 0 0 22px; color: var(--paper);
}
.rm-adoan h2 em { font-family: var(--accent); font-style: italic; color: var(--gold); font-weight: 400; }
.rm-adoan p { font-size: 17px; line-height: 1.6; color: rgba(245,240,232,0.85); margin: 0 0 16px; text-wrap: pretty; }
.rm-adoan ul { padding-left: 22px; list-style: none; margin: 18px 0 26px; }
.rm-adoan ul li { padding: 6px 0 6px 22px; position: relative; color: rgba(245,240,232,0.85); font-size: 15px; }
.rm-adoan ul li::before {
  content: ""; position: absolute;
  left: 0; top: 13px;
  width: 12px; height: 2px;
  background: var(--gold);
}
.rm-adoan__btn {
  background: var(--gold); color: var(--ink);
  font-family: var(--display); font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  padding: 14px 22px;
  border: 1px solid var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
}
.rm-adoan__btn:hover { background: var(--paper); border-color: var(--paper); }
.rm-adoan__sidebar {
  background: rgba(245,240,232,0.06);
  border: 1px solid rgba(245,240,232,0.18);
  padding: 28px 28px;
}
.rm-adoan__sidebar-label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.rm-adoan__wip-title {
  font-family: var(--display); font-size: 20px;
  line-height: 1.15; font-weight: 500;
  margin: 0 0 14px;
  color: var(--paper);
}
.rm-adoan__wip-bar {
  height: 6px;
  background: rgba(245,240,232,0.08);
  border: 1px solid rgba(245,240,232,0.18);
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}
.rm-adoan__wip-bar i {
  position: absolute; inset: 0 auto 0 0;
  background: var(--gold);
}
.rm-adoan__wip-pct {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(245,240,232,0.8);
  font-weight: 600;
}

/* Blog cards */
.rm-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rm-blog__card {
  background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color 0.15s ease;
}
.rm-blog__card:hover { border-color: var(--sepia); }
.rm-blog__img { aspect-ratio: 2/1; background-size: cover; background-position: center; background-color: var(--paper-3); }
.rm-blog__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.rm-blog__date {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px;
}
.rm-blog__title {
  font-family: var(--display); font-size: 19px;
  line-height: 1.2; font-weight: 500;
  margin: 0 0 8px; color: var(--ink);
}
.rm-blog__title a { color: inherit; }
.rm-blog__title a:hover { color: var(--sepia); }
.rm-blog__excerpt {
  font-size: 14.5px; color: var(--ink-2);
  line-height: 1.5; margin: 0 0 14px;
  text-wrap: pretty; flex: 1;
}
.rm-blog__read {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rouge); font-weight: 500;
  margin-top: auto;
}

/* Closing CTA */
.rm-cta { background: var(--paper-2); border-top: 1px solid var(--line); }
.rm-cta__inner {
  max-width: 820px; margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .rm-wip { grid-template-columns: 1fr; gap: 40px; }
  .rm-ux { grid-template-columns: 1fr; }
  .rm-adoan { grid-template-columns: 1fr; gap: 32px; }
  .rm-blog { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .rm-section { padding: 60px 22px; }
  .rm-hero__inner { padding: 80px 22px 80px; }
  .rm-hero__h { font-size: 48px; }
  .rm-h { font-size: 32px; }
  .rm-timeline__item { grid-template-columns: 56px 1fr; gap: 16px; }
  .rm-timeline__badge { display: none; }
  .rm-blog { grid-template-columns: 1fr; }
  .rm-adoan { padding: 60px 22px; }
}
