/* ABOUTME: Deck-local styles for the act2 slides, layered over deck.css and the shared bridge. */
/* ABOUTME: Every class here carries the a2- prefix, so nothing leaks into another builder's slides. */

/* --- evidence plates whose frame is only as large as the image, so the caption sits directly under it --- */
.reveal .a2-plate .a2-frame { flex: 0 0 auto; }

/* --- scattered-knowledge: the article's first page, and two of Hayek's sentences about where knowledge sits --- */
.reveal .a2-hayek { --ca-left: 450px; }
.reveal .a2-passage { display: flex; flex-direction: column; gap: 10px; }
.reveal .a2-quote { max-width: none; font-size: 54px; line-height: 1.2; }
.reveal .a2-quote--second { font-size: 40px; color: var(--text); }

/* --- one-price-many-reasons: one real price, what it carried to people far away, what it left out, and Hayek's tin --- */
.reveal .a2-price { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 26px; height: 100%; box-sizing: border-box; padding-top: 26px; margin: 0; }
.reveal .a2-diagram { display: grid; grid-template-columns: minmax(0, 1fr) 500px minmax(0, 1fr); gap: 36px; min-height: 0; }
.reveal .a2-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: 0; }
.reveal .a2-side-head { margin: 0; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.reveal .a2-side--left-out .a2-side-head { color: var(--text-dim); }
.reveal .a2-chip { display: flex; align-items: center; flex: 1 1 0; margin: 0; padding: 0 26px; border-radius: 6px; font: 600 38px/1.15 var(--sans); }
.reveal .a2-chip--carried { border: 2px solid var(--gold); background: color-mix(in oklab, var(--gold) 10%, var(--bg-2)); color: var(--text-bright); }
.reveal .a2-chip--left-out { border: 2px dashed var(--rule-strong); background: none; color: var(--text-dim); font-weight: 400; font-size: 34px; }
.reveal .a2-core { margin-top: 42px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 26px; border: 2px solid var(--gold); border-radius: 6px; background: var(--bg-2); text-align: center; }
.reveal .a2-core p { margin: 0; }
.reveal .a2-core-price { color: var(--gold); font: 400 172px/.95 var(--serif); }
.reveal .a2-core-unit { color: var(--text-bright); font: 600 34px/1.2 var(--sans); }
.reveal .a2-source { display: flex; flex-direction: column; gap: 8px; padding-left: 30px; border-left: 3px solid var(--gold); }
.reveal .a2-source p { max-width: none; margin: 0; }
.reveal .a2-source .a2-source-text { max-width: none; color: var(--text-bright); font: italic 400 36px/1.2 var(--serif); }

/* --- market-outlived-rooms: dated plates in time order, the last one a text card --- */
.reveal .a2-eras { display: grid; grid-template-columns: 1.05fr 1.05fr 1.05fr 1fr; align-content: center; gap: 28px; height: 100%; box-sizing: border-box; padding-top: 26px; margin: 0; }
.reveal .a2-era { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; }
.reveal .a2-year { margin: 0; color: var(--text-bright); font: 400 92px/1 var(--serif); }
.reveal .a2-era--card .a2-year { color: var(--gold); }
.reveal .a2-era-says { margin: auto 0 0; color: var(--text-bright); font: 600 32px/1.2 var(--sans); }
.reveal .a2-era--card .a2-era-says { color: var(--gold); }
.reveal .a2-card { display: flex; flex-direction: column; gap: 18px; flex: 1 1 auto; min-height: 0; padding: 22px 24px; border: 2px solid var(--gold); border-radius: 6px; background: var(--bg-2); }
.reveal .a2-card p { margin: 0; }
.reveal .a2-card .a2-card-text { max-width: none; color: var(--text-bright); font: italic 400 36px/1.2 var(--serif); }
.reveal .a2-card .a2-card-by { margin-top: auto; }

/* --- buttonwood: the agreement as displayed, a detail of its handwriting, and its two rules in the manuscript's words --- */
.reveal .a2-agreement { display: grid; grid-template-columns: 440px 660px minmax(0, 1fr); gap: 40px; height: 100%; box-sizing: border-box; padding-top: 26px; margin: 0; align-items: start; }
.reveal .a2-rules { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 30px; min-width: 0; }
.reveal .a2-rule { display: flex; flex-direction: column; gap: 10px; padding-left: 26px; border-left: 4px solid var(--gold); }
.reveal .a2-rule p { margin: 0; }
.reveal .a2-rule-label { color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.reveal .a2-rule .a2-rule-text { max-width: none; color: var(--text-bright); font: 400 38px/1.2 var(--serif); }

/* --- order-is-message: the floor with the raised slip called out, and what stands behind any order --- */
.reveal .a2-floor { --ca-left: 1040px; }
.reveal .a2-order-says { font-size: 50px; }
.reveal .a2-stands { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.reveal .a2-stands li { margin: 0; padding: 14px 26px; border-left: 4px solid var(--rule-strong); background: var(--bg-2); color: var(--text); font: 400 38px/1.15 var(--sans); }
.reveal .a2-stands b { color: var(--gold); font-weight: 600; }
