/* ══ BLUEPRINT EXAMPLE ══
   Shared styling for the worked Blueprint examples (startup today; telecom,
   service business and others later). A new scenario should need a new page
   with a new data object and no new CSS — that is the point of this file.

   Everything here composes with style.css tokens. Nothing redefines a token. */

/* ── Illustrative-data marker ───────────────────────────────────────────────
   Used wherever a synthetic figure appears. Deliberately repeated rather than
   stated once at the top: a reader who lands mid-page must not mistake the
   scenario for a real client. */
.bx-synthetic {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--mono); font-size: .58rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid var(--rule);
  background: var(--bg); border-radius: 2px; padding: .3rem .6rem;
}
.bx-synthetic::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--red); opacity: .6; flex-shrink: 0; }
.bx-synthetic-note { font-size: .78rem; color: var(--ink-2); line-height: 1.7; margin-top: .8rem; max-width: 68ch; }

/* ── The ask ────────────────────────────────────────────────────────────── */
.bx-ask { border-left: 3px solid var(--red); background: var(--red-lt); border-radius: 0 4px 4px 0; padding: 1.6rem 1.9rem; margin-top: clamp(2rem,3.5vw,2.75rem); max-width: 60ch; }
.bx-ask-k { font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: .7rem; }
.bx-ask-q { font-family: var(--serif); font-size: clamp(1.25rem,2.4vw,1.7rem); color: var(--ink); line-height: 1.35; }
.bx-reframe { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(200,23,42,.18); }

/* ── Step rail: numbered progression down the page ─────────────────────── */
.bx-step { font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.bx-step::after { content: ''; flex: 1; height: 1px; background: var(--rule); }

/* ── Lens accordion ─────────────────────────────────────────────────────── */
.bx-lenses { display: flex; flex-direction: column; gap: 2px; margin-top: clamp(2rem,3.5vw,2.75rem); }
.bx-lens { border-radius: 3px; overflow: hidden; }
/* The header is a real button so the keyboard and screen readers get the
   disclosure for free. */
.bx-lens-head {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 1.25rem; padding: 1.1rem 1.5rem;
  text-align: left; font-family: inherit; cursor: pointer;
  border: none; transition: filter .2s;
}
.bx-lens-head:hover { filter: brightness(1.04); }
.bx-lens-head:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.bx-lens-n { font-family: var(--mono); font-size: .58rem; letter-spacing: .14em; opacity: .75; width: 1.4rem; text-align: right; }
.bx-lens-label { font-family: var(--sans); font-size: .88rem; font-weight: 700; line-height: 1.25; }
.bx-lens-sign { font-family: var(--mono); font-size: .68rem; opacity: .75; width: 1rem; text-align: center; }
.bx-lens-panel { background: var(--bg); border: 1px solid var(--rule); border-top: none; border-radius: 0 0 3px 3px; padding: 1.5rem 1.6rem 1.6rem; }
.bx-lens-panel[hidden] { display: none; }
.bx-findings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 900px) { .bx-findings { grid-template-columns: repeat(3,1fr); gap: 1.5rem; } }
.bx-findings li { font-size: .86rem; color: var(--ink-2); line-height: 1.75; padding-left: 1.1rem; position: relative; }
.bx-findings li::before { content: ''; position: absolute; left: 0; top: .78em; width: 5px; height: 1px; background: var(--red); opacity: .65; }
.bx-implication { margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); font-size: .88rem; color: var(--ink); line-height: 1.75; }
.bx-implication b { font-family: var(--mono); font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: .4rem; }

/* ── Dependency paths ───────────────────────────────────────────────────── */
.bx-paths { display: grid; grid-template-columns: 1fr; gap: clamp(2rem,4vw,3rem); margin-top: clamp(2rem,3.5vw,2.75rem); }
@media (min-width: 900px) { .bx-paths { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,5vw,4.5rem); } }
.bx-path-k { font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #EE5A61; margin-bottom: 1.25rem; }
/* One rail with a node per step — the same way the homepage draws a sequence,
   so the site has one visual grammar for "this depends on that". */
.bx-chain { list-style: none; margin: 0; padding: 0; }
.bx-chain li { position: relative; padding: .55rem 0 .55rem 1.6rem; font-size: .88rem; color: #fff; line-height: 1.5; }
.bx-chain li::before { content: ''; position: absolute; left: .19rem; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.2); }
.bx-chain li:first-child::before { top: 1rem; }
.bx-chain li:last-child::before { bottom: auto; height: 1rem; }
.bx-chain li::after { content: ''; position: absolute; left: 0; top: .82rem; width: .4rem; height: .4rem; border-radius: 50%; background: #EE5A61; }
.bx-chain li:last-child { color: #EE5A61; font-weight: 600; }

/* ── Before / after ─────────────────────────────────────────────────────── */
.bx-ba { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; margin-top: clamp(2rem,3.5vw,2.75rem); }
@media (min-width: 820px) { .bx-ba { grid-template-columns: .85fr 1.15fr; } }
.bx-ba-cell { background: var(--bg); padding: 1.9rem 1.75rem; }
.bx-ba-k { font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1rem; }
.bx-ba-cell.after .bx-ba-k { color: var(--red); }
.bx-ba-line { font-family: var(--serif); font-size: clamp(1.1rem,2vw,1.35rem); color: var(--ink); line-height: 1.4; }
.bx-ba-list { list-style: none; margin: 1.1rem 0 0; padding: 0; counter-reset: bx; }
.bx-ba-list li { position: relative; padding-left: 2rem; margin-bottom: .8rem; font-size: .88rem; color: var(--ink-2); line-height: 1.7; counter-increment: bx; }
.bx-ba-list li::before { content: counter(bx); position: absolute; left: 0; top: .05rem; font-family: var(--mono); font-size: .68rem; color: var(--red); }
.bx-defer { margin-top: clamp(1.75rem,3vw,2.25rem); }
.bx-defer-k { font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .9rem; }
.bx-defer-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.bx-defer-row span { font-family: var(--mono); font-size: .64rem; letter-spacing: .04em; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 2px; padding: .4rem .7rem; background: var(--bg); }

/* ── Readiness grid (startup wording of the site's Decision Readiness) ──── */
.bx-ready { list-style: none; margin: clamp(2rem,3.5vw,2.75rem) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
@media (min-width: 640px) { .bx-ready { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bx-ready { grid-template-columns: repeat(4,1fr); } }
.bx-ready-item { background: var(--navy); padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.bx-ready-n { font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.bx-ready-d { font-size: .8rem; color: rgba(255,255,255,.72); line-height: 1.65; }

/* ── The decision ───────────────────────────────────────────────────────── */
.bx-decision { border: 1px solid var(--rule); border-top: 3px solid var(--red); border-radius: 3px; background: var(--bg); padding: clamp(1.75rem,3vw,2.5rem); margin-top: clamp(2rem,3.5vw,2.75rem); }
.bx-decision-k { font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: .7rem; }
.bx-decision-t { font-family: var(--serif); font-size: clamp(1.35rem,2.6vw,1.9rem); color: var(--ink); line-height: 1.25; }
.bx-decision-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: clamp(1.75rem,3vw,2.25rem); }
@media (min-width: 700px) { .bx-decision-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .bx-decision-grid { grid-template-columns: repeat(4,1fr); } }
.bx-decision-col-k { font-family: var(--mono); font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: .55rem; margin-bottom: .8rem; }
.bx-decision-col ul { list-style: none; margin: 0; padding: 0; }
.bx-decision-col li { font-size: .84rem; color: var(--ink-2); line-height: 1.65; padding-left: 1rem; margin-bottom: .55rem; position: relative; }
.bx-decision-col li::before { content: ''; position: absolute; left: 0; top: .72em; width: 4px; height: 1px; background: var(--red); opacity: .6; }

/* ── Founder takeaway chain ─────────────────────────────────────────────── */
.bx-connect { display: flex; flex-wrap: wrap; gap: .5rem .4rem; margin-top: 1.5rem; }
.bx-connect li { list-style: none; font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 2px; padding: .35rem .7rem; }
.bx-connect li + li { position: relative; margin-left: .9rem; }
/* Drawn rather than typed, so a screen reader hears the steps and not a row
   of arrow characters. */
.bx-connect li + li::before { content: ''; position: absolute; left: -.75rem; top: 50%; width: .5rem; height: 1px; background: rgba(255,255,255,.32); }
.bx-connect li:last-child { color: #EE5A61; border-color: rgba(238,90,97,.4); }

/* ── Other examples (future scenarios slot in here) ────────────────────── */
.bx-more { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; margin-top: clamp(2rem,3.5vw,2.75rem); }
@media (min-width: 700px) { .bx-more { grid-template-columns: repeat(3,1fr); } }
.bx-more-item { background: var(--bg); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .45rem; }
.bx-more-item.is-soon { background: var(--bg-off); }
.bx-more-k { font-family: var(--mono); font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.bx-more-item.is-soon .bx-more-k { color: var(--ink-2); }
.bx-more-t { font-family: var(--sans); font-size: .92rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.bx-more-d { font-size: .82rem; color: var(--ink-2); line-height: 1.7; }
