/* wesbecher.llc · ACV motion guide
 *
 * Shared ladder and break-even instruments for /playbook/#acv and
 * /pipeline/#acv. Tokens are the Electric Studio --wl-* set. No drop
 * shadows, no second accent, no dark reskin. No em dashes in this file.
 */

.acv-guide {
  font-family: var(--wl-font);
  color: var(--wl-ink);
}

.acv-guide > * + * { margin-top: var(--wl-s4); }

.acv-kicker {
  margin: 0 0 var(--wl-s2);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--wl-muted);
}

.acv-note,
.acv-guide .acv-note {
  max-width: var(--wl-measure);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--wl-muted);
}

.acv-cross {
  max-width: var(--wl-measure);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}
.acv-guide a:not(.hl) { color: var(--wl-blue-dark); }
.acv-guide a:not(.hl):hover { color: var(--wl-ink); }
.acv-guide a:not(.hl):focus-visible {
  outline: 2px solid var(--wl-blue);
  outline-offset: 2px;
}

/* ---------- four-tier ladder ---------- */

.acv-ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: var(--wl-s4);
  max-width: none;
}

.acv-tier {
  background: var(--wl-tint-2);
  border-radius: var(--wl-radius-card);
  padding: var(--wl-s4);
  box-shadow: none;
  min-width: 0;
}

.acv-tier-band {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--wl-ink);
}

.acv-tier-name {
  margin: 0 0 var(--wl-s3);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--wl-muted);
}

.acv-tier dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.acv-tier dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wl-muted);
}

.acv-tier dd {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--wl-ink);
}

/* ---------- break-even range chart ---------- */

.acv-be {
  background: var(--wl-tint-2);
  border-radius: var(--wl-radius-card);
  padding: var(--wl-s4);
  box-shadow: none;
  max-width: none;
}

.acv-be-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.acv-be-lead {
  margin: 0 0 var(--wl-s3);
  max-width: var(--wl-measure);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wl-muted);
}

.acv-be-plot {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.acv-be-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 220px;
  font-family: var(--wl-mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--wl-muted);
  text-align: right;
  line-height: 1;
  padding-top: 2px;
}

.acv-be-cols {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  height: 220px;
  border-bottom: 1px solid var(--wl-line);
  background-image:
    repeating-linear-gradient(
      to bottom,
      var(--wl-line) 0,
      var(--wl-line) 1px,
      transparent 1px,
      transparent 33.333%
    );
}

.acv-be-col {
  position: relative;
  min-width: 0;
  height: 100%;
}

.acv-be-max {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  background: var(--wl-tint);
  border-radius: 2px 2px 0 0;
}

.acv-be-band {
  position: absolute;
  left: 18%;
  right: 18%;
  background: var(--wl-blue);
  border-radius: 2px;
}

.acv-be-axis {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  margin-top: 8px;
  min-height: 2.6rem;
}

.acv-be-axis-spacer { min-width: 0; }

.acv-be-x {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.acv-be-x span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  color: var(--wl-ink);
}

.acv-be-x small {
  display: block;
  margin-top: 2px;
  font-family: var(--wl-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--wl-muted);
}

.acv-be-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--wl-s3);
  font-size: 0.875rem;
}

.acv-be-table th,
.acv-be-table td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--wl-line);
  vertical-align: top;
}

.acv-be-table thead th {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wl-muted);
  border-bottom: 1px solid var(--wl-ink);
}

.acv-be-table td.acv-num,
.acv-be-table th.acv-num {
  text-align: right;
  font-family: var(--wl-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.acv-be-table caption {
  caption-side: bottom;
  text-align: left;
  padding-top: 12px;
  font-size: 0.875rem;
  color: var(--wl-muted);
}

@media (max-width: 900px) {
  .acv-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .acv-ladder { grid-template-columns: minmax(0, 1fr); }
  .acv-tier { padding: var(--wl-s3); }
  .acv-be { padding: var(--wl-s3); }
  .acv-be-cols { gap: 6px; }
  .acv-be-x { gap: 6px; }
  .acv-be-band { left: 12%; right: 12%; }
  .acv-be-table th,
  .acv-be-table td { padding: 10px 8px 10px 0; }
}

#acv { scroll-margin-top: 4.5rem; }
