/* About Us (/about-us), in the "Carousel" world of the new homepage.
   Loaded after site.css; only the parts this page adds. */

/* Hero: the horizon photo under the plum veil, as tall as its copy (as on /legal), not the
   whole screen: the title, then the paragraph under it. */
.ab-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(150px, 22vw, 220px) 0 clamp(36px, 5vw, 56px);
  background: linear-gradient(135deg, #290C3F, #3D1650);
}
.ab-hero::before, .ab-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.ab-hero::before {
  background:
    linear-gradient(180deg, rgba(41, 12, 63, .55) 0%, rgba(41, 12, 63, 0) 26%, rgba(41, 12, 63, 0) calc(100% - 180px), #290C3F 100%),
    linear-gradient(64deg, #290C3F 0%, rgba(41, 12, 63, .82) 46%, rgba(122, 26, 85, .5) 100%);
}
.ab-hero::after { background-image: var(--grain); background-size: 180px; opacity: .08; mix-blend-mode: overlay; }
.ab-hero-in { position: relative; display: grid; gap: 20px; }
.ab-hero h1 {
  font-weight: 800; font-size: clamp(38px, 4.6vw, 68px); line-height: 1; letter-spacing: -.032em;
  text-shadow: 0 2px 18px rgba(25, 4, 40, .45); text-wrap: balance; max-width: 24ch;
}
.ab-hero .lede { margin-top: 0; max-width: 44ch; color: #fff; text-shadow: 0 1px 10px rgba(25, 4, 40, .5); }
@media (min-width: 1000px) { .ab-hero { padding: 156px 0 64px; } } /* as /legal: no empty band above the copy */

/* People in need: four cards that stack as the page scrolls. Each card is one step along the
   sweep, so the finished stack reads plum to coral. */
.ab-people { margin-top: var(--sheet-m); }
.ab-people-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(36px, 4.4vw, 60px); }
.ab-people-top .head h2 { max-width: 20ch; }
.pc-stack { display: grid; gap: 20px; }
.pc { position: sticky; top: calc(92px + var(--i) * 14px); }
.pc-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 30px; padding: clamp(26px, 3.4vw, 52px);
  border-radius: 24px; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 -14px 26px -18px rgba(20, 4, 32, .6);
}
.pc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); background-size: 180px; opacity: .09; mix-blend-mode: overlay; }
.pc:nth-child(1) .pc-card { background: linear-gradient(152deg, #290C3F 0%, #3D1650 58%, #4A1D61 100%); }
.pc:nth-child(2) .pc-card { background: linear-gradient(152deg, #3D1650 0%, #4F1758 50%, #6A1955 100%); }
.pc:nth-child(3) .pc-card { background: linear-gradient(152deg, #4F1758 0%, #6A1955 48%, #8E1A52 100%); }
.pc:nth-child(4) .pc-card { background: linear-gradient(152deg, #6A1955 0%, #8E1A52 46%, #B0194E 100%); }
.pc-copy { display: grid; align-content: center; justify-items: start; }
.pc-copy h3 { font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; max-width: 14ch; }
.pc-story { margin-top: 16px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; color: #fff; max-width: 40ch; text-wrap: pretty; }
.pc-meta { margin-top: 22px; font-size: 15px; font-weight: 700; color: #fff; }

/* The match, drawn: the person, the brand that meets them, the partner. A light runs down each join. */
.pc-flow { display: grid; justify-items: center; width: 100%; max-width: 440px; margin: 0 auto; }
.pc-node { width: 100%; padding: 16px 20px; border-radius: 14px; background: #fff; color: var(--ink); }
.pc-who { display: none; }
.pc-who b { display: block; font-weight: 800; font-size: 18px; letter-spacing: -.012em; line-height: 1.25; }
.pc-who span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.pc-brand {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 20px;
  border-radius: 12px; background: rgba(41, 12, 63, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  white-space: nowrap;
}
.pc-brand img { height: 20px; width: auto; }
.pc-brand img.zb { height: 18px; }
.pc-brand span { font-size: 15px; font-weight: 700; color: #fff; }
.pc-line { position: relative; display: block; width: 2px; height: 30px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .34); }
.pc-line-1 { display: none; }
.pc-line i { position: absolute; left: 0; right: 0; top: -14px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, rgba(255, 155, 179, 0), #fff); }
.pc-to { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pc-to-l { display: grid; gap: 2px; min-width: 0; }
.pc-to small { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.pc-to b { font-weight: 800; font-size: 18px; letter-spacing: -.012em; line-height: 1.25; }
.pc-to em { flex: none; font-style: normal; font-weight: 800; font-size: 16px; color: var(--plum); }
@media (prefers-reduced-motion: no-preference) {
  .pc-line i { animation: pc-run 3.6s cubic-bezier(.45, 0, .2, 1) infinite; }
  .pc-line-2 i { animation-delay: .7s; }
}
@keyframes pc-run { 0% { top: -14px; } 30%, 100% { top: 100%; } }
.pc-note { margin-top: 22px; font-size: 15px; color: var(--ink-2); }

@media (min-width: 1000px) {
  .pc-stack { gap: 16vh; }
  .pc-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; min-height: 440px; }
  .pc-flow { margin: 0 0 0 auto; }
  .pc-who, .pc-line-1 { display: block; }
}
/* Phone: short screens keep the cards in flow, so a tall card never hides under the next one. */
@media (max-width: 999px) and (max-height: 699px) {
  .pc { position: static; }
}

/* Compliance technology, on the plum: the heading and its action stay in view beside the four points. */
.ab-comp-in { display: grid; gap: 40px; }
.ab-comp-head { display: grid; justify-items: start; gap: 28px; align-self: start; }
.ab-comp-head .head p { font-weight: 700; color: #fff; }
.ab-comp-items { display: grid; gap: 10px; }
.ab-comp-items li { padding: 24px 24px 26px; border-radius: 18px; background: var(--plum); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.ab-comp-ic { display: block; width: 30px; height: 30px; color: var(--coral-soft); }
.ab-comp-items h3 { margin-top: 18px; font-weight: 800; font-size: clamp(20px, 1.7vw, 23px); letter-spacing: -.016em; line-height: 1.2; }
.ab-comp-items p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--text-2); max-width: 40ch; }
@media (min-width: 640px) { .ab-comp-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1000px) {
  .ab-comp-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); }
  .ab-comp-head { position: sticky; top: 120px; }
}

/* Team (paper): six leaders with their sweep portraits, then everyone else, shuffled each visit. */
.ab-team { margin-bottom: 0; }
.ab-team-head { margin-bottom: clamp(32px, 4vw, 52px); }
.leaders { display: grid; gap: 10px; }
/* Photo, name and title centered in each card. */
.leaders li {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; justify-items: center; text-align: center;
  padding: 24px 20px 26px; border-radius: 20px; background: var(--paper-2);
}
.leaders img { width: 128px; height: 128px; margin-bottom: 18px; border-radius: 50%; }
.leaders h3 { font-weight: 800; font-size: 21px; letter-spacing: -.016em; line-height: 1.2; text-wrap: balance; }
.leaders p { margin-top: 4px; font-size: 15.5px; font-weight: 700; color: var(--plum); line-height: 1.35; text-wrap: balance; }
@media (min-width: 640px) {
  .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .leaders li { padding: 26px 26px 28px; }
  .leaders img { width: 140px; height: 140px; margin-bottom: 22px; }
  .leaders h3 { font-size: 23px; }
}
@media (min-width: 1000px) {
  .leaders { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .leaders img { width: 168px; height: 168px; }
  .leaders h3 { font-size: 25px; }
}
.crew { display: grid; gap: 8px; margin-top: clamp(14px, 1.4vw, 18px); }
.crew li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--paper-2); }
.crew svg { width: 24px; height: 24px; color: var(--plum); }
.crew b { display: block; font-weight: 800; font-size: 16.5px; letter-spacing: -.01em; line-height: 1.25; }
.crew b + span { display: block; margin-top: 2px; font-size: 15px; color: var(--ink-2); line-height: 1.35; }
@media (min-width: 640px) { .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 1000px) { .crew { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; } }

/* Closing band: the sweep slide, one action, careers as a quiet second path. */
.ab-cta { margin-top: 0; }
.ab-cta-in { display: grid; gap: 28px; align-items: end; }
.ab-cta .head h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.032em; }
.ab-cta .head p { color: #fff; }
.ab-cta-in .btn { justify-self: start; }
@media (min-width: 900px) {
  .ab-cta-in { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
}
.ab-join { margin-top: clamp(28px, 3vw, 40px); font-size: 17px; color: #fff; }
.ab-join-btn {
  padding: 2px 0; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 4px;
  font: 700 17px/1.4 "Supreme", system-ui, sans-serif;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .55);
  transition: text-decoration-color .2s ease;
}
.ab-join-btn:hover { text-decoration-color: #fff; }

@media (max-width: 479px) {
  .ab-people-top .btn, .ab-comp-head .btn, .ab-cta-in .btn { width: 100%; }
}
