/* About visual update. Loaded last and scoped to the About route only. */
body[data-route="/about"] {
  background: var(--paper);
}

body[data-route="/about"] h1,
body[data-route="/about"] h2,
body[data-route="/about"] h3 {
  text-wrap: balance;
}

body[data-route="/about"] p {
  text-wrap: pretty;
}

body[data-route="/about"] .about-hero {
  padding-block: clamp(72px, 9vw, 144px) clamp(84px, 10vw, 156px);
}

body[data-route="/about"] .about-hero .eyebrow {
  color: var(--ink);
}

body[data-route="/about"] .about-hero h1 {
  max-width: 12ch;
  color: var(--sage-dark);
  font-size: clamp(56px, 7.4vw, 100px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body[data-route="/about"] .about-hero .subhead {
  max-width: 38rem;
  margin-top: 34px;
  color: var(--ink);
}

body[data-route="/about"] .about-intro-band,
body[data-route="/about"] .about-faq-band {
  background: var(--sage-dark);
  color: var(--on-dark);
}

body[data-route="/about"] .about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: end;
  padding-block: clamp(68px, 8vw, 118px);
  border-block: 1px solid var(--light-sage);
}

body[data-route="/about"] .about-intro .section-heading,
body[data-route="/about"] .about-faq .section-heading {
  margin-bottom: 0;
}

body[data-route="/about"] .about-intro .eyebrow,
body[data-route="/about"] .about-faq .eyebrow,
body[data-route="/about"] .about-intro h2,
body[data-route="/about"] .about-faq h2,
body[data-route="/about"] .about-intro .body-large,
body[data-route="/about"] .about-intro > p,
body[data-route="/about"] .about-faq .faq,
body[data-route="/about"] .about-faq .faq-answer {
  color: var(--on-dark);
}

body[data-route="/about"] .about-intro .body-large,
body[data-route="/about"] .about-intro > p {
  max-width: 35rem;
  font-size: var(--type-body);
  line-height: 1.58;
}

body[data-route="/about"] .team-section {
  padding-block: clamp(76px, 9vw, 134px);
}

body[data-route="/about"] .team-section .section-heading {
  max-width: 40rem;
  margin-bottom: clamp(42px, 5vw, 68px);
}

body[data-route="/about"] .team-section h2 {
  color: var(--sage-dark);
}

body[data-route="/about"] .team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 228px;
  gap: 22px;
}

body[data-route="/about"] .person {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-width: 0;
  padding: 24px;
  background: var(--pale-sage);
  border: 1px solid var(--olive);
  border-radius: 24px;
}

body[data-route="/about"] .person > img {
  width: 118px;
  height: 118px;
  max-width: none;
  margin: 0;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--stone);
  border-radius: 50%;
}

body[data-route="/about"] .person > div {
  min-width: 0;
}

body[data-route="/about"] .person h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

body[data-route="/about"] .person .person-role {
  margin-top: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

body[data-route="/about"] .person p:not(.person-role) {
  margin-top: 11px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.48;
}

body[data-route="/about"] .about-faq {
  padding-block: clamp(76px, 9vw, 132px);
}

body[data-route="/about"] .about-faq .section-heading {
  max-width: 44rem;
  margin-bottom: clamp(38px, 5vw, 66px);
}

body[data-route="/about"] .about-faq .faq {
  max-width: 920px;
  border-color: var(--light-sage);
}

body[data-route="/about"] .about-faq .faq details {
  border-color: var(--light-sage);
}

body[data-route="/about"] .about-faq .faq summary {
  color: var(--on-dark);
  font-size: var(--type-body);
  padding-block: 26px;
}

body[data-route="/about"] .about-faq .faq-plus {
  color: var(--on-dark);
}

body[data-route="/about"] .about-faq .faq-answer {
  max-width: 48rem;
  padding-bottom: 30px;
  font-size: var(--type-body);
  line-height: 1.58;
}

body[data-route="/about"] .about-final-cta {
  background: var(--ink);
  color: var(--on-dark);
}

body[data-route="/about"] .about-final-cta .closing {
  margin-block: 0;
  padding-block: clamp(72px, 9vw, 128px);
  padding-inline: 0;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 0;
}

body[data-route="/about"] .about-final-cta .closing h2,
body[data-route="/about"] .about-final-cta .closing p,
body[data-route="/about"] .about-final-cta .closing .eyebrow {
  color: var(--on-dark);
}

body[data-route="/about"] .about-final-cta .closing .button {
  background: var(--ink);
  color: var(--white);
  border-color: var(--white);
}

body[data-route="/about"] .about-final-cta .closing .button:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

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

@media (max-width: 800px) {
  body[data-route="/about"] .about-hero {
    padding-block: 64px 82px;
  }

  body[data-route="/about"] .about-hero h1 {
    max-width: 10ch;
    font-size: clamp(48px, 13vw, 68px);
    letter-spacing: -0.045em;
  }

  body[data-route="/about"] .about-hero .subhead {
    margin-top: 28px;
  }

  body[data-route="/about"] .about-intro {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 58px;
  }

  body[data-route="/about"] .about-intro .body-large,
  body[data-route="/about"] .about-intro > p,
  body[data-route="/about"] .about-faq .faq-answer {
    font-size: var(--type-body);
  }

  body[data-route="/about"] .team-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
  }

  body[data-route="/about"] .person {
    min-height: 158px;
    padding: 20px;
  }

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

  body[data-route="/about"] .about-faq .faq summary {
    gap: 22px;
    padding-block: 22px;
    font-size: var(--type-body);
  }

  body[data-route="/about"] .about-final-cta .closing {
    align-items: flex-start;
    flex-direction: column;
    gap: 34px;
    padding-block: 64px;
  }
}

@media (max-width: 460px) {
  body[data-route="/about"] .person {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }

  body[data-route="/about"] .person > img {
    width: 96px;
    height: 96px;
  }

  body[data-route="/about"] .person h3 {
    font-size: 18px;
  }

  body[data-route="/about"] .person .person-role {
    font-size: 13px;
  }

  body[data-route="/about"] .person p:not(.person-role) {
    font-size: 14px;
  }
}

/* Preserve the requested two-phrase headline and readable team details. */
body[data-route='/about'] .about-hero { padding-block: 72px 88px; }
body[data-route='/about'] .about-hero h1 { max-width: none; font-size: var(--type-h1); letter-spacing: normal; }
body[data-route='/about'] .team-grid { grid-auto-rows: auto; align-items: stretch; }
body[data-route='/about'] .person { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
body[data-route='/about'] .person > img { width: 96px; height: 96px; }
body[data-route='/about'] .person h3 { font-size: 24px; }
body[data-route='/about'] .person .person-role, body[data-route='/about'] .person p:not(.person-role) { font-size: 16px; line-height: 1.45; letter-spacing: normal; }
@media(max-width:800px) {
  body[data-route='/about'] .about-hero h1 { font-size: clamp(28px,8vw,52px); max-width: none; }
  body[data-route='/about'] .person { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 18px; }
  body[data-route='/about'] .person > img { width: 82px; height: 82px; }
  body[data-route='/about'] .person h3 { font-size: 20px; }
}

body[data-route='/about'] .about-final-cta .closing { padding-inline: max(20px,calc((100vw - var(--max)) / 2)); }
