/* ------------------------------------------------------------------
 * SERAPH HUNTER — VR ROAD MAP furniture  (".shb-rm")
 * Thelma (web lane), 2026-08-09.
 *
 * Companion to shb-blocks.css, NOT a replacement for it. The road map
 * (page 1418) needs things no other page on the site needs: a numbered
 * phase rail, status pills, technology tags, and readiness bars. Rather
 * than swell the shared stylesheet that every rebuilt page downloads,
 * that furniture lives here and is loaded only on a page whose content
 * contains "shb-rm". Everything else on the road map — bands, type,
 * cards, buttons — comes from shb-blocks.css like every other page.
 *
 * WHAT CHANGED FROM THE OLD HAND-BUILT PAGE, deliberately:
 *   - The two Google fonts it loaded for itself (Crimson Pro for body,
 *     JetBrains Mono for labels) are gone. Body type is the site's own
 *     EB Garamond; the small technical labels use the reader's own
 *     monospace, which costs no download and keeps the same texture.
 *   - Its gold (#C9A84C) is now the site gold (#c9943a). One gold.
 *   - The phase numbers are generated by CSS counter, so inserting or
 *     deleting a phase renumbers the rest automatically.
 *
 * THE STATUS COLOURS ARE NOT DECORATION. The legend at the top of the
 * page is their key. Change one here, change the legend there.
 *
 * 🔴 READ BEFORE ADDING ANY RULE THAT COLOURS A <p> INSIDE A CARD.
 * shb-blocks.css carries `.shb .shb-card p { color:#c9b896 !important }`.
 * That is two classes and a type — 0,2,1. A rule written as
 * `.shb .shb-rm-ready--emerging` is 0,2,0, and when BOTH are !important
 * the more specific one wins, so the paragraph came out parchment and
 * the orange/cyan/red readiness coding vanished silently. Every rule
 * below that targets a paragraph inside a card therefore reaches through
 * the card class: `.shb .shb-rm-card p.shb-rm-ready`. Measured on the
 * rendered page — the markup and the stylesheet both read correctly.
 *
 * TO REMOVE: delete this file and the shb-roadmap block in
 * sh-block-pages.php. The page keeps working; it just loses the rail.
 * ------------------------------------------------------------------ */

.shb { counter-reset: shb-rm; }

.shb .shb-rm-legend,
.shb .shb-rm-meta,
.shb .shb-rm-tag,
.shb .shb-rm-card p.shb-rm-ready,
.shb .shb-rm-card p.shb-rm-bar-label,
.shb [class*="shb-rm-card--"]::before {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* --- The legend: the key to every colour on the page -------------- */
.shb .shb-rm-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	color: #c9b896 !important;
}
.shb .shb-rm-legend li { display: flex; align-items: center; gap: 7px; }
.shb .shb-rm-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
	flex-shrink: 0;
}

/* --- The phase rail ----------------------------------------------
 * counter-increment, not hard-coded numbers: the old page had "1".."7"
 * typed into seven separate <span>s, so deleting a phase left a hole in
 * the sequence for someone to notice later. */
.shb .shb-rm-phase {
	counter-increment: shb-rm;
	position: relative;
	border-left: 2px solid rgba(201, 148, 58, 0.3);
	padding: 0 0 0 28px;
	margin: 0 0 54px;
	--rm-accent: #c9943a;
}
.shb .shb-rm-phase:last-child { margin-bottom: 0; }
.shb .shb-rm-phase::before {
	content: counter(shb-rm);
	position: absolute;
	left: -17px;
	top: -2px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Cinzel', serif;
	font-size: 13px;
	font-weight: 600;
	color: #09080a;
	background: var(--rm-accent);
}
.shb .shb-rm-phase--done   { --rm-accent: #2e8b57; }
.shb .shb-rm-phase--now    { --rm-accent: #c9943a; }
.shb .shb-rm-phase--next   { --rm-accent: #2980b9; }
.shb .shb-rm-phase--future { --rm-accent: #7a5fb5; }

/* h2 is centred site-wide; on the rail it has to sit against the line. */
.shb h2.shb-rm-title {
	text-align: left;
	font-size: clamp(21px, 2.6vw, 29px);
	margin: 0 0 8px;
}
.shb .shb-rm-meta {
	margin: 0 0 12px;
	font-size: 11px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}
.shb .shb-rm-status {
	text-transform: uppercase;
	letter-spacing: .08em;
	padding: 3px 9px;
	border-radius: 3px;
	color: var(--rm-accent) !important;
	border: 1px solid var(--rm-accent);
}
.shb .shb-rm-date { color: #a2916f !important; }
.shb .shb-rm-desc {
	color: #c9b896 !important;
	max-width: 78ch;
	margin: 0 0 22px;
	font-size: 17px;
	text-align: left;
}

/* --- Card grids --------------------------------------------------- */
.shb .shb-rm-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
	gap: 16px;
}
.shb .shb-rm-cards > * { margin-block: 0; }

/* display:block overrides the shared .shb-card, which is a flex column —
 * it exists so the "Coming soon" badges on the merchandise page
 * bottom-align across a row. Road-map cards carry no such badge, and
 * that flex column stretched every technology tag to the full width of
 * the card, one tag per line. Ordinary block flow puts them side by
 * side again. Found by measuring; the markup was correct throughout. */
.shb .shb-rm-card { padding: 20px 22px; text-align: left; display: block; }

.shb .shb-rm-card h3 { font-size: 15px; margin: 0 0 8px; letter-spacing: .02em; }
.shb .shb-rm-card p { font-size: 15.5px; line-height: 1.55; }

/* The card's own status label, drawn by CSS from its modifier class.
 * The alternative was a hand-written label line in every one of the 28
 * cards — 28 chances to type a colour that no longer matches the legend. */
.shb [class*="shb-rm-card--"]::before {
	display: block;
	font-size: 10px;
	letter-spacing: .1em;
	text-transform: uppercase;
	margin: 0 0 9px;
}
.shb .shb-rm-card--delivered::before { content: "\25A0  Delivered";       color: #2e8b57; }
.shb .shb-rm-card--yours::before     { content: "\25A0  Your work";       color: #2980b9; }
.shb .shb-rm-card--build::before     { content: "\25A0  Build";           color: #2980b9; }
.shb .shb-rm-card--mature::before    { content: "\25A0  Mature";          color: #1abc9c; }
.shb .shb-rm-card--emerging::before  { content: "\25A0  Emerging";        color: #d4780a; }
.shb .shb-rm-card--dev::before       { content: "\25A0  In development";  color: #c0392b; }

.shb .shb-rm-tag {
	display: inline-block;
	font-size: 10px;
	background: rgba(201, 148, 58, 0.08);
	border: 1px solid rgba(201, 148, 58, 0.22);
	color: #a2916f !important;
	padding: 2px 7px;
	margin: 10px 6px 0 0;
}

/* Reaching through .shb-rm-card is deliberate — see the header note. */
.shb .shb-rm-card p.shb-rm-ready {
	margin: 11px 0 0 !important;
	font-size: 10.5px !important;
	letter-spacing: .05em;
	color: #a2916f !important;
}
.shb .shb-rm-card p.shb-rm-ready--mature   { color: #1abc9c !important; }
.shb .shb-rm-card p.shb-rm-ready--emerging { color: #d4780a !important; }
.shb .shb-rm-card p.shb-rm-ready--dev      { color: #c0392b !important; }

/* --- Readiness bars ----------------------------------------------- */
.shb .shb-rm-card p.shb-rm-bar-label {
	display: flex;
	justify-content: space-between;
	font-size: 10.5px !important;
	color: #a2916f !important;
	margin: 14px 0 5px !important;
}
.shb .shb-rm-bar {
	height: 6px;
	background: rgba(201, 148, 58, 0.12);
	border-radius: 3px;
	overflow: hidden;
}
.shb .shb-rm-bar span { display: block; height: 100%; border-radius: 3px; }

/* --- The two decision panels -------------------------------------- */
.shb .shb-rm-decision {
	background: var(--ink2);
	border: 1px solid rgba(201, 148, 58, 0.35);
	padding: 32px 34px;
	margin: 26px 0 0;
	text-align: left;
}
.shb .shb-rm-decision h3 { text-align: left; font-size: 17px; }
.shb .shb-rm-decision p { color: #c9b896 !important; text-align: left; margin: 0 0 10px; }
/* Divi styles list markers from an ID (#left-area ul), and an ID outranks
 * any number of classes. Without !important the panels drew Divi's native
 * disc AND the ✦ below it — two bullets on every line, plus Divi's own
 * left indent. Invisible in the markup; obvious in the render. */
.shb .shb-rm-decision ul,
.shb .shb-rm-decision ul.wp-block-list {
	list-style: none !important;
	padding-left: 0 !important;
	margin-left: 0 !important;
	margin: 0 !important;
}
.shb .shb-rm-decision li { list-style: none !important; }
.shb .shb-rm-decision li {
	padding: 7px 0;
	color: #c9b896 !important;
	font-size: 16.5px;
	line-height: 1.55;
}
.shb .shb-rm-decision li::before { content: "\2726  "; color: #7a5820; }

/* Same specificity trap as the readiness lines, one level up: the panel's
 * own `p` rule is 0,2,1 and would otherwise swallow this gold. */
.shb .shb-rm-decision p.shb-rm-note {
	color: #e8b84b !important;
	font-style: italic;
	margin: 16px 0 0 !important;
}

.shb .shb-rm-footer {
	text-align: center;
	font-family: 'Cinzel', serif;
	font-size: 11px;
	letter-spacing: .18em;
	color: #8a7a5c !important;
	margin: 0;
}

/* --- Phones -------------------------------------------------------
 * Divi hands a 375px phone a 300px column; the rail's 28px indent plus
 * the band padding would leave the cards a slot barely wider than a
 * word. The rail narrows and the grid drops to one column. */
@media (max-width: 640px) {
	.shb .shb-rm-phase { padding-left: 20px; margin-bottom: 42px; }
	.shb .shb-rm-phase::before { width: 26px; height: 26px; left: -14px; font-size: 11px; }
	.shb .shb-rm-cards { grid-template-columns: 1fr; }
	.shb .shb-rm-decision { padding: 24px 20px; }
}
