/* The blog post (plan.md): header J (the title, the byline and the line at the left, the planning photo framed at the
   right with the pill turning attention into a booked job), the post as published in a reading column, and the close. */

/* ---------- top: header layout J ---------- */
.ph--j { padding-block: var(--space-5) var(--space-6); background: var(--c-paper-alt); }
.ph--j .ph__in { display: grid; grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr); gap: var(--space-6); align-items: center; }
.ph--j h1 { max-width: 20ch; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.08; }
.post__kicker a { font: 700 14px/1 var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-brand-text); }
.post__kicker { margin-bottom: var(--space-3); }
.post__by { margin-top: var(--space-3); font-weight: 600; color: var(--c-ink); }
.ph--j .ph__line { color: var(--c-ink-soft); }
.ph--j .ph__shot { aspect-ratio: 5 / 4; --focus: 50% 40%; }
.ph--j .ph__shot::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, color-mix(in srgb, var(--c-night-2) 42%, transparent) 0%, transparent 40%); }
.ph--j .ph__shot > .ph__scene { left: 18px; top: 18px; width: min(380px, calc(100% - 36px)); height: 100px; }
.ph--j .ph__shot > .stop { top: auto; bottom: 14px; right: 14px; }
@media (max-width: 999px) { .ph--j .ph__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- body: the post, words only, in a reading column ---------- */
.post__in { max-width: 72ch; }
.post h2 { margin-top: var(--space-6); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.post h2:first-child { margin-top: 0; }
.post p, .post li { font-size: 18px; line-height: 1.7; color: var(--c-ink); }
.post p { margin-top: var(--space-3); }
.post ul, .post ol { margin: var(--space-3) 0 0; padding-left: 1.4em; }
.post li + li { margin-top: 6px; }
.post li::marker { color: var(--c-brand); }
.post__cta { margin-top: var(--space-4); }
.post__cta .btn { max-width: 100%; white-space: normal; text-align: center; }

/* ---------- close ---------- */
.page-post .close-band { --focus: 50% 30%; }
