/* Shared text layout: keep real words intact and avoid short final lines. */
:where(h1,h2,h3,h4,.h-display,.h2,.project-caption>strong){
  word-break:normal;
  overflow-wrap:normal;
  hyphens:manual;
  text-wrap:balance;
}
:where(main p,.studio-footer p,.footer p){text-wrap:pretty}
.process-section p,#equipment .equipment-card p{text-wrap:balance}
#project-gallery .project-card .project-caption>strong,
#equipment .equipment-card h3{overflow-wrap:normal;word-break:normal;hyphens:manual}
.hero-description{
  /* The three translations share one vertical rhythm, including after switching. */
  min-block-size:calc(3 * 1.65em);
  min-block-size:3lh;
}
.hero-eyebrow{text-wrap:balance}
.hero-copy,.course-title-block,.course-intro,.equipment-card,.project-caption{min-inline-size:0}
.svc-card,.svc-card>div{min-inline-size:0}
@media(max-width:374px){
  .hero-eyebrow{min-block-size:calc(2lh + var(--space-2) * 2 + var(--border-width) * 2)}
}
/* A narrow two-column film grid cannot fit full project names at readable sizes. */
@media(max-width:359px){
  #project-gallery{grid-template-columns:minmax(0,1fr)}
  #project-gallery .project-card{max-inline-size:100%}
}
