/* ============================================================================
   Case study — The Right Car, The Wrong Number
   Page-specific components layered over css/site.css. Same tokens, same
   motion grammar. Nothing here overrides the shared system.

   The first ~990 lines are the shared case-study kit, identical to the one the
   Ferrari 599 study uses (hero, exhibits, lightbox, ledger, lens switcher,
   comp marks and tooltip). Each study keeps its own copy rather than linking a
   sibling stylesheet, because vercel.json redirects
   /molly_report/case-study/:slug onto a trailing slash and would swallow a
   shared file sitting one level up. This study's own components — the value
   ladder, the disclosure panel, the forward-value fan — start at THIS STUDY
   near the bottom.
   ========================================================================== */

/* ---------- Nav ----------
   The nav is the marketing site's, shared verbatim; this page just marks its
   own entry as the current one. */
.nav-links a[aria-current] { color: var(--accent); background-size: 100% 1px; }
.mobile-menu a[aria-current]:not(.btn) { color: var(--accent); }

/* ---------- Hero ---------- */
.cs-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.cs-hero-media { position: absolute; inset: 0; }
.cs-hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.06);
  animation: heroDrift 36s ease-in-out infinite alternate;
  filter: saturate(.82) contrast(1.02);
}
.cs-hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(62% 58% at 50% 52%, rgba(13,12,10,.52), transparent 78%),
    linear-gradient(180deg,
      rgba(13,12,10,.96) 0%,
      rgba(13,12,10,.85) 8%,
      rgba(13,12,10,.55) 18%,
      rgba(13,12,10,.28) 30%,
      rgba(13,12,10,.34) 55%,
      rgba(13,12,10,.98) 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(13,12,10,.62) 100%);
}
.cs-hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px 24px 24px;
}
.cs-kicker { margin-bottom: 28px; }
.cs-hero-title {
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 7.6rem);
  line-height: .98;
  letter-spacing: -.02em;
  text-shadow: 0 2px 30px rgba(13, 12, 10, .45);
}
.cs-hero-title em { color: var(--accent); }
.cs-hero-foot { margin-top: 0; }

/* ---------- Shared prose / layout ---------- */
.cs-split {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(40px, 5vw, 84px);
  align-items: start;
}
.cs-split-rev { grid-template-columns: 1fr 1.08fr; }
/* Grid items default to min-width:auto, so one wide child (the adjustment
   ledger, whose cells hold "−$10,000 to −$20,000") can push a column past the
   container and give the whole page a horizontal scrollbar on a small phone. */
.cs-split > *, .cs-split-rev > *, .cs-cohort-grid > *, .cs-method-grid > * { min-width: 0; }
.cs-prose p {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0 0 1.5em;
}
.cs-prose p:last-child { margin-bottom: 0; }
.cs-prose strong { color: var(--ink); }
.cs-lede { max-width: 720px; }
.cs-center { text-align: center; }
.cs-center .eyebrow { margin-bottom: 0; }
.cs-fine {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-4);
  letter-spacing: .03em;
  line-height: 1.7;
  max-width: 560px;
  margin: 28px auto 0;
  text-align: center;
}

/* ---------- Exhibits (screenshot / video slots) ---------- */
.exhibit { margin: 0; position: relative; }
.exhibit-tag {
  position: absolute; top: -11px; left: 18px;
  z-index: 2;
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent);
  background: var(--paper);
  border: 1px solid var(--accent-dim);
  padding: 4px 12px;
}
.exhibit-media {
  position: relative;
  border: 1px solid var(--rule-2);
  background: var(--paper-3);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.exhibit-media img,
.exhibit-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-3x2 { aspect-ratio: 1800 / 1205; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.exhibit figcaption {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-4);
  letter-spacing: .04em;
  line-height: 1.6;
  margin-top: 14px;
}
.exhibit-sm figcaption { font-size: 11.5px; }
.exhibit figcaption strong { color: var(--ink-2); font-weight: 650; }

/* An exhibit image is hidden until it actually loads, so a slot with no file
   yet shows the styled placeholder instead of a broken-image icon. */
.exhibit-media img[data-exhibit] { opacity: 0; transition: opacity .5s var(--ease-out); }
.exhibit-media.is-loaded img[data-exhibit] { opacity: 1; }
.exhibit-media.is-loaded .exhibit-pending { display: none; }

/* a loaded exhibit is enlargeable */
.exhibit-media.is-loaded { cursor: zoom-in; }
.exhibit-media.is-loaded::after {
  content: "Click to enlarge";
  position: absolute; right: 0; bottom: 0;
  z-index: 2;
  font-family: var(--sans); font-size: 9.5px; font-weight: 650;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(13, 12, 10, .82);
  border-left: 1px solid var(--rule-2);
  border-top: 1px solid var(--rule-2);
  padding: 7px 12px;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
  pointer-events: none;
}
.exhibit-media.is-loaded:hover::after { opacity: 1; }
/* Touch has no hover, so the affordance would never appear and the verb would
   be wrong when it did. Show it, and say tap. */
@media (pointer: coarse) {
  .exhibit-media.is-loaded::after { content: "Tap to enlarge"; opacity: 1; font-size: 10.5px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 5vw, 56px);
  background: rgba(8, 7, 6, .96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .22s var(--ease-out);
  cursor: zoom-out;
}
.lightbox.is-on { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; gap: 14px;
  cursor: default;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 82vh;
  width: auto; height: auto;
  border: 1px solid var(--rule-2);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
}
.lightbox-figure figcaption {
  font-family: var(--sans); font-size: 12px; line-height: 1.6;
  color: var(--ink-3);
  letter-spacing: .04em;
  max-width: 78ch;
}
/* A listing screenshot scaled into a 390px-wide phone is not legible, and the
   lightbox itself cannot be pinch-zoomed. Hand the file to the platform's own
   image viewer, which can. Written by case.js on open; coarse pointers only. */
.lightbox-fullsize {
  display: none;
  align-self: start;
  font-family: var(--sans); font-size: 11px; font-weight: 650;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 13px 18px;
}
@media (pointer: coarse) {
  .lightbox-fullsize { display: block; }
}
.lightbox-close {
  position: absolute; top: clamp(12px, 2vw, 24px); right: clamp(12px, 2vw, 28px);
  width: 44px; height: 44px;
  font-size: 30px; line-height: 1;
  color: var(--ink-2);
  border: 1px solid var(--rule-2);
  transition: color .25s, border-color .25s;
}
.lightbox-close:hover { color: var(--accent); border-color: var(--accent-dim); }

/* the pending state: an intentional, styled empty frame */
.exhibit-pending {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  border: 1px dashed var(--rule-2);
  margin: 10px;
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(216, 180, 94, .025) 22px 44px),
    var(--paper-3);
}
.exhibit-pending-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-dim);
}
.exhibit-pending-note {
  font-family: var(--display);
  font-size: clamp(.95rem, 1.3vw, 1.15rem);
  font-style: italic;
  color: var(--ink-3);
  max-width: 30ch;
  text-align: center;
  padding: 0 16px;
}
.exhibit-play {
  width: 54px; height: 54px;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  position: relative;
  margin-bottom: 6px;
}
.exhibit-play::before {
  content: "";
  position: absolute; top: 50%; left: 53%;
  transform: translate(-50%, -50%);
  border-left: 14px solid var(--accent);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

/* secondary CTA under an exhibit: spans the exhibit's width */
.cs-exhibit-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 20px;
}

/* ---------- Cohort cards ---------- */
.cs-cohort-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 84px);
  align-items: start;
}
.cs-cohort-cards { display: grid; gap: 14px; }
.cohort-card {
  border: 1px solid var(--rule-2);
  background: var(--paper-3);
  padding: 24px 28px;
  position: relative;
}
.cohort-card-label {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 6px;
}
.cohort-card-count {
  font-family: var(--sans); font-size: 11.5px; font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink-4);
  margin: 0 0 12px;
}
.cohort-card-band {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin: 0;
}
.cohort-card-manual { border-left: 2px solid var(--ink-3); }
.cohort-card-f1 { border-left: 2px solid var(--rule-2); }
.cohort-card-ask { border-left: 2px solid var(--signal-red); }
.cohort-card-ask .cohort-card-band { color: var(--signal-red); }

/* chart legend: ring dot for the manual cohort, haloed dot for the anchor */
.dot-ring {
  background: transparent;
  border: 1.6px solid var(--ink);
  box-sizing: border-box;
}
.dot-halo {
  background: var(--ink-3);
  box-shadow: 0 0 0 3px rgba(216, 180, 94, .55);
  margin: 0 3px;
}
.comps-caption strong { color: var(--ink-2); font-weight: 650; }

/* ---------- Interactive comp marks + tooltip ---------- */
#two-cohorts .comps-panel { position: relative; }

.comps-chart .mark { cursor: pointer; outline: none; }
/* scale rather than animating the `r` attribute: CSS geometry properties are
   not safe across older Safari, transform-box/transform-origin are. */
.comps-chart .mark-dot {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .18s var(--ease-out), fill .18s var(--ease-out), stroke .18s var(--ease-out);
}
.comps-chart .mark:hover .mark-dot,
.comps-chart .mark:focus-visible .mark-dot {
  transform: scale(1.45);
  fill: var(--accent);
  stroke: var(--accent);
}
.comps-chart .mark:focus-visible .mark-hit {
  fill: rgba(216, 180, 94, .12);
  stroke: var(--accent);
  stroke-width: 1;
}
.comps-chart .mark-halo { animation: haloPulse 3.4s ease-in-out infinite; }
@keyframes haloPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

.ctip {
  position: fixed;
  z-index: 200; /* above the grain overlay (80) and the fixed nav (90) */
  width: max-content;
  max-width: min(290px, calc(100vw - 24px));
  background-color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px 15px;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-top: 2px solid var(--accent);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .16s var(--ease-out), transform .16s var(--ease-out);
}
.ctip.is-on { opacity: 1; transform: none; }
.ctip[hidden] { display: none; }
.ctip-cohort {
  font-family: var(--sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-4);
}
.ctip-flag {
  font-family: var(--sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.ctip-price {
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin: 2px 0 4px;
}
.ctip-car { font-family: var(--sans); font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.ctip-venue { font-family: var(--sans); font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.ctip-link {
  font-family: var(--sans); font-size: 10.5px; font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px; padding-top: 10px;
  border-top: 1px solid var(--rule);
}
/* the link needs a real tap target on touch; on a mouse the dot is the link
   and the cursor never reaches the tooltip, which sits above it with a gap */
@media (pointer: coarse) {
  /* the whole 44px is the target: this link is the only route from a dot to
     the lot record on touch */
  .ctip-link { padding: 16px 0 10px; }
}

/* ---------- The comp list (case.js builds it from the chart's own data) ----------
   The reliable way to reach a lot record on a phone, where the F1 dots overlap.
   One row per sale, each row a full-width 44px-plus tap target. */
.comps-list-wrap { margin-top: 22px; border-top: 1px solid var(--rule); }
.comps-list-summary {
  cursor: pointer;
  padding: 16px 0 15px;
  font-family: var(--sans); font-size: 11px; font-weight: 650;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
  list-style: none;
}
.comps-list-summary::-webkit-details-marker { display: none; }
.comps-list-summary::after {
  content: "+";
  float: right;
  font-size: 15px; line-height: .9; color: var(--accent);
}
.comps-list-wrap[open] .comps-list-summary::after { content: "\2013"; }
.comps-list-summary:hover { color: var(--ink-2); }
.comps-list { list-style: none; margin: 0 0 4px; padding: 0; }
.comps-list li { border-top: 1px solid var(--rule-2); }
.comps-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "price cohort" "car car" "venue venue";
  gap: 2px 14px;
  padding: 13px 0 14px;
  align-items: baseline;
}
.comps-list a:hover .cl-price { color: var(--accent); }
.cl-price {
  grid-area: price;
  font-family: var(--display); font-size: 1.12rem; line-height: 1.2;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.cl-cohort {
  grid-area: cohort;
  font-family: var(--sans); font-size: 10px; font-weight: 650;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  text-align: right;
}
.cl-car { grid-area: car; font-family: var(--sans); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.cl-venue { grid-area: venue; font-family: var(--sans); font-size: 12.5px; line-height: 1.5; color: var(--ink-4); }

/* chart internals specific to this page */
.comps-chart .row-label {
  font-family: var(--sans); font-size: 11px; font-weight: 650;
  fill: var(--ink-3); letter-spacing: .14em;
  /* On a phone the labels sit inside the plot, where they cross gridlines and
     the ask line. A stroke in the panel's own colour, painted under the glyphs,
     keeps them readable without a background rectangle. */
  paint-order: stroke fill;
  stroke: var(--paper-3);
  stroke-width: 4px;
  stroke-linejoin: round;
}
@media (min-width: 641px) {
  /* wide: the labels live in the left gutter, clear of everything */
  .comps-chart .row-label { stroke: none; }
}
.comps-chart .ask-line { stroke-dasharray: 4 5; }
.comps-chart .ask-label { font-family: var(--sans); font-size: 11.5px; font-weight: 650; fill: var(--signal-red); letter-spacing: .06em; }
.comps-chart .basis-label { font-family: var(--sans); font-size: 11px; fill: var(--accent-dim); letter-spacing: .06em; }
.comps-chart .prior-label { font-family: var(--sans); font-size: 11px; font-weight: 600; fill: var(--accent); letter-spacing: .04em; }

/* ---------- Spec panel (the contradiction) ---------- */
.spec-panel { margin: 0; position: relative; }
.spec-lines {
  border: 1px solid var(--rule-2);
  background: var(--paper-3);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 0;
}
.spec-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--rule);
}
.spec-line:last-child { border-bottom: none; }
.spec-key {
  font-family: var(--sans); font-size: 10.5px; font-weight: 650;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-4);
  flex: none;
}
.spec-val {
  font-family: var(--mono);
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  color: var(--ink);
  letter-spacing: .02em;
  text-align: right;
}
.spec-line-conflict .spec-val {
  color: var(--signal-amber);
  background: linear-gradient(var(--signal-amber), var(--signal-amber)) bottom left / 0% 1px no-repeat;
  transition: background-size 1.1s var(--ease-out) .5s;
  padding-bottom: 4px;
}
.spec-panel.in .spec-line-conflict .spec-val { background-size: 100% 1px; }
.spec-panel figcaption {
  font-family: var(--sans); font-size: 12px; color: var(--ink-4);
  letter-spacing: .04em; margin-top: 14px; line-height: 1.6;
}

/* ---------- Evidence grid ---------- */
.section-evidence { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
  margin-top: clamp(40px, 5vw, 64px);
}
.cs-quote { margin-top: clamp(64px, 8vw, 110px); }

/* ---------- Ledger ---------- */
.ledger-card {
  border: 1px solid var(--rule-2);
  background: var(--paper-3);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
  position: relative;
}
.ledger-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
}
.ledger-title {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 18px;
}
.ledger { width: 100%; border-collapse: collapse; }
.ledger tr { border-bottom: 1px solid var(--rule); }
.ledger tr:last-child { border-bottom: none; }
.ledger th, .ledger td {
  text-align: left;
  padding: 13px 0;
  font-weight: 400;
  vertical-align: baseline;
}
.ledger th[scope="row"] {
  font-family: var(--sans); font-size: 13px; font-weight: 650;
  color: var(--ink);
  letter-spacing: .02em;
}
.ledger td[scope="row"] {
  font-family: var(--sans); font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .02em;
}
.ledger td:last-child {
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  white-space: nowrap;
  padding-left: 18px;
}
.ledger-total th, .ledger-total td { padding-top: 18px; }
.ledger-total td:last-child {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--accent);
}
.ledger-note {
  font-family: var(--sans); font-size: 11.5px; color: var(--ink-4);
  letter-spacing: .04em; line-height: 1.6;
  margin: 18px 0 0;
}

/* ---------- Gap meter ---------- */
.gap-meter {
  margin-top: clamp(64px, 7vw, 110px);
  border: 1px solid var(--rule-2);
  background: var(--paper-3);
  padding: clamp(28px, 3.4vw, 52px);
}
.gap-meter-title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: var(--ink);
  margin: 0 0 30px;
}
.gap-row {
  display: grid;
  grid-template-columns: 170px 1fr 110px;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}
.gap-label {
  font-family: var(--sans); font-size: 11px; font-weight: 650;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
}
.gap-track { background: var(--paper); border: 1px solid var(--rule); height: 22px; padding: 3px; }
.gap-bar {
  height: 100%;
  width: 0;
  transition: width 1.4s var(--ease-out) .2s;
}
.gap-meter.in .gap-bar { width: var(--w); }
.gap-bar-ask { background: linear-gradient(90deg, rgba(210, 106, 85, .4), var(--signal-red)); transition-delay: .2s; }
.gap-bar-prior { background: var(--ink-4); transition-delay: .45s; }
.gap-bar-basis { background: linear-gradient(90deg, var(--accent-dim), var(--accent)); transition-delay: .7s; }
.gap-value {
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  text-align: right;
}
.gap-meter-note {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-style: italic;
  color: var(--accent);
  margin: 26px 0 0;
}

/* ---------- Conditions list ---------- */
.cond-list { list-style: none; margin: 28px 0 0; padding: 0; }
.cond-list li {
  font-size: .98rem;
  color: var(--ink-3);
  line-height: 1.7;
  padding: 16px 0 16px 30px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.cond-list li:last-child { border-bottom: none; }
.cond-list li::before {
  content: "";
  position: absolute; left: 2px; top: 26px;
  width: 7px; height: 7px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}
.cond-list strong { color: var(--ink); }

/* ---------- Persona-lens switcher ---------- */
.desks-prose { max-width: 74ch; }
.desks-outro { max-width: 74ch; margin-top: clamp(40px, 5vw, 64px); }

.lens-panel {
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--rule-2);
  background: var(--paper-3);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
}
.lens-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--rule-2);
}
.lens-tab {
  position: relative;
  padding: 20px 16px 19px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-4);
  border-left: 1px solid var(--rule-2);
  transition: color .3s var(--ease-out), background .3s var(--ease-out);
}
.lens-tab:first-child { border-left: none; }
.lens-tab::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .4s var(--ease-out);
}
.lens-tab:hover { color: var(--ink-2); }
.lens-tab.is-active { color: var(--accent); background: var(--paper-2); }
.lens-tab.is-active::after { transform: scaleX(1); }

.lens-body { padding: clamp(28px, 3.4vw, 46px); }
.lens-view { display: none; }
.lens-view.is-on {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.lens-copy p {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0;
}
/* ---------- Lens instrument ----------
   One per tab: the number that leads that desk's reading, over a small scale
   in the dossier's own grammar. The values sit in the HTML so a no-JS reader
   gets the finished instrument; case.js replays the count and the fills each
   time a tab is selected. */
.lens-visual {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  border: 1px solid var(--rule-2);
  background:
    linear-gradient(160deg, rgba(216, 180, 94, .04), transparent 45%),
    var(--paper-2);
  padding: clamp(26px, 3vw, 40px) clamp(24px, 2.8vw, 36px);
  min-height: 272px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lv-eyebrow {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 16px;
}
.lv-value {
  font-family: var(--display);
  font-size: clamp(2.5rem, 3.6vw, 3.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  margin: 0;
}
.lv-caption {
  font-family: var(--sans); font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--ink-3);
  margin: 10px 0 0;
}
.lv-scale { margin-top: 30px; }
.lv-track {
  position: relative;
  height: 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.lv-fill {
  position: absolute; top: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  transition: width .8s var(--ease-out);
}
.lv-fill-band { background: linear-gradient(90deg, rgba(216, 180, 94, .35), var(--accent)); }
/* the passion margin: real, but thinner air the further it stretches */
.lv-fill-soft { background: linear-gradient(90deg, rgba(216, 180, 94, .45), rgba(216, 180, 94, .08)); }
.lv-tick {
  position: absolute; top: -5px; bottom: -5px;
  width: 0;
  border-left: 1px dashed var(--rule-2);
}
.lv-tick-red { border-left-color: var(--signal-red); }
.lv-scale-labels {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--sans); font-size: 9.5px; font-weight: 650;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-4);
  margin-top: 10px;
}
.lv-label-red { color: var(--signal-red); }
.lv-row {
  display: grid;
  grid-template-columns: 34px 1fr 48px;
  align-items: center;
  gap: 12px;
}
.lv-row + .lv-row { margin-top: 12px; }
.lv-row-label {
  font-family: var(--sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-4);
}
.lv-row-value {
  font-family: var(--mono); font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  text-align: right;
}

/* the swap animation: content fades up when a tab changes */
.lens-panel.is-swapped .lens-copy { animation: lensIn .5s var(--ease-out) both; }
.lens-panel.is-swapped .lens-visual { animation: lensIn .5s var(--ease-out) .06s both; }
@keyframes lensIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.lens-invariant {
  border-top: 1px solid var(--rule-2);
  background: linear-gradient(150deg, var(--accent-soft), var(--paper-2) 70%);
  padding: clamp(24px, 3vw, 38px) clamp(28px, 3.4vw, 46px) clamp(26px, 3vw, 40px);
}
.lens-invariant-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.lens-invariant-nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 40px);
}
.linum { display: flex; flex-direction: column; gap: 7px; }
.linum-label {
  font-family: var(--sans); font-size: 10.5px; font-weight: 650;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
}
.linum-value {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.linum-value.gold { color: var(--accent); }
.linum-value.red { color: var(--signal-red); }
.lens-invariant-note {
  font-family: var(--sans); font-size: 12.5px; line-height: 1.7;
  color: var(--ink-3);
  margin: 22px 0 0;
  max-width: 62ch;
}

/* ---------- Verdict scale ----------
   Column widths are the dollar widths of the bands themselves (75K, 39K, 41K,
   then the 295K of scale between the walk-away line and the ask), so the empty
   stretch reads as distance before anyone reads a number. minmax keeps labels
   legible when the proportions would crush them. */
.vscale-wrap {
  position: relative;
  margin-top: clamp(44px, 5vw, 64px);
}
.verdict-scale {
  display: grid;
  grid-template-columns:
    minmax(104px, 75fr)
    minmax(104px, 39fr)
    minmax(104px, 41fr)
    minmax(150px, 295fr)
    minmax(112px, auto);
  border: 1px solid var(--rule-2);
  text-align: left;
}

/* ---------- Verdict-scale reveal ----------
   The staged wipe is driven from case.js, not here: the pause has to land
   exactly on the "Above market" boundary, and only measured geometry knows
   where that is. CSS owns the resting state; JS owns the motion. */
.vband {
  padding: 20px 18px 24px;
  border-left: 1px solid var(--rule-2);
  background: var(--paper);
}
.vband-void {
  background:
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(210, 106, 85, .05) 12px 24px),
    var(--paper);
  border-left-style: dashed;
  border-right: 1px dashed var(--rule-2);
  display: flex; flex-direction: column; justify-content: center;
}
.vband-void .vband-tier { color: var(--ink-4); }
.vband-void .vband-range {
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: var(--ink-3);
}
.vband-hot { border-left: none; }
.vscale-note {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-4);
  letter-spacing: .04em;
  line-height: 1.7;
  max-width: 620px;
  margin: 16px auto 0;
  text-align: center;
}
.vband:first-child { border-left: none; }
.vband-tier {
  display: block;
  font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.vband-range {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.vband-fair { background: var(--accent-soft); }
.vband-fair .vband-tier { color: var(--accent); }
.vband-fair .vband-range { color: var(--accent); }
.vband-hot { background: rgba(210, 106, 85, .08); }
.vband-hot .vband-tier { color: var(--signal-red); }
.vband-hot .vband-range { color: var(--signal-red); }

/* ---------- Method ---------- */
.cs-method-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 84px);
  align-items: start;
}
.cs-stats { align-self: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cs-split, .cs-split-rev, .cs-cohort-grid, .cs-method-grid { grid-template-columns: 1fr; }
  .evidence-grid { grid-template-columns: 1fr 1fr; }
  .lens-view.is-on { grid-template-columns: 1fr; }
  .lens-visual { max-width: 520px; justify-self: start; }
}
@media (max-width: 640px) {
  .evidence-grid { grid-template-columns: 1fr; }
  .lens-tabs { grid-template-columns: 1fr 1fr; }
  /* min-height, not more padding: the tab has to clear a 44px finger while the
     label stays at its designed size */
  .lens-tab { padding: 15px 10px 14px; font-size: 10.5px; letter-spacing: .12em; min-height: 46px; }
  .lens-tab:nth-child(odd) { border-left: none; }
  .lens-tab:nth-child(n+3) { border-top: 1px solid var(--rule-2); }
  .lens-invariant-nums { grid-template-columns: 1fr; gap: 20px; }
  .gap-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .gap-value { text-align: left; }
  /* stacked, the dollar widths become dollar heights: the void band stays the
     tall one so the distance still reads */
  .verdict-scale { grid-template-columns: 1fr; }
  .vband { border-left: none; border-top: 1px solid var(--rule-2); }
  .vband:first-child { border-top: none; }
  .vband-void { border-right: none; border-top-style: dashed; min-height: 130px; }

  /* Labels that carry a number are read at arm's length on a phone; the
     decorative tags (Exhibit A, the pending-slot labels) stay as designed. */
  .ledger-title, .lv-eyebrow { font-size: 11px; }
  .vband-tier { font-size: 11.5px; }
  .lv-scale-labels, .lv-label-red { font-size: 11px; }
  .lightbox-figure figcaption { font-size: 13px; }
  .comps-chart .row-label, .comps-chart .basis-label, .comps-chart .prior-label { font-size: 11.5px; }
}

/* The tooltip is the only way to read a comp on a phone, so its two smallest
   labels come up to a readable size on any touch device. */
@media (pointer: coarse) {
  .ctip-cohort, .ctip-flag { font-size: 11px; letter-spacing: .16em; }
  .ctip-venue { font-size: 12.5px; }
}

@media (max-width: 480px) {
  /* The ledger is a two-column table of long labels against long dollar
     ranges. At this width the columns cannot both fit, so each row becomes
     label-over-value: the same reading order, no truncation, no side-scroll. */
  .ledger tr { display: grid; grid-template-columns: 1fr; gap: 3px; padding: 13px 0; }
  .ledger th, .ledger td { padding: 0; }
  .ledger td:last-child, .ledger-total td:last-child { text-align: left; }
  .ledger-total th, .ledger-total td { padding-top: 0; }
}

@media (max-width: 420px) {
  /* The hero CTA is one long nowrap line with 52px of side padding: its
     min-content width (368px) was forcing the hero wider than a 320px phone and
     the button itself got clipped. Let it wrap and sit full-width instead. */
  .cs-hero-content { padding-left: 18px; padding-right: 18px; }
  .cs-hero-ctas { width: 100%; }
  .cs-hero-ctas .btn {
    white-space: normal;
    padding-left: 20px; padding-right: 20px;
    width: 100%; text-align: center; line-height: 1.35;
  }
}

/* ============================================================================
   THIS STUDY — components that exist only on this page
   ========================================================================== */

/* the comp panel needs a positioning context for the tooltip layer */
#comps .comps-panel { position: relative; }

/* The three-number summary sits under the anchor photograph, in the same
   column, so the argument reads top to bottom: here is the closest match, here
   is the most any driven one has fetched, here is where the bidding went. */
.exhibit .cs-cohort-cards { margin-top: clamp(24px, 3vw, 34px); }
.cohort-card-ask .cohort-card-count { color: var(--signal-red); opacity: .75; }

/* ---------- Two-column brief (the buyer's two tests) ---------- */
.test-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(40px, 5vw, 64px);
}
.test-card {
  border: 1px solid var(--rule-2);
  background: var(--paper-3);
  padding: clamp(26px, 3vw, 40px);
  position: relative;
}
.test-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
}
.test-card-label {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.test-card h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 16px;
}
.test-card p {
  font-size: .99rem;
  line-height: 1.78;
  color: var(--ink-3);
  margin: 0;
}
.test-card p + p { margin-top: 1.1em; }
.test-card strong { color: var(--ink); }

/* ---------- Disclosure panel (what was said, what wasn't) ----------
   Two stacks rather than the 599's two contradicting lines: here the finding is
   an absence, and an absence only reads against the length of the list beside
   it. */
.disc-panel { margin: 0; position: relative; }
.disc-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rule-2);
  background: var(--paper-3);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.disc-col { padding: clamp(24px, 2.8vw, 34px); min-width: 0; }
.disc-col + .disc-col { border-left: 1px solid var(--rule-2); }
.disc-col-head {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.disc-col-said .disc-col-head { color: var(--signal-green); }
.disc-col-silent .disc-col-head { color: var(--signal-amber); }
.disc-list { list-style: none; margin: 0; padding: 0; }
.disc-list li {
  font-family: var(--sans); font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
  padding: 10px 0 10px 20px;
  position: relative;
}
.disc-list li::before {
  content: "";
  position: absolute; left: 0; top: 18px;
  width: 7px; height: 1px;
  background: var(--ink-4);
}
.disc-col-silent .disc-list li {
  color: var(--ink);
  font-size: 14px;
  padding-top: 12px; padding-bottom: 12px;
}
.disc-col-silent .disc-list li::before { background: var(--signal-amber); height: 2px; top: 20px; }
.disc-cost {
  display: block;
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--ink-4);
  margin-top: 5px;
}
.disc-col-silent .disc-cost { color: var(--signal-amber); }
/* the empty rest of the silent column: the point is how short the list is */
.disc-quiet {
  font-family: var(--display);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-style: italic;
  color: var(--ink-4);
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px dashed var(--rule-2);
  line-height: 1.6;
}
.disc-panel figcaption {
  font-family: var(--sans); font-size: 12px; color: var(--ink-4);
  letter-spacing: .04em; margin-top: 14px; line-height: 1.6;
}

/* ---------- The value ladder ----------
   Drawn to dollar scale across a fixed $150K–$250K window, so the bands, the
   number the file signs, and where the bidding actually stopped can all be read
   against each other rather than described. */
.ladder-wrap { margin-top: clamp(48px, 6vw, 76px); }
.pscale {
  position: relative;
  display: grid;
  /* $150K–$250K: 20fr opportunity, 40fr fair value, 32fr above market, 8fr past walk-away */
  grid-template-columns: 20fr 40fr 32fr 8fr;
  border: 1px solid var(--rule-2);
  margin-top: 76px; /* room for the two markers above the track */
}
.pband {
  padding: 22px 16px 26px;
  border-left: 1px solid var(--rule-2);
  background: var(--paper);
  min-width: 0;
}
.pband:first-child { border-left: none; }
.pband-tier {
  display: block;
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.pband-range {
  display: block;
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.pband-fair { background: var(--accent-soft); }
.pband-fair .pband-tier, .pband-fair .pband-range { color: var(--accent); }
.pband-over { background: rgba(210, 106, 85, .05); }
.pband-past {
  background:
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(210, 106, 85, .06) 10px 20px),
    var(--paper);
}
.pband-past .pband-tier { color: var(--signal-red); }
.pband-past .pband-range { color: var(--ink-4); font-style: italic; }

/* the two markers, positioned on the same $150K–$250K scale */
.pmark {
  position: absolute;
  bottom: 100%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0;
  width: max-content;
  max-width: 190px;
  text-align: center;
}
.pmark::after {
  content: "";
  width: 1px;
  height: 20px;
  background: currentColor;
  opacity: .55;
  margin-top: 8px;
}
.pmark-label {
  font-family: var(--sans); font-size: 9.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  opacity: .78;
}
.pmark-value {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  margin-top: 4px;
}
.pmark-bid { color: var(--accent); }
.pmark-hammer { color: var(--signal-red); }
/* the markers grow in when the ladder arrives, so the eye lands on the bands
   first and the two prices second */
.pmark { opacity: 0; transform: translateX(-50%) translateY(6px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.ladder-wrap.in .pmark { opacity: 1; transform: translateX(-50%); }
.ladder-wrap.in .pmark-hammer { transition-delay: .45s; }
.pscale-axis {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: .06em;
  margin-top: 10px;
}
.pscale-note {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-4);
  letter-spacing: .04em;
  line-height: 1.7;
  max-width: 640px;
  margin: 22px 0 0;
}

/* ---------- Forward-value fan (the asset question) ---------- */
.section-asset { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.asset-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(40px, 5vw, 84px);
  align-items: start;
}
.asset-grid > * { min-width: 0; }
.proj-panel {
  border: 1px solid var(--rule-2);
  background: var(--paper-3);
  padding: clamp(24px, 3vw, 38px);
}
.proj-title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--ink);
  margin: 0 0 6px;
}
.proj-sub {
  font-family: var(--sans); font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ink-4);
  margin: 0 0 24px;
}
.proj-chart { width: 100%; }
.proj-chart svg { display: block; overflow: visible; }
.proj-chart .grid-line { stroke: var(--rule); stroke-width: 1; }
.proj-chart .axis-label { font-family: var(--sans); font-size: 10.5px; fill: var(--ink-4); letter-spacing: .06em; }
.proj-chart .fan-outer { fill: rgba(216, 180, 94, .07); }
.proj-chart .fan-inner { fill: rgba(216, 180, 94, .14); }
.proj-chart .fan-median { stroke: var(--accent); stroke-width: 1.6; fill: none; }
.proj-chart .paid-line { stroke: var(--signal-red); stroke-width: 1.2; stroke-dasharray: 4 5; }
.proj-chart .paid-label { font-family: var(--sans); font-size: 11px; font-weight: 650; fill: var(--signal-red); letter-spacing: .05em; }
.proj-chart .bid-line { stroke: var(--accent-dim); stroke-width: 1.2; stroke-dasharray: 2 4; }
.proj-chart .bid-label { font-family: var(--sans); font-size: 11px; font-weight: 650; fill: var(--accent-dim); letter-spacing: .05em; }
.proj-chart .fan-band { opacity: 0; transition: opacity 1s var(--ease-out) .15s; }
.proj-chart.drawn .fan-band { opacity: 1; }
.proj-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans); font-size: 10.5px; font-weight: 650;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-4);
}
.proj-legend span { display: flex; align-items: center; gap: 8px; }
.proj-legend i { width: 14px; height: 2px; display: block; }
.pl-median { background: var(--accent); }
/* the band swatch has to out-specify .proj-legend i's 2px line height */
.proj-legend i.pl-band { background: rgba(216, 180, 94, .28); height: 10px; }
.pl-paid { background: var(--signal-red); }
.proj-caption {
  font-family: var(--sans); font-size: 12px;
  line-height: 1.7;
  letter-spacing: .03em;
  color: var(--ink-4);
  margin: 18px 0 0;
}

/* the two outcomes, side by side */
.outcome-cards { display: grid; gap: 14px; margin-top: clamp(32px, 4vw, 44px); }
.outcome-card {
  border: 1px solid var(--rule-2);
  background: var(--paper-3);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 8px 20px;
}
.outcome-card-label {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.outcome-card-value {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin: 0;
  text-align: right;
  white-space: nowrap;
}
.outcome-card-note {
  grid-column: 1 / -1;
  font-family: var(--sans); font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-4);
  margin: 4px 0 0;
}
.outcome-good { border-left: 2px solid var(--signal-green); }
.outcome-good .outcome-card-value { color: var(--signal-green); }
.outcome-bad { border-left: 2px solid var(--signal-red); }
.outcome-bad .outcome-card-value { color: var(--signal-red); }

/* ---------- The ending ---------- */
.ending-line {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--accent);
  text-align: center;
  max-width: 24ch;
  margin: clamp(40px, 5vw, 64px) auto 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .asset-grid { grid-template-columns: 1fr; }
  .test-cards { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  /* stacked, the two disclosure columns read as a list and then its absence */
  .disc-cols { grid-template-columns: 1fr; }
  .disc-col + .disc-col { border-left: none; border-top: 1px solid var(--rule-2); }

  /* The ladder's dollar widths become dollar heights. The markers stop
     floating over the track and take their place in the stack, each one
     directly under the band it falls inside — which is why they carry explicit
     grid order here: in the DOM they come first, so that a no-CSS reader meets
     the two prices before the bands. */
  .pscale { grid-template-columns: 1fr; margin-top: 0; }
  .pband { border-left: none; border-top: 1px solid var(--rule-2); }
  .pband:first-child { border-top: none; }
  .pband-opp    { order: 1; }
  .pband-fair   { order: 2; }
  .pmark-bid    { order: 3; }  /* $195,000 falls inside fair value */
  .pband-over   { order: 4; }
  .pmark-hammer { order: 5; }  /* $225,000 falls inside above market */
  .pband-past   { order: 6; }
  .pmark {
    position: static;
    transform: none;
    align-items: flex-start;
    text-align: left;
    max-width: none;
    opacity: 1;
    padding: 16px 16px 18px;
    border-top: 1px dashed currentColor;
  }
  .ladder-wrap.in .pmark { transform: none; }
  .pmark::after { display: none; }
  .pmark-value { margin-top: 2px; }
  .pscale-axis { display: none; }
  .pband-tier { font-size: 11px; }
  .outcome-card { grid-template-columns: 1fr; }
  .outcome-card-value { text-align: left; }
}

/* the two paragraphs that carry the ending, under the pull quote */
.cs-after-quote { margin: clamp(40px, 5vw, 64px) auto 0; text-align: left; }
