/* =============================ABOUT US
   Builds on css/platform-engineering.css (tokens, type, reveals, .pe-wrap, .pe-intro-grid).
   Every rule is scoped to the about page's own .ab-* classes. */

/* ---------- hero ---------- */
.ab-hero {
  padding-bottom: 10rem;
}

.ab-h1 {
  font-size: clamp(4rem, 6vw, 8.8rem);
  line-height: 1.02;
}

.pe-intro-grid.ab-since {
  margin-top: 6.4rem;
}

.pe .ab-lead {
  font-size: 1.8rem;
  line-height: 1.65;
  color: var(--pe-text);
  max-width: 880px;
}

.pe-media.ab-office {
  margin-top: 7rem;
}

.ab-stats {
  margin-top: 10rem !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
}

.ab-stats strong {
  display: block;
  font-size: clamp(4.4rem, 4.4vw, 6.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.pe .ab-stats h2 {
  position: relative;
  margin-top: 2.4rem;
  padding-bottom: 1.8rem;
  font-size: 2rem;
  font-weight: 500;
}

/* divider between label and description, drawn in on reveal */
.ab-stats h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--pe-line);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--pe-ease);
  transition-delay: calc(var(--d, 0s) + .2s);
}

.ab-stats li.is-in h2::after,
html:not(.pe-js) .ab-stats h2::after {
  transform: scaleX(1);
}

.ab-stats p {
  margin-top: 1.8rem !important;
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--pe-text);
  max-width: 400px;
}

/* ---------- shared body copy ---------- */
.ab-copy {
  margin-top: 4rem;
}

.ab-copy p {
  font-size: 1.7rem;
  line-height: 1.75;
  color: var(--pe-text);
  max-width: 880px;
}

.ab-copy p + p {
  margin-top: 3rem;
}

/* ---------- what we do ---------- */
.ab-do {
  padding-top: 10rem;
  background: #F0F1EB;
}

/* full-bleed photo strip: Medtech / Edtech / Fintech */
.ab-industries {
  margin-top: 10rem !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #F0F1EB;
}

.ab-industries li {
  position: relative;
  height: clamp(200px, 18.5vw, 340px);
  overflow: hidden;
  background: #d9d8d2;
}

.ab-industries img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--pe-ease);
}

.ab-industries li::after {
  content: "";
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .45));
  pointer-events: none;
}

.ab-industries h3 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.6rem;
  z-index: 1;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 400;
  color: #fff;
  transition: transform .6s var(--pe-ease);
}

.ab-industries li:hover img {
  transform: scale(1.06);
}

.ab-industries li:hover h3 {
  transform: translateY(-4px);
}

.ab-trio em {
  font-size: 1.3rem;
  color: var(--pe-text);
}

/* ---------- our people ---------- */
.ab-people {
  padding: 10rem 0;
}

.ab-trio {
  margin-top: 7.6rem !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
}

.ab-trio li {
  position: relative;
  padding-top: 2.8rem;
}

.ab-trio li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--pe-line);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--pe-ease);
  transition-delay: calc(var(--d, 0s) + .1s);
}

.ab-trio li.is-in::before,
html:not(.pe-js) .ab-trio li::before {
  transform: scaleX(1);
}

.ab-trio h3 {
  margin-top: 2.4rem;
  font-size: 2.4rem;
  font-weight: 400;
}

/* ---------- guiding belief ---------- */
.ab-belief {
  position: relative;
  padding: 10rem 0 9rem;
  color: #fff;
  /* dark wash over the mountain photo; falls back to plain dark if the photo is missing */
  background:
    linear-gradient(rgba(38, 38, 34, .86), rgba(38, 38, 34, .86)),
    url("../assets/images/bg-about.webp") center / cover no-repeat,
    var(--pe-dark);
}

.ab-belief .pe-eyebrow {
  color: #c9c9c1;
}

.ab-belief-title {
  font-size: clamp(5.6rem, 7vw, 9rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
}

.pe .ab-belief-text {
  margin-top: 4rem;
  max-width: 840px;
  font-size: 1.7rem;
  line-height: 1.75;
  color: #C4C8BD;
}

.pe .ab-closing {
  margin-top: 8.4rem;
  padding-top: 8.4rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  text-align: center;
  font-size: clamp(2.4rem, 2.5vw, 3rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: #fff;
}

.ab-closing span {
  color: #b5b8ae;
}

/* =============================RESPONSIVE */
@media (max-width: 900px) {
  .ab-hero { padding-bottom: 7rem; }
  .pe-intro-grid.ab-since { margin-top: 4rem; }
  .ab-stats { margin-top: 6rem !important; grid-template-columns: 1fr; gap: 4rem; }
  .ab-do { padding-top: 7rem; }
  .ab-people { padding: 7rem 0; }
  .pe-media.ab-office { margin-top: 4.8rem; }
  .ab-industries { margin-top: 6rem !important; }
  .ab-trio { margin-top: 5rem !important; grid-template-columns: 1fr; }
  .ab-trio { gap: 3.2rem; }
  .ab-belief { padding: 7rem 0; }
  .pe .ab-closing { margin-top: 6rem; padding-top: 6rem; }
}

@media (max-width: 600px) {
  .ab-h1 { font-size: 3.6rem; }
  .pe .ab-lead { font-size: 1.6rem; }
  .ab-stats strong { font-size: 3.6rem; }
  .ab-copy { margin-top: 2.8rem; }
  .ab-copy p { font-size: 1.5rem; }
  .ab-industries { grid-template-columns: 1fr; }
  .ab-industries li { height: 200px; }
  .ab-trio h3 { font-size: 2rem; }
  .ab-belief-title { font-size: 4.8rem; }
  .pe .ab-belief-text { margin-top: 2.8rem; font-size: 1.5rem; }
  .pe .ab-closing { font-size: 2.2rem; }
}
