/*
 * Herald — Herald's Roadmap (public page)
 * Loaded only by roadmap.html, on top of base_public.html + journal-theme.css.
 * Status treatment (shipped / in_progress / planned) is carried by weight,
 * opacity and border style, not color alone, so it reads for colorblind
 * viewers and at a glance. Splat accents are a thin left rule pulled from
 * tokens.css §03; platform items stay neutral gold/parchment.
 */

.roadmap-page {
  padding-top: var(--space-lg);
}

.roadmap-h1 {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.roadmap-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 768px) {
  .roadmap-sections {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* =========================================================================
   SECTION — status treatment (solid / lit / faint)
   ========================================================================= */
.roadmap-section {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background-color: var(--parchment-800);
  background-image:
    var(--texture-parchment),
    linear-gradient(135deg, var(--parchment-800) 0%, var(--parchment-700) 50%, var(--parchment-800) 100%);
}

.roadmap-section-heading {
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-xs);
}

/* shipped — solid, established, full-strength */
.roadmap-status-shipped {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-e2);
  opacity: 1;
}
.roadmap-status-shipped .roadmap-section-heading {
  font-weight: 700;
  border-bottom: 2px solid var(--gold-shell);
}

/* in_progress — active / lit */
.roadmap-status-in_progress {
  border: 1px solid var(--gold-shell);
  box-shadow: var(--shadow-e3);
  opacity: 1;
}
.roadmap-status-in_progress .roadmap-section-heading {
  font-weight: 600;
  border-bottom: 2px solid var(--gold-shell);
  text-shadow: 0 0 8px color-mix(in oklch, var(--gold-shell), transparent 40%);
}

/* planned — faint, further-off */
.roadmap-status-planned {
  border: 1px dashed var(--border);
  box-shadow: var(--shadow-e0);
  opacity: 0.7;
}
.roadmap-status-planned .roadmap-section-heading {
  font-weight: 400;
  border-bottom: 1px dashed var(--border);
}

/* =========================================================================
   ITEMS — informational only, no anchors
   ========================================================================= */
.roadmap-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.roadmap-item {
  position: relative;
  padding-left: var(--space-md);
}

.roadmap-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  border-radius: var(--radius-sm);
  background: var(--gold-shell);
}

.roadmap-item-title {
  margin: 0;
  color: var(--heading);
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.roadmap-item-blurb {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Splat accents — platform stays neutral gold/parchment */
.roadmap-splat-htr::before { background: var(--htr-500); }
.roadmap-splat-vtm::before { background: var(--vtm-500); }
.roadmap-splat-wta::before { background: var(--wta-500); }
.roadmap-splat-platform::before { background: var(--gold-shell); }

/* The one place the splat color language concentrates — all three accents
   together, rather than a single splat "takeover" of a platform page. */
.roadmap-item-tri-splat::before {
  background: linear-gradient(
    to bottom,
    var(--htr-500) 0%, var(--htr-500) 33%,
    var(--vtm-500) 33%, var(--vtm-500) 66%,
    var(--wta-500) 66%, var(--wta-500) 100%
  );
}
