/* Part 16 (R-205): Prototypes, end to end. Page-only styles on top of e.css; R-127 tokens only. */
.pt-after, .e-figure + .pt-after, .pt-x + .pt-after { margin-top: 40px; }
/* The February prototype, embedded as it was: its own page, inside a frame, scrollable. */
.pt-embed .e-figure-media { background: #F4F4F4; }
.pt-embed iframe { display: block; width: 100%; height: 640px; border: 0; }
@media (max-width: 720px) { .pt-embed iframe { height: 560px; } }
.pt-era { font-style: normal; }
/* The four stages, a prototype at every one. Static for now; the page's one motion figure is a later pass. */
.pt-stages ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pt-stages li { background: var(--e-surface); border-radius: 3px; box-shadow: 0 0 0 1px var(--e-rule); padding: 18px 20px; font-size: var(--t-small); line-height: 1.45; color: var(--e-body-soft); }
.pt-stages li span { display: block; font-size: var(--t-h3); line-height: 1.2; color: var(--e-ink); margin-bottom: 6px; }
@media (max-width: 860px) { .pt-stages ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pt-stages ol { grid-template-columns: 1fr; } }
.dir-e .e-prose p.bth-closer { color: var(--e-ink); font-size: var(--t-pull); font-weight: 300; line-height: 1.25; }
/* R-208: the Figma-era figures open their full-size crops. */
.pt-fig { margin-top: 40px; }
.pt-fig a.e-figure-media { display: block; cursor: zoom-in; }
.pt-fig img { display: block; width: 100%; height: auto; }
/* R-212: the ch.4 loop. Under reduced motion it holds on its poster (the script below removes autoplay). */
.pt-loop video { display: block; width: 100%; height: auto; }

/* Part 16B: each chapter's doctrine line, set a step above the body, the way Breaking the Handoff lands its closers. */
.dir-e .e-prose p.pt-turn { color: var(--e-ink); font-size: var(--t-stand); font-weight: 300; line-height: 1.35; }

/* Part 16B: the ladder. Three rungs climbing left to right; stacked on phones. Each image opens full size. */
.pt-ladder { margin-top: 56px; }
.pt-ladder ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pt-ladder li:nth-child(1) { margin-top: 112px; }
.pt-ladder li:nth-child(2) { margin-top: 56px; }
.pt-ladder a.e-figure-media { display: block; cursor: zoom-in; aspect-ratio: 4 / 3; }
.pt-ladder img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.dir-e .pt-rung { margin: 16px 0 0; font-size: var(--t-h3); line-height: 1.2; color: var(--e-ink); }
.pt-rung span, .pt-x-head, .pt-path-label, .pt-review li span {
    display: block; font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
    font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.6; color: var(--e-soft);
}
.pt-rung span { margin-bottom: 4px; }
.dir-e .pt-rung-note { margin: 8px 0 0; font-size: var(--t-label); line-height: 1.5; color: var(--e-body-soft); }
@media (max-width: 860px) {
    .pt-ladder ol { grid-template-columns: 1fr; gap: 40px; }
    .pt-ladder li:nth-child(n) { margin-top: 0; }
    .pt-ladder a.e-figure-media { aspect-ratio: 16 / 10; }
}

/* Part 16B: exhibits. A receipt is a designed object: a dated head, the verbatim exchange, a provenance foot.
   Speakers are role labels on plain discs (R-172(b): no faces), in the v2 captures' neutral. */
.pt-x { margin: 40px 0 0; max-width: 760px; background: var(--e-surface); border-radius: 3px; box-shadow: 0 0 0 1px var(--e-rule), var(--e-shadow); }
.pt-x-head { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 12px 22px; border-bottom: 1px solid var(--e-rule); }
.pt-x-body { padding: 22px; }
.pt-msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.pt-msg + .pt-msg { margin-top: 18px; }
.pt-av { width: 36px; height: 36px; border-radius: 50%; background: #D1D6D1; display: grid; place-items: center;
    font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 500; color: var(--e-ink); }
.pt-msg.is-me .pt-av { background: var(--e-ink); color: var(--e-surface); }
.pt-msg p { margin: 0; font-size: var(--t-body); line-height: 1.5; color: var(--e-ink); }
.pt-msg p.pt-who { font-size: var(--t-label); font-weight: 600; margin-bottom: 2px; color: var(--e-ink); }
.pt-msg p.pt-caps { letter-spacing: 0.02em; }
.pt-attach { list-style: none; margin: 18px 0 0 50px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pt-attach li { padding: 5px 10px; border: 1px solid var(--e-rule); border-radius: 3px;
    font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 13px; color: var(--e-body-soft); }
.pt-x-foot { margin: 0; padding: 10px 22px 12px; border-top: 1px solid var(--e-rule); font-size: var(--t-label); font-style: italic; color: var(--e-soft); }
@media (max-width: 520px) {
    .pt-x-head { flex-direction: column; gap: 0; padding: 10px 16px; }
    .pt-x-body { padding: 16px; }
    .pt-attach { margin-left: 0; }
}

/* Part 16B: the September review shape (a diagram, labeled as one). */
.pt-review ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pt-review li { background: var(--e-surface); border-radius: 3px; box-shadow: 0 0 0 1px var(--e-rule); padding: 16px 20px; font-size: var(--t-small); color: var(--e-body-soft); }
.pt-review li span { margin-bottom: 4px; }
.dir-e .pt-review-link { margin: 12px 0 0; padding: 16px 20px; border-radius: 3px; background: var(--e-ink); color: var(--e-surface); font-size: var(--t-small); text-align: center; }
.pt-review-link span { display: block; letter-spacing: 0.6em; margin-bottom: 4px; opacity: 0.7; }
@media (max-width: 520px) { .pt-review ol { grid-template-columns: 1fr; } }

/* Part 16B: two paths from a prototype to a build (a diagram, labeled as one). */
.pt-paths .pt-path + .pt-path { margin-top: 16px; }
.dir-e .pt-path-label { margin: 0 0 8px; }
.pt-path ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: pt-step; }
.pt-path li { position: relative; padding: 14px 18px; border-radius: 3px; box-shadow: 0 0 0 1px var(--e-rule); font-size: var(--t-small); line-height: 1.4; color: var(--e-body-soft); }
.pt-path li + li::before { content: "\2192"; position: absolute; left: -11px; top: 50%; transform: translate(-50%, -50%); color: var(--e-soft); }
.pt-path.is-now li { background: var(--e-surface); color: var(--e-ink); }
@media (max-width: 720px) {
    .pt-path ol { grid-template-columns: 1fr; gap: 20px; }
    .pt-path li + li::before { content: "\2193"; left: 50%; top: -10px; }
}

/* Part 16B: the closing lessons. */
.pt-lessons { margin: 24px 0 0; padding: 0 0 0 1.1em; }
.pt-lessons li { font-size: var(--t-body); line-height: 1.55; }
.pt-lessons li + li { margin-top: 10px; }
.pt-try { margin-top: 72px; }
/* Part 16B: a time gap inside a transcript, as the record has it ("moments later"). */
.dir-e .pt-x .pt-later { margin: 24px 0 10px 50px; font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--e-soft); }
