/* =====================================================================
   hvac.css — page-scoped extensions for /hvac.
   Foundation lives in base.css + theme-*.css (shared foundation, repo root).
   Sections: foundation flow (Variant B) · unlock cards · spec callout ·
             selected-work grid · contractor acknowledgement card.
   ===================================================================== */

/* ====================  HERO PROPORTIONS  ==================== */
/* Page-scoped hero photo aspect — base uses 5/4 across all pages; /hvac
   hero text is shorter than /home's, so 3/2 (shorter photo) balances
   the text block. */
@media (min-width: 921px) { body .hero-visual { aspect-ratio: 3 / 2; } }

/* ====================  FOUNDATION — process flow (Variant B)  ====================
   Treatment focus:
   - Diagram + WorkDrive band wrapped in ONE visible container (.flow-composition)
   - Composition has a unified background — modules clearly sit ON it
   - WorkDrive band IS the bottom edge of the composition (no gap)
   - Connector lines printed-circuit weight (2.5px) with arrowheads
   - Clear hierarchy ladder: compact < regular < featured (lifted shadow) < accent dark */

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

.flow-wrap { position: relative; }

/* THE UNIFIED COMPOSITION CONTAINER */
.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;
}

/* ----------  stage rail  ---------- */
.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);
}

/* ----------  diagram grid  ---------- */
.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; }

/* ----------  base node — clearer ladder via fills  ---------- */
.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 12px;
  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; }

/* Featured Deals — strong lift shadow above the slab beneath */
.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;
}

/* ----------  SVG connectors — printed-circuit weight  ---------- */
.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);
}

/* ----------  WorkDrive — IS the bottom of the composition (no gap)  ---------- */
.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;
}

/* ----------  caption  ---------- */
.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 — integration cards  ==================== */
.hvac-unlock {
  background: var(--cases-bg);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--line);
}

.unlock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-grid);
  margin-bottom: 36px;
}

.unlock-card {
  background: var(--surface-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 32px 32px 30px;
  position: relative;
}

.unlock-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.unlock-status {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-button);
  border: 1px solid;
}
.unlock-status--live { color: var(--accent); border-color: var(--accent); background: var(--accent-l); }
.unlock-status--dev { color: var(--text-3); border-color: var(--text-3); border-style: dashed; background: transparent; }

.unlock-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  color: var(--text-3);
}

.unlock-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: var(--display-tracking);
  font-weight: var(--section-h-weight);
  color: var(--text-1);
  margin-bottom: 22px;
}

.unlock-points {
  list-style: none;
  padding: 0; margin: 0;
}
.unlock-points li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  padding: 10px 0 10px 22px;
  position: relative;
  border-top: 1px solid var(--line);
}
.unlock-points li:first-child { border-top: none; padding-top: 4px; }
.unlock-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 19px;
  width: 10px; height: 1px;
  background: var(--accent);
}
.unlock-points li strong {
  color: var(--text-1);
  font-weight: 600;
}

.unlock-card--dev {
  border-style: dashed;
}
.unlock-card--dev h3 { color: var(--text-2); }

/* ====================  SPEC CALLOUT  ==================== */
.spec-callout {
  background: var(--bg-dark);
  color: var(--invert-text);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-radius: var(--radius-card);
}
.spec-callout-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--invert-text-2);
  padding-right: 22px;
  border-right: 1px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.spec-callout-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  flex: 1;
}
.spec-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--invert-text);
}
.spec-key {
  font-weight: 700;
  color: var(--invert-text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  min-width: 48px;
}
.spec-sep { color: rgba(255,255,255,0.35); }
.spec-val {
  color: var(--invert-text);
  font-weight: 500;
}

/* ====================  SELECTED WORK  ==================== */
.hvac-work {
  background: var(--services-bg);
  padding: var(--section-pad-y) 0;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-grid);
}
.work-card {
  background: var(--surface-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  position: relative;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.work-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.work-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}
.work-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: var(--display-tracking);
  font-weight: var(--section-h-weight);
  color: var(--text-1);
  margin-bottom: 12px;
}
.work-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  margin-bottom: 18px;
}
.work-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.work-stack-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-3);
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
}

/* ====================  CONTRACTOR ACKNOWLEDGEMENT  ==================== */
.hvac-contractor {
  background: var(--bg-1);
  padding: calc(var(--section-pad-y) * 0.55) 0;
  border-top: 1px solid var(--line);
}
.contractor-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: var(--surface-card);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 22px 30px;
}
.contractor-mark {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: var(--radius-card);
  color: var(--accent);
}
.contractor-mark i, .contractor-mark svg { width: 24px; height: 24px; stroke: currentColor; }
.contractor-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);
  margin-bottom: 4px;
}
.contractor-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: var(--display-tracking);
  font-weight: var(--section-h-weight);
  color: var(--text-1);
  margin-bottom: 6px;
}
.contractor-body p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 720px;
}
.contractor-cta {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

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

/* The unified slab — pale concrete inner surface */
.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; }

/* Regular modules — bright surface, stands out from slab */
.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; }

/* Compact 02 boxes — even paler tint */
.theme-lobby .flow-node--compact {
  background: #f8f5ef;
  border: 1px solid #d9d4cb;
}

/* Featured Deals — strongest border + heavy lift shadow */
.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 (in-process, not foreign ink) */
.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; }

/* ----- unlock cards ----- */
.theme-lobby .unlock-card {
  background: #f4f1ec;
  border: 1px solid #d9d4cb;
  border-radius: 0;
}
.theme-lobby .unlock-card--dev { border-style: dashed; border-color: #b3a586; }
.theme-lobby .unlock-status--live {
  color: #8a7d62;
  border-color: #8a7d62;
  background: rgba(138,125,98,0.10);
  border-radius: 0;
}
.theme-lobby .unlock-status--dev {
  color: #b3a586;
  border-color: #b3a586;
  background: transparent;
  border-radius: 0;
}
.theme-lobby .unlock-card h3 { font-weight: 400; }
.theme-lobby .unlock-card h3 em { color: #8a7d62; font-style: italic; font-weight: 500; }
.theme-lobby .unlock-points li::before { background: #8a7d62; }
.theme-lobby .unlock-points li { border-top-color: #d9d4cb; }

.theme-lobby .spec-callout {
  background: #1a1e26;
  border-radius: 0;
}
.theme-lobby .spec-callout-label { color: #b3a586; border-right-color: rgba(244,241,236,0.18); }
.theme-lobby .spec-key { color: #b3a586; }
.theme-lobby .spec-val { color: #f4f1ec; }

.theme-lobby .hvac-work { background: #ebe6dd; }
.theme-lobby .work-card {
  background: #f4f1ec;
  border: 1px solid #d9d4cb;
  border-radius: 0;
}
.theme-lobby .work-card:hover { border-color: #8a7d62; }
.theme-lobby .work-num { color: #8a7d62; }
.theme-lobby .work-card h3 { font-weight: 400; }
.theme-lobby .work-card h3 em { color: #8a7d62; }
.theme-lobby .work-stack { border-top-color: #d9d4cb; }
.theme-lobby .work-stack-tag {
  border-color: #d9d4cb;
  color: #6b6147;
  border-radius: 0;
}

.theme-lobby .hvac-contractor { background: #f4f1ec; border-top-color: #d9d4cb; }
.theme-lobby .contractor-card {
  background: #ebe6dd;
  border: 1px solid #d9d4cb;
  border-left: 3px solid #8a7d62;
  border-radius: 0;
}
.theme-lobby .contractor-mark {
  border-color: #8a7d62;
  border-radius: 0;
  color: #8a7d62;
}
.theme-lobby .contractor-eyebrow { color: #8a7d62; }
.theme-lobby .contractor-body h3 { font-weight: 400; }
.theme-lobby .contractor-cta { color: #8a7d62; }

/* =====================================================================
   THEME-CORPORATE page-scoped overrides
   ===================================================================== */
/* ----- foundation flow (Variant B) ----- */
.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 — DEEPER SLATE (in-process, not pure footer ink) */
.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; }

/* ----- unlock cards ----- */
.theme-corporate .unlock-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.theme-corporate .unlock-card--live { border-left: 3px solid #226DB4; }
.theme-corporate .unlock-card--dev { border-style: dashed; border-color: #94a3b8; }
.theme-corporate .unlock-status--live {
  color: #226DB4;
  border-color: #226DB4;
  background: #e8f1fa;
}
.theme-corporate .unlock-status--dev {
  color: #64748b;
  border-color: #94a3b8;
  background: #f8fafc;
  border-style: dashed;
}
.theme-corporate .unlock-points li::before { background: #226DB4; }

.theme-corporate .spec-callout {
  background: #0f172a;
  border-radius: 8px;
}
.theme-corporate .spec-callout-label { color: rgba(255,255,255,0.7); border-right-color: rgba(255,255,255,0.18); }
.theme-corporate .spec-key { color: rgba(255,255,255,0.65); }

.theme-corporate .hvac-work { background: #f8fafc; }
.theme-corporate .work-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.theme-corporate .work-card:hover { border-color: #226DB4; box-shadow: 0 8px 24px rgba(34,109,180,0.10); }
.theme-corporate .work-num { color: #226DB4; }
.theme-corporate .work-stack-tag {
  border-color: #e2e8f0;
  color: #64748b;
  background: #f8fafc;
}

.theme-corporate .hvac-contractor { background: #ffffff; }
.theme-corporate .contractor-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #226DB4;
  border-radius: 12px;
}
.theme-corporate .contractor-mark {
  border-color: #226DB4;
  border-radius: 8px;
  color: #226DB4;
}
.theme-corporate .contractor-eyebrow { color: #226DB4; }
.theme-corporate .contractor-cta { color: #226DB4; }

/* ============================================================
   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); }
