/* About hero layout — 2026-10-27 v4
   Desktop: lift portrait slightly to leave breathing room below.
   Mobile: show the whole portrait without cropping the head. */
@media (min-width: 769px) {
  html body .file-about .about-file-hero.about-file-hero-text {
    display: grid !important;
    grid-template-columns: minmax(0, 1.38fr) minmax(430px, .92fr) !important;
    grid-template-rows: auto !important;
    column-gap: clamp(36px, 3.2vw, 62px) !important;
    align-items: stretch !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 88px var(--gutter) 0 !important;
    overflow: hidden !important;
  }

  html body .file-about .about-file-hero.about-file-hero-text h1 {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(88px, 7.5vw, 144px) !important;
    line-height: .88 !important;
    letter-spacing: -.045em !important;
    text-wrap: nowrap !important;
  }

  html body .file-about .about-hero-photo {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: end !important;
    justify-self: stretch !important;
    width: 100% !important;
    height: clamp(470px, 43vw, 690px) !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    transform: translateY(-24px) !important;
  }

  html body .file-about .about-hero-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 44% !important;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  html body .file-about .about-file-hero.about-file-hero-text {
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, .8fr) !important;
    column-gap: 30px !important;
  }
  html body .file-about .about-file-hero.about-file-hero-text h1 {
    font-size: clamp(72px, 8.7vw, 102px) !important;
    align-self: center !important;
    margin: 0 !important;
  }
  html body .file-about .about-hero-photo {
    height: clamp(420px, 52vw, 570px) !important;
  }
}

@media (max-width: 768px) {
  html body .file-about .about-file-hero.about-file-hero-text {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 88px var(--gutter) 0 !important;
    overflow: visible !important;
  }

  html body .file-about .about-file-hero.about-file-hero-text h1 {
    width: 100% !important;
    margin: 0 0 32px !important;
    font-size: clamp(42px, 12vw, 54px) !important;
    line-height: .94 !important;
    letter-spacing: -.035em !important;
    text-wrap: balance !important;
  }

  html body .file-about .about-hero-photo {
    width: calc(100% + 2 * var(--gutter)) !important;
    height: auto !important;
    aspect-ratio: auto !important;
    margin: 0 calc(-1 * var(--gutter)) !important;
    overflow: visible !important;
    background: transparent !important;
  }

  html body .file-about .about-hero-photo img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
  }
}
