/* =====================================================================
   industrial.css — page-scoped extensions for /industrial.
   Foundation lives in base.css + theme-*.css (shared foundation, repo root).
   Sections: foundation flow (shared shape with /hvac) · Full Steam sales
             overlay · featured case (KADEE).
   ===================================================================== */

/* ====================  HERO PROPORTIONS  ==================== */
@media (min-width: 921px) { body .hero-visual { aspect-ratio: 3 / 2; } }

/* ====================  FOUNDATION — process flow (shared shape) ==================== */

.hvac-foundation,
.hvac-foundation--flow {
  background: var(--services-bg);
  padding: var(--section-pad-y) 0;
}

.flow-wrap { position: relative; }

.flow-composition {
  position: relative;
  padding: 36px 36px 0;
  background: var(--surface-card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.flow-rail {
  display: grid;
  grid-template-columns: 1fr 1.2fr 2.2fr 1.6fr;
  gap: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 36px;
}
.flow-rail-stage { display: flex; align-items: baseline; gap: 12px; position: relative; }
.flow-rail-stage + .flow-rail-stage::before {
  content: '';
  position: absolute;
  left: -1px; top: -8px;
  width: 1px; height: 14px;
  background: var(--card-border);
}
.flow-rail-stage-num {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.flow-rail-stage-label {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}

.flow-diagram {
  display: grid;
  grid-template-columns:
    minmax(140px, 1fr) 44px
    minmax(170px, 1.2fr) 44px
    minmax(300px, 2.2fr) 44px
    minmax(230px, 1.6fr);
  align-items: stretch;
  gap: 0;
  min-height: 280px;
  margin-bottom: 36px;
}

.flow-col { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.flow-col--single { align-items: stretch; }
.flow-col--parallel { gap: 12px; }
.flow-col--terminal { gap: 6px; }

.flow-node {
  position: relative;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 8px;
  padding: 16px 18px 14px;
  background: var(--surface-card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 0 0 rgba(15,23,42,0.04);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.flow-node:hover { border-color: var(--accent); transform: translateY(-1px); }
.flow-node-tag {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-3);
  text-transform: uppercase;
}
.flow-node-head { display: flex; align-items: center; gap: 10px; }
.flow-node-head i, .flow-node-head svg.lucide {
  width: 22px; height: 22px; stroke: var(--accent);
}
.flow-node-name {
  font-family: var(--font-display);
  font-size: 19px; line-height: 1.1;
  letter-spacing: -0.01em; font-weight: 600;
  color: var(--text-1);
}
.flow-node-sub {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--text-3); line-height: 1.45;
}
.flow-node-mini {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.10em;
  color: var(--text-3); text-transform: uppercase;
}

.flow-node--compact { padding: 12px 14px; gap: 6px; }
.flow-node--compact .flow-node-name { font-size: 17px; }
.flow-node--compact .flow-node-head i,
.flow-node--compact .flow-node-head svg.lucide { width: 18px; height: 18px; }

.flow-node--featured {
  padding: 22px 24px 24px;
  gap: 12px;
  border-width: 2px;
  position: relative;
  box-shadow: 0 12px 32px rgba(15,23,42,0.10), 0 2px 6px rgba(15,23,42,0.06);
}
.flow-node--featured .flow-node-tag { color: var(--accent); font-weight: 800; }
.flow-node--featured .flow-node-name { font-size: 24px; }
.flow-node--featured .flow-node-head i,
.flow-node--featured .flow-node-head svg.lucide { width: 28px; height: 28px; }

.flow-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.flow-feature { display: flex; align-items: flex-start; gap: 10px; }
.flow-feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--accent);
  border-radius: var(--radius-button);
  color: var(--accent);
}
.flow-feature-icon i, .flow-feature-icon svg.lucide { width: 16px; height: 16px; stroke: currentColor; }
.flow-feature-body { display: flex; flex-direction: column; gap: 2px; }
.flow-feature-name {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-1);
}
.flow-feature-sub {
  font-family: var(--font-body);
  font-size: 12px; line-height: 1.4;
  color: var(--text-2);
}

.flow-node--accent {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--invert-text);
  box-shadow: 0 8px 22px rgba(15,23,42,0.18);
}
.flow-node--accent .flow-node-tag { color: var(--invert-text-2); }
.flow-node--accent .flow-node-name { color: var(--invert-text); }
.flow-node--accent .flow-node-sub { color: var(--invert-text-2); }
.flow-node--accent .flow-node-head i,
.flow-node--accent .flow-node-head svg.lucide { stroke: var(--invert-text); }

.flow-node--optional {
  border-style: dashed;
  border-width: 1.5px;
  opacity: 0.95;
  background: transparent;
  box-shadow: none;
  padding: 12px 14px;
}
.flow-node--optional .flow-node-tag { color: var(--text-3); }
.flow-node--optional .flow-node-name { font-size: 17px; }
.flow-node--optional .flow-node-head i,
.flow-node--optional .flow-node-head svg.lucide {
  stroke: var(--text-3);
  width: 18px; height: 18px;
}

.flow-connector {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  color: var(--accent);
}
.flow-connector svg { width: 100%; height: 220px; overflow: visible; }
.flow-connector path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
}

.flow-branch-line {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 2px 0;
  color: var(--text-3);
}
.flow-branch-line svg { height: 36px; width: 14px; overflow: visible; }
.flow-branch-line path {
  fill: none; stroke: var(--text-3);
  stroke-width: 1.75; stroke-dasharray: 4 3;
}
.flow-branch-tag {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 2px 8px;
  border: 1px dashed var(--text-3);
}

.flow-invoice-row {
  display: grid;
  grid-template-columns: 1fr 32px auto;
  align-items: center; gap: 4px;
}
.flow-books-connector { display: flex; align-items: center; color: var(--text-3); }
.flow-books-connector svg { width: 100%; height: 14px; overflow: visible; }
.flow-books-connector path {
  fill: none; stroke: var(--text-3);
  stroke-width: 1.75; stroke-dasharray: 4 3;
}
.flow-satellite {
  display: flex; align-items: center;
  gap: 8px; padding: 10px 12px;
  background: var(--surface-card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 0 0 rgba(15,23,42,0.04);
}
.flow-satellite-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--accent);
  border-radius: var(--radius-button);
  color: var(--accent);
}
.flow-satellite-icon i, .flow-satellite-icon svg.lucide { width: 16px; height: 16px; stroke: currentColor; }
.flow-satellite-body { display: flex; flex-direction: column; gap: 1px; }
.flow-satellite-name {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-1); line-height: 1.1;
}
.flow-satellite-sub {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--text-3);
}

.flow-workdrive { position: relative; margin: 0 -36px; }
.flow-slab-label {
  display: flex; align-items: center;
  gap: 12px; padding: 0 36px 14px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}
.flow-slab-bar {
  flex: 1; height: 1px;
  background: var(--card-border);
}
.flow-workdrive-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 24px 36px;
  background: var(--bg-dark);
  color: var(--invert-text);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 30%),
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.02) 0,
      rgba(255,255,255,0.02) 2px,
      transparent 2px,
      transparent 8px);
  background-color: var(--bg-dark);
}
.flow-workdrive-brand {
  display: flex; align-items: center;
  gap: 14px; padding-right: 22px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.flow-workdrive-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-button);
  color: var(--invert-text);
}
.flow-workdrive-icon i, .flow-workdrive-icon svg.lucide {
  width: 22px; height: 22px; stroke: currentColor;
}
.flow-workdrive-name {
  display: block;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--invert-text); line-height: 1.1;
}
.flow-workdrive-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--invert-text-2);
  margin-top: 3px;
}
.flow-workdrive-tagline {
  font-family: var(--font-body);
  font-size: 14.5px; line-height: 1.5;
  color: var(--invert-text-2);
}
.flow-workdrive-icons {
  display: flex; align-items: center;
  gap: 12px; padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,0.18);
}
.flow-workdrive-icons i, .flow-workdrive-icons svg.lucide {
  width: 20px; height: 20px;
  stroke: var(--invert-text-2);
  opacity: 0.9;
}

.flow-caption {
  margin-top: 28px;
  display: flex; align-items: baseline;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 14px; color: var(--text-2);
}
.flow-caption-mark {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.flow-caption em { font-weight: 600; }

/* ====================  THE UNLOCK — FULL STEAM OVERLAY  ==================== */
.industrial-unlock {
  background: var(--cases-bg);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
}

.section-eyebrow-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 4px 10px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-button);
  margin-right: 10px;
  background: var(--surface-card);
}

.overlay-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: var(--gap-grid);
  margin-bottom: 28px;
  align-items: stretch;
}

.overlay-card {
  background: var(--surface-card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  box-shadow: 0 1px 0 0 rgba(15,23,42,0.04);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.overlay-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.overlay-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.overlay-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-3);
}
.overlay-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-button);
  border: 1px solid var(--card-border);
  color: var(--text-2);
  background: var(--bg-2);
}

.overlay-card-icon {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid var(--accent);
  border-radius: var(--radius-button);
  color: var(--accent);
  background: var(--accent-l);
}
.overlay-card-icon i, .overlay-card-icon svg.lucide {
  width: 22px; height: 22px;
  stroke: currentColor;
}

.overlay-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: var(--display-tracking);
  font-weight: var(--section-h-weight);
  color: var(--text-1);
  margin: 4px 0 2px;
}

.overlay-lead {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.overlay-points {
  list-style: none;
  padding: 0; margin: 6px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.overlay-points li {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-2);
  padding: 6px 0 6px 18px;
  position: relative;
}
.overlay-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* Middle card — feature treatment (Sales Process Design) */
.overlay-card--feature {
  border-width: 2px;
  box-shadow: 0 16px 36px rgba(15,23,42,0.10), 0 3px 8px rgba(15,23,42,0.06);
}
.overlay-tag--feature {
  background: var(--accent);
  color: var(--invert-text);
  border-color: var(--accent);
}

.overlay-footnote {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-2);
}
.overlay-footnote-mark {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ====================  FEATURED CASE — KADEE  ==================== */
.industrial-featured-case {
  background: var(--services-bg);
  padding: var(--section-pad-y) 0;
}

.feat-case-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  text-decoration: none;
  color: inherit;
  background: var(--surface-card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.feat-case-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.feat-case-image {
  position: relative;
  background: var(--bg-dark);
  min-height: 380px;
  overflow: hidden;
}
.feat-case-image.with-photo  img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.feat-case-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg,
    rgba(0,0,0,0.50) 0%,
    rgba(0,0,0,0.10) 35%,
    rgba(0,0,0,0.10) 65%,
    rgba(0,0,0,0.45) 100%);
  z-index: 1;
  pointer-events: none;
}
.feat-case-num {
  position: absolute;
  top: 22px; left: 22px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--invert-text);
}

.feat-case-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat-case-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--text-3);
  text-transform: uppercase;
}
.feat-case-body h3 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: var(--display-tracking);
  font-weight: var(--section-h-weight);
  color: var(--text-1);
}
.feat-case-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}

.feat-case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px 0;
  margin: 4px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feat-case-meta-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feat-case-meta-key {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.feat-case-meta-val {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.35;
}

.feat-case-cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-top: 8px;
}

/* ====================  FULL STEAM INTRO  ==================== */
.fullsteam-intro {
  background: var(--bg-1);
  padding: calc(var(--section-pad-y) * 0.7) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fullsteam-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
  gap: 0;
  background: var(--surface-card);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.fullsteam-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: var(--bg-2);
  border-right: 1.5px solid var(--card-border);
}
.fullsteam-logo-img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}

.fullsteam-body {
  padding: 34px 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fullsteam-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: var(--eyebrow-case);
  color: var(--accent);
}
.fullsteam-body h2 {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: var(--display-tracking);
  font-weight: var(--section-h-weight);
  color: var(--text-1);
  margin: 0;
}
.fullsteam-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}
.fullsteam-body p strong { color: var(--text-1); font-weight: 700; }

.fullsteam-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.fullsteam-pillar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fullsteam-pillar-key {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.fullsteam-pillar-val {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-1);
  font-weight: 500;
}

/* =====================================================================
   THEME-LOBBY page-scoped overrides
   ===================================================================== */
/* ----- foundation flow ----- */
.theme-lobby .hvac-foundation,
.theme-lobby .hvac-foundation--flow { background: #f4f1ec; }

.theme-lobby .flow-composition {
  background: #ebe6dd;
  border: 1.5px solid #c9c2b2;
  border-radius: 0;
}

.theme-lobby .flow-rail { border-bottom-color: #c9c2b2; }
.theme-lobby .flow-rail-stage-num { color: #6b6147; }
.theme-lobby .flow-rail-stage-label { color: #4a4f5a; }
.theme-lobby .flow-rail-stage + .flow-rail-stage::before { background: #c9c2b2; }

.theme-lobby .flow-node {
  background: #f4f1ec;
  border: 1.5px solid #c9c2b2;
  border-radius: 0;
  box-shadow: 0 1px 0 0 rgba(26,30,38,0.06);
}
.theme-lobby .flow-node:hover { border-color: #6b6147; }
.theme-lobby .flow-node-head i,
.theme-lobby .flow-node-head svg.lucide { stroke: #6b6147; }
.theme-lobby .flow-node-name { font-weight: 500; color: #1a1e26; }
.theme-lobby .flow-node-sub { color: #6b6147; }
.theme-lobby .flow-node-tag { color: #8a7d62; }
.theme-lobby .flow-node-mini { color: #6b6147; }

.theme-lobby .flow-node--compact { background: #f8f5ef; border: 1px solid #d9d4cb; }

.theme-lobby .flow-node--featured {
  background: #ffffff;
  border: 2px solid #1a1e26;
  box-shadow: 0 16px 36px rgba(26,30,38,0.18), 0 3px 8px rgba(26,30,38,0.10);
}
.theme-lobby .flow-node--featured .flow-node-tag { color: #1a1e26; }
.theme-lobby .flow-feature-row { border-top-color: #c9c2b2; }
.theme-lobby .flow-feature-icon {
  border-color: #6b6147;
  color: #6b6147;
  border-radius: 0;
  background: #f4f1ec;
}
.theme-lobby .flow-feature-name { color: #1a1e26; }
.theme-lobby .flow-feature-sub { color: #4a4f5a; }

.theme-lobby .flow-node--accent {
  background: #1a1e26;
  border-color: #1a1e26;
  box-shadow: 0 10px 24px rgba(26,30,38,0.25);
}
.theme-lobby .flow-node--accent .flow-node-name { color: #f4f1ec; }
.theme-lobby .flow-node--accent .flow-node-tag { color: #b3a586; }
.theme-lobby .flow-node--accent .flow-node-sub { color: rgba(244,241,236,0.78); }
.theme-lobby .flow-node--accent .flow-node-head i,
.theme-lobby .flow-node--accent .flow-node-head svg.lucide { stroke: #b3a586; }

.theme-lobby .flow-node--optional {
  border: 1.5px dashed #8a7d62;
  background: transparent;
  border-radius: 0;
}
.theme-lobby .flow-node--optional .flow-node-head i,
.theme-lobby .flow-node--optional .flow-node-head svg.lucide { stroke: #6b6147; }

.theme-lobby .flow-connector { color: #1a1e26; }
.theme-lobby .flow-connector path { stroke: #1a1e26; opacity: 1; }
.theme-lobby .flow-branch-line { color: #6b6147; }
.theme-lobby .flow-branch-line path { stroke: #6b6147; }
.theme-lobby .flow-branch-tag { color: #6b6147; border-color: #8a7d62; }

.theme-lobby .flow-books-connector { color: #6b6147; }
.theme-lobby .flow-books-connector path { stroke: #6b6147; }
.theme-lobby .flow-satellite {
  background: #f4f1ec;
  border: 1.5px solid #c9c2b2;
  border-radius: 0;
  box-shadow: 0 1px 0 0 rgba(26,30,38,0.06);
}
.theme-lobby .flow-satellite-icon {
  border-color: #6b6147;
  color: #6b6147;
  border-radius: 0;
  background: #ffffff;
}
.theme-lobby .flow-satellite-name { color: #1a1e26; font-weight: 500; }
.theme-lobby .flow-satellite-sub { color: #6b6147; }

.theme-lobby .flow-slab-label { color: #6b6147; }
.theme-lobby .flow-slab-bar { background: #c9c2b2; }

/* WorkDrive band — deeper tan-brown (matches /hvac) */
.theme-lobby .flow-workdrive-band {
  background-color: #6b5e44;
  border-radius: 0;
}
.theme-lobby .flow-workdrive-icon {
  border-color: rgba(244,241,236,0.55);
  color: #f4f1ec;
  border-radius: 0;
}
.theme-lobby .flow-workdrive-icon i,
.theme-lobby .flow-workdrive-icon svg.lucide { stroke: #f4f1ec; }
.theme-lobby .flow-workdrive-name { color: #f4f1ec; font-weight: 500; }
.theme-lobby .flow-workdrive-kicker { color: #d9c79c; }
.theme-lobby .flow-workdrive-tagline { color: rgba(244,241,236,0.88); }
.theme-lobby .flow-workdrive-icons i,
.theme-lobby .flow-workdrive-icons svg.lucide { stroke: rgba(244,241,236,0.85); opacity: 0.9; }
.theme-lobby .flow-workdrive-brand { border-right-color: rgba(244,241,236,0.22); }
.theme-lobby .flow-workdrive-icons { border-left-color: rgba(244,241,236,0.22); }

.theme-lobby .flow-caption { color: #4a4f5a; }
.theme-lobby .flow-caption-mark { color: #6b6147; }
.theme-lobby .flow-caption em { color: #8a7d62; font-style: italic; font-weight: 500; }

/* ----- Full Steam intro ----- */
.theme-lobby .fullsteam-intro {
  background: #f4f1ec;
  border-top-color: #d9d4cb;
  border-bottom-color: #d9d4cb;
}
.theme-lobby .fullsteam-card {
  background: #f4f1ec;
  border: 1.5px solid #c9c2b2;
  border-radius: 0;
}
.theme-lobby .fullsteam-logo-cell {
  background: #ebe6dd;
  border-right-color: #c9c2b2;
}
.theme-lobby .fullsteam-eyebrow { color: #8a7d62; }
.theme-lobby .fullsteam-body h2 { font-weight: 400; }
.theme-lobby .fullsteam-pillars { border-top-color: #d9d4cb; }
.theme-lobby .fullsteam-pillar-key { color: #8a7d62; }
.theme-lobby .fullsteam-pillar-val { color: #1a1e26; font-weight: 500; }

/* ----- unlock (renamed: "the work") ----- */
.theme-lobby .industrial-unlock { background: #ebe6dd; border-top-color: #d9d4cb; }
.theme-lobby .section-eyebrow-kicker {
  background: #f4f1ec;
  border-color: #c9c2b2;
  color: #6b6147;
  border-radius: 0;
}
.theme-lobby .overlay-card {
  background: #f4f1ec;
  border: 1.5px solid #c9c2b2;
  border-radius: 0;
}
.theme-lobby .overlay-card:hover { border-color: #6b6147; }
.theme-lobby .overlay-card h3 { font-weight: 400; }
.theme-lobby .overlay-num { color: #8a7d62; }
.theme-lobby .overlay-tag {
  background: #ebe6dd;
  border-color: #c9c2b2;
  color: #6b6147;
  border-radius: 0;
}
.theme-lobby .overlay-card-icon {
  border-color: #6b6147;
  color: #6b6147;
  background: rgba(138,125,98,0.08);
  border-radius: 0;
}
.theme-lobby .overlay-points li::before { background: #8a7d62; }
.theme-lobby .overlay-points { border-top-color: #d9d4cb; }
.theme-lobby .overlay-card--feature { border: 2px solid #1a1e26; }
.theme-lobby .overlay-tag--feature {
  background: #1a1e26;
  color: #f4f1ec;
  border-color: #1a1e26;
}
.theme-lobby .overlay-footnote { border-top-color: #c9c2b2; }
.theme-lobby .overlay-footnote-mark { color: #6b6147; }

/* ----- featured case ----- */
.theme-lobby .industrial-featured-case { background: #f4f1ec; }
.theme-lobby .feat-case-card {
  background: #ebe6dd;
  border: 1.5px solid #c9c2b2;
  border-radius: 0;
}
.theme-lobby .feat-case-card:hover { border-color: #6b6147; }
.theme-lobby .feat-case-body h3 { font-weight: 400; }
.theme-lobby .feat-case-meta { border-top-color: #c9c2b2; border-bottom-color: #c9c2b2; }
.theme-lobby .feat-case-meta-key { color: #6b6147; }
.theme-lobby .feat-case-cta { color: #6b6147; }

/* =====================================================================
   THEME-CORPORATE page-scoped overrides
   ===================================================================== */
/* ----- foundation flow ----- */
.theme-corporate .hvac-foundation,
.theme-corporate .hvac-foundation--flow { background: #f1f5f9; }

.theme-corporate .flow-composition {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
}

.theme-corporate .flow-rail-stage-num { color: #226DB4; }

.theme-corporate .flow-node {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.theme-corporate .flow-node:hover { border-color: #226DB4; box-shadow: 0 8px 24px rgba(34,109,180,0.10); }
.theme-corporate .flow-node-head i,
.theme-corporate .flow-node-head svg.lucide { stroke: #226DB4; }
.theme-corporate .flow-node-name { font-weight: 700; }

.theme-corporate .flow-node--compact { background: #ffffff; border-color: #e2e8f0; }

.theme-corporate .flow-node--featured {
  background: #ffffff;
  border: 2px solid #226DB4;
  box-shadow: 0 18px 42px rgba(34,109,180,0.22), 0 4px 10px rgba(15,23,42,0.08);
}
.theme-corporate .flow-node--featured .flow-node-tag { color: #226DB4; }
.theme-corporate .flow-feature-row { border-top-color: #e2e8f0; }
.theme-corporate .flow-feature-icon {
  border-color: #226DB4;
  color: #226DB4;
  background: #e8f1fa;
  border-radius: 8px;
}
.theme-corporate .flow-feature-name { color: #1e293b; }
.theme-corporate .flow-feature-sub { color: #475569; }

.theme-corporate .flow-node--accent {
  background: #226DB4;
  border-color: #226DB4;
  box-shadow: 0 10px 28px rgba(34,109,180,0.32);
}
.theme-corporate .flow-node--accent .flow-node-name { color: #ffffff; }
.theme-corporate .flow-node--accent .flow-node-tag { color: rgba(255,255,255,0.75); }
.theme-corporate .flow-node--accent .flow-node-sub { color: rgba(255,255,255,0.92); }
.theme-corporate .flow-node--accent .flow-node-head i,
.theme-corporate .flow-node--accent .flow-node-head svg.lucide { stroke: #ffffff; }

.theme-corporate .flow-node--optional {
  background: #ffffff;
  border: 1.5px dashed #94a3b8;
}
.theme-corporate .flow-node--optional .flow-node-head i,
.theme-corporate .flow-node--optional .flow-node-head svg.lucide { stroke: #64748b; }

.theme-corporate .flow-connector { color: #226DB4; }
.theme-corporate .flow-connector path { stroke: #226DB4; opacity: 1; }
.theme-corporate .flow-branch-line { color: #64748b; }
.theme-corporate .flow-branch-line path { stroke: #64748b; }
.theme-corporate .flow-branch-tag { color: #475569; border-color: #94a3b8; }

.theme-corporate .flow-books-connector { color: #64748b; }
.theme-corporate .flow-books-connector path { stroke: #64748b; }
.theme-corporate .flow-satellite {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.theme-corporate .flow-satellite-icon {
  border-color: #226DB4;
  background: #e8f1fa;
  color: #226DB4;
  border-radius: 8px;
}
.theme-corporate .flow-satellite-name { color: #1e293b; }
.theme-corporate .flow-satellite-sub { color: #64748b; }

.theme-corporate .flow-slab-label { color: #64748b; }
.theme-corporate .flow-slab-bar { background: #cbd5e1; }

/* WorkDrive band — slate-700 (matches /hvac) */
.theme-corporate .flow-workdrive-band {
  background-color: #334155;
  border-radius: 0 0 11px 11px;
}
.theme-corporate .flow-workdrive-icon {
  border-color: rgba(255,255,255,0.35);
  background: rgba(34,109,180,0.30);
  color: #ffffff;
  border-radius: 8px;
}
.theme-corporate .flow-workdrive-icon i,
.theme-corporate .flow-workdrive-icon svg.lucide { stroke: #ffffff; }
.theme-corporate .flow-workdrive-name { color: #ffffff; font-weight: 700; }
.theme-corporate .flow-workdrive-kicker { color: rgba(255,255,255,0.7); }
.theme-corporate .flow-workdrive-tagline { color: rgba(255,255,255,0.9); }
.theme-corporate .flow-workdrive-icons i,
.theme-corporate .flow-workdrive-icons svg.lucide { stroke: rgba(255,255,255,0.8); }

.theme-corporate .flow-caption-mark { color: #226DB4; }
.theme-corporate .flow-caption em { color: #226DB4; font-style: normal; font-weight: 700; }

/* ----- Full Steam intro ----- */
.theme-corporate .fullsteam-intro {
  background: #ffffff;
  border-top-color: #e2e8f0;
  border-bottom-color: #e2e8f0;
}
.theme-corporate .fullsteam-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
}
.theme-corporate .fullsteam-logo-cell {
  background: #f8fafc;
  border-right-color: #e2e8f0;
}
.theme-corporate .fullsteam-eyebrow { color: #226DB4; }
.theme-corporate .fullsteam-body h2 { font-weight: 700; }
.theme-corporate .fullsteam-pillars { border-top-color: #e2e8f0; }
.theme-corporate .fullsteam-pillar-key { color: #226DB4; }
.theme-corporate .fullsteam-pillar-val { color: #1e293b; }

/* ----- unlock (renamed: "the work") ----- */
.theme-corporate .industrial-unlock { background: #f8fafc; border-top-color: #e2e8f0; }
.theme-corporate .section-eyebrow-kicker {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #475569;
}
.theme-corporate .overlay-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.theme-corporate .overlay-card:hover { border-color: #226DB4; box-shadow: 0 12px 28px rgba(34,109,180,0.12); }
.theme-corporate .overlay-num { color: #226DB4; }
.theme-corporate .overlay-tag {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}
.theme-corporate .overlay-card-icon {
  border-color: #226DB4;
  color: #226DB4;
  background: #e8f1fa;
  border-radius: 8px;
}
.theme-corporate .overlay-points li::before { background: #226DB4; }
.theme-corporate .overlay-points { border-top-color: #e2e8f0; }
.theme-corporate .overlay-card--feature { border: 2px solid #226DB4; }
.theme-corporate .overlay-tag--feature {
  background: #226DB4;
  color: #ffffff;
  border-color: #226DB4;
}
.theme-corporate .overlay-footnote { border-top-color: #e2e8f0; }
.theme-corporate .overlay-footnote-mark { color: #226DB4; }

/* ----- featured case ----- */
.theme-corporate .industrial-featured-case { background: #ffffff; }
.theme-corporate .feat-case-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
}
.theme-corporate .feat-case-card:hover { border-color: #226DB4; box-shadow: 0 12px 28px rgba(34,109,180,0.12); }
.theme-corporate .feat-case-meta { border-top-color: #e2e8f0; border-bottom-color: #e2e8f0; }
.theme-corporate .feat-case-meta-key { color: #64748b; }
.theme-corporate .feat-case-cta { color: #226DB4; }

/* =====================================================================
   FULL STEAM ZONE — replaces 03 + 04 with a unified Expert Sales Process
   wrapper. Modules inside (Deals → Quotes → Invoices → ASO) are peer-
   weight. The whole zone is attributed to Full Steam Consulting via the
   header partner mark and capability strip.
   ===================================================================== */

.flow-diagram--zoned {
  grid-template-columns:
    minmax(120px, 0.8fr) 36px
    minmax(150px, 1fr) 36px
    minmax(560px, 4fr);
  min-height: 240px;
}

.flow-rail-stage--fs .flow-rail-stage-num { color: var(--accent); }
.flow-rail-stage--fs .flow-rail-stage-label { color: var(--text-1); }

.flow-col--zone { display: flex; align-items: stretch; }

.fs-zone {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 2px solid var(--accent);
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
}

.fs-zone-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  background: var(--accent);
  color: var(--invert-text);
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.fs-zone-titleblock {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fs-zone-eyebrow {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--invert-text);
  line-height: 1.1;
}
.fs-zone-caps {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.fs-zone-caps .dot { color: rgba(255,255,255,0.5); }

.fs-zone-partner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,0.25);
}
.fs-zone-partner-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  max-width: 110px;
  line-height: 1.3;
  text-align: right;
}
.fs-zone-partner-logo {
  display: block;
  width: 56px;
  height: auto;
  background: #ffffff;
  padding: 6px 8px;
  border-radius: 4px;
}

.fs-zone-modules {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 0;
  padding: 22px 18px;
  flex: 1;
}

.fs-mod {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  height: 100%;
  justify-content: center;
}
.fs-mod-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fs-mod-head i, .fs-mod-head svg.lucide {
  width: 18px; height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
}
.fs-mod-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-1);
  line-height: 1.15;
}
.fs-mod-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}
.fs-mod-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  background: var(--surface-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-button);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}
.fs-mod-chip i, .fs-mod-chip svg.lucide {
  width: 11px; height: 11px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.fs-mod-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  color: var(--accent);
}
.fs-mod-arrow svg { width: 100%; height: 14px; overflow: visible; }
.fs-mod-arrow path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
}

/* ====================  SUBTLE WORKDRIVE FOOTNOTE  ==================== */
.flow-attachments {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-3);
}
.flow-attachments i, .flow-attachments svg.lucide {
  width: 14px; height: 14px;
  stroke: var(--text-3);
  flex-shrink: 0;
}
.flow-attachments strong {
  color: var(--text-2);
  font-weight: 700;
}

/* =====================================================================
   THEME-LOBBY — Full Steam zone + attachments
   ===================================================================== */
.theme-lobby .flow-rail-stage--fs .flow-rail-stage-num { color: #1a1e26; }
.theme-lobby .flow-rail-stage--fs .flow-rail-stage-label { color: #1a1e26; font-weight: 700; }

.theme-lobby .fs-zone {
  background: #f4f1ec;
  border: 2px solid #1a1e26;
  border-radius: 0;
  box-shadow: 0 10px 24px rgba(26,30,38,0.14), 0 2px 4px rgba(26,30,38,0.06);
}
.theme-lobby .fs-zone-head {
  background: #1a1e26;
  color: #f4f1ec;
  border-bottom-color: rgba(244,241,236,0.15);
}
.theme-lobby .fs-zone-eyebrow { color: #f4f1ec; font-weight: 500; }
.theme-lobby .fs-zone-caps { color: #b3a586; }
.theme-lobby .fs-zone-caps .dot { color: rgba(179,165,134,0.5); }
.theme-lobby .fs-zone-partner { border-left-color: rgba(244,241,236,0.22); }
.theme-lobby .fs-zone-partner-label { color: rgba(244,241,236,0.78); }
.theme-lobby .fs-zone-partner-logo {
  background: #f4f1ec;
  border-radius: 0;
}

.theme-lobby .fs-mod {
  background: #ebe6dd;
  border: 1px solid #c9c2b2;
  border-radius: 0;
}
.theme-lobby .fs-mod-head i,
.theme-lobby .fs-mod-head svg.lucide { stroke: #6b6147; }
.theme-lobby .fs-mod-name { font-weight: 500; color: #1a1e26; }
.theme-lobby .fs-mod-chip {
  background: #f4f1ec;
  border-color: #d9d4cb;
  color: #6b6147;
  border-radius: 0;
}
.theme-lobby .fs-mod-chip i, .theme-lobby .fs-mod-chip svg.lucide { stroke: #8a7d62; }

.theme-lobby .fs-mod-arrow { color: #1a1e26; }
.theme-lobby .fs-mod-arrow path { stroke: #1a1e26; }

.theme-lobby .flow-attachments { color: #6b6147; }
.theme-lobby .flow-attachments i, .theme-lobby .flow-attachments svg.lucide { stroke: #6b6147; }
.theme-lobby .flow-attachments strong { color: #1a1e26; }

/* =====================================================================
   THEME-CORPORATE — Full Steam zone + attachments
   ===================================================================== */
.theme-corporate .flow-rail-stage--fs .flow-rail-stage-num { color: #226DB4; font-weight: 800; }
.theme-corporate .flow-rail-stage--fs .flow-rail-stage-label { color: #1e293b; }

.theme-corporate .fs-zone {
  background: #ffffff;
  border: 2px solid #226DB4;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(34,109,180,0.18), 0 2px 6px rgba(15,23,42,0.06);
}
.theme-corporate .fs-zone-head {
  background: #226DB4;
  color: #ffffff;
  border-bottom-color: rgba(0,0,0,0.10);
}
.theme-corporate .fs-zone-eyebrow { color: #ffffff; font-weight: 700; }
.theme-corporate .fs-zone-caps { color: rgba(255,255,255,0.9); }
.theme-corporate .fs-zone-partner { border-left-color: rgba(255,255,255,0.30); }
.theme-corporate .fs-zone-partner-label { color: rgba(255,255,255,0.85); }
.theme-corporate .fs-zone-partner-logo {
  background: #ffffff;
  border-radius: 6px;
}

.theme-corporate .fs-mod {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.theme-corporate .fs-mod-head i,
.theme-corporate .fs-mod-head svg.lucide { stroke: #226DB4; }
.theme-corporate .fs-mod-name { font-weight: 700; color: #1e293b; }
.theme-corporate .fs-mod-chip {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #475569;
}
.theme-corporate .fs-mod-chip i, .theme-corporate .fs-mod-chip svg.lucide { stroke: #226DB4; }

.theme-corporate .fs-mod-arrow { color: #226DB4; }
.theme-corporate .fs-mod-arrow path { stroke: #226DB4; }

.theme-corporate .flow-attachments { color: #64748b; }
.theme-corporate .flow-attachments i, .theme-corporate .flow-attachments svg.lucide { stroke: #64748b; }
.theme-corporate .flow-attachments strong { color: #1e293b; }

/* ============================================================
   FIX — CTA-band secondary button on Corporate theme
   theme-corporate.css gives .btn-secondary a white background;
   on the dark .cta-band that produces a white-on-white invisible
   button. Restore transparent bg so the inv-styled white text +
   thin border read against the blue CTA band.
   ============================================================ */
.theme-corporate .cta-band .btn-secondary { background: transparent; }
.theme-corporate .cta-band .btn-secondary.inv:hover { background: rgba(255,255,255,0.1); }
