/* Consulting page — editorial shell, mobile sync, classy motion */

:root {

  --accent: #4f8cff;
  --accent2: #7dd3fc;
  --accent3: #93c5fd;
  --bg: #05060a;
  --consult-ink: #e8eef8;
  --consult-muted: rgba(232, 238, 248, 0.78);
  --consult-muted2: rgba(232, 238, 248, 0.62);
  --consult-link: #7dd3fc;
  --consult-link-hover: #e8eef8;
  --consult-line: rgba(255, 255, 255, 0.1);
  --consult-panel: rgba(10, 14, 22, 0.55);
  --font-editorial: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Space Grotesk", system-ui, sans-serif;
  /* Single editorial column — used by every content block */
  --cx-gutter: clamp(1.25rem, 4.5vw, 2rem);
  --cx-max: 1120px;
  --cx-shell: min(var(--cx-max), calc(100% - (var(--cx-gutter) * 2)));
  --cx-section-y: clamp(2.5rem, 5vw, 4rem);
  --cx-copy-max: 34rem;
}

.cx-brand-keep {
  white-space: nowrap;
}

body.consult-preview {
  background: var(--bg);
  color: var(--consult-ink);
  font-family: var(--font-ui);
  /* Kill browser-default navy links on dark pages */
  --muted: rgba(232, 238, 248, 0.72);
  --muted-strong: rgba(232, 238, 248, 0.88);
  --text: #e8eef8;
  --text2: rgba(232, 238, 248, 0.82);
}

/* Text / inline links — bright steel, never dark blue */
body.consult-preview a:link,
body.consult-preview a:visited {
  color: var(--consult-link);
}

body.consult-preview a:hover,
body.consult-preview a:focus-visible {
  color: var(--consult-link-hover);
}

body.consult-preview .breadcrumb,
body.consult-preview .breadcrumb a:link,
body.consult-preview .breadcrumb a:visited {
  color: var(--consult-link);
}

body.consult-preview .breadcrumb a:hover,
body.consult-preview .breadcrumb a:focus-visible {
  color: var(--consult-link-hover);
  text-decoration: underline;
}

body.consult-preview .cx-page-back {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
}

body.consult-preview .cx-page-back a:link,
body.consult-preview .cx-page-back a:visited {
  color: var(--consult-link);
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 211, 252, 0.45);
  padding-bottom: 1px;
}

body.consult-preview .cx-page-back a:hover,
body.consult-preview .cx-page-back a:focus-visible {
  color: var(--consult-link-hover);
  border-bottom-color: rgba(232, 238, 248, 0.7);
}

/* Preserve button / nav / logo colors after global link rule */
body.consult-preview a.btn:link,
body.consult-preview a.btn:visited {
  color: var(--muted-strong);
}

body.consult-preview a.btn:hover,
body.consult-preview a.btn:focus-visible {
  color: var(--text);
}

body.consult-preview a.btn-primary:link,
body.consult-preview a.btn-primary:visited,
body.consult-preview a.btn-primary:hover,
body.consult-preview a.btn-primary:focus-visible {
  color: #030308;
}

body.consult-preview .nav-logo,
body.consult-preview .nav-logo:link,
body.consult-preview .nav-logo:visited {
  color: var(--text);
}

body.consult-preview .nav-links a:link,
body.consult-preview .nav-links a:visited {
  color: var(--muted-strong);
}

body.consult-preview .nav-links a:hover,
body.consult-preview .nav-links a:focus-visible,
body.consult-preview .nav-links a.active {
  color: var(--text);
}

body.consult-preview .f-logo:link,
body.consult-preview .f-logo:visited,
body.consult-preview .f-nav a:link,
body.consult-preview .f-nav a:visited {
  color: var(--muted-strong);
}

body.consult-preview .f-logo:hover,
body.consult-preview .f-nav a:hover,
body.consult-preview .f-copy a:hover {
  color: var(--consult-link-hover);
}

body.consult-preview .f-copy,
body.consult-preview .f-copy a:link,
body.consult-preview .f-copy a:visited {
  color: var(--consult-muted);
}

/* Eyebrows / tags: use bright steel so they read on dark */
body.consult-preview .cx-eyebrow,
body.consult-preview .cx-service-label,
body.consult-preview .cx-case-tags span {
  color: var(--consult-link);
}

body.consult-preview .aurora-sky,
body.consult-preview .starfield {
  opacity: 0.35;
}

body.consult-preview .orb1 {
  width: 720px;
  height: 720px;
  top: -280px;
  right: -160px;
  background: rgba(79, 140, 255, 0.08);
}

body.consult-preview .orb2 {
  width: 480px;
  height: 480px;
  bottom: -100px;
  left: -120px;
  background: rgba(125, 211, 252, 0.07);
  animation-delay: -10s;
}

/* —— Preview banner —— */
.preview-banner {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  padding: var(--space-2) var(--cx-gutter);
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 200, 100, 0.9);
  border-bottom: 1px solid rgba(255, 200, 100, 0.2);
  background: rgba(40, 28, 8, 0.92);
  backdrop-filter: blur(12px);
}

/* —— Shared shell helpers —— */
.cx-shell,
.cx-practices-head,
.cx-services-head,
.cx-industries-head,
.cx-contexts-head,
.cx-cases-head,
.cx-cases-teaser-inner,
.cx-page-hero-inner,
.cx-engage-head,
.cx-inner,
.cx-flagship,
.cx-practice-list,
.cx-directory,
.cx-type-jump,
.cx-industry-rail,
.cx-band-shell,
.cx-phases,
.cx-waitlist-strip,
.cx-disclaimer,
.cx-contact,
.cx-case,
.cx-hero-content {
  width: var(--cx-shell);
  margin-inline: auto;
}

/* —— Type helpers —— */
.cx-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.cx-display {
  font-family: var(--font-editorial);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--consult-ink);
}

.cx-lead {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.125rem);
  line-height: 1.7;
  color: var(--consult-muted);
  max-width: var(--cx-copy-max);
}

/* —— Full-bleed hero —— */
.cx-hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.cx-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.cx-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06) translate3d(0, var(--cx-parallax, 0px), 0);
  will-change: transform;
}

.cx-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.28) 0%, rgba(5, 6, 10, 0.52) 40%, rgba(5, 6, 10, 0.94) 100%),
    linear-gradient(90deg, rgba(5, 6, 10, 0.72) 0%, rgba(5, 6, 10, 0.22) 55%, rgba(5, 6, 10, 0.4) 100%);
}

.cx-hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 4rem) 0 2.75rem;
}

.cx-hero .breadcrumb {
  margin-bottom: var(--space-5);
  opacity: 0.85;
  max-width: none;
}

.cx-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-5);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.cx-hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.cx-hero h1 {
  font-family: var(--font-editorial);
  font-size: clamp(2.35rem, 1.7rem + 3.2vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 14ch;
  margin-bottom: var(--space-5);
}

.cx-hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.cx-hero-sub {
  max-width: 36rem;
  font-size: clamp(0.98rem, 0.92rem + 0.28vw, 1.125rem);
  line-height: 1.65;
  color: rgba(232, 234, 239, 0.78);
  margin-bottom: var(--space-8);
}

.cx-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-9);
}

.cx-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-9);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 42rem;
}

.cx-hero-meta dt {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--consult-muted2);
  margin-bottom: 0.35rem;
}

.cx-hero-meta dd {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(232, 234, 239, 0.88);
}

/* Subtle glass brand badge — NOT a facade overlay */
.cx-hero-brand {
  position: absolute;
  right: max(var(--cx-gutter), calc((100% - var(--cx-max)) / 2));
  bottom: 1.15rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.72rem 0.42rem 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(8, 12, 20, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.cx-hero-brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(79, 140, 255, 0.45);
  flex-shrink: 0;
}

.cx-hero-brand-text {
  position: relative;
}

.cx-hero-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

/* —— Editorial narrative bands (shell-aligned, intentional crop) —— */
.cx-band {
  padding: var(--cx-section-y) 0;
  border-top: 1px solid var(--consult-line);
}

.cx-band-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: center;
}

.cx-band-shell--flip {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.86fr);
}

.cx-band-shell--flip .cx-band-copy {
  order: 1;
}

.cx-band-shell--flip .cx-band-frame {
  order: 2;
}

.cx-band-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 5 / 6;
  max-height: min(58vh, 480px);
  overflow: hidden;
  border-radius: 2px;
  background: #0a0e16;
  isolation: isolate;
}

.cx-band-frame--tall {
  aspect-ratio: 4 / 5;
  max-height: min(62vh, 520px);
}

.cx-band-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Soft edge fade into page bg — editorial cut, not a packed box */
.cx-band-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 14%, transparent 86%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 78%, rgba(5, 6, 10, 0.55) 100%);
  opacity: 0.92;
}

.cx-band-shell--flip .cx-band-frame::after {
  background:
    linear-gradient(270deg, var(--bg) 0%, transparent 16%, transparent 88%, var(--bg) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 10%, transparent 80%, rgba(5, 6, 10, 0.5) 100%);
}

.cx-band--offset .cx-band-frame {
  margin-top: clamp(0.5rem, 2vw, 1.75rem);
  margin-bottom: clamp(0.25rem, 1.5vw, 1rem);
}

.cx-band-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: var(--cx-copy-max);
  padding: clamp(0.5rem, 2vw, 1.25rem) 0;
}

.cx-band-copy h2 {
  font-family: var(--font-editorial);
  font-size: clamp(1.85rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-5);
  max-width: 14ch;
}

.cx-band-copy p {
  color: var(--consult-muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}

.cx-band-copy p:last-child {
  margin-bottom: 0;
}

.cx-band-note {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--consult-line);
  font-size: var(--text-sm);
  color: var(--consult-muted2);
  line-height: 1.65;
}

/* —— Services: alternating image + copy (full shell width) —— */
.cx-services {
  border-top: 1px solid var(--consult-line);
  padding: var(--cx-section-y) 0;
}

.cx-services-head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.cx-services-head h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem);
  font-weight: 500;
  max-width: 16ch;
  margin-bottom: var(--space-5);
}

.cx-service {
  width: var(--cx-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: stretch;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--consult-line);
  scroll-margin-top: calc(var(--nav-h) + 4rem);
}

.cx-service:first-of-type {
  border-top: none;
  padding-top: 0;
}

.cx-service--flip .cx-service-media {
  order: 2;
}

.cx-service--flip .cx-service-body {
  order: 1;
}

.cx-service-media {
  position: relative;
  margin: 0;
  min-height: 280px;
  overflow: hidden;
  background: #0a0e16;
  border: 1px solid var(--consult-line);
}

.cx-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cx-service-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: var(--space-2) 0;
}

.cx-service-label {
  margin: 0 0 var(--space-3);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.cx-service-body h3 {
  font-family: var(--font-editorial);
  font-size: clamp(1.55rem, 1.3rem + 0.9vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
  max-width: 18ch;
}

.cx-service-body > p {
  margin: 0 0 var(--space-5);
  color: var(--consult-muted);
  line-height: 1.7;
  max-width: 36rem;
}

.cx-service-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.cx-service-points li {
  position: relative;
  padding-left: 1.1rem;
  font-size: var(--text-sm);
  color: var(--consult-muted2);
  line-height: 1.55;
}

.cx-service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.cx-service--secondary {
  opacity: 0.92;
}

.cx-service--secondary .cx-service-label {
  color: var(--consult-muted);
}

/* —— Common contexts: 3-up balanced grid (not a skinny left rail) —— */
.cx-contexts {
  border-top: 1px solid var(--consult-line);
  padding: var(--cx-section-y) 0;
}

.cx-contexts-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.cx-contexts-head h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem);
  font-weight: 500;
  max-width: 18ch;
  margin-bottom: var(--space-5);
}

.cx-context-grid {
  width: var(--cx-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.cx-context {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--consult-line);
  background: rgba(10, 14, 22, 0.45);
}

.cx-context-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0e16;
  border-bottom: 1px solid var(--consult-line);
}

.cx-context-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cx-context h3 {
  font-family: var(--font-editorial);
  font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  font-weight: 500;
  margin: clamp(0.9rem, 2vw, 1.15rem) clamp(0.9rem, 2vw, 1.15rem) 0.45rem;
}

.cx-context p {
  margin: 0 clamp(0.9rem, 2vw, 1.15rem) clamp(0.9rem, 2vw, 1.15rem);
  font-size: var(--text-sm);
  color: var(--consult-muted2);
  line-height: 1.55;
}

/* —— Legacy practices/industries kept for use-cases page compatibility —— */
.cx-practices {
  border-top: 1px solid var(--consult-line);
  padding: var(--cx-section-y) 0;
}

.cx-practices-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.cx-practices-head h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem);
  font-weight: 500;
  max-width: 14ch;
  margin-bottom: var(--space-5);
}

.cx-type-jump {
  width: var(--cx-shell);
  margin: 0 auto clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

.cx-type-jump a {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--consult-muted);
  border: 1px solid var(--consult-line);
  padding: 0.45rem 0.7rem;
  border-radius: 2px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cx-type-jump a:hover,
.cx-type-jump a:focus-visible {
  color: var(--consult-ink);
  border-color: rgba(79, 140, 255, 0.45);
  background: rgba(79, 140, 255, 0.08);
  outline: none;
}

.cx-directory {
  width: var(--cx-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--consult-line);
  background: var(--consult-line);
}

.cx-dir-card {
  background: rgba(10, 14, 22, 0.72);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  scroll-margin-top: calc(var(--nav-h) + 4rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
}

.cx-dir-card .num {
  font-family: var(--font-editorial);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}

.cx-dir-card h3 {
  font-family: var(--font-editorial);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}

.cx-dir-card p {
  margin: 0;
  color: var(--consult-muted2);
  line-height: 1.6;
  font-size: var(--text-sm);
  max-width: 36rem;
}

.cx-dir-tags {
  margin-top: auto !important;
  padding-top: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--consult-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cx-flagship {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.25rem, 3vw, 2.25rem);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  scroll-margin-top: calc(var(--nav-h) + 4rem);
  border: 1px solid rgba(79, 140, 255, 0.35);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(79, 140, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%),
    rgba(10, 14, 22, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.cx-flagship-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.15rem;
}

.cx-flagship-num {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 1.7rem + 1vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}

.cx-flagship-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.9);
}

.cx-flagship-body h3 {
  font-family: var(--font-editorial);
  font-size: clamp(1.55rem, 1.3rem + 0.9vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  max-width: 18ch;
}

.cx-flagship-body p {
  color: var(--consult-muted);
  line-height: 1.7;
  max-width: 40rem;
  margin-bottom: var(--space-5);
}

.cx-flagship-line {
  margin: 0 !important;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--consult-muted2);
}

.cx-practice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--consult-line);
}

.cx-practice-list li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding: clamp(1rem, 2vw, 1.35rem) 0;
  border-bottom: 1px solid var(--consult-line);
  scroll-margin-top: calc(var(--nav-h) + 4rem);
}

.cx-practice-list .num {
  font-family: var(--font-editorial);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.2;
  padding-top: 0.15rem;
}

.cx-practice-list h3 {
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.cx-practice-list p {
  margin: 0;
  color: var(--consult-muted2);
  line-height: 1.6;
  font-size: var(--text-sm);
  max-width: 36rem;
}

.cx-scope {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding: var(--space-6) 0 0;
  border-top: 1px solid var(--consult-line);
  font-size: var(--text-sm);
  color: var(--consult-muted2);
  line-height: 1.65;
  max-width: var(--cx-copy-max);
}

.cx-scope strong {
  color: var(--consult-ink);
  font-weight: 600;
}

.cx-industries {
  border-top: 1px solid var(--consult-line);
  padding: var(--cx-section-y) 0;
}

.cx-industries-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.cx-industries-head h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem);
  font-weight: 500;
  max-width: 16ch;
  margin-bottom: var(--space-5);
}

.cx-industry-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  width: var(--cx-shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--consult-line);
  background: var(--consult-line);
}

.cx-industry-rail li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: rgba(10, 14, 22, 0.72);
}

.cx-industry-rail .idx {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  color: var(--accent);
  line-height: 1;
}

.cx-industry-rail .name {
  font-family: var(--font-editorial);
  font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  font-weight: 500;
  color: var(--consult-ink);
}

.cx-industry-rail .blurb {
  font-size: var(--text-sm);
  color: var(--consult-muted2);
  line-height: 1.55;
  max-width: none;
}

.cx-scroll-hint {
  margin-top: var(--space-2);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--consult-muted2);
}

/* —— Case-study strips (same shell as bands) —— */
.cx-cases {
  border-top: 1px solid var(--consult-line);
  padding: var(--cx-section-y) 0;
}

.cx-cases-head {
  margin-bottom: var(--space-9);
}

.cx-cases-head h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem);
  font-weight: 500;
  max-width: 20ch;
  margin-bottom: var(--space-4);
}

.cx-case {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(1.15rem, 2.8vw, 2.5rem);
  align-items: stretch;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--consult-line);
}

.cx-case.flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
}

.cx-case.flip .cx-case-media {
  order: 2;
}

.cx-case.flip .cx-case-body {
  order: 1;
}

.cx-case.no-media {
  grid-template-columns: 1fr;
}

.cx-case-media {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #0a0e16;
  border: 1px solid var(--consult-line);
}

.cx-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cx-case-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2) 0;
  min-width: 0;
}

.cx-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
}

.cx-case-tags span {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(79, 140, 255, 0.4);
  padding-bottom: 2px;
}

.cx-case-body h3 {
  font-family: var(--font-editorial);
  font-size: clamp(1.35rem, 1.15rem + 0.65vw, 1.8rem);
  font-weight: 500;
  margin-bottom: var(--space-5);
  max-width: 22ch;
}

.cx-pao {
  display: grid;
  gap: var(--space-4);
}

.cx-pao-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: var(--space-3);
}

.cx-pao-row dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.15rem;
}

.cx-pao-row dd {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--consult-muted);
  line-height: 1.6;
}

/* —— Engagement —— */
.cx-engage {
  border-top: 1px solid var(--consult-line);
  padding: var(--cx-section-y) 0;
}

.cx-engage-head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.cx-engage-head h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.cx-phases {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--consult-line);
}

.cx-phase {
  display: grid;
  grid-template-columns: 4rem 10rem minmax(0, 1fr);
  gap: var(--space-5);
  align-items: baseline;
  padding: clamp(1.1rem, 2.2vw, 1.6rem) 0;
  border-bottom: 1px solid var(--consult-line);
}

.cx-phase .n {
  font-family: var(--font-editorial);
  font-size: 1.75rem;
  color: var(--accent);
}

.cx-phase h3 {
  font-family: var(--font-editorial);
  font-size: 1.3rem;
  font-weight: 500;
}

.cx-phase p {
  margin: 0;
  color: var(--consult-muted);
  line-height: 1.6;
  font-size: var(--text-sm);
}

.cx-waitlist-strip {
  margin-top: var(--space-9);
  padding: var(--space-8) 0 0;
  border-top: 1px solid var(--consult-line);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: var(--space-6);
  align-items: end;
}

.cx-waitlist-strip h3 {
  font-family: var(--font-editorial);
  font-size: clamp(1.45rem, 1.25rem + 0.7vw, 1.9rem);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.cx-waitlist-strip p {
  color: var(--consult-muted);
  line-height: 1.6;
  max-width: 36rem;
  margin: 0;
}

.cx-disclaimer {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--consult-line);
  font-size: var(--text-sm);
  color: var(--consult-muted2);
  line-height: 1.65;
  max-width: 44rem;
}

.cx-disclaimer code {
  font-size: 0.85em;
  color: var(--accent);
}

/* —— Use-cases teaser —— */
.cx-cases-teaser {
  border-top: 1px solid var(--consult-line);
  padding: var(--cx-section-y) 0;
}

.cx-cases-teaser-inner .cx-display {
  font-size: clamp(1.85rem, 1.5rem + 1.4vw, 2.75rem);
  max-width: 16ch;
  margin-bottom: var(--space-4);
}

.cx-cases-teaser-inner .btn {
  margin-top: var(--space-5);
}

/* —— CTA (same shell, left-aligned) —— */
.cx-cta {
  border-top: 1px solid var(--consult-line);
  padding: var(--cx-section-y) 0;
  text-align: left;
  background:
    radial-gradient(ellipse 50% 60% at 12% 100%, rgba(79, 140, 255, 0.08), transparent),
    transparent;
}

.cx-cta .cx-display {
  font-size: clamp(1.85rem, 1.5rem + 1.4vw, 2.75rem);
  max-width: 16ch;
  margin-bottom: var(--space-4);
}

.cx-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
  justify-content: flex-start;
}

/* —— Motion (classy, reduced-motion safe) —— */
@media (prefers-reduced-motion: no-preference) {
  .cx-hero-media img.cx-ken,
  .cx-band-frame img.cx-ken,
  .cx-case-media img.cx-ken {
    animation: cxKen 28s ease-in-out infinite alternate;
  }

  .cx-hero-brand::after {
    animation: cxShimmer 4.8s ease-in-out 1.2s infinite;
  }

  .consult-preview .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .consult-preview .reveal.on {
    opacity: 1;
    transform: none;
  }

  .cx-hero-content {
    animation: cxRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cx-hero-media img {
    transform: none;
  }

  .consult-preview .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes cxRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cxKen {
  from {
    transform: scale(1.04) translate3d(0, var(--cx-parallax, 0px), 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, calc(var(--cx-parallax, 0px) - 0.6%), 0);
  }
}

@keyframes cxShimmer {
  0%,
  70% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

/* —— Tablet / mobile —— */
@media (max-width: 960px) {
  .cx-band-shell,
  .cx-band-shell--flip {
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 4vw, 2.5rem);
  }

  .cx-band-shell--flip .cx-band-copy,
  .cx-band-shell--flip .cx-band-frame {
    order: unset;
  }

  .cx-band-frame,
  .cx-band-frame--tall {
    aspect-ratio: 16 / 11;
    max-height: none;
    width: 100%;
  }

  .cx-band--offset .cx-band-frame {
    margin-top: 0;
    margin-bottom: 0;
  }

  /* Soft fade only on bottom edge on stacked layouts */
  .cx-band-frame::after,
  .cx-band-shell--flip .cx-band-frame::after {
    background:
      linear-gradient(180deg, transparent 55%, rgba(5, 6, 10, 0.65) 100%),
      linear-gradient(90deg, var(--bg) 0%, transparent 8%, transparent 92%, var(--bg) 100%);
  }

  .cx-band-copy {
    max-width: none;
    padding: 0;
  }

  .cx-flagship {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1.1rem, 3.5vw, 1.5rem);
  }

  .cx-flagship-meta {
    flex-direction: row;
    align-items: baseline;
    gap: 0.85rem;
  }

  .cx-case,
  .cx-case.flip {
    grid-template-columns: 1fr;
  }

  .cx-case.flip .cx-case-media,
  .cx-case.flip .cx-case-body {
    order: unset;
  }

  .cx-case-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .cx-service,
  .cx-service--flip {
    grid-template-columns: 1fr;
  }

  .cx-service--flip .cx-service-media,
  .cx-service--flip .cx-service-body {
    order: unset;
  }

  .cx-service-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .cx-context-grid {
    grid-template-columns: 1fr;
  }

  .cx-phase {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: var(--space-3) var(--space-4);
  }

  .cx-phase h3 {
    grid-column: 2;
  }

  .cx-phase p {
    grid-column: 1 / -1;
  }

  .cx-waitlist-strip {
    grid-template-columns: 1fr;
  }

  .cx-industry-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cx-hero {
    min-height: min(92vh, 720px);
  }

  .cx-hero-media img {
    object-position: 48% 38%;
  }

  .cx-hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 6, 10, 0.4) 0%, rgba(5, 6, 10, 0.62) 38%, rgba(5, 6, 10, 0.96) 100%),
      linear-gradient(90deg, rgba(5, 6, 10, 0.7) 0%, rgba(5, 6, 10, 0.35) 100%);
  }

  .cx-hero-content {
    padding: calc(var(--nav-h) + 4.25rem) 0 5.25rem;
  }

  .cx-hero h1 {
    max-width: none;
    font-size: clamp(2.15rem, 9.2vw, 2.85rem);
  }

  .cx-hero-brand {
    right: var(--cx-gutter);
    bottom: 0.85rem;
    font-size: 0.625rem;
    padding: 0.36rem 0.62rem 0.36rem 0.48rem;
  }

  .cx-practice-list li {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: var(--space-3);
    padding: 1.25rem 0;
  }

  .cx-directory {
    grid-template-columns: 1fr;
  }

  .cx-context-grid {
    grid-template-columns: 1fr;
  }

  .cx-type-jump {
    gap: 0.4rem;
  }

  .cx-type-jump a {
    font-size: 0.625rem;
    padding: 0.4rem 0.55rem;
  }

  .cx-industry-rail {
    grid-template-columns: 1fr;
  }

  .cx-industry-rail .name {
    font-size: 1.2rem;
  }

  .cx-pao-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .cx-hero-meta {
    gap: var(--space-4) var(--space-6);
  }

  .cx-contact {
    align-items: flex-start;
  }

  .cx-phases {
    gap: 0;
  }

  .cx-phase {
    padding: var(--space-5) 0;
  }
}

.cx-brand-keep { white-space: nowrap; }
