/* Studio page only. Owner: builder-studio. Small fixes the shared kit doesn't cover yet (reported to design-system):
   1. The hero portrait is a square photo. It shows square, uncropped (.mat--square in the kit since the integration pass).
   2. Above 1100px the portrait never runs past the first screen: it stops where its caption still shows.
   3. Under 900px the portrait stacks under the words and would run very tall at tablet width. It stops at a calm size.
   4. On phones the hero line steps down a touch so "One art director" stays on one row. A highlight that wraps
      draws two blocks that overlap at this line height. */
@media (min-width:1100px){
  body[data-page="studio"] .chapter--hero figure.art{max-width:max(440px,calc(100svh - var(--head-top) - var(--head-h) - clamp(56px,9vh,112px) - 96px))}
}
@media (max-width:899px){
  body[data-page="studio"] .chapter--hero figure.art{max-width:560px}
}
/* 5. Between 900 and 1199 (small laptops, tablets on their side) the hero stays side by side like desktop, so the
      first screen shows Josh next to the words instead of words over an empty right half and a cut-off photo.
      It runs past the kit's 1100 switch on purpose: from 1100 to about 1140 the kit's 5 column text side is too
      narrow for "One art director" and the highlight broke over two rows. */
@media (min-width:900px) and (max-width:1199px){
  body[data-page="studio"] .chapter--hero .split{grid-template-columns:minmax(0,min(36vw,calc(100svh - var(--head-top) - var(--head-h) - clamp(56px,9vh,112px) - 96px))) minmax(0,1fr);column-gap:4vw}
  body[data-page="studio"] .chapter--hero figure.art{max-width:none}
  body[data-page="studio"] .chapter--hero .split > .stack{grid-column:2;grid-row:1}
  body[data-page="studio"] .chapter--hero .split > figure.art{grid-column:1;grid-row:1}
}
@media (max-width:720px){
  body[data-page="studio"] .chapter--hero .t-display{font-size:min(52px,11.4vw)}
  body[data-page="studio"] .chapter--hero .t-display .hl{white-space:nowrap}
}

/* v2: six pieces of work stand in for the portrait */
.st-mosaic.wall{gap:10px}
@media (max-width:720px){.st-mosaic.wall{--wall-cols:3!important}}
