/*
  pages/about.css: sections only /about/ uses, in page order:
  page hero (.phero), our story, the people behind C5, core values.

  .phero and .ptt (inner-page hero and two-tone title) are the same on
  /about/, /services/ and /industries/. They are repeated in each of those
  page files because shared files were frozen while the pages were cloned;
  candidates to move into components.css later.
  Values are live computed styles; clamp() values copied from the live CSS.
*/

/* ---------- Inner-page hero ---------- */
.phero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(clamp(520px, 42vw, 740px) + var(--hdr-gap));
  margin-top: calc(-100px - var(--hdr-gap));
  padding: calc(80px + var(--hdr-gap)) 0 80px;
  background-color: #fff;
  background-image: linear-gradient(90deg, rgba(20, 43, 70, 0.5) 0%, rgba(20, 43, 70, 0.08) 100%), var(--phero-img);
  background-size: cover, cover;
  background-position: 50% 50%, 50% 50%;
  background-repeat: no-repeat;
}
.phero__row { display: flex; }
.phero__txt { width: 100%; max-width: 640px; color: #f5f5f5; font-size: 16px; }
@media (max-width: 767px) {
  .phero {
    justify-content: flex-start;
    min-height: 0;
    padding: calc(120px + var(--hdr-gap)) 0 calc(32px + 50vw);
    background-color: var(--navy);
    background-image: linear-gradient(90deg, rgba(20, 43, 70, 0.5) 0%, rgba(20, 43, 70, 0.08) 100%), var(--phero-img-phone, var(--phero-img));
    background-size: 0 0, 100%;
    background-position: 0 0, 50% 100%;
  }
}

/* ---------- Two-tone titles (live c5-tt) ---------- */
.ptt {
  padding: 0 0 22px;
  color: var(--navy);
  font-size: clamp(30px, 2.8vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}
.ptt__a, .ptt__b { display: block; text-wrap: balance; }
.ptt__b { color: var(--blue); }
.ptt--h1 { padding-bottom: 10px; color: #f5f5f5; font-size: clamp(32px, 4.2vw, 70px); }
.ptt--h1 .ptt__a { color: #fff; }
.ptt--h3 { padding: 0; font-size: clamp(24px, 2vw, 32px); line-height: 1.05; }
@media (max-width: 599px) {
  .ptt:not(.ptt--h1):not(.ptt--h3) { font-size: clamp(28px, 8vw, 36px); }
}

/* ---------- About page ---------- */
.phero { --phero-img: url("/assets/media/2026/10/c5-hero-about.webp"); --phero-img-phone: url("/assets/media/2026/10/c5-hero-bg-about.webp"); }

.ab-sec { padding: 80px 0; background: #fff; }
@media (max-width: 980px) { .ab-sec { padding: 52px 0; } }

.ab-eyebrow {
  padding-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 3.2px;
  text-transform: uppercase;
}


/* Our story (design pass 2026-11-20): founders photo with an inset photo
   overlapping its lower right corner, caption under it, three-line title. */
main .wrap { width: min(1320px, 100% - 2 * clamp(20px, 3.6vw, 60px)); max-width: none; }
.ab-story { padding: clamp(56px, 6vw, 96px) 0; }
.ab-story__row {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: clamp(36px, 4.4vw, 72px);
  align-items: center;
}
.ab-story__media { position: relative; margin: 0; }
.ab-story__main {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.42;
  object-fit: cover;
  object-position: 42% 50%;
  border-radius: 14px;
}
.ab-story__media figcaption {
  padding: 14px 56% 0 0;
  color: #3f4650;
  font-size: clamp(13px, 1.1vw, 16px);
  font-style: italic;
  line-height: 1.4;
}
.ab-story__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: auto;
  aspect-ratio: 1.63;
  object-fit: cover;
  border: clamp(5px, .55vw, 8px) solid #fff;
  border-radius: 14px;
  background: #fff;
}
.ab-story__txt { container-type: inline-size; color: #3f4650; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; }
.ab-story__txt > p { padding-bottom: 1.1em; }
.ab-story__h2 {
  padding: 0 0 clamp(18px, 2vw, 28px);
  color: var(--navy);
  font-size: clamp(28px, 9.8cqi, 66px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}
.ab-story__h2 span { display: block; white-space: nowrap; }
.ab-story__h2 .ab-story__blue { color: var(--blue); }
.ab-story__txt > .ab-story__founded {
  margin-top: clamp(8px, 1vw, 16px);
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 4px;
  text-transform: uppercase;
}
@media (max-width: 980px) {
  .ab-story { padding: 48px 0; }
  .ab-story__row { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ab-story__h2 { font-size: clamp(28px, 9.8cqi, 52px); }
}
@media (max-width: 599px) {
  .ab-story__inset { width: 50%; }
  .ab-story__media figcaption { padding-right: 52%; }
}

/* The people behind C5 (design pass 2026-11-20): navy band, copy left,
   team photo right, leadership names in a four-column row under a rule. */
.ab-people {
  padding: clamp(56px, 6vw, 96px) 0;
  background: radial-gradient(ellipse 70% 80% at 50% 35%, #1c3a5e 0%, #142b46 62%, #10243c 100%);
  color: #dfe7f1;
}
.ab-people__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(36px, 4.2vw, 64px);
  align-items: center;
}
/* Text left, photo right on desktop (Micah 2026-11-20); photo first on phones. */
.ab-people__img { order: 2; }
.ab-people__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.58;
  object-fit: cover;
  border-radius: 14px;
}
.ab-people__txt { container-type: inline-size; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.7; }
.ab-eyebrow--dark, .ab-people__txt > .ab-eyebrow--dark { color: #9fb0c5; }
.ab-people__h2 {
  padding: 0 0 clamp(18px, 2vw, 28px);
  color: #fff;
  font-size: clamp(28px, 10.4cqi, 72px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}
.ab-people__h2 span { display: block; white-space: nowrap; }
.ab-people__h2 .ab-people__blue { color: #5a92dc; }
.ab-leaders {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(40px, 4vw, 56px) 0 0;
  padding: clamp(28px, 2.4vw, 32px) 0 0;
  border-top: 1px solid rgba(223, 231, 241, .4);
  list-style: none;
}
.ab-leaders li { padding: 0 clamp(16px, 3cqi, 48px); border-left: 1px solid rgba(223, 231, 241, .4); }
.ab-leaders li:first-child { padding-left: 0; border-left: 0; }
.ab-leaders li:last-child { padding-right: 0; }
.ab-leaders strong {
  display: block;
  padding-bottom: 6px;
  color: #fff;
  font-size: clamp(15px, 1.95cqi, 26px);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}
.ab-leaders span { display: block; color: #8fb4e6; font-size: clamp(14px, 1.45cqi, 19px); line-height: 1.4; }
@media (max-width: 980px) {
  .ab-people { padding: 48px 0; }
  .ab-people__row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ab-people__img { order: 0; }
  .ab-people__h2 { font-size: clamp(28px, 10.4cqi, 56px); }
  .ab-leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .ab-leaders li, .ab-leaders li:last-child { padding: 0 0 0 20px; }
  .ab-leaders li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ab-leaders strong { font-size: clamp(15px, 3.4cqi, 22px); }
  .ab-leaders span { font-size: clamp(14px, 2.6cqi, 17px); }
}

/* Core values (design pass 2026-11-20): title, intro and dock photo on the
   left, the seven values in a pale card on the right, closing note below a rule. */
.ab-values { padding: clamp(56px, 6vw, 96px) 0; background: #fff; color: #3f4650; }
.ab-values__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 2.6vw, 40px);
  align-items: stretch;
}
.ab-values__lead { container-type: inline-size; min-width: 0; }
.ab-values__h2 {
  padding: 0 0 clamp(14px, 1.4vw, 20px);
  color: var(--navy);
  font-size: clamp(24px, 7.2cqi, 60px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}
.ab-values__h2 span, .ab-note__h span { display: block; white-space: nowrap; }
.ab-values__blue { color: var(--blue); }
.ab-values__intro { max-width: 34em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.65; }
.ab-values__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 725 / 412;
  margin-top: clamp(24px, 2.4vw, 36px);
  object-fit: cover;
  border-radius: 14px;
}
.ab-values__card {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 3.2vw, 48px) clamp(24px, 3vw, 46px);
  border-radius: 14px;
  background: #e8f0fa;
}
.ab-values__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 7cqi, 52px) clamp(20px, 6cqi, 48px);
  list-style: none;
}
.ab-values__list li:last-child {
  grid-column: 1 / -1;
  padding-top: clamp(24px, 5cqi, 40px);
  border-top: 1px solid #b9c8dc;
}
.ab-values__list h3 {
  padding-bottom: 8px;
  color: var(--navy);
  font-size: clamp(18px, 4.6cqi, 30px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}
.ab-values__list p { color: #2b3646; font-size: clamp(15px, 3.1cqi, 21px); line-height: 1.5; }
.ab-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 2.6vw, 40px);
  align-items: center;
  margin-top: clamp(40px, 4vw, 56px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid #d4dce5;
}
.ab-note__h {
  color: var(--navy);
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}
.ab-note p { padding-left: clamp(24px, 3vw, 46px); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.65; }
@media (max-width: 980px) {
  .ab-values { padding: 48px 0; }
  .ab-values__row { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ab-values__h2 { font-size: clamp(24px, 7.2cqi, 52px); }
  .ab-note { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ab-note p { padding-left: 0; }
}
@media (max-width: 599px) {
  .ab-values__list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ab-values__list li:last-child { padding-top: 24px; }
  .ab-values__list h3 { font-size: clamp(18px, 6.4cqi, 22px); }
  .ab-values__h2 { font-size: clamp(28px, 8.6vw, 36px); }
  .ab-values__h2 { text-wrap: balance; }
  .ab-values__h2 span { display: inline; white-space: normal; }
  .ab-values__list p { font-size: 16px; }
}

/* Current nav item: live tints it (main nav and mobile menu #f5f5f5, utility
   bar #fff). Page-scoped until chrome.css gets these rules. */
.hdr__nav a.is-current, .mnav a.is-current { color: #f5f5f5; }
.util__nav a.is-current { color: #fff; }
