/* English home page: headline sizing for the longer English hero line */
/* English home page */
.hero-copy {
  container-type: inline-size;
  --hero-heading-size: clamp(52px, 5.6vw, 84px);
}
.hero h1 { font-size: min(var(--hero-heading-size), 13cqi); }
.hero-title-line { white-space: nowrap; }
@media (min-width: 701px) and (max-width: 1000px) {
  .hero-copy { --hero-heading-size: 64px; }
}
@media (max-width: 700px) {
  .hero-copy { --hero-heading-size: clamp(44px, 12vw, 58px); }
}

.services-head h2, .signature-copy h2, .process-intro h2 {
  line-height: 1.21;
}
.contact-copy .contact-headline { line-height: 1.232; }

.signature-grid { --approach-body-size: .94rem; }
.signature-grid .signature-intro, .signature-grid .principles > div {
  font-size: var(--approach-body-size);
}
.signature-grid .principles strong, .signature-grid .principles p { color: #fff; }

@media (max-width: 700px) {
  .contact-copy .contact-headline { line-height: 1.21; }
}

@media (min-width: 1001px) {
  /* English Founder mirrors the German reference: labels, heading, biography and both quote parts share
     rows. The portrait ends with quote part one; the caption with part two. */
  html:lang(en) .founder-grid {
    grid-template-areas: none;
    grid-template-rows: repeat(6, auto);
    row-gap: 0;
  }
  html:lang(en) .founder-grid .founder-index {
    grid-area: 1 / 1 / 2 / 2;
  }
  html:lang(en) .founder-grid .founder-title {
    grid-area: 1 / 2 / 2 / 3;
  }
  html:lang(en) .founder-grid .founder-figure,
  html:lang(en) .founder-grid .founder-copy {
    display: grid;
    grid-template-areas: none;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: subgrid;
    gap: 0;
    min-height: 0;
    align-self: stretch;
  }
  html:lang(en) .founder-grid .founder-figure {
    grid-area: 2 / 1 / 7 / 2;
    position: relative;
  }
  html:lang(en) .founder-grid .founder-copy {
    grid-area: 2 / 2 / 7 / 3;
  }
  html:lang(en) .founder-copy > h2 {
    grid-row: 1;
  }
  html:lang(en) .founder-copy > p:not(.kicker) {
    margin-block: 1.4rem 0;
  }
  html:lang(en) .founder-copy > p:nth-of-type(1) {
    grid-row: 2;
  }
  html:lang(en) .founder-copy > p:nth-of-type(2) {
    grid-row: 3;
  }
  html:lang(en) .founder-copy .founder-quote {
    grid-row: 4 / 6;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: subgrid;
    gap: 0;
    margin-block: 1.4rem 0;
  }
  html:lang(en) .founder-copy .founder-quote > span:first-child {
    grid-row: 1;
    text-box: trim-end cap alphabetic;
  }
  html:lang(en) .founder-copy .founder-quote > span:last-child {
    grid-row: 2;
    align-self: end;
    /* Keep the caption's existing spacing even when the quote wraps. */
    margin-block-start: .85rem;
  }
  html:lang(en) .founder-grid .founder-caption {
    grid-area: 5 / 1 / 6 / 2;
    align-self: end;
  }
  html:lang(en) .founder-figure > .founder-portrait {
    /* Grid lines define the image box without its intrinsic height sizing
       the text rows. The focal point keeps the face inside a taller crop. */
    position: absolute;
    grid-area: 1 / 1 / 5 / 2;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 75% top;
  }
}
