/* Journal: the list at /journal/ and the posts under it. Uses the shared tokens only. */

/* ---------- Journal list ---------- */
.journal-hero .phero__pea { width: clamp(130px, 18vw, 190px); }
.journal-hero h1 { margin-top: 14px; }
.journal-list { padding-block: 0 clamp(40px, 6vw, 72px); }
.journal-list .posts { margin-top: 0; }

/* ---------- Post header ---------- */
.post-hero { padding-bottom: clamp(30px, 5vw, 52px); }
.post-hero .phero__pea { width: clamp(140px, 19vw, 210px); margin-bottom: 14px; }
.post-hero .post-meta { display: block; }
.post-hero h1 { max-width: 13ch; margin: 16px auto 0; font-size: clamp(40px, 6vw, 76px); text-wrap: balance; }
.post-hero .lede { max-width: 34ch; }
.post-hero .byline { margin-top: 22px; }
.post-hero .byline b { color: var(--ink); font-weight: 700; }

/* ---------- Post body ---------- */
.post-body { padding-block: 0; }
.post-body .prose { padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.post-body .prose > p:first-child { font-size: clamp(20px, 2.3vw, 22px); line-height: 1.55; color: var(--ink); }
.post-body .prose blockquote { color: var(--pea); text-wrap: balance; }
.post-end { text-wrap: balance; padding-top: 6px; font: 800 clamp(22px, 2.6vw, 27px)/1.25 var(--display); letter-spacing: -.02em; color: var(--ink); }

/* ---------- Meet Pea: a small card after each post's first section, for readers who arrive cold ---------- */
.prose .meet { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 18px; margin: 2em 0 .4em; padding: 14px 18px 14px 14px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.prose .meet + h2 { margin-top: 1.5em; }
.meet__pea { width: 62px; height: auto; margin: -4px 0 -2px; filter: drop-shadow(0 8px 10px rgba(34, 56, 26, .18)); }
.meet__txt { display: grid; gap: 3px; min-width: 0; }
.meet__h { font: 800 23px/1.05 var(--display); letter-spacing: -.035em; color: var(--ink); }
.meet__txt span { font-size: 16px; line-height: 1.35; color: var(--muted); }
.prose .meet__btn { padding: 12px 18px; font-size: 15.5px; text-decoration: none; }
.prose .meet__btn svg { width: 16px; height: 16px; color: var(--pea); }
@media (max-width: 600px) {
  .prose .meet { grid-template-columns: auto 1fr; padding: 14px 16px 16px 14px; }
  .meet__pea { width: 54px; }
  .prose .meet__btn { grid-column: 1 / -1; width: 100%; }
}

/* ---------- Make Pea yours ---------- */
.post-cta { padding-block: clamp(48px, 7vw, 80px) 0; }
.post-cta__box { position: relative; max-width: 680px; margin-inline: auto; padding: 34px 24px 32px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; overflow: hidden; }
.post-cta__box::before { content: ""; position: absolute; left: 50%; top: -40%; width: 520px; aspect-ratio: 1.4; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 50%, rgba(199, 222, 168, .65), transparent 66%); pointer-events: none; }
.post-cta__box > * { position: relative; }
.post-cta__pea { width: 104px; margin: 0 auto 10px; filter: drop-shadow(0 12px 14px rgba(34, 56, 26, .18)); }
.post-cta h2 { margin-top: 12px; font: 800 clamp(32px, 4.4vw, 46px)/1 var(--display); letter-spacing: -.04em; }
.post-cta .price-note { margin-top: 12px; }
.post-cta .cta-row { margin-top: 22px; }

/* ---------- Keep reading ---------- */
.post-more { padding-block: clamp(56px, 8vw, 96px) 0; }
.post-more .shead h2 { margin-top: 12px; font: 800 clamp(32px, 4.4vw, 46px)/1 var(--display); letter-spacing: -.04em; }
.post-more .posts { max-width: 680px; margin-top: 28px; }
.post-more .post-card { grid-template-columns: 112px 1fr; gap: 22px; padding: 18px 22px; }
.post-more .post-card img { width: 112px; height: 112px; border-radius: 18px; }
.post-more .post-card h3 { margin-top: 9px; font: 800 clamp(22px, 2.6vw, 27px)/1.05 var(--display); letter-spacing: -.03em; }
.post-more .post-card p { margin-top: 6px; font-size: 16px; }

.post-card:focus-visible { outline: 3px solid var(--pea-hi); outline-offset: 3px; }

@media (max-width: 600px) {
  .post-card { gap: 14px; padding: 18px 18px 20px; }
  .post-card img { width: 104px; height: 104px; }
  .post-more .post-card { grid-template-columns: 84px 1fr; gap: 16px; padding: 16px; align-items: center; }
  .post-more .post-card img { width: 84px; height: 84px; padding: 6px; border-radius: 14px; }
  .post-more .post-card p { display: none; }
  .post-body .prose { font-size: 18px; }
}
