
/* Figma disables page-wide grain here; footer grain remains. */
.shell::after { display: none; }
/* ============ HERO (648px) ============ */
.pp-hero { position: relative; height: 967px; overflow: hidden; } /* v2.9: video fills behind entire intro panel */
.pp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }

/* ============ INTRO PANEL (1200x535 black, overlaps hero) ============ */
.pp-intro {
  position: relative;
  width: 1200px;
  height: 535px;
  margin: -535px auto 0; /* v2.9: panel sits fully on the video */
  background: var(--black);
  color: var(--white);
  padding: 80px;
  z-index: 2;
}
.pp-intro .kicker {
  display: inline-block;
  height: 27px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding: 0;
  font-size: var(--fs-title);
}
.pp-intro h1 { font-size: var(--fs-display); font-weight: 400; line-height: .73; text-align: center; margin-top: 40px; }
.pp-intro .body { margin-top: 40px; text-align: center; white-space: pre-line; line-height: 1.1; }

/* ============ WHITE GAP + TITLE (1100-1415) ============ */
.pp-gap { position: relative; height: 315px; background: #fff; background-image: linear-gradient(90deg, rgba(0,0,0,0.065), rgba(0,0,0,0.255)); }
.pp-gap::before { content: ''; position: absolute; left: 50%; top: -92px; width: 1px; height: 190px; background: rgba(0,0,0,.5); } /* v3.0: x-centered, shortened to clear the y-centered title */
.pp-gap::after { content: ''; position: absolute; left: calc(50% - 30px); top: 97px; width: 60px; height: 1px; background: rgba(0,0,0,.5); } /* v3.0: tick at the line's end, above the title */
.pp-gap h2 { position: absolute; top: 50%; left: 0; width: 100%; text-align: center; font-size: var(--fs-h2); transform: translateY(-50%); } /* v3.0: y-centered in the 315px band */

/* ============ CARDS ZIGZAG over photo (1415-3715) ============ */
.pp-cards { position: relative; height: 2400px; overflow: hidden; background: #000; } /* v3.0: 600px cards, flush 600px rhythm */
.pp-cards__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-card {
  position: absolute;
  width: 600px; height: 600px; /* v3.0: 600x600 square, symmetric 80px padding */
  background: #fff;
  background-image: linear-gradient(90deg, rgba(0,0,0,.064), rgba(0,0,0,.192));
  padding: 80px 80px 0;
}
.pp-card .icon { width: 100px; height: 100px; margin-bottom: 32px; }
.pp-card .icon img,
.pp-card .icon .pp-animation { display: block; width: 100px; height: 100px; border: 0; }
.pp-card .icon .pp-animation { pointer-events: none; }
.pp-card h3 { font-size: var(--fs-title); font-weight: 400; white-space: pre-line; }
.pp-card .desc { margin-top: 32px; white-space: pre-line; }
.pp-card .desc b { font-weight: 400; }
.pp-card ul { list-style: none; margin-top: 32px; }
.pp-card ul li {
  height: 36px;
  border-top: 1px solid rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  margin-bottom: 0;
  display: flex; align-items: center; padding: 0;
}
.pp-card ul li + li { border-top: none; }

/* ============ TEAM WORKFLOW (530px, coded from Figma) ============ */
.pp-teams { position: relative; height: 592px; overflow: hidden; background: #fff; background-image: var(--grad-tint); } /* v4.2: 306px head + 285px anim = flush bottom */
.pp-teams h2 { position: absolute; left: var(--edge); right: var(--edge); top: 120px; width: auto; max-width: 822px; margin: 0 auto; text-align: center; font-size: var(--fs-h2); color: var(--black); } /* v2.9: centered like certificates */
.pp-teams__lede { position: absolute; left: var(--edge); right: var(--edge); top: 195px; width: auto; max-width: 624px; margin: 0 auto; text-align: center; color: rgba(0,0,0,.5); } /* v2.9: centered */
.team-diagram { position: absolute; left: 50%; transform: translateX(-50%); top: 306px; width: 1200px; height: 224px; } /* v2.9: centered at any width */
.team-diagram svg { position: absolute; inset: 0; width: 1200px; height: 224px; z-index: 1; pointer-events: none; }
.team-diagram__mobile { display: none; }
/* v4.1: self-drawing dieline loop (owns its own statements) replaces the static keyline + labels */
.team-diagram .team-anim { display: block; position: relative; z-index: 2; width: 1200px; height: 285px; border: 0; pointer-events: none; }
.team-diagram .team-anim--mobile { display: none; }
.team-diagram .team-diagram__desktop, .team-diagram .team-label { display: none; }
.team-label { position: absolute; z-index: 2; font-size: var(--fs-title); line-height: 1.08; background: transparent; color: var(--black); }
.team-label--left { left: 40px; top: 64px; width: 223px; height: 43px; }
.team-label--center { left: 459px; top: -9px; width: 283px; height: 39px; text-align: center; }
.team-label--right { left: 954px; top: 64px; width: 202px; height: 43px; text-align: center; }

/* ============ COMPACT DESKTOP (768–1439px) ============ */
@media (min-width: 768px) and (max-width: 1439px) {
  .pp-hero { height: clamp(760px, 60vw, 900px); }
  .pp-hero__bg { display: block; }

  .pp-intro {
    width: min(1200px, calc(100% - (2 * var(--chrome-edge))));
    height: 700px;
    min-height: 0;
    margin: -700px auto 0;
    padding: clamp(48px, 6vw, 80px);
  }
  .pp-intro h1 { font-size: clamp(48px, 6vw, 72px); line-height: .92; }
  .pp-intro .body { line-height: 1.25; }

  .pp-gap { height: clamp(280px, 25vw, 315px); }
  .pp-gap h2 { padding: 0 var(--chrome-edge); top: 62%; }

  .pp-cards {
    --pp-card-gap: clamp(20px, 2vw, 32px);
    height: auto;
    min-height: 0;
    padding: var(--pp-card-gap);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--pp-card-gap);
    align-items: stretch;
  }
  .pp-cards__bg { display: block; }
  .pp-card {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100%;
    height: auto;
    min-height: 560px;
    padding: clamp(54px, 6vw, 72px);
    align-self: stretch;
    justify-self: stretch;
  }
  .pp-card ul li { height: auto; min-height: 36px; padding: 7px 0; }

  .pp-teams {
    height: auto;
    min-height: 0; /* v4.2: anim defines the height */
    padding: 92px var(--chrome-edge) 0;
  }
  .pp-teams h2,
  .pp-teams__lede { position: relative; left: auto; right: auto; top: auto; width: auto; margin-left: auto; margin-right: auto; }
  .pp-teams__lede { margin-top: 34px; }
  .team-diagram {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(1200px, 100%);
    height: auto;
    aspect-ratio: 1200 / 224;
    margin: 78px auto 0;
  }
  .team-diagram svg { width: 100%; height: 100%; }
  .team-label { font-size: clamp(15px, 1.55vw, 20px); }
  .team-label--left { left: 3.33%; top: 28.5%; width: 18.58%; height: auto; }
  .team-label--center { left: 38.25%; top: -4%; width: 23.58%; height: auto; }
  .team-label--right { left: 79.5%; top: 28.5%; width: 16.83%; height: auto; }
  /* v4.1: compact desktop scales the animation instead of the static diagram */
  .team-diagram { height: auto; aspect-ratio: 1200 / 285; }
  .team-diagram .team-anim { width: 100%; height: 100%; }
  .pp-teams { height: auto; } /* v4.2: aspect-ratio anim defines the height, no fixed floor to leave slack */
}

@media (min-width: 768px) and (max-width: 919px) {
  .pp-cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  html, body { width: 100%; overflow-x: hidden; }
  html::-webkit-scrollbar { display: none; }
  body { font-size: 16px; }
  .shell { width: 100%; margin: 0; }

  .pp-hero { height: 400px; }
  .pp-hero__bg { width: 890px; max-width: none; left: 50%; transform: translateX(-50%); object-fit: cover; }
  .pp-intro { width: 100%; height: 214px; margin: 0; padding: 40px 20px; }
  .pp-intro .kicker { display: block; height: 12px; border: 0; font-size: 16px; line-height: 12px; color: rgba(255,255,255,.5); }
  .pp-intro h1 { height: 70px; margin-top: 32px; font-size: 30px; line-height: 1.21; letter-spacing: .72px; }
  .pp-intro .body { display: none; }

  .pp-gap { height: 334px; }
  .pp-gap::before { left: 50%; top: 0; width: 1px; height: 128px; }
  .pp-gap::after { left: calc(50% - 20px); top: 128px; width: 40px; }
  .pp-gap h2 { top: 200px; width: calc(100% - 40px); left: 20px; font-size: 30px; line-height: 1.21; letter-spacing: .72px; }

  .pp-cards { height: 1656px; }
  .pp-cards__bg { width: 1008px; max-width: none; left: 50%; transform: translateX(-50%); object-fit: cover; }
  .pp-card { left: 20px !important; width: calc(100% - 40px); padding: 20px 30px 0; text-align: center; }
  .pp-card:nth-of-type(1) { top: 60px !important; height: 367px; }
  .pp-card:nth-of-type(2) { top: 447px !important; height: 391px; }
  .pp-card:nth-of-type(3) { top: 858px !important; height: 391px; }
  .pp-card:nth-of-type(4) { top: 1269px !important; height: 367px; }
  .pp-card .icon { width: 100px; height: 100px; margin: 0 auto 32px; }
  .pp-card .icon img { width: 100px; height: 100px; }
  .pp-card h3 { font-size: 20px; line-height: 1.21; white-space: normal; }
  .pp-card .desc { display: none; }
  .pp-card ul { margin-top: 32px; }
  .pp-card ul li { height: 36px; justify-content: center; font-size: 16px; color: rgba(0,0,0,.5); }

  .pp-teams { height: auto; } /* v4.2: content-driven — fixed 402px left a growing gap under the shrinking anim */
  .pp-teams h2 { position: relative; left: 20px; top: auto; width: calc(100% - 40px); margin: 60px auto 0; font-size: 30px; line-height: 1.21; letter-spacing: .72px; }
  .pp-teams__lede { display: none; }
  .team-diagram { position: relative; left: 0; top: auto; width: 100%; height: auto; transform: none; margin-top: 48px; }
  /* v4.1: mobile runs the mobile dieline animation (taller, centered copy) */
  .team-diagram .team-anim--desktop { display: none; }
  .team-diagram .team-anim--mobile { display: block; position: relative; width: 100%; height: auto; aspect-ratio: 1200 / 566; }
  .team-diagram svg, .team-diagram .team-label { display: none; }
  .team-diagram svg { width: 100%; height: 212px; }
  .team-diagram__desktop { display: none; }
  .team-diagram__mobile { display: block; }
  .team-label { font-size: 14px; line-height: 13.5px; letter-spacing: 0; padding: 4px; background: transparent; }
  .team-label--center { left: 50%; top: -5%; width: 152px; height: 35px; transform: translateX(-50%); }
  .team-label--left { left: 50%; top: 74px; width: 260px; max-width: 94vw; height: 18px; line-height: 10px; padding: 4px; text-align: center; white-space: nowrap; transform: translateX(-50%); }
  .team-label--right { left: 50%; top: 162px; width: 148px; height: 35px; text-align: center; transform: translateX(-50%); }
  .team-label--left br { display: none; }

  /* V4 mobile: content-driven hero intro and card stack. */
  .pp-hero { height: clamp(320px, 100vw, 400px); }
  .pp-intro { height: auto; min-height: 214px; }
  .pp-intro h1 { height: auto; }

  .pp-cards {
    height: auto;
    min-height: 0;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .pp-card,
  .pp-card:nth-of-type(1),
  .pp-card:nth-of-type(2),
  .pp-card:nth-of-type(3),
  .pp-card:nth-of-type(4) {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100%;
    height: auto !important;
    min-height: 367px;
    padding: 28px 30px;
  }
  .pp-card ul li { height: auto; min-height: 36px; padding: 7px 0; }
  .pp-teams { min-height: 0; } /* v4.2: content-driven — no fixed floor, the anim defines the section height */

}
