/* Step-layout case pages (Grower's Life). Each step is a numbered label, a claim headline,
   one or two short paragraphs, then images at their own sizes with captions that explain them.
   Same two-column grid as the rest of the case pages: label left, story right. */

.t-brief { border-bottom: 1px solid var(--rule-dark); }

.t-steps { display: grid; padding-bottom: var(--sc-section); }
.t-steps .frame { background: #fff; overflow: clip; box-shadow: var(--sc-e3); }
.t-steps img { display: block; width: 100%; height: auto; }
.t-steps figure { margin: 0; display: grid; gap: var(--sc-3); align-content: start; }
.t-steps figcaption { color: var(--sc-ink-soft); max-width: 52ch; text-wrap: pretty; }

.t-step {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  column-gap: var(--sc-6);
  padding: var(--sc-section) var(--sc-gutter) 0;
}
.t-step__body { display: grid; row-gap: var(--sc-7); min-width: 0; }
.t-step__num {
  align-self: start;
  position: sticky; top: calc(var(--bar) + var(--sc-6));
  color: var(--sc-ink-soft); padding-top: 0.5em;
}
.t-step__text { display: grid; gap: var(--sc-4); max-width: 40rem; }
.t-step__text h2 { font-size: var(--sc-t-3xl); text-wrap: balance; }
.t-step__text p { font-size: var(--sc-t-lg); line-height: 1.5; letter-spacing: -0.012em; color: var(--sc-ink-soft); text-wrap: pretty; }

/* Figure sizes: column width by default, wider when the detail needs room, inset when it doesn't. */
.t-fig { max-width: 52rem; }
.t-fig--wide { max-width: none; }
.t-fig--inset { max-width: 38rem; justify-self: end; }

/* Uneven pairs: the second item drops so the two never read as one block. */
.t-pair { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--sc-6); align-items: start; max-width: 60rem; }
.t-pair--even { grid-template-columns: 1fr 1fr; max-width: none; }
.t-pair--lead { grid-template-columns: 1.7fr 1fr; max-width: none; }
.t-pair__low { margin-top: var(--sc-9); }

/* Full-bleed photo between steps. */
.t-bleed { margin-top: var(--sc-section); }
.t-bleed img { height: min(82vh, 56vw); object-fit: cover; }
.t-bleed figcaption { padding-inline: var(--sc-gutter); }

/* Social posts at their real shapes, tops aligned like a row of prints. */
.t-posts { display: flex; align-items: flex-start; gap: var(--sc-5); overflow-x: auto; padding-bottom: var(--sc-2); }
.t-posts figure { flex: 0 0 auto; }
.t-posts figcaption { width: 0; min-width: 100%; }
.t-posts img { height: clamp(11rem, 15vw, 17rem); width: auto; box-shadow: var(--sc-e3); }

.t-quote {
  margin: 0; padding: var(--sc-section) var(--sc-gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); column-gap: var(--sc-6); row-gap: var(--sc-5);
}
.t-quote > * { grid-column: 2; }
.t-quote p { font-size: clamp(1.8rem, 1rem + 2.6vw, 3.4rem); line-height: 1.1; letter-spacing: -0.035em; max-width: 22ch; text-wrap: balance; }
.t-quote footer { color: var(--sc-ink-soft); }

/* Avatars: small on purpose, like they appear in a feed. */
.t-avatars__row { display: flex; gap: var(--sc-4); }
.t-steps .t-avatars img { width: 5.5rem; height: 5.5rem; border-radius: 50%; }

.t-swatches { grid-column: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 40rem; }
.t-step__text .t-stack { color: var(--sc-ink); font-size: var(--sc-t-xs); letter-spacing: 0.02em; }

@media (max-width: 860px) {
  .t-step, .t-quote { grid-template-columns: 1fr; row-gap: var(--sc-5); }
  .t-quote > * { grid-column: 1; }
  .t-step__body { row-gap: var(--sc-6); }
  .t-step__num { position: static; padding-top: 0; }
  .t-fig--inset { justify-self: stretch; max-width: none; }
  .t-pair, .t-pair--even, .t-pair--lead { grid-template-columns: 1fr; }
  .t-pair__low { margin-top: 0; }
  .t-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-posts { margin-inline: calc(var(--sc-gutter) * -1); padding-inline: var(--sc-gutter); }
}
