/* portal-cases.css: additions to the case studies and the work index (2026-11-18).
 * Loaded after portal-work.css. See cases.py for what each piece is. */

/* the outcome line, under the italic title */
body.portal-case .v6-case-head--rows > .pw-case-line { grid-column: 1 / -1; }
@media (min-width: 900px) { body.portal-case .v6-case-head--rows > .pw-case-line { grid-column: 1 / 9; grid-row: 3; } }
body.portal-case .pw-case-line {
  margin: 14px 0 0; max-width: 34ch;
  font-size: clamp(17px, 1.35vw, 20px); line-height: 1.3; letter-spacing: -.01em; color: var(--v4-ink, #000);
  text-wrap: balance;
}

/* chapter labels: the same small label the notes use, wherever a chapter starts */
body.portal-work .v6-case-text p.v6-label {
  font-size: 12px; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase;
  color: var(--v4-mute, #6B6B6B); margin: 0 0 16px;
}
body.portal-work .v6-case-text p + p.pw-chapter { margin-top: 44px; }

/* closing block: who the work ran through, then one line of offer */
body.portal-case .pw-case-close p:not(.v6-label) { font-size: 16px; line-height: 1.45; letter-spacing: -.005em; }
body.portal-case .pw-case-close .pw-case-offer { margin-top: 20px; color: var(--v4-mute, #6B6B6B); }
body.portal-case .pw-case-close .pw-case-offer a { color: var(--v4-ink, #000); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; white-space: nowrap; }

/* work index: one line of what each project did, and a label where the second group starts */
body.portal-work .pw-plate-line {
  display: block; margin: 8px auto 0; max-width: 34ch; text-align: center;
  font-size: 15px; line-height: 1.35; letter-spacing: -.005em; text-transform: none; color: var(--v4-ink, #000);
  text-wrap: balance;
}
body.portal-work .pw-reel-label {
  margin: clamp(48px, 9vw, 140px) 0 0; padding: 0 var(--v6-gutter, 20px);
  font: 400 clamp(1.5rem, 3vw, 2.5rem)/1.1 "Nyght Serif Light Italic", Georgia, serif; letter-spacing: -.02em;
}

/* tiles for Portal-only cases carry a set name where the others carry a client logo */
body.portal-work .pw-plate-word { font: 500 22px/1 "Rethink Sans", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.03em; color: var(--v4-ink, #000); opacity: .82; }
