/* For partners (/partners). Page-local classes use the `pt-` prefix because
   global stylesheets stay loaded across client navigations. */

/* ---------- Documentary hero ---------- */
.pt-hero {
  min-height: max(620px, 88svh);
}
.pt-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
}
.pt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgb(8 8 8 / 0.55), rgb(8 8 8 / 0.25) 38%, rgb(8 8 8 / 0.7)),
    radial-gradient(60% 50% at 50% 55%, rgb(8 8 8 / 0.45), transparent 75%);
  pointer-events: none;
}
.pt-hero .lx-page-sub {
  max-width: 580px;
  text-wrap: balance;
}
.pt-hero .lx-actions {
  justify-content: center;
  margin-top: 14px;
}

/* ---------- Intro split ---------- */
.pt-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 48px 80px;
  padding-block: 150px 64px;
  align-items: start;
}
.pt-intro h2 {
  max-width: 640px;
}
.pt-intro > div > p {
  max-width: 580px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--lx-muted);
}
.pt-intro aside {
  border-left: 1px solid #e3e3e3;
  padding-left: 24px;
  display: grid;
  gap: 12px;
}
.pt-intro aside p {
  font-size: 17px;
  line-height: 1.45;
  color: var(--lx-muted);
}
.lx .pt-statement {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: var(--lx-ink);
}

/* ---------- Asymmetric role cards ---------- */
.pt-roles {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 10px;
  padding-bottom: 160px;
}
.pt-role {
  position: relative;
  isolation: isolate;
  min-height: clamp(480px, 40vw, 560px);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 32px;
  padding: 32px;
}
.pt-role-wide {
  color: #fafafa;
  background: var(--lx-black);
}
.pt-role-wide::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  z-index: 1;
  background: linear-gradient(transparent, rgb(8 8 8 / 0.72));
}
.pt-role-plain {
  background: var(--lx-soft);
}
.pt-role > :not(.lx-field) {
  position: relative;
  z-index: 2;
}
.pt-role-copy {
  display: grid;
  gap: 12px;
  max-width: 500px;
}
.lx .pt-role-label {
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--lx-muted);
}
.lx .pt-role-wide .pt-role-label {
  color: rgb(255 255 255 / 0.72);
}
.pt-role h3 {
  font-size: clamp(26px, 2.3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.pt-role-copy > p:last-child {
  font-size: 17px;
  line-height: 1.4;
  color: var(--lx-muted);
}
.pt-role-wide .pt-role-copy > p:last-child {
  color: var(--lx-on-dark);
}
.pt-role-motif {
  height: clamp(220px, 22vw, 300px);
  display: grid;
  place-items: center;
}
.pt-role-plain .pt-role-motif .mf-chips {
  max-width: 420px;
}
.pt-role-plain .mf-chips li {
  background: #fff;
}

/* ---------- Phased engagement on black ---------- */
.pt-phases {
  background: var(--lx-black);
  color: #fafafa;
  padding-block: 130px 150px;
}
.pt-phases h2 {
  max-width: 640px;
}
.pt-phases .lx-pill-tabs {
  justify-items: start;
  gap: 88px;
}
.pt-phases .lx-pill-track {
  background: #1c1c1c;
}
.pt-phases .lx-pill-track button {
  color: rgb(255 255 255 / 0.55);
  padding-inline: 20px;
}
.pt-phases .lx-pill-track button:hover {
  color: #fafafa;
}
.pt-phases .lx-pill-track button[aria-selected="true"] {
  background: #080808;
  color: #fafafa;
  box-shadow: none;
}
.pt-phases .lx-pill-track button:focus-visible {
  outline: 2px solid #fafafa;
  outline-offset: 2px;
}
.pt-phase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 48px;
  align-items: end;
}
.pt-phase h3 {
  font-size: clamp(26px, 2.3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.pt-phase-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-block: 36px 28px;
}
.pt-phase-bar span {
  height: 6px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.14);
}
.pt-phase-bar span.on {
  background: #fafafa;
}
.pt-phase-copy > p {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.86);
}
.pt-tags {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pt-tags li {
  padding: 8px 12px;
  border-radius: 6px;
  background: #1c1c1c;
  color: #b4b4b4;
  font-size: 15px;
}
.lx .pt-phase-num {
  font-size: clamp(56px, 5vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: #fafafa;
  text-align: right;
}
.pt-phase-of {
  font-size: 0.4em;
  letter-spacing: -0.02em;
  color: rgb(255 255 255 / 0.45);
}
.pt-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .pt-phases [role="tabpanel"]:not([hidden]) .pt-phase {
    animation: lx-fade-rise 0.86s var(--lx-ease) both;
  }
  .pt-phase-bar span {
    transition: background-color 0.5s var(--lx-ease);
  }
  .pt-role,
  .pt-support-grid article {
    transition: transform 0.86s var(--lx-ease);
  }
  .pt-role:hover,
  .pt-support-grid article:hover {
    transform: translateY(-4px);
  }
}

/* ---------- Customer ownership (ruled grid) ---------- */
.pt-owners {
  background: #fafafa;
  padding-block: 150px;
}
.lx .pt-owners-sub {
  max-width: 620px;
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--lx-muted);
}

/* ---------- Support cards ---------- */
.pt-support {
  padding-block: 150px 170px;
}
.pt-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.pt-support-grid article {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 26px 24px 30px;
  display: grid;
  align-content: start;
  gap: 12px;
}
.pt-support-grid svg {
  width: 22px;
  height: 22px;
  margin-bottom: 12px;
  fill: none;
  stroke: var(--lx-ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pt-support-grid h3 {
  font-size: 18px;
  font-weight: 450;
  letter-spacing: -0.02em;
}
.pt-support-grid p {
  font-size: 14px;
  line-height: 1.64;
  color: #3a3a3a;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pt-intro,
  .pt-roles,
  .pt-phase,
  .pt-support-grid {
    grid-template-columns: 1fr;
  }
  .pt-intro {
    padding-block: 96px 48px;
  }
  .lx .pt-phase-num {
    grid-row: 1;
    text-align: left;
    font-size: 44px;
  }
  .pt-phase {
    gap: 24px;
  }
  .pt-phases .lx-pill-tabs {
    gap: 48px;
  }
}
@media (max-width: 600px) {
  .pt-roles {
    padding-bottom: 96px;
  }
  .pt-role {
    padding: 22px;
    min-height: 460px;
  }
  .pt-phases,
  .pt-owners,
  .pt-support {
    padding-block: 96px;
  }
  .pt-phase-bar {
    margin-block: 24px 20px;
  }
}
