/* Approved Option 3 adapter: composition stays in generated about-page.css.
   Body typography stays in global tokens. Live header/footer styles stay untouched. */
.about-prototype {
  --about-header-height: 61px;
  --about-nav-height: 55px;
}

.about-prototype .about-hero {
  border-bottom: 0;
}

.about-prototype .about-hero::before,
.about-prototype .about-hero::after {
  content: none;
}

.about-prototype .about-in-page-nav {
  top: var(--about-header-height);
  z-index: 18;
}

.about-prototype section[id] {
  scroll-margin-top: calc(
    var(--about-header-height) + var(--about-nav-height) + 18px
  );
}

.about-prototype .about-scroll-progress {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.about-prototype .about-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--aa-teal);
  transform: scaleX(0);
  transform-origin: left;
}

/* Remove ancestor clipping so the original side cards really stick while scrolling. */
.about-prototype .about-ai-section {
  overflow: visible;
}

.about-prototype .about-foundation-side,
.about-prototype .about-leader-identity {
  position: relative;
  align-self: stretch;
  min-width: 0;
}

.about-prototype .about-side-sticky,
.about-prototype .about-ai-diagram,
.about-prototype .about-leader-sticky {
  top: calc(var(--about-header-height) + var(--about-nav-height) + 24px);
}

.about-prototype .about-ai-diagram {
  align-self: start;
}

/* Photo replaces only the placeholder monogram; preserve the prototype identity rail. */
.about-prototype .about-leader-photo-frame {
  padding: 0;
  isolation: isolate;
}

.about-prototype .about-leader-photo-frame::before {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(
    180deg,
    rgb(11 44 66 / 40%),
    transparent 22%,
    transparent 78%,
    rgb(11 44 66 / 78%)
  );
  z-index: 1;
}

.about-prototype .about-leader-photo-frame::after {
  content: none;
}

.about-prototype .about-leader-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.about-prototype .about-leader-frame-top,
.about-prototype .about-leader-frame-bottom {
  position: absolute;
  left: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--aa-white);
  font-size: 9px;
  font-weight: 750;
  line-height: 14px;
  letter-spacing: 0.14em;
}

.about-prototype .about-leader-frame-top {
  top: 24px;
}

.about-prototype .about-leader-frame-bottom {
  bottom: 24px;
}

/* Every ordinary paragraph, including the introductory paragraph, is Body, not Lead. */
#root .about-prototype p {
  font-family: var(--aa-font);
  font-size: var(--aa-body-size);
  font-weight: var(--aa-body-weight);
  line-height: var(--aa-body-line);
  letter-spacing: var(--aa-body-track);
  color: var(--aa-text-body);
  margin-top: 0;
  margin-bottom: 16px;
}

#root .about-prototype .about-hero-lead p,
#root .about-prototype .about-cap-content p {
  margin-bottom: 0;
}

/* Aprille requested Body Paragraph for About copy, including these four cards. */
#root .about-prototype .about-principles .about-principle p {
  font-size: var(--aa-body-size);
  font-weight: var(--aa-body-weight);
  line-height: var(--aa-body-line);
  letter-spacing: var(--aa-body-track);
}

/* The pointed Technology sentence uses the requested compact emphasis role. */
#root .about-prototype .about-intro-copy > .about-precise-line {
  font-size: 20px;
  font-weight: 600;
  line-height: 27px;
  letter-spacing: -0.2px;
}

#root .about-prototype .about-ai-section h2,
#root .about-prototype .about-ai-section p,
#root .about-prototype .about-closing h2,
#root .about-prototype .about-closing p {
  color: var(--aa-white);
}

#root .about-prototype .about-on-dark h3 {
  color: var(--aa-pale);
}

#root .about-prototype .about-foundation .about-section-title h3,
#root .about-prototype .about-standards-section .about-section-title h3 {
  color: var(--aa-navy);
}

/* Quoted statements are explicit editorial callouts, not lead/narrative paragraphs. */
#root .about-prototype .about-pullquote p {
  font-size: var(--aa-h3-size);
  font-weight: var(--aa-h3-weight);
  line-height: var(--aa-h3-line);
  letter-spacing: var(--aa-h3-track);
  margin-bottom: 0;
}

#root .about-prototype .about-brand-closing p {
  font-size: var(--aa-body-size);
  line-height: var(--aa-body-line);
}

/* Small labels require darker global tokens on pale/white backgrounds. */
.about-prototype
  :is(
    .about-hero-descriptor,
    .about-nav-label,
    .about-page-nav-links a,
    .about-arch-no,
    .about-arch-node small,
    .about-arch-mid-title,
    .about-arch-mid-sub,
    .about-arch-tracks span,
    .about-architecture-top,
    .about-architecture-foot,
    .about-hero-baseline,
    .about-side-top,
    .about-method-desc,
    .about-side-bottom,
    .about-section-index,
    .about-section-index span,
    .about-resolve-mini-flow span,
    .about-resolve-mini-flow b,
    .about-cap-num,
    .about-principle-no,
    .about-leader-role
  ) {
  color: var(--aa-navy);
}

.about-prototype .about-eyebrow,
.about-prototype .about-eyebrow span:last-child {
  color: var(--aa-navy);
}

.about-prototype .about-ai-section .about-section-index,
.about-prototype .about-ai-section .about-section-index span,
.about-prototype .about-closing-label,
.about-prototype .about-closing-label span {
  color: var(--aa-white);
}

.about-prototype .about-page-nav-links a:hover {
  color: var(--aa-navy);
}

.about-prototype .about-primary-button {
  background: var(--aa-navy);
  border: 1px solid rgb(255 255 255 / 50%);
  color: var(--aa-white);
}

.about-prototype .about-primary-button:hover {
  background: var(--aa-white);
  color: var(--aa-navy);
}

.about-prototype .about-intro-statement,
.about-prototype .about-content-section,
.about-prototype .about-ai-section,
.about-prototype .about-capabilities-section,
.about-prototype .about-leadership-section,
.about-prototype .about-standards-section,
.about-prototype .about-closing {
  padding-top: 56px;
  padding-bottom: 64px;
}

.about-prototype .about-section-head {
  grid-template-columns: 1fr;
  gap: 0;
}

.about-prototype .about-section-title {
  text-align: left;
}

.about-prototype .about-section-title h2,
.about-prototype .about-section-title h3,
.about-prototype .about-section-title p {
  margin-left: 0;
  margin-right: auto;
}

@media (max-width: 759px) {
  .about-prototype .about-section-head {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* The generated prototype no longer contains section pagination labels. */
.about-prototype .about-section-index {
  display: none;
}

.about-prototype .about-section-head {
  margin-bottom: 32px;
}

.about-prototype .about-hero-inner {
  min-height: 510px;
}

.about-prototype .about-hero-architecture {
  min-height: 420px;
}

.about-prototype .about-capability-list,
.about-prototype .about-capability-summary {
  margin-left: 0;
}

.about-prototype .about-intro-copy > .about-quote-intro {
  margin-top: 0;
}

.about-prototype .about-principles .about-principle {
  text-align: left;
  padding: 28px 24px;
  min-height: 0;
  grid-column: auto;
}

.about-prototype .about-principles .about-principle:last-child {
  grid-column: auto;
}

.about-prototype .about-principles .about-principle h3 {
  margin: 0 0 12px;
  padding-right: 16px;
}

@media (max-width: 759px) {
  .about-prototype .about-container {
    width: calc(100% - 42px);
  }
  .about-prototype .about-foundation-grid,
  .about-prototype .about-ai-grid,
  .about-prototype .about-resolve-layout,
  .about-prototype .about-leader-grid,
  .about-prototype .about-closing-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .about-prototype .about-foundation-grid,
  .about-prototype .about-ai-grid {
    margin-left: 0;
  }
  .about-prototype .about-principles {
    grid-template-columns: 1fr;
    margin-left: 0;
  }
  .about-prototype .about-principles .about-principle {
    padding: 24px 23px;
  }
  .about-prototype .about-side-sticky,
  .about-prototype .about-ai-diagram,
  .about-prototype .about-leader-sticky {
    position: static;
  }
  .about-prototype .about-ai-diagram {
    width: 100%;
    align-self: stretch;
  }
  .about-prototype .about-hero-inner {
    min-height: 0;
  }
  .about-prototype .about-hero-architecture {
    min-height: 343px;
  }
  .about-prototype .about-leader-identity,
  .about-prototype .about-leader-image {
    width: 100%;
  }
  .about-prototype .about-leader-image {
    height: 380px;
  }
  .about-prototype .about-page-nav-inner {
    gap: 18px;
    min-height: 51px;
  }
  .about-prototype .about-nav-label {
    flex: 0 0 auto;
  }
  .about-prototype .about-page-nav-links {
    min-width: 0;
    gap: 20px;
  }
  .about-prototype .about-intro-statement,
  .about-prototype .about-content-section,
  .about-prototype .about-ai-section,
  .about-prototype .about-capabilities-section,
  .about-prototype .about-leadership-section,
  .about-prototype .about-standards-section,
  .about-prototype .about-closing {
    padding-top: 42px;
    padding-bottom: 48px;
  }
  .about-prototype .about-section-head {
    margin-bottom: 28px;
  }
  .about-prototype .about-intro-copy > .about-quote-intro {
    margin-top: 24px;
  }
  .about-prototype .about-ai-quote {
    margin-left: 0;
    margin-top: 28px;
    padding-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-prototype *,
  .about-prototype *::before,
  .about-prototype *::after {
    scroll-behavior: auto;
    transition: none;
    animation: none;
  }
}
