/* November 2 alignment corrections. Load after legacy About and alignment.css.
   Preserve the approved palette, native FAQ behavior, focus and reduced motion. */
@media screen {
  body[data-route="/about"] .about-hero,
  body[data-route="/about"] .about-intro,
  body[data-route="/about"] .team-section,
  body[data-route="/about"] .about-faq,
  body[data-route="/about"] .about-final-cta .closing {
    padding-block: 96px;
  }

  body[data-route="/about"] .about-hero {
    display: block;
  }

  body[data-route="/about"] .about-hero-copy,
  body[data-route="/about"] .section-heading,
  body[data-route="/about"] .about-final-cta .closing > div {
    container-type: inline-size;
    min-width: 0;
  }

  body[data-route="/about"] .about-hero-copy {
    width: 100%;
  }

  body[data-route="/about"] .about-hero h1 {
    max-width: none;
    margin: 0;
    text-wrap: balance;
  }

  body[data-route="/about"] .about-title-phrase {
    display: block;
  }

  body[data-route="/about"] .about-hero .eyebrow,
  body[data-route="/about"] .section-heading .eyebrow,
  body[data-route="/about"] .about-final-cta .closing .eyebrow {
    margin: 0 0 16px;
  }

  body[data-route="/about"] .about-hero .subhead {
    max-width: 68ch;
    margin: 24px 0 0;
    line-height: 1.5;
    text-wrap: pretty;
  }

  body[data-route="/about"] .section-heading h2 {
    margin: 0;
    text-wrap: balance;
  }

  body[data-route="/about"] .section-heading .body-large {
    max-width: 68ch;
    margin: 24px 0 0;
    line-height: 1.5;
    text-wrap: pretty;
  }

  body[data-route="/about"] .about-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
    align-items: center;
  }

  body[data-route="/about"] .about-intro .section-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    max-width: none;
    margin: 0;
  }

  body[data-route="/about"] .about-intro > p {
    display: flex;
    align-items: center;
    align-self: stretch;
    min-width: 0;
    max-width: 68ch;
    margin: 0;
    line-height: 1.5;
    text-wrap: pretty;
  }

  body[data-route="/about"] .team-section .section-heading,
  body[data-route="/about"] .about-faq .section-heading {
    max-width: none;
    margin-bottom: 32px;
  }

  /* Every card shares the same image, name, role and biography rows.
     Rows grow to the longest biography; no copy is truncated or clamped. */
  body[data-route="/about"] .team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 32px;
    align-items: stretch;
  }

  body[data-route="/about"] .person {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 96px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    min-width: 0;
    min-height: 0;
    padding: 24px;
    border-radius: 24px;
    text-align: left;
  }

  body[data-route="/about"] .person > img {
    display: block;
    width: 96px;
    height: 96px;
    max-width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    margin: 0;
  }

  body[data-route="/about"] .person > div {
    display: grid;
    grid-template-rows: auto minmax(48px, auto) minmax(72px, 1fr);
    gap: 16px;
    align-items: start;
    min-width: 0;
  }

  body[data-route="/about"] .person h3 {
    margin: 0;
    line-height: 1.2;
    text-wrap: balance;
  }

  body[data-route="/about"] .person .person-role,
  body[data-route="/about"] .person p:not(.person-role) {
    margin: 0;
    max-width: 68ch;
    font-size: var(--type-small);
    line-height: 1.5;
    letter-spacing: normal;
    text-wrap: pretty;
  }

  body[data-route="/about"] .about-faq .faq {
    max-width: 68ch;
  }

  body[data-route="/about"] .about-faq .faq summary {
    gap: 24px;
    padding-block: 24px;
  }

  body[data-route="/about"] .about-faq .faq-answer {
    max-width: 68ch;
    padding-bottom: 24px;
    line-height: 1.5;
  }

  body[data-route="/about"] .about-faq .faq-answer p {
    max-width: 68ch;
    margin: 0;
    line-height: 1.5;
    text-wrap: pretty;
  }

  body[data-route="/about"] .about-final-cta .closing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 64px;
    width: min(1200px, calc(100% - 64px));
    max-width: 1200px;
    margin-inline: auto;
    margin-block: 0;
    padding-inline: 0;
  }

  body[data-route="/about"] .about-final-cta .closing p:not(.eyebrow) {
    max-width: 68ch;
    margin: 24px 0 0;
    line-height: 1.5;
    text-wrap: pretty;
  }

  @media (max-width: 1040px) and (min-width: 801px) {
    body[data-route="/about"] .team-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 800px) {
    body[data-route="/about"] .about-hero,
    body[data-route="/about"] .about-intro,
    body[data-route="/about"] .team-section,
    body[data-route="/about"] .about-faq,
    body[data-route="/about"] .about-final-cta .closing {
      padding-block: 64px;
    }

    body[data-route="/about"] .about-title-phrase {
      display: inline;
    }

    body[data-route="/about"] .about-intro,
    body[data-route="/about"] .team-grid,
    body[data-route="/about"] .about-final-cta .closing {
      grid-template-columns: minmax(0, 1fr);
      text-align: left;
    }

    body[data-route="/about"] .about-intro,
    body[data-route="/about"] .team-grid {
      gap: 24px;
    }

    body[data-route="/about"] .about-final-cta .closing {
      gap: 32px;
      justify-items: start;
    }
  }
}

/* November 3: Matter credit and the named introductory box only. */
body[data-route='/about'] .about-hero-matter { display: block; height: 34px; width: auto; margin: 0 0 16px; background: none; }
body[data-route='/about'] .about-intro { align-items: start; }
body[data-route='/about'] .about-intro .section-heading { justify-content: flex-start; align-self: start; }
body[data-route='/about'] .about-intro > p { display: block; align-self: start; }
