/* Apex About — founder-led editorial narrative.
   The page moves from a human opening through three history chapters into
   deep navy principles, then returns to the people and proof behind the work. */

/* The shared layer clips main for horizontal homepage scenes. About needs a
   true scroll container so the principles introduction can remain sticky. */
.ap-page main { overflow: visible; }

/* --------------------------------------------------------- Founder opening */

/* Fine architectural frames sit at the portrait edge, away from the face. */
.ap-founder-geometry{position:absolute;inset:0;z-index:3;pointer-events:none;perspective:900px;overflow:hidden;}
.ap-founder-geometry i{position:absolute;right:-8%;bottom:8%;width:clamp(170px,22vw,360px);aspect-ratio:1;border:1px solid #c6e7ffa0;transform:rotateX(24deg) rotateY(-22deg) rotateZ(28deg);background:linear-gradient(130deg,#a5cced10,transparent 60%);}
.ap-founder-geometry i:nth-child(2){right:-3%;bottom:12%;border-color:#c6e7ff66;}
.ap-founder-geometry i:nth-child(3){right:2%;bottom:16%;border-color:#c6e7ff33;}
.ap-founder-geometry span{position:absolute;width:6px;height:6px;border-radius:50%;right:14%;top:18%;background:#e0f2ff;box-shadow:0 0 0 9px #a5cced18,0 0 28px #a5cced80;}
@keyframes ap-frame-in{from{opacity:0;translate:35px 30px;rotate:-12deg;}to{opacity:1;translate:0 0;rotate:0deg;}}
@media(prefers-reduced-motion:no-preference){.ap-founder-geometry i,.ap-founder-geometry span{animation:ap-frame-in 1.5s cubic-bezier(.16,1,.3,1) .15s both;}.ap-founder-geometry i:nth-child(2){animation-delay:.3s;}.ap-founder-geometry i:nth-child(3){animation-delay:.45s;}}

.ap-history-graphic{position:absolute;right:-6%;bottom:-12%;width:clamp(220px,35vw,540px);aspect-ratio:1;pointer-events:none;perspective:1100px;opacity:.28;transform:translateY(var(--history-art-travel,0px)) rotate(var(--history-art-turn,0deg));}
.ap-history-graphic i{position:absolute;inset:20%;border:1px solid currentColor;background:linear-gradient(145deg,#a5cced18,transparent);transform:rotateX(50deg) rotateZ(calc(35deg + var(--chapter-turn,0deg)));}
.ap-history-graphic i:nth-child(2){translate:0 calc(-1 * var(--history-art-spread,35px));}
.ap-history-graphic i:nth-child(3){translate:0 var(--history-art-spread,35px);}
.ap-history-graphic span{position:absolute;inset:5%;border:1px dashed currentColor;border-radius:50%;transform:rotateX(55deg);opacity:.5;}
.ap-history-moment:nth-child(even) .ap-history-graphic{right:auto;left:-10%;bottom:-18%;}
.ap-history-moment-inner{z-index:1;}
@media(prefers-reduced-motion:reduce){.ap-history-graphic{transform:none;}.ap-history-graphic i{translate:0 0;}}
@media(max-width:760px){.ap-founder-geometry i{width:180px;}.ap-history-graphic{width:280px;opacity:.18;right:-22%;}.ap-history-moment:nth-child(even) .ap-history-graphic{left:-25%;}}

.ap-founder-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #f2f1ec;
  isolation: isolate;
}

.ap-founder-shell {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 140px 70px;
}

.ap-founder-hero .crumbs {
  position: absolute;
  top: 104px;
  left: 0;
  color: #597084;
}

.ap-founder-hero .crumbs a { color: #294c6d; }
.ap-founder-hero .crumbs [aria-current] { color: #48657b; }
.ap-founder-hero .crumbs a:hover { color: #173d62; }

.ap-founder-copy {
  width: min(56%, 760px);
  position: relative;
  z-index: 2;
}

.ap-founder-copy h1 {
  max-width: 12ch;
  font-size: clamp(52px, 5vw, 84px);
  line-height: .98;
  margin-bottom: clamp(28px, 3vw, 46px);
}

.ap-founder-note > p {
  max-width: 520px;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.72;
  color: #4c6171;
}

.ap-founder-meta {
  display: flex;
  gap: 18px 34px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 18px;
  max-width: 520px;
  border-top: 1px solid #24445e2b;
  color: #274762;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ap-founder-meta span + span { color: #526979; }

.ap-founder-media {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 52%;
  background: #d8e3eb;
  overflow: hidden;
}

.ap-founder-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, #f2f1ec 0%, #f2f1ece3 7%, transparent 36%),
    linear-gradient(0deg, #0d2e4e70 0%, transparent 40%);
}

.ap-founder-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% 20%;
  filter: saturate(.78) contrast(1.02);
  transform: scale(1.02);
}

.ap-founder-wash {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, #0f304f99, transparent);
  mix-blend-mode: multiply;
}

.ap-founder-word {
  position: absolute;
  z-index: 0;
  left: -1.5vw;
  bottom: -4.5vw;
  font-size: clamp(130px, 24vw, 390px);
  line-height: .72;
  font-weight: 700;
  letter-spacing: -.09em;
  color: #255d9809;
  pointer-events: none;
}

.ap-founder-scroll {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #36556d;
}

.ap-founder-scroll i {
  position: relative;
  display: block;
  width: 52px;
  height: 1px;
  overflow: hidden;
  background: #31587845;
}

.ap-founder-scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #255d98;
  transform: translateX(-100%);
  animation: ap-line-travel 2.2s ease-in-out infinite;
}

@keyframes ap-line-travel { 55%,100% { transform: translateX(100%); } }

/* ---------------------------------------------------------- History scenes */

.ap-history { background: #fff; overflow: clip; }

.ap-history-stream { position: relative; }

.ap-history-moment {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.ap-history-moment::before,
.ap-history-moment::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: .08;
}

.ap-history-moment::before {
  width: min(52vw, 760px);
  aspect-ratio: 1;
  right: -15vw;
  top: 8%;
  transform: translate3d(0, var(--history-orbit-a, 0), 0) rotate(-8deg);
  will-change: transform;
}

.ap-history-moment::after {
  width: min(33vw, 470px);
  aspect-ratio: 1;
  right: -2vw;
  bottom: -18%;
  transform: translate3d(0, var(--history-orbit-b, 0), 0) rotate(12deg);
  will-change: transform;
}

.ap-history-moment-inner {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 100px);
  align-items: start;
  padding-block: max(95px, 12vh);
}

.ap-history-meta { display: flex; flex-direction: column; gap: 18px; padding-top: 13px; }
.ap-page .ap-history-meta h2 { color: currentColor; font-size: 12px; font-weight: 650; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }

.ap-history-count {
  padding-top: 14px;
  color: #658098;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .16em;
}

.ap-history-moment p {
  max-width: 1060px;
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.08;
  text-wrap: balance;
}

.ap-history-rule {
  grid-column: 2;
  display: block;
  width: min(520px, 70%);
  height: 1px;
  margin-top: clamp(34px, 5vw, 70px);
  background: currentColor;
  opacity: .22;
  transform-origin: left;
}

.ap-history-moment--one { background: #edf2f3; color: #193650; }
.ap-history-moment--two { background: #e4edf1; color: #193650; }
.ap-history-moment--three { background: #d6e5ed; color: #163650; }
.ap-history-moment--four { background: #b8cede; color: #13344f; }
.ap-history-moment--five { background: linear-gradient(180deg, #b8cede 0%, #4c7593 100%); color: #f4f7f8; }
.ap-history-moment--six { background: #0b2842; color: #f4f7f8; }

.ap-history-moment--five .ap-history-count,
.ap-history-moment--six .ap-history-count { color: #b9d5e6; }

.ap-history-moment--six .ap-text-link { color: #eef7fc; }
.ap-history-moment--six .ap-button { background: #f5f3ed; color: #123451; border-color: transparent; }

html.js .ap-history-moment .ap-history-count,
html.js .ap-history-moment p,
html.js .ap-history-moment .ap-history-actions {
  opacity: 0;
  transform: translate3d(0, 58px, 0) scale(.985);
  transition: opacity .9s ease, transform 1.05s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}

html.js .ap-history-moment .ap-history-rule {
  transform: scaleX(0);
  transition: transform 1.2s .16s cubic-bezier(.16,1,.3,1);
}

html.js .ap-history-moment.is-active .ap-history-count,
html.js .ap-history-moment.is-active p,
html.js .ap-history-moment.is-active .ap-history-actions {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

html.js .ap-history-moment.is-active .ap-history-count { transition-delay: .04s; }
html.js .ap-history-moment.is-active p { transition-delay: .12s; }
html.js .ap-history-moment.is-active .ap-history-actions { transition-delay: .2s; }
html.js .ap-history-moment.is-active .ap-history-rule { transform: scaleX(1); }

.ap-history-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  margin-top: 38px;
}

/* ---------------------------------------------------------- Expertise */

.ap-ledger { background: #f4f3ef; padding: clamp(90px, 10vw, 150px) 0; }

.ap-ledger-head {
  display: grid;
  grid-template-columns: 1fr 34%;
  gap: 30px 6%;
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 74px);
}

.ap-ledger-head h2 { max-width: 18ch; }
.ap-ledger-head > p { font-size: clamp(14px, 1.15vw, 16px); line-height: 1.8; color: #56697a; }
.ap-ledger-rows { border-top: 1px solid #1f3d5824; }

.ap-ledger-row {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(0, 38%) 46px;
  gap: 18px 36px;
  align-items: baseline;
  padding: clamp(25px, 2.7vw, 40px) 0;
  border-bottom: 1px solid #1f3d5824;
}

.ap-ledger-row::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: #255d99;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}

.ap-ledger-row:hover::after,
.ap-ledger-row:focus-within::after { transform: scaleX(1); }
.ap-ledger-num { font-size: 11px; letter-spacing: .16em; font-weight: 650; color: #8b9dab; }
.ap-ledger-row h3 { max-width: 20ch; font-size: clamp(22px, 2.3vw, 37px); }
.ap-ledger-row p { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.75; color: #526676; }

.ap-ledger-icon {
  align-self: center;
  justify-self: end;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #1f3d5824;
  border-radius: 50%;
  color: #4a7099;
  opacity: .25;
  transition: opacity .35s ease, transform .55s cubic-bezier(.16,1,.3,1), background-color .35s ease;
}

.ap-ledger-icon .icon { width: 21px; height: 21px; }
.ap-ledger-row:hover .ap-ledger-icon { opacity: 1; transform: rotate(12deg) scale(1.08); background: #fff; }

/* -------------------------------------------------- Operating principles */

.ap-principles {
  position: relative;
  overflow: clip;
  background: #0b2842;
  color: #f4f7f8;
  padding: clamp(100px, 12vw, 180px) 0;
}

.ap-principles::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 14%, #3977a42e, transparent 34%),
    linear-gradient(90deg, transparent 49.9%, #d6ebf20c 50%, transparent 50.1%);
}

.ap-principles-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 38%) minmax(0, 1fr);
  gap: 9vw;
  align-items: start;
}

.ap-principles-intro { position: sticky; top: 150px; }
.ap-principles-intro .ap-eyebrow { color: #9fc8e3; }
.ap-principles-intro h2 { max-width: 9ch; font-size: clamp(54px, 6vw, 94px); line-height: .96; }

.ap-principles-intro > p {
  max-width: 460px;
  margin-top: 24px;
  color: #b8cbd8;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.78;
}

.ap-principles-progress {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 45px;
  background: #bad4e52b;
  overflow: hidden;
}

.ap-principles-progress i { display: block; width: 100%; height: 100%; background: #8bc1e5; transform: scaleX(0); transform-origin: left; }
.ap-principles-list { border-top: 1px solid #d7e6ee2b; }

.ap-principle {
  min-height: 47svh;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 26px;
  align-content: center;
  padding: 60px 0;
  border-bottom: 1px solid #d7e6ee2b;
}

.ap-principle > span { padding-top: 8px; color: #76a8c8; font-size: 11px; letter-spacing: .15em; }
.ap-principle h3 { max-width: 17ch; margin-bottom: 23px; font-size: clamp(30px, 3.2vw, 52px); line-height: 1.02; }
.ap-principle p { max-width: 620px; color: #adbfcc; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.75; }
.ap-principle > * { opacity: .72; transition: opacity .45s ease; }
.ap-principle.is-current > * { opacity: 1; }

.ap-principles-mark {
  position: absolute;
  left: -3vw;
  bottom: -4vw;
  font-size: 25vw;
  line-height: .7;
  font-weight: 700;
  letter-spacing: -.08em;
  color: #ffffff03;
  pointer-events: none;
}

/* --------------------------------------------------------------- Team */

.ap-team { background: #dbe8f1; padding: clamp(90px, 10vw, 150px) 0; }

.ap-team-head {
  display: grid;
  grid-template-columns: 1fr 34%;
  gap: 30px 6%;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 86px);
}

.ap-team-head > p { color: #4f6474; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.75; }
.ap-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); align-items: start; }
.ap-person:nth-child(even) { margin-top: clamp(28px, 4vw, 62px); }

.ap-person-photo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #c5d7e4;
  box-shadow: 0 24px 52px #173b571b;
}

.ap-person-photo > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  object-position: 50% 7%;
  filter: saturate(.94) contrast(1.02);
  transition: filter .6s ease, transform .9s cubic-bezier(.16,1,.3,1);
}

.ap-person:hover .ap-person-photo > img,
.ap-person:focus-within .ap-person-photo > img { filter: saturate(1.06) contrast(1.02); transform: scale(1.045); }

/* The profile is a composited overlay so opening and closing never reflows the
   card. A single transform/opacity transition keeps both directions smooth. */
.ap-person-profile {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 22px 28px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  background: linear-gradient(180deg, #09294408 0%, #092944d8 34%, #071f34f8 100%);
  transition: opacity .52s ease, transform .68s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}

.ap-person-profile-copy {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity .4s .04s ease, transform .55s .04s cubic-bezier(.16,1,.3,1);
}

.ap-person-profile p { color: #e2edf3; font-size: 13px; line-height: 1.58; }
.ap-person.is-profile-open .ap-person-profile,
.ap-person.is-profile-peek .ap-person-profile { opacity: 1; transform: translate3d(0, 0, 0); }
.ap-person.is-profile-open .ap-person-profile-copy,
.ap-person.is-profile-peek .ap-person-profile-copy { opacity: 1; transform: translate3d(0, 0, 0); }

.ap-person-photo + h3 { margin-top: 20px; }
.ap-person h3 { margin-bottom: 5px; font-size: clamp(19px, 1.55vw, 26px); }
.ap-person-role { color: #4c6576; font-size: 13px; line-height: 1.55; }

/* -------------------------------------------------------- Qualifications */

.ap-creds { position: relative; overflow: hidden; background: #fff; padding: clamp(90px, 10vw, 150px) 0; }

.ap-creds-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 38%);
  gap: 8vw;
  align-items: center;
  margin-bottom: clamp(56px, 7vw, 100px);
}

.ap-creds-head { max-width: 680px; }
.ap-creds-head h2 { max-width: 14ch; }
.ap-creds-head > p { max-width: 48ch; margin-top: 23px; color: #56697a; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.75; }

.ap-creds-orbit {
  position: relative;
  width: min(33vw, 430px);
  aspect-ratio: 1;
  justify-self: end;
  border: 1px solid #2e67922b;
  border-radius: 50%;
  transition: transform .25s ease-out;
}

.ap-creds-orbit-ring { position: absolute; inset: 17%; border: 1px dashed #2e679242; border-radius: 50%; animation: ap-orbit-spin 26s linear infinite; }
.ap-creds-orbit-core { position: absolute; inset: 34%; display: grid; place-items: center; border-radius: 50%; background: #123f68; color: #fff; font-size: clamp(24px, 3vw, 44px); font-weight: 500; letter-spacing: -.05em; box-shadow: 0 22px 46px #173f5e2e; }

.ap-creds-orbit i {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid #8aaec855;
  border-radius: 50%;
  background: #f7f8f6;
  color: #245b87;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  box-shadow: 0 12px 26px #183f5b16;
}

.ap-creds-orbit i:nth-of-type(1) { top: -4px; left: calc(50% - 26px); }
.ap-creds-orbit i:nth-of-type(2) { top: calc(50% - 26px); right: -4px; }
.ap-creds-orbit i:nth-of-type(3) { bottom: -4px; left: calc(50% - 26px); }
.ap-creds-orbit i:nth-of-type(4) { top: calc(50% - 26px); left: -4px; }

@keyframes ap-orbit-spin { to { transform: rotate(360deg); } }

.ap-creds-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #1f3d5820;
  border-radius: 20px;
  background: #1f3d5820;
}

.ap-cred {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  padding: clamp(25px, 2.6vw, 39px);
  background: #fff;
  transition: color .4s ease, background-color .4s ease, transform .55s cubic-bezier(.16,1,.3,1);
}

.ap-cred > span { position: relative; z-index: 2; color: #5b7487; font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.ap-cred > b { position: relative; z-index: 2; max-width: 19ch; margin-top: auto; color: #10314f; font-size: clamp(16px, 1.35vw, 21px); font-weight: 500; letter-spacing: -.03em; line-height: 1.35; }
.ap-cred > i { position: absolute; right: -8px; bottom: -24px; color: #225c8c0c; font-size: 104px; font-style: normal; font-weight: 650; letter-spacing: -.08em; transition: color .4s ease, transform .55s cubic-bezier(.16,1,.3,1); }
.ap-cred > i::after { content: attr(data-decoration); }

.ap-cred:hover { z-index: 2; background: #123f68; color: #fff; transform: translateY(-9px); }
.ap-cred:hover > span { color: #9bc5e0; }
.ap-cred:hover > b { color: #fff; }
.ap-cred:hover > i { color: #ffffff0d; transform: translate(-10px, -8px) scale(1.08); }

/* --------------------------------------------------------- Responsive */

@media (max-width: 1100px) {
  .ap-history-moment-inner { grid-template-columns: 80px minmax(0, 1fr); }
  .ap-ledger-row { grid-template-columns: 56px minmax(0, 1fr); }
  .ap-ledger-row p { grid-column: 2; }
  .ap-ledger-icon { display: none; }
  .ap-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-creds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .ap-founder-copy { width: 63%; }
  .ap-founder-media { left: 55%; }
  .ap-history-moment-inner { grid-template-columns: 60px minmax(0, 1fr); }
  .ap-principles-layout { grid-template-columns: 1fr; }
  .ap-principles-intro { position: relative; top: auto; padding-bottom: 60px; }
  .ap-principles-intro h2 { max-width: 12ch; }
  .ap-principle { min-height: 0; padding-block: 55px; }
  .ap-ledger-head, .ap-team-head { grid-template-columns: 1fr; align-items: start; }
  .ap-creds-layout { grid-template-columns: 1fr; }
  .ap-creds-orbit { width: min(70vw, 390px); justify-self: center; }
}

@media (max-width: 700px) {
  .ap-founder-hero {
    min-height: clamp(780px, 100svh, 930px);
    padding-top: 70px;
    background:
      radial-gradient(circle at 92% 12%, #dce9f0 0, transparent 34%),
      #f2f1ec;
  }
  .ap-founder-shell {
    min-height: clamp(710px, calc(100svh - 70px), 860px);
    justify-content: flex-start;
    padding-top: 46px;
    padding-bottom: 34px;
  }
  .ap-founder-hero .crumbs { position: static; margin-bottom: 48px; }
  .ap-founder-copy { position: static; width: 100%; }
  .ap-founder-copy h1 {
    max-width: 10.8ch;
    margin-bottom: 0;
    font-size: clamp(39px, 10.4vw, 50px);
    line-height: .99;
    text-wrap: balance;
  }
  .ap-founder-media {
    inset: auto 0 0;
    height: 43%;
    background: #c8d8e3;
  }
  .ap-founder-media::before {
    background:
      linear-gradient(180deg, #f2f1ec 0%, #f2f1ec00 18%),
      linear-gradient(90deg, #0c2c4726 0%, transparent 58%),
      linear-gradient(0deg, #0829458c 0%, transparent 45%);
  }
  .ap-founder-media img {
    object-position: 70% 10%;
    filter: saturate(.82) contrast(1.02);
  }
  .ap-founder-note {
    position: absolute;
    z-index: 4;
    left: 0;
    bottom: 82px;
    width: min(69%, 286px);
    padding: 20px 20px 18px;
    border: 1px solid #ffffff8c;
    background: #f3f2eddb;
    box-shadow: 0 24px 50px #0b2c4726;
    backdrop-filter: blur(15px) saturate(1.12);
    -webkit-backdrop-filter: blur(15px) saturate(1.12);
  }
  .ap-founder-note > p {
    max-width: none;
    font-size: 14px;
    line-height: 1.58;
    color: #304b60;
  }
  .ap-founder-meta {
    width: 100%;
    display: grid;
    gap: 6px;
    margin-top: 17px;
    padding-top: 13px;
    font-size: 11px;
    line-height: 1.5;
  }
  .ap-founder-scroll {
    left: auto;
    right: 0;
    bottom: 28px;
    color: #f3f7fa;
  }
  .ap-founder-scroll i { background: #d9e9f04d; }
  .ap-founder-scroll i::after { background: #f4f8fa; }
  .ap-founder-word {
    z-index: 2;
    left: -6vw;
    bottom: 2vw;
    font-size: 44vw;
    color: #ffffff0b;
  }

  .ap-history-moment { min-height: 94svh; }
  .ap-history-moment-inner { grid-template-columns: 1fr; gap: 26px; padding-block: 14vh; }
  .ap-history-count { padding-top: 0; }
  .ap-history-moment p { font-size: clamp(31px, 8.7vw, 43px); line-height: 1.12; }
  .ap-history-rule { grid-column: 1; width: 78%; margin-top: 20px; }
  .ap-history-actions { grid-column: 1; }
  .ap-history-moment::before { width: 86vw; right: -48vw; }
  .ap-history-moment::after { width: 58vw; right: -28vw; }

  .ap-ledger-row { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
  .ap-ledger-row p { grid-column: 2; }

  .ap-principles-layout { width: calc(100% - 40px); }
  .ap-principles-intro h2 { font-size: 15vw; }
  .ap-principle { grid-template-columns: 36px minmax(0, 1fr); gap: 15px; }
  .ap-principle h3 { font-size: 9vw; }

  .ap-team .shell { width: 100%; }
  .ap-team-head { padding-inline: 20px; }
  .ap-team-grid { display: flex; gap: 16px; overflow-x: auto; padding: 0 20px 28px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ap-team-grid::-webkit-scrollbar { display: none; }
  .ap-person { flex: 0 0 81vw; margin-top: 0 !important; scroll-snap-align: center; }
  .ap-person-profile { padding: 25px 18px; }
  .ap-person-profile p { font-size: 13px; }

  .ap-creds-layout { margin-bottom: 55px; }
  .ap-creds-orbit { width: min(82vw, 330px); }
  .ap-creds-grid { grid-template-columns: 1fr; }
  .ap-cred { min-height: 160px; }
}

@media (hover: none) { .ap-person-photo > img { filter: none; } }

@media (prefers-reduced-motion: reduce) {
  .ap-founder-scroll i::after,
  .ap-creds-orbit-ring { animation: none; }
  .ap-person-photo > img,
  .ap-person-profile,
  .ap-person-profile-copy,
  .ap-principle > *,
  .ap-history-moment .ap-history-count,
  .ap-history-moment p,
  .ap-history-moment .ap-history-actions,
  .ap-history-moment .ap-history-rule,
  .ap-ledger-row::after,
  .ap-ledger-icon,
  .ap-cred,
  .ap-cred > i { transition: none; }
  .ap-person-photo > img { filter: none; }
  html.js .ap-history-moment .ap-history-count,
  html.js .ap-history-moment p,
  html.js .ap-history-moment .ap-history-actions { opacity: 1; transform: none; }
  html.js .ap-history-moment .ap-history-rule { transform: scaleX(1); }
}

/* On phones, let the founder story read in order. An overlaid bio obscured
   Brook's portrait and left an empty gulf between the heading and image. */
@media (max-width:700px) {
  .ap-founder-hero { display:flex;flex-direction:column;min-height:0;padding-top:70px; }
  .ap-founder-shell { order:1;min-height:0;padding-top:40px;padding-bottom:34px; }
  .ap-founder-hero .crumbs { margin-bottom:42px; }
  .ap-founder-copy h1 { max-width:12ch; }
  .ap-founder-note { position:relative;left:auto;bottom:auto;width:100%;max-width:430px;margin-top:28px;padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none; }
  .ap-founder-note > p { font-size:15px;line-height:1.6; }
  .ap-founder-meta { max-width:none;grid-template-columns:1fr 1fr;gap:14px;font-size:11px; }
  .ap-founder-media { order:2;position:relative;inset:auto;width:100%;height:clamp(320px,88vw,470px); }
  .ap-founder-media img { object-position:center 18%; }
  .ap-founder-scroll { position:static;align-self:flex-start;margin-top:24px;color:#315878; }
  .ap-founder-scroll i { background:#31587845; }
  .ap-founder-scroll i::after { background:#255d98; }
}

@media (min-width:1000px) and (max-height:800px) {
  .ap-founder-shell { padding-block:102px 36px; }
  .ap-founder-copy h1 { font-size:clamp(48px,min(4.5vw,7.6vh),68px);margin-bottom:20px; }
  .ap-founder-note > p { font-size:17px;line-height:1.5; }
  .ap-founder-meta { margin-top:18px; }
  .ap-history-moment-inner { padding-block:clamp(64px,11vh,84px); }
  .ap-history-moment p { font-size:clamp(38px,min(3.3vw,8vh),50px);line-height:1.12; }
  .ap-principles { padding-block:clamp(72px,11vh,96px); }
  .ap-principles-intro { top:112px; }
  .ap-principles-intro h2 { font-size:clamp(50px,min(5vw,9.5vh),72px); }
  .ap-team,.ap-creds { padding-block:clamp(72px,11vh,100px); }
}
/* A wide, shallow hero otherwise crops the portrait above the hairline. */
@media (min-width:1000px) and (max-height:900px) and (min-aspect-ratio:16/9) {
  .ap-founder-media img {
    height: calc(100% - 78px);
    margin-top: 78px;
    object-fit: contain;
    object-position: right bottom;
    transform: none;
  }
}
@media (min-width:1000px) and (max-height:599px) {
  /* The founder text should scroll naturally in a tiny browser window,
     rather than being clipped by the hero's decorative overflow mask. */
  .ap-founder-shell { min-height:540px; }
}
