/* Article template CSS - shared by every rebuilt article page.
   Rules are the two approved pilots' page-local styles, unified
   (cr00396-5 upgrade state wins where the pilots diverged). */
:root{--font-head:"Urbanist","Manrope",-apple-system,"Segoe UI",sans-serif}
.plt-footlink{color:inherit;text-underline-offset:2px}
.masthead .compact-frame{justify-content:center}
.masthead .sitename{text-align:center}
.wrap{padding-bottom:0}
.page{margin-top:24px}
footer{margin-top:24px}
footer .frame{padding:18px 24px}
footer .plt-footbtn{margin-top:.75rem}
footer a.btn{display:inline-block;font-weight:700;font-size:14px;padding:10px 22px;min-height:44px;background:var(--accent);color:var(--on-accent);border-radius:999px;text-decoration:none}
footer a.btn:hover{background:var(--accent-ink)}
.plt-plate{margin:0 0 1.5rem;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:.75rem}
.plt-plate img.plt-crop{width:100%;height:auto;display:block;border-radius:4px;-webkit-mask-image:linear-gradient(to bottom,#000 92%,transparent);mask-image:linear-gradient(to bottom,#000 92%,transparent)}
.plt-h1{font-family:var(--font-head);font-size:2.15rem;line-height:1.12;margin:0 0 2rem;font-weight:800;letter-spacing:-.01em}
.plt-series{display:block;font-size:13px;font-weight:800;color:var(--headline);letter-spacing:.01em;line-height:1.3;text-decoration:none;margin:0 0 1rem}
.plt-series:hover{text-decoration:underline;text-underline-offset:4px}
.plt-capline{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding-top:.5rem}
.plt-paper{font-size:.95rem;color:var(--muted);letter-spacing:.01em}
.plt-fullpage{display:flex;gap:.5rem;align-items:center;text-decoration:none;color:var(--accent);font-weight:600;font-size:.92rem;min-height:44px}
.plt-fullpage:hover{color:var(--accent-ink)}
.plt-fullpage:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.plt-fullpage img{width:38px;height:auto;border:1px solid var(--line);border-radius:3px;box-shadow:0 1px 3px rgba(42,28,17,.25)}
.plt-dateline{color:var(--muted);font-size:1rem;margin:0 0 1.5rem}
.plt-dateline b{color:var(--ink)}
.plt-deck{border-top:2px solid var(--accent);border-bottom:1px solid var(--line);padding:1rem 0;margin-bottom:1.5rem}
.plt-deck ul{margin:0;padding-left:1.25rem;columns:2;column-gap:2rem}
.plt-deck li{margin:.25rem 0;font-style:italic;break-inside:avoid}
.plt-summary{background:var(--surface);border-left:4px solid var(--accent);border-radius:6px;padding:1.5rem;margin-bottom:2rem}
.plt-summary p{margin:0}
.plt-bodylabel{font-size:.95rem;text-transform:uppercase;letter-spacing:.12em;color:var(--accent);margin:0 0 1rem;font-weight:700}
.plt-body{margin-bottom:1.5rem}
.plt-body p{font-size:1.09rem;line-height:1.72;margin:0 0 1em}
.plt-body .plt-chamber{font-size:.82rem;text-transform:uppercase;letter-spacing:.13em;color:var(--accent-ink);font-weight:800;margin:2rem 0 .75rem}
.plt-body .plt-chamber:first-child{margin-top:0}
.plt-body .plt-subhead{font-family:var(--font-head);font-size:1.35rem;font-weight:800;color:var(--headline);line-height:1.25;margin:0 0 1rem}
.plt-body .plt-quotehead{font-style:italic;color:var(--muted);border-left:3px solid var(--line);padding-left:1rem;line-height:1.55}
.plt-body .plt-verse{text-align:center;font-style:italic;line-height:1.6}
.plt-note{font-size:.92rem;color:var(--muted);font-style:italic;margin:0 0 2rem}
.plt-trail{border-top:1px solid var(--line);padding-top:1rem;margin:0 0 2rem}
.plt-trail h4{font-family:var(--font-head);font-size:.95rem;text-transform:uppercase;letter-spacing:.12em;color:var(--accent);margin:0 0 .5rem;font-weight:700}
.plt-trail p{margin:.25rem 0;font-size:.95rem}
.plt-trail .plt-carriage{color:var(--accent-ink);font-weight:600;margin:0 0 .5rem}
.plt-factline{font-size:.92rem;color:var(--muted);margin:0 0 1.5rem}
.plt-srcline{display:inline}
.plt-cite{font-size:.92rem;color:var(--muted)}
.plt-metaline{font-size:.82rem;color:var(--muted);margin:-1.15rem 0 1.5rem}
@media (max-width:620px){.plt-h1{font-size:25px}.plt-capline{flex-direction:column;align-items:flex-start;gap:10px}.plt-deck ul{columns:1}.plt-plate{margin-left:calc(-1 * var(--pad));margin-right:calc(-1 * var(--pad));border-left:0;border-right:0;border-radius:0}}

/* polish 2026-11-07: plate press physics + reduced motion */
.plt-plate{transition:transform var(--dur-ui) var(--ease-ui)}
.plt-plate:active{transform:scale(.995)}
@media (prefers-reduced-motion: reduce){.plt-plate{transition:none}}
.plt-close{border-top:1px solid var(--line);padding-top:1rem;margin:2rem 0 0;font-size:.92rem;color:var(--muted)}
.plt-close p{margin:.25rem 0}
.plt-close a{color:var(--accent-ink);font-weight:600;text-decoration:none}
.plt-close a:hover{text-decoration:underline;text-underline-offset:4px}

/* === TOP-SHELF SHIP 4 — THE READING RAIL 2026-11-11 (program
   idea 4, article half): a bronze hairline at the very top of
   the viewport whose width tracks the read, end to end. CSS
   scroll-driven animation only — no JavaScript, no scroll
   listeners, and no element added to any page: the rule rides
   body::before, which no sheet on these pages uses, and this
   shared sheet is the one file every article page already
   carries. Fixed and pointer-events-none at 3px, it never
   touches layout: every content box measures identical with
   and without it, and it passes over the reading surface the
   way a printed rule passes over a page edge. Gated on
   reduced motion and on platform support — a browser without
   scroll-driven animations, or a reader who prefers reduced
   motion, gets today's page exactly, the pseudo-element not
   existing there at all. */
@media (prefers-reduced-motion: no-preference){
@supports (animation-timeline: scroll()){
body::before{content:"";position:fixed;top:0;left:0;width:100%;height:3px;background:var(--accent);transform-origin:0 50%;z-index:60;pointer-events:none;animation:plt-readrail linear both;animation-timeline:scroll(root block)}
@keyframes plt-readrail{from{transform:scaleX(0)}to{transform:scaleX(1)}}
}}

/* === TOP-SHELF SHIP 5 — NEWSPRINT MATERIALITY 2026-11-11
   (program idea 5, article mats): the article plate mat takes
   the same grain and paper edge as the figure.plate mats in
   style.css. --grain is defined in style.css, which every
   article page loads before this sheet; were it ever absent
   the layer simply does not paint and the mat is today's.
   The grain is a background layer under the image and the
   caption line — the newspaper image itself stays pristine —
   and the edge is inset shadow only: no box, padding or
   content geometry moves. The Ship 4 reading rail
   (body::before) is untouched. === */
.plt-plate{background-image:var(--grain);background-size:240px 240px;box-shadow:inset 0 1px 0 var(--plate-hi),inset 0 0 0 1px var(--plate-lo),inset 0 -12px 16px -14px var(--plate-lo)}

/* === TOP-SHELF SHIP 8 — PRINT FURNITURE 2026-11-11
   (program idea 8): the uniform article format gains the two
   pieces of furniture print always had, both emitted by
   build_rollout on every article page. The RUNNING HEAD —
   newspaper name + full date in the label register (small,
   letterspaced, bronze; the paper name in the ink of the
   chamber labels) — stands immediately before the article's
   text block: before the summary section in summary mode,
   before the transcription under its FULL TEXT label in full
   mode. The END-MARK closes the text: the site's own ◆, set
   centered on a hairline after the last paragraph, before
   any note, trail or closing door. A label and a mark only —
   no prose is added anywhere, and no existing box moves: the
   furniture adds its own height at its two stations and
   nothing else. The Ship 4 reading rail (body::before) is
   untouched; its scroll fractions are height-relative and
   still span [0..1] over the grown document. The one
   bespoke-shell page (cr11803-2) links no sheet and keeps
   its hand-maintained form. === */
.plt-runhead{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.13em;line-height:1.5;color:var(--accent);margin:0 0 .9rem}
.plt-runhead-paper{color:var(--accent-ink)}
.plt-runhead-sep{color:var(--muted)}
.plt-endmark{display:flex;align-items:center;justify-content:center;gap:.9rem;font-size:.8rem;line-height:1;color:var(--accent);margin:0 0 2rem}
.plt-endmark::before,.plt-endmark::after{content:"";width:72px;height:1px;background:var(--line)}

/* Under-construction pop-up (V1, 2026-11-11): summary-mode articles only.
   A <details> element: no JS, open state survives language swaps,
   reduced-motion safe. Removed automatically on FTU (runbook strip rule). */
.ucpop{margin:0 0 1.5rem;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:6px;background:var(--surface)}
.ucpop-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:44px;padding:.55rem 1rem;cursor:pointer;list-style:none;font-weight:700;color:var(--headline);border-radius:6px}
.ucpop-head::-webkit-details-marker{display:none}
.ucpop-plus{font-size:1.25rem;line-height:1;color:var(--accent);transition:transform .18s ease}
.ucpop[open ] .ucpop-plus{transform:rotate(45deg)}
@media (prefers-reduced-motion: reduce){.ucpop-plus{transition:none}}
.ucpop-panel{padding:0 1rem 1rem}
.ucpop-panel p{margin:0 0 .75rem}
.ucpop-wrong{font-size:.97rem}
.ucpop-note{font-size:.92rem;color:var(--muted)}
.ucpop-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:.25rem}
.ucpop-actions .btn{display:inline-flex;align-items:center;font-weight:700;font-size:14px;padding:10px 22px;min-height:44px;background:var(--accent);color:var(--on-accent);border-radius:999px;text-decoration:none}
.ucpop-actions .btn:hover{background:var(--accent-ink)}
.ucpop-head:focus-visible,.ucpop-actions .btn:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.ucpop-head:hover{color:var(--accent-ink)}
.ucpop-head:active{color:var(--accent-ink)}

/* cross-printing links (2026-11-14): the "also ran in" line sits tight
   under the citation factline, in the factline's own register. */
.plt-alsoran{font-size:.92rem;color:var(--muted);margin:-1rem 0 1.5rem}
.plt-alsoran a{color:var(--accent-ink);font-weight:600;text-decoration:none}
.plt-alsoran a:hover{text-decoration:underline;text-underline-offset:4px}
