/* strategic.css — the human strategic viewer's "front door"
 *
 * The command center serves two readers. The OPERATOR (the AI) lives in the
 * dense lenses below — the group matrix, the tile grids, the runs board — where
 * completeness is the point. This sheet is for the PRINCIPAL, a strategic
 * viewer who wants the at-a-glance story: how far is each vertical, what is
 * healthy, what is a scaffold versus real, what needs a decision.
 *
 * It is presentation over truth, never a reskin of it. Every figure here is
 * the SAME group_view / estate / operations data the operator lenses parse;
 * the honest states (scaffold · conditionally approved · not booked; a down
 * surface; a failing run) are rendered LEGIBLE and REASSURING, never buried
 * and never softened.
 *
 * Dark-amber language preserved (bg #0d0e0c, accent #c4a35f). Refined, not
 * replaced. WCAG-AA contrast + mobile reflow held.
 */

/* ============ The strategic masthead ============ */

.s-hero {
  margin-bottom: var(--sp-8);
}
.s-hero__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: var(--rule-w) solid var(--border);
}
.s-hero__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.s-hero__lede {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--tx-2);
  max-width: 46ch;
}
.s-hero__lede b {
  font-style: normal;
  font-weight: 600;
  color: var(--tx-1);
}

/* The overall posture badge — calm green "all clear" or amber "needs a call".
   Never hides red: when something is down/failing it flips to a loud state. */
.s-posture {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  align-self: flex-start;
  padding: var(--sp-2) var(--sp-3);
  border: var(--rule-w) solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-1);
  font-family: var(--sans);
  font-size: var(--fs-ui);
  color: var(--tx-2);
}
.s-posture__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-bg);
}
.s-posture[data-tone="warn"] { border-color: rgba(212,130,59,0.35); }
.s-posture[data-tone="warn"] .s-posture__dot { background: var(--high); box-shadow: 0 0 0 3px var(--high-bg); }
.s-posture[data-tone="crit"] { border-color: rgba(198,61,61,0.45); }
.s-posture[data-tone="crit"] .s-posture__dot { background: var(--crit); box-shadow: 0 0 0 3px var(--crit-bg); }
.s-posture b { color: var(--tx-1); font-weight: 600; }

/* ============ Where the platform stands — vertical maturity cards ============ */

.s-verticals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}
@media (max-width: 960px) { .s-verticals { grid-template-columns: 1fr; gap: var(--sp-4); } }

.s-vcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(196,163,95,0.05), transparent 60%),
    var(--bg-1);
  border: var(--rule-w) solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
.s-vcard:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
}

.s-vcard__name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--tx-1);
}
.s-vcard__phase {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: var(--track-smcp);
  text-transform: uppercase;
  color: var(--acc);
  margin-top: var(--sp-1);
}
.s-vcard__say {
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--tx-2);
  min-height: 3.0em;
}
.s-vcard__say b { color: var(--tx-1); font-weight: 600; }

/* The maturity rail — three stages, structural → modelled → governed.
   Each stage is a calm labelled reading whose tone encodes the honest state.
   This is the heart of the "presentation over truth" promise: the scaffold
   stage reads as a GOLD RING ("approved with conditions, not booked"), a real
   stage reads SAGE, an unbuilt stage reads a dashed grey "not wired". */
.s-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--sp-1);
}
.s-stage {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-top: var(--rule-w) solid var(--border);
}
.s-stage:first-child { border-top: none; }

/* the marker column — a small "lamp" + connecting spine */
.s-stage__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.s-lamp {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--tx-4);
  z-index: 1;
  margin-top: 2px;
}
.s-lamp--ok       { background: var(--ok);   box-shadow: 0 0 0 3px var(--ok-bg); }
.s-lamp--warn     { background: var(--high); box-shadow: 0 0 0 3px var(--high-bg); }
/* scaffold — gold RING, the at-a-glance "approved with conditions / not booked" */
.s-lamp--scaffold { background: transparent; border: 2.5px solid var(--acc); box-shadow: 0 0 0 3px var(--acc-tint); }
.s-lamp--muted    { background: #6a6a64; }
/* not wired — hollow dashed square, distinct SHAPE not just colour */
.s-lamp--none     { background: transparent; border: 1.5px dashed var(--tx-3); border-radius: 2px; }

.s-stage__body { min-width: 0; }
.s-stage__lens {
  font-family: var(--mono);
  font-size: var(--fs-pill);
  letter-spacing: var(--track-smcp);
  text-transform: uppercase;
  color: var(--tx-3);
}
.s-stage__head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.s-stage__val {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--tx-1);
  font-feature-settings: "tnum" 1;
}
.s-stage__state {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  color: var(--tx-3);
}
.s-stage__state--scaffold { color: var(--acc); }
.s-stage__sub {
  display: block;
  font-family: var(--sans);
  font-size: var(--fs-meta);
  color: var(--tx-3);
  line-height: 1.5;
  margin-top: 2px;
}
.s-stage__sub--quiet { color: var(--tx-4); font-style: italic; }

.s-vcard__foot {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: var(--rule-w) solid var(--border);
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.s-vcard__foot a {
  font-family: var(--mono);
  font-size: var(--fs-pill);
  letter-spacing: var(--track-mono);
  color: var(--low);
  text-decoration: none;
}
.s-vcard__foot a:hover { color: var(--acc-h); }

/* ============ What needs your attention ============ */

.s-attn {
  margin-top: var(--sp-7);
  padding: var(--sp-5);
  border: var(--rule-w) solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-1);
}
.s-attn--clear { border-style: dashed; }
.s-attn__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}
.s-attn__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--tx-1);
}
.s-attn__count {
  font-family: var(--mono);
  font-size: var(--fs-meta);
  color: var(--tx-3);
  letter-spacing: var(--track-mono);
}
.s-attn__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.s-attn__item {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: baseline;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-top: var(--rule-w) solid var(--border);
}
.s-attn__item:first-child { border-top: none; }
.s-attn__tick {
  width: 8px; height: 8px; border-radius: 50%;
  margin-top: 6px;
  background: var(--med);
}
.s-attn__tick--crit { background: var(--crit); }
.s-attn__tick--warn { background: var(--high); }
.s-attn__tick--info { background: var(--low); }
.s-attn__txt {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.45;
  color: var(--tx-1);
}
.s-attn__txt b { font-weight: 600; }
.s-attn__txt .q { color: var(--tx-3); }
.s-attn__go {
  font-family: var(--mono);
  font-size: var(--fs-pill);
  letter-spacing: var(--track-mono);
  color: var(--low);
  text-decoration: none;
  white-space: nowrap;
}
.s-attn__go:hover { color: var(--acc-h); }
.s-attn__clear {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--serif);
  font-size: 16px;
  color: var(--tx-2);
}
.s-attn__clear .s-posture__dot { flex: none; }

/* ============ The handoff to the operator console ============ */

.s-handoff {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: var(--rule-w) solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.s-handoff__note {
  font-family: var(--sans);
  font-size: var(--fs-ui);
  color: var(--tx-3);
  max-width: 54ch;
}
.s-handoff__note b { color: var(--tx-2); font-weight: 600; }
.s-handoff__link {
  font-family: var(--mono);
  font-size: var(--fs-meta);
  letter-spacing: var(--track-mono);
  color: var(--acc);
  text-decoration: none;
  white-space: nowrap;
}
.s-handoff__link:hover { color: var(--acc-h); }

/* Operator console anchor heading — quiet divider that marks where the dense
   operator layer begins, so the strategic reader knows the story ended and
   the working surface starts. */
.s-console-mark {
  margin-top: var(--sp-8);
  padding-top: var(--sp-4);
  border-top: 2px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
}
.s-console-mark__t {
  font-family: var(--mono);
  font-size: var(--fs-meta);
  letter-spacing: var(--track-smcp);
  text-transform: uppercase;
  color: var(--tx-3);
}
.s-console-mark__h {
  font-family: var(--sans);
  font-size: var(--fs-meta);
  color: var(--tx-4);
}

@media (prefers-reduced-motion: reduce) {
  .s-vcard { transition: none; }
  .s-vcard:hover { transform: none; }
}
