/* ══════════════════════════════════════════════════════════════════
   buyer.css — "A Tuesday morning."

   Canon: 01_FOUNDATION/10-Year Picture.md — a finance director in
   London, 8:15 a.m., checking what changed rather than whether it ran.

   The scene used to be a hand-drawn SVG of her at the desk. Four
   attempts at it were rejected, and the reason was the medium: depth in
   that picture comes from perspective, lighting and focus, none of which
   flat line art on a dark ground has. It is a rendered image now. The
   four lines are baked into it, so the state list below carries them in
   real text — that is where they are read on a phone, and the only place
   they can be corrected. */

.buyer {
  position: relative;
  overflow: hidden;
}

.buyer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
  margin-top: clamp(34px, 4vw, 56px);
}

/* ── the words ─────────────────────────────────────────────────── */

.buyer-who {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.buyer-name {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  color: var(--parchment);
  line-height: 1.1;
}

.buyer-role {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
}

.buyer-org {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--silver);
  margin-bottom: 22px;
}

.buyer-org b {
  color: var(--cream);
  font-weight: 500;
}

.buyer-lede {
  font-family: var(--body);
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.66;
  color: var(--cream);
  max-width: 46ch;
}

.buyer-lede + .buyer-lede {
  margin-top: 15px;
  color: var(--silver);
}

.buyer-pull {
  margin-top: 26px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 22px);
  font-style: italic;
  line-height: 1.42;
  color: var(--parchment);
  max-width: 34ch;
}

.buyer-note {
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 44ch;
}

/* ── the scene ─────────────────────────────────────────────────── */

.buyer-scene {
  position: relative;
  border: 1px solid var(--border);
  background: var(--deep);
  line-height: 0;
}

.buyer-scene img {
  display: block;
  width: 100%;
  height: auto;
}

/* corner ticks — the house detail */
.buyer-scene::before,
.buyer-scene::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 11px;
  border-color: var(--gold);
  opacity: 0.55;
  pointer-events: none;
}

.buyer-scene::before {
  top: -1px; left: -1px;
  border-top: 1px solid; border-left: 1px solid;
}

.buyer-scene::after {
  bottom: -1px; right: -1px;
  border-bottom: 1px solid; border-right: 1px solid;
}

/* ── the four states, spelled out under the scene ─────────────── */

.buyer-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(30px, 3.6vw, 46px);
  background: var(--border);
  border: 1px solid var(--border);
}

.buyer-legend div {
  background: var(--vault);
  padding: 18px 16px;
}

.buyer-legend .lk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}

.buyer-legend .lk i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}

.buyer-legend .lk i.ok   { background: var(--established); }
.buyer-legend .lk i.wait { background: var(--waiting); }
.buyer-legend .lk i.stop { background: var(--blocked); }
.buyer-legend .lk i.sup  { background: var(--superseded); }

.buyer-legend .lt {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.buyer-legend p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--silver);
}

.buyer-legend b {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--cream);
  margin-bottom: 5px;
}

/* ── responsive ────────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .buyer-grid { grid-template-columns: 1fr; gap: 38px; }
  .buyer-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Narrow screens shrink the row labels below reading size. That is a reason to
   let the drawing carry the atmosphere and the state list carry the words. It
   is NOT a reason to remove the picture: a section whose image disappears at
   some width is simply broken, and an earlier version of this file made
   exactly that mistake. The scene always renders. */
@media (max-width: 760px) {
  .buyer-scene { padding: 12px; }

  /* the name wraps at this width, so hang the portrait off the top of the
     text block rather than its centre */
  .buyer-id { align-items: flex-start; }
  .buyer-portrait { margin-top: 4px; }

  .buyer-legend {
    grid-template-columns: 1fr;
    margin-top: clamp(24px, 4vw, 32px);
  }

  .buyer-legend div { padding: 16px 15px; }
  .buyer-legend .lk { margin-bottom: 7px; }
  .buyer-legend p b { font-size: 14.5px; }
}

@media (max-width: 620px) {
  .buyer-scene { padding: 14px; }
  }

