/* Brandbook v2, variant B. Business layout, spacing and existing colors stay intact. */

/* Only short technical labels use the console voice. */
.eyebrow,
.service-number,
.service-output > span,
.scope-strip li,
.document-label,
.document-table thead th,
.document-outcome > span,
.case-number,
.case-category,
.result-label,
.promise-strip p > span,
.step-line > span,
.section-index,
.case-toc > p,
.case-toc nav > a,
.inventory-list > div > span,
.method-list li > span,
.acceptance-list > div > span,
.case-callout > span,
.diagram-kicker,
.host-heading > strong,
.host-status,
.budget-card-label,
.budget-old > span,
.budget-new > span,
.backup-rhythm span,
.budget-comparison > div > span,
.price-type,
.report-example-label,
.report-example-file {
  font-family: var(--font-mono);
  font-weight: 400;
}

.eyebrow,
.hero-copy .eyebrow,
.case-next .eyebrow,
.section-index,
.report-example-label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before,
.section-index::before,
.report-example-label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--signal);
}

.section-index::before,
.report-example-label::before {
  margin-right: 12px;
  vertical-align: .08em;
}

.eyebrow .small-line { display: none; }
.approach .eyebrow { color: #c5d2b8; }
.approach .eyebrow::before { background: var(--signal); }
.technical-number,
.case-number,
.promise-strip p > span,
.step-line > span,
.inventory-list > div > span,
.method-list li > span,
.acceptance-list > div > span { color: var(--signal-text); }

/* Plus signs do not require a separate 300 font weight. */
.case-toggle,
.faq-list summary > span { font-weight: 400; }
.budget-card-label > span:last-child { font-family: var(--font); }

/* Supplied complete SVG lockups are never filtered or recolored. */
.wordmark.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 5px;
}
.brand-lockup-image { display: block; height: 36px; width: auto; max-width: none; flex: 0 0 auto; }
.brand-lockup .bp-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(25px, 3.4vw, 42px);
  font-weight: 750;
  letter-spacing: -.05em;
}
.brand-lockup .bp-wordmark img {
  flex: none;
  width: 38px;
  height: 38px;
  background: #131b23;
  border-radius: 3px;
}
.brand-lockup .brand-tagline {
  font-family: var(--font);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: .02em;
  margin-top: 8px;
}

/* Three rack units. Only the leader dots may be clipped; all words wrap. */
.hero-visual.terminal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  min-width: 0;
  scroll-margin-top: 170px;
}
.terminal__bar {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  background: var(--forest);
  font: 400 12px/1.5 var(--font-mono);
  color: #b7c4a3;
}
.terminal__status { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: var(--phosphor); }
.terminal__frame { padding: 14px; background: var(--forest); display: flex; flex: 1; min-width: 0; }
.terminal__screen {
  background: var(--screen);
  padding: 26px 28px;
  font: 400 15px/2 var(--font-mono);
  color: var(--screen-text);
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.terminal__screen p { margin: 0; white-space: normal; overflow-wrap: anywhere; opacity: 0; animation: terminal-line .01s linear forwards; }
.terminal__screen .terminal__row { display: flex; align-items: baseline; gap: 1ch; flex-wrap: wrap; }
.terminal__row > :first-child, .terminal__row > :last-child { flex: 0 1 auto; }
.terminal__row .t-dots { flex: 1 1 0; min-width: 0; height: 2em; white-space: nowrap; overflow: hidden; }
.t-prompt, .t-ok { color: var(--phosphor); }
.t-prompt { font-weight: 500; }
.t-muted { color: var(--screen-muted); }
.t-todo { color: var(--lime); }
.terminal__screen .t-final { margin-top: 12px; }
.t-cursor { display: inline-block; width: .62em; height: 1.15em; margin-left: 4px; vertical-align: -.2em; background: var(--phosphor); animation: terminal-blink 1.1s steps(1) infinite; }
.terminal__screen p:nth-child(1) { animation-delay: .2s; }
.terminal__screen p:nth-child(2) { animation-delay: .6s; }
.terminal__screen p:nth-child(3) { animation-delay: 1s; }
.terminal__screen p:nth-child(4) { animation-delay: 1.3s; }
.terminal__screen p:nth-child(5) { animation-delay: 1.6s; }
.terminal__screen p:nth-child(6) { animation-delay: 1.9s; }
.terminal__screen p:nth-child(7) { animation-delay: 2.4s; }
@keyframes terminal-line { to { opacity: 1; } }
@keyframes terminal-blink { 50% { opacity: 0; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (width < 900px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); }
  .hero-visual.terminal { min-height: 0; }
  .terminal__screen { font-size: 13px; padding: 20px; }
  .terminal__row .t-dots { display: none; }
}
@media (max-width: 680px) {
  .brand-lockup-image { height: 28px; }
  .brand-lockup .brand-tagline { font-size: 8px; margin-top: 6px; }
}
@media (max-width: 360px) {
  .terminal__bar { padding-inline: 14px; font-size: 11px; }
  .terminal__screen { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .terminal__screen p { opacity: 1; animation: none; }
  .t-cursor { animation: none; }
}
@media print {
  .terminal__screen p { opacity: 1; animation: none; }
  .t-cursor { animation: none; }
}

/* The ring is outside the control: light form surfaces use the signal color. */
:root { --focus-ring: var(--signal); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.footer, .approach, .case-budget-hero, .error-visual, .terminal { --focus-ring: var(--phosphor); }
.approach .deliverable { --focus-ring: var(--signal); }
