/* =============================================================
   Partners section — signature components
   Loaded after site.css on partners/*.html. New classes only;
   all colours/type/spacing come from tokens.css / site.css.
   ============================================================= */

/* ── Heading grammar (violet accent word) + centred lead ── */
.section-lead h2 em { font-style: normal; color: var(--bud-electric-2); }
.section-lead.sec-center { margin-left: auto; margin-right: auto; text-align: center; max-width: 740px; }
.section-lead.sec-center .section-eyebrow { justify-content: center; }
.caption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; color: var(--fg3); }

/* ── Signature: "The Math" before/after comparison table ── */
.math { border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); }
.math-row { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; align-items: stretch; border-bottom: 1px solid var(--border); }
.math-row:last-child { border-bottom: 0; }
.math-row.head .mc { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.math .mc { padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.math .mc.metric { color: var(--fg1); font-weight: var(--fw-semibold); font-size: 14px; background: rgba(255,255,255,.02); border-right: 1px solid var(--border); }
.math .mc.old { color: var(--fg3); font-size: 14px; border-right: 1px solid var(--border); }
.math .mc.old .mv { color: var(--fg2); font-weight: var(--fw-medium); }
.math .mc.bud { background: linear-gradient(90deg, rgba(140,51,239,.12), rgba(140,51,239,.03)); }
.math .mc.bud .mv { color: var(--fg1); font-weight: var(--fw-bold); font-size: 15px; letter-spacing: -.01em; }
.math .mc.bud .delta { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--bud-electric-2); text-transform: uppercase; }
.math-row.head .mc.bud { color: var(--bud-electric-2); }
.math-row.head .mc.metric, .math-row.head .mc.old { color: var(--fg3); }
@media (max-width: 640px) {
  .math-row, .math-row.head { grid-template-columns: 1fr; }
  .math-row.head { display: none; }
  .math .mc { border-right: 0 !important; padding: 12px 16px; }
  .math .mc.metric { border-bottom: 0; padding-bottom: 4px; }
  .math .mc.old::before, .math .mc.bud::before { font-size: 11px; }
  .math .mc.old::before { color: var(--fg3); }
  .math .mc.bud::before { color: var(--bud-electric-2); font-weight: 700; }
  /* per-page column labels */
  .math.m-csp .mc.old::before { content: "Bare-metal CSP — "; }
  .math.m-csp .mc.bud::before { content: "AI-first CSP — "; }
  .math.m-oem .mc.old::before { content: "Traditional OEM — "; }
  .math.m-oem .mc.bud::before { content: "AI-native OEM — "; }
  .math.m-si  .mc.old::before { content: "Project shop — "; }
  .math.m-si  .mc.bud::before { content: "AI practice — "; }
}

/* ── Signature: Before/After drag-slider ── */
.ba { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-3); user-select: none; touch-action: pan-y; min-height: 340px; }
.ba-pane { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px 44px; }
.ba-after { position: absolute; inset: 0; background: linear-gradient(135deg, #1A0F3A, #0D0820); }
.ba-before { position: absolute; top: 0; left: 0; height: 100%; width: 100%; background: var(--bud-midnight); border-right: 2px solid var(--accent); }
.ba-clip { position: absolute; top: 0; left: 0; height: 100%; width: 50%; overflow: hidden; will-change: width; }
.ba-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.ba-before .ba-tag { color: var(--fg3); }
.ba-after .ba-tag { color: var(--bud-electric-2); }
.ba h3 { font-size: 26px; letter-spacing: -.02em; margin: 0; }
.ba-before h3 { color: var(--fg2); }
.ba-after h3 { color: var(--fg1); }
.ba-list { display: flex; flex-direction: column; gap: 9px; margin: 0; }
.ba-li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.45; }
.ba-before .ba-li { color: var(--fg3); }
.ba-after .ba-li { color: var(--fg2); }
.ba-li i { width: 15px; height: 15px; margin-top: 2px; }
.ba-before .ba-li i { color: var(--bud-alert); }
.ba-after .ba-li i { color: var(--bud-success); }
.ba-handle { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); box-shadow: 0 0 14px var(--accent); z-index: 5; transform: translateX(-1px); cursor: ew-resize; }
.ba-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 999px; background: var(--accent); box-shadow: var(--shadow-glow); display: flex; align-items: center; justify-content: center; color: #fff; }
.ba-knob i { width: 18px; height: 18px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 6; }
.ba-range:focus-visible + .ba-handle { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }
@media (max-width: 640px) {
  .ba { min-height: 0; }
  .ba-clip, .ba-handle, .ba-range { display: none; }
  .ba-after, .ba-pane { position: static; }
  .ba-before { position: static; width: 100% !important; border-right: 0; border-bottom: 1px solid var(--border); }
}

/* ── Signature: numbered step ladder (3 steps; SI forces 4 via inline grid) ── */
.ladder3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rung3 { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color var(--duration-md), transform var(--duration-md); }
.rung3:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.rung3 .rn { width: 34px; height: 34px; border-radius: 999px; background: var(--accent-muted); border: 1px solid var(--border-strong); color: var(--bud-electric-2); font-family: var(--font-mono); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.rung3 .rd { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); }
.rung3 h3 { font-size: 18px; margin: 0; }
.rung3 p { font-size: 13px; color: var(--fg2); margin: 0; line-height: 1.55; }
.rung3:not(:last-child)::after { content: ""; position: absolute; top: 43px; right: -9px; width: 18px; height: 2px; background: linear-gradient(90deg, var(--border-strong), transparent); z-index: 2; }
@media (max-width: 860px) { .ladder3 { grid-template-columns: 1fr !important; } .rung3:not(:last-child)::after { display: none; } }

/* ── SI centerpiece: Land → Expand → Standardize motion ── */
.motion { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mstage { position: relative; background: linear-gradient(180deg, rgba(140,51,239,.12), rgba(140,51,239,.02)); border: 1px solid var(--border-strong); border-radius: var(--radius-2xl); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; transition: transform var(--duration-md); }
.mstage:hover { transform: translateY(-3px); }
.mstage .ms-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bud-electric-2); font-weight: 700; }
.mstage h3 { font-size: 26px; letter-spacing: -.02em; margin: 0; }
.mstage p { font-size: 13.5px; color: var(--fg2); margin: 0; line-height: 1.55; }
.mstage .ms-out { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--bud-electric-2); display: flex; align-items: center; gap: 8px; }
.mstage .ms-out i { width: 14px; height: 14px; }
.motion .mstage:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -10px; width: 20px; height: 2px; background: var(--bud-electric-2); z-index: 3; }
@media (max-width: 860px) { .motion { grid-template-columns: 1fr; } .motion .mstage:not(:last-child)::after { display: none; } }

/* ── Demand pull-quotes ── */
.demands { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.demand { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 16px 18px; font-size: 15px; color: var(--fg1); font-style: italic; line-height: 1.45; }

/* ── OEM "AI in a Box" assembly cells ── */
.box-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; border: 1px solid var(--border-strong); border-radius: var(--radius-xl); overflow: hidden; background: var(--border); }
.box-cell { background: var(--surface); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.box-cell .icon-badge { width: 38px; height: 38px; }
.box-cell .bx-n { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg3); }
.box-cell h3 { font-size: 16px; margin: 0; }
.box-cell p { font-size: 13px; color: var(--fg2); margin: 0; line-height: 1.5; }
@media (max-width: 860px) { .box-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .box-grid { grid-template-columns: 1fr; } }

/* ── SI objection strip ── */
.obj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.obj { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.obj .q { font-size: 14px; color: var(--fg3); font-style: italic; }
.obj .a { font-size: 14px; color: var(--fg1); display: flex; gap: 8px; align-items: start; line-height: 1.45; }
.obj .a i { color: var(--bud-success); width: 16px; height: 16px; margin-top: 2px; flex: none; }
@media (max-width: 640px) { .obj-grid { grid-template-columns: 1fr; } }

/* ── Tabbed showcase stage (max-width wrapper for .sc-* panels) ── */
.sc-stage { max-width: 1200px; margin: 0 auto; }

/* =============================================================
   VALUE LADDER (.vladder) — priced tier ladder with ascending
   stagger (--step × 16px) and escalating violet tint. Built for
   /partners/csp.html; shared here per the CSP handoff promotion
   note (design-guide §05 pattern). The terminal rung's red is the
   deck's terminal red, overridable via --vl-terminal.
   Tint escalation and the terminal border survive every breakpoint.
   ============================================================= */
.vladder-rail { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.vladder-rail .vlr-title { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bud-electric-2); }
.vladder-rail .vlr-climb { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bud-footer-bar); }
.vladder-rail .vlr-climb b { color: var(--bud-electric-2); font-weight: 800; }
.vladder { display: flex; flex-direction: column; gap: 8px; --vl-terminal: #f87171; }
.vladder-rung { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 18px; margin-left: calc(var(--step, 0) * 16px); border: 1px solid var(--border); border-radius: 8px; padding: 18px 22px; }
.vladder-rung .vl-chip { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--bud-electric-2); background: rgba(140,51,239,.16); border: 1px solid var(--border-strong); border-radius: 4px; padding: 6px 0; text-align: center; }
.vladder-rung .vl-who { display: flex; flex-direction: column; min-width: 0; }
.vladder-rung .vl-name { font-size: 18px; font-weight: var(--fw-bold); color: var(--fg1); line-height: 1.2; }
.vladder-rung .vl-sub { font-size: 13px; color: var(--fg2); margin-top: 3px; }
.vladder-rung .vl-metrics { display: flex; gap: 30px; justify-content: flex-end; }
.vladder-rung .vl-m { display: flex; flex-direction: column; align-items: flex-end; }
.vladder-rung .vl-v { font-size: 18px; font-weight: var(--fw-bold); color: var(--fg1); white-space: nowrap; }
.vladder-rung .vl-k { font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bud-footer-bar); margin-top: 5px; }
.vladder-rung .vl-v.margin { color: var(--bud-electric-2); }
.vladder-rung .vl-v.churn { color: var(--fg2); }
/* tier escalation */
.vladder-rung.vl-t2 { background: rgba(140,51,239,.06); }
.vladder-rung.vl-t3 { background: rgba(140,51,239,.12); border-color: var(--border-strong); }
.vladder-rung.vl-t4 { background: rgba(140,51,239,.18); border-color: var(--border-strong); }
.vladder-rung.vl-t5 { background: rgba(140,51,239,.30); border-color: rgba(183,133,244,.55); }
.vladder-rung.vl-t5 .vl-chip { color: var(--bud-electric-3); background: rgba(140,51,239,.20); border-color: rgba(183,133,244,.40); }
.vladder-rung.vl-t5 .vl-v.margin { color: var(--bud-electric-3); }
.vladder-rung.vl-t5 .vl-v.churn, .vladder-rung.vl-t4 .vl-v.churn { color: var(--bud-green); }
/* terminal rung — the emotional hinge; survives every breakpoint */
.vladder-rung.vl-t1 { background: var(--surface); border-left: 3px solid var(--vl-terminal); }
.vladder-rung.vl-t1 .vl-chip { color: var(--vl-terminal); background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.32); }
.vladder-rung.vl-t1 .vl-sub { color: var(--vl-terminal); }
.vladder-rung.vl-t1 .vl-v.margin, .vladder-rung.vl-t1 .vl-v.churn { color: var(--vl-terminal); }
/* side stat card */
.vl-stat { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; padding: 18px 20px; }
.vl-stat .vs-v { font-size: 26px; font-weight: var(--fw-bold); color: var(--bud-electric-2); letter-spacing: -.02em; line-height: 1; }
.vl-stat .vs-c { font-size: 14px; color: var(--fg2); margin-top: 9px; line-height: 1.45; }
@media (max-width: 1180px) {
  .vladder-rung { margin-left: 0; grid-template-columns: 56px 1fr; row-gap: 12px; }
  .vladder-rung .vl-metrics { grid-column: 1 / -1; justify-content: flex-start; gap: 26px; }
  .vladder-rung .vl-m.vl-churn { display: none; }
}
@media (max-width: 900px) {
  .vladder-rung { grid-template-columns: 44px 1fr; row-gap: 10px; }
}
