/* =====================================================================
   home.css — page-scoped styles for /home only.
   base.css and theme-*.css provide the design system; this file adds
   the Build/Engage "The practice" section primitive (was inline grid).
   ===================================================================== */

/* ============================================================
   THE PRACTICE — Build / Engage split
   Two columns separated by a typographic spine.
   "What we build" (3 capabilities) | "How we engage" (3 modes)
   ============================================================ */

.practice-be { padding: 56px 0 64px; }

.be-grid {
  display: grid;
  grid-template-columns: 1fr 86px 1fr;
  gap: 0;
  align-items: stretch;
}

.be-col {
  display: flex;
  flex-direction: column;
  padding: 8px 56px 8px 0;
}
.be-col--engage { padding: 8px 0 8px 56px; }

.be-col-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 14px;
}
.be-col-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--eyebrow-color);
  padding-top: 18px;
  border-top: 1px solid var(--eyebrow-color);
  min-width: 32px;
}
.be-col-titles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.be-col-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.be-col-title {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: var(--display-tracking);
  font-weight: var(--section-h-weight);
  color: var(--text-1);
  margin: 0;
}
.be-col-lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 460px;
  margin: 0 0 38px 54px;
}

/* the spine */
.be-spine {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
}
.be-spine-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--eyebrow-line-color) 6%,
    var(--eyebrow-line-color) 94%,
    transparent 100%);
  opacity: 0.6;
}
.be-spine-tick {
  position: relative;
  background: var(--services-bg);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.be-spine-tick--top { margin-top: 8px; }
.be-spine-tick--mid { margin-top: auto; margin-bottom: auto; }
.be-spine-tick--bot { margin-bottom: 20px; }

.be-spine-tick-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--eyebrow-color);
  padding: 24px 0;
}
.be-spine-tick-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 44px;
  color: var(--eyebrow-color);
  line-height: 1;
  padding: 18px 16px;
}

/* stacked items */
.be-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-left: 54px;
}

.be-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--card-border);
  align-items: start;
}
.be-item:last-child { border-bottom: 1px solid var(--card-border); }

.be-item-marker {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--eyebrow-color);
  color: var(--eyebrow-color);
  margin-top: 2px;
}
.be-item-marker svg { width: 22px; height: 22px; stroke: currentColor; }

.be-item-body h4 {
  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: 0 0 8px;
}
.be-item-body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
}

/* SEWP item: proprietary callout */
.be-item-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eyebrow-color);
  border: 1px solid var(--eyebrow-color);
  padding: 4px 10px;
  margin-bottom: 12px;
}

/* engagement phase pips */
.be-phase-pip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  align-self: start;
  padding-top: 6px;
  position: relative;
}
.be-phase-pip::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--eyebrow-line-color);
  margin-top: 10px;
  opacity: 0.7;
}

.be-item--phase {
  grid-template-columns: 100px 1fr;
}

/* ============================================================
   THEME OVERRIDES — LOBBY
   ============================================================ */
.theme-lobby .practice-be { background: var(--services-bg); }
.theme-lobby .be-spine-tick { background: var(--services-bg); }
.theme-lobby .be-col-title { font-weight: 300; }
.theme-lobby .be-item-body h4 { font-weight: 400; }
.theme-lobby .be-item--proprietary {
  background: var(--bg-dark);
  color: var(--invert-text);
  padding: 26px 28px;
  border-top: none;
  margin-top: 14px;
}
.theme-lobby .be-item--proprietary + * { border-top: 1px solid var(--card-border); }
.theme-lobby .be-item--proprietary .be-item-body h4 { color: var(--invert-text); }
.theme-lobby .be-item--proprietary .be-item-body p { color: var(--invert-text-2); }
.theme-lobby .be-item--proprietary .be-item-marker {
  border-color: #b3a586; color: #b3a586;
}
.theme-lobby .be-item--proprietary .be-item-tag {
  border-color: #b3a586; color: #b3a586;
}
.theme-lobby .be-item--proprietary em { color: #b3a586; }

/* ============================================================
   THEME OVERRIDES — CORPORATE
   ============================================================ */
.theme-corporate .practice-be { background: var(--services-bg); }
.theme-corporate .be-spine-tick { background: var(--services-bg); }
.theme-corporate .be-col-title { font-weight: 700; }
.theme-corporate .be-col-title em { color: var(--accent); font-style: normal; font-weight: 800; }
.theme-corporate .be-item-body h4 { font-weight: 700; font-size: 20px; }
.theme-corporate .be-item-marker {
  border-radius: 10px;
  background: var(--accent-l);
  border: 1px solid var(--accent-l);
  color: var(--accent);
}
.theme-corporate .be-item-tag {
  background: var(--accent-l);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 4px 10px;
}
.theme-corporate .be-item--proprietary {
  background: var(--accent);
  border-radius: 12px;
  padding: 28px;
  border-top: none;
  color: var(--invert-text);
  margin: 12px 0;
  box-shadow: 0 6px 20px rgba(34,109,180,0.20);
}
.theme-corporate .be-item--proprietary + * { border-top: 1px solid var(--card-border); }
.theme-corporate .be-item--proprietary .be-item-body h4 { color: #ffffff; }
.theme-corporate .be-item--proprietary .be-item-body p { color: rgba(255,255,255,0.92); }
.theme-corporate .be-item--proprietary .be-item-marker {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.18);
  color: #ffffff;
}
.theme-corporate .be-item--proprietary .be-item-tag {
  background: rgba(255,255,255,0.22);
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
}
.theme-corporate .be-item--proprietary em { color: #ffffff; font-style: normal; font-weight: 800; }
.theme-corporate .be-spine-line {
  background: linear-gradient(180deg, transparent 0%, var(--accent) 8%, var(--accent) 92%, transparent 100%);
  opacity: 0.4;
}
.theme-corporate .be-spine-tick-label { color: var(--accent); }
.theme-corporate .be-spine-tick-mark { color: var(--accent); font-style: normal; font-weight: 800; }
.theme-corporate .be-col-num { color: var(--accent); border-top-color: var(--accent); }

/* ============================================================
   FIX — CTA-band secondary button on Corporate theme
   theme-corporate.css gives .btn-secondary a white background
   (for light-surface use). 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. Lobby is unaffected because its .btn-secondary base
   is transparent already.
   ============================================================ */
.theme-corporate .cta-band .btn-secondary { background: transparent; }
.theme-corporate .cta-band .btn-secondary.inv:hover { background: rgba(255,255,255,0.1); }
