/* ==========================================================================
   Blog post
   ========================================================================== */

.post { padding-bottom: var(--section-pad); }
.post__head {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  padding-top: var(--space-8);
  padding-bottom: var(--space-7);
}
.post__back { margin-bottom: var(--space-2); }
.post__title { font-size: var(--text-heading); line-height: var(--leading-heading); letter-spacing: var(--tracking-heading); }
.post__byline { font-size: var(--text-body); font-weight: 500; color: var(--color-text-secondary); }
.post__figure { margin-bottom: var(--space-7); }
.post__figure .media { border: var(--stroke); }
.post__credit { margin-top: var(--space-2); font-size: var(--text-eyebrow); color: var(--color-text-secondary); }
.post__prose { padding-top: var(--space-7); border-top: var(--stroke); }
.post__prose > .lede { font-size: var(--text-body); color: var(--color-brand-deep); }
.post__prose > h3 { font-weight: 700; }
.post__sources { margin-top: var(--space-6); font-size: var(--text-eyebrow); line-height: var(--leading-body); color: var(--color-text-secondary); }

.arrow-link--back .icon { order: -1; }
.arrow-link--back:hover .icon { transform: translateX(-4px); }
.arrow-link--back:hover { background-size: calc(100% - var(--icon-md) - var(--space-2)) 1px; background-position: right calc(100% - 0.6em); }

/* Shoppable price-tag cards (inserted by post.js) */
.post__prose > .tag-card-wrap { margin-block: var(--space-6); max-width: 30rem; }
.in-post { display: grid; gap: var(--space-4); margin-top: var(--space-8); }
.in-post .tag-card-wrap { max-width: 30rem; }

/* Manifesto blocks */
.pete {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));   /* two columns where a 160px column fits, one on a 320px screen (round 227) */
  margin: var(--space-6) 0;
  padding: 0;
  list-style: none;
  border-top: var(--stroke);
  border-left: var(--stroke);
}
.pete li {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4);
  border-right: var(--stroke);
  border-bottom: var(--stroke);
}
.pete b { font-family: var(--font-display); font-size: var(--text-subheading); font-weight: 600; color: var(--color-brand-deep); }
.pete span { font-size: var(--text-eyebrow); font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-brand); }
@media (min-width: 48em) { .pete { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pull {
  margin: var(--space-8) 0;
  padding: var(--space-2) 0 var(--space-2) var(--space-6);
  border-left: var(--stroke);
}
.pull p {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 700;
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  color: var(--color-text);
  text-wrap: balance;
}
.believe { display: grid; gap: 0; padding: 0; list-style: none; border-top: var(--stroke); }
.believe li { padding-block: var(--space-4); border-bottom: var(--stroke); color: var(--color-text-secondary); }
.believe b { display: block; margin-bottom: var(--space-1); font-family: var(--font-display); font-size: var(--text-subheading); font-weight: 600; color: var(--color-brand-deep); }
.build-steps { display: grid; gap: var(--space-4); padding: 0; list-style: none; counter-reset: step; }
.build-steps li {
  position: relative;
  padding: var(--space-5) var(--space-5) var(--space-5) calc(var(--space-5) + 2.5rem);
  background-color: var(--color-surface);
  border: var(--stroke);
  border-radius: var(--radius-sm);
  counter-increment: step;
}
.build-steps li::before {
  content: counter(step);
  position: absolute;
  left: var(--space-5);
  top: var(--space-5);
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-on-dark);
  background-color: var(--color-brand);
  border-radius: var(--radius-pill);
}
.build-steps h3 { font-size: var(--text-subheading); font-weight: 600; margin-bottom: var(--space-2); }
.build-steps p { color: var(--color-text-secondary); }

/* Post end + read next */
.post-end {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
  margin-top: var(--space-9);
  padding: var(--space-6);
  background-color: var(--color-highlight);
  border: var(--stroke);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hard);
}
.post-end p { font-size: var(--text-body); line-height: var(--leading-body); color: var(--color-brand-deep); max-width: 34em; }
.read-next { display: grid; gap: var(--space-5); justify-items: start; margin-top: var(--space-10); }
.read-next__title { font-family: var(--font-body); font-size: var(--text-eyebrow); font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-brand); }
.read-next__list { display: grid; gap: var(--space-4); width: 100%; margin: 0; padding: 0; list-style: none; }
.read-next__list:empty { display: none; }
.read-next__list a {
  display: grid;
  gap: var(--space-2);
  height: 100%;
  padding: var(--space-5);
  color: var(--color-text);
  text-decoration: none;
  background-color: var(--color-surface);
  border: var(--stroke);
  border-radius: var(--radius-sm);
  transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out);
}
.read-next__list a:hover { background-color: var(--black); }
.read-next__list a:hover .read-next__meta, .read-next__list a:hover .read-next__name { color: var(--neutral-0); }
.read-next__meta { font-size: var(--text-eyebrow); font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-brand); }
.read-next__name { font-family: var(--font-display); font-size: var(--text-subheading); font-weight: 600; line-height: var(--leading-subheading); color: var(--color-brand-deep); }
@media (min-width: 48em) { .read-next__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
