/* =====================================================================
   Paper and Ink · essays/the-supplier-is-choosing-its-customers.css
   "The Supplier Is Choosing Its Customers": the figures only this dispatch uses.
   Loaded after the shared stylesheets; everything shared lives in css/.
   ===================================================================== */

/* Layout: one 64ch reading column on grained paper; two paper objects break out to 860px:
   a November quote beside its January reissue (Figure 1)
   and a hardware exposure sheet (Figure 2).
   Gold = what you planned to buy; blue = whom the supplier plans to serve (price, timing, allocation). */

/* ---- footnote markers -------------------------------------------------- */
sup.ref { font-family: var(--sans); font-size: .62em; line-height: 0; margin-left: 1px; }
sup.ref a { text-decoration: none; color: var(--life); padding: 0 1px; }
sup.ref a:hover { text-decoration: underline; }
.sources li:target { color: var(--ink); background: var(--life-soft); }

/* ---- Figure 1: two quotes for the same machines ---------------------------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; max-width: 760px; overflow-x: clip; overflow-clip-margin: 14px; padding-top: 6px; }
.qt { position: relative; padding: 1rem 1.1rem 1.1rem; font-family: var(--mono); font-size: .74rem; line-height: 1.5; background: var(--noise), var(--slip); }
.q1 { border-top: 5px solid var(--slip-once); transform: rotate(-1deg); animation: fade .6s ease .1s both; }
.q2 { border-top: 5px solid var(--slip-life); transform: rotate(.8deg); animation: fade .6s ease .9s both; }
.qh { font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slip-ink); opacity: .75; margin: 0 0 .6rem; }
.qr { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; margin: 0; padding: .25rem 0; border-bottom: 1px solid color-mix(in srgb, var(--slip-ink) 18%, transparent); color: var(--slip-ink); }
.qr span { min-width: 0; }
.qr b { font-weight: 500; text-align: right; }
.q1 .qr b { color: var(--slip-once); }
.q2 .qr b { color: var(--slip-life); }
.qr.tot b { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.qf { margin: .7rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--slip-ink); }
.q1 .qf b { color: var(--slip-once); font-style: normal; font-weight: 500; }
.q2 .qf b { color: var(--slip-life); font-style: normal; font-weight: 500; }
/* the November view: the reissue is not yet on the desk */
.quotes.only .q2 { visibility: hidden; }

/* ---- Figure 2: the exposure sheet ------------------------------------------ */
.sheet2 { position: relative; padding: 1.4rem 1.2rem 1rem; color: var(--slip-ink); background: var(--noise), repeating-linear-gradient(transparent 0 27px, var(--grid-major) 27px 28px), var(--slip); transform: rotate(.3deg); }
.sheet2::before, .sheet2::after { content: ""; position: absolute; top: -11px; width: 92px; height: 26px; background: var(--noise), var(--tape); }
.sheet2::before { left: 22px; transform: rotate(-4deg); }
.sheet2::after { right: 22px; transform: rotate(5deg); }
.xg { font-family: var(--sans); font-size: .8rem; line-height: 1.35; }
.xr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .6fr) minmax(0, 1.5fr); gap: .3rem 1rem; padding: .5rem 0; border-bottom: 1px solid color-mix(in srgb, var(--slip-ink) 15%, transparent); }
.xr span { min-width: 0; }
.xhd { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; }
.xr .once { color: var(--slip-once); font-weight: 600; }
.xr .life { color: var(--slip-life); font-family: var(--mono); font-size: .76rem; }

/* Phone mode: the quotes stack; each sheet row becomes need and expiry on one line,
   with the assumption and the lever beneath, each labelled. */
@media (max-width: 560px) {
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .qh { font-size: .7rem; letter-spacing: .08em; }
  .quotes.only .q2 { display: none; }
  .sheet2 { padding: 1.3rem .9rem .9rem; }
  .xhd { display: none; }
  .xr { grid-template-columns: minmax(0, 1fr) auto; }
  .xr span:nth-child(2), .xr span:nth-child(4) { grid-column: 1 / -1; }
  .xr span:nth-child(3) { grid-row: 1; grid-column: 2; text-align: right; }
  .xr span:nth-child(2)::before { content: "Assumed: "; font-family: var(--sans); color: var(--slip-ink); }
  .xr span:nth-child(3)::before { content: "Expires: "; font-family: var(--sans); color: var(--slip-ink); }
  .xr span:nth-child(4)::before { content: "Lever: "; font-weight: 600; }
}
