/* HERO 4 placement only: keep the validated type and control dimensions. */
@media (max-width: 767px) {
  body[data-page-type="about"] .about-face-section {
    /* One reference pixel at the 402 px Figma width. */
    --portrait-unit: .2487562189vw;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: calc(874 * var(--portrait-unit));
    aspect-ratio: auto;
    padding: calc(21 * var(--portrait-unit)) calc(28 * var(--portrait-unit))
      calc(44 * var(--portrait-unit)) calc(29 * var(--portrait-unit));
  }
  body[data-page-type="about"] .about-face-heading {
    position: relative;
    grid-area: 1 / 1;
    inset: auto;
    margin: 0;
  }
  body[data-page-type="about"] .about-linkedin {
    position: relative;
    grid-area: 2 / 1;
    inset: auto;
    width: auto;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    margin: calc(31 * var(--portrait-unit)) 0 0;
  }
  body[data-page-type="about"] .about-face-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
  }
  body[data-page-type="about"] .about-face-media .about-face-image {
    object-fit: cover;
    object-position: 50.25% bottom;
  }
  body[data-page-type="about"] .about-face-divider {
    position: relative;
    grid-area: 3 / 1;
    inset: auto;
    margin: calc(481 * var(--portrait-unit)) 0 0;
  }
  body[data-page-type="about"] .about-face-quote {
    position: relative;
    grid-area: 4 / 1;
    inset: auto;
    margin: calc(56 * var(--portrait-unit)) 0 0;
  }
}

/* Share a stacking context: other names < card < its own name. */
body[data-page-type="about"] .brands-copy.is-touch-brand { z-index: auto; }
body[data-page-type="about"] .brands-copy.is-touch-brand .brand-line.in-view {
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
  transition: none;
}
body[data-page-type="about"] .brands-copy.is-touch-brand .brand-word { z-index: 3; }
body[data-page-type="about"] .brands-copy.is-touch-brand .brand-word.is-card-owner { z-index: 5; }
body[data-page-type="about"] .brands-copy.is-touch-brand .brands-kicker { position: relative; z-index: 5; }
body[data-page-type="about"] .brand-hover-card.is-touch-brand { z-index: 4; }
