/* Story #20260809 | 2026-08-09 | George | Present consulting-firm delivery economics through a restrained executive buying experience. */
/* Story #20260809 | 2026-08-09 | George | Delegate the page frame and responsive gutters to the shared public shell. */
:root {
  --cf-navy: #07152f;
  --cf-navy-2: #0e2346;
  --cf-ink: #16213a;
  --cf-copy: #526078;
  --cf-blue: #1758f5;
  --cf-blue-dark: #1047cb;
  --cf-teal: #0c766d;
  --cf-teal-soft: #edf7f5;
  --cf-coral: #bd4b46;
  --cf-amber: #9a6300;
  --cf-line: #d8e0ec;
  --cf-soft: #f4f7fb;
  --cf-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.consulting-firms-page {
  margin: 0;
  min-height: 100vh;
  color: var(--cf-ink);
  background: var(--cf-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body.consulting-firms-page *,
body.consulting-firms-page *::before,
body.consulting-firms-page *::after {
  letter-spacing: 0;
}

.consulting-firms-page a {
  text-decoration: none;
}

.consulting-firms-page a:focus-visible,
.consulting-firms-page summary:focus-visible {
  outline: 3px solid rgba(23, 88, 245, 0.42);
  outline-offset: 3px;
}

.consulting-firms-page main {
  padding: 0;
}

.consulting-firms-page main section {
  scroll-margin-top: 104px;
}

.consulting-firms-page main h1,
.consulting-firms-page main h2,
.consulting-firms-page main h3,
.consulting-firms-page main p,
.consulting-firms-page main ul,
.consulting-firms-page main ol {
  margin-top: 0;
}

body.consulting-firms-page main h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--cf-white);
  font-size: 62px;
  font-weight: 760;
  line-height: 1.06;
}

.consulting-firms-page main h2 {
  margin-bottom: 16px;
  color: var(--cf-navy);
  font-size: 40px;
  font-weight: 750;
  line-height: 1.13;
}

.consulting-firms-page main h3 {
  margin-bottom: 10px;
  color: var(--cf-navy);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
}

.consulting-firms-page main p {
  margin-bottom: 0;
  color: var(--cf-copy);
  font-size: 16px;
  line-height: 1.65;
}

.cf-eyebrow {
  margin-bottom: 15px !important;
  color: var(--cf-blue) !important;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

.cf-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 50px;
}

.cf-heading-split h2,
.cf-section-intro h2 {
  max-width: 760px;
}

.cf-section-intro {
  max-width: 820px;
  margin-bottom: 48px;
}

.cf-section-intro > p:last-child {
  max-width: 720px;
}

.cf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.cf-button--primary {
  border-color: var(--cf-blue);
  color: var(--cf-white);
  background: var(--cf-blue);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.cf-button--primary:hover {
  border-color: #2d6afa;
  background: #2d6afa;
}

.cf-button--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--cf-white);
  background: rgba(7, 21, 47, 0.72);
}

.cf-button--ghost:hover {
  border-color: var(--cf-white);
  background: var(--cf-navy-2);
}

.cf-button--dark {
  border-color: var(--cf-navy);
  color: var(--cf-white);
  background: var(--cf-navy);
}

.cf-button--dark:hover {
  background: var(--cf-navy-2);
}

.consulting-firms-page .site-header-action--ghost,
.consulting-firms-page .site-header-action--secondary {
  display: none;
}

/* Story #20260809 | 2026-08-09 | George | Use a full-bleed delivery-control scene as the first-viewport product signal. */
.cf-hero {
  position: relative;
  overflow: hidden;
  color: var(--cf-white);
  background: var(--cf-navy);
}

.cf-hero::before,
.cf-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.cf-hero::before {
  inset: 0 auto 0 52%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.cf-hero::after {
  inset: 70px 0 auto 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.cf-hero__content {
  position: relative;
  z-index: 2;
  min-height: 570px;
  padding-top: 78px;
  padding-right: 500px !important;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.cf-hero .cf-eyebrow {
  color: #7edbd2 !important;
}

.cf-hero__statement {
  max-width: 650px;
  margin-bottom: 18px !important;
  color: #b7c9ef !important;
  font-size: 25px !important;
  font-weight: 720;
  line-height: 1.3 !important;
}

.cf-hero__lead {
  max-width: 720px;
  color: #d2ddf2 !important;
  font-size: 18px !important;
  line-height: 1.64 !important;
}

.cf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.cf-hero__boundary {
  max-width: 700px;
  margin-top: 23px !important;
  padding-left: 14px;
  border-left: 3px solid var(--cf-coral);
  color: #b9c9e8 !important;
  font-size: 14px !important;
}

.cf-hero__boundary strong {
  color: var(--cf-white);
}

.cf-hero__scene {
  position: absolute;
  z-index: 1;
  top: 70px;
  /* Story #20260809 | 2026-08-09 | George | Anchor the delivery scene to the canonical content edge. */
  right: max(var(--site-shell-gutter, 32px), calc((100vw - var(--site-shell-frame, 1280px)) / 2 + var(--site-shell-gutter, 32px)));
  width: 430px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--cf-white);
  background: var(--cf-navy-2);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.cf-scene__header,
.cf-scene__workstream,
.cf-scene__gate {
  display: grid;
  align-items: center;
}

.cf-scene__header {
  grid-template-columns: 1fr auto;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: #94a9d1;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.cf-scene__workstream {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 13px;
  padding: 21px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cf-scene__index {
  color: #7990ba;
  font-size: 12px;
  font-weight: 800;
}

.cf-scene__workstream strong,
.cf-scene__workstream small {
  display: block;
}

.cf-scene__workstream strong {
  margin-bottom: 5px;
  color: var(--cf-white);
  font-size: 15px;
}

.cf-scene__workstream small {
  color: #a8b8d8;
  font-size: 12px;
  line-height: 1.35;
}

.cf-scene__status {
  min-width: 64px;
  padding: 6px 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.cf-scene__status--firm {
  color: #84d8cf;
}

.cf-scene__status--joint {
  color: #f4c36e;
}

.cf-scene__status--devsoff {
  color: #96b8ff;
}

.cf-scene__gate {
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px;
  color: #a9b9d8;
  font-size: 12px;
}

.cf-scene__gate strong {
  color: var(--cf-white);
  font-size: 13px;
}

.cf-hero__signals {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cf-hero__signals > div {
  min-width: 0;
  padding: 24px 22px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.cf-hero__signals > div:first-child {
  border-left: 0;
}

.cf-hero__signals span,
.cf-hero__signals strong {
  display: block;
}

.cf-hero__signals span {
  margin-bottom: 6px;
  color: #79d7ce;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cf-hero__signals strong {
  color: var(--cf-white);
  font-size: 15px;
  line-height: 1.4;
}

/* Story #20260809 | 2026-08-09 | George | Explain fixed-capacity pressure using consulting-finance vocabulary. */
.cf-pressure {
  padding: 96px 0;
  background: var(--cf-white);
}

.cf-pressure__grid,
.cf-scope__grid,
.cf-ai__controls {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.cf-pressure__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--cf-line);
}

.cf-pressure__grid li {
  min-width: 0;
  padding: 26px 22px 30px;
  border-top: 3px solid var(--cf-line);
  border-right: 1px solid var(--cf-line);
}

.cf-pressure__grid li:nth-child(1) {
  border-top-color: var(--cf-blue);
}

.cf-pressure__grid li:nth-child(2) {
  border-top-color: var(--cf-teal);
}

.cf-pressure__grid li:nth-child(3) {
  border-top-color: var(--cf-amber);
}

.cf-pressure__grid li:nth-child(4) {
  border-top-color: var(--cf-coral);
  border-right: 0;
}

.cf-pressure__grid span,
.cf-pressure__grid strong {
  display: block;
}

.cf-pressure__grid span {
  margin-bottom: 32px;
  color: #8a96aa;
  font-size: 12px;
  font-weight: 800;
}

.cf-pressure__grid strong {
  margin-bottom: 9px;
  color: var(--cf-navy);
  font-size: 18px;
}

.cf-pressure__grid p {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.cf-cost-shift {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 44px;
  padding: 28px 30px;
  border: 1px solid var(--cf-line);
  border-radius: 6px;
  background: var(--cf-soft);
}

.cf-cost-shift div span,
.cf-cost-shift div strong {
  display: block;
}

.cf-cost-shift div span {
  margin-bottom: 6px;
  color: var(--cf-copy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cf-cost-shift div strong {
  color: var(--cf-navy);
  font-size: 18px;
  line-height: 1.35;
}

.cf-cost-shift__arrow {
  color: var(--cf-coral);
  font-size: 26px;
  font-weight: 800;
}

.cf-disclaimer {
  max-width: 850px;
  margin-top: 16px !important;
  color: #6b778d !important;
  font-size: 13px !important;
}

/* Story #20260809 | 2026-08-09 | George | Make authority gates and responsibilities explicit in the operating model. */
.cf-operating {
  padding: 96px 0;
  background: var(--cf-teal-soft);
}

.cf-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 48px;
  padding-left: 0;
  list-style: none;
  counter-reset: none;
}

.cf-flow li {
  position: relative;
  min-width: 0;
  padding: 22px 19px 24px;
  border-top: 3px solid var(--cf-teal);
  border-right: 1px solid #c8dfda;
  background: rgba(255, 255, 255, 0.64);
}

.cf-flow li:last-child {
  border-right: 0;
}

.cf-flow li::after {
  position: absolute;
  top: 21px;
  right: -8px;
  z-index: 2;
  width: 16px;
  height: 16px;
  color: var(--cf-teal);
  background: var(--cf-teal-soft);
  content: ">";
  font-size: 13px;
  font-weight: 900;
  line-height: 16px;
  text-align: center;
}

.cf-flow li:last-child::after {
  content: none;
}

.cf-flow li > span,
.cf-flow li > strong {
  display: block;
}

.cf-flow li > span {
  margin-bottom: 31px;
  color: var(--cf-teal);
  font-size: 12px;
  font-weight: 800;
}

.cf-flow li > strong {
  margin-bottom: 8px;
  color: var(--cf-navy);
  font-size: 15px;
  line-height: 1.35;
}

.cf-flow li > p {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.cf-flow li::before {
  position: absolute;
  top: -27px;
  left: 18px;
  padding: 4px 7px;
  border: 1px solid #b9d5cf;
  border-radius: 4px;
  color: var(--cf-teal);
  background: var(--cf-white);
  content: attr(data-owner);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.cf-matrix-wrap {
  overflow: hidden;
  border: 1px solid #c7ddd9;
  border-radius: 6px;
  background: var(--cf-white);
}

.cf-matrix {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cf-matrix caption {
  padding: 18px 20px;
  color: var(--cf-navy);
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.cf-matrix th,
.cf-matrix td {
  padding: 16px 18px;
  border-top: 1px solid #d9e8e5;
  border-right: 1px solid #d9e8e5;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.cf-matrix th:last-child,
.cf-matrix td:last-child {
  border-right: 0;
}

.cf-matrix thead th {
  color: #4f6470;
  background: #f5faf9;
  font-size: 11px;
  text-transform: uppercase;
}

.cf-matrix tbody th {
  width: 28%;
  color: var(--cf-navy);
  font-weight: 740;
}

.cf-matrix tbody td {
  color: var(--cf-copy);
}

/* Story #20260809 | 2026-08-09 | George | Bound software scope to common consulting delivery workloads. */
.cf-scope {
  padding: 96px 0;
  background: var(--cf-white);
}

.cf-scope__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--cf-line);
}

.cf-scope__grid li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  grid-template-areas: "label heading" "label copy";
  gap: 4px 22px;
  min-width: 0;
  padding: 28px 24px;
  border-right: 1px solid var(--cf-line);
  border-bottom: 1px solid var(--cf-line);
}

.cf-scope__grid li:nth-child(even) {
  border-right: 0;
}

.cf-scope__grid span {
  grid-area: label;
  align-self: start;
  color: var(--cf-blue);
  font-size: 11px;
  font-weight: 850;
}

.cf-scope__grid strong {
  grid-area: heading;
  color: var(--cf-navy);
  font-size: 17px;
  line-height: 1.35;
}

.cf-scope__grid p {
  grid-area: copy;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.cf-text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 28px;
  color: var(--cf-blue);
  font-size: 14px;
  font-weight: 760;
}

.cf-text-link:hover {
  color: var(--cf-blue-dark);
}

/* Story #20260809 | 2026-08-09 | George | Show the assessment as a cost ledger with decision outputs. */
.cf-economics {
  padding: 96px 0;
  background: var(--cf-soft);
}

.cf-economics__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: 70px;
  align-items: center;
}

.cf-economics__copy > p:not(.cf-eyebrow) {
  max-width: 560px;
}

.cf-economics__principle {
  margin-top: 22px !important;
  padding-left: 15px;
  border-left: 3px solid var(--cf-coral);
  color: #48566f !important;
  font-size: 14px !important;
}

.cf-ledger {
  overflow: hidden;
  border: 1px solid var(--cf-line);
  border-radius: 7px;
  background: var(--cf-white);
  box-shadow: 0 24px 52px rgba(30, 45, 75, 0.09);
}

.cf-ledger__header,
.cf-ledger__row,
.cf-ledger__footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 17px 20px;
}

.cf-ledger__header {
  color: var(--cf-white);
  background: var(--cf-navy);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cf-ledger__row {
  border-bottom: 1px solid var(--cf-line);
  color: var(--cf-copy);
  font-size: 13px;
}

.cf-ledger__row strong {
  color: var(--cf-navy);
  font-size: 13px;
}

.cf-ledger__footer {
  color: var(--cf-teal);
  background: var(--cf-teal-soft);
  font-size: 12px;
  font-weight: 800;
}

.cf-ledger__footer strong {
  color: var(--cf-navy);
  line-height: 1.45;
}

/* Story #20260809 | 2026-08-09 | George | Keep AI orchestration subordinate to delivery authority and cost governance. */
.cf-ai {
  padding: 78px 0;
  color: var(--cf-white);
  background: var(--cf-navy);
}

.cf-ai__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.85fr);
  gap: 70px;
  align-items: center;
}

.cf-ai h2 {
  max-width: 680px;
  color: var(--cf-white) !important;
}

.cf-ai p:not(.cf-eyebrow) {
  max-width: 720px;
  color: #c8d5ed !important;
}

.cf-ai .cf-eyebrow {
  color: #79d7ce !important;
}

.cf-ai__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.cf-ai__controls li {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.cf-ai__controls strong,
.cf-ai__controls span {
  display: block;
}

.cf-ai__controls strong {
  margin-bottom: 6px;
  color: var(--cf-white);
  font-size: 14px;
}

.cf-ai__controls span {
  color: #9fb1d1;
  font-size: 12px;
  line-height: 1.45;
}

/* Story #20260809 | 2026-08-09 | George | Present the assessment-to-pilot path as three bounded commercial decisions. */
.cf-engagement {
  padding: 96px 0;
  background: var(--cf-white);
}

.cf-engagement__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.cf-engagement__steps > li {
  min-width: 0;
  padding: 27px 25px 29px;
  border: 1px solid var(--cf-line);
  border-radius: 7px;
  background: var(--cf-white);
}

.cf-engagement__steps > li:first-child {
  border-top: 4px solid var(--cf-blue);
}

.cf-engagement__steps > li:nth-child(2) {
  border-top: 4px solid var(--cf-teal);
}

.cf-engagement__steps > li:nth-child(3) {
  border-top: 4px solid var(--cf-coral);
}

.cf-step-number,
.cf-step-label {
  display: block;
}

.cf-step-number {
  margin-bottom: 28px;
  color: #8a96aa;
  font-size: 12px;
  font-weight: 800;
}

.cf-step-label {
  margin-bottom: 8px !important;
  color: var(--cf-teal) !important;
  font-size: 11px !important;
  font-weight: 800;
  text-transform: uppercase;
}

.cf-engagement__steps > li > p:not(.cf-step-label) {
  min-height: 80px;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.cf-engagement__steps ul {
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--cf-line);
  list-style: none;
}

.cf-engagement__steps ul li {
  position: relative;
  margin-top: 8px;
  padding-left: 16px;
  color: var(--cf-copy);
  font-size: 13px;
  line-height: 1.45;
}

.cf-engagement__steps ul li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cf-teal);
  content: "";
}

.cf-engagement__action {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid var(--cf-line);
  border-radius: 6px;
  background: var(--cf-soft);
}

.cf-engagement__action strong,
.cf-engagement__action span {
  display: block;
}

.cf-engagement__action strong {
  margin-bottom: 4px;
  color: var(--cf-navy);
  font-size: 16px;
}

.cf-engagement__action span {
  color: var(--cf-copy);
  font-size: 13px;
}

/* Story #20260809 | 2026-08-09 | George | Resolve control and workforce objections before the final sales action. */
.cf-faq {
  padding: 96px 0;
  background: var(--cf-soft);
}

.cf-faq__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 78px;
  align-items: start;
}

.cf-faq__heading {
  position: sticky;
  top: 110px;
}

.cf-faq__list {
  border-top: 1px solid var(--cf-line);
}

.cf-faq details {
  border-bottom: 1px solid var(--cf-line);
  background: transparent;
}

.cf-faq summary {
  position: relative;
  padding: 22px 46px 22px 0;
  color: var(--cf-navy);
  font-size: 16px;
  font-weight: 740;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.cf-faq summary::-webkit-details-marker {
  display: none;
}

.cf-faq summary::after {
  position: absolute;
  top: 21px;
  right: 4px;
  color: var(--cf-blue);
  content: "+";
  font-size: 22px;
  font-weight: 500;
}

.cf-faq details[open] summary::after {
  content: "-";
}

.cf-faq details p {
  max-width: 720px;
  padding: 0 46px 22px 0;
  font-size: 14px !important;
}

/* Story #20260809 | 2026-08-09 | George | End on one live-portfolio decision with no implied savings guarantee. */
.cf-final {
  padding: 84px 0;
  color: var(--cf-white);
  background: var(--cf-navy-2);
}

.cf-final__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: center;
}

.cf-final h2 {
  max-width: 840px;
  color: var(--cf-white) !important;
}

.cf-final p:not(.cf-eyebrow) {
  max-width: 800px;
  color: #c7d3e8 !important;
}

.cf-final .cf-eyebrow {
  color: #79d7ce !important;
}

/* Story #20260809 | 2026-08-09 | George | Preserve readable, non-overlapping layouts from wide desktop through mobile. */
@media (max-width: 1120px) {
  .cf-hero__content {
    min-height: 540px;
    padding-right: 32px !important;
  }

  .cf-hero__scene {
    display: none;
  }

  .cf-hero__content > * {
    max-width: 750px;
  }

  .cf-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 0;
  }

  .cf-flow li:nth-child(3),
  .cf-flow li:nth-child(6) {
    border-right: 0;
  }

  .cf-flow li:nth-child(3)::after,
  .cf-flow li:nth-child(6)::after {
    content: none;
  }

  .cf-economics__layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .cf-economics__copy > p:not(.cf-eyebrow) {
    max-width: 760px;
  }
}

@media (max-width: 900px) {
  body.consulting-firms-page main h1 {
    font-size: 52px;
  }

  .consulting-firms-page main h2 {
    font-size: 34px;
  }

  .cf-pressure {
    padding-top: 56px;
  }

  .cf-heading-split,
  .cf-ai__layout,
  .cf-faq__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cf-heading-split {
    align-items: start;
  }

  .cf-pressure__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cf-pressure__grid li:nth-child(2) {
    border-right: 0;
  }

  .cf-pressure__grid li:nth-child(3),
  .cf-pressure__grid li:nth-child(4) {
    border-top-width: 1px;
  }

  .cf-ai__layout {
    align-items: start;
  }

  .cf-engagement__steps {
    grid-template-columns: 1fr;
  }

  .cf-engagement__steps > li > p:not(.cf-step-label) {
    min-height: 0;
  }

  .cf-faq__heading {
    position: static;
  }

  .cf-final__layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 700px) {
  body.consulting-firms-page main h1 {
    font-size: 44px;
  }

  .consulting-firms-page main h2 {
    font-size: 30px;
  }

  .cf-hero__content {
    min-height: 0;
    padding-top: 64px;
    padding-right: 20px !important;
    padding-bottom: 46px;
  }

  .cf-hero__scene {
    display: none;
  }

  .cf-hero__statement {
    font-size: 21px !important;
  }

  .cf-hero__lead {
    font-size: 16px !important;
  }

  .cf-hero__signals {
    grid-template-columns: 1fr;
  }

  .cf-hero__signals > div {
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .cf-pressure,
  .cf-operating,
  .cf-scope,
  .cf-economics,
  .cf-engagement,
  .cf-faq {
    padding: 72px 0;
  }

  .cf-ai,
  .cf-final {
    padding: 64px 0;
  }

  .cf-cost-shift {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 23px 20px;
  }

  .cf-cost-shift__arrow {
    transform: rotate(90deg);
    transform-origin: center;
  }

  .cf-flow {
    grid-template-columns: 1fr;
    gap: 29px 0;
  }

  .cf-flow li,
  .cf-flow li:nth-child(3) {
    border-right: 0;
  }

  .cf-flow li::after {
    content: none;
  }

  .cf-matrix-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .cf-matrix,
  .cf-matrix tbody,
  .cf-matrix tr,
  .cf-matrix th,
  .cf-matrix td {
    display: block;
    width: 100%;
  }

  .cf-matrix thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .cf-matrix caption {
    padding: 0 0 15px;
  }

  .cf-matrix tbody tr {
    margin-bottom: 13px;
    border: 1px solid #c7ddd9;
    border-radius: 6px;
    background: var(--cf-white);
  }

  .cf-matrix tbody th,
  .cf-matrix tbody td {
    padding: 13px 16px;
    border-right: 0;
  }

  .cf-matrix tbody th {
    width: 100%;
    background: #f5faf9;
  }

  .cf-matrix tbody td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--cf-teal);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .cf-scope__grid {
    grid-template-columns: 1fr;
  }

  .cf-scope__grid li,
  .cf-scope__grid li:nth-child(even) {
    border-right: 0;
  }

  .cf-ledger__header,
  .cf-ledger__row,
  .cf-ledger__footer {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cf-engagement__action {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Story #20260809 | 2026-08-09 | George | Keep the next decision section visible on short desktop viewports. */
@media (min-width: 901px) and (max-height: 920px) {
  body.consulting-firms-page main h1 {
    margin-bottom: 12px;
    font-size: 50px;
  }

  .cf-hero__content {
    min-height: 0;
    padding-top: 32px;
    padding-bottom: 22px;
  }

  .cf-hero__scene {
    top: 32px;
    transform: scale(0.88);
    transform-origin: top right;
  }

  .cf-hero__statement {
    margin-bottom: 12px !important;
    font-size: 21px !important;
  }

  .cf-hero__lead {
    font-size: 16px !important;
    line-height: 1.52 !important;
  }

  .cf-actions {
    margin-top: 18px;
  }

  .cf-actions .cf-button {
    min-height: 44px;
  }

  .cf-hero__boundary {
    margin-top: 10px !important;
    font-size: 13px !important;
  }

  .cf-hero__signals > div {
    padding-top: 13px;
    padding-bottom: 15px;
  }

  .cf-pressure {
    padding-top: 56px;
  }
}

@media (max-width: 520px) {
  /* Story #20260809 | 2026-08-09 | George | Keep the mobile buying message compact and remove shared-header overflow. */
  .consulting-firms-page .site-header-actions {
    gap: 0.3rem;
  }

  .consulting-firms-page .site-header-action--primary {
    padding-inline: 0.5rem;
    font-size: 0.74rem;
  }

  .consulting-firms-page .site-auth-trigger {
    font-size: 0.78rem;
  }

  body.consulting-firms-page main h1 {
    margin-bottom: 12px;
    font-size: 34px;
  }

  .consulting-firms-page main h2 {
    font-size: 28px;
  }

  .cf-hero__content {
    padding-top: 36px;
    padding-bottom: 22px;
  }

  .cf-hero .cf-eyebrow {
    margin-bottom: 10px !important;
  }

  .cf-hero__statement {
    margin-bottom: 12px !important;
  }

  .cf-hero__lead {
    line-height: 1.52 !important;
  }

  .cf-hero__signals {
    display: none;
  }

  .cf-actions {
    gap: 2px;
    margin-top: 18px;
  }

  .cf-actions .cf-button--primary {
    min-height: 46px;
  }

  .cf-actions .cf-button--ghost {
    min-height: 30px;
    padding: 4px 0;
    border-color: transparent;
    background: transparent;
  }

  .cf-hero__boundary {
    margin-top: 12px !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .cf-pressure {
    padding-top: 44px;
  }

  .cf-actions,
  .cf-actions .cf-button,
  .cf-engagement__action .cf-button,
  .cf-final .cf-button {
    width: 100%;
  }

  .cf-pressure__grid {
    grid-template-columns: 1fr;
  }

  .cf-pressure__grid li,
  .cf-pressure__grid li:nth-child(2) {
    border-right: 0;
  }

  .cf-pressure__grid li:nth-child(2) {
    border-top-width: 1px;
  }

  .cf-pressure__grid span {
    margin-bottom: 18px;
  }

  .cf-scope__grid li {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "heading" "copy";
    gap: 7px;
    padding-inline: 4px;
  }

  .cf-ai__controls {
    grid-template-columns: 1fr;
  }

  .cf-engagement__steps > li {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cf-button {
    transition: none;
  }
}
