/* ════════════════════════════════════════════════════════════════════
   VEXLOTEX — BUSINESS (b2b.html) · Workforce Intelligence
   Light theme · dark moments: phase model + closing CTA
   Requires css/shared.css
   ════════════════════════════════════════════════════════════════════ */

/* ── Hero (bold two-column) ── */
.b2b-hero {
  padding: var(--hero-pad-top) 0 var(--sp-8);
  position: relative;
}
.b2b-hero .t-h1 { margin: var(--sp-2) 0 var(--sp-3); max-width: 18ch; }
.b2b-hero .t-lead { max-width: 46ch; }
.b2b-hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-4) 0 0; }
.b2b-hero .fc-a { left: -4px; bottom: 8%; }
.b2b-hero .fc-b { right: -6px; bottom: 32%; }
@media (max-width: 960px) {
  .b2b-hero .fc-a { left: 0; bottom: 4%; }
  .b2b-hero .fc-b { right: 0; bottom: 24%; }
}

/* ── Three-layer problem ── */
.layer-card { display: grid; gap: var(--sp-1); }
.layer-card .layer-idx {
  font-family: var(--font-mono); font-size: var(--fs-tiny);
  color: var(--ember-ink); letter-spacing: 0.12em;
}
.layer-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.layer-card p { color: var(--muted); font-size: var(--fs-small); }

/* ── Phase model (dark moment) — shared .phase-* pattern lives in shared.css ── */

/* ── Service accordion — category content ── */
.svc-kicker { font-style: italic; color: var(--muted); font-size: var(--fs-small); margin-bottom: var(--sp-2); max-width: 68ch; }
.svc-prso { display: grid; gap: 10px; margin-bottom: var(--sp-3); }
.svc-prso > div { display: grid; grid-template-columns: 92px 1fr; gap: var(--sp-2); font-size: var(--fs-small); }
.svc-prso dt {
  font-family: var(--font-mono); font-size: var(--fs-tiny);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember-ink);
  padding-top: 2px;
}
.svc-prso dd { color: var(--muted); }
@media (max-width: 560px) { .svc-prso > div { grid-template-columns: 1fr; gap: 2px; } }
.svc-note { font-size: var(--fs-tiny); color: var(--faint); margin-top: var(--sp-1); }
.svc-transition {
  font-style: italic; font-size: var(--fs-small);
  max-width: 62ch; padding-block: var(--sp-4);
  border-bottom: 1px dotted var(--border-strong);
}

/* ── Continuous assurance cadence ── */
.cadence-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
@media (max-width: 960px) { .cadence-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cadence-list { grid-template-columns: 1fr; } }
.cadence-item {
  border: 1px solid var(--border); border-radius: var(--radius-card);
  background: var(--surface); padding: var(--sp-3);
  display: grid; gap: 6px;
}
.cadence-item .cad-cycle {
  font-family: var(--font-mono); font-size: var(--fs-tiny);
  color: var(--ember-ink); letter-spacing: 0.08em;
}
.cadence-item h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.cadence-item p { color: var(--muted); font-size: var(--fs-small); }

/* ── Industry packages ── */
.pkg-card { display: grid; gap: var(--sp-1); text-decoration: none; }
.pkg-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.pkg-card .pkg-stack { font-size: var(--fs-small); color: var(--muted); }
.pkg-card .pkg-risk {
  font-size: var(--fs-tiny); color: var(--ember-ink);
  border-top: 1px solid var(--border); padding-top: var(--sp-1); margin-top: var(--sp-1);
}
.pkg-card .pkg-link { font-size: var(--fs-small); font-weight: 500; color: var(--ember-ink); }

/* ── Industry cards with contextual background photography ── */
.pkg-card--photo {
  position: relative;
  min-height: 220px;
  justify-content: flex-end;
  padding: var(--sp-3);
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  isolation: isolate;
}
.pkg-card--photo::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  /* Measured 2026-07-26: the previous ramp (0.12 -> 0.55 -> 0.88) was lightest at
     the TOP, which is exactly where the h3 sits -- white headings came out at
     1.82:1 to 2.48:1 against the brightest pixel behind them, failing WCAG AA
     (4.5:1; the 1.1rem h3 is below the 18.66px bold "large text" threshold, so
     3:1 does not apply). 7 of the 8 cards failed. This ramp starts dark instead
     and lifts the worst case to 6.19:1 while keeping the photograph readable.
     axe does not catch this -- it skips contrast on background-image elements. */
  background: linear-gradient(180deg, rgba(15,13,11,0.62) 0%, rgba(15,13,11,0.72) 55%, rgba(15,13,11,0.90) 100%);
}
.pkg-card--photo h3 { color: #fff; }
.pkg-card--photo .pkg-stack { color: rgba(255,255,255,0.82); }
.pkg-card--photo .pkg-risk { color: #fff; border-top-color: rgba(255,255,255,0.3); }
.pkg-card--photo .gloss { border-bottom-color: rgba(255,255,255,0.5); }
.pkg-card--photo .gloss:hover, .pkg-card--photo .gloss:focus-visible { color: var(--m-ember); border-bottom-color: var(--m-ember); }
.pkg-card--photo .pkg-link { color: #fff; }

/* ── Strategic intervention ── */
.strat-card { display: grid; gap: var(--sp-1); }
.strat-card svg { stroke: var(--ember); margin-bottom: var(--sp-1); }
.strat-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.strat-card p { color: var(--muted); font-size: var(--fs-small); }

/* ── Proof / case evidence ── */
.case-card {
  border-left: 3px solid var(--ember);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: var(--sp-4);
  align-items: center;
}
@media (max-width: 860px) { .case-card { grid-template-columns: 1fr; } }
.case-figure { margin: 0; }
.case-figure img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-card);
}
.case-card .case-amount {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ember-ink);
  letter-spacing: -0.02em;
}
.case-card .case-name { font-family: var(--font-display); font-weight: 700; margin-top: var(--sp-1); }
.case-card p { color: var(--muted); font-size: var(--fs-small); margin-top: var(--sp-1); }
.case-card .case-cite { font-size: var(--fs-tiny); color: var(--muted); margin-top: var(--sp-2); }

/* ── Quote note ── */
.quote-note {
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--sp-4);
  max-width: var(--container-narrow);
}
.quote-note h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: var(--sp-1); }
.quote-note p { color: var(--muted); font-size: var(--fs-small); }

/* ════ v10 — premium light layer ════ */

/* Platform 2-col: copy left, dark dashboard object right */
.platform-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-8); align-items: center;
}
.platform-grid .section-head { margin-bottom: var(--sp-4); }
@media (max-width: 960px) { .platform-grid { grid-template-columns: 1fr; } }

/* Chip grid label */
.chip-label {
  font-size: var(--fs-tiny); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint); margin-top: var(--sp-3);
}
.chip-label strong { font-weight: 500; color: var(--faint); }

/* Ghost word host */
.sec-ghost-host .sec-ghost { top: 8%; left: -4%; }

/* hscroll heading breathing room — clears the pinned rail (76px + pill) */
.hscroll-sticky > .container { padding-top: 140px; }
@media (min-width: 641px) {
  .hscroll-track { padding-block: var(--sp-4) var(--sp-8); }
}
@media (max-width: 960px) {
  .hscroll-sticky > .container { padding-top: var(--sp-8); }
  .hscroll-track { padding-inline: var(--sp-4); }
}
